2025-04-03 16:17.18: New job: test ahrefs/devkit https://github.com/ahrefs/devkit.git#refs/heads/master (d890d2fc872824c5abab43ce7813117b4bc6740c) (linux-x86_64:alpine-3.21-4.14_opam-2.3)
Base: ocaml/opam:alpine-3.21-ocaml-4.14@sha256:d388038c045b444892fac6ec1f36ca88a8060f2e05d39caeb449a880d6ec4dec
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/ahrefs/devkit.git" -b "master" && cd "devkit" && git reset --hard d890d2fc
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:alpine-3.21-ocaml-4.14@sha256:d388038c045b444892fac6ec1f36ca88a8060f2e05d39caeb449a880d6ec4dec
# 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 1b767795a4e028a4d45f916f1598c24ee7a7b6cb || git fetch origin master) && git reset -q --hard 1b767795a4e028a4d45f916f1598c24ee7a7b6cb && 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 dune.3.18.0 dune-configurator.3.18.0 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.0.9.2 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.9 yojson.2.2.2"
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-04-03 16:17.18: Using cache hint "ahrefs/devkit-ocaml/opam:alpine-3.21-ocaml-4.14@sha256:d388038c045b444892fac6ec1f36ca88a8060f2e05d39caeb449a880d6ec4dec-alpine-3.21-4.14_opam-2.3-91e157dbc01e7f8749c5d79a5532a2aa"
2025-04-03 16:17.18: Using OBuilder spec:
((from ocaml/opam:alpine-3.21-ocaml-4.14@sha256:d388038c045b444892fac6ec1f36ca88a8060f2e05d39caeb449a880d6ec4dec)
(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 1b767795a4e028a4d45f916f1598c24ee7a7b6cb || git fetch origin master) && git reset -q --hard 1b767795a4e028a4d45f916f1598c24ee7a7b6cb && 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 dune.3.18.0 dune-configurator.3.18.0 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.0.9.2 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.9 yojson.2.2.2")
(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-04-03 16:17.18: Waiting for resource in pool OCluster
2025-04-04 00:33.34: Waiting for worker…
2025-04-04 00:38.00: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
HEAD is now at d890d2f time 2025
(from ocaml/opam:alpine-3.21-ocaml-4.14@sha256:d388038c045b444892fac6ec1f36ca88a8060f2e05d39caeb449a880d6ec4dec)
2025-04-04 00:38.00 ---> using "1365d3d062370cdb3e23e0410421a094d8879b8f0dd4d3093d64147b4bfe4ff9" 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-04-04 00:38.00 ---> using "5be1ab3ea9e48bd2199383c0f25d4669eec253aa64c46238de9e36ed6f7e50cb" 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 ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ERROR] Could not update repository "opam-repository-archive": "/usr/bin/git fetch -q" exited with code 128 "fatal: unable to access 'https://github.com/ocaml/opam-repository-archive/': Could not resolve host: github.com"
[default] synchronised from file:///home/opam/opam-repository
2025-04-04 00:38.17 ---> saved as "ca0f9b6308acc60ffbea931949e0e9fb7680afa32d2003099d5a7f217fa5486d"
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-134-generic
The OCaml toplevel, version 4.14.2
2.3.0
2025-04-04 00:38.18 ---> saved as "8e127786c3870968fda1dfe20835536dac15f3a82c303577d90f01ea7cc40e6d"
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-04-04 00:38.18 ---> saved as "1106de8ba8163af5066c46218ad21da7ed722fff392921ab78c2a9189d06c86d"
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 1b767795a4e028a4d45f916f1598c24ee7a7b6cb || git fetch origin master) && git reset -q --hard 1b767795a4e028a4d45f916f1598c24ee7a7b6cb && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
862a7640b1..1b767795a4 master -> origin/master
1b767795a4 Merge pull request #27704 from maiste/release-dune-3.18.0
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[opam-repository-archive] synchronised from git+https://github.com/ocaml/opam-repository-archive
[default] synchronised from 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-04-04 00:39.28 ---> saved as "dd007c3b3794e1d336dbdd42cff59bffb5435c74cbd678c3209ea0ddc87e6c8f"
/src: (copy (src devkit.opam) (dst ./))
2025-04-04 00:39.28 ---> saved as "4f291152141a46b9e2bf7800f66b8192e10602536335e2e8f503c70d6db13ffd"
/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-04-04 00:39.31 ---> saved as "ab4c92b7c78984229f743b1306fc7f11535b446179ddff1c88b0b217c8f9a4de"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-04-04 00:39.32 ---> saved as "24c171467b1cb701f760d92100e027b131c3b14cb075d3eafdfac0ec621176c8"
/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 dune.3.18.0 dune-configurator.3.18.0 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.0.9.2 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.9 yojson.2.2.2")
/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-270-gc038d918979 [https://dl-cdn.alpinelinux.org/alpine/v3.21/main]
- v3.21.3-269-g5b8582de9c3 [https://dl-cdn.alpinelinux.org/alpine/v3.21/community]
- v20250108-5044-gfa14bf251c7 [https://dl-cdn.alpinelinux.org/alpine/edge/main]
- v20250108-5049-gb8ff4a2ba6e [https://dl-cdn.alpinelinux.org/alpine/edge/community]
- v20250108-5045-g09ca5b971e3 [https://dl-cdn.alpinelinux.org/alpine/edge/testing]
- OK: 57498 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/21) Upgrading libcurl (8.12.1-r0 -> 8.12.1-r1)
- (2/21) Upgrading curl (8.12.1-r0 -> 8.12.1-r1)
- (3/21) Installing brotli (1.1.0-r2)
- (4/21) Installing brotli-dev (1.1.0-r2)
- (5/21) Installing c-ares-dev (1.34.3-r0)
- (6/21) Installing libidn2-dev (2.3.7-r0)
- (7/21) Installing libpsl-utils (0.21.5-r3)
- (8/21) Installing libpsl-dev (0.21.5-r3)
- (9/21) Installing nghttp2-dev (1.64.0-r0)
- (10/21) Installing openssl-dev (3.3.3-r0)
- (11/21) Installing zlib-dev (1.3.1-r2)
- (12/21) Installing zstd (1.5.6-r2)
- (13/21) Installing zstd-dev (1.5.6-r2)
- (14/21) Installing curl-dev (8.12.1-r1)
- (15/21) Installing libevent (2.1.12-r7)
- (16/21) Installing libevent-dev (2.1.12-r7)
- (17/21) Installing libpcre16 (8.45-r3)
- (18/21) Installing libpcre32 (8.45-r3)
- (19/21) Installing pcre (8.45-r3)
- (20/21) Installing libpcrecpp (8.45-r3)
- (21/21) Installing pcre-dev (8.45-r3)
- Executing busybox-1.37.0-r12.trigger
- OK: 315 MiB in 120 packages
2025-04-04 00:39.53 ---> saved as "dbb4df8113403f3b914da3a0b77b5d031ef9917a2367c0a37c53f201a3cfd6fd"
/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 29 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 dune 3.18.0
- install dune-configurator 3.18.0
- 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 0.9.2
- 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.9
- install yojson 2.2.2
<><> 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 extlib.1.8.0 (cached)
-> retrieved extunix.0.4.3 (cached)
-> installed conf-libevent.1
-> installed conf-libpcre.2
-> installed conf-zlib.1
-> retrieved libevent.0.9.0 (cached)
-> retrieved lwt.5.9.1, lwt_ppx.5.9.1 (cached)
-> retrieved ocaml-compiler-libs.v0.12.4 (cached)
-> retrieved ocplib-endian.1.2 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved ocurl.0.9.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.9 (cached)
-> retrieved dune.3.18.0, dune-configurator.3.18.0 (cached)
-> retrieved ppxlib.0.35.0 (cached)
-> retrieved yojson.2.2.2 (cached)
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed libevent.0.9.0
-> installed camlzip.1.13
-> installed dune.3.18.0
-> 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.2.2.2
-> installed trace.0.9
-> installed ocplib-endian.1.2
-> installed extlib.1.8.0
-> installed ounit2.2.2.7
-> installed dune-configurator.3.18.0
-> installed pcre.8.0.3
-> installed lwt.5.9.1
-> installed ppxlib.0.35.0
-> installed lwt_ppx.5.9.1
-> installed extunix.0.4.3
-> installed ocurl.0.9.2
Done.
# To update the current shell environment, run: eval $(opam env)
2025-04-04 00:41.47 ---> saved as "4f15a524a2055ba17b91763954de5cf61afe5a733c03f18bc92c3de994115f50"
/src: (copy (src .) (dst /src))
2025-04-04 00:41.48 ---> saved as "79950d7eb50b4620a4c43022dba2f3059c3ccc7dc226788bf08f4b3a3267a5cc"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default && ./test.exe)
..................................
Ran: 34 tests in: 0.13 seconds.
OK
2025-04-04 00:41.55 ---> saved as "245e476a4ecc0edd942f01089792a7f481e2c437838491458444ea3c3687f560"
Job succeeded
2025-04-04 00:41.55: Job succeeded