Organisationstaridesmongoc-ocamlcee116 ()freebsd-14.1-4.14_opam-2.3

freebsd-14.1-4.14_opam-2.3

Logs

Show full logs
2025-03-20 12:22.53: New job: test tarides/mongoc-ocaml https://github.com/tarides/mongoc-ocaml.git#refs/heads/main (cee116872386849b0b0bd8832d773c41563dea48) (freebsd-x86_64:freebsd-14.1-4.14_opam-2.3)
Base: freebsd-14.1-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 cee11687
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM freebsd-14.1-ocaml-4.14
# freebsd-14.1-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 cb8df6db0195538a02cc2b2eb20e468f22c475a7 || git fetch origin master) && git reset -q --hard cb8df6db0195538a02cc2b2eb20e468f22c475a7 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 mongoc.opam conf-libmongoc.opam ./
RUN opam pin add -yn mongoc.dev './' && \
    opam pin add -yn conf-libmongoc.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="astring.0.8.5 base.v0.16.3 base-bigarray.base base-bytes.base base-threads.base base-unix.base bigarray-compat.1.1.0 camlp-streams.5.0.1 cmdliner.1.3.0 conf-bash.1 conf-pkg-config.4 csexp.1.5.2 ctypes.0.23.0 dune.3.17.2 dune-build-info.3.17.2 dune-configurator.3.17.2 either.1.0.0 fix.20230505 fpath.0.7.3 integers.0.7.0 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-version.3.7.3 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocamlformat.0.27.0 ocamlformat-lib.0.27.0 ocp-indent.1.8.1 re.1.12.0 seq.base sexplib0.v0.16.0 stdio.v0.16.0 stdlib-shims.0.3.0 topkg.1.0.8 uucp.16.0.0 uuseg.16.0.0 uutf.1.0.4"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y mongoc.dev conf-libmongoc.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-03-20 12:22.53: Using cache hint "tarides/mongoc-ocaml-freebsd-14.1-ocaml-4.14-freebsd-14.1-4.14_opam-2.3-7865af802ee3d817954968784a7fc15c"
