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-4.14_opam-2.3)
Base: ocaml/opam:alpine-3.21-ocaml-4.14@sha256:2a715c092c4ab201120243e7efc44191d8c5aef3c1bf63ab56cfedfe3a662ad3
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-4.14@sha256:2a715c092c4ab201120243e7efc44191d8c5aef3c1bf63ab56cfedfe3a662ad3
# alpine-3.21-4.14_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-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.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 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-4.14@sha256:2a715c092c4ab201120243e7efc44191d8c5aef3c1bf63ab56cfedfe3a662ad3-alpine-3.21-4.14_opam-2.3-5c8cd07518522e241e07ea19eecad774"
2025-06-12 14:18.08: Using OBuilder spec:
((from ocaml/opam:alpine-3.21-ocaml-4.14@sha256:2a715c092c4ab201120243e7efc44191d8c5aef3c1bf63ab56cfedfe3a662ad3)
(comment alpine-3.21-4.14_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-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.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 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.53: Waiting for worker…
2025-06-12 17:50.05: Got resource from pool OCluster
Building on odawa.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-4.14@sha256:2a715c092c4ab201120243e7efc44191d8c5aef3c1bf63ab56cfedfe3a662ad3)
2025-06-12 17:50.06 ---> using "cae3f84721b1d1626d38afde4577807843a0da8ba3807fc3f5f4606864be9e98" from cache
/: (comment alpine-3.21-4.14_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 "2a1b55d524b2e4107c58bb0f26b0966461f7df889d8d2380d6f73d40780d70fd" 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-06-12 17:50.06 ---> using "ee8cb0dc9d3d805aacaba9dc7c4502800e2864636d991c4f741219dd208e85a6" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-60-generic
The OCaml toplevel, version 4.14.2
2.3.0
2025-06-12 17:50.06 ---> using "13db3bce6da9230f287f61b091a5e2118713d0477a02ba9ea85403d455daf23b" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-06-12 17:50.06 ---> using "12e1496ffec8af3593a23abc2f334891938014651abc1cbaa893a5408d93075d" 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 "43d9fb45af61a94bfd041b0a3b765b2a34b33d725942118f283ffcda07bb3307" from cache
/src: (copy (src devkit.opam) (dst ./))
2025-06-12 17:50.06 ---> saved as "cab26b7e73faabdfacc745488430833aa303b754c3b3cd3a3e994c5579978161"
/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.08 ---> saved as "7ea21ad1b0f59b32c029791a69d6ef027002698b8af47cf7eee9a4e7de9373b5"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-06-12 17:50.08 ---> saved as "a4d18449420e49d8b52f62849bcb32ea848f5bd2b5e4efd2672b9790fb655b0b"
/src: (env DEPS "base-bigarray.base base-bytes.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.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 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 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[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-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/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.64.0-r0)
- (8/19) Installing openssl-dev (3.3.3-r0)
- (9/19) Installing zlib-dev (1.3.1-r2)
- (10/19) Installing zstd (1.5.6-r2)
- (11/19) Installing zstd-dev (1.5.6-r2)
- (12/19) Installing curl-dev (8.12.1-r1)
- (13/19) Installing libevent (2.1.12-r7)
- (14/19) Installing libevent-dev (2.1.12-r7)
- (15/19) Installing libpcre16 (8.45-r3)
- (16/19) Installing libpcre32 (8.45-r3)
- (17/19) Installing pcre (8.45-r3)
- (18/19) Installing libpcrecpp (8.45-r3)
- (19/19) Installing pcre-dev (8.45-r3)
- Executing busybox-1.37.0-r12.trigger
- OK: 315 MiB in 120 packages
2025-06-12 17:50.20 ---> saved as "01771619fc6f87d54f24e73708dbd20e962134ac40698ed3497c4ec566b985cc"
/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 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[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-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.12.4
- 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.12.4 (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 dune.3.19.1, dune-configurator.3.19.1 (cached)
-> retrieved ppxlib.0.35.0 (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 cppo.1.8.0
-> installed ocaml-compiler-libs.v0.12.4
-> 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.19.1
-> installed pcre.8.0.3
-> installed lwt.5.9.1
-> installed curl.0.10.0
-> 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:51.10 ---> saved as "362791d0ce49a3ba9273fb81ce007dfce088102f1ae151dc38b9242a2fc942c4"
/src: (copy (src .) (dst /src))
2025-06-12 17:51.10 ---> saved as "e7e1f274489508489c305622412d4d231d1a3caaa342ae7c9ae89be7b332c596"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default && /home/opam/.opam/4.14/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 -I .devkit_core.objs/byte -I /home/opam/.opam/4.14/lib/curl -I /home/opam/.opam/4.14/lib/curl_lwt -I /home/opam/.opam/4.14/lib/extlib -I /home/opam/.opam/4.14/lib/extunix -I /home/opam/.opam/4.14/lib/libevent -I /home/opam/.opam/4.14/lib/lwt -I /home/opam/.opam/4.14/lib/lwt/unix -I /home/opam/.opam/4.14/lib/ocaml/threads -I /home/opam/.opam/4.14/lib/pcre -I /home/opam/.opam/4.14/lib/stdlib-shims -I /home/opam/.opam/4.14/lib/trace/core -I /home/opam/.opam/4.14/lib/yojson -I /home/opam/.opam/4.14/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/4.14/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/4.14/lib/curl -I /home/opam/.opam/4.14/lib/curl_lwt -I /home/opam/.opam/4.14/lib/extlib -I /home/opam/.opam/4.14/lib/extunix -I /home/opam/.opam/4.14/lib/libevent -I /home/opam/.opam/4.14/lib/lwt -I /home/opam/.opam/4.14/lib/lwt/unix -I /home/opam/.opam/4.14/lib/ocaml/threads -I /home/opam/.opam/4.14/lib/pcre -I /home/opam/.opam/4.14/lib/stdlib-shims -I /home/opam/.opam/4.14/lib/trace/core -I /home/opam/.opam/4.14/lib/yojson -I /home/opam/.opam/4.14/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:51.13: Job failed: Failed: Build failed