Organisationsahrefsdevkit901559 (master)fedora-40-4.14_opam-2.3

fedora-40-4.14_opam-2.3

Logs

Show full logs
2025-01-11 17:57.10: New job: test ahrefs/devkit https://github.com/ahrefs/devkit.git#refs/heads/master (9015595026bb383ac10032bc104ebdb509241a96) (linux-x86_64:fedora-40-4.14_opam-2.3)
Base: ocaml/opam:fedora-40-ocaml-4.14@sha256:e14ca5b313f60ab0f191c908ac77bea4a2a5596c716479364d6ac3a5fbd1cc9b
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/ahrefs/devkit.git" -b "master" && cd "devkit" && git reset --hard 90155950
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:fedora-40-ocaml-4.14@sha256:e14ca5b313f60ab0f191c908ac77bea4a2a5596c716479364d6ac3a5fbd1cc9b
# fedora-40-4.14_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 84f0fe59c54c014ec00b31a1f0699ac6371b3498 || git fetch origin master) && git reset -q --hard 84f0fe59c54c014ec00b31a1f0699ac6371b3498 && 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-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.8.0 csexp.1.5.2 dune.3.17.1 dune-configurator.3.17.1 extlib.1.8.0 extunix.0.4.3 host-arch-x86_64.1 host-system-other.1 libevent.0.9.0 lwt.5.9.0 lwt_ppx.5.8.0 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.6 ocplib-endian.1.2 ocurl.0.9.2 ounit2.2.2.7 pcre.8.0.2 ppx_derivers.1.2.1 ppxlib.0.34.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

2025-01-11 17:57.10: Using cache hint "ahrefs/devkit-ocaml/opam:fedora-40-ocaml-4.14@sha256:e14ca5b313f60ab0f191c908ac77bea4a2a5596c716479364d6ac3a5fbd1cc9b-fedora-40-4.14_opam-2.3-f89103381b53ee89fc6a38ef706494f5"
2025-01-11 17:57.10: Using OBuilder spec:
((from ocaml/opam:fedora-40-ocaml-4.14@sha256:e14ca5b313f60ab0f191c908ac77bea4a2a5596c716479364d6ac3a5fbd1cc9b)
 (comment fedora-40-4.14_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 84f0fe59c54c014ec00b31a1f0699ac6371b3498 || git fetch origin master) && git reset -q --hard 84f0fe59c54c014ec00b31a1f0699ac6371b3498 && 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-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.8.0 csexp.1.5.2 dune.3.17.1 dune-configurator.3.17.1 extlib.1.8.0 extunix.0.4.3 host-arch-x86_64.1 host-system-other.1 libevent.0.9.0 lwt.5.9.0 lwt_ppx.5.8.0 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.6 ocplib-endian.1.2 ocurl.0.9.2 ounit2.2.2.7 pcre.8.0.2 ppx_derivers.1.2.1 ppxlib.0.34.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"))
)

2025-01-11 17:57.10: Waiting for resource in pool OCluster
2025-01-11 17:58.30: Waiting for worker…
2025-01-11 18:03.10: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
HEAD is now at 9015595 web,otel: add url to span name (#28)

(from ocaml/opam:fedora-40-ocaml-4.14@sha256:e14ca5b313f60ab0f191c908ac77bea4a2a5596c716479364d6ac3a5fbd1cc9b)
2025-01-11 18:03.11 ---> using "0cd0bcae094bb98a173c972be1f7d6646dba4a81c51c3afc962a74429f8c4a78" from cache

/: (comment fedora-40-4.14_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                              161 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                    175 kB/s |  25 kB     00:00    
Fedora 40 - x86_64 - Updates                    8.0 MB/s | 6.1 MB     00:00    
Package findutils-1:4.9.0-9.fc40.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
2025-01-11 18:03.11 ---> using "7b48ff33e7e961bb97d4a9ff04d61756c7b6b5f09a7be735dd2ba74b14747447" from cache

/src: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-01-11 18:03.11 ---> using "783c94e1333d66b579b9cf75f107d119c2125bb7c6804141e4d91ddd142d5b7c" 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
[NOTE] The 'jobs' option was reset, its value was 31 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=31 --global
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2025-01-11 18:03.11 ---> using "7901be321c90d4117e0345b096f73770cf75189e16f7010896d1084764a5240a" from cache

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-130-generic
The OCaml toplevel, version 4.14.2
2.3.0
2025-01-11 18:03.11 ---> using "07a7f805fac1393c8f827ef29ac2a031d5e0581416298ae13a5a44b5a2b1c7d8" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2025-01-11 18:03.11 ---> using "a1a5362a992d1f0a1b9c108601e9d1b573f61fed5e7b20c6c6702eabda9f43f1" from cache

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e 84f0fe59c54c014ec00b31a1f0699ac6371b3498 || git fetch origin master) && git reset -q --hard 84f0fe59c54c014ec00b31a1f0699ac6371b3498 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   de786e28db..84f0fe59c5  master     -> origin/master
84f0fe59c5 Merge pull request #27222 from mmottl/release-pcre-8.0.2

<><> 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)
2025-01-11 18:03.11 ---> using "541dcb191ac73374a7f27654d4b6b21eaca7471dd3beb2c71679db6853f0f712" from cache

