Organisationsmiragespamtacus2d10c6 (main)debian-12-4.14_opam-2.5

debian-12-4.14_opam-2.5

Link Copied
Code Copied

Logs

2026-02-03 06:43.28: New job: test mirage/spamtacus https://github.com/mirage/spamtacus.git#refs/heads/main (2d10c6f114e63621bb26999fefd7881f3e673bad) (linux-x86_64:debian-12-4.14_opam-2.5)
Base: ocaml/opam:debian-12-ocaml-4.14@sha256:1d85ec9a1aaff691bc5fff241b3f05248aff16b79df09282e567a370b9b967b9
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 ocaml/opam:debian-12-ocaml-4.14@sha256:1d85ec9a1aaff691bc5fff241b3f05248aff16b79df09282e567a370b9b967b9
# debian-12-4.14_opam-2.5
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.5 /usr/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 f34b61248bf2b41a5b1430c0f5fbf47ce08e7fb1 || git fetch origin master) && git reset -q --hard f34b61248bf2b41a5b1430c0f5fbf47ce08e7fb1 && 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 bigstringaf.0.10.0 bstr.0.0.4 cmdliner.2.1.0 coin.0.1.5 cppo.1.8.0 csexp.1.5.2 domain-name.0.5.0 dune.3.21.0 dune-configurator.3.21.0 emile.1.1 fmt.0.11.0 fpath.0.7.3 ipaddr.5.6.1 ke.0.6 logs.0.10.0 lwt.6.1.0 macaddr.5.6.1 mrmime.0.7.1 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.4 ptime.1.2.0 rosetta.0.4.0 rresult.0.7.0 topkg.1.1.1 unstrctrd.0.4 uutf.1.0.4 uuuu.0.4.0 yuscii.0.3.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.5 --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


2026-02-03 06:43.28: Using cache hint "mirage/spamtacus-ocaml/opam:debian-12-ocaml-4.14@sha256:1d85ec9a1aaff691bc5fff241b3f05248aff16b79df09282e567a370b9b967b9-debian-12-4.14_opam-2.5-ee476c47b6b4ddef34c649956d1f0adf"
2026-02-03 06:43.28: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.14@sha256:1d85ec9a1aaff691bc5fff241b3f05248aff16b79df09282e567a370b9b967b9)
(comment debian-12-4.14_opam-2.5)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/bin/opam-2.5 /usr/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 f34b61248bf2b41a5b1430c0f5fbf47ce08e7fb1 || git fetch origin master) && git reset -q --hard f34b61248bf2b41a5b1430c0f5fbf47ce08e7fb1 && 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 bigstringaf.0.10.0 bstr.0.0.4 cmdliner.2.1.0 coin.0.1.5 cppo.1.8.0 csexp.1.5.2 domain-name.0.5.0 dune.3.21.0 dune-configurator.3.21.0 emile.1.1 fmt.0.11.0 fpath.0.7.3 ipaddr.5.6.1 ke.0.6 logs.0.10.0 lwt.6.1.0 macaddr.5.6.1 mrmime.0.7.1 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.4 ptime.1.2.0 rosetta.0.4.0 rresult.0.7.0 topkg.1.1.1 unstrctrd.0.4 uutf.1.0.4 uuuu.0.4.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.5 --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"))
)


2026-02-03 06:43.28: Waiting for resource in pool OCluster
2026-02-03 06:43.28: Waiting for worker…
2026-02-03 06:47.07: Got resource from pool OCluster
Building on clete
All commits already cached
HEAD is now at 2d10c6f Merge pull request #12 from mirage/lint


(from ocaml/opam:debian-12-ocaml-4.14@sha256:1d85ec9a1aaff691bc5fff241b3f05248aff16b79df09282e567a370b9b967b9)
2026-02-03 06:48.27 ---> using "8b6b2ece625b17f48cdda93e75252a1612003997d5403decc2a26d307e8a13ca" from cache


/: (comment debian-12-4.14_opam-2.5)


/: (user (uid 1000) (gid 1000))


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (workdir /src)


