Organisationstaridesmongoc-ocaml042080 (main)macos-homebrew-5.3_arm64_opam-2.4

macos-homebrew-5.3_arm64_opam-2.4

Link Copied
Code Copied

Logs

2025-09-29 11:33.29: New job: test tarides/mongoc-ocaml https://github.com/tarides/mongoc-ocaml.git#refs/heads/main (042080ab77ab888069120fa0910b9b4c87e6e274) (macos-arm64:macos-homebrew-5.3_arm64_opam-2.4)
Base: macos-homebrew-ocaml-5.3
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.3
# macos-homebrew-5.3_arm64_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-domains.base base-effects.base base-nnp.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.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.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.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-5.3-macos-homebrew-5.3_arm64_opam-2.4-029a6f504d6fd41451b57ffcabaa4a38"
2025-09-29 11:33.29: Using OBuilder spec:
((from macos-homebrew-ocaml-5.3)
(comment macos-homebrew-5.3_arm64_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-domains.base base-effects.base base-nnp.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.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.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.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 16:14.02: Waiting for worker…
2025-09-29 23:22.26: Got resource from pool OCluster
Building on m1-worker-04
Initialized empty Git repository in /private/var/lib/ocluster-worker/git/mongoc-ocaml.git-89dd79164929fa72e2d4cd3d662074271da71c43/.git/
HEAD is now at 042080a Merge pull request #2 from tarides/ci


(from macos-homebrew-ocaml-5.3)
2025-09-29 23:22.28 ---> using "6ee950b55569b1a3f8a7953dc679318bf303d3a70ac7d49901c0ac2ca3805d7c" from cache


/: (comment macos-homebrew-5.3_arm64_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 23:22.28 ---> using "98f27ffc931cc35f6fd0434c4b7cb74004ae5b966eac1b4d0d724f37574600ad" 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 23:22.28 ---> using "05bef02621f4f152ba73fa5008f45408f9224fb6a3f95400ffe628ff48189e9f" from cache


/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Darwin 24.5.0
The OCaml toplevel, version 5.3.0
2.4.1
2025-09-29 23:22.28 ---> using "a78de44d0fa6eb2299c3aff4eac17004df22cc4faa362aec41a39eccbcb56bb5" 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
ec0dc125ad..6bfdcda303  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


Already up-to-date.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2025-09-29 23:22.28 ---> using "6eedf1219bb1bf531ef975f36686120057c790e19e1b08a084f8bb23400ffb28" from cache


/: (copy (src mongoc.opam) (dst ./src/./))
2025-09-29 23:22.29 ---> saved as "a49602d8f87b2dd8248e3faa09dcebccafb0d43d4c84f10b4d495a4263d04190"


/: (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 23:22.37 ---> saved as "2edcabc537fa93070a43ca5dbd342091152dfa2c46532e474501467cd247c427"


/: (run (network host)
(shell "echo '(lang dune 3.0)' > './src/./dune-project'"))
2025-09-29 23:22.38 ---> saved as "ad709a40dd92b92a8d997c6e31f1401cbf3a98b24748d1dbdd3802b8e42d9588"


/: (env DEPS "base-bigarray.base base-domains.base base-effects.base base-nnp.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.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.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.4 --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.3.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.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
- ==> Downloading https://ghcr.io/v2/homebrew/core/mongo-c-driver/manifests/2.1.0
- ==> 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:4066d7983ad535f0e460fc340f343f9de933073882470d5ea968b18698b2777c
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/537a4c16ee033bff9c2e28739948588162481ce78153f994d32e4c159a887f3e--openssl@3--3.5.2.arm64_sequoia.bottle.tar.gz
- ==> Fetching mongo-c-driver
- ==> Downloading https://ghcr.io/v2/homebrew/core/mongo-c-driver/blobs/sha256:f4cb73190a3b3f8684088ff8cef2b2ea98b6077c3155b3e2211d1a5aa73b6282
- ==> 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-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...
- 🍺  /opt/homebrew/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.arm64_sequoia.bottle.tar.gz
- 🍺  /opt/homebrew/Cellar/openssl@3/3.5.2: 7,563 files, 35.2MB
- ==> Installing mongo-c-driver
- ==> Pouring mongo-c-driver--2.1.0.arm64_sequoia.bottle.tar.gz
- 🍺  /opt/homebrew/Cellar/mongo-c-driver/2.1.0: 190 files, 5.1MB
- ==> 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.arm64_sequoia.bottle.tar.gz
- 🍺  /opt/homebrew/Cellar/pkgconf/2.5.1: 28 files, 518.6KB
- ==> Running `brew cleanup pkgconf`...
- ==> No outdated dependents to upgrade!
2025-09-29 23:23.09 ---> saved as "58eefb03bb1504c61cde864b395d96d6c57e34c1bae04c9c76c09895e39b278e"


/: (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.3.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.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 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 ctypes.0.23.0  (cached)
-> retrieved integers.0.7.0  (cached)
-> retrieved stdlib-shims.0.3.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 23:23.54 ---> saved as "2b412403f59fa8154a8d778ce3d59552f659b5a1cab81c600aa13f395dbb104f"


/: (copy (src .) (dst ./src))
2025-09-29 23:24.10 ---> saved as "14cf1ea22ac23817409488392ae66af02a877acadfe442ed1a31a00e19725a84"


/: (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-09-29 23:24.15: Job failed: Failed: Build failed