2025-07-09 12:25.48: New job: test tarides/mongoc-ocaml https://github.com/tarides/mongoc-ocaml.git#refs/heads/ci (d2be269f2eac159b400a9b311e310ec00b65e329) (linux-arm64:debian-12-5.3_arm64_opam-2.3)
Base: ocaml/opam:debian-12-ocaml-5.3@sha256:7b29589733a308244596214dae557b49af056bee2c2b7d38366b2f9f142cf571
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.3@sha256:7b29589733a308244596214dae557b49af056bee2c2b7d38366b2f9f142cf571
# debian-12-5.3_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 a28eb8a148feb4fbc6466fa0791668993513dbde || git fetch origin master) && git reset -q --hard a28eb8a148feb4fbc6466fa0791668993513dbde && 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.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.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.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-09 12:25.48: Using cache hint "tarides/mongoc-ocaml-ocaml/opam:debian-12-ocaml-5.3@sha256:7b29589733a308244596214dae557b49af056bee2c2b7d38366b2f9f142cf571-debian-12-5.3_arm64_opam-2.3-5b970a796b5334997fbc490a8ac7eafa"
2025-07-09 12:25.48: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.3@sha256:7b29589733a308244596214dae557b49af056bee2c2b7d38366b2f9f142cf571)
(comment debian-12-5.3_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 a28eb8a148feb4fbc6466fa0791668993513dbde || git fetch origin master) && git reset -q --hard a28eb8a148feb4fbc6466fa0791668993513dbde && 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.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.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.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-09 12:25.48: Waiting for resource in pool OCluster
2025-07-09 12:31.41: Waiting for worker…
2025-07-09 12:50.04: Got resource from pool OCluster
Building on kydoime.caelum.ci.dev
All commits already cached
HEAD is now at d2be269 Fix ocaml-ci
(from ocaml/opam:debian-12-ocaml-5.3@sha256:7b29589733a308244596214dae557b49af056bee2c2b7d38366b2f9f142cf571)
Unable to find image 'ocaml/opam:debian-12-ocaml-5.3@sha256:7b29589733a308244596214dae557b49af056bee2c2b7d38366b2f9f142cf571' locally
docker.io/ocaml/opam@sha256:7b29589733a308244596214dae557b49af056bee2c2b7d38366b2f9f142cf571: Pulling from ocaml/opam
66ed44a1abd1: Pulling fs layer
66ed44a1abd1: Verifying Checksum
66ed44a1abd1: Download complete
66ed44a1abd1: Pull complete
Digest: sha256:7b29589733a308244596214dae557b49af056bee2c2b7d38366b2f9f142cf571
Status: Downloaded newer image for ocaml/opam@sha256:7b29589733a308244596214dae557b49af056bee2c2b7d38366b2f9f142cf571
2025-07-09 12:50.04 ---> using "f6ae7351875684a25350189421e3f184121b5b67f827c237226a23991bd7124b" from cache
/: (comment debian-12-5.3_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-09 12:50.04 ---> using "2ddd24b792e69c58b0b2cc7bf7d8dcd13cf9bc62381bf170e1ca7968b6c11aff" 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-09 12:50.04 ---> using "f35d67e56ae10ef80f10d2429aaeb5ea1e42614f6f3d0967ae70966aea2342df" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-142-generic
The OCaml toplevel, version 5.3.0
2.3.0
2025-07-09 12:50.04 ---> using "d352b6f5b0d4cda2f7b4d7d31d3055184072213bfeca60ff0589f33e67b8c5ef" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-07-09 12:50.04 ---> using "fa5c0855117c025048b5b3f5babef35cb5477e180d9337ec1177bf9039018873" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e a28eb8a148feb4fbc6466fa0791668993513dbde || git fetch origin master) && git reset -q --hard a28eb8a148feb4fbc6466fa0791668993513dbde && git log --no-decorate -n1 --oneline && opam update -u"))
a28eb8a148 Merge pull request #28017 from maiste/release-dune-3.19.1
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+file:///home/opam/opam-repository
Everything as up-to-date as possible (run with --verbose to show unavailable upgrades).
However, you may "opam upgrade" these packages explicitly, which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2025-07-09 12:50.04 ---> using "1bb772a7e97937885554e93fa69470cc53168ff91cb262047233ee007592097f" from cache
/src: (copy (src mongoc.opam) (dst ./))
2025-07-09 12:50.05 ---> saved as "5668f0660d6d4c7254f8afc09f5b44c1d3bb49c88e61a6ee991dfaaf1ec48bbe"
/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-09 12:50.06 ---> saved as "7045626627be8abc03e10fb46d6625808ce74f0262439708d7a30374d0198c8f"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-07-09 12:50.06 ---> saved as "2bad1306f9a8c36b79638c51832bc08ef7f24ef1455def3aed5b15c56e017f78"
/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.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.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.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 0s (878 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"
- 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 ... 18801 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 libmongoc-dev.
- Preparing to unpack .../12-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 .../13-libpkgconf3_1.8.1-1_arm64.deb ...
- Unpacking libpkgconf3:arm64 (1.8.1-1) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../14-pkgconf-bin_1.8.1-1_arm64.deb ...
- Unpacking pkgconf-bin (1.8.1-1) ...
- Selecting previously unselected package pkgconf:arm64.
- Preparing to unpack .../15-pkgconf_1.8.1-1_arm64.deb ...
- Unpacking pkgconf:arm64 (1.8.1-1) ...
- Selecting previously unselected package pkg-config:arm64.
- Preparing to unpack .../16-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 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-09 12:50.27 ---> saved as "79d75873d928ef59a17235dc8fadc59c1e33ddb70ebbf98775008a4780237e32"
/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 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 csexp.1.5.2
-> installed bigarray-compat.1.1.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-09 12:51.17 ---> saved as "e42a3f57b129aaf6c3412d2753e6d5764b83835f6e81079fff59326296c910da"
/src: (copy (src .) (dst /src))
2025-07-09 12:51.17 ---> saved as "f2856a573b140d4f1a90c54bc2a2d2184a1fc067450dffb540c7ad062c298090"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
2025-07-09 12:51.19 ---> saved as "19d9cc38bdeb0f06f979772a120ed2c647eeb0121d3cc482f5f7928e1d4e490d"
Job succeeded
2025-07-09 12:51.20: Job succeeded