Organisationstaridesmongoc-ocamld2be26 ()fedora-41-4.14_opam-2.3

fedora-41-4.14_opam-2.3

Logs

Show full logs
2025-07-25 21:33.19: New job: test tarides/mongoc-ocaml https://github.com/tarides/mongoc-ocaml.git#refs/heads/ci (d2be269f2eac159b400a9b311e310ec00b65e329) (linux-x86_64:fedora-41-4.14_opam-2.3)
Base: ocaml/opam:fedora-41-ocaml-4.14@sha256:d029bb07fdc86fc0077b3d60df3e0d891a217cc294749b9405a485154d02d63c
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/tarides/mongoc-ocaml.git" -b "ci" && cd "mongoc-ocaml" && git reset --hard d2be269f
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:fedora-41-ocaml-4.14@sha256:d029bb07fdc86fc0077b3d60df3e0d891a217cc294749b9405a485154d02d63c
# fedora-41-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 b8021439f8c57ba6435bc2263f6596671f4f4466 || git fetch origin master) && git reset -q --hard b8021439f8c57ba6435bc2263f6596671f4f4466 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 mongoc.opam ./
RUN opam pin add -yn mongoc.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="base-bigarray.base base-threads.base base-unix.base bigarray-compat.1.1.0 cmdliner.1.3.0 conf-pkg-config.4 csexp.1.5.2 ctypes.0.23.0 dune.3.19.1 dune-configurator.3.19.1 integers.0.7.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 stdlib-shims.0.3.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y mongoc.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-07-25 21:33.19: Using cache hint "tarides/mongoc-ocaml-ocaml/opam:fedora-41-ocaml-4.14@sha256:d029bb07fdc86fc0077b3d60df3e0d891a217cc294749b9405a485154d02d63c-fedora-41-4.14_opam-2.3-e0530d897ef2eb91ba32fd3d6b7755ff"
2025-07-25 21:33.19: Using OBuilder spec:
((from ocaml/opam:fedora-41-ocaml-4.14@sha256:d029bb07fdc86fc0077b3d60df3e0d891a217cc294749b9405a485154d02d63c)
 (comment fedora-41-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 b8021439f8c57ba6435bc2263f6596671f4f4466 || git fetch origin master) && git reset -q --hard b8021439f8c57ba6435bc2263f6596671f4f4466 && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src mongoc.opam) (dst ./))
 (run (network host)
      (shell "opam pin add -yn mongoc.dev './'"))
 (run (network host)
      (shell "echo '(lang dune 3.0)' > './dune-project'"))
 (env DEPS "base-bigarray.base base-threads.base base-unix.base bigarray-compat.1.1.0 cmdliner.1.3.0 conf-pkg-config.4 csexp.1.5.2 ctypes.0.23.0 dune.3.19.1 dune-configurator.3.19.1 integers.0.7.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 stdlib-shims.0.3.0")
 (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 mongoc.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-07-25 21:33.19: Waiting for resource in pool OCluster
2025-07-25 22:22.44: Waiting for worker…
2025-07-25 22:27.25: Got resource from pool OCluster
Building on odawa.caelum.ci.dev
All commits already cached
HEAD is now at d2be269 Fix ocaml-ci

(from ocaml/opam:fedora-41-ocaml-4.14@sha256:d029bb07fdc86fc0077b3d60df3e0d891a217cc294749b9405a485154d02d63c)
2025-07-25 22:42.09 ---> using "18d6feab602596214eeb149f46ddb24e9874e92914178e61bfb951dd3ccb908c" from cache

/: (comment fedora-41-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"))
Updating and loading repositories:
 Fedora 41 openh264 (From Cisco) - x86_ 100% |  10.6 KiB/s | 986.0   B |  00m00s
 Fedora 41 - x86_64                     100% | 229.8 KiB/s |  26.2 KiB |  00m00s
 Fedora 41 - x86_64 - Updates           100% | 214.3 KiB/s |  25.1 KiB |  00m00s
 Fedora 41 - x86_64 - Updates           100% |   5.3 MiB/s |   5.1 MiB |  00m01s
Repositories loaded.
Package "findutils-1:4.10.0-4.fc41.x86_64" is already installed.

Nothing to do.
2025-07-25 22:42.09 ---> using "6cc9ceb4d43adb8d5d56046517c955f334d4a9eafd05992728a7e7543c3592e4" from cache

/src: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-07-25 22:42.09 ---> using "169e516b3252b3df3b90ba3ad537ff080c58c77d3d6113b474736793a2b25dd5" 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 71 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=71 --global
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-07-25 22:42.09 ---> using "ac5d30093458b905e24daa6638b949233c08260de9723e47fed193683d93ca72" from cache

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-60-generic
The OCaml toplevel, version 4.14.2
2.3.0
2025-07-25 22:42.09 ---> using "14af4cc24afbf9a3f6e64a75bf084667a95382ba594ad0c8ef270f361ee6fda7" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2025-07-25 22:42.09 ---> using "b4003382223b2ee3387287ea91dad43e693d50b56f7be6de02887a0aff683a24" from cache

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e b8021439f8c57ba6435bc2263f6596671f4f4466 || git fetch origin master) && git reset -q --hard b8021439f8c57ba6435bc2263f6596671f4f4466 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   0094db1438..b8021439f8  master     -> origin/master
b8021439f8 Merge pull request #28261 from kit-ty-kate/deploy-fix-25819

<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+file:///home/opam/opam-repository

The following actions will be performed:
=== recompile 2 packages
  - recompile ocaml       4.14.2 [upstream or system changes]
  - recompile opam-depext 1.2.3  [uses ocaml]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved opam-depext.1.2.3  (cached)
-> removed   opam-depext.1.2.3
-> removed   ocaml.4.14.2
-> installed ocaml.4.14.2
-> installed opam-depext.1.2.3
Done.

<><> opam-depext.1.2.3 installed successfully <><><><><><><><><><><><><><><><><>
=> opam-depext is unnecessary when used with opam >= 2.1. Please use opam install directly instead
# To update the current shell environment, run: eval $(opam env)
2025-07-25 22:42.09 ---> using "8fb654402bcc73c9d1d4e79c0eaf9f2572025e8b73d2f7ffc52e860e21f4998e" from cache

/src: (copy (src mongoc.opam) (dst ./))
2025-07-25 22:42.09 ---> saved as "9613ece3c06e4621ccf62dde46e09d49f7de53274aa7aa965eb36ef24684fef3"

/src: (run (network host)
           (shell "opam pin add -yn mongoc.dev './'"))
Package mongoc does not exist, create as a NEW package? [y/n] y
[mongoc.dev] synchronised (file:///src)
mongoc is now pinned to file:///src (version dev)
2025-07-25 22:42.10 ---> saved as "3eb9c6d9105628d6d07c35745dc1332276fec423c9dd6e7e5ba689e24f52baf7"

/src: (run (network host)
           (shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-07-25 22:42.10 ---> saved as "34e6f21ab9650ccece80c71f3101ba19e9dba4d2219b33ded0f143e005e177fa"

/src: (env DEPS "base-bigarray.base base-threads.base base-unix.base bigarray-compat.1.1.0 cmdliner.1.3.0 conf-pkg-config.4 csexp.1.5.2 ctypes.0.23.0 dune.3.19.1 dune-configurator.3.19.1 integers.0.7.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 stdlib-shims.0.3.0")

/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 mongoc.dev $DEPS"))
+ /usr/bin/sudo "yum" "makecache"
- Updating and loading repositories:
- Repositories loaded.
- Metadata cache created.

<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[mongoc.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:
    mongo-c-driver-devel

<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>

+ /usr/bin/sudo "yum" "install" "-y" "mongo-c-driver-devel"
- Updating and loading repositories:
- Repositories loaded.
- Package               Arch   Version       Repository      Size
- Installing:
-  mongo-c-driver-devel x86_64 1.30.5-1.fc41 updates      1.2 MiB
- Installing dependencies:
-  cmake-filesystem     x86_64 3.30.8-1.fc41 updates      0.0   B
-  libbson              x86_64 1.30.5-1.fc41 updates    265.0 KiB
-  libbson-devel        x86_64 1.30.5-1.fc41 updates    491.8 KiB
-  libmongocrypt        x86_64 1.14.1-1.fc41 updates      3.1 MiB
-  libmongocrypt-devel  x86_64 1.14.1-1.fc41 updates      1.2 MiB
-  libzstd-devel        x86_64 1.5.7-1.fc41  updates    208.0 KiB
-  mongo-c-driver       x86_64 1.30.5-1.fc41 updates     15.7 KiB
-  mongo-c-driver-libs  x86_64 1.30.5-1.fc41 updates      1.1 MiB
-  snappy               x86_64 1.2.1-2.fc41  fedora      71.1 KiB
-  utf8proc             x86_64 2.7.0-8.fc41  fedora     362.4 KiB
- 
- Transaction Summary:
-  Installing:        11 packages
- 
- Total size of inbound packages is 4 MiB. Need to download 4 MiB.
- After this operation, 8 MiB extra will be used (install 8 MiB, remove 0 B).
- [ 1/11] mongo-c-driver-libs-0:1.30.5-1. 100% |   2.0 MiB/s | 392.9 KiB |  00m00s
- [ 2/11] mongo-c-driver-0:1.30.5-1.fc41. 100% |  67.4 KiB/s |  15.0 KiB |  00m00s
- [ 3/11] mongo-c-driver-devel-0:1.30.5-1 100% |   4.3 MiB/s |   1.1 MiB |  00m00s
- [ 4/11] snappy-0:1.2.1-2.fc41.x86_64    100% | 284.6 KiB/s |  39.6 KiB |  00m00s
- [ 5/11] utf8proc-0:2.7.0-8.fc41.x86_64  100% | 419.5 KiB/s |  80.5 KiB |  00m00s
- [ 6/11] libbson-0:1.30.5-1.fc41.x86_64  100% | 460.2 KiB/s | 104.0 KiB |  00m00s
- [ 7/11] libmongocrypt-0:1.14.1-1.fc41.x 100% |   9.2 MiB/s |   1.4 MiB |  00m00s
- [ 8/11] libmongocrypt-devel-0:1.14.1-1. 100% |   4.1 MiB/s | 206.1 KiB |  00m00s
- [ 9/11] cmake-filesystem-0:3.30.8-1.fc4 100% | 142.5 KiB/s |  16.8 KiB |  00m00s
- [10/11] libbson-devel-0:1.30.5-1.fc41.x 100% |   3.8 MiB/s | 339.1 KiB |  00m00s
- [11/11] libzstd-devel-0:1.5.7-1.fc41.x8 100% | 804.5 KiB/s |  53.1 KiB |  00m00s
- --------------------------------------------------------------------------------
- [11/11] Total                           100% |   4.3 MiB/s |   3.7 MiB |  00m01s
- Running transaction
- [ 1/13] Verify package files            100% | 846.0   B/s |  11.0   B |  00m00s
- [ 2/13] Prepare transaction             100% | 224.0   B/s |  11.0   B |  00m00s
- [ 3/13] Installing cmake-filesystem-0:3 100% |   1.8 MiB/s |   7.3 KiB |  00m00s
- [ 4/13] Installing libbson-0:1.30.5-1.f 100% | 130.0 MiB/s | 266.3 KiB |  00m00s
- [ 5/13] Installing libmongocrypt-0:1.14 100% | 307.4 MiB/s |   3.1 MiB |  00m00s
- [ 6/13] Installing libbson-devel-0:1.30 100% |  87.9 MiB/s | 540.1 KiB |  00m00s
- [ 7/13] Installing libmongocrypt-devel- 100% | 250.4 MiB/s |   1.3 MiB |  00m00s
- [ 8/13] Installing libzstd-devel-0:1.5. 100% | 203.9 MiB/s | 208.8 KiB |  00m00s
- [ 9/13] Installing utf8proc-0:2.7.0-8.f 100% | 177.6 MiB/s | 363.8 KiB |  00m00s
- [10/13] Installing snappy-0:1.2.1-2.fc4 100% |  71.1 MiB/s |  72.8 KiB |  00m00s
- [11/13] Installing mongo-c-driver-libs- 100% | 220.2 MiB/s |   1.1 MiB |  00m00s
- [12/13] Installing mongo-c-driver-0:1.3 100% |   5.3 MiB/s |  16.4 KiB |  00m00s
- [13/13] Installing mongo-c-driver-devel 100% |  23.4 MiB/s |   1.4 MiB |  00m00s
- Complete!
+ /usr/bin/rpm "-q" "--whatprovides" "mongo-c-driver-devel"
- mongo-c-driver-devel-1.30.5-1.fc41.x86_64
2025-07-25 22:42.18 ---> saved as "274c32f72ecd5c9e66e051abd22e1c674ca79a18085548c9a9925d1c64da13d8"

/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 9 packages
  - install bigarray-compat   1.1.0
  - install cmdliner          1.3.0
  - install conf-pkg-config   4
  - install csexp             1.5.2
  - install ctypes            0.23.0
  - install dune              3.19.1
  - install dune-configurator 3.19.1
  - install integers          0.7.0
  - install stdlib-shims      0.3.0

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved bigarray-compat.1.1.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved cmdliner.1.3.0  (cached)
-> installed conf-pkg-config.4
-> retrieved ctypes.0.23.0  (cached)
-> retrieved integers.0.7.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved dune.3.19.1, dune-configurator.3.19.1  (cached)
-> installed cmdliner.1.3.0
-> installed dune.3.19.1
-> installed stdlib-shims.0.3.0
-> installed csexp.1.5.2
-> installed bigarray-compat.1.1.0
-> installed integers.0.7.0
-> installed dune-configurator.3.19.1
-> installed ctypes.0.23.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-07-25 22:42.49 ---> saved as "877d8b337955ef0dfa4b1e9577146c3548cbc2ed9a2291989f9e90fb4b84215f"

/src: (copy (src .) (dst /src))
2025-07-25 22:42.49 ---> saved as "b52256b678243b411badea1d1e340c278b4b03cae1d6d411f85c2ea925006299"

/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
2025-07-25 22:42.51 ---> saved as "17256d8e1b99ef23cda8c9712ba73621d75f02c3c9fc188f5c5c87194c097b05"
Job succeeded
2025-07-25 22:42.51: Job succeeded