2025-09-29 11:33.29: New job: test tarides/mongoc-ocaml https://github.com/tarides/mongoc-ocaml.git#refs/heads/main (042080ab77ab888069120fa0910b9b4c87e6e274) (linux-x86_64:fedora-41-5.3_opam-2.4)
Base: ocaml/opam:fedora-41-ocaml-5.3@sha256:5c8f0aacf7cb2998d794c4e3dcbcb2c602975f90c4cf7eb5eb2dd2f23332f137
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/tarides/mongoc-ocaml.git" -b "main" && cd "mongoc-ocaml" && git reset --hard 042080ab
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:fedora-41-ocaml-5.3@sha256:5c8f0aacf7cb2998d794c4e3dcbcb2c602975f90c4cf7eb5eb2dd2f23332f137
# fedora-41-5.3_opam-2.4
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.4 /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 dbd126f1b3e13b70b1010ac087a896c6f0d80bc5 || git fetch origin master) && git reset -q --hard dbd126f1b3e13b70b1010ac087a896c6f0d80bc5 && 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-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base bigarray-compat.1.1.0 cmdliner.2.0.0 conf-pkg-config.4 csexp.1.5.2 ctypes.0.23.0 dune.3.20.2 dune-configurator.3.20.2 integers.0.7.0 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1 stdlib-shims.0.3.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.4 --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-09-29 11:33.29: Using cache hint "tarides/mongoc-ocaml-ocaml/opam:fedora-41-ocaml-5.3@sha256:5c8f0aacf7cb2998d794c4e3dcbcb2c602975f90c4cf7eb5eb2dd2f23332f137-fedora-41-5.3_opam-2.4-029a6f504d6fd41451b57ffcabaa4a38"
2025-09-29 11:33.29: Using OBuilder spec:
((from ocaml/opam:fedora-41-ocaml-5.3@sha256:5c8f0aacf7cb2998d794c4e3dcbcb2c602975f90c4cf7eb5eb2dd2f23332f137)
(comment fedora-41-5.3_opam-2.4)
(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.4 /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 dbd126f1b3e13b70b1010ac087a896c6f0d80bc5 || git fetch origin master) && git reset -q --hard dbd126f1b3e13b70b1010ac087a896c6f0d80bc5 && 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-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base bigarray-compat.1.1.0 cmdliner.2.0.0 conf-pkg-config.4 csexp.1.5.2 ctypes.0.23.0 dune.3.20.2 dune-configurator.3.20.2 integers.0.7.0 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 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.4 --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-09-29 11:33.29: Waiting for resource in pool OCluster
2025-09-29 12:03.47: Waiting for worker…
2025-09-29 12:06.29: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
HEAD is now at 042080a Merge pull request #2 from tarides/ci
(from ocaml/opam:fedora-41-ocaml-5.3@sha256:5c8f0aacf7cb2998d794c4e3dcbcb2c602975f90c4cf7eb5eb2dd2f23332f137)
2025-09-29 12:06.29 ---> using "be9a06297631f7f79d999c044f2c42a58e095ca3b69d8515739b94b6473b3c33" from cache
/: (comment fedora-41-5.3_opam-2.4)
/: (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 - x86_64 - Updates 100% | 11.1 KiB/s | 7.7 KiB | 00m01s
Fedora 41 - x86_64 100% | 115.1 KiB/s | 27.2 KiB | 00m00s
Fedora 41 openh264 (From Cisco) - x86_ 100% | 8.4 KiB/s | 986.0 B | 00m00s
Repositories loaded.
Package "findutils-1:4.10.0-4.fc41.x86_64" is already installed.
Nothing to do.
2025-09-29 12:06.29 ---> using "b832f17aed08c7f5a6c8273f59bac5b8f8ca95ac91fcaffc7c6dfa98a54d7519" from cache
/src: (run (shell "sudo ln -f /usr/bin/opam-2.4 /usr/bin/opam"))
2025-09-29 12:06.29 ---> using "319f6790d7cf9d26c9f07365b2e2cc06ce69438411278d77a94a58a31777d685" 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] Initialised
2025-09-29 12:06.29 ---> using "c84a22e1e1c4b1af4fbec5fe3f2f0367c1b71038b9db10fde30758292c7b1e71" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-142-generic
The OCaml toplevel, version 5.3.0
2.4.1
2025-09-29 12:06.29 ---> using "9e62d718a1e775c4c8ffb889e1cdd5c7f42df2840638f73aa20158ba3ad522e6" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-09-29 12:06.29 ---> using "437606f3f801a3aa9dd5c2fdea159ac969ede0f92f9ea2e21a85075644fd70cb" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e dbd126f1b3e13b70b1010ac087a896c6f0d80bc5 || git fetch origin master) && git reset -q --hard dbd126f1b3e13b70b1010ac087a896c6f0d80bc5 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
bcac5d1731..5ea7156510 master -> origin/master
dbd126f1b3 Merge pull request #28599 from dbuenzli/b0-publish-cmdliner.2.0.0
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+file:///home/opam/opam-repository
Already up-to-date.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2025-09-29 12:06.48 ---> saved as "bc121817475af9d42239217a2840106971b6f210023aef922d1691ae8cdc4812"
/src: (copy (src mongoc.opam) (dst ./))
2025-09-29 12:06.49 ---> saved as "8513bafabba825406e9a66c1f4301fe6376da4c87faab8d52d549ee15b11267d"
/src: (run (network host)
(shell "opam pin add -yn mongoc.dev './'"))
[NOTE] Package mongoc does not exist in opam repositories registered in the current switch.
[mongoc.dev] synchronised (file:///src)
mongoc is now pinned to file:///src (version dev)
2025-09-29 12:06.49 ---> saved as "5e0dbfd0c1f879fe9ee23fbfba5ec62c279b2346cf3d08dea6c0cd5d4d8343a9"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-09-29 12:06.50 ---> saved as "6ed18e50c60798968287c8061f50fe1de1f8aa6c9a26b968e815651ea775deb9"
/src: (env DEPS "base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base bigarray-compat.1.1.0 cmdliner.2.0.0 conf-pkg-config.4 csexp.1.5.2 ctypes.0.23.0 dune.3.20.2 dune-configurator.3.20.2 integers.0.7.0 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 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.4 --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 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:
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.15.2-1.fc41 updates 3.1 MiB
- libmongocrypt-devel x86_64 1.15.2-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-0:1.30.5-1.fc41. 100% | 208.6 KiB/s | 15.0 KiB | 00m00s
- [ 2/11] snappy-0:1.2.1-2.fc41.x86_64 100% | 942.0 KiB/s | 39.6 KiB | 00m00s
- [ 3/11] utf8proc-0:2.7.0-8.fc41.x86_64 100% | 6.1 MiB/s | 80.5 KiB | 00m00s
- [ 4/11] mongo-c-driver-libs-0:1.30.5-1. 100% | 2.9 MiB/s | 392.9 KiB | 00m00s
- [ 5/11] mongo-c-driver-devel-0:1.30.5-1 100% | 6.9 MiB/s | 1.1 MiB | 00m00s
- [ 6/11] cmake-filesystem-0:3.30.8-1.fc4 100% | 885.0 KiB/s | 16.8 KiB | 00m00s
- [ 7/11] libbson-0:1.30.5-1.fc41.x86_64 100% | 1.8 MiB/s | 104.0 KiB | 00m00s
- [ 8/11] libmongocrypt-0:1.15.2-1.fc41.x 100% | 15.9 MiB/s | 1.4 MiB | 00m00s
- [ 9/11] libbson-devel-0:1.30.5-1.fc41.x 100% | 7.0 MiB/s | 339.1 KiB | 00m00s
- [10/11] libmongocrypt-devel-0:1.15.2-1. 100% | 5.2 MiB/s | 207.1 KiB | 00m00s
- [11/11] libzstd-devel-0:1.5.7-1.fc41.x8 100% | 3.2 MiB/s | 53.1 KiB | 00m00s
- --------------------------------------------------------------------------------
- [11/11] Total 100% | 6.4 MiB/s | 3.7 MiB | 00m01s
- Running transaction
- [ 1/13] Verify package files 100% | 785.0 B/s | 11.0 B | 00m00s
- [ 2/13] Prepare transaction 100% | 183.0 B/s | 11.0 B | 00m00s
- [ 3/13] Installing cmake-filesystem-0:3 100% | 1.4 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.15 100% | 280.2 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% | 251.9 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% | 35.6 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% | 19.2 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-09-29 12:06.58 ---> saved as "da7d583aa090addda091a15f82099fca4e184cf5fbe6b6b9d917fbab2852f45a"
/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 9 packages
- install bigarray-compat 1.1.0
- install cmdliner 2.0.0
- install conf-pkg-config 4
- install csexp 1.5.2
- install ctypes 0.23.0
- install dune 3.20.2
- install dune-configurator 3.20.2
- install integers 0.7.0
- install stdlib-shims 0.3.0
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved bigarray-compat.1.1.0 (cached)
-> retrieved cmdliner.2.0.0 (cached)
-> retrieved csexp.1.5.2 (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.20.2, dune-configurator.3.20.2 (cached)
-> installed cmdliner.2.0.0
-> installed dune.3.20.2
-> installed csexp.1.5.2
-> installed bigarray-compat.1.1.0
-> installed stdlib-shims.0.3.0
-> installed integers.0.7.0
-> installed dune-configurator.3.20.2
-> installed ctypes.0.23.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-09-29 12:07.34 ---> saved as "95a5480fdf73e31924a9f028619336e49e23ab6569657aac4320dc732d8e0c44"
/src: (copy (src .) (dst /src))
2025-09-29 12:07.34 ---> saved as "e2c0962daa881d86e18e4bc195eedae03c29b7977c882b53f96ac4e46750835a"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
2025-09-29 12:07.36 ---> saved as "96b579c291158a156fd0b606fc12f4edb1194754bdb5a5b45aa2701c826c396e"
Job succeeded
2025-09-29 12:07.37: Job succeeded