Organisationsrobur-coopfluxacf6fe (fix-ci)(lint-opam)

(lint-opam)

Logs

Show full logs
2026-04-23 09:52.37: New job: test robur-coop/flux https://github.com/robur-coop/flux.git#refs/heads/fix-ci (acf6fed4b4a555cf84503a40d24f3da01300c45c) (linux-x86_64:(lint-opam))
Base: ocaml/opam:debian-13-ocaml-5.0@sha256:6e1c68e30833ef236c68dbf10d24510d16ed155dff5b031c3a15244f418af35c
Opam files lint

To reproduce locally:

git clone --recursive "https://github.com/robur-coop/flux.git" -b "fix-ci" && cd "flux" && git reset --hard acf6fed4
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-5.0@sha256:6e1c68e30833ef236c68dbf10d24510d16ed155dff5b031c3a15244f418af35c
# debian-13-5.0_opam-2.5
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.2 /usr/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
WORKDIR /src
RUN sudo chown opam /src
RUN cd ~/opam-repository && (git cat-file -e 499ef09e251055ba35c2e994b86c609886b37a53 || git fetch origin master) && git reset -q --hard 499ef09e251055ba35c2e994b86c609886b37a53 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 fluxt.opam flux.opam examples-do-not-release.opam ./
RUN opam pin add -yn fluxt.dev './' && \
    opam pin add -yn flux.dev './' && \
    opam pin add -yn examples-do-not-release.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="alcotest.1.9.1 angstrom.0.16.1 asn1-combinators.0.3.2 astring.0.8.5 base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base base64.3.5.2 bigstringaf.0.10.0 bos.0.3.0 bstr.0.0.4 ca-certs.1.0.1 cmdliner.2.1.1 conf-gmp.5 conf-gmp-powm-sec.4 conf-pkg-config.4 csexp.1.5.2 digestif.1.3.0 dns.10.2.5 dns-client.10.2.5 dns-client-miou-unix.10.2.5 domain-name.0.5.0 dune.3.20.2 dune-configurator.3.20.2 duration.0.3.1 dyn.3.20.2 eqaf.0.10 faraday.0.8.2 fmt.0.11.0 fpath.0.7.3 gmap.0.3.0 h1.1.1.0 h2.0.13.0 happy-eyeballs.2.0.1 happy-eyeballs-miou-unix.2.0.1 hpack.0.13.0 httpcats.0.2.1 httpun-types.0.2.0 ipaddr.5.6.2 jsonm.1.0.2 kdf.1.0.0 logs.0.10.0 lru.0.3.1 macaddr.5.6.2 menhir.20260209 menhirCST.20260209 menhirGLR.20260209 menhirLib.20260209 menhirSdk.20260209 metrics.0.5.0 miou.0.5.5 mirage-crypto.2.1.0 mirage-crypto-ec.2.1.0 mirage-crypto-pk.2.1.0 mirage-crypto-rng.2.1.0 mtime.2.1.0 num.1.6 ocaml.5.0.0 ocaml-base-compiler.5.0.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocamlgraph.2.2.0 ohex.0.2.0 opam-core.2.5.1 opam-dune-lint.0.6 opam-file-format.2.2.0 opam-format.2.5.1 opam-repository.2.5.1 opam-state.2.5.1 ordering.3.20.2 parsexp.v0.16.0 patch.3.1.0 pp.2.0.0 psq.0.2.1 ptime.1.2.0 randomconv.0.2.0 re.1.14.0 rresult.0.7.0 seq.base sexplib.v0.16.0 sexplib0.v0.16.0 sha.1.15.4 spdx_licenses.1.4.0 stdlib-shims.0.3.0 stdune.3.20.2 swhid_core.0.1 tls.2.0.4 tls-miou-unix.2.0.4 topkg.1.1.1 uutf.1.0.4 x509.1.0.6 zarith.1.14"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.2 --depext-only -y deps_for_opam_dune_lint.opam flux.dev examples-do-not-release.dev $DEPS
RUN opam install $DEPS
ENV CI="true"
ENV OCAMLCI="true"
WORKDIR /src
COPY --chown=1000:1000 . /src/
RUN opam lint
RUN opam exec -- opam-dune-lint

