Organisationsahrefsatd86d996 ()debian-13-4.09_opam-2.5

debian-13-4.09_opam-2.5

Logs

Show full logs
2026-03-17 07:36.17: New job: test ahrefs/atd https://github.com/ahrefs/atd.git#refs/heads/martin/fix-atdml-opam (86d9964bd6f285b084337f3e9ea7dd328be8c9a7) (linux-x86_64:debian-13-4.09_opam-2.5)
Base: ocaml/opam:debian-13-ocaml-4.09@sha256:41e6dcf5676516f92abac434470e80894b320cb1a1eec6b73d3502806da6053a
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/ahrefs/atd.git" -b "martin/fix-atdml-opam" && cd "atd" && git reset --hard 86d9964b
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-4.09@sha256:41e6dcf5676516f92abac434470e80894b320cb1a1eec6b73d3502806da6053a
# debian-13-4.09_opam-2.5
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.5 /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 31462e7d24da1419f9eb9099a0b60ea507d91ef6 || git fetch origin master) && git reset -q --hard 31462e7d24da1419f9eb9099a0b60ea507d91ef6 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 atdts.opam atds.opam atdpy.opam atdml.opam atdj.opam atdgen.opam atdgen-runtime.opam atdgen-codec-runtime.opam atdd.opam atdcpp.opam atd.opam ./
RUN opam pin add -yn atdts.dev './' && \
    opam pin add -yn atds.dev './' && \
    opam pin add -yn atdpy.dev './' && \
    opam pin add -yn atdml.dev './' && \
    opam pin add -yn atdj.dev './' && \
    opam pin add -yn atdgen.dev './' && \
    opam pin add -yn atdgen-runtime.dev './' && \
    opam pin add -yn atdgen-codec-runtime.dev './' && \
    opam pin add -yn atdd.dev './' && \
    opam pin add -yn atdcpp.dev './' && \
    opam pin add -yn atd.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="alcotest.1.9.1 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base biniou.1.2.2 camlp-streams.5.0.1 cmdliner.2.1.0 conf-python-3.9.0.0 cppo.1.8.0 dune.3.21.1 easy-format.1.3.4 fmt.0.11.0 fpath.0.7.3 menhir.20260209 menhirCST.20260209 menhirGLR.20260209 menhirLib.20260209 menhirSdk.20260209 ocaml.4.09.1 ocaml-base-compiler.4.09.1 ocaml-compiler-libs.v0.12.4 ocaml-config.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ppx_derivers.1.2.1 ppx_deriving.6.1.1 ppxlib.0.37.0 re.1.11.0 seq.base sexplib0.v0.16.0 stdlib-shims.0.3.0 testo.0.4.0 testo-diff.0.4.0 testo-util.0.4.0 topkg.1.1.1 uutf.1.0.4 yojson.3.0.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.5 --depext-only -y atdts.dev atds.dev atdpy.dev atdml.dev atdj.dev atdgen.dev atdgen-runtime.dev atdgen-codec-runtime.dev atdd.dev atdcpp.dev atd.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . /src
RUN opam exec -- dune build @install @check @runtest && rm -rf _build

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

