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

fedora-42-4.14_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-4.14_opam-2.5)
Base: ocaml/opam:fedora-42-ocaml-4.14@sha256:2a5f75bfa99b27c5471842ee02ea5537cf23913c53a7171eb6b7daa049b4cf0c
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-4.14@sha256:2a5f75bfa99b27c5471842ee02ea5537cf23913c53a7171eb6b7daa049b4cf0c
# fedora-42-4.14_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-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.4.14.3 ocaml-base-compiler.4.14.3 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.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-4.14@sha256:2a5f75bfa99b27c5471842ee02ea5537cf23913c53a7171eb6b7daa049b4cf0c-fedora-42-4.14_opam-2.5-7689fba7b914723c76568f3b9de729cc"
2026-04-03 11:36.16: Using OBuilder spec:
((from ocaml/opam:fedora-42-ocaml-4.14@sha256:2a5f75bfa99b27c5471842ee02ea5537cf23913c53a7171eb6b7daa049b4cf0c)
(comment fedora-42-4.14_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-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.4.14.3 ocaml-base-compiler.4.14.3 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.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.04: Waiting for worker…
2026-04-03 14:20.01: 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-4.14@sha256:2a5f75bfa99b27c5471842ee02ea5537cf23913c53a7171eb6b7daa049b4cf0c)
Unable to find image 'ocaml/opam:fedora-42-ocaml-4.14@sha256:2a5f75bfa99b27c5471842ee02ea5537cf23913c53a7171eb6b7daa049b4cf0c' locally
docker.io/ocaml/opam@sha256:2a5f75bfa99b27c5471842ee02ea5537cf23913c53a7171eb6b7daa049b4cf0c: Pulling from ocaml/opam
f11155b5d7d3: Pulling fs layer
c0441fd37335: Pulling fs layer
7da60934020f: Pulling fs layer
a3c2df9bb26c: Pulling fs layer
f0624cfef3a3: Pulling fs layer
11e0556d36f7: Pulling fs layer
f0624cfef3a3: Waiting
a3c2df9bb26c: Waiting
11e0556d36f7: Waiting
7da60934020f: Waiting
c0441fd37335: Verifying Checksum
c0441fd37335: Download complete
a3c2df9bb26c: Verifying Checksum
a3c2df9bb26c: Download complete
f0624cfef3a3: Verifying Checksum
f0624cfef3a3: Download complete
11e0556d36f7: Verifying Checksum
11e0556d36f7: Download complete
f11155b5d7d3: Verifying Checksum
f11155b5d7d3: Download complete
7da60934020f: Verifying Checksum
7da60934020f: Download complete
f11155b5d7d3: Pull complete
c0441fd37335: Pull complete
7da60934020f: Pull complete
a3c2df9bb26c: Pull complete
f0624cfef3a3: Pull complete
11e0556d36f7: Pull complete
Digest: sha256:2a5f75bfa99b27c5471842ee02ea5537cf23913c53a7171eb6b7daa049b4cf0c
Status: Downloaded newer image for ocaml/opam@sha256:2a5f75bfa99b27c5471842ee02ea5537cf23913c53a7171eb6b7daa049b4cf0c
2026-04-03 14:20.02 ---> using "44f1cb10c69e1b35dfc0df6b713e7e500ed17f28146321c7d88e072120c36624" from cache


/: (comment fedora-42-4.14_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% |   6.6 KiB/s |  19.2 KiB |  00m03s
Fedora 42 - x86_64                     100% |  18.0 KiB/s |  22.4 KiB |  00m01s
Fedora 42 openh264 (From Cisco) - x86_ 100% |   1.4 KiB/s | 986.0   B |  00m01s
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 "d744e315ef8eb40b3230f43f701ca8d3d2b41c46e4e03ea91955855077feb6e1" from cache


/src: (run (shell "sudo ln -f /usr/bin/opam-2.5 /usr/bin/opam"))
2026-04-03 14:20.02 ---> using "dfb864731ec4bbfef0572266c2a6a7218d6a1b23d4e908e66ab342275000b982" 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 ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ERROR] Could not update repository "ocaml-patches-overlay": "/usr/sbin/git fetch -q" exited with code 128 "fatal: unable to access 'https://github.com/ocurrent/opam-repository/': Could not resolve host: github.com"
[default] Initialised
2026-04-03 14:20.02 ---> using "323893d982682c5b14096989181ce32b8633f77cf28be2ce8539a7e44beadb61" from cache


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


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2026-04-03 14:20.02 ---> using "1928b7a86cc24575995ff900edbd943f1723f3be8a844d4150ee1407412415fe" 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
76bf2ed944..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
[ocaml-patches-overlay] no changes from git+https://github.com/ocurrent/opam-repository#patches


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 "6dad52911200a5023380dcc75f63dbf6d74e420459aa81ea25d998750d0634f1" from cache


/src: (copy (src mongoc.opam) (dst ./))
2026-04-03 14:20.03 ---> saved as "f921a83a44c69dbbe57fe9d7d406adbf0618a84b250ae5a9157c0c4b90771ff7"


/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.04 ---> saved as "463880bc779300b5dfcc4e0c6f64267b6e75150f95e6a187c74bb78b7d058339"


/src: (run (shell "echo '(lang dune 3.0)' > './dune-project'"))
2026-04-03 14:20.04 ---> saved as "3856b5e9e1d3846efe7ada200cd4c3ef670b3d15c7b330d703310b4628d56677"


/src: (env DEPS "base-bigarray.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.4.14.3 ocaml-base-compiler.4.14.3 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.5 --depext-only -y mongoc.dev $DEPS"))
+ /usr/sbin/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.3).
[NOTE] Package ocaml is already installed (current version is 4.14.3).
[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/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% | 439.8 KiB/s |  17.6 KiB |  00m00s
- [ 2/11] mongo-c-driver-0:1.30.7-2.fc42. 100% | 330.1 KiB/s |  13.9 KiB |  00m00s
- [ 3/11] snappy-0:1.2.1-4.fc42.x86_64    100% |   2.8 MiB/s |  39.9 KiB |  00m00s
- [ 4/11] mongo-c-driver-devel-0:1.30.7-2 100% |  15.6 MiB/s |   1.1 MiB |  00m00s
- [ 5/11] mongo-c-driver-libs-0:1.30.7-2. 100% |   9.8 MiB/s | 383.1 KiB |  00m00s
- [ 6/11] libbson-0:1.30.7-2.fc42.x86_64  100% |   8.4 MiB/s | 103.7 KiB |  00m00s
- [ 7/11] utf8proc-0:2.10.0-1.fc42.x86_64 100% |   3.3 MiB/s |  81.8 KiB |  00m00s
- [ 8/11] libmongocrypt-devel-0:1.15.2-1. 100% |  10.1 MiB/s | 207.3 KiB |  00m00s
- [ 9/11] libzstd-devel-0:1.5.7-1.fc42.x8 100% |   6.5 MiB/s |  53.1 KiB |  00m00s
- [10/11] libbson-devel-0:1.30.7-2.fc42.x 100% |  10.6 MiB/s | 336.6 KiB |  00m00s
- [11/11] libmongocrypt-0:1.15.2-1.fc42.x 100% |  17.5 MiB/s |   1.4 MiB |  00m00s
- --------------------------------------------------------------------------------
- [11/11] Total                           100% |   7.9 MiB/s |   3.7 MiB |  00m00s
- Running transaction
- [ 1/13] Verify package files            100% | 785.0   B/s |  11.0   B |  00m00s
- [ 2/13] Prepare transaction             100% | 169.0   B/s |  11.0   B |  00m00s
- [ 3/13] Installing libbson-0:1.30.7-2.f 100% |  64.0 MiB/s | 262.2 KiB |  00m00s
- [ 4/13] Installing cmake-filesystem-0:3 100% |   1.1 MiB/s |   7.6 KiB |  00m00s
- [ 5/13] Installing libbson-devel-0:1.30 100% |  65.8 MiB/s | 538.9 KiB |  00m00s
- [ 6/13] Installing libmongocrypt-0:1.15 100% | 236.2 MiB/s |   3.1 MiB |  00m00s
- [ 7/13] Installing libmongocrypt-devel- 100% | 157.4 MiB/s |   1.3 MiB |  00m00s
- [ 8/13] Installing libzstd-devel-0:1.5. 100% | 102.0 MiB/s | 208.8 KiB |  00m00s
- [ 9/13] Installing utf8proc-0:2.10.0-1. 100% | 121.6 MiB/s | 373.4 KiB |  00m00s
- [10/13] Installing snappy-0:1.2.1-4.fc4 100% |  35.6 MiB/s |  72.9 KiB |  00m00s
- [11/13] Installing mongo-c-driver-libs- 100% | 178.9 MiB/s |   1.1 MiB |  00m00s
- [12/13] Installing mongo-c-driver-0:1.3 100% | 554.3 KiB/s |  12.2 KiB |  00m00s
- [13/13] Installing mongo-c-driver-devel 100% |  20.3 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.15 ---> saved as "5e22dfc008ad0d9fb3d789ccb645ae8617ed163a1f07b3a042a68fd16fd150b4"


/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.3).
[NOTE] Package ocaml is already installed (current version is 4.14.3).
[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 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.59 ---> saved as "74247bec8e009e7dbfddb33acbccf0b7543737d451b1dee8fec897a050e6c6e9"


/src: (copy (src .) (dst /src))
2026-04-03 14:21.00 ---> saved as "fffec44811ae57e6bea59c626224a3e0e27c699a66d98d43fc9c9211a0e59d3f"


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