Organisationsmiragespamtacus2d10c6 (main)freebsd-14.2-4.14_opam-2.3

freebsd-14.2-4.14_opam-2.3

Link Copied
Code Copied

Logs

2025-07-04 15:14.58: New job: test mirage/spamtacus https://github.com/mirage/spamtacus.git#refs/heads/main (2d10c6f114e63621bb26999fefd7881f3e673bad) (freebsd-x86_64:freebsd-14.2-4.14_opam-2.3)
Base: freebsd-14.2-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.2-ocaml-4.14
# freebsd-14.2-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 382e02b4c17b5b59d503254784ac3a5d78916d5a || git fetch origin master) && git reset -q --hard 382e02b4c17b5b59d503254784ac3a5d78916d5a && 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.1 bigarray-overlap.0.2.1 bigstringaf.0.10.0 cmdliner.1.3.0 coin.0.1.4 conf-pkg-config.4 cppo.1.8.0 csexp.1.5.2 domain-name.0.4.1 dune.3.19.1 dune-configurator.3.19.1 emile.1.1 fmt.0.10.0 fpath.0.7.3 ipaddr.5.6.0 ke.0.6 logs.0.8.0 lwt.5.9.1 macaddr.5.6.0 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.13.2 rosetta.0.3.0 rresult.0.7.0 seq.base topkg.1.0.8 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.3 --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-07-04 15:14.58: Using cache hint "mirage/spamtacus-freebsd-14.2-ocaml-4.14-freebsd-14.2-4.14_opam-2.3-1197e9013ff410fcb5dc87b676cac4ea"
2025-07-04 15:14.58: Using OBuilder spec:
((from freebsd-14.2-ocaml-4.14)
(comment freebsd-14.2-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 382e02b4c17b5b59d503254784ac3a5d78916d5a || git fetch origin master) && git reset -q --hard 382e02b4c17b5b59d503254784ac3a5d78916d5a && 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.1 bigarray-overlap.0.2.1 bigstringaf.0.10.0 cmdliner.1.3.0 coin.0.1.4 conf-pkg-config.4 cppo.1.8.0 csexp.1.5.2 domain-name.0.4.1 dune.3.19.1 dune-configurator.3.19.1 emile.1.1 fmt.0.10.0 fpath.0.7.3 ipaddr.5.6.0 ke.0.6 logs.0.8.0 lwt.5.9.1 macaddr.5.6.0 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.13.2 rosetta.0.3.0 rresult.0.7.0 seq.base topkg.1.0.8 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.3 --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-07-04 15:14.58: Waiting for resource in pool OCluster
2025-07-04 21:23.49: Waiting for worker…
2025-07-04 22:40.23: 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.2-ocaml-4.14)
2025-07-04 22:46.32 ---> using "e232d73c9161ea3ff94ff4ae2b5a6983da9a9ca98d5185b2db1dbadeae5228e2" from cache


/: (comment freebsd-14.2-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-07-04 22:46.33 ---> using "5aedfaeff2bc60ce09298f87624d557fac4c416addb6915ab987317e95fa6323" 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-07-04 22:46.34 ---> using "33d10a393b3f49c5577becd825d2bcab91e98bdde15eb554bf0dba345ccb7809" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
FreeBSD 14.2-RELEASE-p1
The OCaml toplevel, version 4.14.2
2.3.0
2025-07-04 22:46.34 ---> using "318cf18a0512582a14a586ceb7ba02273510347df5896f5e5d533054ff3c99cc" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-07-04 22:46.35 ---> using "6fc646c578a950069629f2a24c45eb1d012bef32c9d3cba5f25029d6618e05d7" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 382e02b4c17b5b59d503254784ac3a5d78916d5a || git fetch origin master) && git reset -q --hard 382e02b4c17b5b59d503254784ac3a5d78916d5a && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
0d013e603b..ee56c84f60  master     -> origin/master
382e02b4c1 Merge pull request #28124 from kit-ty-kate/opam-publish-re.1.13.2


<><> 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.5.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-07-04 22:46.35 ---> using "3cd1ffd77ce4cb286159f1bba9808a65699c991e61c4bf1d318920ee0b121faf" from cache


/src: (copy (src spamtacus.opam spamtacus-mirage.opam spamtacus-bayesian.opam)
(dst ./))
2025-07-04 22:46.37 ---> saved as "2a7ec44fc86c9398c3a30f9fa8f26e54c316cea398310d3135d3f8357963f22c"


