Organisationsahrefsatdbda21a ()debian-13-4.09_opam-2.4

debian-13-4.09_opam-2.4

Link Copied
Code Copied

Logs

2025-12-06 03:34.33: New job: test ahrefs/atd https://github.com/ahrefs/atd.git#refs/heads/smondet-20250307-remove-j-std-i412-continued (bda21af5535eaf77d95cbe8f2b25961f539d67cd) (linux-x86_64:debian-13-4.09_opam-2.4)
Base: ocaml/opam:debian-13-ocaml-4.09@sha256:c9713bbef7f9ec11a54f557062e604c092b8bf7d019e50c23e614c693c4e0ca5
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/ahrefs/atd.git" -b "smondet-20250307-remove-j-std-i412-continued" && cd "atd" && git reset --hard bda21af5
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-4.09@sha256:c9713bbef7f9ec11a54f557062e604c092b8bf7d019e50c23e614c693c4e0ca5
# debian-13-4.09_opam-2.4
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.4 /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 8a324a5b9945e0e515da441ede437f3756caa83d || git fetch origin master) && git reset -q --hard 8a324a5b9945e0e515da441ede437f3756caa83d && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 atdts.opam atds.opam atdpy.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 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 dune.3.20.2 easy-format.1.3.4 fmt.0.11.0 menhir.20250912 menhirCST.20250912 menhirLib.20250912 menhirSdk.20250912 ocaml.4.09.1 ocaml-base-compiler.4.09.1 ocaml-config.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 re.1.11.0 seq.base stdlib-shims.0.3.0 topkg.1.1.1 uutf.1.0.4 yojson.2.2.2"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.4 --depext-only -y atdts.dev atds.dev atdpy.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


