2025-09-19 03:31.43: New job: test ahrefs/devkit https://github.com/ahrefs/devkit.git#refs/heads/master (ac7d1409942f7dd25f131cca0f8dbfdfc671f954) (linux-x86_64:(lower-bound))
Base: ocaml/opam:debian-13-ocaml-4.08@sha256:b9828be178417e3bc607ef229c00d658316b130c027775f6069f6a7c473de176
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.08@sha256:b9828be178417e3bc607ef229c00d658316b130c027775f6069f6a7c473de176
# debian-13-4.08_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 biniou.1.2.0 camlp4.4.08+1 camlzip.1.07 conf-libcurl.1 conf-libevent.1 conf-libpcre2-8.1 conf-m4.1 conf-pkg-config.1.0 conf-which.1 cppo.1.6.1 dune.2.9.3 dune-configurator.2.5.1 dune-private-libs.2.5.1 easy-format.1.0.1 extlib.1.7.5 extunix.0.1.5 jbuilder.1.0+beta20.1 libevent.0.8.0 lwt.5.7.0 lwt_ppx.1.0.0 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocaml-migrate-parsetree.1.3.0 ocamlbuild.0.14.0 ocamlfind.1.8.0 ocplib-endian.1.0 ocurl.0.7.6 ounit2.2.2.0 pcre2.8.0.3 ppx_derivers.1.0 ppx_tools_versioned.5.2.2 result.1.5 stdlib-shims.0.1.0 trace.0.4 yojson.1.6.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.08@sha256:b9828be178417e3bc607ef229c00d658316b130c027775f6069f6a7c473de176-debian-13-4.08_opam-2.4-1be7a88f57bb95693255064f9c558b49"
2025-09-19 03:31.43: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.08@sha256:b9828be178417e3bc607ef229c00d658316b130c027775f6069f6a7c473de176)
(comment debian-13-4.08_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 biniou.1.2.0 camlp4.4.08+1 camlzip.1.07 conf-libcurl.1 conf-libevent.1 conf-libpcre2-8.1 conf-m4.1 conf-pkg-config.1.0 conf-which.1 cppo.1.6.1 dune.2.9.3 dune-configurator.2.5.1 dune-private-libs.2.5.1 easy-format.1.0.1 extlib.1.7.5 extunix.0.1.5 jbuilder.1.0+beta20.1 libevent.0.8.0 lwt.5.7.0 lwt_ppx.1.0.0 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocaml-migrate-parsetree.1.3.0 ocamlbuild.0.14.0 ocamlfind.1.8.0 ocplib-endian.1.0 ocurl.0.7.6 ounit2.2.2.0 pcre2.8.0.3 ppx_derivers.1.0 ppx_tools_versioned.5.2.2 result.1.5 stdlib-shims.0.1.0 trace.0.4 yojson.1.6.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.44: Got resource from pool OCluster
Building on toxis.caelum.ci.dev
All commits already cached
HEAD is now at ac7d140 switch from pcre to pcre2
(from ocaml/opam:debian-13-ocaml-4.08@sha256:b9828be178417e3bc607ef229c00d658316b130c027775f6069f6a7c473de176)
2025-09-19 03:32.04 ---> saved as "4f143e25e7620fadf6d4819085e998cd063e4132d1bf4b7e768f2c9645e2385a"
/: (comment debian-13-4.08_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.04 ---> saved as "43ec064e3f42ede32eadcb6103eb90c2aa5fe5ca842cc91b1d25af5d96ab1a36"
/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.30 ---> saved as "841a29021c0cb0b2431db67bb7df9c0d40fdf29cb4a1a3947637664c354118ba"
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-134-generic
The OCaml toplevel, version 4.08.1
2.4.1
2025-09-19 03:32.30 ---> saved as "d14cf0dfdde2f370395de335172c0ece77c3abd5f3f345be62462de079ddf56e"
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-09-19 03:32.30 ---> saved as "d62d4feecdbb5f1ec79c3897ea00eed3e99d38491f7c23375a96056b1bdbd6db"
/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"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
bcac5d1731..a8e705e921 master -> origin/master
6d1113800d Merge pull request #28482 from raphael-proust/incompatibilities-lwt6alpha01
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[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