Organisationsahrefsdevkit6a546d (sc/structured-logging)alpine-3.23-5.4_opam-2.5

alpine-3.23-5.4_opam-2.5

Link Copied
Code Copied

Logs

2026-06-04 00:46.05: New job: test ahrefs/devkit https://github.com/ahrefs/devkit.git#refs/heads/sc/structured-logging (6a546df3604927259bb8d8c82d41fa111da57d2e) (linux-x86_64:alpine-3.23-5.4_opam-2.5)
Base: ocaml/opam:alpine-3.23-ocaml-5.4@sha256:028af757d3b496dd68a0fcf388f881a2a87f49999ddaa27ebf936d83ba718073
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/ahrefs/devkit.git" -b "sc/structured-logging" && cd "devkit" && git reset --hard 6a546df3
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:alpine-3.23-ocaml-5.4@sha256:028af757d3b496dd68a0fcf388f881a2a87f49999ddaa27ebf936d83ba718073
# alpine-3.23-5.4_opam-2.5
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.5 /usr/bin/opam
RUN cd ~/opam-repository && (git cat-file -e a28353a4e21fc21cac49f64f1d99064fc11ce3f9 || git fetch origin master) && git reset -q --hard a28353a4e21fc21cac49f64f1d99064fc11ce3f9 && git log --no-decorate -n1 --oneline
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
WORKDIR /src
RUN sudo chown opam /src
RUN 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="astring.0.8.5 base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base camlzip.1.14 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 cstruct.6.2.0 curl.0.10.0 curl_lwt.0.10.0 dune.3.23.1 dune-compiledb.0.6.0 dune-configurator.3.23.1 extlib.1.8.0 extunix.0.4.4 ezjsonm.1.3.0 fmt.0.11.0 fpath.0.7.3 hex.1.5.0 jsonm.1.0.2 libevent.0.9.0 lwt.6.1.2 lwt_ppx.6.1.0 num.1.6 ocaml.5.4.1 ocaml-base-compiler.5.4.1 ocaml-compiler.5.4.1 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 ocurl.transition ounit2.2.2.7 parsexp.v0.17.0 pcre2.8.0.4 ppx_derivers.1.2.1 ppxlib.0.38.0 seq.base sexplib.v0.17.0 sexplib0.v0.17.0 stdlib-shims.0.3.0 topkg.1.1.1 trace.0.12 uutf.1.0.4 yojson.3.0.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.5 --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


2026-06-04 00:46.05: Using cache hint "ahrefs/devkit-ocaml/opam:alpine-3.23-ocaml-5.4@sha256:028af757d3b496dd68a0fcf388f881a2a87f49999ddaa27ebf936d83ba718073-alpine-3.23-5.4_opam-2.5-b191bc1fda2ac8989c575bb89d2963b6"
2026-06-04 00:46.05: Using OBuilder spec:
((from ocaml/opam:alpine-3.23-ocaml-5.4@sha256:028af757d3b496dd68a0fcf388f881a2a87f49999ddaa27ebf936d83ba718073)
(comment alpine-3.23-5.4_opam-2.5)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/bin/opam-2.5 /usr/bin/opam"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e a28353a4e21fc21cac49f64f1d99064fc11ce3f9 || git fetch origin master) && git reset -q --hard a28353a4e21fc21cac49f64f1d99064fc11ce3f9 && git log --no-decorate -n1 --oneline"))
(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 "opam update -u"))
(copy (src devkit.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn devkit.dev './'"))
(run (shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "astring.0.8.5 base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base camlzip.1.14 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 cstruct.6.2.0 curl.0.10.0 curl_lwt.0.10.0 dune.3.23.1 dune-compiledb.0.6.0 dune-configurator.3.23.1 extlib.1.8.0 extunix.0.4.4 ezjsonm.1.3.0 fmt.0.11.0 fpath.0.7.3 hex.1.5.0 jsonm.1.0.2 libevent.0.9.0 lwt.6.1.2 lwt_ppx.6.1.0 num.1.6 ocaml.5.4.1 ocaml-base-compiler.5.4.1 ocaml-compiler.5.4.1 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 ocurl.transition ounit2.2.2.7 parsexp.v0.17.0 pcre2.8.0.4 ppx_derivers.1.2.1 ppxlib.0.38.0 seq.base sexplib.v0.17.0 sexplib0.v0.17.0 stdlib-shims.0.3.0 topkg.1.1.1 trace.0.12 uutf.1.0.4 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.5 --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"))
)


2026-06-04 00:46.05: Waiting for resource in pool OCluster
2026-06-04 02:30.14: Waiting for worker…
2026-06-04 02:40.40: Got resource from pool OCluster
Building on clete.caelum.ci.dev
All commits already cached
HEAD is now at 6a546df simplify logger to just have one function


(from ocaml/opam:alpine-3.23-ocaml-5.4@sha256:028af757d3b496dd68a0fcf388f881a2a87f49999ddaa27ebf936d83ba718073)
2026-06-04 02:40.41 ---> using "81271f136a5c405ab344f21038f3fe129030b1e91d3407a93a063db52e4a8f3d" from cache


/: (comment alpine-3.23-5.4_opam-2.5)


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


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (workdir /src)


/src: (run (shell "sudo ln -f /usr/bin/opam-2.5 /usr/bin/opam"))
2026-06-04 02:40.41 ---> using "6176ab3c1596fbc0dee7463fd2836ffd2f58884dcc6e1ac71012c114e0dba47c" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e a28353a4e21fc21cac49f64f1d99064fc11ce3f9 || git fetch origin master) && git reset -q --hard a28353a4e21fc21cac49f64f1d99064fc11ce3f9 && git log --no-decorate -n1 --oneline"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
d6a960ed95..5e37987930  master     -> origin/master
a28353a4e2 Merge pull request #29987 from ocaml/revert-29976-simpler-pkgconf
2026-06-04 02:40.41 ---> using "fa52bd00b7ba2a8c60d02916bc7eed177b2f0e28b64bb6f1bfce71a2314b9ed8" 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 version of opam requires an update to the layout of /home/opam/.opam from version 2.1 to version 2.2, which can't be reverted.
You may want to back it up before going further.