2025-03-20 12:22.53: Using OBuilder spec:
((from freebsd-14.1-ocaml-4.14)
 (comment freebsd-14.1-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 cb8df6db0195538a02cc2b2eb20e468f22c475a7 || git fetch origin master) && git reset -q --hard cb8df6db0195538a02cc2b2eb20e468f22c475a7 && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src mongoc.opam conf-libmongoc.opam) (dst ./))
 (run (network host)
      (shell  "opam pin add -yn mongoc.dev './' && \
             \nopam pin add -yn conf-libmongoc.dev './'"))
 (run (network host)
      (shell "echo '(lang dune 3.0)' > './dune-project'"))
 (env DEPS "astring.0.8.5 base.v0.16.3 base-bigarray.base base-bytes.base base-threads.base base-unix.base bigarray-compat.1.1.0 camlp-streams.5.0.1 cmdliner.1.3.0 conf-bash.1 conf-pkg-config.4 csexp.1.5.2 ctypes.0.23.0 dune.3.17.2 dune-build-info.3.17.2 dune-configurator.3.17.2 either.1.0.0 fix.20230505 fpath.0.7.3 integers.0.7.0 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-version.3.7.3 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocamlformat.0.27.0 ocamlformat-lib.0.27.0 ocp-indent.1.8.1 re.1.12.0 seq.base sexplib0.v0.16.0 stdio.v0.16.0 stdlib-shims.0.3.0 topkg.1.0.8 uucp.16.0.0 uuseg.16.0.0 uutf.1.0.4")
 (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 conf-libmongoc.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-03-20 12:22.53: Waiting for resource in pool OCluster
2025-03-20 12:22.53: Waiting for worker…
2025-03-20 12:22.53: Got resource from pool OCluster
Building on summer
All commits already cached
HEAD is now at cee1168 Display online doc url

(from freebsd-14.1-ocaml-4.14)
2025-03-20 12:10.03 ---> using "ae13298952475462d6ff8423c053aa12bd6b321268da2da393f31b39d910ae06" from cache

/: (comment freebsd-14.1-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-03-20 12:10.03 ---> using "a01a14b3afaf0e96198b4995f7495eb095c8d446bea3004be25da82cfecae768" 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-03-20 12:10.03 ---> using "a60b36efeb57e54e6ca4e23dae975fff8d0668822376b173ed63b66aa24444bc" from cache

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
FreeBSD 14.1-RELEASE-p5
The OCaml toplevel, version 4.14.2
2.3.0
2025-03-20 12:10.04 ---> using "188549049d3e68e7a3a1a01e1161c07610550818a3f0b75ffbaafa2a77641d27" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2025-03-20 12:10.04 ---> using "39fdaef227d4780a13f56312f6b694c46af609f82c1eca907bb338ae047f238f" from cache

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e cb8df6db0195538a02cc2b2eb20e468f22c475a7 || git fetch origin master) && git reset -q --hard cb8df6db0195538a02cc2b2eb20e468f22c475a7 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   c31c18de15..fa45b93fe6  master     -> origin/master
cb8df6db01 Merge pull request #27631 from dbuenzli/incompatible-cmdliner2

<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+file:///home/opam/opam-repository

Everything as up-to-date as possible (run with --verbose to show unavailable upgrades).

The following packages are not being upgraded because the new versions conflict with other installed packages:
  - ocaml.5.4.0
  - ocaml-config.3
However, you may "opam upgrade" these packages explicitly, which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
2025-03-20 12:10.04 ---> using "8cded927a515929487b6cf70a37bb6d34eb66c16b0d76d7861f3f4912f66df9c" from cache

/src: (copy (src mongoc.opam conf-libmongoc.opam) (dst ./))
2025-03-20 12:10.04 ---> using "6fd90e3a03610cdc664f56a752fb073d0fefdba8eff778109cacb557347c4a25" from cache

/src: (run (network host)
           (shell  "opam pin add -yn mongoc.dev './' && \
                  \nopam pin add -yn conf-libmongoc.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)
Package conf-libmongoc does not exist, create as a NEW package? [y/n] y
[conf-libmongoc.dev] synchronised (file:///src)
conf-libmongoc is now pinned to file:///src (version dev)
2025-03-20 12:10.04 ---> using "04ed2a175c93ee1151365ae6423cc6d25f75063a545edb14098ea14cd5653d4a" from cache

/src: (run (network host)
           (shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-03-20 12:10.05 ---> using "f6536a4e167a0b796f2a448ef6c88a4962dff92181d213f5304041364e655b39" from cache

/src: (env DEPS "astring.0.8.5 base.v0.16.3 base-bigarray.base base-bytes.base base-threads.base base-unix.base bigarray-compat.1.1.0 camlp-streams.5.0.1 cmdliner.1.3.0 conf-bash.1 conf-pkg-config.4 csexp.1.5.2 ctypes.0.23.0 dune.3.17.2 dune-build-info.3.17.2 dune-configurator.3.17.2 either.1.0.0 fix.20230505 fpath.0.7.3 integers.0.7.0 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-version.3.7.3 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocamlformat.0.27.0 ocamlformat-lib.0.27.0 ocp-indent.1.8.1 re.1.12.0 seq.base sexplib0.v0.16.0 stdio.v0.16.0 stdlib-shims.0.3.0 topkg.1.0.8 uucp.16.0.0 uuseg.16.0.0 uutf.1.0.4")

/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 conf-libmongoc.dev $DEPS"))
[WARNING] Unknown update command for bsd, skipping system update

<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[conf-libmongoc.dev] synchronised (file:///src)
[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...
- [summer] Fetching data.pkg: .......... done
- Processing entries: 
- ..
- .
- .
- ..
- ..
- .
- . done
- FreeBSD repository update completed. 35884 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.25.4
- 	mongo-c-driver: 1.25.4
- 	utf8proc: 2.9.0
- 
- Number of packages to be installed: 3
- 
- The process will require 217 MiB more space.
- 3 MiB to be downloaded.
- [summer] [1/3] Fetching mongo-c-driver-1.25.4.pkg: ......
- .... done
- [summer] [2/3] Fetching utf8proc-2.9.0.pkg: ..... done
- [summer] [3/3] Fetching libbson-1.25.4.pkg: .......... done
- Checking integrity... done (0 conflicting)
- [summer] [1/3] Installing utf8proc-2.9.0...
- [summer] [1/3] Extracting utf8proc-2.9.0: .......... done
- [summer] [2/3] Installing libbson-1.25.4...
- [summer] [2/3] Extracting libbson-1.25.4: .......... done
- [summer] [3/3] Installing mongo-c-driver-1.25.4...
- [summer] [3/3] Extracting mongo-c-driver-1.25.4: .......... done
2025-03-20 12:10.05 ---> using "6530ce1692f2b97f4c113f2aaf79dbf5d804383780d51871098d468d11505c27" from cache

/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 36 packages
   astring           0.8.5
   base              v0.16.3
   base-bytes        base
   bigarray-compat   1.1.0
   camlp-streams     5.0.1
   cmdliner          1.3.0
   conf-bash         1
   conf-pkg-config   4
   csexp             1.5.2
   ctypes            0.23.0
   dune              3.17.2
   dune-build-info   3.17.2
   dune-configurator 3.17.2
   either            1.0.0
   fix               20230505
   fpath             0.7.3
   integers          0.7.0
   menhir            20240715
   menhirCST         20240715
   menhirLib         20240715
   menhirSdk         20240715
   ocaml-version     3.7.3
   ocamlbuild        0.16.1
   ocamlfind         1.9.8
   ocamlformat       0.27.0
   ocamlformat-lib   0.27.0
   ocp-indent        1.8.1
   re                1.12.0
   seq               base
   sexplib0          v0.16.0
   stdio             v0.16.0
   stdlib-shims      0.3.0
   topkg             1.0.8
   uucp              16.0.0
   uuseg             16.0.0
   uutf              1.0.4

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
 retrieved astring.0.8.5  (cached)
 retrieved bigarray-compat.1.1.0  (cached)
 retrieved camlp-streams.5.0.1  (cached)
 installed conf-bash.1
 installed conf-pkg-config.4
 retrieved csexp.1.5.2  (cached)
 retrieved cmdliner.1.3.0  (cached)
 retrieved ctypes.0.23.0  (cached)
 retrieved base.v0.16.3  (cached)
 retrieved either.1.0.0  (cached)
 retrieved fix.20230505  (cached)
 retrieved fpath.0.7.3  (cached)
 retrieved integers.0.7.0  (cached)
 retrieved ocaml-version.3.7.3  (cached)
 retrieved menhir.20240715, menhirCST.20240715, menhirLib.20240715, menhirSdk.20240715  (cached)
 retrieved ocamlbuild.0.16.1  (cached)
 retrieved ocamlfind.1.9.8  (cached)
 retrieved dune.3.17.2, dune-build-info.3.17.2, dune-configurator.3.17.2  (cached)
 retrieved re.1.12.0  (cached)
 retrieved seq.base  (cached)
 installed seq.base
 retrieved sexplib0.v0.16.0  (cached)
 retrieved ocp-indent.1.8.1  (cached)
 retrieved stdio.v0.16.0  (cached)
 retrieved ocamlformat.0.27.0, ocamlformat-lib.0.27.0  (cached)
 retrieved topkg.1.0.8  (cached)
 retrieved stdlib-shims.0.3.0  (cached)
 retrieved uuseg.16.0.0  (cached)
 retrieved uutf.1.0.4  (cached)
 retrieved uucp.16.0.0  (cached)
 installed cmdliner.1.3.0
 installed ocamlfind.1.9.8
 installed base-bytes.base
 installed ocamlbuild.0.16.1
 installed topkg.1.0.8
 installed uutf.1.0.4
 installed astring.0.8.5
 installed fpath.0.7.3
 installed dune.3.17.2
 installed csexp.1.5.2
 installed stdlib-shims.0.3.0
 installed sexplib0.v0.16.0
 installed ocaml-version.3.7.3
 installed menhirSdk.20240715
 installed menhirLib.20240715
 installed menhirCST.20240715
 installed fix.20230505
 installed either.1.0.0
 installed camlp-streams.5.0.1
 installed bigarray-compat.1.1.0
 installed re.1.12.0
 installed ocp-indent.1.8.1
 installed integers.0.7.0
 installed dune-build-info.3.17.2
 installed dune-configurator.3.17.2
 installed ctypes.0.23.0
 installed uucp.16.0.0
 installed base.v0.16.3
 installed stdio.v0.16.0
 installed uuseg.16.0.0
 installed menhir.20240715
 installed ocamlformat-lib.0.27.0
 installed ocamlformat.0.27.0
Done.

<><> ocp-indent.1.8.1 installed successfully ><><><><><><><><><><><><><><><><><>
=> This package requires additional configuration for use in editors. Install package 'user-setup', or manually:

   * for Emacs, add these lines to ~/.emacs:
     (add-to-list 'load-path "/home/opam/.opam/4.14.2/share/emacs/site-lisp")
     (require 'ocp-indent)

   * for Vim, add this line to ~/.vimrc:
     set rtp^="/home/opam/.opam/4.14.2/share/ocp-indent/vim"
2025-03-20 12:10.05 ---> using "b622c48820717176b35fe61a309a3afd4489d554d3d55718127b2c22cf0261db" from cache

/src: (copy (src .) (dst /src))
2025-03-20 12:10.53 ---> saved as "29acfc4cb2b9c8179864a8bf40eb26a9a1df7c6bb41bf6cea35cc50e53f141c8"

/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default && /home/opam/.opam/4.14.2/bin/ocamlc.opt -w @1..3@5..28@31..39@43@46..47@49..57@61..62@67@69-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -bin-annot -I lib/bson/.bson.objs/byte -I /home/opam/.opam/4.14.2/lib/bigarray-compat -I /home/opam/.opam/4.14.2/lib/ctypes -I /home/opam/.opam/4.14.2/lib/ctypes/stubs -I /home/opam/.opam/4.14.2/lib/integers -I /home/opam/.opam/4.14.2/lib/stdlib-shims -no-alias-deps -opaque -open Bson__ -o lib/bson/.bson.objs/byte/bson.cmi -c -intf lib/bson/bson.mli)
File "lib/bson/bson.mli", line 21, characters 19-22:
21 | val ptr_of_opt : t opt 
                        ^^^
Error: Unbound type constructor opt
jail: /usr/bin/su -l opam -c cd '/src' && env OCAMLCI='true' CI='true' DEPS='astring.0.8.5 base.v0.16.3 base-bigarray.base base-bytes.base base-threads.base base-unix.base bigarray-compat.1.1.0 camlp-streams.5.0.1 cmdliner.1.3.0 conf-bash.1 conf-pkg-config.4 csexp.1.5.2 ctypes.0.23.0 dune.3.17.2 dune-build-info.3.17.2 dune-configurator.3.17.2 either.1.0.0 fix.20230505 fpath.0.7.3 integers.0.7.0 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-version.3.7.3 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocamlformat.0.27.0 ocamlformat-lib.0.27.0 ocp-indent.1.8.1 re.1.12.0 seq.base sexplib0.v0.16.0 stdio.v0.16.0 stdlib-shims.0.3.0 topkg.1.0.8 uucp.16.0.0 uuseg.16.0.0 uutf.1.0.4' OPAMCOLOR='always' CLICOLOR_FORCE='1' '/usr/bin/env' 'bash' '-c' 'opam exec -- dune build @install @check @runtest && rm -rf _build': failed
"jail" "-c" "name=obuilder_822_21600" "mount.devfs" "path=/obuilder/result/52ff16ac5d0f8a7fd345abc82f85093b4330ea14ca458ef825d9a06b6e856862/rootfs" "vnet" "exec.start=/sbin/ifconfig lo0 127.0.0.1/8" "command=/usr/bin/su" "-l" "opam" "-c" "cd '/src' && env OCAMLCI='true' CI='true' DEPS='astring.0.8.5 base.v0.16.3 base-bigarray.base base-bytes.base base-threads.base base-unix.base bigarray-compat.1.1.0 camlp-streams.5.0.1 cmdliner.1.3.0 conf-bash.1 conf-pkg-config.4 csexp.1.5.2 ctypes.0.23.0 dune.3.17.2 dune-build-info.3.17.2 dune-configurator.3.17.2 either.1.0.0 fix.20230505 fpath.0.7.3 integers.0.7.0 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-version.3.7.3 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocamlformat.0.27.0 ocamlformat-lib.0.27.0 ocp-indent.1.8.1 re.1.12.0 seq.base sexplib0.v0.16.0 stdio.v0.16.0 stdlib-shims.0.3.0 topkg.1.0.8 uucp.16.0.0 uuseg.16.0.0 uutf.1.0.4' OPAMCOLOR='always' CLICOLOR_FORCE='1' '/usr/bin/env' 'bash' '-c' 'opam exec -- dune build @install @check @runtest && rm -rf _build'" failed with exit status 1
2025-03-20 12:24.44: Job failed: Failed: Build failed