END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK

2026-04-23 09:52.37: Using cache hint "robur-coop/flux-ocaml/opam:debian-13-ocaml-5.0@sha256:6e1c68e30833ef236c68dbf10d24510d16ed155dff5b031c3a15244f418af35c-debian-13-5.0_opam-2.5-956f8943b08254621c6508f0eb527dc4"
2026-04-23 09:52.37: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.0@sha256:6e1c68e30833ef236c68dbf10d24510d16ed155dff5b031c3a15244f418af35c)
 (comment debian-13-5.0_opam-2.5)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (workdir /src)
 (run (shell "sudo ln -f /usr/bin/opam-2.2 /usr/bin/opam"))
 (run (shell "opam init --reinit -ni"))
 (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
 (workdir /src)
 (run (shell "sudo chown opam /src"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell "cd ~/opam-repository && (git cat-file -e 499ef09e251055ba35c2e994b86c609886b37a53 || git fetch origin master) && git reset -q --hard 499ef09e251055ba35c2e994b86c609886b37a53 && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src fluxt.opam flux.opam examples-do-not-release.opam) (dst ./))
 (run (network host)
      (shell  "opam pin add -yn fluxt.dev './' && \
             \nopam pin add -yn flux.dev './' && \
             \nopam pin add -yn examples-do-not-release.dev './'"))
 (run (shell "echo '(lang dune 3.0)' > './dune-project'"))
 (env DEPS "alcotest.1.9.1 angstrom.0.16.1 asn1-combinators.0.3.2 astring.0.8.5 base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base base64.3.5.2 bigstringaf.0.10.0 bos.0.3.0 bstr.0.0.4 ca-certs.1.0.1 cmdliner.2.1.1 conf-gmp.5 conf-gmp-powm-sec.4 conf-pkg-config.4 csexp.1.5.2 digestif.1.3.0 dns.10.2.5 dns-client.10.2.5 dns-client-miou-unix.10.2.5 domain-name.0.5.0 dune.3.20.2 dune-configurator.3.20.2 duration.0.3.1 dyn.3.20.2 eqaf.0.10 faraday.0.8.2 fmt.0.11.0 fpath.0.7.3 gmap.0.3.0 h1.1.1.0 h2.0.13.0 happy-eyeballs.2.0.1 happy-eyeballs-miou-unix.2.0.1 hpack.0.13.0 httpcats.0.2.1 httpun-types.0.2.0 ipaddr.5.6.2 jsonm.1.0.2 kdf.1.0.0 logs.0.10.0 lru.0.3.1 macaddr.5.6.2 menhir.20260209 menhirCST.20260209 menhirGLR.20260209 menhirLib.20260209 menhirSdk.20260209 metrics.0.5.0 miou.0.5.5 mirage-crypto.2.1.0 mirage-crypto-ec.2.1.0 mirage-crypto-pk.2.1.0 mirage-crypto-rng.2.1.0 mtime.2.1.0 num.1.6 ocaml.5.0.0 ocaml-base-compiler.5.0.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocamlgraph.2.2.0 ohex.0.2.0 opam-core.2.5.1 opam-dune-lint.0.6 opam-file-format.2.2.0 opam-format.2.5.1 opam-repository.2.5.1 opam-state.2.5.1 ordering.3.20.2 parsexp.v0.16.0 patch.3.1.0 pp.2.0.0 psq.0.2.1 ptime.1.2.0 randomconv.0.2.0 re.1.14.0 rresult.0.7.0 seq.base sexplib.v0.16.0 sexplib0.v0.16.0 sha.1.15.4 spdx_licenses.1.4.0 stdlib-shims.0.3.0 stdune.3.20.2 swhid_core.0.1 tls.2.0.4 tls-miou-unix.2.0.4 topkg.1.1.1 uutf.1.0.4 x509.1.0.6 zarith.1.14")
 (env CI true)
 (env OCAMLCI true)
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell "opam update --depexts && opam install --cli=2.2 --depext-only -y deps_for_opam_dune_lint.opam flux.dev examples-do-not-release.dev $DEPS"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell "opam install $DEPS"))
 (env CI true)
 (env OCAMLCI true)
 (workdir /src)
 (copy (src .) (dst /src/))
 (run (shell "opam lint"))
 (run (shell "opam exec -- opam-dune-lint"))
)