/src: (run (shell "sudo ln -f /usr/bin/opam-2.5 /usr/bin/opam"))
2026-02-03 06:48.27 ---> using "e5d9cbb1652005103164728e8505b325295454a27f414827ae394261ec54d110" from cache


/src: (run (shell "opam init --reinit -ni"))
Configuring from /home/opam/.opamrc and then from 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.0 to version 2.2, which can't be reverted.
You may want to back it up before going further.


Continue? [Y/n] y
Format upgrade done.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2026-02-03 06:48.27 ---> using "369db8ff6aa0fd2773b6ba655bf0da42c13a39a1671cd6812a9f1f32634deb9c" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-90-generic
The OCaml toplevel, version 4.14.2
2.5.0
2026-02-03 06:48.27 ---> using "5b5f1a31bc16da19a087e5e631d27ef5a834ce733a0bfaf4d2b05835adcba9e0" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2026-02-03 06:48.27 ---> using "53dd220e1bcc746f4f9db00d84828a5dfaeed162aaea1a0d9bb2397eb9d387c8" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e f34b61248bf2b41a5b1430c0f5fbf47ce08e7fb1 || git fetch origin master) && git reset -q --hard f34b61248bf2b41a5b1430c0f5fbf47ce08e7fb1 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
8e1b9a49e8..f34b61248b  master     -> origin/master
f34b61248b Merge pull request #29295 from raphael-proust/opam-publish-lwt.6.1.0


<><> 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).
However, you may "opam upgrade" these packages explicitly at these versions (e.g. "opam upgrade ocaml.5.4.0"), which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2026-02-03 06:48.27 ---> using "ddfe65b463febd07227ad86117ce82f091e860af6548ba3550bc7b42645ca014" from cache


/src: (copy (src spamtacus.opam spamtacus-mirage.opam spamtacus-bayesian.opam)
(dst ./))
2026-02-03 06:48.28 ---> saved as "120ae113bc0692c6ebf9ac0e2878766dfb17305b5a4642ef964b1226de2190b3"


/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)
2026-02-03 06:48.36 ---> saved as "dc20d36883cf7afca2b1efbacbe01d2cedcc3bcb637869755413ac32ed85c318"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2026-02-03 06:48.37 ---> saved as "5ab00926c268c85665c48eb074dce95322da1fd1aa026d68fc33c94062518fb4"


