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-5.4~alpha1_opam-2.4)
Base: ocaml/opam:debian-13-ocaml-5.4-alpha1@sha256:5396767118678323afec8d18868ef6e4e121597d86df1d623652605126aa1a1b
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-5.4-alpha1@sha256:5396767118678323afec8d18868ef6e4e121597d86df1d623652605126aa1a1b
# debian-13-5.4~alpha1_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 6ef6813522b6ea29933f6451236a1639bdbaec61 || git fetch origin master) && git reset -q --hard 6ef6813522b6ea29933f6451236a1639bdbaec61 && 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-domains.base base-effects.base base-nnp.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.5.4.0 ocaml-base-compiler.5.4.0~alpha1 ocaml-compiler.5.4.0~alpha1 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 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.37.0~5.4preview 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-5.4-alpha1@sha256:5396767118678323afec8d18868ef6e4e121597d86df1d623652605126aa1a1b-debian-13-5.4~alpha1_opam-2.4-a8cfcc3dd3618cd56d3a78192a1e7d44"
2025-09-19 03:31.43: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.4-alpha1@sha256:5396767118678323afec8d18868ef6e4e121597d86df1d623652605126aa1a1b)
(comment debian-13-5.4~alpha1_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 6ef6813522b6ea29933f6451236a1639bdbaec61 || git fetch origin master) && git reset -q --hard 6ef6813522b6ea29933f6451236a1639bdbaec61 && 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-domains.base base-effects.base base-nnp.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.5.4.0 ocaml-base-compiler.5.4.0~alpha1 ocaml-compiler.5.4.0~alpha1 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 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.37.0~5.4preview 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-5.4-alpha1@sha256:5396767118678323afec8d18868ef6e4e121597d86df1d623652605126aa1a1b)
2025-09-19 03:31.58 ---> saved as "3f95d81d4822767d9dc599129c8ce8bc534ab02216a869abc23583d80d41a357"
/: (comment debian-13-5.4~alpha1_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:31.59 ---> saved as "c297e5790b4ce7401cade9c992adb0d74b2144108546ec7f38adf6e8c2609fcb"
/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 ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ERROR] Could not update repository "beta": "/usr/bin/git fetch -q" exited with code 128 "fatal: unable to access 'https://github.com/ocaml/ocaml-beta-repository/': Could not resolve host: github.com"
[default] Initialised
2025-09-19 03:32.28 ---> saved as "176d5477f6f38657c9c223e003e7a16a585578b122ebb4ee9130505568775ad4"
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-131-generic
The OCaml toplevel, version 5.4.0~alpha1
2.4.1
2025-09-19 03:32.28 ---> saved as "ac92732adaca17f989c8bc41a2514b34e9f3d6afcd57819041a848914cf46e24"
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-09-19 03:32.29 ---> saved as "7f03a2f5f5de6daba403c6491d6e69d6bd69f5c2f6c526e2a95be5dc33974134"
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 6ef6813522b6ea29933f6451236a1639bdbaec61 || git fetch origin master) && git reset -q --hard 6ef6813522b6ea29933f6451236a1639bdbaec61 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
bcac5d1731..a8e705e921 master -> origin/master
6ef6813522 Merge pull request #28449 from dra27/ocaml-compiler-msvc
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[beta] no changes from git+https://github.com/ocaml/ocaml-beta-repository
[default] synchronised from git+file:///home/opam/opam-repository
2025-09-19 03:32.43: Cancelling: Auto-cancelling job because it is no longer needed
Job cancelled