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

ubuntu-24.04-4.14_opam-2.5

Link Copied
Code Copied

Logs

2026-04-03 11:36.15: New job: test tarides/mongoc-ocaml https://github.com/tarides/mongoc-ocaml.git#refs/heads/main (042080ab77ab888069120fa0910b9b4c87e6e274) (linux-x86_64:ubuntu-24.04-4.14_opam-2.5)
Base: ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:378b80130a8565c501d060ebe277e1585177fb5caf23983614eeb4d30378ddea
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-24.04-ocaml-4.14@sha256:378b80130a8565c501d060ebe277e1585177fb5caf23983614eeb4d30378ddea
# ubuntu-24.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 d06cfb1853afceb1dc127f88edaac3f8110bf6cc || git fetch origin master) && git reset -q --hard d06cfb1853afceb1dc127f88edaac3f8110bf6cc && 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.0 conf-pkg-config.4 csexp.1.5.2 ctypes.0.24.0 dune.3.22.1 dune-configurator.3.22.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.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-03 11:36.15: Using cache hint "tarides/mongoc-ocaml-ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:378b80130a8565c501d060ebe277e1585177fb5caf23983614eeb4d30378ddea-ubuntu-24.04-4.14_opam-2.5-7ba2cc2c30b15e389781591baf544611"
2026-04-03 11:36.15: Using OBuilder spec:
((from ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:378b80130a8565c501d060ebe277e1585177fb5caf23983614eeb4d30378ddea)
(comment ubuntu-24.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 d06cfb1853afceb1dc127f88edaac3f8110bf6cc || git fetch origin master) && git reset -q --hard d06cfb1853afceb1dc127f88edaac3f8110bf6cc && 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.0 conf-pkg-config.4 csexp.1.5.2 ctypes.0.24.0 dune.3.22.1 dune-configurator.3.22.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.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-03 11:36.15: Waiting for resource in pool OCluster
2026-04-03 14:16.49: Waiting for worker…
2026-04-03 14:19.48: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
HEAD is now at 042080a Merge pull request #2 from tarides/ci


(from ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:378b80130a8565c501d060ebe277e1585177fb5caf23983614eeb4d30378ddea)
Unable to find image 'ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:378b80130a8565c501d060ebe277e1585177fb5caf23983614eeb4d30378ddea' locally
docker.io/ocaml/opam@sha256:378b80130a8565c501d060ebe277e1585177fb5caf23983614eeb4d30378ddea: Pulling from ocaml/opam
80cd068f43f1: Pulling fs layer
ba65b9b25356: Pulling fs layer
5387021a7f0f: Pulling fs layer
90b941057569: Pulling fs layer
fcef665c9f0f: Pulling fs layer
90b941057569: Waiting
fcef665c9f0f: Waiting
5387021a7f0f: Download complete
90b941057569: Download complete
fcef665c9f0f: Verifying Checksum
fcef665c9f0f: Download complete
80cd068f43f1: Verifying Checksum
80cd068f43f1: Download complete
ba65b9b25356: Verifying Checksum
ba65b9b25356: Download complete
80cd068f43f1: Pull complete
ba65b9b25356: Pull complete
5387021a7f0f: Pull complete
90b941057569: Pull complete
fcef665c9f0f: Pull complete
Digest: sha256:378b80130a8565c501d060ebe277e1585177fb5caf23983614eeb4d30378ddea
Status: Downloaded newer image for ocaml/opam@sha256:378b80130a8565c501d060ebe277e1585177fb5caf23983614eeb4d30378ddea
2026-04-03 14:19.49 ---> using "ea8d72b3575eca98b89c48a4da7927bcdb82725502d2ac0615817875479dfe5d" from cache


/: (comment ubuntu-24.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-03 14:19.49 ---> using "57fe826c4cda6eaa6b11381783c9525d7921b5e90796ab1d3423a3a40e1ee953" 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
[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
2026-04-03 14:19.49 ---> using "55a2f6dfe7a6290730525b3a4346ce960918d715c2bdbaeb5a4b7e33780adb10" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-106-generic
The OCaml toplevel, version 4.14.2
2.5.0
2026-04-03 14:19.49 ---> using "defa03e276e0c2b0cec70b115b3a595fb4615d03b5da0739dd2698dea1a3bf33" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2026-04-03 14:19.49 ---> using "4130f1cefdaf8d88e4eba48981cb16b1f82735c22f891280afafcafba369761a" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e d06cfb1853afceb1dc127f88edaac3f8110bf6cc || git fetch origin master) && git reset -q --hard d06cfb1853afceb1dc127f88edaac3f8110bf6cc && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
76bf2ed944..d06cfb1853  master     -> origin/master
d06cfb1853 Merge pull request #29632 from shonfeder/release-dune-3.22.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-03 14:19.49 ---> using "d0767114e69d555172248900b1dda8f27eb471196b6c1e91af3268792dad2ce9" from cache


/src: (copy (src mongoc.opam) (dst ./))
2026-04-03 14:19.49 ---> saved as "2734241138bb45db1b522394a25e73712d7de41cf4c3c0fb6125e6ced3aa7dbe"


/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-03 14:19.51 ---> saved as "b481007867e6db939e960c7e583f7369655775f3185b7a71d0a538ce243b803c"


/src: (run (shell "echo '(lang dune 3.0)' > './dune-project'"))
2026-04-03 14:19.52 ---> saved as "dc24a83490b9423223a2e75155771dfe83b6c43c4cdf232acb2bee2a1d8e3f0a"


/src: (env DEPS "base-bigarray.base base-threads.base base-unix.base cmdliner.2.1.0 conf-pkg-config.4 csexp.1.5.2 ctypes.0.24.0 dune.3.22.1 dune-configurator.3.22.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.5 --depext-only -y mongoc.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://archive.ubuntu.com/ubuntu noble InRelease
- Get:2 http://security.ubuntu.com/ubuntu noble-security InRelease [126 kB]
- Get:3 http://archive.ubuntu.com/ubuntu noble-updates InRelease [126 kB]
- Get:4 http://security.ubuntu.com/ubuntu noble-security/universe amd64 Packages [1504 kB]
- Get:5 http://security.ubuntu.com/ubuntu noble-security/restricted amd64 Packages [3499 kB]
- Get:6 http://security.ubuntu.com/ubuntu noble-security/main amd64 Packages [1985 kB]
- Get:7 http://archive.ubuntu.com/ubuntu noble-backports InRelease [126 kB]
- Get:8 http://archive.ubuntu.com/ubuntu noble-updates/multiverse amd64 Packages [38.1 kB]
- Get:9 http://archive.ubuntu.com/ubuntu noble-updates/restricted amd64 Packages [3669 kB]
- Get:10 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages [2369 kB]
- Get:11 http://archive.ubuntu.com/ubuntu noble-updates/universe amd64 Packages [2153 kB]
- Get:12 http://archive.ubuntu.com/ubuntu noble-backports/universe amd64 Packages [36.1 kB]
- Fetched 15.6 MB in 9s (1801 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-0t64.
- (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 ... 16335 files and directories currently installed.)
- Preparing to unpack .../00-libbson-1.0-0t64_1.26.0-1.1ubuntu2_amd64.deb ...
- Unpacking libbson-1.0-0t64 (1.26.0-1.1ubuntu2) ...
- Selecting previously unselected package libbson-dev.
- Preparing to unpack .../01-libbson-dev_1.26.0-1.1ubuntu2_amd64.deb ...
- Unpacking libbson-dev (1.26.0-1.1ubuntu2) ...
- Selecting previously unselected package libintelrdfpmath-dev:amd64.
- Preparing to unpack .../02-libintelrdfpmath-dev_2.0u2-8ubuntu1_amd64.deb ...
- Unpacking libintelrdfpmath-dev:amd64 (2.0u2-8ubuntu1) ...
- Selecting previously unselected package libmongocrypt0:amd64.
- Preparing to unpack .../03-libmongocrypt0_1.8.4-1build3_amd64.deb ...
- Unpacking libmongocrypt0:amd64 (1.8.4-1build3) ...
- Selecting previously unselected package libsnappy1v5:amd64.
- Preparing to unpack .../04-libsnappy1v5_1.1.10-1build1_amd64.deb ...
- Unpacking libsnappy1v5:amd64 (1.1.10-1build1) ...
- Selecting previously unselected package libutf8proc3:amd64.
- Preparing to unpack .../05-libutf8proc3_2.9.0-1build1_amd64.deb ...
- Unpacking libutf8proc3:amd64 (2.9.0-1build1) ...
- Selecting previously unselected package libmongoc-1.0-0t64.
- Preparing to unpack .../06-libmongoc-1.0-0t64_1.26.0-1.1ubuntu2_amd64.deb ...
- Unpacking libmongoc-1.0-0t64 (1.26.0-1.1ubuntu2) ...
- Selecting previously unselected package libmongocrypt-dev:amd64.
- Preparing to unpack .../07-libmongocrypt-dev_1.8.4-1build3_amd64.deb ...
- Unpacking libmongocrypt-dev:amd64 (1.8.4-1build3) ...
- Selecting previously unselected package libssl-dev:amd64.
- Preparing to unpack .../08-libssl-dev_3.0.13-0ubuntu3.7_amd64.deb ...
- Unpacking libssl-dev:amd64 (3.0.13-0ubuntu3.7) ...
- Selecting previously unselected package zlib1g-dev:amd64.
- Preparing to unpack .../09-zlib1g-dev_1%3a1.3.dfsg-3.1ubuntu2.1_amd64.deb ...
- Unpacking zlib1g-dev:amd64 (1:1.3.dfsg-3.1ubuntu2.1) ...
- Selecting previously unselected package libsnappy-dev:amd64.
- Preparing to unpack .../10-libsnappy-dev_1.1.10-1build1_amd64.deb ...
- Unpacking libsnappy-dev:amd64 (1.1.10-1build1) ...
- Selecting previously unselected package libsasl2-dev.
- Preparing to unpack .../11-libsasl2-dev_2.1.28+dfsg1-5ubuntu3.1_amd64.deb ...
- Unpacking libsasl2-dev (2.1.28+dfsg1-5ubuntu3.1) ...
- Selecting previously unselected package libutf8proc-dev:amd64.
- Preparing to unpack .../12-libutf8proc-dev_2.9.0-1build1_amd64.deb ...
- Unpacking libutf8proc-dev:amd64 (2.9.0-1build1) ...
- Selecting previously unselected package libzstd-dev:amd64.
- Preparing to unpack .../13-libzstd-dev_1.5.5+dfsg2-2build1.1_amd64.deb ...
- Unpacking libzstd-dev:amd64 (1.5.5+dfsg2-2build1.1) ...
- Selecting previously unselected package libmongoc-dev.
- Preparing to unpack .../14-libmongoc-dev_1.26.0-1.1ubuntu2_amd64.deb ...
- Unpacking libmongoc-dev (1.26.0-1.1ubuntu2) ...
- Selecting previously unselected package libpkgconf3:amd64.
- Preparing to unpack .../15-libpkgconf3_1.8.1-2build1_amd64.deb ...
- Unpacking libpkgconf3:amd64 (1.8.1-2build1) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../16-pkgconf-bin_1.8.1-2build1_amd64.deb ...
- Unpacking pkgconf-bin (1.8.1-2build1) ...
- Selecting previously unselected package pkgconf:amd64.
- Preparing to unpack .../17-pkgconf_1.8.1-2build1_amd64.deb ...
- Unpacking pkgconf:amd64 (1.8.1-2build1) ...
- Selecting previously unselected package pkg-config:amd64.
- Preparing to unpack .../18-pkg-config_1.8.1-2build1_amd64.deb ...
- Unpacking pkg-config:amd64 (1.8.1-2build1) ...
- Setting up libzstd-dev:amd64 (1.5.5+dfsg2-2build1.1) ...
- Setting up libutf8proc3:amd64 (2.9.0-1build1) ...
- Setting up libutf8proc-dev:amd64 (2.9.0-1build1) ...
- Setting up libsnappy1v5:amd64 (1.1.10-1build1) ...
- Setting up libpkgconf3:amd64 (1.8.1-2build1) ...
- Setting up libssl-dev:amd64 (3.0.13-0ubuntu3.7) ...
- Setting up pkgconf-bin (1.8.1-2build1) ...
- Setting up zlib1g-dev:amd64 (1:1.3.dfsg-3.1ubuntu2.1) ...
- Setting up libbson-1.0-0t64 (1.26.0-1.1ubuntu2) ...
- Setting up libintelrdfpmath-dev:amd64 (2.0u2-8ubuntu1) ...
- Setting up libmongocrypt0:amd64 (1.8.4-1build3) ...
- Setting up libbson-dev (1.26.0-1.1ubuntu2) ...
- Setting up libsnappy-dev:amd64 (1.1.10-1build1) ...
- Setting up libmongocrypt-dev:amd64 (1.8.4-1build3) ...
- Setting up pkgconf:amd64 (1.8.1-2build1) ...
- Setting up libsasl2-dev (2.1.28+dfsg1-5ubuntu3.1) ...
- Setting up pkg-config:amd64 (1.8.1-2build1) ...
- Setting up libmongoc-1.0-0t64 (1.26.0-1.1ubuntu2) ...
- Setting up libmongoc-dev (1.26.0-1.1ubuntu2) ...
- Processing triggers for libc-bin (2.39-0ubuntu8.7) ...
# To update the current shell environment, run: eval $(opam env)
2026-04-03 14:20.14 ---> saved as "da21c3593c8d5e3dd967fed2a73043334cbac7999b63aafa11543434e7df49a6"


/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 8 packages
- install cmdliner          2.1.0
- install conf-pkg-config   4
- install csexp             1.5.2
- install ctypes            0.24.0
- install dune              3.22.1
- install dune-configurator 3.22.1
- install integers          0.7.0
- install stdlib-shims      0.3.0


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cmdliner.2.1.0  (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.1, dune-configurator.3.22.1  (cached)
-> installed cmdliner.2.1.0
-> installed dune.3.22.1
-> installed stdlib-shims.0.3.0
-> installed csexp.1.5.2
-> installed integers.0.7.0
-> installed dune-configurator.3.22.1
-> installed ctypes.0.24.0
Done.
# To update the current shell environment, run: eval $(opam env)
2026-04-03 14:20.59 ---> saved as "a29ada08609b301ed0c6ee594fe6ca73952ec1517baa94f015d3856ae7f80743"


/src: (copy (src .) (dst /src))
2026-04-03 14:21.00 ---> saved as "8d56ae3aca61b201d00ff689fd47dc1a622e1ca341fa3cf23421ea01fd88778a"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
2026-04-03 14:21.02 ---> saved as "6e0bd822afdeab4e6ffcf14e207c92ec0e071530c21e68753bb4dbe24faec48b"
Job succeeded
2026-04-03 14:21.02: Job succeeded