2024-11-19 18:51.23: New job: test ahrefs/devkit https://github.com/ahrefs/devkit.git#refs/heads/expose-sanitize-name (6862f3f05b5f58fe0e705d89084619462d4c7944) (linux-x86_64:fedora-40-5.2_opam-2.3)
Base: ocaml/opam:fedora-40-ocaml-5.2@sha256:20bb496089180df388441091e32dbaba727f4ee1926f6be34a1786a004e0b6e2
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/ahrefs/devkit.git" -b "expose-sanitize-name" && cd "devkit" && git reset --hard 6862f3f0
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:fedora-40-ocaml-5.2@sha256:20bb496089180df388441091e32dbaba727f4ee1926f6be34a1786a004e0b6e2
# fedora-40-5.2_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo dnf install -y findutils
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 11bdbee61114a1cfa080b764e71c72a5760a93f0 || git fetch origin master) && git reset -q --hard 11bdbee61114a1cfa080b764e71c72a5760a93f0 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 devkit.opam ./
RUN opam pin add -yn devkit.dev './'
ENV DEPS="base-bigarray.base base-bytes.base base-domains.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.3 conf-zlib.1 cppo.1.7.0 csexp.1.5.2 dune.3.16.1 dune-configurator.3.16.1 extlib.1.8.0 extunix.0.4.2 host-arch-x86_64.1 host-system-other.1 libevent.0.9.0 lwt.5.9.0 lwt_ppx.5.8.0 ocaml.5.2.1 ocaml-base-compiler.5.2.1 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlfind.1.9.6 ocplib-endian.1.2 ocurl.0.9.2 ounit2.2.2.7 pcre.7.5.0 ppx_derivers.1.2.1 ppxlib.0.33.0 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 trace.0.8 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
2024-11-19 18:51.23: Using cache hint "ahrefs/devkit-ocaml/opam:fedora-40-ocaml-5.2@sha256:20bb496089180df388441091e32dbaba727f4ee1926f6be34a1786a004e0b6e2-fedora-40-5.2_opam-2.3-43a8bbde0f749cef3faed9e0d52a9782"
2024-11-19 18:51.23: Using OBuilder spec:
((from ocaml/opam:fedora-40-ocaml-5.2@sha256:20bb496089180df388441091e32dbaba727f4ee1926f6be34a1786a004e0b6e2)
(comment fedora-40-5.2_opam-2.3)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (network host)
(shell "sudo dnf install -y findutils"))
(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 11bdbee61114a1cfa080b764e71c72a5760a93f0 || git fetch origin master) && git reset -q --hard 11bdbee61114a1cfa080b764e71c72a5760a93f0 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src devkit.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn devkit.dev './'"))
(env DEPS "base-bigarray.base base-bytes.base base-domains.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.3 conf-zlib.1 cppo.1.7.0 csexp.1.5.2 dune.3.16.1 dune-configurator.3.16.1 extlib.1.8.0 extunix.0.4.2 host-arch-x86_64.1 host-system-other.1 libevent.0.9.0 lwt.5.9.0 lwt_ppx.5.8.0 ocaml.5.2.1 ocaml-base-compiler.5.2.1 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlfind.1.9.6 ocplib-endian.1.2 ocurl.0.9.2 ounit2.2.2.7 pcre.7.5.0 ppx_derivers.1.2.1 ppxlib.0.33.0 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 trace.0.8 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"))
)
2024-11-19 18:51.23: Waiting for resource in pool OCluster
2024-11-19 18:51.24: Waiting for worker…
2024-11-19 18:59.30: Got resource from pool OCluster
Building on x86-bm-c2.sw.ocaml.org
All commits already cached
HEAD is now at 6862f3f expose Pid.sanitize_name
(from ocaml/opam:fedora-40-ocaml-5.2@sha256:20bb496089180df388441091e32dbaba727f4ee1926f6be34a1786a004e0b6e2)
Unable to find image 'ocaml/opam:fedora-40-ocaml-5.2@sha256:20bb496089180df388441091e32dbaba727f4ee1926f6be34a1786a004e0b6e2' locally
docker.io/ocaml/opam@sha256:20bb496089180df388441091e32dbaba727f4ee1926f6be34a1786a004e0b6e2: Pulling from ocaml/opam
63af7aa8464e: Pulling fs layer
63af7aa8464e: Verifying Checksum
63af7aa8464e: Download complete
63af7aa8464e: Pull complete
Digest: sha256:20bb496089180df388441091e32dbaba727f4ee1926f6be34a1786a004e0b6e2
Status: Downloaded newer image for ocaml/opam@sha256:20bb496089180df388441091e32dbaba727f4ee1926f6be34a1786a004e0b6e2
2024-11-19 18:59.30 ---> using "a6dd3380db29986415913bf7d27214b6f26ce0c408fc3688547ae18a6088e568" from cache
/: (comment fedora-40-5.2_opam-2.3)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (workdir /src)
/src: (run (network host)
(shell "sudo dnf install -y findutils"))
Fedora 40 - x86_64 - Updates 198 kB/s | 25 kB 00:00
Package findutils-1:4.9.0-9.fc40.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
2024-11-19 18:59.30 ---> using "a1dfa12533a83834c94bc30a2bd30ff868174ec1bbbb7f360eacf301ed9db126" from cache
/src: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2024-11-19 18:59.30 ---> using "c315cd884bb011b8685bd27c8269cb02de2e473c347044af5aa602db2e73f603" 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 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] synchronised from file:///home/opam/opam-repository
2024-11-19 18:59.30 ---> using "abc85285482aa27540fe81c7958465d316d02ac52cb2f282213b1ad4a7c01e90" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-125-generic
The OCaml toplevel, version 5.2.1
2.3.0
2024-11-19 18:59.30 ---> using "bdb6e8648066d5d9c23403b1860588d7052338597cc60606a7c5553c608e4b65" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-11-19 18:59.30 ---> using "f4b9ca4bddf00c9b76d1fb1dc04debe4fc642274dc84c1bd2d700e7aa9802b58" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 11bdbee61114a1cfa080b764e71c72a5760a93f0 || git fetch origin master) && git reset -q --hard 11bdbee61114a1cfa080b764e71c72a5760a93f0 && git log --no-decorate -n1 --oneline && opam update -u"))
11bdbee611 Merge pull request #26909 from Octachron/ocaml-5.2.1
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[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)
2024-11-19 18:59.30 ---> using "438454e4dd6cfafb85fd9c25d3f02a81e698287422d6082f320d448c07172285" from cache
/src: (copy (src devkit.opam) (dst ./))
2024-11-19 18:59.30 ---> using "14ef170fcd9bfdd01381bfcd1de3092aaed6f9871d00a38c11412042220c9a2e" from cache
/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)
2024-11-19 18:59.30 ---> using "16f8985121a520e72d4bf978593d4fcab73f6ba91105b96e167c6800b9736793" from cache
/src: (env DEPS "base-bigarray.base base-bytes.base base-domains.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.3 conf-zlib.1 cppo.1.7.0 csexp.1.5.2 dune.3.16.1 dune-configurator.3.16.1 extlib.1.8.0 extunix.0.4.2 host-arch-x86_64.1 host-system-other.1 libevent.0.9.0 lwt.5.9.0 lwt_ppx.5.8.0 ocaml.5.2.1 ocaml-base-compiler.5.2.1 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlfind.1.9.6 ocplib-endian.1.2 ocurl.0.9.2 ounit2.2.2.7 pcre.7.5.0 ppx_derivers.1.2.1 ppxlib.0.33.0 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 trace.0.8 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 "yum" "makecache"
- Fedora 40 - x86_64 224 kB/s | 27 kB 00:00
- Fedora 40 openh264 (From Cisco) - x86_64 10 kB/s | 989 B 00:00
- Fedora 40 - x86_64 - Updates 205 kB/s | 25 kB 00:00
- Metadata cache created.
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[devkit.dev] synchronised (no changes)
[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-base-compiler is already installed (current version is 5.2.1).
[NOTE] Package ocaml is already installed (current version is 5.2.1).
[NOTE] Package host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 is already installed (current version is 1).
[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-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:
libcurl-devel libevent-devel pcre-devel zlib-ng-compat-devel
<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
+ /usr/bin/sudo "yum" "install" "-y" "libcurl-devel" "libevent-devel" "pcre-devel" "zlib-ng-compat-devel"
- Last metadata expiration check: 0:00:24 ago on Tue Nov 19 18:58:38 2024.
- Dependencies resolved.
- ================================================================================
- Package Arch Version Repository Size
- ================================================================================
- Installing:
- libcurl-devel x86_64 8.6.0-10.fc40 updates 851 k
- libevent-devel x86_64 2.1.12-12.fc40 fedora 100 k
- pcre-devel x86_64 8.45-1.fc40.6 fedora 490 k
- zlib-ng-compat-devel x86_64 2.1.7-2.fc40 updates 38 k
- Installing dependencies:
- cmake-filesystem x86_64 3.30.5-1.fc40 updates 17 k
- pcre x86_64 8.45-1.fc40.6 fedora 204 k
- pcre-cpp x86_64 8.45-1.fc40.6 fedora 26 k
- pcre-utf16 x86_64 8.45-1.fc40.6 fedora 189 k
- pcre-utf32 x86_64 8.45-1.fc40.6 fedora 178 k
-
- Transaction Summary
- ================================================================================
- Install 9 Packages
-
- Total download size: 2.0 M
- Installed size: 4.9 M
- Downloading Packages:
- (1/9): pcre-cpp-8.45-1.fc40.6.x86_64.rpm 186 kB/s | 26 kB 00:00
- (2/9): libevent-devel-2.1.12-12.fc40.x86_64.rpm 637 kB/s | 100 kB 00:00
- (3/9): pcre-8.45-1.fc40.6.x86_64.rpm 1.0 MB/s | 204 kB 00:00
- (4/9): pcre-utf16-8.45-1.fc40.6.x86_64.rpm 4.6 MB/s | 189 kB 00:00
- (5/9): pcre-utf32-8.45-1.fc40.6.x86_64.rpm 5.2 MB/s | 178 kB 00:00
- (6/9): pcre-devel-8.45-1.fc40.6.x86_64.rpm 5.2 MB/s | 490 kB 00:00
- (7/9): cmake-filesystem-3.30.5-1.fc40.x86_64.rp 302 kB/s | 17 kB 00:00
- (8/9): zlib-ng-compat-devel-2.1.7-2.fc40.x86_64 698 kB/s | 38 kB 00:00
- (9/9): libcurl-devel-8.6.0-10.fc40.x86_64.rpm 6.2 MB/s | 851 kB 00:00
- --------------------------------------------------------------------------------
- Total 3.3 MB/s | 2.0 MB 00:00
- Running transaction check
- Transaction check succeeded.
- Running transaction test
- Transaction test succeeded.
- Running transaction
- Preparing : 1/1
- Installing : pcre-8.45-1.fc40.6.x86_64 1/9
- Installing : pcre-cpp-8.45-1.fc40.6.x86_64 2/9
- Installing : cmake-filesystem-3.30.5-1.fc40.x86_64 3/9
- Installing : pcre-utf32-8.45-1.fc40.6.x86_64 4/9
- Installing : pcre-utf16-8.45-1.fc40.6.x86_64 5/9
- Installing : pcre-devel-8.45-1.fc40.6.x86_64 6/9
- Installing : zlib-ng-compat-devel-2.1.7-2.fc40.x86_64 7/9
- Installing : libcurl-devel-8.6.0-10.fc40.x86_64 8/9
- Installing : libevent-devel-2.1.12-12.fc40.x86_64 9/9
- Running scriptlet: libevent-devel-2.1.12-12.fc40.x86_64 9/9
-
- Installed:
- cmake-filesystem-3.30.5-1.fc40.x86_64 libcurl-devel-8.6.0-10.fc40.x86_64
- libevent-devel-2.1.12-12.fc40.x86_64 pcre-8.45-1.fc40.6.x86_64
- pcre-cpp-8.45-1.fc40.6.x86_64 pcre-devel-8.45-1.fc40.6.x86_64
- pcre-utf16-8.45-1.fc40.6.x86_64 pcre-utf32-8.45-1.fc40.6.x86_64
- zlib-ng-compat-devel-2.1.7-2.fc40.x86_64
-
- Complete!
+ /usr/bin/rpm "-q" "--whatprovides" "libcurl-devel" "libevent-devel" "pcre-devel" "zlib-ng-compat-devel"
- libcurl-devel-8.6.0-10.fc40.x86_64
- libevent-devel-2.1.12-12.fc40.x86_64
- pcre-devel-8.45-1.fc40.6.x86_64
- zlib-ng-compat-devel-2.1.7-2.fc40.x86_64
2024-11-19 18:59.30 ---> using "56aebed47d5a9e8db937347a59a11323008c04d258de06dd6da54f489e9960f1" from cache
/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-base-compiler is already installed (current version is 5.2.1).
[NOTE] Package ocaml is already installed (current version is 5.2.1).
[NOTE] Package host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 is already installed (current version is 1).
[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-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 3
- install conf-zlib 1
- install cppo 1.7.0
- install csexp 1.5.2
- install dune 3.16.1
- install dune-configurator 3.16.1
- install extlib 1.8.0
- install extunix 0.4.2
- install libevent 0.9.0
- install lwt 5.9.0
- install lwt_ppx 5.8.0
- install ocaml-compiler-libs v0.17.0
- install ocamlfind 1.9.6
- install ocplib-endian 1.2
- install ocurl 0.9.2
- install ounit2 2.2.7
- install pcre 7.5.0
- install ppx_derivers 1.2.1
- install ppxlib 0.33.0
- install seq base
- install sexplib0 v0.17.0
- install stdlib-shims 0.3.0
- install trace 0.8
- install yojson 2.2.2
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved camlzip.1.13 (cached)
-> retrieved cppo.1.7.0 (cached)
-> retrieved csexp.1.5.2 (cached)
-> installed conf-libcurl.2
-> installed conf-pkg-config.3
-> retrieved extlib.1.8.0 (cached)
-> retrieved extunix.0.4.2 (cached)
-> installed conf-libevent.1
-> installed conf-libpcre.2
-> installed conf-zlib.1
-> retrieved libevent.0.9.0 (cached)
-> retrieved lwt.5.9.0 (cached)
-> retrieved lwt_ppx.5.8.0 (cached)
-> retrieved dune.3.16.1, dune-configurator.3.16.1 (cached)
-> retrieved ocaml-compiler-libs.v0.17.0 (cached)
-> retrieved ocamlfind.1.9.6 (cached)
-> retrieved ocplib-endian.1.2 (cached)
-> retrieved ocurl.0.9.2 (cached)
-> retrieved ounit2.2.2.7 (cached)
-> retrieved pcre.7.5.0 (cached)
-> retrieved seq.base (cached)
-> installed seq.base
-> retrieved ppx_derivers.1.2.1 (cached)
-> retrieved sexplib0.v0.17.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved trace.0.8 (cached)
-> retrieved yojson.2.2.2 (cached)
-> retrieved ppxlib.0.33.0 (cached)
-> installed ocamlfind.1.9.6
-> installed base-bytes.base
-> installed libevent.0.9.0
-> installed camlzip.1.13
-> installed dune.3.16.1
-> installed ppx_derivers.1.2.1
-> installed csexp.1.5.2
-> installed cppo.1.7.0
-> installed ocaml-compiler-libs.v0.17.0
-> installed sexplib0.v0.17.0
-> installed stdlib-shims.0.3.0
-> installed trace.0.8
-> installed ocplib-endian.1.2
-> installed yojson.2.2.2
-> installed extlib.1.8.0
-> installed ounit2.2.2.7
-> installed dune-configurator.3.16.1
-> installed pcre.7.5.0
-> installed lwt.5.9.0
-> installed ppxlib.0.33.0
-> installed lwt_ppx.5.8.0
-> installed extunix.0.4.2
-> installed ocurl.0.9.2
Done.
# To update the current shell environment, run: eval $(opam env)
2024-11-19 19:00.56 ---> saved as "d44f5e6d081f88073509ec54082461d1f18d2914dabb674d8e2dedae98baee7c"
/src: (copy (src .) (dst /src))
2024-11-19 19:00.57 ---> saved as "e4b81fbb9bc17dcd326f4cd008975871c86baf2fe0397faaa1efed8baaee7ce0"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default && ./test.exe)
..................................
Ran: 34 tests in: 0.05 seconds.
OK
2024-11-19 19:01.13 ---> saved as "a09dd646ef416482fb39c3af706ffe868292b199bb68d392ec8bcefdb2742587"
Job succeeded
2024-11-19 19:01.14: Job succeeded