2025-09-29 11:33.29: New job: test tarides/mongoc-ocaml https://github.com/tarides/mongoc-ocaml.git#refs/heads/main (042080ab77ab888069120fa0910b9b4c87e6e274) (macos-x86_64:macos-homebrew-4.14_opam-2.4)
Base: macos-homebrew-ocaml-4.14
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 macos-homebrew-ocaml-4.14
# macos-homebrew-4.14_opam-2.4
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
RUN ln -f ~/local/bin/opam-2.4 ~/local/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
RUN cd ~/opam-repository && (git cat-file -e dbd126f1b3e13b70b1010ac087a896c6f0d80bc5 || git fetch origin master) && git reset -q --hard dbd126f1b3e13b70b1010ac087a896c6f0d80bc5 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 mongoc.opam ./src/./
RUN opam pin add -yn mongoc.dev './src/./'
RUN echo '(lang dune 3.0)' > './src/./dune-project'
ENV DEPS="base-bigarray.base base-threads.base base-unix.base bigarray-compat.1.1.0 cmdliner.2.0.0 conf-pkg-config.4 csexp.1.5.2 ctypes.0.23.0 dune.3.20.2 dune-configurator.3.20.2 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.4 --depext-only -y mongoc.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . ./src
RUN cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build
END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK
2025-09-29 11:33.29: Using cache hint "tarides/mongoc-ocaml-macos-homebrew-ocaml-4.14-macos-homebrew-4.14_opam-2.4-f22de459b7c810908da724c62da4805a"
2025-09-29 11:33.29: Using OBuilder spec:
((from macos-homebrew-ocaml-4.14)
(comment macos-homebrew-4.14_opam-2.4)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(run (shell "ln -f ~/local/bin/opam-2.4 ~/local/bin/opam"))
(run (shell "opam init --reinit -ni"))
(run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
(run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e dbd126f1b3e13b70b1010ac087a896c6f0d80bc5 || git fetch origin master) && git reset -q --hard dbd126f1b3e13b70b1010ac087a896c6f0d80bc5 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src mongoc.opam) (dst ./src/./))
(run (network host)
(shell "opam pin add -yn mongoc.dev './src/./'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './src/./dune-project'"))
(env DEPS "base-bigarray.base base-threads.base base-unix.base bigarray-compat.1.1.0 cmdliner.2.0.0 conf-pkg-config.4 csexp.1.5.2 ctypes.0.23.0 dune.3.20.2 dune-configurator.3.20.2 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 /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
(network host)
(shell "opam update --depexts && opam install --cli=2.4 --depext-only -y mongoc.dev $DEPS"))
(run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
(network host)
(shell "opam install $DEPS"))
(copy (src .) (dst ./src))
(run (shell "cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
)
2025-09-29 11:33.29: Waiting for resource in pool OCluster
2025-09-29 15:11.22: Waiting for worker…
2025-09-29 18:42.10: Got resource from pool OCluster
Building on i7-worker-03
All commits already cached
HEAD is now at 042080a Merge pull request #2 from tarides/ci
(from macos-homebrew-ocaml-4.14)
2025-09-29 18:42.10 ---> using "0c60f117aee57abea8364cb033d47bb1d63ff0f68e5ee97378e032498e8442af" from cache
/: (comment macos-homebrew-4.14_opam-2.4)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (run (shell "ln -f ~/local/bin/opam-2.4 ~/local/bin/opam"))
2025-09-29 18:42.10 ---> using "16fd332aba96a180769fbf49639a0f9a6aa6ed7d2edfa24c2b9bea4039176eb4" from cache
/: (run (shell "opam init --reinit -ni"))
No configuration file found, using 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 /Users/mac1000/.opam from version 2.1 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 1 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=1 --global
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] no changes from git+file:///Users/mac1000/opam-repository
2025-09-29 18:42.11 ---> using "441082522a992e4675bb61cf184ac4d487fcb27eccab875ab68ef480e42527a0" from cache
/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Darwin 24.5.0
The OCaml toplevel, version 4.14.2
2.4.1
2025-09-29 18:42.11 ---> using "73a23ad864bce177bda3ef5ed15fdc258f712e067e25e839184501078d169a1f" from cache
/: (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e dbd126f1b3e13b70b1010ac087a896c6f0d80bc5 || git fetch origin master) && git reset -q --hard dbd126f1b3e13b70b1010ac087a896c6f0d80bc5 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
f1d3c77350..5ea7156510 master -> origin/master
dbd126f1b3 Merge pull request #28599 from dbuenzli/b0-publish-cmdliner.2.0.0
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+file:///Users/mac1000/opam-repository
Everything as up-to-date as possible
The following packages are not being upgraded because the new versions conflict with other installed packages:
- ocaml.5.3.0
- ocaml-config.3
However, you may "opam upgrade" these packages explicitly at these versions (e.g. "opam upgrade ocaml.5.3.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)
2025-09-29 18:42.11 ---> using "687d45dd77c8fdc26286a730264b0dd91afdd4584c9dd2eb8ce82035738287a2" from cache
/: (copy (src mongoc.opam) (dst ./src/./))
2025-09-29 18:42.13 ---> saved as "1d6493c78e8d3d4afa078a15bb00b25c8e910555b889ef256e714461d72444ab"
/: (run (network host)
(shell "opam pin add -yn mongoc.dev './src/./'"))
[NOTE] Package mongoc does not exist in opam repositories registered in the current switch.
[mongoc.dev] synchronised (file:///Users/mac1000/src)
mongoc is now pinned to file:///Users/mac1000/src (version dev)
2025-09-29 18:42.25 ---> saved as "5fc9ef7066a39023e43a277f643e3a9f2bc38843cd62e2ec06661476e05ae0e4"
/: (run (network host)
(shell "echo '(lang dune 3.0)' > './src/./dune-project'"))
2025-09-29 18:42.26 ---> saved as "57e5d87ce31ad25cf0630af057dcb6f92c1a719f54f1f60cf482bd76b664a06a"
/: (env DEPS "base-bigarray.base base-threads.base base-unix.base bigarray-compat.1.1.0 cmdliner.2.0.0 conf-pkg-config.4 csexp.1.5.2 ctypes.0.23.0 dune.3.20.2 dune-configurator.3.20.2 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 /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
(network host)
(shell "opam update --depexts && opam install --cli=2.4 --depext-only -y mongoc.dev $DEPS"))
+ /usr/local/bin/brew "update"
- ==> Updating Homebrew...
- Already up-to-date.
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[mongoc.dev] synchronised (file:///Users/mac1000/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:
mongo-c-driver pkgconf
<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
+ /usr/local/bin/brew "install" "mongo-c-driver" "pkgconf"
- ==> Fetching downloads for: mongo-c-driver and pkgconf
- ==> Downloading https://ghcr.io/v2/homebrew/core/mongo-c-driver/manifests/2.1.0
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/9a640a2da4a317528027b1112ad03b28f61a240344d4a74e4c9a4322816a291b--mongo-c-driver-2.1.0.bottle_manifest.json
- ==> Downloading https://ghcr.io/v2/homebrew/core/pkgconf/manifests/2.5.1
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/e0bf05fafcedcfbde9a9a488dc3a083cadd19584ac19f4cc053a9c265f841120--pkgconf-2.5.1.bottle_manifest.json
- ==> Fetching dependencies for mongo-c-driver: ca-certificates and openssl@3
- ==> Downloading https://ghcr.io/v2/homebrew/core/ca-certificates/manifests/2025-09-09
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/426185977a48495074d7594bb26de3d3f6afafc4a03c0d972deaba1cc2ba2861--ca-certificates-2025-09-09.bottle_manifest.json
- ==> Fetching ca-certificates
- ==> Downloading https://ghcr.io/v2/homebrew/core/ca-certificates/blobs/sha256:a74a274a402f29cff2e1bb595a5253c20d7503a086175d57f7081821540203ce
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/7acf0440d5c009b8447969eb3aaf7321738061644ba4b9c7f4c59d7fdc1852a1--ca-certificates--2025-09-09.all.bottle.tar.gz
- ==> Downloading https://ghcr.io/v2/homebrew/core/openssl/3/manifests/3.5.2
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/e6659abe178bdf49b65451e77f6165a3e07274432f445342092e5ad2a927b23c--openssl@3-3.5.2.bottle_manifest.json
- ==> Fetching openssl@3
- ==> Downloading https://ghcr.io/v2/homebrew/core/openssl/3/blobs/sha256:13d2f6fc2b05e14af0351797e8605bd8aee8888272d8205632f6c981be7e2518
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/e4f3cdeb33edbd86de6308e4185377a20db27ac9205eb4f55dd5d22c7f685c72--openssl@3--3.5.2.sequoia.bottle.tar.gz
- ==> Fetching mongo-c-driver
- ==> Downloading https://ghcr.io/v2/homebrew/core/mongo-c-driver/blobs/sha256:e1963a01701302b7568252a9466e0653b00a25fdc754cd09b745e72438144b73
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/9cf60991442ee6d230a0de5ed632630bc09aa7a87389481d4fae00677cd115fe--mongo-c-driver--2.1.0.sonoma.bottle.tar.gz
- ==> Fetching pkgconf
- ==> Downloading https://ghcr.io/v2/homebrew/core/pkgconf/blobs/sha256:a074f871aa476dec1101c13b4fcfbb9354a8b35bcb6e056f8411463913632071
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/2f783e65294d208e2dea96042a5edbde1c117183f409d4687d8d77c44c013470--pkgconf--2.5.1.sequoia.bottle.tar.gz
- ==> Installing dependencies for mongo-c-driver: ca-certificates and openssl@3
- ==> Installing mongo-c-driver dependency: ca-certificates
- ==> Downloading https://ghcr.io/v2/homebrew/core/ca-certificates/manifests/2025-09-09
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/426185977a48495074d7594bb26de3d3f6afafc4a03c0d972deaba1cc2ba2861--ca-certificates-2025-09-09.bottle_manifest.json
- ==> Pouring ca-certificates--2025-09-09.all.bottle.tar.gz
- ==> Regenerating CA certificate bundle from keychain, this may take a while...
- 🍺 /usr/local/Cellar/ca-certificates/2025-09-09: 4 files, 232.4KB
- ==> Installing mongo-c-driver dependency: openssl@3
- ==> Downloading https://ghcr.io/v2/homebrew/core/openssl/3/manifests/3.5.2
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/e6659abe178bdf49b65451e77f6165a3e07274432f445342092e5ad2a927b23c--openssl@3-3.5.2.bottle_manifest.json
- ==> Pouring openssl@3--3.5.2.sequoia.bottle.tar.gz
- 🍺 /usr/local/Cellar/openssl@3/3.5.2: 7,563 files, 35.7MB
- ==> Installing mongo-c-driver
- ==> Pouring mongo-c-driver--2.1.0.sonoma.bottle.tar.gz
- 🍺 /usr/local/Cellar/mongo-c-driver/2.1.0: 189 files, 4.3MB
- ==> Running `brew cleanup mongo-c-driver`...
- Disable this behaviour by setting `HOMEBREW_NO_INSTALL_CLEANUP=1`.
- Hide these hints with `HOMEBREW_NO_ENV_HINTS=1` (see `man brew`).
- ==> Pouring pkgconf--2.5.1.sequoia.bottle.tar.gz
- 🍺 /usr/local/Cellar/pkgconf/2.5.1: 28 files, 374.1KB
- ==> Running `brew cleanup pkgconf`...
- ==> No outdated dependents to upgrade!
2025-09-29 18:43.25 ---> saved as "e71162161614edcc46e30abe0242adf9253b8646380219befe02dc986eb89f7c"
/: (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
(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 2.0.0
- install conf-pkg-config 4
- install csexp 1.5.2
- install ctypes 0.23.0
- install dune 3.20.2
- install dune-configurator 3.20.2
- install integers 0.7.0
- install stdlib-shims 0.3.0
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed conf-pkg-config.4
-> retrieved csexp.1.5.2 (cached)
-> retrieved cmdliner.2.0.0 (cached)
-> retrieved bigarray-compat.1.1.0 (cached)
-> retrieved integers.0.7.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved ctypes.0.23.0 (cached)
-> retrieved dune.3.20.2, dune-configurator.3.20.2 (cached)
-> installed cmdliner.2.0.0
-> installed dune.3.20.2
-> installed stdlib-shims.0.3.0
-> installed csexp.1.5.2
-> installed integers.0.7.0
-> installed bigarray-compat.1.1.0
-> installed dune-configurator.3.20.2
-> installed ctypes.0.23.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-09-29 18:44.55 ---> saved as "bccf2c9afdc4345175fe9f97c83e516f505f9a66d5cac4505a395b1e4e3a3d2b"
/: (copy (src .) (dst ./src))
2025-09-29 18:44.56 ---> saved as "de43bfa5a4fde585fd9e5a9d32e9fac89ee1bd008cbcef50998f231bec61ef43"
/: (run (shell "cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
File "lib/bson/dune", line 2, characters 7-11:
2 | (name bson)
^^^^
(cd _build/default/lib/bson && /usr/local/bin/pkg-config --cflags libbson-1.0) > _build/default/lib/bson/.pkg-config/libbson-1.0.cflags
Package libbson-1.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libbson-1.0.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libbson-1.0' not found
File "lib/dune", line 2, characters 7-13:
2 | (name mongoc)
^^^^^^
(cd _build/default/lib && /usr/local/bin/pkg-config --cflags libmongoc-1.0) > _build/default/lib/.pkg-config/libmongoc-1.0.cflags
Package libmongoc-1.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libmongoc-1.0.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libmongoc-1.0' not found
File "lib/bson/dune", line 2, characters 7-11:
2 | (name bson)
^^^^
(cd _build/default/lib/bson && /usr/local/bin/pkg-config --libs libbson-1.0) > _build/default/lib/bson/.pkg-config/libbson-1.0.libs
Package libbson-1.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libbson-1.0.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libbson-1.0' not found
File "lib/dune", line 2, characters 7-13:
2 | (name mongoc)
^^^^^^
(cd _build/default/lib && /usr/local/bin/pkg-config --libs libmongoc-1.0) > _build/default/lib/.pkg-config/libmongoc-1.0.libs
Package libmongoc-1.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libmongoc-1.0.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libmongoc-1.0' not found
"/usr/bin/env" "bash" "-c" "cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2025-09-29 18:45.03: Job failed: Failed: Build failed