2026-03-17 07:36.17: Using cache hint "ahrefs/atd-ocaml/opam:debian-13-ocaml-4.09@sha256:41e6dcf5676516f92abac434470e80894b320cb1a1eec6b73d3502806da6053a-debian-13-4.09_opam-2.5-6adf52ce9d3303827de5074fc9b3bc28"
2026-03-17 07:36.17: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.09@sha256:41e6dcf5676516f92abac434470e80894b320cb1a1eec6b73d3502806da6053a)
 (comment debian-13-4.09_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.5 /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 31462e7d24da1419f9eb9099a0b60ea507d91ef6 || git fetch origin master) && git reset -q --hard 31462e7d24da1419f9eb9099a0b60ea507d91ef6 && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src atdts.opam atds.opam atdpy.opam atdml.opam atdj.opam atdgen.opam atdgen-runtime.opam atdgen-codec-runtime.opam atdd.opam atdcpp.opam atd.opam)
       (dst ./))
 (run (network host)
      (shell  "opam pin add -yn atdts.dev './' && \
             \nopam pin add -yn atds.dev './' && \
             \nopam pin add -yn atdpy.dev './' && \
             \nopam pin add -yn atdml.dev './' && \
             \nopam pin add -yn atdj.dev './' && \
             \nopam pin add -yn atdgen.dev './' && \
             \nopam pin add -yn atdgen-runtime.dev './' && \
             \nopam pin add -yn atdgen-codec-runtime.dev './' && \
             \nopam pin add -yn atdd.dev './' && \
             \nopam pin add -yn atdcpp.dev './' && \
             \nopam pin add -yn atd.dev './'"))
 (run (shell "echo '(lang dune 3.0)' > './dune-project'"))
 (env DEPS "alcotest.1.9.1 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base biniou.1.2.2 camlp-streams.5.0.1 cmdliner.2.1.0 conf-python-3.9.0.0 cppo.1.8.0 dune.3.21.1 easy-format.1.3.4 fmt.0.11.0 fpath.0.7.3 menhir.20260209 menhirCST.20260209 menhirGLR.20260209 menhirLib.20260209 menhirSdk.20260209 ocaml.4.09.1 ocaml-base-compiler.4.09.1 ocaml-compiler-libs.v0.12.4 ocaml-config.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ppx_derivers.1.2.1 ppx_deriving.6.1.1 ppxlib.0.37.0 re.1.11.0 seq.base sexplib0.v0.16.0 stdlib-shims.0.3.0 testo.0.4.0 testo-diff.0.4.0 testo-util.0.4.0 topkg.1.1.1 uutf.1.0.4 yojson.3.0.0")
 (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.5 --depext-only -y atdts.dev atds.dev atdpy.dev atdml.dev atdj.dev atdgen.dev atdgen-runtime.dev atdgen-codec-runtime.dev atdd.dev atdcpp.dev atd.dev $DEPS"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell "opam install $DEPS"))
 (copy (src .) (dst /src))
 (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
)

2026-03-17 07:36.17: Waiting for resource in pool OCluster
2026-03-17 07:36.17: Waiting for worker…
2026-03-17 07:37.29: Got resource from pool OCluster
Building on eumache
HEAD is now at 862388b Another revision of the release notes for 4.0.0
HEAD is now at 86d9964 atdml: fix opam file to not run all project tests (#468)

(from ocaml/opam:debian-13-ocaml-4.09@sha256:41e6dcf5676516f92abac434470e80894b320cb1a1eec6b73d3502806da6053a)
Unable to find image 'ocaml/opam:debian-13-ocaml-4.09@sha256:41e6dcf5676516f92abac434470e80894b320cb1a1eec6b73d3502806da6053a' locally
docker.io/ocaml/opam@sha256:41e6dcf5676516f92abac434470e80894b320cb1a1eec6b73d3502806da6053a: Pulling from ocaml/opam
866771c43bf5: Already exists
1e49bea09367: Already exists
e793768537e6: Already exists
ed323d3d481a: Already exists
7df34a5cd5f1: Already exists
fd712d3eb935: Already exists
4b9fb8c99118: Already exists
9d9a01948b94: Already exists
0f1514f90b32: Already exists
e1ec5a753447: Already exists
03cc323e2f71: Already exists
c09c08ea9749: Already exists
b36b619f8e6b: Already exists
195344ca5274: Already exists
228ee78582a6: Already exists
504bde1c25b3: Already exists
9d8b1356c89f: Already exists
9d8b1356c89f: Already exists
568fb6dda155: Already exists
c499c9198aea: Already exists
048e5e358118: Already exists
871ca48eb45d: Already exists
4f4fb700ef54: Already exists
a5a2568b9df9: Already exists
068cf3106ac8: Already exists
559f54ec9b29: Already exists
798ffd96fde5: Already exists
e9a891bf80d7: Already exists
d720cfe12674: Already exists
c81c932f4a91: Already exists
79f24fa3bb11: Already exists
8c1debcd8c20: Already exists
1bb2cfea7250: Already exists
2b3d3ca75e4c: Already exists
557cacaf263c: Already exists
d10483022eef: Already exists
7b62a90d8223: Already exists
28ce8ea66e72: Already exists
d975909ea717: Already exists
5c215c69c247: Already exists
e7c082452a54: Already exists
831aa91e6d94: Already exists
a074f1c29577: Already exists
5c3929ea206e: Already exists
d6d23076d451: Already exists
Digest: sha256:41e6dcf5676516f92abac434470e80894b320cb1a1eec6b73d3502806da6053a
Status: Downloaded newer image for ocaml/opam@sha256:41e6dcf5676516f92abac434470e80894b320cb1a1eec6b73d3502806da6053a
2026-03-17 07:37.57 ---> saved as "28cee70f2eb4fa8fb33112744eaac147d7365d8f1114c87e4f5433c6be525f95"

/: (comment debian-13-4.09_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.5 /usr/bin/opam"))
2026-03-17 07:38.00 ---> saved as "d7cee649f336d71aa3726e62bdb6a364a02d146071185f01540869da6a982fd9"

/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 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
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2026-03-17 07:38.32 ---> saved as "68cdfb3c36ad9377e690d20a6d8149a4aea9e0d453e8185e4b85700889e99432"

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-131-generic
The OCaml toplevel, version 4.09.1
2.5.0
2026-03-17 07:38.35 ---> saved as "985d32b69c550867434ec7960bff23e0d2769e6b050fcc5c1283e230e25bf21f"

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2026-03-17 07:38.39 ---> saved as "70cf2f285c5eb2c41fecac9825d8db8fc82e3e303ed9d956e2f89343a8ebc805"

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e 31462e7d24da1419f9eb9099a0b60ea507d91ef6 || git fetch origin master) && git reset -q --hard 31462e7d24da1419f9eb9099a0b60ea507d91ef6 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   ffb54b9bdd..e589be2bb3  master     -> origin/master
31462e7d24 Merge pull request #29451 from dra27/relocatable-package

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

2026-03-17 07:38.53: Cancelling: Auto-cancelling job because it is no longer needed
Job cancelled