2026-04-22 14:12.08: New job: test tarides/mongoc-ocaml https://github.com/tarides/mongoc-ocaml.git#refs/heads/main (042080ab77ab888069120fa0910b9b4c87e6e274) (macos-x86_64:macos-homebrew-5.4_opam-2.5) Base: macos-homebrew-ocaml-5.4 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-5.4 # macos-homebrew-5.4_opam-2.5 USER 1000:1000 ENV CLICOLOR_FORCE="1" ENV OPAMCOLOR="always" RUN ln -f ~/local/bin/opam-2.5 ~/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 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 ./src/./ RUN opam pin add -yn mongoc.dev './src/./' RUN echo '(lang dune 3.0)' > './src/./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.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.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 cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build END-OF-DOCKERFILE docker build . END-REPRO-BLOCK 2026-04-22 14:12.08: Using cache hint "tarides/mongoc-ocaml-macos-homebrew-ocaml-5.4-macos-homebrew-5.4_opam-2.5-1cf18f7bc621062f9eab19f1ca03e968" 2026-04-22 14:12.08: Using OBuilder spec: ((from macos-homebrew-ocaml-5.4) (comment macos-homebrew-5.4_opam-2.5) (user (uid 1000) (gid 1000)) (env CLICOLOR_FORCE 1) (env OPAMCOLOR always) (run (shell "ln -f ~/local/bin/opam-2.5 ~/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 036883c5402b41e0d35f6b200245cc7c3a302395 || git fetch origin master) && git reset -q --hard 036883c5402b41e0d35f6b200245cc7c3a302395 && 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 (shell "echo '(lang dune 3.0)' > './src/./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.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.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 /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew))) (network host) (shell "opam update --depexts && opam install --cli=2.5 --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")) ) 2026-04-22 14:12.08: Waiting for resource in pool OCluster 2026-04-22 15:55.32: Waiting for worker… 2026-04-22 18:50.24: 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-5.4) 2026-04-22 18:50.25 ---> using "338135fbf1889e924a607b47198b8b308c32a925cc9436066d65a9bdc402cad5" from cache /: (comment macos-homebrew-5.4_opam-2.5) /: (user (uid 1000) (gid 1000)) /: (env CLICOLOR_FORCE 1) /: (env OPAMCOLOR always) /: (run (shell "ln -f ~/local/bin/opam-2.5 ~/local/bin/opam")) 2026-04-22 18:50.25 ---> using "0e9d0f8ed44ab1f77ef30c8d8456629e6c63f869a24319cbb64657a84e315111" 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 2026-04-22 18:50.26 ---> using "06effe220fa63e5f9fae9bf4643255961d59bf292a94931a0e1dd6d81a9fa7c6" from cache /: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version")) Darwin 24.5.0 The OCaml toplevel, version 5.4.0 2.5.0 2026-04-22 18:50.26 ---> using "78e99acc02a52806060d0075d40f6ea681e9ef77eb60ecbbaff6e5155272646b" 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 036883c5402b41e0d35f6b200245cc7c3a302395 || git fetch origin master) && git reset -q --hard 036883c5402b41e0d35f6b200245cc7c3a302395 && git log --no-decorate -n1 --oneline && opam update -u")) From https://github.com/ocaml/opam-repository * branch master -> FETCH_HEAD 95f7875db7..80ba534fc6 master -> origin/master 036883c540 Merge pull request #29788 from dbuenzli/b0-publish-cmdliner.2.1.1 <><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><> [default] synchronised from git+file:///Users/mac1000/opam-repository default (at git+file:///Users/mac1000/opam-repository): [WARNING] opam is out-of-date. Please consider updating it (https://opam.ocaml.org/doc/Install.html) default (at git+file:///Users/mac1000/opam-repository): [INFO] opam 2.5.1 includes security fixes; please consider upgrading (https://opam.ocaml.org/doc/Install.html) 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.5.0 - ocaml-compiler.5.4.1 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-22 18:50.26 ---> using "71cc5e00934cb201b0a7fe329a73e3354758237e0d32bb279642d981d93fb031" from cache /: (copy (src mongoc.opam) (dst ./src/./)) 2026-04-22 18:50.28 ---> saved as "ebd07f230ebbdcc928d7ee97a6a3268fb68f1192f8902a3bcc27401ef2726680" /: (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) 2026-04-22 18:50.40 ---> saved as "32f72be77b4e6f25446a8b6c7215bc84c58355dae015018b59be4d97d1cd9459" /: (run (shell "echo '(lang dune 3.0)' > './src/./dune-project'")) 2026-04-22 18:50.42 ---> saved as "6cb4b2b2f2b2e9d3582bc292d0a185c34ac978e4386d35535e24adef8aa34c23" /: (env DEPS "base-bigarray.base base-domains.base base-effects.base base-nnp.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.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 /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew))) (network host) (shell "opam update --depexts && opam install --cli=2.5 --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 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: mongo-c-driver pkgconf <><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><> + /usr/local/bin/brew "install" "mongo-c-driver" "pkgconf" - ==> Fetching downloads for: mongo-c-driver and pkgconf - ✔︎ Bottle Manifest pkgconf (2.5.1) - ✔︎ Bottle Manifest pkgconf (2.5.1) - ✔︎ Bottle Manifest mongo-c-driver (2.3.0) - ✔︎ Bottle Manifest ca-certificates (2026-03-19) - ✔︎ Bottle ca-certificates (2026-03-19) - ✔︎ Bottle Manifest openssl@3 (3.6.2) - ✔︎ Bottle Manifest lz4 (1.10.0) - ✔︎ Bottle Manifest xz (5.8.3) - ✔︎ Bottle Manifest zstd (1.5.7_1) - ✔︎ Bottle lz4 (1.10.0) - ✔︎ Bottle zstd (1.5.7_1) - ✔︎ Bottle xz (5.8.3) - ✔︎ Bottle pkgconf (2.5.1) - ✔︎ Bottle openssl@3 (3.6.2) - ✔︎ Bottle mongo-c-driver (2.3.0) - ==> Installing dependencies for mongo-c-driver: ca-certificates, openssl@3, lz4, xz and zstd - ==> Installing mongo-c-driver dependency: ca-certificates - ==> Pouring ca-certificates--2026-03-19.all.bottle.tar.gz - ==> Regenerating CA certificate bundle from keychain, this may take a while... - 🍺 /usr/local/Cellar/ca-certificates/2026-03-19: 4 files, 237KB - ==> Installing mongo-c-driver dependency: openssl@3 - ==> Pouring openssl@3--3.6.2.sequoia.bottle.tar.gz - 🍺 /usr/local/Cellar/openssl@3/3.6.2: 7,627 files, 37.8MB - ==> Installing mongo-c-driver dependency: lz4 - ==> Pouring lz4--1.10.0.sequoia.bottle.1.tar.gz - 🍺 /usr/local/Cellar/lz4/1.10.0: 24 files, 678.2KB - ==> Installing mongo-c-driver dependency: xz - ==> Pouring xz--5.8.3.sequoia.bottle.tar.gz - 🍺 /usr/local/Cellar/xz/5.8.3: 96 files, 2.5MB - ==> Installing mongo-c-driver dependency: zstd - ==> Pouring zstd--1.5.7_1.sequoia.bottle.tar.gz - 🍺 /usr/local/Cellar/zstd/1.5.7_1: 32 files, 2.5MB - ==> Installing mongo-c-driver - ==> Pouring mongo-c-driver--2.3.0.sonoma.bottle.tar.gz - 🍺 /usr/local/Cellar/mongo-c-driver/2.3.0: 187 files, 4.6MB - ==> 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`). - Removing: /Users/mac1000/Library/Caches/Homebrew/mongo-c-driver_bottle_manifest--2.2.3... (13.3KB) - ==> Pouring pkgconf--2.5.1.sequoia.bottle.tar.gz - 🍺 /usr/local/Cellar/pkgconf/2.5.1: 28 files, 383.2KB - ==> Running `brew cleanup pkgconf`... # To update the current shell environment, run: eval $(opam env) 2026-04-22 18:51.57 ---> saved as "c160d3288739f7fa1e16c81f1cbdb7a3fc6495b7ebb0b9ff44b0b103b59d7118" /: (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 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.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 <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> installed conf-pkg-config.4 -> retrieved ctypes.0.24.0 (cached) -> retrieved csexp.1.5.2 (cached) -> retrieved cmdliner.2.1.1 (cached) -> retrieved stdlib-shims.0.3.0 (cached) -> retrieved integers.0.7.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-22 18:53.35 ---> saved as "00abf24bd6d2f9c350e2834f303069dccd0b5abb7100e4bf2588e4b35c8cf462" /: (copy (src .) (dst ./src)) 2026-04-22 18:53.36 ---> saved as "555d1046e281d5369d61a7790acef78f3fe85a4029d40636dd7af7650dcb3601" /: (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 2026-04-22 18:53.42: Job failed: Failed: Build failed