2025-07-25 21:33.19: New job: test tarides/mongoc-ocaml https://github.com/tarides/mongoc-ocaml.git#refs/heads/ci (d2be269f2eac159b400a9b311e310ec00b65e329) (linux-arm64:debian-12-4.14_arm64_opam-2.3)
Base: ocaml/opam:debian-12-ocaml-4.14@sha256:6f8db8c06157a38a9483402dea3838636e87135bb51fc7ad60e0f857a2c25795
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@sha256:6f8db8c06157a38a9483402dea3838636e87135bb51fc7ad60e0f857a2c25795
# debian-12-4.14_arm64_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-base-compiler.4.14.2 ocaml-config.2 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-4.14@sha256:6f8db8c06157a38a9483402dea3838636e87135bb51fc7ad60e0f857a2c25795-debian-12-4.14_arm64_opam-2.3-e0530d897ef2eb91ba32fd3d6b7755ff"
2025-07-25 21:33.19: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.14@sha256:6f8db8c06157a38a9483402dea3838636e87135bb51fc7ad60e0f857a2c25795)
(comment debian-12-4.14_arm64_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-base-compiler.4.14.2 ocaml-config.2 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:06.18: Waiting for worker…
2025-07-25 22:39.19: Got resource from pool OCluster
Building on okypous.caelum.ci.dev
All commits already cached
HEAD is now at d2be269 Fix ocaml-ci
(from ocaml/opam:debian-12-ocaml-4.14@sha256:6f8db8c06157a38a9483402dea3838636e87135bb51fc7ad60e0f857a2c25795)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.14@sha256:6f8db8c06157a38a9483402dea3838636e87135bb51fc7ad60e0f857a2c25795' locally
docker.io/ocaml/opam@sha256:6f8db8c06157a38a9483402dea3838636e87135bb51fc7ad60e0f857a2c25795: Pulling from ocaml/opam
Digest: sha256:6f8db8c06157a38a9483402dea3838636e87135bb51fc7ad60e0f857a2c25795
Status: Downloaded newer image for ocaml/opam@sha256:6f8db8c06157a38a9483402dea3838636e87135bb51fc7ad60e0f857a2c25795
2025-07-25 22:39.20 ---> using "254886a94c35d71e66e25e8b15528601735515402986c5c1efbdbe745cbcdee6" from cache
/: (comment debian-12-4.14_arm64_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:39.20 ---> using "e61c659de03865d3ab9068e2e2f62c14ab3f32748fb13fcbfe183e3b29f6fbf1" 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:39.20 ---> using "463ff9c68aa41a62d10ca6f3cd0f461e3ac8b6d2ffc5c07ac8e4329d2fa9c75b" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-138-generic
The OCaml toplevel, version 4.14.2
2.3.0
2025-07-25 22:39.20 ---> using "94eedae8c8be62bdfaef732717d567c787e201e945bc405eb0d48cecec5e8558" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-07-25 22:39.20 ---> using "8ff1dd130fdc03a81d9c041cce724427e64814a34c5bcf97331576120abe5464" 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:39.20 ---> using "bddd636f06ba4ebaa6c3ba82c0eb9333893db2e1742ea3b5af03eb78efab0335" from cache
/src: (copy (src mongoc.opam) (dst ./))
2025-07-25 22:39.22 ---> saved as "8350d47299b78d87f4d915b1cff83325ade6e238e5cd3ab49cce4fd92ae947fa"
/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:39.27 ---> saved as "b6f80ea2e535d964456b11732cc9ba9965b0d1e8f0c9ac7d06408650c8a1b071"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-07-25 22:39.30 ---> saved as "5459c1e8b3c5d00fad6c65d00db646218e8dd1a37ab8c3167770ad2eeef511bc"
/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-base-compiler.4.14.2 ocaml-config.2 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 arm64 Packages [268 kB]
- Fetched 371 kB in 2s (231 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 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.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 ... 18770 files and directories currently installed.)
- Preparing to unpack .../00-libbson-1.0-0_1.23.1-1+deb12u1_arm64.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_arm64.deb ...
- Unpacking libbson-dev (1.23.1-1+deb12u1) ...
- Selecting previously unselected package libicu72:arm64.
- Preparing to unpack .../02-libicu72_72.1-3+deb12u1_arm64.deb ...
- Unpacking libicu72:arm64 (72.1-3+deb12u1) ...
- Selecting previously unselected package libintelrdfpmath-dev:arm64.
- Preparing to unpack .../03-libintelrdfpmath-dev_2.0u2-8_arm64.deb ...
- Unpacking libintelrdfpmath-dev:arm64 (2.0u2-8) ...
- Selecting previously unselected package libmongocrypt0:arm64.
- Preparing to unpack .../04-libmongocrypt0_1.7.2-1_arm64.deb ...
- Unpacking libmongocrypt0:arm64 (1.7.2-1) ...
- Selecting previously unselected package libsnappy1v5:arm64.
- Preparing to unpack .../05-libsnappy1v5_1.1.9-3_arm64.deb ...
- Unpacking libsnappy1v5:arm64 (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_arm64.deb ...
- Unpacking libmongoc-1.0-0 (1.23.1-1+deb12u1) ...
- Selecting previously unselected package libmongocrypt-dev:arm64.
- Preparing to unpack .../07-libmongocrypt-dev_1.7.2-1_arm64.deb ...
- Unpacking libmongocrypt-dev:arm64 (1.7.2-1) ...
- Selecting previously unselected package libssl-dev:arm64.
- Preparing to unpack .../08-libssl-dev_3.0.16-1~deb12u1_arm64.deb ...
- Unpacking libssl-dev:arm64 (3.0.16-1~deb12u1) ...
- Selecting previously unselected package zlib1g-dev:arm64.
- Preparing to unpack .../09-zlib1g-dev_1%3a1.2.13.dfsg-1_arm64.deb ...
- Unpacking zlib1g-dev:arm64 (1:1.2.13.dfsg-1) ...
- Selecting previously unselected package libsnappy-dev:arm64.
- Preparing to unpack .../10-libsnappy-dev_1.1.9-3_arm64.deb ...
- Unpacking libsnappy-dev:arm64 (1.1.9-3) ...
- Selecting previously unselected package libsasl2-dev.
- Preparing to unpack .../11-libsasl2-dev_2.1.28+dfsg-10_arm64.deb ...
- Unpacking libsasl2-dev (2.1.28+dfsg-10) ...
- Selecting previously unselected package libzstd-dev:arm64.
- Preparing to unpack .../12-libzstd-dev_1.5.4+dfsg2-5_arm64.deb ...
- Unpacking libzstd-dev:arm64 (1.5.4+dfsg2-5) ...
- Selecting previously unselected package libmongoc-dev.
- Preparing to unpack .../13-libmongoc-dev_1.23.1-1+deb12u1_arm64.deb ...
- Unpacking libmongoc-dev (1.23.1-1+deb12u1) ...
- Selecting previously unselected package libpkgconf3:arm64.
- Preparing to unpack .../14-libpkgconf3_1.8.1-1_arm64.deb ...
- Unpacking libpkgconf3:arm64 (1.8.1-1) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../15-pkgconf-bin_1.8.1-1_arm64.deb ...
- Unpacking pkgconf-bin (1.8.1-1) ...
- Selecting previously unselected package pkgconf:arm64.
- Preparing to unpack .../16-pkgconf_1.8.1-1_arm64.deb ...
- Unpacking pkgconf:arm64 (1.8.1-1) ...
- Selecting previously unselected package pkg-config:arm64.
- Preparing to unpack .../17-pkg-config_1.8.1-1_arm64.deb ...
- Unpacking pkg-config:arm64 (1.8.1-1) ...
- Setting up libicu72:arm64 (72.1-3+deb12u1) ...
- Setting up libzstd-dev:arm64 (1.5.4+dfsg2-5) ...
- Setting up libsnappy1v5:arm64 (1.1.9-3) ...
- Setting up libsasl2-dev (2.1.28+dfsg-10) ...
- Setting up libpkgconf3:arm64 (1.8.1-1) ...
- Setting up libbson-1.0-0 (1.23.1-1+deb12u1) ...
- Setting up libssl-dev:arm64 (3.0.16-1~deb12u1) ...
- Setting up pkgconf-bin (1.8.1-1) ...
- Setting up zlib1g-dev:arm64 (1:1.2.13.dfsg-1) ...
- Setting up libintelrdfpmath-dev:arm64 (2.0u2-8) ...
- Setting up libmongocrypt0:arm64 (1.7.2-1) ...
- Setting up libbson-dev (1.23.1-1+deb12u1) ...
- Setting up libsnappy-dev:arm64 (1.1.9-3) ...
- Setting up libmongocrypt-dev:arm64 (1.7.2-1) ...
- Setting up pkgconf:arm64 (1.8.1-1) ...
- Setting up libmongoc-1.0-0 (1.23.1-1+deb12u1) ...
- Setting up pkg-config:arm64 (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:39.58 ---> saved as "608c14ea91fde510abfb3278e6396a47995cfa84cb5d72b288199eb19109b313"
/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 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.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 <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed conf-pkg-config.4
-> retrieved bigarray-compat.1.1.0 (cached)
-> retrieved cmdliner.1.3.0 (cached)
-> retrieved csexp.1.5.2 (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:41.12 ---> saved as "d3cb26a664a63ded952bed2b7ce2c5aa8424af263529860ea9eaff433cbd1272"
/src: (copy (src .) (dst /src))
2025-07-25 22:41.15 ---> saved as "84828189e60a131b0d0ddab7cfeaccf1214314d0604e87200ebe746c55a59099"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
2025-07-25 22:41.26 ---> saved as "5a8ff16fe32537a6728f8dd9ad9bb05cd90ea24407dfd85ed8fd7876a3631e4d"
Job succeeded
2025-07-25 22:41.26: Job succeeded