/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 './'"))
Package spamtacus does not exist, create as a NEW package? [y/n] y
[spamtacus.dev] synchronised (file:///src)
spamtacus is now pinned to file:///src (version dev)
Package spamtacus-mirage does not exist, create as a NEW package? [y/n] y
[spamtacus-mirage.dev] synchronised (file:///src)
spamtacus-mirage is now pinned to file:///src (version dev)
Package spamtacus-bayesian does not exist, create as a NEW package? [y/n] y
[spamtacus-bayesian.dev] synchronised (file:///src)
spamtacus-bayesian is now pinned to file:///src (version dev)
2025-07-04 22:46.42 ---> saved as "2089815568b6d2fd3d9ce6913b78c7fefdff76e6c556c19809372980d7750af8"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-07-04 22:46.45 ---> saved as "c5b62d01beb9958645016667ccb09876efb7b847f5688d37147b12d71025d17c"


/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.1 bigarray-overlap.0.2.1 bigstringaf.0.10.0 cmdliner.1.3.0 coin.0.1.4 conf-pkg-config.4 cppo.1.8.0 csexp.1.5.2 domain-name.0.4.1 dune.3.19.1 dune-configurator.3.19.1 emile.1.1 fmt.0.10.0 fpath.0.7.3 ipaddr.5.6.0 ke.0.6 logs.0.8.0 lwt.5.9.1 macaddr.5.6.0 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.13.2 rosetta.0.3.0 rresult.0.7.0 seq.base topkg.1.0.8 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.3 --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-07-04 22:47.03 ---> saved as "95897532fd52587d0eaf96eb37e695e6d0023d5f1bed26dab9b7e4037bdf406c"


/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 39 packages
 angstrom           0.16.1
 astring            0.8.5
 base-bytes         base
 base64             3.5.1
 bigarray-overlap   0.2.1
 bigstringaf        0.10.0
 cmdliner           1.3.0
 coin               0.1.4
 conf-pkg-config    4
 cppo               1.8.0
 csexp              1.5.2
 domain-name        0.4.1
 dune               3.19.1
 dune-configurator  3.19.1
 emile              1.1
 fmt                0.10.0
 fpath              0.7.3
 ipaddr             5.6.0
 ke                 0.6
 logs               0.8.0
 lwt                5.9.1
 macaddr            5.6.0
 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.13.2
 rosetta            0.3.0
 rresult            0.7.0
 seq                base
 topkg              1.0.8
 unstrctrd          0.4
 uutf               1.0.4
 uuuu               0.3.0
 yuscii             0.3.0


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
 retrieved astring.0.8.5  (cached)
 retrieved base64.3.5.1  (cached)
 retrieved bigarray-overlap.0.2.1  (cached)
 retrieved angstrom.0.16.1  (cached)
 retrieved cmdliner.1.3.0  (cached)
 retrieved cppo.1.8.0  (cached)
 installed conf-pkg-config.4
 retrieved csexp.1.5.2  (cached)
 retrieved coin.0.1.4  (cached)
 retrieved domain-name.0.4.1  (cached)
 retrieved bigstringaf.0.10.0  (cached)
 retrieved emile.1.1  (cached)
 retrieved fmt.0.10.0  (cached)
 retrieved fpath.0.7.3  (cached)
 retrieved ipaddr.5.6.0, macaddr.5.6.0  (cached)
 retrieved ke.0.6  (cached)
 retrieved logs.0.8.0  (cached)
 retrieved lwt.5.9.1  (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.13.2  (cached)
 retrieved rosetta.0.3.0  (cached)
 retrieved seq.base  (cached)
 installed seq.base
 retrieved rresult.0.7.0  (cached)
 retrieved unstrctrd.0.4  (cached)
 retrieved topkg.1.0.8  (cached)
 retrieved uutf.1.0.4  (cached)
 retrieved uuuu.0.3.0  (cached)
 retrieved dune.3.19.1, dune-configurator.3.19.1  (cached)
 retrieved yuscii.0.3.0  (cached)
 installed cmdliner.1.3.0
 installed ocamlbuild.0.16.1
 installed ocamlfind.1.9.8
 installed base-bytes.base
 installed topkg.1.0.8
 installed rresult.0.7.0
 installed uutf.1.0.4
 installed ptime.1.2.0
 installed fmt.0.10.0
 installed astring.0.8.5
 installed fpath.0.7.3
 installed dune.3.19.1
 installed yuscii.0.3.0
 installed csexp.1.5.2
 installed re.1.13.2
 installed pecu.0.7
 installed ocaml-syntax-shims.1.0.0
 installed macaddr.5.6.0
 installed ke.0.6
 installed domain-name.0.4.1
 installed cppo.1.8.0
 installed bigarray-overlap.0.2.1
 installed base64.3.5.1
 installed coin.0.1.4
 installed ocplib-endian.1.2
 installed uuuu.0.3.0
 installed ipaddr.5.6.0
 installed rosetta.0.3.0
 installed dune-configurator.3.19.1
 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.1
 installed logs.0.8.0
Done.
2025-07-04 22:48.17 ---> saved as "2f4b8253ca55fae59a4fa813e4201045fa721a572d587796d4133adb12f4bf78"


/src: (copy (src .) (dst /src))
2025-07-04 22:48.19 ---> saved as "067975624b562b3eb94d0a13362eca3f4cf0591a486b2ea9e42a92e5f3142b01"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
2025-07-04 22:48.56 ---> saved as "3a1dff13c36c46f651ac6cc83a54b64b264f846d812f7636a3c0acc0eab652d8"
Job succeeded
2025-07-04 22:48.57: Job succeeded