2025-10-14 14:30.38: New job: test mirage/spamtacus https://github.com/mirage/spamtacus.git#refs/heads/main (2d10c6f114e63621bb26999fefd7881f3e673bad) (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/mirage/spamtacus.git" -b "main" && cd "spamtacus" && git reset --hard 2d10c6f1
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 60c74a29f5d280ca9330c57b890e2e8c0fbc444c || git fetch origin master) && git reset -q --hard 60c74a29f5d280ca9330c57b890e2e8c0fbc444c && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 spamtacus.opam spamtacus-mirage.opam spamtacus-bayesian.opam ./
RUN opam pin add -yn spamtacus.dev './' && \
opam pin add -yn spamtacus-mirage.dev './' && \
opam pin add -yn spamtacus-bayesian.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="angstrom.0.16.1 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base base64.3.5.2 bigarray-overlap.0.2.1 bigstringaf.0.10.0 cmdliner.2.0.0 coin.0.1.4 conf-pkg-config.4 cppo.1.8.0 csexp.1.5.2 domain-name.0.5.0 dune.3.20.2 dune-configurator.3.20.2 emile.1.1 fmt.0.11.0 fpath.0.7.3 ipaddr.5.6.1 ke.0.6 logs.0.9.0 lwt.5.9.2 macaddr.5.6.1 mrmime.0.7.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 pecu.0.7 prettym.0.0.3 ptime.1.2.0 re.1.14.0 rosetta.0.3.0 rresult.0.7.0 topkg.1.1.0 unstrctrd.0.4 uutf.1.0.4 uuuu.0.3.0 yuscii.0.3.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.4 --depext-only -y spamtacus.dev spamtacus-mirage.dev spamtacus-bayesian.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-14 14:30.38: Using cache hint "mirage/spamtacus-freebsd-14.3-ocaml-4.14-freebsd-14.3-4.14_opam-2.4-a955f9c84ea5a0c849085c394e5e98a5"
2025-10-14 14:30.38: 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 60c74a29f5d280ca9330c57b890e2e8c0fbc444c || git fetch origin master) && git reset -q --hard 60c74a29f5d280ca9330c57b890e2e8c0fbc444c && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src spamtacus.opam spamtacus-mirage.opam spamtacus-bayesian.opam)
(dst ./))
(run (network host)
(shell "opam pin add -yn spamtacus.dev './' && \
\nopam pin add -yn spamtacus-mirage.dev './' && \
\nopam pin add -yn spamtacus-bayesian.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "angstrom.0.16.1 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base base64.3.5.2 bigarray-overlap.0.2.1 bigstringaf.0.10.0 cmdliner.2.0.0 coin.0.1.4 conf-pkg-config.4 cppo.1.8.0 csexp.1.5.2 domain-name.0.5.0 dune.3.20.2 dune-configurator.3.20.2 emile.1.1 fmt.0.11.0 fpath.0.7.3 ipaddr.5.6.1 ke.0.6 logs.0.9.0 lwt.5.9.2 macaddr.5.6.1 mrmime.0.7.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 pecu.0.7 prettym.0.0.3 ptime.1.2.0 re.1.14.0 rosetta.0.3.0 rresult.0.7.0 topkg.1.1.0 unstrctrd.0.4 uutf.1.0.4 uuuu.0.3.0 yuscii.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 spamtacus.dev spamtacus-mirage.dev spamtacus-bayesian.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-14 14:30.38: Waiting for resource in pool OCluster
2025-10-14 14:30.38: Waiting for worker…
2025-10-14 14:55.20: Got resource from pool OCluster
Building on rosemary
All commits already cached
HEAD is now at 2d10c6f Merge pull request #12 from mirage/lint
(from freebsd-14.3-ocaml-4.14)
2025-10-14 14:58.57 ---> 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-14 14:58.58 ---> 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-14 14:58.59 ---> 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-14 14:58.59 ---> using "199d8be57ed603ac6837a6d6cc7e578c2f630e2b79e2520a8892deff98662ca8" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-10-14 14:59.00 ---> 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 60c74a29f5d280ca9330c57b890e2e8c0fbc444c || git fetch origin master) && git reset -q --hard 60c74a29f5d280ca9330c57b890e2e8c0fbc444c && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
98696b94e2..deb3de7fc5 master -> origin/master
60c74a29f5 Merge pull request #28709 from hannesm/release-domain-name-v0.5.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-14 14:59.01 ---> using "62c99e715ba545cb5825c649a44cb5d4396ff5f52e9cfe3078d7f03b7a8616f4" from cache
/src: (copy (src spamtacus.opam spamtacus-mirage.opam spamtacus-bayesian.opam)
(dst ./))
2025-10-14 14:59.05 ---> saved as "8a4cb39c9951ada5e21c0ddbc7db3d4f58c316ef08754304ea4bea664f3eccab"
/src: (run (network host)
(shell "opam pin add -yn spamtacus.dev './' && \
\nopam pin add -yn spamtacus-mirage.dev './' && \
\nopam pin add -yn spamtacus-bayesian.dev './'"))
[NOTE] Package spamtacus does not exist in opam repositories registered in the current switch.
[spamtacus.dev] synchronised (file:///src)
spamtacus is now pinned to file:///src (version dev)
[NOTE] Package spamtacus-mirage does not exist in opam repositories registered in the current switch.
[spamtacus-mirage.dev] synchronised (file:///src)
spamtacus-mirage is now pinned to file:///src (version dev)
[NOTE] Package spamtacus-bayesian does not exist in opam repositories registered in the current switch.
[spamtacus-bayesian.dev] synchronised (file:///src)
spamtacus-bayesian is now pinned to file:///src (version dev)
2025-10-14 14:59.16 ---> saved as "7ad75eb405e15573a81345a8e9e933e14712d2952b7dfb723bf04f24e6fb0f37"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-10-14 14:59.18 ---> saved as "d7de866782b88e3a6116cb179e3ec07f4b8c04232ec91169f96c0b0512afd98f"
/src: (env DEPS "angstrom.0.16.1 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base base64.3.5.2 bigarray-overlap.0.2.1 bigstringaf.0.10.0 cmdliner.2.0.0 coin.0.1.4 conf-pkg-config.4 cppo.1.8.0 csexp.1.5.2 domain-name.0.5.0 dune.3.20.2 dune-configurator.3.20.2 emile.1.1 fmt.0.11.0 fpath.0.7.3 ipaddr.5.6.1 ke.0.6 logs.0.9.0 lwt.5.9.2 macaddr.5.6.1 mrmime.0.7.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 pecu.0.7 prettym.0.0.3 ptime.1.2.0 re.1.14.0 rosetta.0.3.0 rresult.0.7.0 topkg.1.1.0 unstrctrd.0.4 uutf.1.0.4 uuuu.0.3.0 yuscii.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 spamtacus.dev spamtacus-mirage.dev spamtacus-bayesian.dev $DEPS"))
[WARNING] Unknown update command for bsd, skipping system update
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[spamtacus-mirage.dev] synchronised (file:///src)
[spamtacus-bayesian.dev] synchronised (file:///src)
[spamtacus.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).
2025-10-14 14:59.38 ---> saved as "633a9de0c5a04949ff20bc3afc60d585fffd9ecffabcdfb0664d3519288f4557"
/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 38 packages
∗ angstrom 0.16.1
∗ astring 0.8.5
∗ base-bytes base
∗ base64 3.5.2
∗ bigarray-overlap 0.2.1
∗ bigstringaf 0.10.0
∗ cmdliner 2.0.0
∗ coin 0.1.4
∗ conf-pkg-config 4
∗ cppo 1.8.0
∗ csexp 1.5.2
∗ domain-name 0.5.0
∗ dune 3.20.2
∗ dune-configurator 3.20.2
∗ emile 1.1
∗ fmt 0.11.0
∗ fpath 0.7.3
∗ ipaddr 5.6.1
∗ ke 0.6
∗ logs 0.9.0
∗ lwt 5.9.2
∗ macaddr 5.6.1
∗ mrmime 0.7.0
∗ ocaml-syntax-shims 1.0.0
∗ ocamlbuild 0.16.1
∗ ocamlfind 1.9.8
∗ ocplib-endian 1.2
∗ pecu 0.7
∗ prettym 0.0.3
∗ ptime 1.2.0
∗ re 1.14.0
∗ rosetta 0.3.0
∗ rresult 0.7.0
∗ topkg 1.1.0
∗ unstrctrd 0.4
∗ uutf 1.0.4
∗ uuuu 0.3.0
∗ yuscii 0.3.0
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
⬇ retrieved base64.3.5.2 (cached)
⬇ retrieved astring.0.8.5 (cached)
⬇ retrieved angstrom.0.16.1 (cached)
⬇ retrieved bigstringaf.0.10.0 (cached)
⬇ retrieved bigarray-overlap.0.2.1 (cached)
⬇ retrieved cppo.1.8.0 (cached)
⬇ retrieved coin.0.1.4 (cached)
∗ installed conf-pkg-config.4
⬇ retrieved domain-name.0.5.0 (cached)
⬇ retrieved csexp.1.5.2 (cached)
⬇ retrieved cmdliner.2.0.0 (cached)
⬇ retrieved emile.1.1 (cached)
⬇ retrieved fmt.0.11.0 (cached)
⬇ retrieved ipaddr.5.6.1, macaddr.5.6.1 (cached)
⬇ retrieved fpath.0.7.3 (cached)
⬇ retrieved ke.0.6 (cached)
⬇ retrieved logs.0.9.0 (cached)
⬇ retrieved lwt.5.9.2 (cached)
⬇ retrieved mrmime.0.7.0 (cached)
⬇ retrieved ocaml-syntax-shims.1.0.0 (cached)
⬇ retrieved ocamlfind.1.9.8 (cached)
⬇ retrieved ocplib-endian.1.2 (cached)
⬇ retrieved ocamlbuild.0.16.1 (cached)
⬇ retrieved prettym.0.0.3 (cached)
⬇ retrieved pecu.0.7 (cached)
⬇ retrieved ptime.1.2.0 (cached)
⬇ retrieved re.1.14.0 (cached)
⬇ retrieved rosetta.0.3.0 (cached)
⬇ retrieved rresult.0.7.0 (cached)
⬇ retrieved unstrctrd.0.4 (cached)
⬇ retrieved topkg.1.1.0 (cached)
⬇ retrieved uutf.1.0.4 (cached)
⬇ retrieved uuuu.0.3.0 (cached)
⬇ retrieved yuscii.0.3.0 (cached)
⬇ retrieved dune.3.20.2, dune-configurator.3.20.2 (cached)
∗ installed cmdliner.2.0.0
∗ installed ocamlbuild.0.16.1
∗ installed ocamlfind.1.9.8
∗ installed base-bytes.base
∗ installed topkg.1.1.0
∗ installed rresult.0.7.0
∗ installed uutf.1.0.4
∗ installed ptime.1.2.0
∗ installed fmt.0.11.0
∗ installed astring.0.8.5
∗ installed fpath.0.7.3
∗ installed dune.3.20.2
∗ installed yuscii.0.3.0
∗ installed pecu.0.7
∗ installed domain-name.0.5.0
∗ installed csexp.1.5.2
∗ installed ocaml-syntax-shims.1.0.0
∗ installed macaddr.5.6.1
∗ installed ke.0.6
∗ installed cppo.1.8.0
∗ installed bigarray-overlap.0.2.1
∗ installed base64.3.5.2
∗ installed ipaddr.5.6.1
∗ installed ocplib-endian.1.2
∗ installed re.1.14.0
∗ installed coin.0.1.4
∗ installed dune-configurator.3.20.2
∗ installed uuuu.0.3.0
∗ installed rosetta.0.3.0
∗ installed bigstringaf.0.10.0
∗ installed angstrom.0.16.1
∗ installed prettym.0.0.3
∗ installed unstrctrd.0.4
∗ installed emile.1.1
∗ installed mrmime.0.7.0
∗ installed lwt.5.9.2
∗ installed logs.0.9.0
Done.
2025-10-14 15:01.33 ---> saved as "827d7452d126ae1cc9fce7f5e7504f851203ef79c5e293e0d2afdfea34f1d89c"
/src: (copy (src .) (dst /src))
2025-10-14 15:01.34 ---> saved as "8932fe4d10ccce8f4c1233841f5236797ba46f193ebfb3c11c18089a47d6f97a"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
2025-10-14 15:02.36 ---> saved as "42a62186e216797c36010b20057a1ddb8913dc23b8aa2ddc39dda1204d60b3b1"
Job succeeded
2025-10-14 15:04.10: Job succeeded