2025-07-25 21:33.19: New job: test tarides/mongoc-ocaml https://github.com/tarides/mongoc-ocaml.git#refs/heads/ci (d2be269f2eac159b400a9b311e310ec00b65e329) (macos-arm64:macos-homebrew-4.14_arm64_opam-2.3)
Base: macos-homebrew-ocaml-4.14
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/tarides/mongoc-ocaml.git" -b "ci" && cd "mongoc-ocaml" && git reset --hard d2be269f
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM macos-homebrew-ocaml-4.14
# macos-homebrew-4.14_arm64_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
RUN ln -f ~/local/bin/opam-2.3 ~/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 b8021439f8c57ba6435bc2263f6596671f4f4466 || git fetch origin master) && git reset -q --hard b8021439f8c57ba6435bc2263f6596671f4f4466 && 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.1.3.0 conf-pkg-config.4 csexp.1.5.2 ctypes.0.23.0 dune.3.19.1 dune-configurator.3.19.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.3 --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-07-25 21:33.19: Using cache hint "tarides/mongoc-ocaml-macos-homebrew-ocaml-4.14-macos-homebrew-4.14_arm64_opam-2.3-e0530d897ef2eb91ba32fd3d6b7755ff"
2025-07-25 21:33.19: Using OBuilder spec:
((from macos-homebrew-ocaml-4.14)
(comment macos-homebrew-4.14_arm64_opam-2.3)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(run (shell "ln -f ~/local/bin/opam-2.3 ~/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 b8021439f8c57ba6435bc2263f6596671f4f4466 || git fetch origin master) && git reset -q --hard b8021439f8c57ba6435bc2263f6596671f4f4466 && 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.1.3.0 conf-pkg-config.4 csexp.1.5.2 ctypes.0.23.0 dune.3.19.1 dune-configurator.3.19.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 /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
(network host)
(shell "opam update --depexts && opam install --cli=2.3 --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-07-25 21:33.19: Waiting for resource in pool OCluster
2025-07-25 22:33.50: Waiting for worker…
2025-07-26 01:02.47: Got resource from pool OCluster
Building on m1-worker-03
All commits already cached
HEAD is now at d2be269 Fix ocaml-ci
(from macos-homebrew-ocaml-4.14)
2025-07-26 01:02.48 ---> using "0c60f117aee57abea8364cb033d47bb1d63ff0f68e5ee97378e032498e8442af" from cache
/: (comment macos-homebrew-4.14_arm64_opam-2.3)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (run (shell "ln -f ~/local/bin/opam-2.3 ~/local/bin/opam"))
2025-07-26 01:02.48 ---> using "d185bb362ab7a62e22c76fe28c4578fe7a4e17f7cc7bc09a3073972dfb5efd3b" 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-07-26 01:02.48 ---> using "1a239dab0512a5f76e4948de67b26faca67b4de935df003aa7f81d4e2d68958d" from cache
/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Darwin 23.4.0
The OCaml toplevel, version 4.14.2
2.3.0
2025-07-26 01:02.48 ---> using "f52eecff7be584d99550d2f8c42b8f22f9135c2276c46c827a485f089226c5ac" 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 b8021439f8c57ba6435bc2263f6596671f4f4466 || git fetch origin master) && git reset -q --hard b8021439f8c57ba6435bc2263f6596671f4f4466 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
11bdbee611..b8021439f8 master -> origin/master
b8021439f8 Merge pull request #28261 from kit-ty-kate/deploy-fix-25819
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+file:///Users/mac1000/opam-repository
The following actions will be performed:
=== recompile 1 package
- recompile ocaml 4.14.2 [upstream or system changes]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> removed ocaml.4.14.2
-> installed ocaml.4.14.2
Done.
# To update the current shell environment, run: eval $(opam env)
2025-07-26 01:02.48 ---> using "af6704ed52f735472a12d191515b83a5681cdebdc23eee7440c5147badf2c093" from cache
/: (copy (src mongoc.opam) (dst ./src/./))
2025-07-26 01:02.49 ---> saved as "754a940da4efdfdf58b73595bc5c7d810285bf6d19839676a3eae4d4fffecee7"
/: (run (network host)
(shell "opam pin add -yn mongoc.dev './src/./'"))
Package mongoc does not exist, create as a NEW package? [y/n] y
[mongoc.dev] synchronised (file:///Users/mac1000/src)
mongoc is now pinned to file:///Users/mac1000/src (version dev)
2025-07-26 01:03.11 ---> saved as "ac22d0d2ac2dbd4389c15615de3001544d32e46a0ab39cbeaacdc17a794e7fc1"
/: (run (network host)
(shell "echo '(lang dune 3.0)' > './src/./dune-project'"))
2025-07-26 01:03.12 ---> saved as "12287b513eaecef7caf9a23d5fee704f56004b8fa9cdbd15942444adb2c48a0a"
/: (env DEPS "base-bigarray.base base-threads.base base-unix.base bigarray-compat.1.1.0 cmdliner.1.3.0 conf-pkg-config.4 csexp.1.5.2 ctypes.0.23.0 dune.3.19.1 dune-configurator.3.19.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 /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
(network host)
(shell "opam update --depexts && opam install --cli=2.3 --depext-only -y mongoc.dev $DEPS"))
+ /opt/homebrew/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 <><><><><><><><><><><><><><><><><><><><><><>
+ /opt/homebrew/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.0.2
- ==> 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-07-15
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/1b8ec93adfe410583ff46788783b030707eec1898c7ded356e25694e4c29aa32--ca-certificates-2025-07-15.bottle_manifest.json
- ==> Fetching ca-certificates
- ==> Downloading https://ghcr.io/v2/homebrew/core/ca-certificates/blobs/sha256:84e089e758e75d61228f97d54b3eb1918737a2272c747206cc4d9d75d8a3cb52
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/2b4ae11f56221481ba995171d173e64679267530761c1e32c331269d91aaedb1--ca-certificates--2025-07-15.all.bottle.tar.gz
- ==> Downloading https://ghcr.io/v2/homebrew/core/openssl/3/manifests/3.5.1
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/9d8c8da104539ae29f198f366fe5794ac377d96a92458ae62557e3f83b03a351--openssl@3-3.5.1.bottle_manifest.json
- ==> Fetching openssl@3
- ==> Downloading https://ghcr.io/v2/homebrew/core/openssl/3/blobs/sha256:e14a37b55eb218aff8024cd9dedb2c2884f0405e2803ce5b0f9995bbbce972d3
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/4ce3a569ec0665c80942dfd9bdd1dfcf890ed8199bb2c74383b89bf93307d491--openssl@3--3.5.1.arm64_sequoia.bottle.tar.gz
- ==> Fetching mongo-c-driver
- ==> Downloading https://ghcr.io/v2/homebrew/core/mongo-c-driver/blobs/sha256:1f0e8c5ee2187489716d8d710a4cfc8935b1f7040d3045b161176c43b3a079c3
- ==> Fetching pkgconf
- ==> Downloading https://ghcr.io/v2/homebrew/core/pkgconf/blobs/sha256:6fabdc3d0a656e2d505aec4e39b2f8e354601ee141469554fa71eabc3386e18f
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/1a24d1ad02d9375a2488968c81e160cf6edbbb0709cc51dbeeb5c7f9c5e473b0--pkgconf--2.5.1.arm64_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-07-15
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/1b8ec93adfe410583ff46788783b030707eec1898c7ded356e25694e4c29aa32--ca-certificates-2025-07-15.bottle_manifest.json
- ==> Pouring ca-certificates--2025-07-15.all.bottle.tar.gz
- ==> Regenerating CA certificate bundle from keychain, this may take a while...
- 🍺 /opt/homebrew/Cellar/ca-certificates/2025-07-15: 4 files, 225.3KB
- ==> Installing mongo-c-driver dependency: openssl@3
- ==> Downloading https://ghcr.io/v2/homebrew/core/openssl/3/manifests/3.5.1
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/9d8c8da104539ae29f198f366fe5794ac377d96a92458ae62557e3f83b03a351--openssl@3-3.5.1.bottle_manifest.json
- ==> Pouring openssl@3--3.5.1.arm64_sequoia.bottle.tar.gz
- 🍺 /opt/homebrew/Cellar/openssl@3/3.5.1: 7,563 files, 35.2MB
- ==> Installing mongo-c-driver
- ==> Pouring mongo-c-driver--2.0.2.arm64_sequoia.bottle.tar.gz
- 🍺 /opt/homebrew/Cellar/mongo-c-driver/2.0.2: 188 files, 5MB
- ==> Running `brew cleanup mongo-c-driver`...
- Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
- Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
- ==> Pouring pkgconf--2.5.1.arm64_sequoia.bottle.tar.gz
- 🍺 /opt/homebrew/Cellar/pkgconf/2.5.1: 28 files, 518.6KB
- ==> Running `brew cleanup pkgconf`...
2025-07-26 01:04.23 ---> saved as "462dbdce83b3f50a5d700a51f70e5f3d00a158ba578dfe87ec2153e725cd0600"
/: (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 1.3.0
- install conf-pkg-config 4
- install csexp 1.5.2
- install ctypes 0.23.0
- install dune 3.19.1
- install dune-configurator 3.19.1
- install integers 0.7.0
- install stdlib-shims 0.3.0
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved bigarray-compat.1.1.0 (cached)
-> retrieved csexp.1.5.2 (cached)
-> installed conf-pkg-config.4
-> retrieved cmdliner.1.3.0 (cached)
-> retrieved integers.0.7.0 (cached)
-> retrieved ctypes.0.23.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved dune.3.19.1, dune-configurator.3.19.1 (cached)
-> installed cmdliner.1.3.0
-> installed dune.3.19.1
-> 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.19.1
-> installed ctypes.0.23.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-07-26 01:05.05 ---> saved as "36cd0e83f740e8f89745923cdb28beb0d9413b3c3665002a8512f6f20e855458"
/: (copy (src .) (dst ./src))
2025-07-26 01:05.06 ---> saved as "9aa0ab52d9f3f048a038d0d489036382f15fa178303d097d89de397099b9ef1b"
/: (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 && /opt/homebrew/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 && /opt/homebrew/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 && /opt/homebrew/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 && /opt/homebrew/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-07-26 01:05.11: Job failed: Failed: Build failed