Organisationsahrefsdevkitff6002 (master)alpine-3.22-5.3_opam-2.4

alpine-3.22-5.3_opam-2.4

Link Copied
Code Copied

Logs

2025-09-19 03:32.49: New job: test ahrefs/devkit https://github.com/ahrefs/devkit.git#refs/heads/master (ff6002d9f46a1d8956ec4da4965240e507afeb13) (linux-x86_64:alpine-3.22-5.3_opam-2.4)
Base: ocaml/opam:alpine-3.22-ocaml-5.3@sha256:f501424e898b9ffd369a23e97280207e9a7234cff46e3a314f30c7826d92accb
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/ahrefs/devkit.git" -b "master" && cd "devkit" && git reset --hard ff6002d9
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:alpine-3.22-ocaml-5.3@sha256:f501424e898b9ffd369a23e97280207e9a7234cff46e3a314f30c7826d92accb
# alpine-3.22-5.3_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.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 pcre2.8.0.3 ppx_derivers.1.2.1 ppxlib.0.36.0 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:32.49: Using cache hint "ahrefs/devkit-ocaml/opam:alpine-3.22-ocaml-5.3@sha256:f501424e898b9ffd369a23e97280207e9a7234cff46e3a314f30c7826d92accb-alpine-3.22-5.3_opam-2.4-de89b97855d0e369cc2e8e5293e7cc68"
2025-09-19 03:32.49: Using OBuilder spec:
((from ocaml/opam:alpine-3.22-ocaml-5.3@sha256:f501424e898b9ffd369a23e97280207e9a7234cff46e3a314f30c7826d92accb)
(comment alpine-3.22-5.3_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.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 pcre2.8.0.3 ppx_derivers.1.2.1 ppxlib.0.36.0 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:32.49: Waiting for resource in pool OCluster
2025-09-19 03:32.49: Waiting for worker…
2025-09-19 03:32.50: Got resource from pool OCluster
Building on odawa.caelum.ci.dev
All commits already cached
HEAD is now at ff6002d Prelude: + Fresh.map{,2}


(from ocaml/opam:alpine-3.22-ocaml-5.3@sha256:f501424e898b9ffd369a23e97280207e9a7234cff46e3a314f30c7826d92accb)
2025-09-19 03:32.51 ---> using "8f6725b8b163d90d30de9c8c5e177342b07667db3354753a70bac272bfe2db9a" from cache


/: (comment alpine-3.22-5.3_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.51 ---> using "60019b56f0ac74bc487e6a10b94f217078fa011d487a7997fa89d230b8fe3f32" 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.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.51 ---> using "c7cb638e7bebf3467944086dced2eb9f0c9b58d22b77655b91aec66202bcf666" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-60-generic
The OCaml toplevel, version 5.3.0
2.4.1
2025-09-19 03:32.51 ---> using "5af03bae8557c8c98fd3e2ecd3885ecd1490b81dcd2aa79041a221f15d3c966b" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-09-19 03:32.51 ---> using "5bd0e598f405f99fe9f4df6e79f9f9a0efe772994aa367852a5bf2612bd3eb66" from cache


/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 ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+file:///home/opam/opam-repository


Already up-to-date.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2025-09-19 03:33.09 ---> saved as "fb93bdd5898e6e14028909db279c073f6d89f2d9a1d4b0c91000e67fc13a937a"


/src: (copy (src devkit.opam) (dst ./))
2025-09-19 03:33.10 ---> saved as "35fef337b713a4559340ff8fa37f57fa2167877195b1f7c2eba34ea04b386a9f"


/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-09-19 03:33.11 ---> saved as "f853af4656d413174d91ed81e6c5356eb91d8d561e60cf21a66eb278288a30bc"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-09-19 03:33.11 ---> saved as "a380c246e238e04762eac5cd566a613607a78fb3280c7a84a5a406df97be84f2"


/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-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.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 pcre2.8.0.3 ppx_derivers.1.2.1 ppxlib.0.36.0 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 trace.0.10 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.4 --depext-only -y devkit.dev $DEPS"))
+ /usr/bin/sudo "apk" "update"
- fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/main/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/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.22.1-443-g57464d9db5a [https://dl-cdn.alpinelinux.org/alpine/v3.22/main]
- v3.22.1-444-ge9d929da4c9 [https://dl-cdn.alpinelinux.org/alpine/v3.22/community]
- v3.23.0_alpha20250612-6565-gb3e7f809edc [https://dl-cdn.alpinelinux.org/alpine/edge/main]
- v3.23.0_alpha20250612-6568-gd961808054f [https://dl-cdn.alpinelinux.org/alpine/edge/community]
- v3.23.0_alpha20250612-6573-g5414fccedbd [https://dl-cdn.alpinelinux.org/alpine/edge/testing]
- OK: 59151 distinct packages available


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[devkit.dev] synchronised (file:///src)


[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.0).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-nnp is already installed (current version is base).
[NOTE] Package base-effects is already installed (current version is base).
[NOTE] Package base-domains is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).


The following system packages will first need to be installed:
curl-dev libevent-dev pcre2-dev zlib-dev


<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>


+ /usr/bin/sudo "apk" "add" "curl-dev" "libevent-dev" "pcre2-dev" "zlib-dev"
- (1/19) Installing brotli (1.1.0-r2)
- (2/19) Installing brotli-dev (1.1.0-r2)
- (3/19) Installing c-ares-dev (1.34.5-r0)
- (4/19) Installing libidn2-dev (2.3.7-r0)
- (5/19) Installing libpsl-utils (0.21.5-r3)
- (6/19) Installing libpsl-dev (0.21.5-r3)
- (7/19) Installing nghttp2-dev (1.65.0-r0)
- (8/19) Installing openssl-dev (3.5.2-r0)
- (9/19) Installing zlib-dev (1.3.1-r2)
- (10/19) Installing zstd-dev (1.5.7-r0)
- (11/19) Installing curl-dev (8.14.1-r1)
- (12/19) Installing libevent (2.1.12-r8)
- (13/19) Installing libevent-dev (2.1.12-r8)
- (14/19) Installing bsd-compat-headers (0.7.2-r6)
- (15/19) Installing libedit (20250104.3.1-r1)
- (16/19) Installing libedit-dev (20250104.3.1-r1)
- (17/19) Installing libpcre2-16 (10.43-r1)
- (18/19) Installing libpcre2-32 (10.43-r1)
- (19/19) Installing pcre2-dev (10.43-r1)
- Executing busybox-1.37.0-r19.trigger
- OK: 315 MiB in 122 packages
2025-09-19 03:33.21 ---> saved as "c1f66ec68317495010ddc4425618b8c349458c4c72cbec6439b58845fea6815f"


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.0).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-nnp is already installed (current version is base).
[NOTE] Package base-effects is already installed (current version is base).
[NOTE] Package base-domains is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
The following actions will be performed:
=== install 31 packages
- install base-bytes          base
- install camlzip             1.13
- install conf-libcurl        2
- install conf-libevent       1
- install conf-libpcre2-8     2
- install conf-pkg-config     4
- install conf-zlib           1
- install cppo                1.8.0
- install csexp               1.5.2
- install curl                0.10.0
- install curl_lwt            0.10.0
- install dune                3.20.2
- install dune-configurator   3.20.2
- install extlib              1.8.0
- install extunix             0.4.4
- install libevent            0.9.0
- install lwt                 5.9.2
- install lwt_ppx             5.9.2
- install ocaml-compiler-libs v0.17.0
- install ocamlfind           1.9.8
- install ocplib-endian       1.2
- install ocurl               transition (deprecated)
- install ounit2              2.2.7
- install pcre2               8.0.3
- install ppx_derivers        1.2.1
- install ppxlib              0.36.0
- install seq                 base
- install sexplib0            v0.17.0
- install stdlib-shims        0.3.0
- install trace               0.10
- install yojson              3.0.0


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved camlzip.1.13  (cached)
-> retrieved cppo.1.8.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> installed conf-libcurl.2
-> installed conf-pkg-config.4
-> retrieved curl.0.10.0, curl_lwt.0.10.0, ocurl.transition  (cached)
-> retrieved extlib.1.8.0  (cached)
-> installed conf-libevent.1
-> installed conf-libpcre2-8.2
-> installed conf-zlib.1
-> retrieved extunix.0.4.4  (cached)
-> retrieved libevent.0.9.0  (cached)
-> retrieved ocaml-compiler-libs.v0.17.0  (cached)
-> retrieved lwt.5.9.2, lwt_ppx.5.9.2  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved ounit2.2.2.7  (cached)
-> retrieved pcre2.8.0.3  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved sexplib0.v0.17.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved trace.0.10  (cached)
-> retrieved yojson.3.0.0  (cached)
-> retrieved ppxlib.0.36.0  (cached)
-> retrieved dune.3.20.2, dune-configurator.3.20.2  (cached)
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed libevent.0.9.0
-> installed camlzip.1.13
-> installed dune.3.20.2
-> installed ppx_derivers.1.2.1
-> installed csexp.1.5.2
-> installed cppo.1.8.0
-> installed ocaml-compiler-libs.v0.17.0
-> installed sexplib0.v0.17.0
-> installed stdlib-shims.0.3.0
-> installed yojson.3.0.0
-> installed trace.0.10
-> installed ocplib-endian.1.2
-> installed extlib.1.8.0
-> installed ounit2.2.2.7
-> installed dune-configurator.3.20.2
-> installed pcre2.8.0.3
-> installed lwt.5.9.2
-> installed curl.0.10.0
-> installed curl_lwt.0.10.0
-> installed ocurl.transition
-> installed ppxlib.0.36.0
-> installed lwt_ppx.5.9.2
-> installed extunix.0.4.4
Done.


<><> ocurl.transition installed successfully ><><><><><><><><><><><><><><><><><>
=> Note: This package is deprecated.
=> ocurl has been renamed and the ocurl package is now a transition package. Use the curl package instead.
# To update the current shell environment, run: eval $(opam env)
2025-09-19 03:34.08 ---> saved as "2b2d235509068c39811c42de1b6c4343acb61db04b31d58d8a2afecff28a25f6"


/src: (copy (src .) (dst /src))
2025-09-19 03:34.08 ---> saved as "deea2074fecc48535e9c0c52e42383b4b62579f2c94705017b056a223969fca3"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default && /home/opam/.opam/5.3/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -bin-annot -bin-annot-occurrences -I .devkit_core.objs/byte -I /home/opam/.opam/5.3/lib/curl -I /home/opam/.opam/5.3/lib/curl_lwt -I /home/opam/.opam/5.3/lib/extlib -I /home/opam/.opam/5.3/lib/extunix -I /home/opam/.opam/5.3/lib/libevent -I /home/opam/.opam/5.3/lib/lwt -I /home/opam/.opam/5.3/lib/lwt/unix -I /home/opam/.opam/5.3/lib/ocaml/str -I /home/opam/.opam/5.3/lib/ocaml/threads -I /home/opam/.opam/5.3/lib/ocaml/unix -I /home/opam/.opam/5.3/lib/pcre2 -I /home/opam/.opam/5.3/lib/stdlib-shims -I /home/opam/.opam/5.3/lib/trace/core -I /home/opam/.opam/5.3/lib/yojson -I /home/opam/.opam/5.3/lib/zip -I ocamlnet_lite/.ocamlnet_lite.objs/byte -cmi-file .devkit_core.objs/byte/devkit_core__Possibly_otel.cmi -no-alias-deps -opaque -open Devkit_core -o .devkit_core.objs/byte/devkit_core__Possibly_otel.cmo -c -impl possibly_otel.ml)
File "possibly_otel.stub.ml", line 9, characters 2-39:
Error (alert deprecated): Trace_core.enter_manual_toplevel_span
use enter_manual_span
(cd _build/default && /home/opam/.opam/5.3/bin/ocamlopt.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -I .devkit_core.objs/byte -I .devkit_core.objs/native -I /home/opam/.opam/5.3/lib/curl -I /home/opam/.opam/5.3/lib/curl_lwt -I /home/opam/.opam/5.3/lib/extlib -I /home/opam/.opam/5.3/lib/extunix -I /home/opam/.opam/5.3/lib/libevent -I /home/opam/.opam/5.3/lib/lwt -I /home/opam/.opam/5.3/lib/lwt/unix -I /home/opam/.opam/5.3/lib/ocaml/str -I /home/opam/.opam/5.3/lib/ocaml/threads -I /home/opam/.opam/5.3/lib/ocaml/unix -I /home/opam/.opam/5.3/lib/pcre2 -I /home/opam/.opam/5.3/lib/stdlib-shims -I /home/opam/.opam/5.3/lib/trace/core -I /home/opam/.opam/5.3/lib/yojson -I /home/opam/.opam/5.3/lib/zip -I ocamlnet_lite/.ocamlnet_lite.objs/byte -I ocamlnet_lite/.ocamlnet_lite.objs/native -cmi-file .devkit_core.objs/byte/devkit_core__Possibly_otel.cmi -no-alias-deps -opaque -open Devkit_core -o .devkit_core.objs/native/devkit_core__Possibly_otel.cmx -c -impl possibly_otel.ml)
File "possibly_otel.stub.ml", line 9, characters 2-39:
Error (alert deprecated): Trace_core.enter_manual_toplevel_span
use enter_manual_span
"/usr/bin/env" "bash" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2025-09-19 03:34.10: Job failed: Failed: Build failed