Organisationsahrefsdevkit7149a0 (time-years)alpine-3.21-5.3_opam-2.3

alpine-3.21-5.3_opam-2.3

Link Copied
Code Copied

Logs

2025-06-12 14:18.08: New job: test ahrefs/devkit https://github.com/ahrefs/devkit.git#refs/heads/time-years (7149a0cdf815384da13e9cd4d1f3c22cc29ff52f) (linux-x86_64:alpine-3.21-5.3_opam-2.3)
Base: ocaml/opam:alpine-3.21-ocaml-5.3@sha256:3343dcc8eef8cc135210194424c75ebe26927358b1a48d0c3c0860cfe43df613
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/ahrefs/devkit.git" -b "time-years" && cd "devkit" && git reset --hard 7149a0cd
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:alpine-3.21-ocaml-5.3@sha256:3343dcc8eef8cc135210194424c75ebe26927358b1a48d0c3c0860cfe43df613
# 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 a28eb8a148feb4fbc6466fa0791668993513dbde || git fetch origin master) && git reset -q --hard a28eb8a148feb4fbc6466fa0791668993513dbde && 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.19.1 dune-configurator.3.19.1 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.10 yojson.3.0.0"
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-06-12 14:18.08: Using cache hint "ahrefs/devkit-ocaml/opam:alpine-3.21-ocaml-5.3@sha256:3343dcc8eef8cc135210194424c75ebe26927358b1a48d0c3c0860cfe43df613-alpine-3.21-5.3_opam-2.3-050ab060615cf6a4f04c408263155947"
2025-06-12 14:18.08: Using OBuilder spec:
((from ocaml/opam:alpine-3.21-ocaml-5.3@sha256:3343dcc8eef8cc135210194424c75ebe26927358b1a48d0c3c0860cfe43df613)
(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 a28eb8a148feb4fbc6466fa0791668993513dbde || git fetch origin master) && git reset -q --hard a28eb8a148feb4fbc6466fa0791668993513dbde && 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.19.1 dune-configurator.3.19.1 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.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.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-06-12 14:18.08: Waiting for resource in pool OCluster
2025-06-12 17:47.50: Waiting for worker…
2025-06-12 17:50.05: Got resource from pool OCluster
Building on toxis.caelum.ci.dev
All commits already cached
HEAD is now at 7149a0c time: add years, to_years and round_years


(from ocaml/opam:alpine-3.21-ocaml-5.3@sha256:3343dcc8eef8cc135210194424c75ebe26927358b1a48d0c3c0860cfe43df613)
2025-06-12 17:50.06 ---> using "3141b9cf5ba038771635d2742247938bc41e269100016f85aeafaf7cfcddc947" 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-06-12 17:50.06 ---> using "80b751ed47c43451e88cd0293ed9a635ccea08011eeda4114e7ec036c06c48a3" 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
[NOTE] The 'jobs' option was reset, its value was 255 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=255 --global
Format upgrade done.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-06-12 17:50.06 ---> using "6c30ca4e379a499434293ac7ae4ccb6757139c93d8bc5916b7557572123e5ba0" 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-06-12 17:50.06 ---> using "a3df42546ff5706a2753d5e221aadf5e7ea87ec715342ceb488042e5402600c3" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-06-12 17:50.06 ---> using "17ab95ba4820eaae0552c498f14e3328c5320ed844b460f0519c8783adab646a" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e a28eb8a148feb4fbc6466fa0791668993513dbde || git fetch origin master) && git reset -q --hard a28eb8a148feb4fbc6466fa0791668993513dbde && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
bc726805e3..a28eb8a148  master     -> origin/master
a28eb8a148 Merge pull request #28017 from maiste/release-dune-3.19.1


<><> 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-06-12 17:50.06 ---> using "2f588d97adf599c68da8b5e4e08a15a5bc0bea13c16baed8e756f89965931856" from cache


/src: (copy (src devkit.opam) (dst ./))
2025-06-12 17:50.07 ---> saved as "ea063d5df23744971351a1eda2bfebf58c80bae5e20236220086e2d41623ec52"


/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-06-12 17:50.13 ---> saved as "e332a7be37299e0a6fd574b65634538f848af90b3a2b3a3db64f30eaf515cd82"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-06-12 17:50.13 ---> saved as "36a2adb10e87c84b2c8e6afafe88f54ef26af790cf4f886bf631bc6600f576bc"


