2025-10-15 10:13.28: New job: test tarides/mongoc-ocaml https://github.com/tarides/mongoc-ocaml.git#refs/heads/main (042080ab77ab888069120fa0910b9b4c87e6e274) (linux-arm64:debian-13-5.3_arm64_opam-2.4)
Base: ocaml/opam:debian-13-ocaml-5.3@sha256:2f403ea38b73d4814a696d5b8204d90b4708d4da5cedfa25b2c6d6f4c809640b
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.3@sha256:2f403ea38b73d4814a696d5b8204d90b4708d4da5cedfa25b2c6d6f4c809640b
# debian-13-5.3_arm64_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-effects.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.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.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:13.28: Using cache hint "tarides/mongoc-ocaml-ocaml/opam:debian-13-ocaml-5.3@sha256:2f403ea38b73d4814a696d5b8204d90b4708d4da5cedfa25b2c6d6f4c809640b-debian-13-5.3_arm64_opam-2.4-029a6f504d6fd41451b57ffcabaa4a38"
2025-10-15 10:13.28: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.3@sha256:2f403ea38b73d4814a696d5b8204d90b4708d4da5cedfa25b2c6d6f4c809640b)
(comment debian-13-5.3_arm64_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-effects.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.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.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:13.28: Waiting for resource in pool OCluster
2025-10-15 10:20.43: Waiting for worker…
2025-10-15 10:37.39: Got resource from pool OCluster
Building on okypous.caelum.ci.dev
All commits already cached
HEAD is now at 042080a Merge pull request #2 from tarides/ci
(from ocaml/opam:debian-13-ocaml-5.3@sha256:2f403ea38b73d4814a696d5b8204d90b4708d4da5cedfa25b2c6d6f4c809640b)
Unable to find image 'ocaml/opam:debian-13-ocaml-5.3@sha256:2f403ea38b73d4814a696d5b8204d90b4708d4da5cedfa25b2c6d6f4c809640b' locally
docker.io/ocaml/opam@sha256:2f403ea38b73d4814a696d5b8204d90b4708d4da5cedfa25b2c6d6f4c809640b: Pulling from ocaml/opam
Digest: sha256:2f403ea38b73d4814a696d5b8204d90b4708d4da5cedfa25b2c6d6f4c809640b
Status: Downloaded newer image for ocaml/opam@sha256:2f403ea38b73d4814a696d5b8204d90b4708d4da5cedfa25b2c6d6f4c809640b
2025-10-15 10:37.39 ---> using "4d615cdda566698bbcd9991a4a40be1d70fb4ef06a15b0fce6c66534a55a309b" from cache
/: (comment debian-13-5.3_arm64_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 10:37.39 ---> using "4b8af8f5f3b9fb88c7285e72392c1160a2afce85a86b22e8ec02963ab4c7c4c8" 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 10:37.39 ---> using "005a8ac471cf50e60a78876f87bd10bd44d6092b5f5aaa859da20d56469d42d7" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-157-generic
The OCaml toplevel, version 5.3.0
2.4.1
2025-10-15 10:37.39 ---> using "12e5c7be6d7a96f552afd07a1975e27a6a863b6f60993d81e810e799e38206a9" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-10-15 10:37.39 ---> using "6f9f41224455052baf54a8b532b9b63157a1d747d6e5e272fcfef745461b11da" 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
Already up-to-date.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2025-10-15 10:37.39 ---> using "bce89bfba266252bec53d99cb89b49433239957c0be59469276a858bf90ed5d9" from cache
/src: (copy (src mongoc.opam) (dst ./))
2025-10-15 10:37.40 ---> saved as "1e15e469297355a54c6bef44a4aa7ee34e06eb12b54de78d98d9e1e5625454df"
/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 10:37.42 ---> saved as "3b9f2f0a9df91f2f305b1e329924687e4cf2a9ecbbcaf03213c02033d3452fe1"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-10-15 10:37.45 ---> saved as "95591a614a672c6a40b546261ac8e461a816b15059b8990df301a181ba82bf27"
/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.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.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.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]
- Fetched 90.7 kB in 0s (437 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-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:
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 ... 20767 files and directories currently installed.)
- Preparing to unpack .../00-libbson-1.0-0t64_1.30.4-1_arm64.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_arm64.deb ...
- Unpacking libbson-dev (1.30.4-1) ...
- Selecting previously unselected package libintelrdfpmath-dev:arm64.
- Preparing to unpack .../02-libintelrdfpmath-dev_2.0u3-1_arm64.deb ...
- Unpacking libintelrdfpmath-dev:arm64 (2.0u3-1) ...
- Selecting previously unselected package libmongocrypt0:arm64.
- Preparing to unpack .../03-libmongocrypt0_1.13.2-1_arm64.deb ...
- Unpacking libmongocrypt0:arm64 (1.13.2-1) ...
- Selecting previously unselected package libsnappy1v5:arm64.
- Preparing to unpack .../04-libsnappy1v5_1.2.2-1_arm64.deb ...
- Unpacking libsnappy1v5:arm64 (1.2.2-1) ...
- Selecting previously unselected package libutf8proc3:arm64.
- Preparing to unpack .../05-libutf8proc3_2.9.0-1+b2_arm64.deb ...
- Unpacking libutf8proc3:arm64 (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_arm64.deb ...
- Unpacking libmongoc-1.0-0t64 (1.30.4-1) ...
- Selecting previously unselected package libmongocrypt-dev:arm64.
- Preparing to unpack .../07-libmongocrypt-dev_1.13.2-1_arm64.deb ...
- Unpacking libmongocrypt-dev:arm64 (1.13.2-1) ...
- Selecting previously unselected package libssl-dev:arm64.
- Preparing to unpack .../08-libssl-dev_3.5.1-1+deb13u1_arm64.deb ...
- Unpacking libssl-dev:arm64 (3.5.1-1+deb13u1) ...
- Selecting previously unselected package zlib1g-dev:arm64.
- Preparing to unpack .../09-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1+b1_arm64.deb ...
- Unpacking zlib1g-dev:arm64 (1:1.3.dfsg+really1.3.1-1+b1) ...
- Selecting previously unselected package libsnappy-dev:arm64.
- Preparing to unpack .../10-libsnappy-dev_1.2.2-1_arm64.deb ...
- Unpacking libsnappy-dev:arm64 (1.2.2-1) ...
- Selecting previously unselected package libsasl2-dev.
- Preparing to unpack .../11-libsasl2-dev_2.1.28+dfsg1-9_arm64.deb ...
- Unpacking libsasl2-dev (2.1.28+dfsg1-9) ...
- Selecting previously unselected package libutf8proc-dev:arm64.
- Preparing to unpack .../12-libutf8proc-dev_2.9.0-1+b2_arm64.deb ...
- Unpacking libutf8proc-dev:arm64 (2.9.0-1+b2) ...
- Selecting previously unselected package libmongoc-dev.
- Preparing to unpack .../13-libmongoc-dev_1.30.4-1_arm64.deb ...
- Unpacking libmongoc-dev (1.30.4-1) ...
- Selecting previously unselected package libpkgconf3:arm64.
- Preparing to unpack .../14-libpkgconf3_1.8.1-4_arm64.deb ...
- Unpacking libpkgconf3:arm64 (1.8.1-4) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../15-pkgconf-bin_1.8.1-4_arm64.deb ...
- Unpacking pkgconf-bin (1.8.1-4) ...
- Selecting previously unselected package pkgconf:arm64.
- Preparing to unpack .../16-pkgconf_1.8.1-4_arm64.deb ...
- Unpacking pkgconf:arm64 (1.8.1-4) ...
- Selecting previously unselected package pkg-config:arm64.
- Preparing to unpack .../17-pkg-config_1.8.1-4_arm64.deb ...
- Unpacking pkg-config:arm64 (1.8.1-4) ...
- Setting up libutf8proc3:arm64 (2.9.0-1+b2) ...
- Setting up libutf8proc-dev:arm64 (2.9.0-1+b2) ...
- Setting up libsnappy1v5:arm64 (1.2.2-1) ...
- Setting up libpkgconf3:arm64 (1.8.1-4) ...
- Setting up libssl-dev:arm64 (3.5.1-1+deb13u1) ...
- Setting up pkgconf-bin (1.8.1-4) ...
- Setting up zlib1g-dev:arm64 (1:1.3.dfsg+really1.3.1-1+b1) ...
- Setting up libbson-1.0-0t64 (1.30.4-1) ...
- Setting up libintelrdfpmath-dev:arm64 (2.0u3-1) ...
- Setting up libmongocrypt0:arm64 (1.13.2-1) ...
- Setting up libbson-dev (1.30.4-1) ...
- Setting up libsnappy-dev:arm64 (1.2.2-1) ...
- Setting up libmongocrypt-dev:arm64 (1.13.2-1) ...
- Setting up pkgconf:arm64 (1.8.1-4) ...
- Setting up libsasl2-dev (2.1.28+dfsg1-9) ...
- Setting up pkg-config:arm64 (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 10:38.00 ---> saved as "6e5235e8837672c1edf05e59064215ff6ea51d71c0f9e5e82e40aaa234a56de0"
/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 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 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.20.2
-> installed ctypes.0.23.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-10-15 10:38.52 ---> saved as "1be45af070e3619d3e407c2db8d8f92b013a844f06766bcfcd614092c4fb7e62"
/src: (copy (src .) (dst /src))
2025-10-15 10:38.54 ---> saved as "90ebd800570843f7e09e352c89b0cec97c94c002263039500917c8a20bf1f8d3"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
2025-10-15 10:38.57 ---> saved as "aaae80272f4685424e0c8d7cd820f43de82db501d4b9b998bea80148068fefc2"
Job succeeded
2025-10-15 10:38.57: Job succeeded