Organisationstaridesmongoc-ocaml042080 (main)freebsd-14.3-4.14_opam-2.4

freebsd-14.3-4.14_opam-2.4

Logs

Show full logs
2025-10-07 16:48.52: New job: test tarides/mongoc-ocaml https://github.com/tarides/mongoc-ocaml.git#refs/heads/main (042080ab77ab888069120fa0910b9b4c87e6e274) (freebsd-x86_64:freebsd-14.3-4.14_opam-2.4)
Base: freebsd-14.3-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 freebsd-14.3-ocaml-4.14
# freebsd-14.3-4.14_opam-2.4
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/local/bin/opam-2.4 /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 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 ./
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.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.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.4 --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-10-07 16:48.52: Using cache hint "tarides/mongoc-ocaml-freebsd-14.3-ocaml-4.14-freebsd-14.3-4.14_opam-2.4-f22de459b7c810908da724c62da4805a"
2025-10-07 16:48.52: Using OBuilder spec:
((from freebsd-14.3-ocaml-4.14)
 (comment freebsd-14.3-4.14_opam-2.4)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (workdir /src)
 (run (shell "sudo ln -f /usr/local/bin/opam-2.4 /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 dbd126f1b3e13b70b1010ac087a896c6f0d80bc5 || git fetch origin master) && git reset -q --hard dbd126f1b3e13b70b1010ac087a896c6f0d80bc5 && 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.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.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.4 --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-10-07 16:48.52: Waiting for resource in pool OCluster
2025-10-07 17:44.36: Waiting for worker…
2025-10-07 19:05.03: 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-4.14)
2025-10-07 19:03.13 ---> using "7e5247e9853d1c2fb95ef9ffdfdb895ef70516f48155f08a9b10db936cb8c6c6" from cache

/: (comment freebsd-14.3-4.14_opam-2.4)

/: (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.4 /usr/local/bin/opam"))
2025-10-07 19:03.13 ---> using "f8f2ae50f983ba53790a433c81d8570b8becc44c74ab2707cf43746ed1b463d1" 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-10-07 19:03.14 ---> using "a95cd97103c96a777086d9508c45964fbffa4285a5c5e6703b704acabfb6945b" from cache

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
FreeBSD 14.3-RELEASE-p3
The OCaml toplevel, version 4.14.2
2.4.1
2025-10-07 19:03.14 ---> using "199d8be57ed603ac6837a6d6cc7e578c2f630e2b79e2520a8892deff98662ca8" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2025-10-07 19:03.15 ---> using "c9d8693a3c313f3750cea43d98891a3f5490d8d3ab8357236d5eb49fea038272" from cache

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (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"))
dbd126f1b3 Merge pull request #28599 from dbuenzli/b0-publish-cmdliner.2.0.0

<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+file:///home/opam/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.3.0
  - ocaml-config.3
However, you may "opam upgrade" these packages explicitly at these versions (e.g. "opam upgrade ocaml.5.3.0"), which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
2025-10-07 19:03.15 ---> using "b673ee78ef2d567a781c90c4f479e4cc2deab0689088e561b68af5a277bdcb1e" from cache

/src: (copy (src mongoc.opam) (dst ./))
2025-10-07 19:03.15 ---> saved as "4382f176e28231597bffd09d32a2ed26258f6691d291c65099ae46fed5394377"

/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)
2025-10-07 19:03.16 ---> saved as "ae262f4eba69563d5ab2dd19658d5979ce597e40729de9ad8651a5ba185a429e"

/src: (run (network host)
           (shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-10-07 19:03.17 ---> saved as "a2070f659f6cea222df30189c88578a35147ad75ad1c7ad751b090095beef0ed"

/src: (env DEPS "base-bigarray.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.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.4 --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...
- FreeBSD repository is up to date.
- Updating FreeBSD-kmods repository catalogue...
- FreeBSD-kmods 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 [FreeBSD]
- 	mongo-c-driver: 1.30.4_1 [FreeBSD]
- 	utf8proc: 2.10.0 [FreeBSD]
- 
- 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_1.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_1...
- [rosemary] [3/3] Extracting mongo-c-driver-1.30.4_1: .....
- ..... done
2025-10-07 19:03.27 ---> saved as "90889e7e639dd17b11dec6d4abf51044c549ba52c8490223dcbb9349a45da3db"

/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          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
   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 ctypes.0.23.0  (cached)
 retrieved bigarray-compat.1.1.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 bigarray-compat.1.1.0
 installed csexp.1.5.2
 installed integers.0.7.0
 installed dune-configurator.3.20.2
 installed ctypes.0.23.0
Done.
2025-10-07 19:04.30 ---> saved as "5487925b8bf4a436d31ed1d231a5bab5308b09702f419b11833c4ac2c50cec7c"

/src: (copy (src .) (dst /src))
2025-10-07 19:04.31 ---> saved as "883b9ce06655b42ecb7f59c77b0c131f7000806a8a1e3a2dd55b295cd4d5b4b3"

/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
2025-10-07 19:04.36 ---> saved as "81aaea5f3653e491369b0c3dabcbfd5bd3b645208908e9a9dedfe8b73f243555"
Job succeeded
2025-10-07 19:06.24: Job succeeded