2025-10-15 10:19.37: New job: test tarides/mongoc-ocaml https://github.com/tarides/mongoc-ocaml.git#refs/heads/main (042080ab77ab888069120fa0910b9b4c87e6e274) (linux-x86_64:debian-13-5.1_opam-2.4)
Base: ocaml/opam:debian-13-ocaml-5.1@sha256:1790f2a6c89fcc3762ed3d409f9ebc01a4f8be89d70b49900f2259f22c4e3a80
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:debian-13-ocaml-5.1@sha256:1790f2a6c89fcc3762ed3d409f9ebc01a4f8be89d70b49900f2259f22c4e3a80
# debian-13-5.1_opam-2.4
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
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-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.1.1 ocaml-base-compiler.5.1.1 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-10-15 10:19.37: Using cache hint "tarides/mongoc-ocaml-ocaml/opam:debian-13-ocaml-5.1@sha256:1790f2a6c89fcc3762ed3d409f9ebc01a4f8be89d70b49900f2259f22c4e3a80-debian-13-5.1_opam-2.4-36ba185e6e8df6e0db7df512cb1fc5ba"
2025-10-15 10:19.37: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.1@sha256:1790f2a6c89fcc3762ed3d409f9ebc01a4f8be89d70b49900f2259f22c4e3a80)
(comment debian-13-5.1_opam-2.4)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(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-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.1.1 ocaml-base-compiler.5.1.1 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-10-15 10:19.37: Waiting for resource in pool OCluster
2025-10-15 11:49.02: Waiting for worker…
2025-10-15 11:52.26: Got resource from pool OCluster
Building on clete
All commits already cached
HEAD is now at 042080a Merge pull request #2 from tarides/ci
(from ocaml/opam:debian-13-ocaml-5.1@sha256:1790f2a6c89fcc3762ed3d409f9ebc01a4f8be89d70b49900f2259f22c4e3a80)
2025-10-15 11:52.27 ---> using "f562e3a50a34a35d76a7de2133be7dfef3a78937cef0e00207ac21e9acda54b5" from cache
/: (comment debian-13-5.1_opam-2.4)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (workdir /src)
/src: (run (shell "sudo ln -f /usr/bin/opam-2.4 /usr/bin/opam"))
2025-10-15 11:52.27 ---> using "c29d849c2f74485d371aadee75df94803e5426a89c34a20890980f4d0efe175b" 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-10-15 11:52.27 ---> using "6fe53853d2303cde7faa53877d6ec0959832dabd55f7ef06680f78a7f62bdac5" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-84-generic
The OCaml toplevel, version 5.1.1
2.4.1
2025-10-15 11:52.27 ---> using "fc29bb838c0891953cf7d30118f26a52d575fbdf0366f7d45b73663b6b01529f" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-10-15 11:52.27 ---> using "4f899a4e26c0c3e7dd9f03efaf6a2478516baeee4070d32d746125e09cc59c3d" 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"))
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
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.3.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)
2025-10-15 11:52.27 ---> using "60086aaf07e50427eeb7e1c2a8b92628f2598e7d2b224fae58703e66693abb27" from cache
/src: (copy (src mongoc.opam) (dst ./))
2025-10-15 11:52.27 ---> saved as "26b323ee4676c976ee611e7799de98416f850c2b59ab39d4d6284f1d237fc09f"
/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-10-15 11:52.30 ---> saved as "1da848426ae755cbc2bd0b5ffc568d5e7e9ece434c5483b625a14ec21df7da1b"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-10-15 11:52.30 ---> saved as "23a60c5ad9bd462eae1cb8c930d8af180c4e49c48ca43235ecd9471b3ea06f5c"
/src: (env DEPS "base-bigarray.base base-domains.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.1.1 ocaml-base-compiler.5.1.1 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 "apt-get" "update"
- Hit:1 http://deb.debian.org/debian trixie InRelease
- Get:2 http://deb.debian.org/debian trixie-updates InRelease [47.3 kB]
- Get:3 http://deb.debian.org/debian-security trixie-security InRelease [43.4 kB]
- Get:4 http://deb.debian.org/debian-security trixie-security/main amd64 Packages [53.8 kB]
- Fetched 145 kB in 0s (722 kB/s)
- Reading package lists...
-
<><> 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-base-compiler is already installed (current version is 5.1.1).
[NOTE] Package ocaml is already installed (current version is 5.1.1).
[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-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:
libbson-dev libmongoc-dev pkg-config
<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "libbson-dev" "libmongoc-dev" "pkg-config"
- Selecting previously unselected package libbson-1.0-0t64.
- (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 20653 files and directories currently installed.)
- Preparing to unpack .../00-libbson-1.0-0t64_1.30.4-1_amd64.deb ...
- Unpacking libbson-1.0-0t64 (1.30.4-1) ...
- Selecting previously unselected package libbson-dev.
- Preparing to unpack .../01-libbson-dev_1.30.4-1_amd64.deb ...
- Unpacking libbson-dev (1.30.4-1) ...
- Selecting previously unselected package libintelrdfpmath-dev:amd64.
- Preparing to unpack .../02-libintelrdfpmath-dev_2.0u3-1_amd64.deb ...
- Unpacking libintelrdfpmath-dev:amd64 (2.0u3-1) ...
- Selecting previously unselected package libmongocrypt0:amd64.
- Preparing to unpack .../03-libmongocrypt0_1.13.2-1_amd64.deb ...
- Unpacking libmongocrypt0:amd64 (1.13.2-1) ...
- Selecting previously unselected package libsnappy1v5:amd64.
- Preparing to unpack .../04-libsnappy1v5_1.2.2-1_amd64.deb ...
- Unpacking libsnappy1v5:amd64 (1.2.2-1) ...
- Selecting previously unselected package libutf8proc3:amd64.
- Preparing to unpack .../05-libutf8proc3_2.9.0-1+b2_amd64.deb ...
- Unpacking libutf8proc3:amd64 (2.9.0-1+b2) ...
- Selecting previously unselected package libmongoc-1.0-0t64.
- Preparing to unpack .../06-libmongoc-1.0-0t64_1.30.4-1_amd64.deb ...
- Unpacking libmongoc-1.0-0t64 (1.30.4-1) ...
- Selecting previously unselected package libmongocrypt-dev:amd64.
- Preparing to unpack .../07-libmongocrypt-dev_1.13.2-1_amd64.deb ...
- Unpacking libmongocrypt-dev:amd64 (1.13.2-1) ...
- Selecting previously unselected package libssl-dev:amd64.
- Preparing to unpack .../08-libssl-dev_3.5.1-1+deb13u1_amd64.deb ...
- Unpacking libssl-dev:amd64 (3.5.1-1+deb13u1) ...
- Selecting previously unselected package zlib1g-dev:amd64.
- Preparing to unpack .../09-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1+b1_amd64.deb ...
- Unpacking zlib1g-dev:amd64 (1:1.3.dfsg+really1.3.1-1+b1) ...
- Selecting previously unselected package libsnappy-dev:amd64.
- Preparing to unpack .../10-libsnappy-dev_1.2.2-1_amd64.deb ...
- Unpacking libsnappy-dev:amd64 (1.2.2-1) ...
- Selecting previously unselected package libsasl2-dev.
- Preparing to unpack .../11-libsasl2-dev_2.1.28+dfsg1-9_amd64.deb ...
- Unpacking libsasl2-dev (2.1.28+dfsg1-9) ...
- Selecting previously unselected package libutf8proc-dev:amd64.
- Preparing to unpack .../12-libutf8proc-dev_2.9.0-1+b2_amd64.deb ...
- Unpacking libutf8proc-dev:amd64 (2.9.0-1+b2) ...
- Selecting previously unselected package libmongoc-dev.
- Preparing to unpack .../13-libmongoc-dev_1.30.4-1_amd64.deb ...
- Unpacking libmongoc-dev (1.30.4-1) ...
- Selecting previously unselected package libpkgconf3:amd64.
- Preparing to unpack .../14-libpkgconf3_1.8.1-4_amd64.deb ...
- Unpacking libpkgconf3:amd64 (1.8.1-4) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../15-pkgconf-bin_1.8.1-4_amd64.deb ...
- Unpacking pkgconf-bin (1.8.1-4) ...
- Selecting previously unselected package pkgconf:amd64.
- Preparing to unpack .../16-pkgconf_1.8.1-4_amd64.deb ...
- Unpacking pkgconf:amd64 (1.8.1-4) ...
- Selecting previously unselected package pkg-config:amd64.
- Preparing to unpack .../17-pkg-config_1.8.1-4_amd64.deb ...
- Unpacking pkg-config:amd64 (1.8.1-4) ...
- Setting up libutf8proc3:amd64 (2.9.0-1+b2) ...
- Setting up libutf8proc-dev:amd64 (2.9.0-1+b2) ...
- Setting up libsnappy1v5:amd64 (1.2.2-1) ...
- Setting up libpkgconf3:amd64 (1.8.1-4) ...
- Setting up libssl-dev:amd64 (3.5.1-1+deb13u1) ...
- Setting up pkgconf-bin (1.8.1-4) ...
- Setting up zlib1g-dev:amd64 (1:1.3.dfsg+really1.3.1-1+b1) ...
- Setting up libbson-1.0-0t64 (1.30.4-1) ...
- Setting up libintelrdfpmath-dev:amd64 (2.0u3-1) ...
- Setting up libmongocrypt0:amd64 (1.13.2-1) ...
- Setting up libbson-dev (1.30.4-1) ...
- Setting up libsnappy-dev:amd64 (1.2.2-1) ...
- Setting up libmongocrypt-dev:amd64 (1.13.2-1) ...
- Setting up pkgconf:amd64 (1.8.1-4) ...
- Setting up libsasl2-dev (2.1.28+dfsg1-9) ...
- Setting up pkg-config:amd64 (1.8.1-4) ...
- Setting up libmongoc-1.0-0t64 (1.30.4-1) ...
- Setting up libmongoc-dev (1.30.4-1) ...
- Processing triggers for libc-bin (2.41-12) ...
2025-10-15 11:52.59 ---> saved as "ac2bce1da8379b8c6824e11196abb3becac988084c40d0c9bf95758ae6f588d6"
/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-base-compiler is already installed (current version is 5.1.1).
[NOTE] Package ocaml is already installed (current version is 5.1.1).
[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-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 stdlib-shims.0.3.0
-> installed csexp.1.5.2
-> installed bigarray-compat.1.1.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-10-15 11:54.47 ---> saved as "c6b7050d09d29c1727369e0b6c8cd74ee467f27af4dda5b2574ebbefb1ba46c5"
/src: (copy (src .) (dst /src))
2025-10-15 11:54.48 ---> saved as "29afac2ceec99a4a909ddfab8ebd6717e0c1eed85b26ad878ecd4d102380a7d1"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
2025-10-15 11:54.53 ---> saved as "3b3cb183936cda3eb3ef1f1cf2b7a751aa1a21a72c95df80b16eb6d4504b09a4"
Job succeeded
2025-10-15 11:54.53: Job succeeded