Continue? [Y/n] y
[NOTE] The 'jobs' option was reset, its value was 1 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
opam option jobs=1 --global
Format upgrade done.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+file:///home/opam/opam-repository
2026-06-04 02:40.41 ---> using "a6fc27d8f5407da5c4c254584e4f4201126af2ad194a07a4d891a8ccd9d5eba3" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-111-generic
The OCaml toplevel, version 5.4.1
2.5.1
2026-06-04 02:40.41 ---> using "3323b2965adf175d33a05a57a1c52127d9059cd298f2b448b29eb5a1ffc54c35" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2026-06-04 02:40.41 ---> using "303dd7386b57d759a0076b9868aa7d880e70d134cd1b77315ea7928e05a51605" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam update -u"))


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] no changes from git+file:///home/opam/opam-repository


Everything as up-to-date as possible


The following packages are not being upgraded because the new versions conflict with other installed packages:
- ocaml.5.5.0
- ocaml-compiler.5.4.1+lrgrep
-- ocaml-base-compiler.5.4.1 is installed and requires ocaml-compiler = 5.4.1
However, you may "opam upgrade" these packages explicitly at these versions (e.g. "opam upgrade ocaml.5.5.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)
2026-06-04 02:40.41 ---> using "1246869a876c5f0616641e5a94b6b6aee4af921dfbfef94a75a229f0d032c570" from cache


/src: (copy (src devkit.opam) (dst ./))
2026-06-04 02:40.42 ---> saved as "0dca3572820e494848656b3a30e82a40cffb3deca58c80c18f1eacd87ca27353"


/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)
2026-06-04 02:40.45 ---> saved as "692d8e2d617f33e0f48d6bd32a3cfc23ef5fc4ad76d977b8bade7432ac59b173"


/src: (run (shell "echo '(lang dune 3.0)' > './dune-project'"))
2026-06-04 02:40.46 ---> saved as "1eed8e537247343b44829e1ec266f17fcb343bb7f74dbff679c3fc1acfc97905"


/src: (env DEPS "astring.0.8.5 base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base camlzip.1.14 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 cstruct.6.2.0 curl.0.10.0 curl_lwt.0.10.0 dune.3.23.1 dune-compiledb.0.6.0 dune-configurator.3.23.1 extlib.1.8.0 extunix.0.4.4 ezjsonm.1.3.0 fmt.0.11.0 fpath.0.7.3 hex.1.5.0 jsonm.1.0.2 libevent.0.9.0 lwt.6.1.2 lwt_ppx.6.1.0 num.1.6 ocaml.5.4.1 ocaml-base-compiler.5.4.1 ocaml-compiler.5.4.1 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 ocurl.transition ounit2.2.2.7 parsexp.v0.17.0 pcre2.8.0.4 ppx_derivers.1.2.1 ppxlib.0.38.0 seq.base sexplib.v0.17.0 sexplib0.v0.17.0 stdlib-shims.0.3.0 topkg.1.1.1 trace.0.12 uutf.1.0.4 yojson.3.0.0")


/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.5 --depext-only -y devkit.dev $DEPS"))
+ /usr/bin/sudo "apk" "update"
- WARNING: updating https://dl-cdn.alpinelinux.org/alpine/v3.23/main/x86_64/APKINDEX.tar.gz: DNS: transient error (try again later)
- WARNING: updating https://dl-cdn.alpinelinux.org/alpine/v3.23/community/x86_64/APKINDEX.tar.gz: DNS: transient error (try again later)
- v3.23.4-318-g6bc1e744a1d [https://dl-cdn.alpinelinux.org/alpine/v3.23/main]
- v3.23.4-318-g6bc1e744a1d [https://dl-cdn.alpinelinux.org/alpine/v3.23/community]
- v20260127-10802-g6f27b0b36ae [https://dl-cdn.alpinelinux.org/alpine/edge/main]
- v20260127-10830-gbc950836944 [https://dl-cdn.alpinelinux.org/alpine/edge/community]
- v20260127-10830-gbc950836944 [https://dl-cdn.alpinelinux.org/alpine/edge/testing]
- 0 unavailable, 2 stale; 62388 distinct packages available
Fatal error: System package update failed with exit code 2 at command:
sudo apk update
"/usr/bin/env" "bash" "-c" "opam update --depexts && opam install --cli=2.5 --depext-only -y devkit.dev $DEPS" failed with exit status 99
2026-06-04 02:41.06: Job failed: Failed: Build failed