2025-10-18 16:36.08: New job: test mirage/spamtacus https://github.com/mirage/spamtacus.git#refs/heads/main (2d10c6f114e63621bb26999fefd7881f3e673bad) (linux-s390x:debian-13-5.4_s390x_opam-2.4)
Base: ocaml/opam:debian-13-ocaml-5.4@sha256:7bf2a5fff6ff768115a3aed6835597616e5d7028297495b2831d6a5321101b56
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-13-ocaml-5.4@sha256:7bf2a5fff6ff768115a3aed6835597616e5d7028297495b2831d6a5321101b56
# debian-13-5.4_s390x_opam-2.4
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.4 /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 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-domains.base base-effects.base base-nnp.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.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-config.3 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-18 16:36.08: Using cache hint "mirage/spamtacus-ocaml/opam:debian-13-ocaml-5.4@sha256:7bf2a5fff6ff768115a3aed6835597616e5d7028297495b2831d6a5321101b56-debian-13-5.4_s390x_opam-2.4-3db11ab2c60abf0a173409ca6498da7b"
2025-10-18 16:36.08: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.4@sha256:7bf2a5fff6ff768115a3aed6835597616e5d7028297495b2831d6a5321101b56)
(comment debian-13-5.4_s390x_opam-2.4)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/bin/opam-2.4 /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 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-domains.base base-effects.base base-nnp.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.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-config.3 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-18 16:36.08: Waiting for resource in pool OCluster
2025-10-18 20:34.35: Waiting for worker…
2025-10-19 00:52.13: Got resource from pool OCluster
Building on s390x-worker-01.marist.ci.dev
All commits already cached
HEAD is now at 2d10c6f Merge pull request #12 from mirage/lint
(from ocaml/opam:debian-13-ocaml-5.4@sha256:7bf2a5fff6ff768115a3aed6835597616e5d7028297495b2831d6a5321101b56)
Unable to find image 'ocaml/opam:debian-13-ocaml-5.4@sha256:7bf2a5fff6ff768115a3aed6835597616e5d7028297495b2831d6a5321101b56' locally
docker.io/ocaml/opam@sha256:7bf2a5fff6ff768115a3aed6835597616e5d7028297495b2831d6a5321101b56: Pulling from ocaml/opam
Digest: sha256:7bf2a5fff6ff768115a3aed6835597616e5d7028297495b2831d6a5321101b56
Status: Downloaded newer image for ocaml/opam@sha256:7bf2a5fff6ff768115a3aed6835597616e5d7028297495b2831d6a5321101b56
2025-10-19 00:52.13 ---> using "a128bfd01bb80d71478e91eb74ae251c04a8a545b2534d48961ea1523fc75e08" from cache
/: (comment debian-13-5.4_s390x_opam-2.4)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (workdir /src)
/src: (run (shell "sudo ln -f /usr/bin/opam-2.4 /usr/bin/opam"))
2025-10-19 00:52.13 ---> using "ad559bad5a33a6da23fc84750ec03380ea5444e2d9295767b1d4e210f765eae5" 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
2025-10-19 00:52.13 ---> using "4a34856ac24d73631c028329e06537056ba0bceff9a06580b42b8b63d4b519c8" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-71-generic
The OCaml toplevel, version 5.4.0
2.4.1
2025-10-19 00:52.13 ---> using "05a9a0a08d2aac90a7a2f886a781f1521238963adfed37aa1bd3d89e7193bf49" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-10-19 00:52.13 ---> using "7dba89642174209eee340c93f50f8848a18627f0c8f31342d3e89f9c6dfdd3c1" 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
1abfcdbf14..5bf570252b 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
Already up-to-date.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2025-10-19 00:52.13 ---> using "b3d187e104afba16148931efa2a7e7357873fd31a0ab20b7ef50dff63712293c" from cache
/src: (copy (src spamtacus.opam spamtacus-mirage.opam spamtacus-bayesian.opam)
(dst ./))
2025-10-19 00:52.24 ---> saved as "f3a15dc55236c338b177ccf57149a02e134532f61bfb4b7f5f6cedf13d6ecc84"
/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-19 00:52.36 ---> saved as "ff0b210fd43786a30e858fb71ba21ca23a8cefd64ad81f8b1fd5a41382ac8380"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-10-19 00:52.38 ---> saved as "849a1ed44be45630b0bedabd853eb8253be609abfc0701ca5ba94d15e4477326"
/src: (env DEPS "angstrom.0.16.1 astring.0.8.5 base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.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.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-config.3 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"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian trixie InRelease
- Get:2 http://deb.debian.org/debian trixie-updates InRelease [47.3 kB]
- Get:3 http://deb.debian.org/debian-security trixie-security InRelease [43.4 kB]
- Get:4 http://deb.debian.org/debian-security trixie-security/main s390x Packages [51.9 kB]
- Fetched 143 kB in 0s (623 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 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:
pkg-config
<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "pkg-config"
- Selecting previously unselected package libpkgconf3:s390x.
- (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 20412 files and directories currently installed.)
- Preparing to unpack .../libpkgconf3_1.8.1-4_s390x.deb ...
- Unpacking libpkgconf3:s390x (1.8.1-4) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../pkgconf-bin_1.8.1-4_s390x.deb ...
- Unpacking pkgconf-bin (1.8.1-4) ...
- Selecting previously unselected package pkgconf:s390x.
- Preparing to unpack .../pkgconf_1.8.1-4_s390x.deb ...
- Unpacking pkgconf:s390x (1.8.1-4) ...
- Selecting previously unselected package pkg-config:s390x.
- Preparing to unpack .../pkg-config_1.8.1-4_s390x.deb ...
- Unpacking pkg-config:s390x (1.8.1-4) ...
- Setting up libpkgconf3:s390x (1.8.1-4) ...
- Setting up pkgconf-bin (1.8.1-4) ...
- Setting up pkgconf:s390x (1.8.1-4) ...
- Setting up pkg-config:s390x (1.8.1-4) ...
- Processing triggers for libc-bin (2.41-12) ...
2025-10-19 00:52.59 ---> saved as "49a56ae95f314b1ee768669a35d70dfa6883813d170b0c6062eca2a3a04ecb2b"
/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 38 packages
- install angstrom 0.16.1
- install astring 0.8.5
- install base-bytes base
- install base64 3.5.2
- install bigarray-overlap 0.2.1
- install bigstringaf 0.10.0
- install cmdliner 2.0.0
- install coin 0.1.4
- install conf-pkg-config 4
- install cppo 1.8.0
- install csexp 1.5.2
- install domain-name 0.5.0
- install dune 3.20.2
- install dune-configurator 3.20.2
- 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.9.0
- install lwt 5.9.2
- install macaddr 5.6.1
- install mrmime 0.7.0
- 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.3
- install ptime 1.2.0
- install re 1.14.0
- install rosetta 0.3.0
- install rresult 0.7.0
- install topkg 1.1.0
- install unstrctrd 0.4
- install uutf 1.0.4
- install uuuu 0.3.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 bigarray-overlap.0.2.1 (cached)
-> retrieved bigstringaf.0.10.0 (cached)
-> retrieved cmdliner.2.0.0 (cached)
-> retrieved coin.0.1.4 (cached)
-> retrieved cppo.1.8.0 (cached)
-> installed conf-pkg-config.4
-> 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.9.0 (cached)
-> retrieved lwt.5.9.2 (cached)
-> retrieved ocaml-syntax-shims.1.0.0 (cached)
-> retrieved mrmime.0.7.0 (cached)
-> retrieved ocamlbuild.0.16.1 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved ocplib-endian.1.2 (cached)
-> retrieved pecu.0.7 (cached)
-> retrieved prettym.0.0.3 (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 topkg.1.1.0 (cached)
-> retrieved dune.3.20.2, dune-configurator.3.20.2 (cached)
-> retrieved unstrctrd.0.4 (cached)
-> retrieved uutf.1.0.4 (cached)
-> retrieved uuuu.0.3.0 (cached)
-> retrieved yuscii.0.3.0 (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 fmt.0.11.0
-> installed astring.0.8.5
-> installed rresult.0.7.0
-> installed ptime.1.2.0
-> installed fpath.0.7.3
-> installed uutf.1.0.4
-> installed dune.3.20.2
-> installed base64.3.5.2
-> installed bigarray-overlap.0.2.1
-> installed csexp.1.5.2
-> installed domain-name.0.5.0
-> installed cppo.1.8.0
-> installed ke.0.6
-> installed macaddr.5.6.1
-> installed ocplib-endian.1.2
-> installed ocaml-syntax-shims.1.0.0
-> installed pecu.0.7
-> installed dune-configurator.3.20.2
-> installed ipaddr.5.6.1
-> installed yuscii.0.3.0
-> installed bigstringaf.0.10.0
-> installed angstrom.0.16.1
-> installed re.1.14.0
-> installed emile.1.1
-> installed prettym.0.0.3
-> installed unstrctrd.0.4
-> installed coin.0.1.4
-> installed uuuu.0.3.0
-> installed rosetta.0.3.0
-> installed lwt.5.9.2
-> installed mrmime.0.7.0
-> installed logs.0.9.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-10-19 00:54.59 ---> saved as "1d73e0b95fa6702975ab8723c0d19d20a2702f78ebbaf4035a912f16cd01b04f"
/src: (copy (src .) (dst /src))
2025-10-19 00:55.07 ---> saved as "71d74b458b96c67afefd411f16e8a1f9e00d2f6208cf7c241c4abd925db6840f"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
2025-10-19 00:55.13 ---> saved as "6fba8863fd4b19b02f1eb20134942f2d897d6b6c2c2b8a7bd21cb7bdc77aa4c1"
Job succeeded
2025-10-19 00:55.14: Job succeeded