Organisationstaridesmongoc-ocaml042080 (main)fedora-42-5.4_opam-2.5

fedora-42-5.4_opam-2.5

Link Copied
Code Copied

Logs

2026-04-03 11:36.16: New job: test tarides/mongoc-ocaml https://github.com/tarides/mongoc-ocaml.git#refs/heads/main (042080ab77ab888069120fa0910b9b4c87e6e274) (linux-x86_64:fedora-42-5.4_opam-2.5)
Base: ocaml/opam:fedora-42-ocaml-5.4@sha256:31a7434d1de367a9ff4870003a1d7af0a9940077b3c821e0a7de41ef1d94cdf9
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-42-ocaml-5.4@sha256:31a7434d1de367a9ff4870003a1d7af0a9940077b3c821e0a7de41ef1d94cdf9
# fedora-42-5.4_opam-2.5
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.5 /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 d06cfb1853afceb1dc127f88edaac3f8110bf6cc || git fetch origin master) && git reset -q --hard d06cfb1853afceb1dc127f88edaac3f8110bf6cc && 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 cmdliner.2.1.0 conf-pkg-config.4 csexp.1.5.2 ctypes.0.24.0 dune.3.22.1 dune-configurator.3.22.1 integers.0.7.0 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.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.5 --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


2026-04-03 11:36.16: Using cache hint "tarides/mongoc-ocaml-ocaml/opam:fedora-42-ocaml-5.4@sha256:31a7434d1de367a9ff4870003a1d7af0a9940077b3c821e0a7de41ef1d94cdf9-fedora-42-5.4_opam-2.5-48f329bb723c392cfc5a0cc6d2e046dd"
2026-04-03 11:36.16: Using OBuilder spec:
((from ocaml/opam:fedora-42-ocaml-5.4@sha256:31a7434d1de367a9ff4870003a1d7af0a9940077b3c821e0a7de41ef1d94cdf9)
(comment fedora-42-5.4_opam-2.5)
(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.5 /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 d06cfb1853afceb1dc127f88edaac3f8110bf6cc || git fetch origin master) && git reset -q --hard d06cfb1853afceb1dc127f88edaac3f8110bf6cc && 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 (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 cmdliner.2.1.0 conf-pkg-config.4 csexp.1.5.2 ctypes.0.24.0 dune.3.22.1 dune-configurator.3.22.1 integers.0.7.0 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.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.5 --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"))
)


2026-04-03 11:36.16: Waiting for resource in pool OCluster
2026-04-03 14:17.02: Waiting for worker…
2026-04-03 14:20.00: 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-42-ocaml-5.4@sha256:31a7434d1de367a9ff4870003a1d7af0a9940077b3c821e0a7de41ef1d94cdf9)
Unable to find image 'ocaml/opam:fedora-42-ocaml-5.4@sha256:31a7434d1de367a9ff4870003a1d7af0a9940077b3c821e0a7de41ef1d94cdf9' locally
docker.io/ocaml/opam@sha256:31a7434d1de367a9ff4870003a1d7af0a9940077b3c821e0a7de41ef1d94cdf9: Pulling from ocaml/opam
8864f7ce221a: Pulling fs layer
fa32c4141cf1: Pulling fs layer
26f7a7dc558b: Pulling fs layer
6862e7f75177: Pulling fs layer
5f0745ea34a6: Pulling fs layer
2bd31c16646d: Pulling fs layer
fa32c4141cf1: Waiting
5f0745ea34a6: Waiting
26f7a7dc558b: Waiting
6862e7f75177: Waiting
2bd31c16646d: Waiting
8864f7ce221a: Verifying Checksum
8864f7ce221a: Download complete
fa32c4141cf1: Verifying Checksum
fa32c4141cf1: Download complete
26f7a7dc558b: Verifying Checksum
26f7a7dc558b: Download complete
6862e7f75177: Download complete
5f0745ea34a6: Download complete
2bd31c16646d: Verifying Checksum
2bd31c16646d: Download complete
8864f7ce221a: Pull complete
fa32c4141cf1: Pull complete
26f7a7dc558b: Pull complete
6862e7f75177: Pull complete
5f0745ea34a6: Pull complete
2bd31c16646d: Pull complete
Digest: sha256:31a7434d1de367a9ff4870003a1d7af0a9940077b3c821e0a7de41ef1d94cdf9
Status: Downloaded newer image for ocaml/opam@sha256:31a7434d1de367a9ff4870003a1d7af0a9940077b3c821e0a7de41ef1d94cdf9
2026-04-03 14:20.02 ---> using "7475aab050e630f181222e2bcfd2f2ccc93ea244c4604746c566288291c5f731" from cache


