Organisationsahrefsdevkit6faa0c ()alpine-3.21-5.3_opam-2.3

alpine-3.21-5.3_opam-2.3

Logs

Show full logs
2025-04-10 13:30.23: New job: test ahrefs/devkit https://github.com/ahrefs/devkit.git#refs/heads/master (6faa0c5e3e3b81fdde01ad66eedfa991f32c8443) (linux-x86_64:alpine-3.21-5.3_opam-2.3)
Base: ocaml/opam:alpine-3.21-ocaml-5.3@sha256:e2ee63eda00d030de85e2df8292477e3b768ff41108d47f21b9146fd8250d962
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/ahrefs/devkit.git" -b "master" && cd "devkit" && git reset --hard 6faa0c5e
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:alpine-3.21-ocaml-5.3@sha256:e2ee63eda00d030de85e2df8292477e3b768ff41108d47f21b9146fd8250d962
# 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 78dd26628a9ca162223715c2f58ccd042b8a2dec || git fetch origin master) && git reset -q --hard 78dd26628a9ca162223715c2f58ccd042b8a2dec && 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.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.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-04-10 13:30.23: Using cache hint "ahrefs/devkit-ocaml/opam:alpine-3.21-ocaml-5.3@sha256:e2ee63eda00d030de85e2df8292477e3b768ff41108d47f21b9146fd8250d962-alpine-3.21-5.3_opam-2.3-9052881db1a6118702d48aa2fcb6605e"
2025-04-10 13:30.23: Using OBuilder spec:
((from ocaml/opam:alpine-3.21-ocaml-5.3@sha256:e2ee63eda00d030de85e2df8292477e3b768ff41108d47f21b9146fd8250d962)
 (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 78dd26628a9ca162223715c2f58ccd042b8a2dec || git fetch origin master) && git reset -q --hard 78dd26628a9ca162223715c2f58ccd042b8a2dec && 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.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.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-04-10 13:30.23: Waiting for resource in pool OCluster
2025-04-10 14:43.54: Waiting for worker…
2025-04-10 14:47.12: Got resource from pool OCluster
Building on x86-bm-c5.sw.ocaml.org
HEAD is now at 97b5beb wip: add eventsource abstraction for handling SSE
HEAD is now at 6faa0c5 Lwt_util.idle_check

(from ocaml/opam:alpine-3.21-ocaml-5.3@sha256:e2ee63eda00d030de85e2df8292477e3b768ff41108d47f21b9146fd8250d962)
2025-04-10 14:47.50 ---> saved as "f154ab12a6d575cd956c81477efd0302c0ef4dccea7e9c1952fd02140b057756"

/: (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-04-10 14:47.51 ---> saved as "6310931d2bf5fef99ec3c0d979621049ed21e3351bd07029cd06bddb57173709"

/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-04-10 14:48.33 ---> saved as "675c7208637c697a7a3366c064d560f88c87ccaec86349f5914d7ac40053bae7"

/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-04-10 14:48.33 ---> saved as "6021679194ffece7289cd5c5b221b2f3071db6c856a010fda1808be99b3a5c12"

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2025-04-10 14:48.34 ---> saved as "91e9c49728c8d128b944322e480ab1d9f5be9d0ae301c2ee057902eeb7ca9559"

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e 78dd26628a9ca162223715c2f58ccd042b8a2dec || git fetch origin master) && git reset -q --hard 78dd26628a9ca162223715c2f58ccd042b8a2dec && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   da74d7829f..4592800a5b  master     -> origin/master
78dd26628a Merge pull request #27735 from c-cube/release-trace-v0.9.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-04-10 14:49.18 ---> saved as "b4f5dcfedce7dbef53653c1315620267c3a7c3da020436dc7f789d5efb8d85ed"

/src: (copy (src devkit.opam) (dst ./))
2025-04-10 14:49.18 ---> saved as "1b49acfc1cfe17fdc54ce93da976f7ecfba2477777574ebd5a470cb22323915a"

/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-10 14:49.23 ---> saved as "767242bff1d0e3ef62d95e131a424b2ca2447ab14ec2ea4e9a64809d2feef323"

/src: (run (network host)
           (shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-04-10 14:49.23 ---> saved as "f66b0cbd639efaf53b0d2776dc8452c9a47c908d9084b1f8e1fac32fec216101"

/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.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.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-301-ge7fe61bc1a5 [https://dl-cdn.alpinelinux.org/alpine/v3.21/main]
- v3.21.3-294-g2e5a2ba3499 [https://dl-cdn.alpinelinux.org/alpine/v3.21/community]
- v20250108-5453-g40b96487fbd [https://dl-cdn.alpinelinux.org/alpine/edge/main]
- v20250108-5475-g3d479ef87b4 [https://dl-cdn.alpinelinux.org/alpine/edge/community]
- v20250108-5475-g3d479ef87b4 [https://dl-cdn.alpinelinux.org/alpine/edge/testing]
- OK: 57566 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/19) Upgrading c-ares (1.34.3-r0 -> 1.34.5-r0)
- (2/19) Installing brotli (1.1.0-r2)
- (3/19) Installing brotli-dev (1.1.0-r2)
- (4/19) Installing c-ares-dev (1.34.5-r0)
- (5/19) Installing libidn2-dev (2.3.7-r0)
- (6/19) Installing libpsl-utils (0.21.5-r3)
- (7/19) Installing libpsl-dev (0.21.5-r3)
- (8/19) Installing nghttp2-dev (1.64.0-r0)
- (9/19) Installing openssl-dev (3.3.3-r0)
- (10/19) Installing zlib-dev (1.3.1-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-04-10 14:49.52 ---> saved as "05dd2348c42eefaa8651a6c53b2a4731c49752710d61f4b66bb47924b8903804"

/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.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.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)
-> installed conf-libevent.1
-> installed conf-libpcre.2
-> retrieved extunix.0.4.3  (cached)
-> 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 pcre.8.0.3  (cached)
-> retrieved ounit2.2.2.7  (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.0, dune-configurator.3.18.0  (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 sexplib0.v0.17.0
-> installed ocaml-compiler-libs.v0.17.0
-> installed stdlib-shims.0.3.0
-> installed cppo.1.8.0
-> installed trace.0.9.1
-> installed ocplib-endian.1.2
-> installed yojson.2.2.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-10 14:52.14 ---> saved as "066a8d24ab35bd27d2ecc69dde049dcba1034e80de13a5b91d6b9b9598e8f361"

/src: (copy (src .) (dst /src))
2025-04-10 14:52.14 ---> saved as "6e31a6921814672ffc8b6565baf2ae701d1185c7760d69c49b167ce4ebd4b764"

/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default && ./test.exe)
...................................
Ran: 35 tests in: 0.11 seconds.
OK
2025-04-10 14:52.19 ---> saved as "41e7f7e151952fad10891f2d9a853da033ef41c54916acc1c0279615aec6b193"
Job succeeded
2025-04-10 14:52.19: Job succeeded