Skip to content

build fails with error "cannot range over pr.All() : requires go1.23 or later (-lang was set to go1.16; check go.mod)" #6708

Closed

Description

@ArnoSen

Description

When including the repo as a dependency, there is a build error.
It looks like to happen in/from github.com/docker/cli v29.1.3

Reproduce

See https://go.dev/play/p/jP2urcULY4l and try to run it.

Expected behavior

That it builds.

docker version

n/a

docker info

n/a

Additional Info

No response

Activity

  1. ArnoSen commented on Dec 15, 2025

    @ArnoSen
    Author

    when using v29.1.2, it does build.

  2. thaJeztah commented on Dec 23, 2025

    @thaJeztah
    Member

    Thanks for reporting; looks like this was introduced in 9c10a9c (part of #6685)

  3. thaJeztah commented on Dec 23, 2025

    @thaJeztah
    Member
  4. ArnoSen commented on Dec 23, 2025

    @ArnoSen
    Author

    Thanks Sebas! Is it possible to release a new version as well? Then I can get rid of my overrides in my go.mod files.

  5. thaJeztah commented on Dec 23, 2025

    @thaJeztah
    Member

    Probably will be after the new year; we have limited staffing during the Holidays, so deploying new releases is currently constrained, except for critical situations.

  6. ArnoSen commented on Dec 24, 2025

    @ArnoSen
    Author

    I understand. Happy holidays!

  7. decentral1se commented on Feb 12, 2026

    @decentral1se

    Did this ever get released?

    We're kinda stuck on our downstream which pulls in a few libraries/deps:

    https://git.coopcloud.tech/toolshed/abra/pulls/728

  8. thaJeztah commented on Feb 12, 2026

    @thaJeztah
    Member

    Yes #6720 is part of v29.2.0

  9. decentral1se commented on Feb 13, 2026

    @decentral1se

    Thanks! I opened moby/moby#52038 re: the archive build error...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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