2025-12-06 03:34.33: Using cache hint "ahrefs/atd-ocaml/opam:debian-13-ocaml-4.09@sha256:c9713bbef7f9ec11a54f557062e604c092b8bf7d019e50c23e614c693c4e0ca5-debian-13-4.09_opam-2.4-e15ac7e0cd918f009ac4279bef8a2767"
2025-12-06 03:34.33: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.09@sha256:c9713bbef7f9ec11a54f557062e604c092b8bf7d019e50c23e614c693c4e0ca5)
(comment debian-13-4.09_opam-2.4)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/bin/opam-2.4 /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 8a324a5b9945e0e515da441ede437f3756caa83d || git fetch origin master) && git reset -q --hard 8a324a5b9945e0e515da441ede437f3756caa83d && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src atdts.opam atds.opam atdpy.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 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 (network host)
(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 dune.3.20.2 easy-format.1.3.4 fmt.0.11.0 menhir.20250912 menhirCST.20250912 menhirLib.20250912 menhirSdk.20250912 ocaml.4.09.1 ocaml-base-compiler.4.09.1 ocaml-config.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 re.1.11.0 seq.base stdlib-shims.0.3.0 topkg.1.1.1 uutf.1.0.4 yojson.2.2.2")
(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.4 --depext-only -y atdts.dev atds.dev atdpy.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"))
)


2025-12-06 03:34.33: Waiting for resource in pool OCluster
2025-12-06 03:34.33: Waiting for worker…
2025-12-06 03:34.34: Got resource from pool OCluster
Building on bremusa.ocamllabs.io
All commits already cached
HEAD is now at bda21af Generalize and document use of `ATDGEN_FAIL_DEPRECATED_OPTIONS`


(from ocaml/opam:debian-13-ocaml-4.09@sha256:c9713bbef7f9ec11a54f557062e604c092b8bf7d019e50c23e614c693c4e0ca5)
Unable to find image 'ocaml/opam:debian-13-ocaml-4.09@sha256:c9713bbef7f9ec11a54f557062e604c092b8bf7d019e50c23e614c693c4e0ca5' locally
docker.io/ocaml/opam@sha256:c9713bbef7f9ec11a54f557062e604c092b8bf7d019e50c23e614c693c4e0ca5: Pulling from ocaml/opam
13cc39f8244a: Already exists
b27d53669817: Already exists
062c909e206e: Already exists
265baae72087: Already exists
b6b7b385247c: Already exists
bfb7bf5b7c6d: Already exists
b18c76fc18f2: Already exists
6bdbb37ee35f: Already exists
84035aa4da2d: Already exists
0c3307e14207: Already exists
30b92d637d72: Already exists
991b07583706: Already exists
e1d7a79a1495: Already exists
6b08d63c6214: Already exists
4c7236344711: Already exists
12506f41e8b0: Already exists
12506f41e8b0: Already exists
2330d596aec1: Already exists
a48299f5ec62: Already exists
04618a577568: Already exists
8c4b002d072b: Already exists
4f4fb700ef54: Already exists
ff68f05e2976: Already exists
d5543b560a3e: Already exists
4a9030bbb1ef: Already exists
c59b3bec3411: Already exists
85a7c9be9495: Already exists
dbc6bd8f2e44: Already exists
6680a5133ca2: Already exists
470c0056084c: Already exists
6b9af56b67cf: Already exists
c572cde25fb3: Already exists
033b2d405acf: Already exists
663cc5b3d424: Already exists
840bbd47fded: Already exists
fb8f644ba010: Already exists
66735543f230: Already exists
7896354b8c11: Already exists
a0063722d8c2: Already exists
7018e4a5881b: Already exists
5511230be26a: Already exists
40f67569465d: Already exists
0f008cb40208: Already exists
6b7ca41647e0: Already exists
Digest: sha256:c9713bbef7f9ec11a54f557062e604c092b8bf7d019e50c23e614c693c4e0ca5
Status: Downloaded newer image for ocaml/opam@sha256:c9713bbef7f9ec11a54f557062e604c092b8bf7d019e50c23e614c693c4e0ca5
2025-12-06 03:34.52 ---> saved as "fdec8556ea76014db997247791612cf485e44bed45b0b0c070f584c6a0d62e30"


/: (comment debian-13-4.09_opam-2.4)


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


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (workdir /src)


/src: (run (shell "sudo ln -f /usr/bin/opam-2.4 /usr/bin/opam"))
2025-12-06 03:34.52 ---> saved as "7637a87144ac5b0fa431f19e87275a98c9c9a544bf5ca307551f31f8cc56bbe0"


/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
2025-12-06 03:35.16 ---> saved as "4cf22ea9a5b3d9107f08520d4de94d40f000372cd94e7b8a72ece69f3582c076"


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-85-generic
The OCaml toplevel, version 4.09.1
2.4.1
2025-12-06 03:35.17 ---> saved as "5aa15a979e7687af8447ad704f6d85d8fc0ba4e098a1b15d79f3c197586eab30"


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-12-06 03:35.17 ---> saved as "db36bceb8290f313a40d424fd7e9a225005679df8422d79ebfaa50d351010bd2"


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 8a324a5b9945e0e515da441ede437f3756caa83d || git fetch origin master) && git reset -q --hard 8a324a5b9945e0e515da441ede437f3756caa83d && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
21f97b2e6d..3e41859015  master     -> origin/master
8a324a5b99 Add: cmdliner.2.1.0 (#28962)


<><> 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 at these versions (e.g. "opam upgrade ocaml.5.4.0"), which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2025-12-06 03:35.38 ---> saved as "20e952c6d54a541e7005b876d0255e810931f730ba60f0cf935a72aa8a51addf"


/src: (copy (src atdts.opam atds.opam atdpy.opam atdj.opam atdgen.opam atdgen-runtime.opam atdgen-codec-runtime.opam atdd.opam atdcpp.opam atd.opam)
(dst ./))
2025-12-06 03:35.39 ---> saved as "c9ed4227d713aa6e7c72b34983396105daecdbdff22b67c2f9650b001670e068"


/src: (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 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 './'"))
2025-12-06 03:35.40: Cancelling: Auto-cancelling job because it is no longer needed
[atdts.dev] synchronised (file:///src)
atdts is now pinned to file:///src (version dev)
Job cancelled