/: (comment fedora-42-5.4_opam-2.5)


/: (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 42 - x86_64 - Updates           100% |   2.7 KiB/s |   7.0 KiB |  00m03s
Fedora 42 - x86_64                     100% |  10.8 KiB/s |  22.1 KiB |  00m02s
Fedora 42 openh264 (From Cisco) - x86_ 100% |   2.5 KiB/s | 986.0   B |  00m00s
Repositories loaded.
Package "findutils-1:4.10.0-5.fc42.x86_64" is already installed.


Nothing to do.
2026-04-03 14:20.02 ---> using "ad03b594e80fdfe7eb6420d71fdc4a385393716432efc0ecd7710b2f5059dc41" from cache


/src: (run (shell "sudo ln -f /usr/bin/opam-2.5 /usr/bin/opam"))
2026-04-03 14:20.02 ---> using "8432c7b9b18a821faf615d2ef2c1d4f2d374119b56bb9397d03b1c51c5368209" 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
[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
2026-04-03 14:20.02 ---> using "8f9ef1abca30d916cd46406e0d3fe0436c1db51b92f8a2e3fd96adb58fda524f" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-106-generic
The OCaml toplevel, version 5.4.0
2.5.0
2026-04-03 14:20.02 ---> using "2a71f2c35a51ffe6926d0c0830d13e687d1e361d3d3464e5c6e0b31040d46258" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2026-04-03 14:20.02 ---> using "98153c43af34ff83f63aca5cbdbb63a261ec7eee9ec3694252ae1cbc561f86cf" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e d06cfb1853afceb1dc127f88edaac3f8110bf6cc || git fetch origin master) && git reset -q --hard d06cfb1853afceb1dc127f88edaac3f8110bf6cc && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
4f056bfedf..d06cfb1853  master     -> origin/master
d06cfb1853 Merge pull request #29632 from shonfeder/release-dune-3.22.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 at these versions (e.g. "opam upgrade ocaml.5.5.0"), which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2026-04-03 14:20.02 ---> using "5f426772a3f5bc786a5e7a564c586d757746eb32fdca7e4425308db8ebef81b0" from cache


/src: (copy (src mongoc.opam) (dst ./))
2026-04-03 14:20.02 ---> saved as "4523115bfdc61c5b45c7e0828b6407642e5f039a5760eb59ac12633212d9e30b"


/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)
2026-04-03 14:20.03 ---> saved as "cb2ed3672ab84bae42f4384240947700eb451a96275d4ca45cd9b413ceefc981"


/src: (run (shell "echo '(lang dune 3.0)' > './dune-project'"))
2026-04-03 14:20.03 ---> saved as "0d9b61133012f0454c1a38cf98c58d9bad12216b4885d131b9a01b60d902765e"


