Organisationsahrefsdevkitac7d14 ()debian-13-4.14+flambda_opam-2.4

debian-13-4.14+flambda_opam-2.4

Link Copied
Code Copied

Logs

2025-09-19 03:31.43: New job: test ahrefs/devkit https://github.com/ahrefs/devkit.git#refs/heads/master (ac7d1409942f7dd25f131cca0f8dbfdfc671f954) (linux-x86_64:debian-13-4.14+flambda_opam-2.4)
Base: ocaml/opam:debian-13-ocaml-4.14-flambda@sha256:d694312ddca44327402acf566730cea54c3b42eeb10553d5822f781ea35dfdb5
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/ahrefs/devkit.git" -b "master" && cd "devkit" && git reset --hard ac7d1409
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-4.14-flambda@sha256:d694312ddca44327402acf566730cea54c3b42eeb10553d5822f781ea35dfdb5
# debian-13-4.14+flambda_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 6d1113800df93eee5a4005571b06d99b81a6739c || git fetch origin master) && git reset -q --hard 6d1113800df93eee5a4005571b06d99b81a6739c && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 devkit.opam ./
RUN opam pin add -yn devkit.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="base-bigarray.base base-bytes.base base-threads.base base-unix.base camlzip.1.13 conf-libcurl.2 conf-libevent.1 conf-libpcre2-8.2 conf-pkg-config.4 conf-zlib.1 cppo.1.8.0 csexp.1.5.2 curl.0.10.0 curl_lwt.0.10.0 dune.3.20.2 dune-configurator.3.20.2 extlib.1.8.0 extunix.0.4.4 libevent.0.9.0 lwt.5.9.2 lwt_ppx.5.9.2 ocaml.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-variants.4.14.2+options ocamlfind.1.9.8 ocplib-endian.1.2 ocurl.transition ounit2.2.2.7 pcre2.8.0.3 ppx_derivers.1.2.1 ppxlib.0.36.0 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 trace.0.10 yojson.3.0.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.4 --depext-only -y devkit.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-09-19 03:31.43: Using cache hint "ahrefs/devkit-ocaml/opam:debian-13-ocaml-4.14-flambda@sha256:d694312ddca44327402acf566730cea54c3b42eeb10553d5822f781ea35dfdb5-debian-13-4.14+flambda_opam-2.4-e0ef8d48ddc18aa5a9bb49ee827185f5"
2025-09-19 03:31.43: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.14-flambda@sha256:d694312ddca44327402acf566730cea54c3b42eeb10553d5822f781ea35dfdb5)
(comment debian-13-4.14+flambda_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 6d1113800df93eee5a4005571b06d99b81a6739c || git fetch origin master) && git reset -q --hard 6d1113800df93eee5a4005571b06d99b81a6739c && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src devkit.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn devkit.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "base-bigarray.base base-bytes.base base-threads.base base-unix.base camlzip.1.13 conf-libcurl.2 conf-libevent.1 conf-libpcre2-8.2 conf-pkg-config.4 conf-zlib.1 cppo.1.8.0 csexp.1.5.2 curl.0.10.0 curl_lwt.0.10.0 dune.3.20.2 dune-configurator.3.20.2 extlib.1.8.0 extunix.0.4.4 libevent.0.9.0 lwt.5.9.2 lwt_ppx.5.9.2 ocaml.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-variants.4.14.2+options ocamlfind.1.9.8 ocplib-endian.1.2 ocurl.transition ounit2.2.2.7 pcre2.8.0.3 ppx_derivers.1.2.1 ppxlib.0.36.0 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 trace.0.10 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.4 --depext-only -y devkit.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-09-19 03:31.43: Waiting for resource in pool OCluster
2025-09-19 03:31.43: Waiting for worker…
2025-09-19 03:31.43: Got resource from pool OCluster
Building on eumache
All commits already cached
HEAD is now at ac7d140 switch from pcre to pcre2


(from ocaml/opam:debian-13-ocaml-4.14-flambda@sha256:d694312ddca44327402acf566730cea54c3b42eeb10553d5822f781ea35dfdb5)
Unable to find image 'ocaml/opam:debian-13-ocaml-4.14-flambda@sha256:d694312ddca44327402acf566730cea54c3b42eeb10553d5822f781ea35dfdb5' locally
docker.io/ocaml/opam@sha256:d694312ddca44327402acf566730cea54c3b42eeb10553d5822f781ea35dfdb5: Pulling from ocaml/opam
ae412004300f: Already exists
Digest: sha256:d694312ddca44327402acf566730cea54c3b42eeb10553d5822f781ea35dfdb5
Status: Downloaded newer image for ocaml/opam@sha256:d694312ddca44327402acf566730cea54c3b42eeb10553d5822f781ea35dfdb5
2025-09-19 03:32.16 ---> saved as "00020e2226cf7f1f24c17336a00c265a631d987b89b08facdf48fd5a8a5489e8"


/: (comment debian-13-4.14+flambda_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-09-19 03:32.16 ---> saved as "e33f80f1d3f9610ba27ee202fe2e0d8d7b70fc72f8eccce8a3de0b2a05fe9230"


/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-09-19 03:32.43: Cancelling: Auto-cancelling job because it is no longer needed
Job cancelled