2026-04-23 09:52.37: Waiting for resource in pool OCluster
2026-04-23 10:37.04: Waiting for worker…
2026-04-23 10:40.40: Got resource from pool OCluster
Building on odawa.caelum.ci.dev
All commits already cached
HEAD is now at acf6fed Add an opam file for examples

(from ocaml/opam:debian-13-ocaml-5.0@sha256:6e1c68e30833ef236c68dbf10d24510d16ed155dff5b031c3a15244f418af35c)
2026-04-23 10:40.40 ---> using "6116e7795090b394b692c35f7698f578c9549652048c83e565dc2c1a06de6fcb" from cache

/: (comment debian-13-5.0_opam-2.5)

/: (user (uid 1000) (gid 1000))

/: (env CLICOLOR_FORCE 1)

/: (env OPAMCOLOR always)

/: (workdir /src)

/src: (run (shell "sudo ln -f /usr/bin/opam-2.2 /usr/bin/opam"))
2026-04-23 10:40.40 ---> using "9f73e888f58f205f4ed693bd846edc639b3f05bd35d8e2971ce8b8ce8c397995" from cache

/src: (run (shell "opam init --reinit -ni"))
Configuring from /home/opam/.opamrc and then from built-in defaults.
Checking for available remotes: rsync and local, git.
  - you won't be able to use mercurial repositories unless you install the hg command on your system.
  - you won't be able to use darcs repositories unless you install the darcs command on your system.

This development version of opam requires an update to the layout of /home/opam/.opam from version 2.0 to version 2.2, which can't be reverted.
You may want to back it up before going further.

Continue? [y/n] y
[NOTE] The 'jobs' option was reset, its value was 71 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
           opam option jobs=71 --global
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2026-04-23 10:40.40 ---> using "780d275652ad88d59acd83f29ed61097c4e7168968b11df2f2b7fd8f47199406" from cache

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-107-generic
The OCaml toplevel, version 5.0.0
2.2.1
2026-04-23 10:40.40 ---> using "1b7c40935a87bdb99d644323913de44f778053297527df776c078014031615c6" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2026-04-23 10:40.40 ---> using "1fb5a6bcfbd3c2f530a34194a9aa41f2286c1c6c2f40ada798afb80f61bc5b82" from cache

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e 499ef09e251055ba35c2e994b86c609886b37a53 || git fetch origin master) && git reset -q --hard 499ef09e251055ba35c2e994b86c609886b37a53 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   95972b8834..6b6b0c375b  master     -> origin/master
499ef09e25 Merge pull request #29791 from dbuenzli/b0-publish-bos.0.3.0

<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+file:///home/opam/opam-repository

Everything as up-to-date as possible (run with --verbose to show unavailable upgrades).
However, you may "opam upgrade" these packages explicitly, which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
# Run eval $(opam env) to update the current shell environment
2026-04-23 10:40.40 ---> using "af998d0bbda6495ffc4ad3f75b25addab6239b569f86155e0e7f559f80435bfd" from cache

/src: (copy (src fluxt.opam flux.opam examples-do-not-release.opam) (dst ./))
2026-04-23 10:40.41 ---> saved as "2743212535568d37addc9f7cf07e77aabd7a40e548c5e22615b75924cb9f66c0"

/src: (run (network host)
           (shell  "opam pin add -yn fluxt.dev './' && \
                  \nopam pin add -yn flux.dev './' && \
                  \nopam pin add -yn examples-do-not-release.dev './'"))