/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 bigstringaf.0.10.0 bstr.0.0.4 cmdliner.2.1.0 coin.0.1.5 cppo.1.8.0 csexp.1.5.2 domain-name.0.5.0 dune.3.21.0 dune-configurator.3.21.0 emile.1.1 fmt.0.11.0 fpath.0.7.3 ipaddr.5.6.1 ke.0.6 logs.0.10.0 lwt.6.1.0 macaddr.5.6.1 mrmime.0.7.1 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.4 ptime.1.2.0 rosetta.0.4.0 rresult.0.7.0 topkg.1.1.1 unstrctrd.0.4 uutf.1.0.4 uuuu.0.4.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.5 --depext-only -y spamtacus.dev spamtacus-mirage.dev spamtacus-bayesian.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian bookworm InRelease
- Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
- Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
- Get:4 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [293 kB]
- Fetched 396 kB in 6s (68.2 kB/s)
- Reading package lists...
- 


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[spamtacus.dev] synchronised (file:///src)
[spamtacus-bayesian.dev] synchronised (file:///src)
[spamtacus-mirage.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).
# To update the current shell environment, run: eval $(opam env)
2026-02-03 06:49.08 ---> saved as "76801c5aa5d1bf0147713ca550a84a93440bd5548c1c6cf7c8f4f0530e68d737"


/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
- install angstrom           0.16.1
- install astring            0.8.5
- install base-bytes         base
- install base64             3.5.2
- install bigstringaf        0.10.0
- install bstr               0.0.4
- install cmdliner           2.1.0
- install coin               0.1.5
- install cppo               1.8.0
- install csexp              1.5.2
- install domain-name        0.5.0
- install dune               3.21.0
- install dune-configurator  3.21.0
- install emile              1.1
- install fmt                0.11.0
- install fpath              0.7.3
- install ipaddr             5.6.1
- install ke                 0.6
- install logs               0.10.0
- install lwt                6.1.0
- install macaddr            5.6.1
- install mrmime             0.7.1
- install ocaml-syntax-shims 1.0.0
- install ocamlbuild         0.16.1
- install ocamlfind          1.9.8
- install ocplib-endian      1.2
- install pecu               0.7
- install prettym            0.0.4
- install ptime              1.2.0
- install rosetta            0.4.0
- install rresult            0.7.0
- install topkg              1.1.1
- install unstrctrd          0.4
- install uutf               1.0.4
- install uuuu               0.4.0
- install yuscii             0.3.0


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved angstrom.0.16.1  (cached)
-> retrieved astring.0.8.5  (cached)
-> retrieved base64.3.5.2  (cached)
-> retrieved bigstringaf.0.10.0  (cached)
-> retrieved coin.0.1.5  (cached)
-> retrieved cppo.1.8.0  (cached)
-> retrieved bstr.0.0.4  (cached)
-> retrieved cmdliner.2.1.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved domain-name.0.5.0  (cached)
-> retrieved fmt.0.11.0  (cached)
-> retrieved emile.1.1  (cached)
-> retrieved fpath.0.7.3  (cached)
-> retrieved ke.0.6  (cached)
-> retrieved ipaddr.5.6.1, macaddr.5.6.1  (cached)
-> retrieved logs.0.10.0  (cached)
-> retrieved lwt.6.1.0  (cached)
-> retrieved mrmime.0.7.1  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved pecu.0.7  (cached)
-> retrieved prettym.0.0.4  (cached)
-> retrieved ptime.1.2.0  (cached)
-> retrieved rosetta.0.4.0  (cached)
-> retrieved rresult.0.7.0  (cached)
-> retrieved unstrctrd.0.4  (cached)
-> retrieved uutf.1.0.4  (cached)
-> retrieved uuuu.0.4.0  (cached)
-> retrieved topkg.1.1.1  (cached)
-> retrieved yuscii.0.3.0  (cached)
-> retrieved dune.3.21.0, dune-configurator.3.21.0  (cached)
-> installed cmdliner.2.1.0
-> installed ocamlbuild.0.16.1
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed topkg.1.1.1
-> installed rresult.0.7.0
-> installed uutf.1.0.4
-> installed fmt.0.11.0
-> installed ptime.1.2.0
-> installed astring.0.8.5
-> installed fpath.0.7.3
-> installed dune.3.21.0
-> installed csexp.1.5.2
-> installed base64.3.5.2
-> installed bstr.0.0.4
-> installed coin.0.1.5
-> installed cppo.1.8.0
-> installed domain-name.0.5.0
-> installed ke.0.6
-> installed macaddr.5.6.1
-> installed ocaml-syntax-shims.1.0.0
-> installed pecu.0.7
-> installed uuuu.0.4.0
-> installed yuscii.0.3.0
-> installed rosetta.0.4.0
-> installed ocplib-endian.1.2
-> installed prettym.0.0.4
-> installed ipaddr.5.6.1
-> installed dune-configurator.3.21.0
-> installed bigstringaf.0.10.0
-> installed angstrom.0.16.1
-> installed unstrctrd.0.4
-> installed emile.1.1
-> installed mrmime.0.7.1
-> installed lwt.6.1.0
-> installed logs.0.10.0
Done.
# To update the current shell environment, run: eval $(opam env)
2026-02-03 06:51.45 ---> saved as "cf1cfd5537c47208bcf3d72f62e689625cfeacb3be7557305b72256b07d27169"


/src: (copy (src .) (dst /src))
2026-02-03 06:51.46 ---> saved as "a0514ee9e9e243f49688cdf93dfb828d2b72494f04eb5dcdf39d487c117cfd3f"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
2026-02-03 06:52.57 ---> saved as "1c676d8260fc8cac8bad708a1a112532cabbfca1f46b74f6368b63b9faf544c0"
Job succeeded
2026-02-03 06:52.57: Job succeeded