/src: (env DEPS "base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cmdliner.2.1.0 conf-pkg-config.4 csexp.1.5.2 ctypes.0.24.0 dune.3.22.1 dune-configurator.3.22.1 integers.0.7.0 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.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.5 --depext-only -y mongoc.dev $DEPS"))
+ /usr/sbin/sudo "yum" "makecache"
- Updating and loading repositories:
-  Fedora 42 - x86_64 - Updates           100% | 121.0 KiB/s |  19.2 KiB |  00m00s
- 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.4.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.4.0).
[NOTE] Package ocaml is already installed (current version is 5.4.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/sbin/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.7-2.fc42 updates      1.2 MiB
- Installing dependencies:
-  cmake-filesystem     x86_64 3.31.6-2.fc42 fedora       0.0   B
-  libbson              x86_64 1.30.7-2.fc42 updates    260.9 KiB
-  libbson-devel        x86_64 1.30.7-2.fc42 updates    490.5 KiB
-  libmongocrypt        x86_64 1.15.2-1.fc42 updates      3.1 MiB
-  libmongocrypt-devel  x86_64 1.15.2-1.fc42 updates      1.2 MiB
-  libzstd-devel        x86_64 1.5.7-1.fc42  fedora     208.0 KiB
-  mongo-c-driver       x86_64 1.30.7-2.fc42 updates     11.5 KiB
-  mongo-c-driver-libs  x86_64 1.30.7-2.fc42 updates      1.1 MiB
-  snappy               x86_64 1.2.1-4.fc42  fedora      71.3 KiB
-  utf8proc             x86_64 2.10.0-1.fc42 fedora     372.0 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] cmake-filesystem-0:3.31.6-2.fc4 100% | 475.4 KiB/s |  17.6 KiB |  00m00s
- [ 2/11] mongo-c-driver-libs-0:1.30.7-2. 100% |   3.3 MiB/s | 383.1 KiB |  00m00s
- [ 3/11] mongo-c-driver-0:1.30.7-2.fc42. 100% |  77.9 KiB/s |  13.9 KiB |  00m00s
- [ 4/11] mongo-c-driver-devel-0:1.30.7-2 100% |   4.2 MiB/s |   1.1 MiB |  00m00s
- [ 5/11] snappy-0:1.2.1-4.fc42.x86_64    100% | 326.8 KiB/s |  39.9 KiB |  00m00s
- [ 6/11] utf8proc-0:2.10.0-1.fc42.x86_64 100% | 370.0 KiB/s |  81.8 KiB |  00m00s
- [ 7/11] libbson-0:1.30.7-2.fc42.x86_64  100% | 431.9 KiB/s | 103.7 KiB |  00m00s
- [ 8/11] libmongocrypt-0:1.15.2-1.fc42.x 100% |   5.7 MiB/s |   1.4 MiB |  00m00s
- [ 9/11] libbson-devel-0:1.30.7-2.fc42.x 100% |   1.9 MiB/s | 336.6 KiB |  00m00s
- [10/11] libmongocrypt-devel-0:1.15.2-1. 100% |   1.9 MiB/s | 207.3 KiB |  00m00s
- [11/11] libzstd-devel-0:1.5.7-1.fc42.x8 100% | 418.1 KiB/s |  53.1 KiB |  00m00s
- --------------------------------------------------------------------------------
- [11/11] Total                           100% |   3.9 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% | 189.0   B/s |  11.0   B |  00m00s
- [ 3/13] Installing libbson-0:1.30.7-2.f 100% |  85.3 MiB/s | 262.2 KiB |  00m00s
- [ 4/13] Installing cmake-filesystem-0:3 100% |   1.5 MiB/s |   7.6 KiB |  00m00s
- [ 5/13] Installing libbson-devel-0:1.30 100% |  87.7 MiB/s | 538.9 KiB |  00m00s
- [ 6/13] Installing libmongocrypt-0:1.15 100% | 279.1 MiB/s |   3.1 MiB |  00m00s
- [ 7/13] Installing libmongocrypt-devel- 100% | 209.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.10.0-1. 100% | 182.3 MiB/s | 373.4 KiB |  00m00s
- [10/13] Installing snappy-0:1.2.1-4.fc4 100% |  71.2 MiB/s |  72.9 KiB |  00m00s
- [11/13] Installing mongo-c-driver-libs- 100% | 214.7 MiB/s |   1.1 MiB |  00m00s
- [12/13] Installing mongo-c-driver-0:1.3 100% | 641.9 KiB/s |  12.2 KiB |  00m00s
- [13/13] Installing mongo-c-driver-devel 100% |  20.9 MiB/s |   1.4 MiB |  00m00s
- Complete!
+ /usr/sbin/rpm "-q" "--whatprovides" "mongo-c-driver-devel"
- mongo-c-driver-devel-1.30.7-2.fc42.x86_64
# To update the current shell environment, run: eval $(opam env)
2026-04-03 14:20.14 ---> saved as "0fa37de2b67d6e14c5ac2d6bb9b825cbc821d1d0c8211b4bf3c9b29730c883c3"


/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.4.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.4.0).
[NOTE] Package ocaml is already installed (current version is 5.4.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 8 packages
- install cmdliner          2.1.0
- install conf-pkg-config   4
- install csexp             1.5.2
- install ctypes            0.24.0
- install dune              3.22.1
- install dune-configurator 3.22.1
- install integers          0.7.0
- install stdlib-shims      0.3.0


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cmdliner.2.1.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved ctypes.0.24.0  (cached)
-> installed conf-pkg-config.4
-> retrieved integers.0.7.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved dune.3.22.1, dune-configurator.3.22.1  (cached)
-> installed cmdliner.2.1.0
-> installed dune.3.22.1
-> installed stdlib-shims.0.3.0
-> installed csexp.1.5.2
-> installed integers.0.7.0
-> installed dune-configurator.3.22.1
-> installed ctypes.0.24.0
Done.
# To update the current shell environment, run: eval $(opam env)
2026-04-03 14:20.58 ---> saved as "af7e165af72070e2d5aa7b5f6ed9ac08b8dd60c645f3269fac798bd20fb117cc"


/src: (copy (src .) (dst /src))
2026-04-03 14:20.59 ---> saved as "6c452bde577b74d9dd2e33c1297c6cebfe9487fb34756b144c240510b9f43d91"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
2026-04-03 14:21.02 ---> saved as "d20e33d15bcd1e0977da08cfedbbf2299c646cb7f46e127953667d5e8500f3b9"
Job succeeded
2026-04-03 14:21.02: Job succeeded