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.0_opam-2.3)
Base: ocaml/opam:debian-12-ocaml-5.0@sha256:6d203d213ec8fdb5074b28177992b3d4f49dfd6296c882c614c25b680c981885
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.0@sha256:6d203d213ec8fdb5074b28177992b3d4f49dfd6296c882c614c25b680c981885
# debian-12-5.0_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.0.0 ocaml-base-compiler.5.0.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-25 21:33.19: Using cache hint "tarides/mongoc-ocaml-ocaml/opam:debian-12-ocaml-5.0@sha256:6d203d213ec8fdb5074b28177992b3d4f49dfd6296c882c614c25b680c981885-debian-12-5.0_opam-2.3-7391571103a9cc64a63eac8e27e68aee"
2025-07-25 21:33.19: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.0@sha256:6d203d213ec8fdb5074b28177992b3d4f49dfd6296c882c614c25b680c981885)
(comment debian-12-5.0_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.0.0 ocaml-base-compiler.5.0.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-25 21:33.19: Waiting for resource in pool OCluster
2025-07-25 22:22.48: Waiting for worker…
2025-07-25 22:22.48: Got resource from pool OCluster
Building on toxis.caelum.ci.dev
All commits already cached
HEAD is now at d2be269 Fix ocaml-ci
(from ocaml/opam:debian-12-ocaml-5.0@sha256:6d203d213ec8fdb5074b28177992b3d4f49dfd6296c882c614c25b680c981885)
2025-07-25 22:22.48 ---> using "eb554071cf3bb1097d63dadc1e86b12da0699d57db7ad9748f3092ab4cdcacf5" from cache
/: (comment debian-12-5.0_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:22.48 ---> using "a3a9146c4b4b1bcd41faced5029ee23bf0cc30a23df035531c784fd282c1f6ca" 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:22.48 ---> using "f28cd2c57c8688a0abcb9d6669dc4919f55a9557504cd6665e99b2b12b0efce2" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-134-generic
The OCaml toplevel, version 5.0.0
2.3.0
2025-07-25 22:22.48 ---> using "4021e0d192e864156a4efde4236145c8272b21e68734816514c1bfd722a4f744" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-07-25 22:22.48 ---> using "6f7d85640a938dfea1faf9bc2b0d44b7853a522929cad3c1cc82bfd7cd429f62" 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.0.0 [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.0.0
-> installed ocaml.5.0.0
-> 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:22.48 ---> using "ab207b129c92f411b44fae91fce203766cf3544be0c7bc0c5c6298869815a11d" from cache
/src: (copy (src mongoc.opam) (dst ./))
2025-07-25 22:22.48 ---> saved as "b76401c9ff9e091d48c79332f3393f0b675d1719ade1ec9f3cdb1918dbde0c20"
/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:22.50 ---> saved as "46cd45cdb7b26f05714c1ea71ef426ffdb3bc28ae12c3c807ef613d34f8de00f"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-07-25 22:22.50 ---> saved as "962e19be3ebad1bc0ba20caf74434d3edfe57362e857a4cf3e532515bc8b2bbc"
/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.0.0 ocaml-base-compiler.5.0.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/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 0s (1124 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.0.0).
[NOTE] Package ocaml is already installed (current version is 5.0.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-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 ... 18747 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 libzstd-dev:amd64.
- Preparing to unpack .../12-libzstd-dev_1.5.4+dfsg2-5_amd64.deb ...
- Unpacking libzstd-dev:amd64 (1.5.4+dfsg2-5) ...
- Selecting previously unselected package libmongoc-dev.
- Preparing to unpack .../13-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 .../14-libpkgconf3_1.8.1-1_amd64.deb ...
- Unpacking libpkgconf3:amd64 (1.8.1-1) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../15-pkgconf-bin_1.8.1-1_amd64.deb ...
- Unpacking pkgconf-bin (1.8.1-1) ...
- Selecting previously unselected package pkgconf:amd64.
- Preparing to unpack .../16-pkgconf_1.8.1-1_amd64.deb ...
- Unpacking pkgconf:amd64 (1.8.1-1) ...
- Selecting previously unselected package pkg-config:amd64.
- Preparing to unpack .../17-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 libzstd-dev:amd64 (1.5.4+dfsg2-5) ...
- 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:23.13 ---> saved as "4dff8b33c035111504d41eb767b5c95025fcb5c3921851837af48260760d8631"
/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.0.0).
[NOTE] Package ocaml is already installed (current version is 5.0.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-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 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.19.1
-> installed ctypes.0.23.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-07-25 22:24.49 ---> saved as "0cd0173773e2edccdd2898e072f85a3529697e691b10885ceb0854eb24664d39"
/src: (copy (src .) (dst /src))
2025-07-25 22:24.50 ---> saved as "9de734f240ca34f9221336635065536c3944bd123b14e57dc8c01783626202e9"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
2025-07-25 22:24.56 ---> saved as "bd1fda6bb6c9a86c10008e2b9324a8d30815f7a62d22fd0e7930db127128502a"
Job succeeded
2025-07-25 22:24.56: Job succeeded