2025-05-22 12:49.31: New job: test ahrefs/devkit https://github.com/ahrefs/devkit.git#refs/heads/master (e5a977b3400acb9a0eb3bdd5da2150a3d0f0df2e) (linux-x86_64:opensuse-15.6-4.14_opam-2.3)
Base: ocaml/opam:opensuse-15.6-ocaml-4.14@sha256:565caa1d2239ea8b3217a5a9a164b2eddd3e8790294e08ef1a71886592ec2d54
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/ahrefs/devkit.git" -b "master" && cd "devkit" && git reset --hard e5a977b3
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:opensuse-15.6-ocaml-4.14@sha256:565caa1d2239ea8b3217a5a9a164b2eddd3e8790294e08ef1a71886592ec2d54
# opensuse-15.6-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 e88dced737878c31dbeec946a11652b94520c76e || git fetch origin master) && git reset -q --hard e88dced737878c31dbeec946a11652b94520c76e && 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.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.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.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-22 12:49.31: Using cache hint "ahrefs/devkit-ocaml/opam:opensuse-15.6-ocaml-4.14@sha256:565caa1d2239ea8b3217a5a9a164b2eddd3e8790294e08ef1a71886592ec2d54-opensuse-15.6-4.14_opam-2.3-8b39c82235b706a1ce37d0f4ffdb88f6"
2025-05-22 12:49.31: Using OBuilder spec:
((from ocaml/opam:opensuse-15.6-ocaml-4.14@sha256:565caa1d2239ea8b3217a5a9a164b2eddd3e8790294e08ef1a71886592ec2d54)
(comment opensuse-15.6-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 e88dced737878c31dbeec946a11652b94520c76e || git fetch origin master) && git reset -q --hard e88dced737878c31dbeec946a11652b94520c76e && 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.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.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.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-22 12:49.31: Waiting for resource in pool OCluster
2025-05-22 12:49.31: Waiting for worker…
2025-05-22 12:49.31: Got resource from pool OCluster
Building on phoebe.caelum.ci.dev
All commits already cached
HEAD is now at e5a977b remove extra sprintf
(from ocaml/opam:opensuse-15.6-ocaml-4.14@sha256:565caa1d2239ea8b3217a5a9a164b2eddd3e8790294e08ef1a71886592ec2d54)
2025-05-22 12:49.31 ---> using "10415628735946104af0884481f773347d9e76b0e93d393e4c5078068414f710" from cache
/: (comment opensuse-15.6-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-05-22 12:49.31 ---> using "9656c09767a216641cb92ff601d9765117ba376022ee1b456a3f075535cf81ce" 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-05-22 12:49.31 ---> using "8c78702c43e0f8980184e3e7d7465414f3471abf449b638b179a1d00d25efc31" from cache
/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-05-22 12:49.31 ---> using "50f563d99aeebe7d7eb285b53b0a15041987debe88cd0eb9991c6a62894c6ca9" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-05-22 12:49.31 ---> using "213b1db1c3e149c6d14076bc1e9f500d13912267fed4fcd5b9223362f8cce1ca" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e e88dced737878c31dbeec946a11652b94520c76e || git fetch origin master) && git reset -q --hard e88dced737878c31dbeec946a11652b94520c76e && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
0d013e603b..e88dced737 master -> origin/master
e88dced737 Merge pull request #27913 from punchagan/add-mingw-shims-dep
<><> 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-05-22 12:50.03 ---> saved as "1c73e60e1cc274e70fa919ee474d5f8590e831537ca43ad619b45801553b3f1b"
/src: (copy (src devkit.opam) (dst ./))
2025-05-22 12:50.03 ---> saved as "27fae2391b3decc14a74b1063f5b66b05362a40ba5f79478d86dcd0f5f15ee96"
/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-22 12:50.10 ---> saved as "cdedb3d324e35e1c5eef956980a7563e339b8d0e35eee766726175f7a3211355"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-05-22 12:50.10 ---> saved as "72ee8d501171591c78d05f78565320bfd97e4f54b80cd8dd05a42e253e3d455b"
/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.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.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.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 "zypper" "--non-interactive" "refresh"
- Retrieving repository 'Update repository of openSUSE Backports' metadata [....
- ..........done]
- Building repository 'Update repository of openSUSE Backports' cache [..
- ..done]
- Retrieving repository 'Update repository with updates from SUSE Linux Enterprise 15' metadata [....
- .
- ........
- .........
- ........
- .......
- ..........
- ..........
- .........
- ..........
- ..........
- ..........
- .........
- ..........
- .........
- ..........
- .........
- ..........
- ..........
- .........
- .........
- ..........
- ..........
- .........
- ..........
- .........
- ..........
- .........
- ..........
- ..........
- .........
- ..........
- .........
- ..........
- .........
- ..........
- .........
- ..........
- .........
- ..........
- .........
- ..........
- .........
- ..........
- .........
- ..........
- ..........
- .........
- ..........
- .........
- ..........
- ..........
- .........
- .........
- ..........
- .........
- ..........
- .........
- .........
- .........
- .........
- ........
- .........
- .........
- ..........
- .........
- .........
- .........
- .........
- .........
- .........
- .........
- ..........
- .........
- .........
- ..........
- .........
- .........
- .........
- .....
- ..........
- .........
- ..........
- .done]
- Building repository 'Update repository with updates from SUSE Linux Enterprise 15' cache [..
- ..done]
- Repository 'Main Update Repository' is up to date.
- Repository 'Update Repository (Non-Oss)' is up to date.
- Repository 'Non-OSS Repository' is up to date.
- Repository 'Main Repository' is up to date.
- All repositories have been refreshed.
<><> 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:
libcurl-devel libevent-devel pcre-devel
<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
+ /usr/bin/sudo "zypper" "--non-interactive" "install" "libcurl-devel" "libevent-devel" "pcre-devel"
- Loading repository data...
- Reading installed packages...
- Resolving package dependencies...
-
- The following 10 NEW packages are going to be installed:
- libcurl-devel libevent-2_1-7 libevent-devel libopenssl1_1 libpcre16-0 libpcrecpp0 libpcreposix0 libpython3_6m1_0 pcre-devel python3-base
-
- 10 new packages to install.
-
- Package download size: 12.1 MiB
-
- Package install size change:
- | 41.2 MiB required by packages that will be installed
- 41.2 MiB | - 0 B released by packages that will be removed
-
- Backend: classic_rpmtrans
- Continue? [y/n/v/...? shows all options] (y): y
- Retrieving: libevent-2_1-7-2.1.12-150600.1.2.x86_64 (Main Repository) (1/10), 263.4 KiB
- Retrieving: libevent-2_1-7-2.1.12-150600.1.2.x86_64.rpm [..done]
- Retrieving: libpcre16-0-8.45-150000.20.13.1.x86_64 (Main Repository) (2/10), 213.9 KiB
- Retrieving: libpcre16-0-8.45-150000.20.13.1.x86_64.rpm [..done]
- Retrieving: libpcrecpp0-8.45-150000.20.13.1.x86_64 (Main Repository) (3/10), 28.6 KiB
- Retrieving: libpcrecpp0-8.45-150000.20.13.1.x86_64.rpm [..done (20.6 KiB/s)]
- Retrieving: libpcreposix0-8.45-150000.20.13.1.x86_64 (Main Repository) (4/10), 19.7 KiB
- Retrieving: libpcreposix0-8.45-150000.20.13.1.x86_64.rpm [.
- .done (19.7 KiB/s)]
- Retrieving: pcre-devel-8.45-150000.20.13.1.x86_64 (Main Repository) (5/10), 230.1 KiB
- Retrieving: pcre-devel-8.45-150000.20.13.1.x86_64.rpm [..done]
- Retrieving: libcurl-devel-8.6.0-150600.4.21.1.x86_64 (Update repository with updates from SUSE Linux Enterprise 15) (6/10), 893.5 KiB
- Retrieving: libcurl-devel-8.6.0-150600.4.21.1.x86_64.rpm [...done (4.0 MiB/s)]
- Retrieving: libopenssl1_1-1.1.1w-150600.5.12.2.x86_64 (Update repository with updates from SUSE Linux Enterprise 15) (7/10), 1.4 MiB
- Retrieving: libopenssl1_1-1.1.1w-150600.5.12.2.x86_64.rpm [..done (1.5 MiB/s)]
- Retrieving: python3-base-3.6.15-150300.10.84.1.x86_64 (Update repository with updates from SUSE Linux Enterprise 15) (8/10), 7.8 MiB
- Retrieving: python3-base-3.6.15-150300.10.84.1.x86_64.rpm [...
- .....done (12.4 MiB/s)]
- Retrieving: libpython3_6m1_0-3.6.15-150300.10.84.1.x86_64 (Update repository with updates from SUSE Linux Enterprise 15) (9/10), 1.2 MiB
- Retrieving: libpython3_6m1_0-3.6.15-150300.10.84.1.x86_64.rpm [...done (6.5 MiB/s)]
- Retrieving: libevent-devel-2.1.12-150600.1.2.x86_64 (Main Repository) (10/10), 116.1 KiB
- Retrieving: libevent-devel-2.1.12-150600.1.2.x86_64.rpm [.
- .done]
-
- Checking for file conflicts: [...done]
- ( 1/10) Installing: libevent-2_1-7-2.1.12-150600.1.2.x86_64 [..done]
- ( 2/10) Installing: libpcre16-0-8.45-150000.20.13.1.x86_64 [..done]
- ( 3/10) Installing: libpcrecpp0-8.45-150000.20.13.1.x86_64 [..done]
- ( 4/10) Installing: libpcreposix0-8.45-150000.20.13.1.x86_64 [..done]
- ( 5/10) Installing: pcre-devel-8.45-150000.20.13.1.x86_64 [..done]
- ( 6/10) Installing: libcurl-devel-8.6.0-150600.4.21.1.x86_64 [...done]
- ( 7/10) Installing: libopenssl1_1-1.1.1w-150600.5.12.2.x86_64 [...done]
- ( 8/10) Installing: python3-base-3.6.15-150300.10.84.1.x86_64 [...
- ..........
- done]
- ( 9/10) Installing: libpython3_6m1_0-3.6.15-150300.10.84.1.x86_64 [...done]
- (10/10) Installing: libevent-devel-2.1.12-150600.1.2.x86_64 [..done]
2025-05-22 12:52.45 ---> saved as "86916a88ce664b37cc34152060d6a0f64408caf86482ccf171920ffb229c7ff7"
/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.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.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.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 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.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 ocaml-compiler-libs.v0.12.4
-> installed sexplib0.v0.17.0
-> installed stdlib-shims.0.3.0
-> installed cppo.1.8.0
-> installed trace.0.9.1
-> installed yojson.2.2.2
-> installed ocplib-endian.1.2
-> installed extlib.1.8.0
-> installed ounit2.2.2.7
-> installed dune-configurator.3.18.2
-> 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-05-22 12:54.15 ---> saved as "72bf0b0eff1d2a0bc58fc685a9f9e698b7ed07ffef53366ee259dd580ee43e52"
/src: (copy (src .) (dst /src))
2025-05-22 12:54.16 ---> saved as "70cdc3a731e778f49e10bde8f1c2072e3c613d2b125d904531b82549c840509d"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default && ./test.exe)
...................................
Ran: 35 tests in: 0.16 seconds.
OK
2025-05-22 12:54.20 ---> saved as "7453962c0e8ab5939399a1268ce5b42beacb45320ecb5846b28e46ad63d52655"
Job succeeded
2025-05-22 12:54.22: Job succeeded