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-4.14+flambda_opam-2.3)
Base: ocaml/opam:debian-12-ocaml-4.14-flambda@sha256:81ddf31dafd34a35d77af3e74bf300b2d6563a3ab097f321927dcbd51cf9fc0c
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-4.14-flambda@sha256:81ddf31dafd34a35d77af3e74bf300b2d6563a3ab097f321927dcbd51cf9fc0c
# debian-12-4.14+flambda_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-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.4.14.2 ocaml-config.2 ocaml-variants.4.14.2+options 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-4.14-flambda@sha256:81ddf31dafd34a35d77af3e74bf300b2d6563a3ab097f321927dcbd51cf9fc0c-debian-12-4.14+flambda_opam-2.3-59494431fa68d77d86b02852c7f56694"
2025-07-25 21:33.19: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.14-flambda@sha256:81ddf31dafd34a35d77af3e74bf300b2d6563a3ab097f321927dcbd51cf9fc0c)
(comment debian-12-4.14+flambda_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-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.4.14.2 ocaml-config.2 ocaml-variants.4.14.2+options 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.51: Waiting for worker…
2025-07-25 22:24.56: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
HEAD is now at d2be269 Fix ocaml-ci
(from ocaml/opam:debian-12-ocaml-4.14-flambda@sha256:81ddf31dafd34a35d77af3e74bf300b2d6563a3ab097f321927dcbd51cf9fc0c)
2025-07-25 22:24.56 ---> using "49d096e039a31bf1290b5caeeb3709dceeae4f9c0f40f1b115c34377b98f5510" from cache
/: (comment debian-12-4.14+flambda_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:24.56 ---> using "3351dafe7836e7f960c6e2ac648e0f88ae54e1021af1c6b0453ff889cf9d2e0a" 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
[NOTE] The 'jobs' option was reset, its value was 71 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
opam option jobs=71 --global
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-07-25 22:24.56 ---> using "295ee5e26fe1a7f3b667056021cde25094f6688dc9c5597c84636921b76ef0df" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-142-generic
The OCaml toplevel, version 4.14.2
2.3.0
2025-07-25 22:24.56 ---> using "6d7d8ad57e0880d5697ac0069154bdaea22992408260959fc32b04394a55e834" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-07-25 22:24.56 ---> using "7795c17cafe1f35347ad68b197a275300531f87a02e1ef9e242245ec6ecdf5e7" 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 2 packages
- recompile ocaml 4.14.2 [upstream or system changes]
- recompile opam-depext 1.2.3 [uses ocaml]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved opam-depext.1.2.3 (cached)
-> removed opam-depext.1.2.3
-> removed ocaml.4.14.2
-> installed ocaml.4.14.2
-> 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:24.56 ---> using "1c78bce2faafa415be903e94bde13fd2240f5c7f554d762e149b78b1b3b394bc" from cache
/src: (copy (src mongoc.opam) (dst ./))
2025-07-25 22:24.56 ---> saved as "0f9d5ad6fae03a98e4f59859b5001652b9650002941628900a5e3706973dd121"
/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:24.58 ---> saved as "1365915b698e23d44702b0e96085871814594938e77917ae8a3d9af7544f4ffe"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-07-25 22:24.58 ---> saved as "040bb9b9271e01ab21a3962490c197546b6cf5b057c35776f1ac6d210593393c"
/src: (env DEPS "base-bigarray.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.4.14.2 ocaml-config.2 ocaml-variants.4.14.2+options 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 (1129 kB/s)
- Reading package lists...
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[mongoc.dev] synchronised (file:///src)
[NOTE] Package ocaml-variants is already installed (current version is 4.14.2+options).
[NOTE] Package ocaml-config is already installed (current version is 2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[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-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:25.09 ---> saved as "50be0d2be34ed26bf99632374a2bd2011dc8e58603de7f88944cefcda0f8eba3"
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
[NOTE] Package ocaml-variants is already installed (current version is 4.14.2+options).
[NOTE] Package ocaml-config is already installed (current version is 2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[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-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-25 22:26.03 ---> saved as "547497b5bb18db608f7c807e1413c686d0050fc12ea1c955c42b8d576576df76"
/src: (copy (src .) (dst /src))
2025-07-25 22:26.03 ---> saved as "bbad7be063042756451f07ea8a9191ad26903a5b26ac56372f5b201ac88ad504"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
2025-07-25 22:26.06 ---> saved as "b7201a9c21898fc5f1901291317262fa1492a0681fdd4ffc07bdcf2acc836e53"
Job succeeded
2025-07-25 22:26.06: Job succeeded