Organisationstaridesmongoc-ocaml042080 (main)macos-homebrew-4.14_opam-2.5

macos-homebrew-4.14_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-x86_64:macos-homebrew-4.14_opam-2.5)
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.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-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.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.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.16: Using cache hint "tarides/mongoc-ocaml-macos-homebrew-ocaml-4.14-macos-homebrew-4.14_opam-2.5-7ba2cc2c30b15e389781591baf544611"
2026-04-03 11:36.16: Using OBuilder spec:
((from macos-homebrew-ocaml-4.14)
(comment macos-homebrew-4.14_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-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.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.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.16: Waiting for resource in pool OCluster
2026-04-03 19:19.59: Waiting for worker…
2026-04-03 23:23.28: Got resource from pool OCluster
Building on i7-worker-04
All commits already cached
HEAD is now at 042080a Merge pull request #2 from tarides/ci


(from macos-homebrew-ocaml-4.14)
2026-04-03 23:23.29 ---> using "0c60f117aee57abea8364cb033d47bb1d63ff0f68e5ee97378e032498e8442af" from cache


/: (comment macos-homebrew-4.14_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-03 23:23.30 ---> using "75b1629629d7f21c50a7e1e39b2ef83e2edb8ace81aab34254c0c8782b814749" 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-03 23:23.30 ---> using "a61e945ab7671a6fff400f946e3fe88df4d67a783ea1f56fa59dc21595ef1b19" from cache


/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Darwin 24.5.0
The OCaml toplevel, version 4.14.2
2.5.0
2026-04-03 23:23.30 ---> using "11a9923a4c4f0ab256d15330129e4c4938459d2e6239eb4f7bdf0f2620300e09" 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
95f7875db7..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-config.3
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 23:23.31 ---> using "b349ecfe793a8fb028836290c8efffe8474e705aa8fa020d014ab0f6138a0a53" from cache


/: (copy (src mongoc.opam) (dst ./src/./))
2026-04-03 23:23.32 ---> saved as "cfa07aeaf049e4b37737bbe0336a4c53c61776a3ff54f8453cc38068e6e07d48"


/: (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-03 23:23.45 ---> saved as "d7fcb2daeaa86592d8093fb3fa8c2d6b0cb24cd71cef5bab1317b6f694568074"


/: (run (shell "echo '(lang dune 3.0)' > './src/./dune-project'"))
2026-04-03 23:23.47 ---> saved as "7c06d171572ce0544ba13b157abd1134b37ee5f4cd014f6f68e7326d06f10df4"


/: (env DEPS "base-bigarray.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.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.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 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
- ✔︎ Bottle Manifest mongo-c-driver (2.2.3)
- ✔︎ Bottle Manifest pkgconf (2.5.1)
- ✔︎ Bottle Manifest pkgconf (2.5.1)
- ✔︎ 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 mongo-c-driver (2.2.3)
- ✔︎ Bottle openssl@3 (3.6.1)
- ==> 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.1.sequoia.bottle.tar.gz
- 🍺  /usr/local/Cellar/openssl@3/3.6.1: 7,624 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.2.3.sonoma.bottle.tar.gz
- 🍺  /usr/local/Cellar/mongo-c-driver/2.2.3: 189 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`).
- ==> 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-03 23:25.01 ---> saved as "fb87ad55605376874d0ada18a25dbeaa9132fd4408da176d0d9e0727b68b2de7"


/: (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 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-03 23:26.23 ---> saved as "376304f22fc8519d36520bf7908262ad5360b5c510b97525f52ea1ac9f01d3bd"


/: (copy (src .) (dst ./src))
2026-04-03 23:26.25 ---> saved as "a9c59a96b502c3220a0a115f0bd395aa9b14f5ce41e0923cc2f85931cf5175da"


/: (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-03 23:26.31: Job failed: Failed: Build failed