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

freebsd-14.3-5.4_opam-2.5

Link Copied
Code Copied

Logs

2026-04-03 11:36.16: 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 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 ./
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.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.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.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.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-03 11:36.16: Using cache hint "tarides/mongoc-ocaml-freebsd-14.3-ocaml-5.4-freebsd-14.3-5.4_opam-2.5-48f329bb723c392cfc5a0cc6d2e046dd"
2026-04-03 11:36.16: 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 d06cfb1853afceb1dc127f88edaac3f8110bf6cc || git fetch origin master) && git reset -q --hard d06cfb1853afceb1dc127f88edaac3f8110bf6cc && 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.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.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 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-03 11:36.16: Waiting for resource in pool OCluster
2026-04-03 12:22.45: Waiting for worker…
2026-04-03 13:04.19: 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-03 13:00.05 ---> 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-03 13:00.06 ---> 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-03 13:00.06 ---> 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.0
2.5.0
2026-04-03 13:00.06 ---> using "add5f681a375911dcea6c14418d3635cba7f82294574aa9177e3a0a9fa01d5bd" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2026-04-03 13:00.07 ---> 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 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
71325ac6ed..d06cfb1853  master     -> origin/master
d06cfb1853 Merge pull request #29632 from shonfeder/release-dune-3.22.1


<><> 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.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-03 13:00.07 ---> using "99f8e73bfb4c0ecbbcaf551c38e18beedf6ba8fc0ab89644bf0273d928ce38db" from cache


/src: (copy (src mongoc.opam) (dst ./))
2026-04-03 13:00.07 ---> saved as "a4c1abb317ae3ff4ad83cfdcc68822f805b3bb2b9aad5ca8b271590576400be5"


/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-03 13:00.09 ---> saved as "640599fadb756221854f93f89f1978debd195d9f431d29502608e0cce900e87f"


/src: (run (shell "echo '(lang dune 3.0)' > './dune-project'"))
2026-04-03 13:00.09 ---> saved as "9e28f1436643cca791ba2347ad934f05c7ec252b9d1bcc830649c7c3a3917d1e"


/src: (env DEPS "base-bigarray.base base-domains.base base-effects.base base-nnp.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.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 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.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.4.0).
[NOTE] Package ocaml is already installed (current version is 5.4.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


<><> 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. 36742 packages processed.
- Updating FreeBSD-kmods repository catalogue...
- [rosemary] Fetching data.pkg: .......... done
- Processing entries: .......... done
- FreeBSD-kmods repository update completed. 245 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.4.2 -> 2.5.1 [FreeBSD]
- 
- Number of packages to be upgraded: 1
- 
- The operation will free 24 MiB.
- 6 MiB to be downloaded.
- [rosemary] [1/1] Fetching pkg-2.5.1~6a9fbc43c1.pkg:
- ....
- ...
- .
- .. done
- Checking integrity... done (0 conflicting)
- [rosemary] [1/1] Upgrading pkg from 2.4.2 to 2.5.1...
- [rosemary] [1/1] Extracting pkg-2.5.1: .......... done
- 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.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-03 13:00.57 ---> saved as "d735c8a5351ea7d30cefd721acc9458d1f68977c770ea15885b120059b0a480a"


/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.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.4.0).
[NOTE] Package ocaml is already installed (current version is 5.4.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 8 packages
 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
 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 csexp.1.5.2
 installed stdlib-shims.0.3.0
 installed integers.0.7.0
 installed dune-configurator.3.22.1
 installed ctypes.0.24.0
Done.
2026-04-03 13:01.50 ---> saved as "cc0d69eb4702182ebd6a1ad8fe95eaecba23ba72e7e982b4c933ce0f351642b6"


/src: (copy (src .) (dst /src))
2026-04-03 13:01.51 ---> saved as "c93b503149a0c63209d8aab1e12a557016b42422156620837636c80aa67dcda3"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
2026-04-03 13:01.54 ---> saved as "51a7a9fd7a5f3aeef2987432ac4a60cbb4e5951212100c02ec182c5cd0d3a2d8"
Job succeeded
2026-04-03 13:06.08: Job succeeded