/src: (copy (src devkit.opam) (dst ./))
2025-01-11 18:03.11 ---> saved as "ce5beaf8b48ba8b425f2e45679a52a806b0e9eebc1bcce471879116ed82d8c0a"

/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-01-11 18:03.12 ---> saved as "19fd6cd517b06b679fa37f41ceb2cabfe0bd4c7d367d1e0323eba0dcdbdf3864"

/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.3 conf-zlib.1 cppo.1.8.0 csexp.1.5.2 dune.3.17.1 dune-configurator.3.17.1 extlib.1.8.0 extunix.0.4.3 host-arch-x86_64.1 host-system-other.1 libevent.0.9.0 lwt.5.9.0 lwt_ppx.5.8.0 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.6 ocplib-endian.1.2 ocurl.0.9.2 ounit2.2.2.7 pcre.8.0.2 ppx_derivers.1.2.1 ppxlib.0.34.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                              151 kB/s |  27 kB     00:00    
- Fedora 40 openh264 (From Cisco) - x86_64        9.4 kB/s | 989  B     00:00    
- Fedora 40 - x86_64 - Updates                    205 kB/s |  26 kB     00:00    
- Fedora 40 - x86_64 - Updates                    7.0 MB/s | 4.1 MB     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 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 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-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:15 ago on Sat Jan 11 18:03:14 2025.
- 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        385 kB/s |  26 kB     00:00    
- (2/9): libevent-devel-2.1.12-12.fc40.x86_64.rpm 1.0 MB/s | 100 kB     00:00    
- (3/9): pcre-8.45-1.fc40.6.x86_64.rpm            1.3 MB/s | 204 kB     00:00    
- (4/9): pcre-utf16-8.45-1.fc40.6.x86_64.rpm      1.7 MB/s | 189 kB     00:00    
- (5/9): pcre-utf32-8.45-1.fc40.6.x86_64.rpm      2.0 MB/s | 178 kB     00:00    
- (6/9): cmake-filesystem-3.30.5-1.fc40.x86_64.rp 286 kB/s |  17 kB     00:00    
- (7/9): pcre-devel-8.45-1.fc40.6.x86_64.rpm      2.3 MB/s | 490 kB     00:00    
- (8/9): zlib-ng-compat-devel-2.1.7-2.fc40.x86_64 2.3 MB/s |  38 kB     00:00    
- (9/9): libcurl-devel-8.6.0-10.fc40.x86_64.rpm   8.0 MB/s | 851 kB     00:00    
- --------------------------------------------------------------------------------
- Total                                           3.4 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
2025-01-11 18:03.31 ---> saved as "20ad037e8d0e31125127f2343788647b15729a873a09722859206e1551f6aba3"

/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 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-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.8.0
  - install csexp               1.5.2
  - install dune                3.17.1
  - install dune-configurator   3.17.1
  - install extlib              1.8.0
  - install extunix             0.4.3
  - install libevent            0.9.0
  - install lwt                 5.9.0
  - install lwt_ppx             5.8.0
  - install ocaml-compiler-libs v0.12.4
  - install ocamlfind           1.9.6
  - install ocplib-endian       1.2
  - install ocurl               0.9.2
  - install ounit2              2.2.7
  - install pcre                8.0.2
  - install ppx_derivers        1.2.1
  - install ppxlib              0.34.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.8.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.3  (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 ocaml-compiler-libs.v0.12.4  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved ocamlfind.1.9.6  (cached)
-> retrieved ocurl.0.9.2  (cached)
-> retrieved ounit2.2.2.7  (cached)
-> retrieved pcre.8.0.2  (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.8  (cached)
-> retrieved yojson.2.2.2  (cached)
-> retrieved ppxlib.0.34.0  (cached)
-> retrieved dune.3.17.1, dune-configurator.3.17.1  (cached)
-> installed ocamlfind.1.9.6
-> installed base-bytes.base
-> installed libevent.0.9.0
-> installed camlzip.1.13
-> installed dune.3.17.1
-> installed ppx_derivers.1.2.1
-> installed stdlib-shims.0.3.0
-> installed csexp.1.5.2
-> installed cppo.1.8.0
-> installed ocaml-compiler-libs.v0.12.4
-> installed sexplib0.v0.17.0
-> installed ounit2.2.2.7
-> installed trace.0.8
-> installed yojson.2.2.2
-> installed ocplib-endian.1.2
-> installed extlib.1.8.0
-> installed dune-configurator.3.17.1
-> installed pcre.8.0.2
-> installed lwt.5.9.0
-> installed ppxlib.0.34.0
-> installed lwt_ppx.5.8.0
-> installed extunix.0.4.3
-> installed ocurl.0.9.2
Done.
# To update the current shell environment, run: eval $(opam env)
2025-01-11 18:04.46 ---> saved as "bcf3de4fc457a609e34ad1a2c91c19098ad05bbccab41cd2b77680473274eee1"

/src: (copy (src .) (dst /src))
2025-01-11 18:04.46 ---> saved as "4c83d8c8da56305d094cd0b2bb2d36ad7a9f43a6bcd72ccbab7090eaa3c25cb8"

/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default && ./test.exe)
..................................
Ran: 34 tests in: 0.06 seconds.
OK
2025-01-11 18:04.49 ---> saved as "1bb45b505dc02bb4fcbec2aa2e640bdfea2d8377017de23680163c9d7722a907"
Job succeeded
2025-01-11 18:04.50: Job succeeded