Organisationsahrefsdevkit6c7ba2 ()alpine-3.21-5.3_opam-2.3

alpine-3.21-5.3_opam-2.3

Link Copied
Code Copied

Logs

2025-05-10 12:25.54: New job: test ahrefs/devkit https://github.com/ahrefs/devkit.git#refs/heads/master (6c7ba2af84e609829414b4a572e800073cc924c0) (linux-x86_64:alpine-3.21-5.3_opam-2.3)
Base: ocaml/opam:alpine-3.21-ocaml-5.3@sha256:5957ac9a5e2e15455a45c19299b956410a2cb1aa7a7c57821dc4032ffd942571
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/ahrefs/devkit.git" -b "master" && cd "devkit" && git reset --hard 6c7ba2af
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:alpine-3.21-ocaml-5.3@sha256:5957ac9a5e2e15455a45c19299b956410a2cb1aa7a7c57821dc4032ffd942571
# 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 35eb2f107a989a2d623b0bbe170696398fcb9b1e || git fetch origin master) && git reset -q --hard 35eb2f107a989a2d623b0bbe170696398fcb9b1e && 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 dune.3.18.2 dune-configurator.3.18.2 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.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.1 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-05-10 12:25.54: Using cache hint "ahrefs/devkit-ocaml/opam:alpine-3.21-ocaml-5.3@sha256:5957ac9a5e2e15455a45c19299b956410a2cb1aa7a7c57821dc4032ffd942571-alpine-3.21-5.3_opam-2.3-874c799a963fa29a2ed860fb57d528ed"
2025-05-10 12:25.54: Using OBuilder spec:
((from ocaml/opam:alpine-3.21-ocaml-5.3@sha256:5957ac9a5e2e15455a45c19299b956410a2cb1aa7a7c57821dc4032ffd942571)
(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 35eb2f107a989a2d623b0bbe170696398fcb9b1e || git fetch origin master) && git reset -q --hard 35eb2f107a989a2d623b0bbe170696398fcb9b1e && 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 dune.3.18.2 dune-configurator.3.18.2 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.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.1 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-05-10 12:25.54: Waiting for resource in pool OCluster
2025-05-10 12:34.40: Waiting for worker…
2025-05-10 12:37.20: Got resource from pool OCluster
Building on clete.caelum.ci.dev
All commits already cached
HEAD is now at 6c7ba2a httpev: do not reuseport on unix socket


(from ocaml/opam:alpine-3.21-ocaml-5.3@sha256:5957ac9a5e2e15455a45c19299b956410a2cb1aa7a7c57821dc4032ffd942571)
Unable to find image 'ocaml/opam:alpine-3.21-ocaml-5.3@sha256:5957ac9a5e2e15455a45c19299b956410a2cb1aa7a7c57821dc4032ffd942571' locally
docker.io/ocaml/opam@sha256:5957ac9a5e2e15455a45c19299b956410a2cb1aa7a7c57821dc4032ffd942571: Pulling from ocaml/opam
ec0cf0f573f6: Pulling fs layer
ec0cf0f573f6: Verifying Checksum
ec0cf0f573f6: Download complete
ec0cf0f573f6: Pull complete
Digest: sha256:5957ac9a5e2e15455a45c19299b956410a2cb1aa7a7c57821dc4032ffd942571
Status: Downloaded newer image for ocaml/opam@sha256:5957ac9a5e2e15455a45c19299b956410a2cb1aa7a7c57821dc4032ffd942571
2025-05-10 12:37.21 ---> using "e49bbe0abcbff463a9108ac76ab9842b22d9952ceb038ff96c3d7ae7970ff962" 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-05-10 12:37.21 ---> saved as "64b7ced97fd2f4eb6b85dd4ff640c243d5a7cac2c249f19cfd789778c95e1d2f"


/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.
[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


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-05-10 12:38.15 ---> saved as "49db337dae0bac71dc6cec7c726897191bef158123b428b74e27d62f0a6b1936"


/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-05-10 12:38.16 ---> saved as "4c4b8b86a744581f3e1bd14a680e0d8cd636a7b643c1259f9d18c66b9e00b6ed"


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-05-10 12:38.16 ---> saved as "1d5c84a51aeb1e666c1d485b5bc48d792b94b09ea837c8e61ecb04ba67b721db"


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 35eb2f107a989a2d623b0bbe170696398fcb9b1e || git fetch origin master) && git reset -q --hard 35eb2f107a989a2d623b0bbe170696398fcb9b1e && git log --no-decorate -n1 --oneline && opam update -u"))
35eb2f107a Merge pull request #27838 from maiste/release-dune-3.18.2


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] no changes 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-05-10 12:38.34 ---> saved as "ee8d0c7024578cee06c6858fda9a56a46e73d2c4abf1e00f94bfe49957c14fc8"


/src: (copy (src devkit.opam) (dst ./))
2025-05-10 12:38.35 ---> saved as "bbff9b44bd26bee055744dcf6afaa04974cec1ac5c5fe8ecc0ef87093805ea41"


/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-05-10 12:38.38 ---> saved as "e02ad5aa13dd0a2faeccf9d4f05a8c1e3b51875d4bdb0c6d2e62deba24cb0291"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-05-10 12:38.38 ---> saved as "ab38d0ca7bbcae93cbdee239ca0c293f221badbda8c0010874ebf7ebd334023b"


/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 dune.3.18.2 dune-configurator.3.18.2 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.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.1 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-452-gee5ce66b724 [https://dl-cdn.alpinelinux.org/alpine/v3.21/main]
- v3.21.3-459-gb091f834ac8 [https://dl-cdn.alpinelinux.org/alpine/v3.21/community]
- v20250108-7846-g39271601b77 [https://dl-cdn.alpinelinux.org/alpine/edge/main]
- v20250108-7843-g6586b379a88 [https://dl-cdn.alpinelinux.org/alpine/edge/community]
- v20250108-7827-gb606fd1275d [https://dl-cdn.alpinelinux.org/alpine/edge/testing]
- OK: 58157 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)
- (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
- OK: 315 MiB in 120 packages
2025-05-10 12:38.59 ---> saved as "1cc568dd9ffb298be7411caa54914dac3aafbb4ba7ee6c1735e6aff70da5f08c"


/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 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.2
- install dune-configurator   3.18.2
- 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               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.1
- 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 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 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.1  (cached)
-> retrieved yojson.2.2.2  (cached)
-> retrieved ppxlib.0.35.0  (cached)
-> retrieved dune.3.18.2, dune-configurator.3.18.2  (cached)
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed libevent.0.9.0
-> installed camlzip.1.13
-> installed dune.3.18.2
-> 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.9.1
-> installed ocaml-compiler-libs.v0.17.0
-> installed cppo.1.8.0
-> installed yojson.2.2.2
-> installed ocplib-endian.1.2
-> installed ounit2.2.2.7
-> installed extlib.1.8.0
-> installed dune-configurator.3.18.2
-> 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-05-10 12:40.55 ---> saved as "a9a83bfaf73d0d33dffa9ef78fa7fcbc01e8ed108b55fa48b8b21b570497e458"


/src: (copy (src .) (dst /src))
2025-05-10 12:40.56 ---> saved as "b80516ae241351510cc5a28c4be065e2be64b7128558acf9e1b610711266356e"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default && ./test.exe)
...................................
Ran: 35 tests in: 0.12 seconds.
OK
2025-05-10 12:41.00 ---> saved as "b39a7ec6df75e4dc40841e4e14d75b5eec5d2a992964693b5faa7970e5efa6b2"
Job succeeded
2025-05-10 12:41.01: Job succeeded