Organisationstaridesmongoc-ocaml042080 (main)freebsd-14.3-5.4_opam-2.5

freebsd-14.3-5.4_opam-2.5

Logs

Show full logs
2026-04-22 14:12.08: New job: test tarides/mongoc-ocaml https://github.com/tarides/mongoc-ocaml.git#refs/heads/main (042080ab77ab888069120fa0910b9b4c87e6e274) (freebsd-x86_64:freebsd-14.3-5.4_opam-2.5)
Base: freebsd-14.3-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 freebsd-14.3-ocaml-5.4
# freebsd-14.3-5.4_opam-2.5
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/local/bin/opam-2.5 /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 036883c5402b41e0d35f6b200245cc7c3a302395 || git fetch origin master) && git reset -q --hard 036883c5402b41e0d35f6b200245cc7c3a302395 && 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-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cmdliner.2.1.1 conf-pkg-config.4 csexp.1.5.2 ctypes.0.24.0 dune.3.22.2 dune-configurator.3.22.2 integers.0.7.0 ocaml.5.4.1 ocaml-base-compiler.5.4.1 ocaml-compiler.5.4.1 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 opam exec -- dune build @install @check @runtest && rm -rf _build

END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK

2026-04-22 14:12.08: Using cache hint "tarides/mongoc-ocaml-freebsd-14.3-ocaml-5.4-freebsd-14.3-5.4_opam-2.5-3a3be88da46736842478fc4386c76d36"
2026-04-22 14:12.08: Using OBuilder spec:
((from freebsd-14.3-ocaml-5.4)
 (comment freebsd-14.3-5.4_opam-2.5)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (workdir /src)
 (run (shell "sudo ln -f /usr/local/bin/opam-2.5 /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 036883c5402b41e0d35f6b200245cc7c3a302395 || git fetch origin master) && git reset -q --hard 036883c5402b41e0d35f6b200245cc7c3a302395 && 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 (shell "echo '(lang dune 3.0)' > './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.1 conf-pkg-config.4 csexp.1.5.2 ctypes.0.24.0 dune.3.22.2 dune-configurator.3.22.2 integers.0.7.0 ocaml.5.4.1 ocaml-base-compiler.5.4.1 ocaml-compiler.5.4.1 ocaml-config.3 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.5 --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"))
)

2026-04-22 14:12.08: Waiting for resource in pool OCluster
2026-04-22 14:35.11: Waiting for worker…
2026-04-22 15:15.34: Got resource from pool OCluster
Building on rosemary
All commits already cached
HEAD is now at 042080a Merge pull request #2 from tarides/ci

(from freebsd-14.3-ocaml-5.4)
2026-04-22 15:11.57 ---> using "463e9b939b79b2568bf98b05cff00f85b3ec5717170cf88773a44ae3b08f11e7" from cache

/: (comment freebsd-14.3-5.4_opam-2.5)

/: (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.5 /usr/local/bin/opam"))
2026-04-22 15:11.58 ---> using "e61cc6f90204801db314d0aa3481b9199ff82a8a270abed9917e5690810c70ed" 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
2026-04-22 15:11.58 ---> using "991489237400f99acdd227f8234d37ac98134e18d1f3c091be7204acf59248ac" from cache

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
FreeBSD 14.3-RELEASE-p3
The OCaml toplevel, version 5.4.1
2.5.0
2026-04-22 15:11.59 ---> using "add5f681a375911dcea6c14418d3635cba7f82294574aa9177e3a0a9fa01d5bd" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2026-04-22 15:11.59 ---> using "56f48ccddab22348a30c0beee9b14f69a3990eb0fbd9a0ccd0040d116cc1fce5" from cache

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e 036883c5402b41e0d35f6b200245cc7c3a302395 || git fetch origin master) && git reset -q --hard 036883c5402b41e0d35f6b200245cc7c3a302395 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   42844088d7..80ba534fc6  master     -> origin/master
036883c540 Merge pull request #29788 from dbuenzli/b0-publish-cmdliner.2.1.1

<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+file:///home/opam/opam-repository
default (at git+file:///home/opam/opam-repository): 
    [WARNING] opam is out-of-date. Please consider updating it (https://opam.ocaml.org/doc/Install.html)

default (at git+file:///home/opam/opam-repository): 
    [INFO] opam 2.5.1 includes security fixes; please consider upgrading (https://opam.ocaml.org/doc/Install.html)


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
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.
2026-04-22 15:12.00 ---> using "a59e9e8b30fc610e066b70950d76d735bccf907666272bc868dfdcfacfd22c94" from cache

/src: (copy (src mongoc.opam) (dst ./))
2026-04-22 15:12.01 ---> saved as "69778fe0b3a4486d07d2e60409685518fd9e11f0bd2eccb5db78346d50f5a151"

/src: (run (network host)
           (shell "opam pin add -yn mongoc.dev './'"))
[NOTE] Package mongoc does not exist in opam repositories registered in the current switch.
[mongoc.dev] synchronised (file:///src)
mongoc is now pinned to file:///src (version dev)
2026-04-22 15:12.03 ---> saved as "7da9d54f9fc075dbdf4f8bf8a81a996340f2d39bf2c4e1a9313866e0859525e8"

/src: (run (shell "echo '(lang dune 3.0)' > './dune-project'"))
2026-04-22 15:12.04 ---> saved as "359bf3522d1c59987587dfb0c2897289de3c83ea9ea0a966387c6c7ea0475a2a"

/src: (env DEPS "base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cmdliner.2.1.1 conf-pkg-config.4 csexp.1.5.2 ctypes.0.24.0 dune.3.22.2 dune-configurator.3.22.2 integers.0.7.0 ocaml.5.4.1 ocaml-base-compiler.5.4.1 ocaml-compiler.5.4.1 ocaml-config.3 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.5 --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 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.4.1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.4.1).
[NOTE] Package ocaml is already installed (current version is 5.4.1).
[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

<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>

+ /usr/local/bin/sudo "pkg" "install" "-y" "mongo-c-driver"
- Updating FreeBSD repository catalogue...
- [rosemary] Fetching data: 
- ...
- .....
- .. done
- Processing entries: 
- ..
- .
- .
- .
- ..
- .
- .
- . done
- FreeBSD repository update completed. 37065 packages processed.
- Updating FreeBSD-kmods repository catalogue...
- [rosemary] Fetching data: ....... done
- Processing entries: .......... done
- FreeBSD-kmods repository update completed. 245 packages processed.
- 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.7 [FreeBSD]
- 	mongo-c-driver: 1.30.7 [FreeBSD]
- 	utf8proc: 2.11.3 [FreeBSD]
- 
- Number of packages to be installed: 3
- 
- The process will require 261 MiB more space.
- 3 MiB to be downloaded.
- [rosemary] [1/3] Fetching mongo-c-driver-1.30.7: .....
- ..... done
- [rosemary] [2/3] Fetching utf8proc-2.11.3: ...... done
- [rosemary] [3/3] Fetching libbson-1.30.7: .......... done
- Checking integrity... done (0 conflicting)
- [rosemary] [1/3] Installing libbson-1.30.7...
- [rosemary] [1/3] Extracting libbson-1.30.7: .......... done
- [rosemary] [2/3] Installing utf8proc-2.11.3...
- [rosemary] [2/3] Extracting utf8proc-2.11.3: .......... done
- [rosemary] [3/3] Installing mongo-c-driver-1.30.7...
- [rosemary] [3/3] Extracting mongo-c-driver-1.30.7: ......
- .... done
2026-04-22 15:12.38 ---> saved as "33bece69935d7b07a2d70c86c68c31a804edb89f152c829635783db0d97c8d6b"

/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 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.4.1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.4.1).
[NOTE] Package ocaml is already installed (current version is 5.4.1).
[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
   cmdliner          2.1.1
   conf-pkg-config   4
   csexp             1.5.2
   ctypes            0.24.0
   dune              3.22.2
   dune-configurator 3.22.2
   integers          0.7.0
   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.1  (cached)
 retrieved stdlib-shims.0.3.0  (cached)
 retrieved integers.0.7.0  (cached)
 retrieved dune.3.22.2, dune-configurator.3.22.2  (cached)
 installed cmdliner.2.1.1
 installed dune.3.22.2
 installed csexp.1.5.2
 installed stdlib-shims.0.3.0
 installed integers.0.7.0
 installed dune-configurator.3.22.2
 installed ctypes.0.24.0
Done.
2026-04-22 15:15.36 ---> saved as "5d9426103518387b5205ca35526b0129b15a2c52defb015edae1f77d47d62845"

/src: (copy (src .) (dst /src))
2026-04-22 15:16.03 ---> saved as "8fa1d9142b9e29da45b9d779ee1e39acad00616cf2c4a8dac5b901b687d0c748"

/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
2026-04-22 15:16.17 ---> saved as "0259d876755549e05aa23507d3af049710f355a27cbf09124f598c02162cafa6"
Job succeeded
2026-04-22 15:19.54: Job succeeded