2025-07-25 21:33.19: New job: test tarides/mongoc-ocaml https://github.com/tarides/mongoc-ocaml.git#refs/heads/ci (d2be269f2eac159b400a9b311e310ec00b65e329) (linux-x86_64:debian-12-5.1_opam-2.3)
Base: ocaml/opam:debian-12-ocaml-5.1@sha256:5e4f5fb52c254efcfa14e43c9a0bf7bc6f63055e560567514faa0f0dd73ce295
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:debian-12-ocaml-5.1@sha256:5e4f5fb52c254efcfa14e43c9a0bf7bc6f63055e560567514faa0f0dd73ce295
# debian-12-5.1_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
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 b8021439f8c57ba6435bc2263f6596671f4f4466 || git fetch origin master) && git reset -q --hard b8021439f8c57ba6435bc2263f6596671f4f4466 && 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.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.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.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-25 21:33.19: Using cache hint "tarides/mongoc-ocaml-ocaml/opam:debian-12-ocaml-5.1@sha256:5e4f5fb52c254efcfa14e43c9a0bf7bc6f63055e560567514faa0f0dd73ce295-debian-12-5.1_opam-2.3-5ef51a59d95c62d29a39c9d3a9b1d7b8"
2025-07-25 21:33.19: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.1@sha256:5e4f5fb52c254efcfa14e43c9a0bf7bc6f63055e560567514faa0f0dd73ce295)
(comment debian-12-5.1_opam-2.3)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(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 b8021439f8c57ba6435bc2263f6596671f4f4466 || git fetch origin master) && git reset -q --hard b8021439f8c57ba6435bc2263f6596671f4f4466 && 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.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.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.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-25 21:33.19: Waiting for resource in pool OCluster
2025-07-25 22:22.48: Waiting for worker…
2025-07-25 22:27.56: Got resource from pool OCluster
Building on phoebe
All commits already cached
HEAD is now at d2be269 Fix ocaml-ci
(from ocaml/opam:debian-12-ocaml-5.1@sha256:5e4f5fb52c254efcfa14e43c9a0bf7bc6f63055e560567514faa0f0dd73ce295)
2025-07-25 22:27.58 ---> using "feb4993b10372c495c1da20120c19aa45f907b3eb0829d9112ec9261523588c4" from cache
/: (comment debian-12-5.1_opam-2.3)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (workdir /src)
/src: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-07-25 22:27.58 ---> using "22a6f3be45722809214969e2f8a19a39bee5445ea89d425a71a6c32ce8aebd41" 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-25 22:27.58 ---> using "6477c5ac72d417477c8b4b24ed5b320d91914a611ea6a265a901586687e9e316" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-63-generic
The OCaml toplevel, version 5.1.1
2.3.0
2025-07-25 22:27.58 ---> using "4cf4bccc9e4cbcb98074aac2cd1ce174c23fdc1b6343496f01df405fbcad6f16" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-07-25 22:27.58 ---> using "c276ff937cf0c4f4cf6c8dfc5dfc93df4c2688c540527dce5788bf56f7e48615" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e b8021439f8c57ba6435bc2263f6596671f4f4466 || git fetch origin master) && git reset -q --hard b8021439f8c57ba6435bc2263f6596671f4f4466 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
0094db1438..b8021439f8 master -> origin/master
b8021439f8 Merge pull request #28261 from kit-ty-kate/deploy-fix-25819
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+file:///home/opam/opam-repository
The following actions will be performed:
=== recompile 4 packages
- recompile base-domains base [uses ocaml]
- recompile base-nnp base [uses base-domains]
- recompile ocaml 5.1.1 [upstream or system changes]
- recompile opam-depext 1.2.3 [uses ocaml]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved opam-depext.1.2.3 (cached)
-> removed base-nnp.base
-> removed base-domains.base
-> removed opam-depext.1.2.3
-> removed ocaml.5.1.1
-> installed ocaml.5.1.1
-> installed base-domains.base
-> installed base-nnp.base
-> installed opam-depext.1.2.3
Done.
<><> opam-depext.1.2.3 installed successfully <><><><><><><><><><><><><><><><><>
=> opam-depext is unnecessary when used with opam >= 2.1. Please use opam install directly instead
# To update the current shell environment, run: eval $(opam env)
2025-07-25 22:27.58 ---> using "4abf973e82a3e8bb3012a7d5a7c273a8d41020e65b617e1d9fee584eeb2580cc" from cache
/src: (copy (src mongoc.opam) (dst ./))
2025-07-25 22:28.00 ---> saved as "80d1e35273f0132f84362a863180b7f5805f45099919e2acc00c13eacad51248"
/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-25 22:28.04 ---> saved as "89f097554a1fce78c4e63a09a22969fa3d7618e44faedc5909a462c7302b7cab"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-07-25 22:28.05 ---> saved as "df439c3b0d44cb024a6aea17c272dc618d43bdfcdc4d6926d6a0a1316b24ada8"
/src: (env DEPS "base-bigarray.base base-domains.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.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.3 --depext-only -y mongoc.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian bookworm InRelease
- Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
- Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
- Get:4 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [272 kB]
- Fetched 375 kB in 1s (345 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"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package libbson-1.0-0.
- (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 ... 18778 files and directories currently installed.)
- Preparing to unpack .../00-libbson-1.0-0_1.23.1-1+deb12u1_amd64.deb ...
- Unpacking libbson-1.0-0 (1.23.1-1+deb12u1) ...
- Selecting previously unselected package libbson-dev.
- Preparing to unpack .../01-libbson-dev_1.23.1-1+deb12u1_amd64.deb ...
- Unpacking libbson-dev (1.23.1-1+deb12u1) ...
- Selecting previously unselected package libicu72:amd64.
- Preparing to unpack .../02-libicu72_72.1-3+deb12u1_amd64.deb ...
- Unpacking libicu72:amd64 (72.1-3+deb12u1) ...
- Selecting previously unselected package libintelrdfpmath-dev:amd64.
- Preparing to unpack .../03-libintelrdfpmath-dev_2.0u2-8_amd64.deb ...
- Unpacking libintelrdfpmath-dev:amd64 (2.0u2-8) ...
- Selecting previously unselected package libmongocrypt0:amd64.
- Preparing to unpack .../04-libmongocrypt0_1.7.2-1_amd64.deb ...
- Unpacking libmongocrypt0:amd64 (1.7.2-1) ...
- Selecting previously unselected package libsnappy1v5:amd64.
- Preparing to unpack .../05-libsnappy1v5_1.1.9-3_amd64.deb ...
- Unpacking libsnappy1v5:amd64 (1.1.9-3) ...
- Selecting previously unselected package libmongoc-1.0-0.
- Preparing to unpack .../06-libmongoc-1.0-0_1.23.1-1+deb12u1_amd64.deb ...
- Unpacking libmongoc-1.0-0 (1.23.1-1+deb12u1) ...
- Selecting previously unselected package libmongocrypt-dev:amd64.
- Preparing to unpack .../07-libmongocrypt-dev_1.7.2-1_amd64.deb ...
- Unpacking libmongocrypt-dev:amd64 (1.7.2-1) ...
- Selecting previously unselected package libssl-dev:amd64.
- Preparing to unpack .../08-libssl-dev_3.0.16-1~deb12u1_amd64.deb ...
- Unpacking libssl-dev:amd64 (3.0.16-1~deb12u1) ...
- Selecting previously unselected package zlib1g-dev:amd64.
- Preparing to unpack .../09-zlib1g-dev_1%3a1.2.13.dfsg-1_amd64.deb ...
- Unpacking zlib1g-dev:amd64 (1:1.2.13.dfsg-1) ...
- Selecting previously unselected package libsnappy-dev:amd64.
- Preparing to unpack .../10-libsnappy-dev_1.1.9-3_amd64.deb ...
- Unpacking libsnappy-dev:amd64 (1.1.9-3) ...
- Selecting previously unselected package libsasl2-dev.
- Preparing to unpack .../11-libsasl2-dev_2.1.28+dfsg-10_amd64.deb ...
- Unpacking libsasl2-dev (2.1.28+dfsg-10) ...
- Selecting previously unselected package libmongoc-dev.
- Preparing to unpack .../12-libmongoc-dev_1.23.1-1+deb12u1_amd64.deb ...
- Unpacking libmongoc-dev (1.23.1-1+deb12u1) ...
- Selecting previously unselected package libpkgconf3:amd64.
- Preparing to unpack .../13-libpkgconf3_1.8.1-1_amd64.deb ...
- Unpacking libpkgconf3:amd64 (1.8.1-1) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../14-pkgconf-bin_1.8.1-1_amd64.deb ...
- Unpacking pkgconf-bin (1.8.1-1) ...
- Selecting previously unselected package pkgconf:amd64.
- Preparing to unpack .../15-pkgconf_1.8.1-1_amd64.deb ...
- Unpacking pkgconf:amd64 (1.8.1-1) ...
- Selecting previously unselected package pkg-config:amd64.
- Preparing to unpack .../16-pkg-config_1.8.1-1_amd64.deb ...
- Unpacking pkg-config:amd64 (1.8.1-1) ...
- Setting up libicu72:amd64 (72.1-3+deb12u1) ...
- Setting up libsnappy1v5:amd64 (1.1.9-3) ...
- Setting up libsasl2-dev (2.1.28+dfsg-10) ...
- Setting up libpkgconf3:amd64 (1.8.1-1) ...
- Setting up libbson-1.0-0 (1.23.1-1+deb12u1) ...
- Setting up libssl-dev:amd64 (3.0.16-1~deb12u1) ...
- Setting up pkgconf-bin (1.8.1-1) ...
- Setting up zlib1g-dev:amd64 (1:1.2.13.dfsg-1) ...
- Setting up libintelrdfpmath-dev:amd64 (2.0u2-8) ...
- Setting up libmongocrypt0:amd64 (1.7.2-1) ...
- Setting up libbson-dev (1.23.1-1+deb12u1) ...
- Setting up libsnappy-dev:amd64 (1.1.9-3) ...
- Setting up libmongocrypt-dev:amd64 (1.7.2-1) ...
- Setting up pkgconf:amd64 (1.8.1-1) ...
- Setting up libmongoc-1.0-0 (1.23.1-1+deb12u1) ...
- Setting up pkg-config:amd64 (1.8.1-1) ...
- Setting up libmongoc-dev (1.23.1-1+deb12u1) ...
- Processing triggers for libc-bin (2.36-9+deb12u10) ...
2025-07-25 22:28.36 ---> saved as "6e3f56bd9cd25b94989c13ef9ca73594bceaffa7db50e47fcad60932565d9ad2"
/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 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)
-> installed conf-pkg-config.4
-> retrieved csexp.1.5.2 (cached)
-> retrieved cmdliner.1.3.0 (cached)
-> 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-25 22:31.12 ---> saved as "a927dae859f014554c3f4773100dd19acef256a96e97a0e2a1deaaefdd2f6760"
/src: (copy (src .) (dst /src))
2025-07-25 22:31.14 ---> saved as "4f6512eedc39efff979f9523dc5ee51187a0c3b92a7b99aa63aba38966f37de8"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
2025-07-25 22:31.21 ---> saved as "44ece7ea5e6f81aac910a44dc87d182db35f6f981a38b3d3ffd29bbc515659b6"
Job succeeded
2025-07-25 22:31.21: Job succeeded