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

alpine-3.23-4.14_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-4.14_opam-2.5)
Base: ocaml/opam:alpine-3.23-ocaml-4.14@sha256:e6d488fded0eb95c5f2ff49163d2fc1dc2ab9519311b8ec28ef97d1d3e026387
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-4.14@sha256:e6d488fded0eb95c5f2ff49163d2fc1dc2ab9519311b8ec28ef97d1d3e026387
# alpine-3.23-4.14_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-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.4.14.3 ocaml-base-compiler.4.14.3 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 ocurl.transition ounit2.2.2.7 parsexp.v0.16.0 pcre2.8.0.4 ppx_derivers.1.2.1 ppxlib.0.38.0 seq.base sexplib.v0.16.0 sexplib0.v0.16.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-4.14@sha256:e6d488fded0eb95c5f2ff49163d2fc1dc2ab9519311b8ec28ef97d1d3e026387-alpine-3.23-4.14_opam-2.5-cffb417f03c3a9e510c0a614e110ac70"
2026-06-04 00:46.05: Using OBuilder spec:
((from ocaml/opam:alpine-3.23-ocaml-4.14@sha256:e6d488fded0eb95c5f2ff49163d2fc1dc2ab9519311b8ec28ef97d1d3e026387)
(comment alpine-3.23-4.14_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-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.4.14.3 ocaml-base-compiler.4.14.3 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 ocurl.transition ounit2.2.2.7 parsexp.v0.16.0 pcre2.8.0.4 ppx_derivers.1.2.1 ppxlib.0.38.0 seq.base sexplib.v0.16.0 sexplib0.v0.16.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.41: 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-4.14@sha256:e6d488fded0eb95c5f2ff49163d2fc1dc2ab9519311b8ec28ef97d1d3e026387)
2026-06-04 02:40.42 ---> using "645db74cf2f6617db2ad81b0e818e4f1f9c438bf86fc197e2b1f68b1d3dfdf29" from cache


/: (comment alpine-3.23-4.14_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.42 ---> using "cf8a7eb63fdaa4274d5ee8634b4a7b94f9670fcdafb4f064aa00246fcc10cd06" 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.42 ---> using "090f33e049655c45e34c97c9358251cafb7de9b914df1f5754ba1b7558533ceb" 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 ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ERROR] Could not update repository "ocaml-patches-overlay": "/usr/bin/git fetch -q" exited with code 128 "fatal: unable to access 'https://github.com/ocurrent/opam-repository/': Could not resolve host: github.com (Could not contact DNS servers)"
[default] synchronised from git+file:///home/opam/opam-repository
2026-06-04 02:40.42 ---> using "bd0b87af8f860f447495d7eccc7704858b2527a69efe0c53aae4a3146bb59963" from cache


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


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2026-06-04 02:40.42 ---> using "80deb1405f151d1524241c63a639e4f812e66f3459828582ebd275756d5bc63a" from cache


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


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[ocaml-patches-overlay] no changes from git+https://github.com/ocurrent/opam-repository#patches
[default] no changes from git+file:///home/opam/opam-repository


Everything as up-to-date as possible (run with --verbose to show unavailable upgrades).


The following packages are not being upgraded because the new versions conflict with other installed packages:
- ocaml.5.5.0
- ocaml-config.3
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.42 ---> using "f9280e06383bb6963ddf14c8ffd51603602934cda48386b294d0fcaf08010b97" from cache


/src: (copy (src devkit.opam) (dst ./))
2026-06-04 02:40.43 ---> saved as "3413ce5025a6da86587cabe86eeea7d285df5b0bb6d8df4b39d5bb2321a4e761"


/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.47 ---> saved as "60599c683d1b9d5e0f022a2379f7fc226854effc68b09597ad0a398ce034bf46"


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


/src: (env DEPS "astring.0.8.5 base-bigarray.base base-bytes.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.4.14.3 ocaml-base-compiler.4.14.3 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 ocurl.transition ounit2.2.2.7 parsexp.v0.16.0 pcre2.8.0.4 ppx_derivers.1.2.1 ppxlib.0.38.0 seq.base sexplib.v0.16.0 sexplib0.v0.16.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-153-gf5d7e339f98 [https://dl-cdn.alpinelinux.org/alpine/v3.23/main]
- v3.23.4-153-gf5d7e339f98 [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.08: Job failed: Failed: Build failed