Organisationstaridesmongoc-ocaml042080 (main)macos-homebrew-5.4_arm64_opam-2.5

macos-homebrew-5.4_arm64_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) (macos-arm64:macos-homebrew-5.4_arm64_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_arm64_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 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 ./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.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 cd ./src && 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-macos-homebrew-ocaml-5.4-macos-homebrew-5.4_arm64_opam-2.5-48f329bb723c392cfc5a0cc6d2e046dd"
2026-04-03 11:36.15: Using OBuilder spec:
((from macos-homebrew-ocaml-5.4)
(comment macos-homebrew-5.4_arm64_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 d06cfb1853afceb1dc127f88edaac3f8110bf6cc || git fetch origin master) && git reset -q --hard d06cfb1853afceb1dc127f88edaac3f8110bf6cc && 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.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 /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-03 11:36.15: Waiting for resource in pool OCluster
2026-04-04 02:27.49: Waiting for worker…
2026-04-04 10:28.46: Got resource from pool OCluster
Building on m1-worker-01
All commits already cached
HEAD is now at 042080a Merge pull request #2 from tarides/ci


(from macos-homebrew-ocaml-5.4)
2026-04-04 10:28.46 ---> using "338135fbf1889e924a607b47198b8b308c32a925cc9436066d65a9bdc402cad5" from cache


/: (comment macos-homebrew-5.4_arm64_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-04 10:28.46 ---> 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-04 10:28.47 ---> 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-04 10:28.47 ---> 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 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
043b6ea343..2a4b439041  master     -> origin/master
d06cfb1853 Merge pull request #29632 from shonfeder/release-dune-3.22.1


<><> 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.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-04 10:28.47 ---> using "1282f226ed6b8369654a3324b4803b27039ef8115d0fc87f58f83cf301e75a16" from cache


/: (copy (src mongoc.opam) (dst ./src/./))
2026-04-04 10:28.48 ---> saved as "394f50d02354e465ead927321b086b37a1ea9a8d127f0ff0ad96ae5a1f372f63"


/: (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-04 10:28.58 ---> saved as "d0b445f86a16e21ceafdefc1bef0575bae115ba7b09401baab8ee3d795a1035d"


/: (run (shell "echo '(lang dune 3.0)' > './src/./dune-project'"))
2026-04-04 10:28.59 ---> saved as "9efb97c73d19cdf0254dfd3c2ab80f5c6f8b7aabb46c684834c5e4c87351c04b"


/: (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 /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"))
+ /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 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 <><><><><><><><><><><><><><><><><><><><><><>


+ /opt/homebrew/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.2.3)
- ✔︎ Bottle Manifest ca-certificates (2026-03-19)
- ✔︎ Bottle ca-certificates (2026-03-19)
- ✔︎ Bottle Manifest openssl@3 (3.6.1)
- ✔︎ 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 xz (5.8.3)
- ✔︎ Bottle zstd (1.5.7_1)
- ✔︎ Bottle pkgconf (2.5.1)
- ✔︎ Bottle openssl@3 (3.6.1)
- ✔︎ Bottle mongo-c-driver (2.2.3)
- ==> 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...
- 🍺  /opt/homebrew/Cellar/ca-certificates/2026-03-19: 4 files, 237KB
- ==> Installing mongo-c-driver dependency: openssl@3
- ==> Pouring openssl@3--3.6.1.arm64_sequoia.bottle.tar.gz
- 🍺  /opt/homebrew/Cellar/openssl@3/3.6.1: 7,624 files, 37.4MB
- ==> Installing mongo-c-driver dependency: lz4
- ==> Pouring lz4--1.10.0.arm64_sequoia.bottle.1.tar.gz
- 🍺  /opt/homebrew/Cellar/lz4/1.10.0: 24 files, 729.2KB
- ==> Installing mongo-c-driver dependency: xz
- ==> Pouring xz--5.8.3.arm64_sequoia.bottle.tar.gz
- 🍺  /opt/homebrew/Cellar/xz/5.8.3: 96 files, 2.7MB
- ==> Installing mongo-c-driver dependency: zstd
- ==> Pouring zstd--1.5.7_1.arm64_sequoia.bottle.tar.gz
- 🍺  /opt/homebrew/Cellar/zstd/1.5.7_1: 32 files, 2.3MB
- ==> Installing mongo-c-driver
- ==> Pouring mongo-c-driver--2.2.3.arm64_sequoia.bottle.tar.gz
- 🍺  /opt/homebrew/Cellar/mongo-c-driver/2.2.3: 190 files, 5.5MB
- ==> 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.1... (13.2KB)
- ==> Pouring pkgconf--2.5.1.arm64_sequoia.bottle.tar.gz
- 🍺  /opt/homebrew/Cellar/pkgconf/2.5.1: 28 files, 531.2KB
- ==> Running `brew cleanup pkgconf`...
# To update the current shell environment, run: eval $(opam env)
2026-04-04 10:29.44 ---> saved as "3bd0fae3987800251512b4248ea005b6faa455342c3a9d58556c72425bce437c"


/: (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.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 <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed conf-pkg-config.4
-> retrieved ctypes.0.24.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved cmdliner.2.1.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved integers.0.7.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-04 10:30.34 ---> saved as "da43f9e0813cd04d06ed5cacab73df73424294367b8e1e2bd363df03ad702312"


/: (copy (src .) (dst ./src))
2026-04-04 10:30.35 ---> saved as "5c9598a7d49be24aefd9d950ee147500efaea70f6b9bc9dc0f35e3d5b0c7adcb"


/: (run (shell "cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
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 --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/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
2026-04-04 10:30.40: Job failed: Failed: Build failed