2025-07-09 12:32.20: New job: test tarides/mongoc-ocaml https://github.com/tarides/mongoc-ocaml.git#refs/heads/ci (d2be269f2eac159b400a9b311e310ec00b65e329) (linux-x86_64:fedora-41-5.3_opam-2.3)
Base: ocaml/opam:fedora-41-ocaml-5.3@sha256:9c9878c265d556e4c139e6fa739a2d0dbdc557d2a118c08be5fa8db3a729b600
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-5.3@sha256:9c9878c265d556e4c139e6fa739a2d0dbdc557d2a118c08be5fa8db3a729b600
# fedora-41-5.3_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 a28eb8a148feb4fbc6466fa0791668993513dbde || git fetch origin master) && git reset -q --hard a28eb8a148feb4fbc6466fa0791668993513dbde && 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.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.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.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-09 12:32.20: Using cache hint "tarides/mongoc-ocaml-ocaml/opam:fedora-41-ocaml-5.3@sha256:9c9878c265d556e4c139e6fa739a2d0dbdc557d2a118c08be5fa8db3a729b600-fedora-41-5.3_opam-2.3-5b970a796b5334997fbc490a8ac7eafa"
2025-07-09 12:32.20: Using OBuilder spec:
((from ocaml/opam:fedora-41-ocaml-5.3@sha256:9c9878c265d556e4c139e6fa739a2d0dbdc557d2a118c08be5fa8db3a729b600)
(comment fedora-41-5.3_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 a28eb8a148feb4fbc6466fa0791668993513dbde || git fetch origin master) && git reset -q --hard a28eb8a148feb4fbc6466fa0791668993513dbde && 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.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.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.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-09 12:32.20: Waiting for resource in pool OCluster
2025-07-09 17:22.12: Waiting for worker…
2025-07-09 17:29.07: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
HEAD is now at d2be269 Fix ocaml-ci
(from ocaml/opam:fedora-41-ocaml-5.3@sha256:9c9878c265d556e4c139e6fa739a2d0dbdc557d2a118c08be5fa8db3a729b600)
2025-07-09 17:29.07 ---> using "1017cdba12c807df16d26b380c3f9d26c165fb34368d6db05bcb787061dbdd5e" from cache
/: (comment fedora-41-5.3_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 - x86_64 - Updates 100% | 65.4 KiB/s | 24.8 KiB | 00m00s
Fedora 41 - x86_64 - Updates 100% | 3.3 MiB/s | 3.0 MiB | 00m01s
Repositories loaded.
Package "findutils-1:4.10.0-4.fc41.x86_64" is already installed.
Nothing to do.
2025-07-09 17:29.07 ---> using "074bdb85201a11729f4baf7c82cb0a70ea0753b751b753351526a56f6fd2edfe" from cache
/src: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-07-09 17:29.07 ---> using "71efb981fbc62a2e46bbc11b86d03543cc6ba0a802dac3215ffe9e6b612e0253" 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-09 17:29.07 ---> using "b1aa7adaafb04e3d4b3178194acb2f60116102bec4bbe2e93923281cdfc113cb" 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.3.0
2025-07-09 17:29.07 ---> using "859606f1f6f8d807e33733d1d21dbd1e8fcd18c307059cdd881f714064233699" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-07-09 17:29.07 ---> using "db084252495c8b99f04799d4a3cbeaa2a1e8b3311a413bbc7d5762951c023432" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e a28eb8a148feb4fbc6466fa0791668993513dbde || git fetch origin master) && git reset -q --hard a28eb8a148feb4fbc6466fa0791668993513dbde && git log --no-decorate -n1 --oneline && opam update -u"))
a28eb8a148 Merge pull request #28017 from maiste/release-dune-3.19.1
<><> 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-07-09 17:29.07 ---> using "51b260d296252d0c213bbd1c81f7cc2cbe38ef257f341d8b24f4f17314d782e3" from cache
/src: (copy (src mongoc.opam) (dst ./))
2025-07-09 17:29.07 ---> saved as "aaae62d53bede2b44076f8abec3006dd49dd88f1929b078f159e663b6296e2c2"
/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-09 17:29.08 ---> saved as "7e701f4d26dcd6adb9349af63a39e844fc47be93f9d1f9a65be67547dcea2f5e"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-07-09 17:29.08 ---> saved as "997db4dbad2747cf23090d7044d29f3bdb96a328e7f9de0ada8ad10f694243cd"
/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.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.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.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 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.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-0:1.30.5-1.fc41. 100% | 151.7 KiB/s | 15.0 KiB | 00m00s
- [ 2/11] snappy-0:1.2.1-2.fc41.x86_64 100% | 1.1 MiB/s | 39.6 KiB | 00m00s
- [ 3/11] mongo-c-driver-devel-0:1.30.5-1 100% | 7.1 MiB/s | 1.1 MiB | 00m00s
- [ 4/11] mongo-c-driver-libs-0:1.30.5-1. 100% | 2.4 MiB/s | 392.9 KiB | 00m00s
- [ 5/11] utf8proc-0:2.7.0-8.fc41.x86_64 100% | 2.0 MiB/s | 80.5 KiB | 00m00s
- [ 6/11] cmake-filesystem-0:3.30.8-1.fc4 100% | 2.1 MiB/s | 16.8 KiB | 00m00s
- [ 7/11] libbson-0:1.30.5-1.fc41.x86_64 100% | 1.9 MiB/s | 104.0 KiB | 00m00s
- [ 8/11] libmongocrypt-devel-0:1.14.1-1. 100% | 5.4 MiB/s | 206.1 KiB | 00m00s
- [ 9/11] libzstd-devel-0:1.5.7-1.fc41.x8 100% | 5.8 MiB/s | 53.1 KiB | 00m00s
- [10/11] libmongocrypt-0:1.14.1-1.fc41.x 100% | 11.3 MiB/s | 1.4 MiB | 00m00s
- [11/11] libbson-devel-0:1.30.5-1.fc41.x 100% | 3.2 MiB/s | 339.1 KiB | 00m00s
- --------------------------------------------------------------------------------
- [11/11] Total 100% | 6.6 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.14 100% | 279.5 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% | 21.3 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-09 17:29.20 ---> saved as "b26cba767afc0acfc952e450aeb0793163d1379c9b615084e5ca31ea170a83c7"
/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 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 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.19.1
-> installed ctypes.0.23.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-07-09 17:30.03 ---> saved as "20f68552f466f5d64e91fd0ebf022330b86e0248eee9fa22b93cfd61ce7d9a6b"
/src: (copy (src .) (dst /src))
2025-07-09 17:30.04 ---> saved as "33d659036964f325edcd8ee4180ef4b670d65ce9fca02228b8159b8c6a3d926e"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
2025-07-09 17:30.06 ---> saved as "0778c54752fe76a22858da52e4afa7d7d3632e9498010d161a8117bd70d093a3"
Job succeeded
2025-07-09 17:30.06: Job succeeded