[fluxt.dev] synchronised (file:///src)
fluxt is now pinned to file:///src (version dev)
[flux.dev] synchronised (file:///src)
flux is now pinned to file:///src (version dev)
Package examples-do-not-release does not exist, create as a NEW package? [y/n] y
[examples-do-not-release.dev] synchronised (file:///src)
[WARNING] Failed checks on examples-do-not-release package definition from source at file:///src:
    error  3: File format error in 'name' at line 2, column 0: while expecting pkg-name: Invalid character in package name "examples-do-not-release.opam"
examples-do-not-release is now pinned to file:///src (version dev)
2026-04-23 10:40.44 ---> saved as "b04a11343f48dfbfe81615cb5d69c8650039b8241c494d45fd0e858e2c64e4f5"

/src: (run (shell "echo '(lang dune 3.0)' > './dune-project'"))
2026-04-23 10:40.45 ---> saved as "2e19099a2a1fffb789715ddb7cee1589cec64475cb5b20329b306a7282cb17b5"

/src: (env DEPS "alcotest.1.9.1 angstrom.0.16.1 asn1-combinators.0.3.2 astring.0.8.5 base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base base64.3.5.2 bigstringaf.0.10.0 bos.0.3.0 bstr.0.0.4 ca-certs.1.0.1 cmdliner.2.1.1 conf-gmp.5 conf-gmp-powm-sec.4 conf-pkg-config.4 csexp.1.5.2 digestif.1.3.0 dns.10.2.5 dns-client.10.2.5 dns-client-miou-unix.10.2.5 domain-name.0.5.0 dune.3.20.2 dune-configurator.3.20.2 duration.0.3.1 dyn.3.20.2 eqaf.0.10 faraday.0.8.2 fmt.0.11.0 fpath.0.7.3 gmap.0.3.0 h1.1.1.0 h2.0.13.0 happy-eyeballs.2.0.1 happy-eyeballs-miou-unix.2.0.1 hpack.0.13.0 httpcats.0.2.1 httpun-types.0.2.0 ipaddr.5.6.2 jsonm.1.0.2 kdf.1.0.0 logs.0.10.0 lru.0.3.1 macaddr.5.6.2 menhir.20260209 menhirCST.20260209 menhirGLR.20260209 menhirLib.20260209 menhirSdk.20260209 metrics.0.5.0 miou.0.5.5 mirage-crypto.2.1.0 mirage-crypto-ec.2.1.0 mirage-crypto-pk.2.1.0 mirage-crypto-rng.2.1.0 mtime.2.1.0 num.1.6 ocaml.5.0.0 ocaml-base-compiler.5.0.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocamlgraph.2.2.0 ohex.0.2.0 opam-core.2.5.1 opam-dune-lint.0.6 opam-file-format.2.2.0 opam-format.2.5.1 opam-repository.2.5.1 opam-state.2.5.1 ordering.3.20.2 parsexp.v0.16.0 patch.3.1.0 pp.2.0.0 psq.0.2.1 ptime.1.2.0 randomconv.0.2.0 re.1.14.0 rresult.0.7.0 seq.base sexplib.v0.16.0 sexplib0.v0.16.0 sha.1.15.4 spdx_licenses.1.4.0 stdlib-shims.0.3.0 stdune.3.20.2 swhid_core.0.1 tls.2.0.4 tls-miou-unix.2.0.4 topkg.1.1.1 uutf.1.0.4 x509.1.0.6 zarith.1.14")

/src: (env CI true)

/src: (env OCAMLCI true)

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "opam update --depexts && opam install --cli=2.2 --depext-only -y deps_for_opam_dune_lint.opam flux.dev examples-do-not-release.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian trixie InRelease
- Get:2 http://deb.debian.org/debian trixie-updates InRelease [47.3 kB]
- Get:3 http://deb.debian.org/debian-security trixie-security InRelease [43.4 kB]
- Get:4 http://deb.debian.org/debian-security trixie-security/main amd64 Packages [127 kB]
- Fetched 218 kB in 0s (543 kB/s)
- Reading package lists...
[ERROR] No package named deps_for_opam_dune_lint found.
"/usr/bin/env" "bash" "-c" "opam update --depexts && opam install --cli=2.2 --depext-only -y deps_for_opam_dune_lint.opam flux.dev examples-do-not-release.dev $DEPS" failed with exit status 5
2026-04-23 10:40.47: Job failed: Failed: Build failed