/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.19.1 dune-configurator.3.19.1 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.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.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
- 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-603-g364e1f9788f [https://dl-cdn.alpinelinux.org/alpine/v3.21/main]
- v3.21.3-602-gf01bbdd96f0 [https://dl-cdn.alpinelinux.org/alpine/v3.21/community]
- v3.23.0_alpha20250612-31-g27f3e5633d0 [https://dl-cdn.alpinelinux.org/alpine/edge/main]
- v3.23.0_alpha20250612-4-g040ffd45b32 [https://dl-cdn.alpinelinux.org/alpine/edge/community]
- v3.23.0_alpha20250612-4-g040ffd45b32 [https://dl-cdn.alpinelinux.org/alpine/edge/testing]
- OK: 58711 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 pcre-dev zlib-dev


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


+ /usr/bin/sudo "apk" "add" "curl-dev" "libevent-dev" "pcre-dev" "zlib-dev"
- (1/18) Installing brotli (1.1.0-r2)
- ERROR: brotli-1.1.0-r2: temporary error (try again later)
- (2/18) Installing brotli-dev (1.1.0-r2)
- (3/18) Installing c-ares-dev (1.34.5-r0)
- (4/18) Installing libidn2-dev (2.3.7-r0)
- (5/18) Installing libpsl-utils (0.21.5-r3)
- (6/18) Installing libpsl-dev (0.21.5-r3)
- (7/18) Installing nghttp2-dev (1.64.0-r0)
- (8/18) Installing openssl-dev (3.3.3-r0)
- (9/18) Installing zlib-dev (1.3.1-r2)
- (10/18) Installing zstd-dev (1.5.6-r2)
- (11/18) Installing curl-dev (8.12.1-r1)
- (12/18) Installing libevent (2.1.12-r7)
- (13/18) Installing libevent-dev (2.1.12-r7)
- (14/18) Installing libpcre16 (8.45-r3)
- (15/18) Installing libpcre32 (8.45-r3)
- (16/18) Installing pcre (8.45-r3)
- (17/18) Installing libpcrecpp (8.45-r3)
- (18/18) Installing pcre-dev (8.45-r3)
- Executing busybox-1.37.0-r12.trigger
- 1 error; 315 MiB in 119 packages
[ERROR] System package install failed with exit code 1 at command:
sudo apk add curl-dev libevent-dev pcre-dev zlib-dev
2025-06-12 17:50.59 ---> saved as "0d0b794599a5a13213ad64f63019dc339d4d1c425c0b3f90b123c52babdb7344"


/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-libpcre        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.19.1
- install dune-configurator   3.19.1
- install extlib              1.8.0
- install extunix             0.4.3
- install libevent            0.9.0
- install lwt                 5.9.1
- install lwt_ppx             5.9.1
- 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 pcre                8.0.3
- install ppx_derivers        1.2.1
- install ppxlib              0.35.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-libpcre.2
-> installed conf-zlib.1
-> retrieved extunix.0.4.3  (cached)
-> retrieved libevent.0.9.0  (cached)
-> retrieved ocaml-compiler-libs.v0.17.0  (cached)
-> retrieved lwt.5.9.1, lwt_ppx.5.9.1  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved ounit2.2.2.7  (cached)
-> retrieved pcre.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.35.0  (cached)
-> retrieved dune.3.19.1, dune-configurator.3.19.1  (cached)
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed libevent.0.9.0
-> installed camlzip.1.13
-> installed dune.3.19.1
-> installed ppx_derivers.1.2.1
-> installed csexp.1.5.2
-> installed sexplib0.v0.17.0
-> installed stdlib-shims.0.3.0
-> installed trace.0.10
-> installed ocaml-compiler-libs.v0.17.0
-> installed cppo.1.8.0
-> installed yojson.3.0.0
-> installed ounit2.2.2.7
-> installed ocplib-endian.1.2
-> installed extlib.1.8.0
-> installed dune-configurator.3.19.1
-> installed pcre.8.0.3
-> installed curl.0.10.0
-> installed lwt.5.9.1
-> installed curl_lwt.0.10.0
-> installed ocurl.transition
-> installed ppxlib.0.35.0
-> installed lwt_ppx.5.9.1
-> installed extunix.0.4.3
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-06-12 17:53.59 ---> saved as "beacd3951ba402b0965edc990221bd99de3c846d90ce9d3e48a67cc4dfb725e4"


/src: (copy (src .) (dst /src))
2025-06-12 17:54.00 ---> saved as "5c59462e67fdc22334877e4554ef7bfb41230ae4349ac3b3f1441726dc6def84"


/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/pcre -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 -intf-suffix .ml -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/pcre -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 -intf-suffix .ml -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-06-12 17:54.07: Job failed: Failed: Build failed