Skip to content

Cannot range over 10 in v29.3.0+incompatible #6852

@stevenh

Description

@stevenh

Description

When trying to us: v29.3.0+incompatible we get a compile issues

cannot range over 10 (untyped int constant): requires go1.22 or later (-lang was set to go1.16; check go.mod)

This is caused by not using go.mod (incompatible) mode which pins the version to go 1.16.

Reproduce

  1. update to v29.3.0+incompatible
  2. Try to compile a packate

Expected behavior

compiles

docker version

N/A

docker info

N/A

Additional Info

Also conflicts with docker/buildx pulled in by compose v2.40.3

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions