Organisationstaridesmongoc-ocaml042080 (main)debian-12-5.4_opam-2.5

debian-12-5.4_opam-2.5

Link Copied
Code Copied

Logs

2026-04-03 11:36.16: New job: test tarides/mongoc-ocaml https://github.com/tarides/mongoc-ocaml.git#refs/heads/main (042080ab77ab888069120fa0910b9b4c87e6e274) (linux-x86_64:debian-12-5.4_opam-2.5)
Base: ocaml/opam:debian-12-ocaml-5.4@sha256:887261dc4317b38fc7d7c14b181577ebcc527451ee68f7570cce454346262dc0
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:debian-12-ocaml-5.4@sha256:887261dc4317b38fc7d7c14b181577ebcc527451ee68f7570cce454346262dc0
# debian-12-5.4_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-domains.base base-effects.base base-nnp.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.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.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.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.16: Using cache hint "tarides/mongoc-ocaml-ocaml/opam:debian-12-ocaml-5.4@sha256:887261dc4317b38fc7d7c14b181577ebcc527451ee68f7570cce454346262dc0-debian-12-5.4_opam-2.5-48f329bb723c392cfc5a0cc6d2e046dd"
2026-04-03 11:36.16: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.4@sha256:887261dc4317b38fc7d7c14b181577ebcc527451ee68f7570cce454346262dc0)
(comment debian-12-5.4_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-domains.base base-effects.base base-nnp.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.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.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.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.16: Waiting for resource in pool OCluster
2026-04-03 14:17.14: Waiting for worker…
2026-04-03 14:20.13: Got resource from pool OCluster
Building on eumache.caelum.ci.dev
All commits already cached
HEAD is now at 042080a Merge pull request #2 from tarides/ci


(from ocaml/opam:debian-12-ocaml-5.4@sha256:887261dc4317b38fc7d7c14b181577ebcc527451ee68f7570cce454346262dc0)
Unable to find image 'ocaml/opam:debian-12-ocaml-5.4@sha256:887261dc4317b38fc7d7c14b181577ebcc527451ee68f7570cce454346262dc0' locally
docker.io/ocaml/opam@sha256:887261dc4317b38fc7d7c14b181577ebcc527451ee68f7570cce454346262dc0: Pulling from ocaml/opam
6a7e0620566c: Already exists
b522231f5ab2: Already exists
afdd14ae9c19: Already exists
66581c681bfe: Already exists
f18cc03cd0ee: Already exists
41c93f1246a4: Already exists
cb520e352cb7: Already exists
6f571f52b1e6: Already exists
f36a9356b87b: Already exists
5ffee695b471: Already exists
3b29523a83c0: Already exists
bc29cdc25fce: Already exists
8517110ac83a: Already exists
356db949e025: Already exists
7ee9ee162427: Already exists
6a1d95c3a3f6: Already exists
aa806464ecd0: Already exists
ca07ebc861f4: Already exists
3d4e2e60226d: Already exists
621f9c37fe3e: Already exists
80f6aee41e34: Already exists
7bf2c961d78c: Already exists
4f4fb700ef54: Already exists
081023aaa233: Already exists
fa4e249287fb: Already exists
539ac86e1895: Already exists
62bae98a9155: Already exists
bbc39c3da0a4: Already exists
3e77f4c85839: Already exists
d02277f66f28: Already exists
69a471cde21c: Already exists
27c12ec76477: Already exists
9f5e4eb06bdd: Already exists
9aca8ffce92a: Already exists
3744dc3a5b9f: Already exists
79ba50761f79: Already exists
5217711b3bf2: Already exists
4d0f5bd33ce0: Already exists
46cc27a07d86: Already exists
3d6f442e79e1: Already exists
b6ed2a17d09c: Already exists
6f80b3d4534b: Already exists
5ae7b47c44fc: Already exists
c96560c51a6e: Already exists
a853aa4dc271: Already exists
10faad6dbbc3: Already exists
2dba4a2dda8d: Already exists
bebb75619b5a: Already exists
Digest: sha256:887261dc4317b38fc7d7c14b181577ebcc527451ee68f7570cce454346262dc0
Status: Downloaded newer image for ocaml/opam@sha256:887261dc4317b38fc7d7c14b181577ebcc527451ee68f7570cce454346262dc0
2026-04-03 14:20.13 ---> using "b991857bc532663195c9367a15b54da445df086396345870aae181468cbff451" from cache


/: (comment debian-12-5.4_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:20.13 ---> using "51e82d412b033001f8730ad5679c094b4d67a0b7d2cf15f3d8f508bbc845624a" 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-03 14:20.13 ---> using "84920d434004718251217bc1eeca5eedc7bfcb6fa9b10af1ca40da535b88191c" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-173-generic
The OCaml toplevel, version 5.4.0
2.5.0
2026-04-03 14:20.13 ---> using "a36f2c1b469bba0b8709ee1441c088962b00943019584bf6342f3b26b8210c85" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2026-04-03 14:20.13 ---> using "ee01ba31a0c57849c0a41065165ddcba944c6a19882473f481b28bbc0add4763" 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
4f056bfedf..2a4b439041  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:20.13 ---> using "102e1e1c5dda86926ead582d690b2e81ae07a887b3ea7c2c3f32c8c3c611ad52" from cache


/src: (copy (src mongoc.opam) (dst ./))
2026-04-03 14:20.13 ---> saved as "6c9dbcdf6a07ee1f71a0065988cad057d04234f7e0b8fe8444fd1006424bd956"


/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:20.16 ---> saved as "6adc5011d14e50c26895542cf0b00abbd2067c4add5435582acf0c3cee4a5673"


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


/src: (env DEPS "base-bigarray.base base-domains.base base-effects.base base-nnp.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.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.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.5 --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 [294 kB]
- Fetched 397 kB in 1s (687 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.4.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.4.0).
[NOTE] Package ocaml is already installed (current version is 5.4.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 ... 18786 files and directories currently installed.)
- Preparing to unpack .../00-libbson-1.0-0_1.23.1-1+deb12u2_amd64.deb ...
- Unpacking libbson-1.0-0 (1.23.1-1+deb12u2) ...
- Selecting previously unselected package libbson-dev.
- Preparing to unpack .../01-libbson-dev_1.23.1-1+deb12u2_amd64.deb ...
- Unpacking libbson-dev (1.23.1-1+deb12u2) ...
- 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+deb12u2_amd64.deb ...
- Unpacking libmongoc-1.0-0 (1.23.1-1+deb12u2) ...
- 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.18-1~deb12u2_amd64.deb ...
- Unpacking libssl-dev:amd64 (3.0.18-1~deb12u2) ...
- 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 libmongoc-dev.
- Preparing to unpack .../12-libmongoc-dev_1.23.1-1+deb12u2_amd64.deb ...
- Unpacking libmongoc-dev (1.23.1-1+deb12u2) ...
- Selecting previously unselected package libpkgconf3:amd64.
- Preparing to unpack .../13-libpkgconf3_1.8.1-1_amd64.deb ...
- Unpacking libpkgconf3:amd64 (1.8.1-1) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../14-pkgconf-bin_1.8.1-1_amd64.deb ...
- Unpacking pkgconf-bin (1.8.1-1) ...
- Selecting previously unselected package pkgconf:amd64.
- Preparing to unpack .../15-pkgconf_1.8.1-1_amd64.deb ...
- Unpacking pkgconf:amd64 (1.8.1-1) ...
- Selecting previously unselected package pkg-config:amd64.
- Preparing to unpack .../16-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 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+deb12u2) ...
- Setting up libssl-dev:amd64 (3.0.18-1~deb12u2) ...
- 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+deb12u2) ...
- 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+deb12u2) ...
- Setting up pkg-config:amd64 (1.8.1-1) ...
- Setting up libmongoc-dev (1.23.1-1+deb12u2) ...
- Processing triggers for libc-bin (2.36-9+deb12u13) ...
# To update the current shell environment, run: eval $(opam env)
2026-04-03 14:20.55 ---> saved as "7108000d42090646706feae62a963dc64ae2ac5380f42d63ed29e79b8db1b18c"


/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.4.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.4.0).
[NOTE] Package ocaml is already installed (current version is 5.4.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 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 csexp.1.5.2
-> installed stdlib-shims.0.3.0
-> 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:22.49 ---> saved as "b49992feea896e069ce0cd407df4fb81ab6293a049f80f027d22ca92cc1704eb"


/src: (copy (src .) (dst /src))
2026-04-03 14:22.49 ---> saved as "3e09831ce9754e603d99536a5ba6dc5ec03ec402461907fb30587d84496c96cb"


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