2025-07-25 21:33.19: New job: test tarides/mongoc-ocaml https://github.com/tarides/mongoc-ocaml.git#refs/heads/ci (d2be269f2eac159b400a9b311e310ec00b65e329) (freebsd-x86_64:freebsd-14.2-4.14_opam-2.3)
Base: freebsd-14.2-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 freebsd-14.2-ocaml-4.14
# freebsd-14.2-4.14_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/local/bin/opam-2.3 /usr/local/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
WORKDIR /src
RUN sudo chown opam /src
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 ./
RUN opam pin add -yn mongoc.dev './'
RUN echo '(lang dune 3.0)' > './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 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-freebsd-14.2-ocaml-4.14-freebsd-14.2-4.14_opam-2.3-e0530d897ef2eb91ba32fd3d6b7755ff"
2025-07-25 21:33.19: Using OBuilder spec:
((from freebsd-14.2-ocaml-4.14)
(comment freebsd-14.2-4.14_opam-2.3)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/local/bin/opam-2.3 /usr/local/bin/opam"))
(run (shell "opam init --reinit -ni"))
(run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
(workdir /src)
(run (shell "sudo chown opam /src"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(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 ./))
(run (network host)
(shell "opam pin add -yn mongoc.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './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 /home/opam/.opam/download-cache)))
(network host)
(shell "opam update --depexts && opam install --cli=2.3 --depext-only -y mongoc.dev $DEPS"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
(copy (src .) (dst /src))
(run (shell "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:55.14: Waiting for worker…
2025-07-26 02:47.27: Got resource from pool OCluster
Building on rosemary
All commits already cached
HEAD is now at d2be269 Fix ocaml-ci
(from freebsd-14.2-ocaml-4.14)
2025-07-26 02:47.30 ---> using "e232d73c9161ea3ff94ff4ae2b5a6983da9a9ca98d5185b2db1dbadeae5228e2" from cache
/: (comment freebsd-14.2-4.14_opam-2.3)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (workdir /src)
/src: (run (shell "sudo ln -f /usr/local/bin/opam-2.3 /usr/local/bin/opam"))
2025-07-26 02:47.31 ---> using "5aedfaeff2bc60ce09298f87624d557fac4c416addb6915ab987317e95fa6323" from cache
/src: (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 /home/opam/.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:///home/opam/opam-repository
2025-07-26 02:47.32 ---> using "33d10a393b3f49c5577becd825d2bcab91e98bdde15eb554bf0dba345ccb7809" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
FreeBSD 14.2-RELEASE-p1
The OCaml toplevel, version 4.14.2
2.3.0
2025-07-26 02:47.33 ---> using "318cf18a0512582a14a586ceb7ba02273510347df5896f5e5d533054ff3c99cc" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-07-26 02:47.33 ---> using "6fc646c578a950069629f2a24c45eb1d012bef32c9d3cba5f25029d6618e05d7" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(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
0d013e603b..b8021439f8 master -> origin/master
b8021439f8 Merge pull request #28261 from kit-ty-kate/deploy-fix-25819
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+file:///home/opam/opam-repository
The following actions will be performed:
=== recompile 1 package
↻ 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 02:47.34 ---> using "2c05410a3cb8afb45f0bd8ca214aa9e3871b9e96bbf366432ee74a2c5e4d8a63" from cache
/src: (copy (src mongoc.opam) (dst ./))
2025-07-26 02:47.37 ---> saved as "b732cb0b3f0d50567c8352aa8b8cf686d6369c9a812fd0e3222f25be7683f5b9"
/src: (run (network host)
(shell "opam pin add -yn mongoc.dev './'"))
Package mongoc does not exist, create as a NEW package? [y/n] y
[mongoc.dev] synchronised (file:///src)
mongoc is now pinned to file:///src (version dev)
2025-07-26 02:47.42 ---> saved as "0642ba578bac738c1ca61cd16a18d5e1f640aa5bc42e517b34ad9a0e7f270e8e"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-07-26 02:47.44 ---> saved as "84875388775e9c793c5413ed3be840e4c7376835ec9dbff88bf325ca398efdbb"
/src: (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")
/src: (env CI true)
/src: (env OCAMLCI true)
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam update --depexts && opam install --cli=2.3 --depext-only -y mongoc.dev $DEPS"))
[WARNING] Unknown update command for bsd, skipping system update
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[mongoc.dev] synchronised (file:///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
<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
+ /usr/local/bin/sudo "pkg" "install" "-y" "mongo-c-driver"
- Updating FreeBSD repository catalogue...
- [rosemary] Fetching data.pkg:
- ...
- .....
- .. done
- Processing entries:
- .
- ..
- .
- .
- .
- ..
- .
- . done
- FreeBSD repository update completed. 35647 packages processed.
- All repositories are up to date.
- New version of pkg detected; it needs to be installed first.
- The following 1 package(s) will be affected (of 0 checked):
-
- Installed packages to be UPGRADED:
- pkg: 2.1.2 -> 2.2.1
-
- Number of packages to be upgraded: 1
-
- 12 MiB to be downloaded.
- [rosemary] [1/1] Fetching pkg-2.2.1.pkg:
- ....
- ....
- .. done
- Checking integrity... done (0 conflicting)
- [rosemary] [1/1] Upgrading pkg from 2.1.2 to 2.2.1...
- [rosemary] [1/1] Extracting pkg-2.2.1: .........
- . done
- Updating FreeBSD repository catalogue...
- FreeBSD repository is up to date.
- All repositories are up to date.
- The following 3 package(s) will be affected (of 0 checked):
-
- New packages to be INSTALLED:
- libbson: 1.30.4
- mongo-c-driver: 1.30.4
- utf8proc: 2.10.0
-
- Number of packages to be installed: 3
-
- The process will require 263 MiB more space.
- 3 MiB to be downloaded.
- [rosemary] [1/3] Fetching mongo-c-driver-1.30.4.pkg:
- ......
- .... done
- [rosemary] [2/3] Fetching utf8proc-2.10.0.pkg: ..... done
- [rosemary] [3/3] Fetching libbson-1.30.4.pkg: .........
- . done
- Checking integrity... done (0 conflicting)
- [rosemary] [1/3] Installing libbson-1.30.4...
- [rosemary] [1/3] Extracting libbson-1.30.4: .......... done
- [rosemary] [2/3] Installing utf8proc-2.10.0...
- [rosemary] [2/3] Extracting utf8proc-2.10.0: .......... done
- [rosemary] [3/3] Installing mongo-c-driver-1.30.4...
- [rosemary] [3/3] Extracting mongo-c-driver-1.30.4: ....
- ...... done
2025-07-26 02:48.34 ---> saved as "d33e9a5122981ba83909ff231eb525c48489eaa4892bfcfc78a5814f9a4ef7fe"
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(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
∗ 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
∗ stdlib-shims 0.3.0
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
⬇ retrieved cmdliner.1.3.0 (cached)
⬇ retrieved ctypes.0.23.0 (cached)
∗ installed conf-pkg-config.4
⬇ retrieved csexp.1.5.2 (cached)
⬇ retrieved bigarray-compat.1.1.0 (cached)
⬇ retrieved integers.0.7.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.
2025-07-26 02:50.26 ---> saved as "3c8773a16ec85acdbaf0faaab50a02b3d4e7e643e9bdc1ac26e83b086cb21810"
/src: (copy (src .) (dst /src))
2025-07-26 02:50.28 ---> saved as "f5266e1a9875aa8b007dc4089f9843dca8f5220e43865a49e3894f21a57b2cfc"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
2025-07-26 02:50.35 ---> saved as "e6b5362dc4fc08a59d0205364275a61270277b07d4c8e59e3318bfeb2c719baf"
Job succeeded
2025-07-26 02:50.35: Job succeeded