Organisationstaridesmongoc-ocamld2be26 ()fedora-42-5.3_opam-2.3

fedora-42-5.3_opam-2.3

Link Copied
Code Copied

Logs

2025-07-11 13:38.29: New job: test tarides/mongoc-ocaml https://github.com/tarides/mongoc-ocaml.git#refs/heads/ci (d2be269f2eac159b400a9b311e310ec00b65e329) (linux-x86_64:fedora-42-5.3_opam-2.3)
Base: ocaml/opam:fedora-42-ocaml-5.3@sha256:ea1b0e805553bb8a6a73624dbd4f52899c1622d61292ca81567ed151a5350121
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-42-ocaml-5.3@sha256:ea1b0e805553bb8a6a73624dbd4f52899c1622d61292ca81567ed151a5350121
# fedora-42-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-11 13:38.29: Using cache hint "tarides/mongoc-ocaml-ocaml/opam:fedora-42-ocaml-5.3@sha256:ea1b0e805553bb8a6a73624dbd4f52899c1622d61292ca81567ed151a5350121-fedora-42-5.3_opam-2.3-5b970a796b5334997fbc490a8ac7eafa"
2025-07-11 13:38.29: Using OBuilder spec:
((from ocaml/opam:fedora-42-ocaml-5.3@sha256:ea1b0e805553bb8a6a73624dbd4f52899c1622d61292ca81567ed151a5350121)
(comment fedora-42-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-11 13:38.29: Waiting for resource in pool OCluster
2025-07-11 13:38.54: Waiting for worker…
2025-07-11 13:38.54: Got resource from pool OCluster
Building on phoebe
All commits already cached
HEAD is now at d2be269 Fix ocaml-ci


(from ocaml/opam:fedora-42-ocaml-5.3@sha256:ea1b0e805553bb8a6a73624dbd4f52899c1622d61292ca81567ed151a5350121)
2025-07-11 13:38.42 ---> using "a61c5f6f03734f3c3d167ce873b3e609ad74c9b026554f114b851960295fc4f2" from cache


/: (comment fedora-42-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 42 - x86_64 - Updates           100% |  69.4 KiB/s |   7.1 KiB |  00m00s
Fedora 42 - x86_64 - Updates           100% |   3.8 MiB/s |   3.3 MiB |  00m01s
Repositories loaded.
Nothing to do.
Package "findutils-1:4.10.0-5.fc42.x86_64" is already installed.


2025-07-11 13:38.42 ---> using "952e47f1c3af22704f09a97a8c702a3d77b24be7eb1ee33ddffe5e6f75537d20" from cache


/src: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-07-11 13:38.42 ---> using "2e10569377eff330cd0aeb07f0a1c557d1abe3231b2a7da554d1bb0648e45209" 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
Format upgrade done.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-07-11 13:39.00 ---> saved as "7be74babee42f4acbe09fe49d29394048539a2f5fdc47201479f4327d4923f4b"


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-63-generic
The OCaml toplevel, version 5.3.0
2.3.0
2025-07-11 13:39.01 ---> saved as "e3d7d420be7fd58ffbb0067e2054af46b2150d363cb125f6bec30877db445ad8"


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-07-11 13:39.01 ---> saved as "db67762010cc58a1eeb9fd06a886ab2f85728acbbc5892e77b7a0f06cac29d7c"


/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-11 13:39.28 ---> saved as "5414ab6e9192a3944e4d9c07645f1f1e07bab1fb4a105fc02719960eff3c9dd5"


/src: (copy (src mongoc.opam) (dst ./))
2025-07-11 13:39.28 ---> saved as "dbd9a42ccd74c34e5d2d307ee4a7adc0bef64d90df8ac5acf66dfeb11625fe9e"


/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-11 13:39.30 ---> saved as "f45021b86ca24c125e5941d48804a1a1e52f88bb5ba0555f4310200e4edcadba"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-07-11 13:39.30 ---> saved as "8c0e07a0289e4423e3b270926a4f26c5ae62d721b0f8166f9fd528e197aa2d07"


/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/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 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/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.5-1.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.5-1.fc42 updates    260.9 KiB
-  libbson-devel        x86_64 1.30.5-1.fc42 updates    490.3 KiB
-  libmongocrypt        x86_64 1.14.1-1.fc42 updates      3.1 MiB
-  libmongocrypt-devel  x86_64 1.14.1-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.5-1.fc42 updates     11.5 KiB
-  mongo-c-driver-libs  x86_64 1.30.5-1.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% | 161.4 KiB/s |  17.6 KiB |  00m00s
- [ 2/11] mongo-c-driver-0:1.30.5-1.fc42. 100% |  14.8 KiB/s |  15.2 KiB |  00m01s
- [ 3/11] snappy-0:1.2.1-4.fc42.x86_64    100% |   1.4 MiB/s |  39.9 KiB |  00m00s
- [ 4/11] mongo-c-driver-libs-0:1.30.5-1. 100% | 359.5 KiB/s | 384.3 KiB |  00m01s
- [ 5/11] mongo-c-driver-devel-0:1.30.5-1 100% | 896.3 KiB/s |   1.1 MiB |  00m01s
- [ 6/11] utf8proc-0:2.10.0-1.fc42.x86_64 100% | 383.9 KiB/s |  81.8 KiB |  00m00s
- [ 7/11] libbson-0:1.30.5-1.fc42.x86_64  100% | 929.7 KiB/s | 105.1 KiB |  00m00s
- [ 8/11] libbson-devel-0:1.30.5-1.fc42.x 100% |   2.3 MiB/s | 337.9 KiB |  00m00s
- [ 9/11] libzstd-devel-0:1.5.7-1.fc42.x8 100% |   2.7 MiB/s |  53.1 KiB |  00m00s
- [10/11] libmongocrypt-devel-0:1.14.1-1. 100% |   1.4 MiB/s | 206.5 KiB |  00m00s
- [11/11] libmongocrypt-0:1.14.1-1.fc42.x 100% |   5.4 MiB/s |   1.4 MiB |  00m00s
- --------------------------------------------------------------------------------
- [11/11] Total                           100% |   2.1 MiB/s |   3.7 MiB |  00m02s
- Running transaction
- [ 1/13] Verify package files            100% | 207.0   B/s |  11.0   B |  00m00s
- [ 2/13] Prepare transaction             100% |  88.0   B/s |  11.0   B |  00m00s
- [ 3/13] Installing libbson-0:1.30.5-1.f 100% |  36.6 MiB/s | 262.2 KiB |  00m00s
- [ 4/13] Installing cmake-filesystem-0:3 100% | 843.3 KiB/s |   7.6 KiB |  00m00s
- [ 5/13] Installing libbson-devel-0:1.30 100% |  37.6 MiB/s | 538.6 KiB |  00m00s
- [ 6/13] Installing libmongocrypt-0:1.14 100% |  87.4 MiB/s |   3.1 MiB |  00m00s
- [ 7/13] Installing libmongocrypt-devel- 100% | 104.3 MiB/s |   1.3 MiB |  00m00s
- [ 8/13] Installing libzstd-devel-0:1.5. 100% |  51.0 MiB/s | 208.8 KiB |  00m00s
- [ 9/13] Installing utf8proc-0:2.10.0-1. 100% |  52.1 MiB/s | 373.4 KiB |  00m00s
- [10/13] Installing snappy-0:1.2.1-4.fc4 100% |  17.8 MiB/s |  72.9 KiB |  00m00s
- [11/13] Installing mongo-c-driver-libs- 100% |  67.1 MiB/s |   1.1 MiB |  00m00s
- [12/13] Installing mongo-c-driver-0:1.3 100% | 283.6 KiB/s |  12.2 KiB |  00m00s
- [13/13] Installing mongo-c-driver-devel 100% |  10.4 MiB/s |   1.4 MiB |  00m00s
- Complete!
+ /usr/sbin/rpm "-q" "--whatprovides" "mongo-c-driver-devel"
- mongo-c-driver-devel-1.30.5-1.fc42.x86_64
2025-07-11 13:39.51 ---> saved as "08cd5210ec08777f8ade3ebf2492d76405e43b25d323bbf3477fc3dba3f1ed23"


/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 stdlib-shims.0.3.0
-> installed bigarray-compat.1.1.0
-> installed csexp.1.5.2
-> 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-11 13:43.20 ---> saved as "a724c55a598273a07a8e879090336870a892a249a7924e3c920cf9b5f31549b6"


/src: (copy (src .) (dst /src))
2025-07-11 13:43.20 ---> saved as "fe56820bf369927c781fc5aa7e8bf2935bca8e9d1a80ef05106fc051be7365d2"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
2025-07-11 13:43.26 ---> saved as "bb0e41a437abf791737b45f25aca5bf5fddb27ee2aa1d27f4f9a64941f7200e6"
Job succeeded
2025-07-11 13:43.26: Job succeeded