Organisationstaridesmongoc-ocaml042080 (main)ubuntu-22.04-4.14_opam-2.5

ubuntu-22.04-4.14_opam-2.5

Link Copied
Code Copied

Logs

2026-04-27 07:30.01: New job: test tarides/mongoc-ocaml https://github.com/tarides/mongoc-ocaml.git#refs/heads/main (042080ab77ab888069120fa0910b9b4c87e6e274) (linux-x86_64:ubuntu-22.04-4.14_opam-2.5)
Base: ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:9978d28b1510425f9fa78e53f7123219de900b660f115242255dec9bdd416d1a
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/tarides/mongoc-ocaml.git" -b "main" && cd "mongoc-ocaml" && git reset --hard 042080ab
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:9978d28b1510425f9fa78e53f7123219de900b660f115242255dec9bdd416d1a
# ubuntu-22.04-4.14_opam-2.5
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.5 /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 036883c5402b41e0d35f6b200245cc7c3a302395 || git fetch origin master) && git reset -q --hard 036883c5402b41e0d35f6b200245cc7c3a302395 && 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 cmdliner.2.1.1 conf-pkg-config.4 csexp.1.5.2 ctypes.0.24.0 dune.3.22.2 dune-configurator.3.22.2 integers.0.7.0 ocaml.4.14.3 ocaml-base-compiler.4.14.3 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.5 --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


2026-04-27 07:30.01: Using cache hint "tarides/mongoc-ocaml-ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:9978d28b1510425f9fa78e53f7123219de900b660f115242255dec9bdd416d1a-ubuntu-22.04-4.14_opam-2.5-325c42da7d67df10dab8c56633a472b5"
2026-04-27 07:30.01: Using OBuilder spec:
((from ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:9978d28b1510425f9fa78e53f7123219de900b660f115242255dec9bdd416d1a)
(comment ubuntu-22.04-4.14_opam-2.5)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/bin/opam-2.5 /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 036883c5402b41e0d35f6b200245cc7c3a302395 || git fetch origin master) && git reset -q --hard 036883c5402b41e0d35f6b200245cc7c3a302395 && 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 (shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "base-bigarray.base base-threads.base base-unix.base cmdliner.2.1.1 conf-pkg-config.4 csexp.1.5.2 ctypes.0.24.0 dune.3.22.2 dune-configurator.3.22.2 integers.0.7.0 ocaml.4.14.3 ocaml-base-compiler.4.14.3 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.5 --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"))
)


2026-04-27 07:30.01: Waiting for resource in pool OCluster
2026-04-27 08:16.31: Waiting for worker…
2026-04-27 08:19.01: Got resource from pool OCluster
Building on bremusa.ocamllabs.io
All commits already cached
HEAD is now at 042080a Merge pull request #2 from tarides/ci


(from ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:9978d28b1510425f9fa78e53f7123219de900b660f115242255dec9bdd416d1a)
Unable to find image 'ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:9978d28b1510425f9fa78e53f7123219de900b660f115242255dec9bdd416d1a' locally
docker.io/ocaml/opam@sha256:9978d28b1510425f9fa78e53f7123219de900b660f115242255dec9bdd416d1a: Pulling from ocaml/opam
f63eb04151bc: Already exists
16ef32c2b922: Already exists
e5e797a8532e: Already exists
900d76492cd2: Already exists
b32fb13583c7: Already exists
cc067465d8d1: Already exists
6aa8f5351c31: Already exists
dd8552e5b43d: Already exists
43f4b9675c30: Already exists
4c7b0811a3d4: Already exists
631ea5d5606c: Already exists
feb2963643de: Already exists
4a7bd3298042: Already exists
869749c01379: Already exists
062faef17978: Already exists
3da7b1d53079: Already exists
5c55fc1c2e7f: Already exists
5c55fc1c2e7f: Already exists
4f4fb700ef54: Already exists
bc630b9f54d9: Already exists
d37f1552c2be: Already exists
93fddfb5d660: Already exists
4f4fb700ef54: Already exists
7e22d88b1f22: Already exists
471528d8c145: Already exists
ea05e57fd084: Already exists
158119cd57c7: Already exists
325db06da924: Already exists
168b1f896c3b: Already exists
2bfb76a16172: Already exists
0cf1ed22f117: Already exists
5ccb0f2d64b3: Already exists
5e94edcc9569: Already exists
00860f476adc: Already exists
94d81fb6e3f5: Already exists
0247515e7c33: Already exists
e05c2c8dbed5: Already exists
5e97b484e1fe: Already exists
3b7e8887fcc2: Already exists
15db2b9812bb: Already exists
610e48377a63: Already exists
117f8d44d4a3: Pulling fs layer
9eddb87ae6a8: Pulling fs layer
b38c24be2496: Pulling fs layer
4cffb5c2964b: Pulling fs layer
b38c24be2496: Waiting
4cffb5c2964b: Waiting
9eddb87ae6a8: Verifying Checksum
9eddb87ae6a8: Download complete
b38c24be2496: Verifying Checksum
b38c24be2496: Download complete
4cffb5c2964b: Verifying Checksum
4cffb5c2964b: Download complete
117f8d44d4a3: Verifying Checksum
117f8d44d4a3: Download complete
117f8d44d4a3: Pull complete
9eddb87ae6a8: Pull complete
b38c24be2496: Pull complete
4cffb5c2964b: Pull complete
Digest: sha256:9978d28b1510425f9fa78e53f7123219de900b660f115242255dec9bdd416d1a
Status: Downloaded newer image for ocaml/opam@sha256:9978d28b1510425f9fa78e53f7123219de900b660f115242255dec9bdd416d1a
2026-04-27 08:19.01 ---> using "8f2b5d0a59cc03e6e84b710b80d10f3206c6bcf1d163b115e624435fb4299fd5" from cache


/: (comment ubuntu-22.04-4.14_opam-2.5)


/: (user (uid 1000) (gid 1000))


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (workdir /src)


/src: (run (shell "sudo ln -f /usr/bin/opam-2.5 /usr/bin/opam"))
2026-04-27 08:19.01 ---> using "87fdcf2f2a15f69e2326fdefca603bf7e5009918339b39978c52d9140c3c5cd9" 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 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
2026-04-27 08:19.01 ---> using "0780bb7df08dce901f0f1d0c7e2ed44e749fe768d09bfe42aa793c4b41ebc505" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-107-generic
The OCaml toplevel, version 4.14.3
2.5.1
2026-04-27 08:19.01 ---> using "292a08f2d8ffaadcbe2e8aef0b4b29bd4676ba1d6895ab82a8f9fed1b58fe31a" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2026-04-27 08:19.01 ---> using "a03adddbad1c03d5ec72934682e5f46d67d262e0e097e2afa79c5c78dfcdb45a" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 036883c5402b41e0d35f6b200245cc7c3a302395 || git fetch origin master) && git reset -q --hard 036883c5402b41e0d35f6b200245cc7c3a302395 && git log --no-decorate -n1 --oneline && opam update -u"))
036883c540 Merge pull request #29788 from dbuenzli/b0-publish-cmdliner.2.1.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 at these versions (e.g. "opam upgrade ocaml.5.5.0"), which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2026-04-27 08:19.01 ---> using "ca4e1e357812fe0f27cbf37246072524f15a0992999f7a0267df0a5ae3371b63" from cache


/src: (copy (src mongoc.opam) (dst ./))
2026-04-27 08:19.02 ---> saved as "44a8acf2ac6c489dea01bcb57e9f570b9b277dddfec548ead8e1653a3704732d"


/src: (run (network host)
(shell "opam pin add -yn mongoc.dev './'"))
[NOTE] Package mongoc does not exist in opam repositories registered in the current switch.
[mongoc.dev] synchronised (file:///src)
mongoc is now pinned to file:///src (version dev)
2026-04-27 08:19.05 ---> saved as "9fa742b25db22abe5c44d73167d4f705e99241c3d298064186a7f2c81eecef58"


/src: (run (shell "echo '(lang dune 3.0)' > './dune-project'"))
2026-04-27 08:19.05 ---> saved as "7090e6677ff4f92330ff5f7214fa07a8859a06462d668a22b1cd6565b3dce2cc"


/src: (env DEPS "base-bigarray.base base-threads.base base-unix.base cmdliner.2.1.1 conf-pkg-config.4 csexp.1.5.2 ctypes.0.24.0 dune.3.22.2 dune-configurator.3.22.2 integers.0.7.0 ocaml.4.14.3 ocaml-base-compiler.4.14.3 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.5 --depext-only -y mongoc.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://archive.ubuntu.com/ubuntu jammy InRelease
- Get:2 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [128 kB]
- Get:3 http://security.ubuntu.com/ubuntu jammy-security InRelease [129 kB]
- Get:4 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [127 kB]
- Fetched 384 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 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.3).
[NOTE] Package ocaml is already installed (current version is 4.14.3).
[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 libglib2.0-0:amd64.
- (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 ... 15645 files and directories currently installed.)
- Preparing to unpack .../00-libglib2.0-0_2.72.4-0ubuntu2.9_amd64.deb ...
- Unpacking libglib2.0-0:amd64 (2.72.4-0ubuntu2.9) ...
- Selecting previously unselected package libglib2.0-data.
- Preparing to unpack .../01-libglib2.0-data_2.72.4-0ubuntu2.9_all.deb ...
- Unpacking libglib2.0-data (2.72.4-0ubuntu2.9) ...
- Selecting previously unselected package libicu70:amd64.
- Preparing to unpack .../02-libicu70_70.1-2_amd64.deb ...
- Unpacking libicu70:amd64 (70.1-2) ...
- Selecting previously unselected package libxml2:amd64.
- Preparing to unpack .../03-libxml2_2.9.13+dfsg-1ubuntu0.11_amd64.deb ...
- Unpacking libxml2:amd64 (2.9.13+dfsg-1ubuntu0.11) ...
- Selecting previously unselected package shared-mime-info.
- Preparing to unpack .../04-shared-mime-info_2.1-2_amd64.deb ...
- Unpacking shared-mime-info (2.1-2) ...
- Selecting previously unselected package xdg-user-dirs.
- Preparing to unpack .../05-xdg-user-dirs_0.17-2ubuntu4_amd64.deb ...
- Unpacking xdg-user-dirs (0.17-2ubuntu4) ...
- Selecting previously unselected package libbson-1.0-0.
- Preparing to unpack .../06-libbson-1.0-0_1.21.0-1build1_amd64.deb ...
- Unpacking libbson-1.0-0 (1.21.0-1build1) ...
- Selecting previously unselected package libbson-dev.
- Preparing to unpack .../07-libbson-dev_1.21.0-1build1_amd64.deb ...
- Unpacking libbson-dev (1.21.0-1build1) ...
- Selecting previously unselected package libmongocrypt0:amd64.
- Preparing to unpack .../08-libmongocrypt0_1.3.0-1ubuntu1_amd64.deb ...
- Unpacking libmongocrypt0:amd64 (1.3.0-1ubuntu1) ...
- Selecting previously unselected package libsnappy1v5:amd64.
- Preparing to unpack .../09-libsnappy1v5_1.1.8-1build3_amd64.deb ...
- Unpacking libsnappy1v5:amd64 (1.1.8-1build3) ...
- Selecting previously unselected package libmongoc-1.0-0.
- Preparing to unpack .../10-libmongoc-1.0-0_1.21.0-1build1_amd64.deb ...
- Unpacking libmongoc-1.0-0 (1.21.0-1build1) ...
- Selecting previously unselected package libmongocrypt-dev:amd64.
- Preparing to unpack .../11-libmongocrypt-dev_1.3.0-1ubuntu1_amd64.deb ...
- Unpacking libmongocrypt-dev:amd64 (1.3.0-1ubuntu1) ...
- Selecting previously unselected package libssl-dev:amd64.
- Preparing to unpack .../12-libssl-dev_3.0.2-0ubuntu1.23_amd64.deb ...
- Unpacking libssl-dev:amd64 (3.0.2-0ubuntu1.23) ...
- Selecting previously unselected package zlib1g-dev:amd64.
- Preparing to unpack .../13-zlib1g-dev_1%3a1.2.11.dfsg-2ubuntu9.2_amd64.deb ...
- Unpacking zlib1g-dev:amd64 (1:1.2.11.dfsg-2ubuntu9.2) ...
- Selecting previously unselected package libsnappy-dev:amd64.
- Preparing to unpack .../14-libsnappy-dev_1.1.8-1build3_amd64.deb ...
- Unpacking libsnappy-dev:amd64 (1.1.8-1build3) ...
- Selecting previously unselected package libsasl2-dev.
- Preparing to unpack .../15-libsasl2-dev_2.1.27+dfsg2-3ubuntu1.2_amd64.deb ...
- Unpacking libsasl2-dev (2.1.27+dfsg2-3ubuntu1.2) ...
- Selecting previously unselected package libzstd-dev:amd64.
- Preparing to unpack .../16-libzstd-dev_1.4.8+dfsg-3build1_amd64.deb ...
- Unpacking libzstd-dev:amd64 (1.4.8+dfsg-3build1) ...
- Selecting previously unselected package libmongoc-dev.
- Preparing to unpack .../17-libmongoc-dev_1.21.0-1build1_amd64.deb ...
- Unpacking libmongoc-dev (1.21.0-1build1) ...
- Selecting previously unselected package pkg-config.
- Preparing to unpack .../18-pkg-config_0.29.2-1ubuntu3_amd64.deb ...
- Unpacking pkg-config (0.29.2-1ubuntu3) ...
- Setting up libzstd-dev:amd64 (1.4.8+dfsg-3build1) ...
- Setting up xdg-user-dirs (0.17-2ubuntu4) ...
- Setting up libglib2.0-0:amd64 (2.72.4-0ubuntu2.9) ...
- No schema files found: doing nothing.
- Setting up libsnappy1v5:amd64 (1.1.8-1build3) ...
- Setting up libsasl2-dev (2.1.27+dfsg2-3ubuntu1.2) ...
- Setting up libglib2.0-data (2.72.4-0ubuntu2.9) ...
- Setting up libbson-1.0-0 (1.21.0-1build1) ...
- Setting up libssl-dev:amd64 (3.0.2-0ubuntu1.23) ...
- Setting up pkg-config (0.29.2-1ubuntu3) ...
- Setting up zlib1g-dev:amd64 (1:1.2.11.dfsg-2ubuntu9.2) ...
- Setting up libicu70:amd64 (70.1-2) ...
- Setting up libmongocrypt0:amd64 (1.3.0-1ubuntu1) ...
- Setting up libbson-dev (1.21.0-1build1) ...
- Setting up libsnappy-dev:amd64 (1.1.8-1build3) ...
- Setting up libmongocrypt-dev:amd64 (1.3.0-1ubuntu1) ...
- Setting up libmongoc-1.0-0 (1.21.0-1build1) ...
- Setting up libxml2:amd64 (2.9.13+dfsg-1ubuntu0.11) ...
- Setting up libmongoc-dev (1.21.0-1build1) ...
- Setting up shared-mime-info (2.1-2) ...
- Processing triggers for libc-bin (2.35-0ubuntu3.13) ...
# To update the current shell environment, run: eval $(opam env)
2026-04-27 08:19.36 ---> saved as "4a01bdad2158537988be7495f1d34217f158acdf38cffecc1637377128c4b226"


/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.3).
[NOTE] Package ocaml is already installed (current version is 4.14.3).
[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 8 packages
- install cmdliner          2.1.1
- install conf-pkg-config   4
- install csexp             1.5.2
- install ctypes            0.24.0
- install dune              3.22.2
- install dune-configurator 3.22.2
- install integers          0.7.0
- install stdlib-shims      0.3.0


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cmdliner.2.1.1  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved ctypes.0.24.0  (cached)
-> installed conf-pkg-config.4
-> retrieved integers.0.7.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved dune.3.22.2, dune-configurator.3.22.2  (cached)
-> installed cmdliner.2.1.1
-> installed dune.3.22.2
-> installed stdlib-shims.0.3.0
-> installed csexp.1.5.2
-> installed integers.0.7.0
-> installed dune-configurator.3.22.2
-> installed ctypes.0.24.0
Done.
# To update the current shell environment, run: eval $(opam env)
2026-04-27 08:21.04 ---> saved as "cbee16d584dd2231cb92ac7ec218b69123a380b7dc61377f20c8f0708ddb3159"


/src: (copy (src .) (dst /src))
2026-04-27 08:21.04 ---> saved as "c6fae4ffc3b4c6049e87b8fe217a8adc49a44739a3fc93736778a32ad01c6e30"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
2026-04-27 08:21.09 ---> saved as "04fc8e4d9490fd27f392c40e3932a6a5d47383ed1431727927dc61d86718469c"
Job succeeded
2026-04-27 08:21.08: Job succeeded