2025-05-22 12:49.31: New job: test ahrefs/devkit https://github.com/ahrefs/devkit.git#refs/heads/master (e5a977b3400acb9a0eb3bdd5da2150a3d0f0df2e) (linux-x86_64:alpine-3.21-5.3_opam-2.3)
Base: ocaml/opam:alpine-3.21-ocaml-5.3@sha256:5957ac9a5e2e15455a45c19299b956410a2cb1aa7a7c57821dc4032ffd942571
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/ahrefs/devkit.git" -b "master" && cd "devkit" && git reset --hard e5a977b3
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:alpine-3.21-ocaml-5.3@sha256:5957ac9a5e2e15455a45c19299b956410a2cb1aa7a7c57821dc4032ffd942571
# alpine-3.21-5.3_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.3 /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 e88dced737878c31dbeec946a11652b94520c76e || git fetch origin master) && git reset -q --hard e88dced737878c31dbeec946a11652b94520c76e && 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-libpcre.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.18.2 dune-configurator.3.18.2 extlib.1.8.0 extunix.0.4.3 libevent.0.9.0 lwt.5.9.1 lwt_ppx.5.9.1 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 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 pcre.8.0.3 ppx_derivers.1.2.1 ppxlib.0.35.0 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 trace.0.9.1 yojson.2.2.2"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --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-05-22 12:49.31: Using cache hint "ahrefs/devkit-ocaml/opam:alpine-3.21-ocaml-5.3@sha256:5957ac9a5e2e15455a45c19299b956410a2cb1aa7a7c57821dc4032ffd942571-alpine-3.21-5.3_opam-2.3-a314bae406a6e64fdc0423bfdf0801ed"
2025-05-22 12:49.31: Using OBuilder spec:
((from ocaml/opam:alpine-3.21-ocaml-5.3@sha256:5957ac9a5e2e15455a45c19299b956410a2cb1aa7a7c57821dc4032ffd942571)
(comment alpine-3.21-5.3_opam-2.3)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/bin/opam-2.3 /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 e88dced737878c31dbeec946a11652b94520c76e || git fetch origin master) && git reset -q --hard e88dced737878c31dbeec946a11652b94520c76e && 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-libpcre.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.18.2 dune-configurator.3.18.2 extlib.1.8.0 extunix.0.4.3 libevent.0.9.0 lwt.5.9.1 lwt_ppx.5.9.1 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 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 pcre.8.0.3 ppx_derivers.1.2.1 ppxlib.0.35.0 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 trace.0.9.1 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.3 --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-05-22 12:49.31: Waiting for resource in pool OCluster
2025-05-22 12:49.31: Waiting for worker…
2025-05-22 12:49.33: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
HEAD is now at e5a977b remove extra sprintf
(from ocaml/opam:alpine-3.21-ocaml-5.3@sha256:5957ac9a5e2e15455a45c19299b956410a2cb1aa7a7c57821dc4032ffd942571)
2025-05-22 12:49.34 ---> using "e49bbe0abcbff463a9108ac76ab9842b22d9952ceb038ff96c3d7ae7970ff962" from cache
/: (comment alpine-3.21-5.3_opam-2.3)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (workdir /src)
/src: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-05-22 12:49.34 ---> using "64b7ced97fd2f4eb6b85dd4ff640c243d5a7cac2c249f19cfd789778c95e1d2f" from cache
/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 development 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-05-22 12:49.34 ---> using "49db337dae0bac71dc6cec7c726897191bef158123b428b74e27d62f0a6b1936" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-134-generic
The OCaml toplevel, version 5.3.0
2.3.0
2025-05-22 12:49.34 ---> using "4c4b8b86a744581f3e1bd14a680e0d8cd636a7b643c1259f9d18c66b9e00b6ed" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-05-22 12:49.34 ---> using "1d5c84a51aeb1e666c1d485b5bc48d792b94b09ea837c8e61ecb04ba67b721db" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e e88dced737878c31dbeec946a11652b94520c76e || git fetch origin master) && git reset -q --hard e88dced737878c31dbeec946a11652b94520c76e && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
35eb2f107a..e88dced737 master -> origin/master
e88dced737 Merge pull request #27913 from punchagan/add-mingw-shims-dep
<><> 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, 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-05-22 12:50.02 ---> saved as "495e6694a9b2c38125d4013b34b253726383390bfdc22f7b8a57dfc22356b2ed"
/src: (copy (src devkit.opam) (dst ./))
2025-05-22 12:50.02 ---> saved as "5e52a8c12e0c872956ad4e50a2930938a402d07b853b210b7c82ba257a202c1f"
/src: (run (network host)
(shell "opam pin add -yn devkit.dev './'"))
[devkit.dev] synchronised (file:///src)
devkit is now pinned to file:///src (version dev)
2025-05-22 12:50.04 ---> saved as "4c2122cf252482e1c3cdbfc785e20eb7cae5c70777ae5a7fba7d05e6fc40daaf"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-05-22 12:50.04 ---> saved as "d021a88cc9c0b131a4ae0875c7ca38375ff9f27e8df8081cc4d862e780d04fd0"
/src: (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-libpcre.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.18.2 dune-configurator.3.18.2 extlib.1.8.0 extunix.0.4.3 libevent.0.9.0 lwt.5.9.1 lwt_ppx.5.9.1 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 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 pcre.8.0.3 ppx_derivers.1.2.1 ppxlib.0.35.0 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 trace.0.9.1 yojson.2.2.2")
/src: (env CI true)
/src: (env OCAMLCI true)
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam update --depexts && opam install --cli=2.3 --depext-only -y devkit.dev $DEPS"))
+ /usr/bin/sudo "apk" "update"
- fetch https://dl-cdn.alpinelinux.org/alpine/v3.21/main/x86_64/APKINDEX.tar.gz
- WARNING: updating https://dl-cdn.alpinelinux.org/alpine/v3.21/main: temporary error (try again later)
- fetch https://dl-cdn.alpinelinux.org/alpine/v3.21/community/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
- v3.21.3-426-g4551b62e81e [https://dl-cdn.alpinelinux.org/alpine/v3.21/main]
- v3.21.3-510-g4f507628865 [https://dl-cdn.alpinelinux.org/alpine/v3.21/community]
- v20250108-8708-gb8ca1510561 [https://dl-cdn.alpinelinux.org/alpine/edge/main]
- v20250108-8712-g2463e2a3eb1 [https://dl-cdn.alpinelinux.org/alpine/edge/community]
- v20250108-8700-g99b5722baf9 [https://dl-cdn.alpinelinux.org/alpine/edge/testing]
- 0 unavailable, 1 stale; 58257 distinct packages available
Fatal error: System package update failed with exit code 1 at command:
sudo apk update
"/usr/bin/env" "bash" "-c" "opam update --depexts && opam install --cli=2.3 --depext-only -y devkit.dev $DEPS" failed with exit status 99
2025-05-22 12:50.13: Job failed: Failed: Build failed