Organisationsmiragespamtacus2d10c6 (main)fedora-42-5.4_opam-2.4

fedora-42-5.4_opam-2.4

Logs

Show full logs
2025-10-18 16:36.08: New job: test mirage/spamtacus https://github.com/mirage/spamtacus.git#refs/heads/main (2d10c6f114e63621bb26999fefd7881f3e673bad) (linux-x86_64:fedora-42-5.4_opam-2.4)
Base: ocaml/opam:fedora-42-ocaml-5.4@sha256:5d13b29f948738fd07b3ff626fe4931a21664d7bf5d5febc791ef21437b7071f
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:fedora-42-ocaml-5.4@sha256:5d13b29f948738fd07b3ff626fe4931a21664d7bf5d5febc791ef21437b7071f
# fedora-42-5.4_opam-2.4
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo dnf install -y findutils
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:fedora-42-ocaml-5.4@sha256:5d13b29f948738fd07b3ff626fe4931a21664d7bf5d5febc791ef21437b7071f-fedora-42-5.4_opam-2.4-3db11ab2c60abf0a173409ca6498da7b"
2025-10-18 16:36.08: Using OBuilder spec:
((from ocaml/opam:fedora-42-ocaml-5.4@sha256:5d13b29f948738fd07b3ff626fe4931a21664d7bf5d5febc791ef21437b7071f)
 (comment fedora-42-5.4_opam-2.4)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (workdir /src)
 (run (network host)
      (shell "sudo dnf install -y findutils"))
 (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 17:32.09: Waiting for worker…
2025-10-18 17:39.31: Got resource from pool OCluster
Building on eumache
All commits already cached
HEAD is now at 2d10c6f Merge pull request #12 from mirage/lint

(from ocaml/opam:fedora-42-ocaml-5.4@sha256:5d13b29f948738fd07b3ff626fe4931a21664d7bf5d5febc791ef21437b7071f)
Unable to find image 'ocaml/opam:fedora-42-ocaml-5.4@sha256:5d13b29f948738fd07b3ff626fe4931a21664d7bf5d5febc791ef21437b7071f' locally
docker.io/ocaml/opam@sha256:5d13b29f948738fd07b3ff626fe4931a21664d7bf5d5febc791ef21437b7071f: Pulling from ocaml/opam
23d67b40c167: Already exists
69510a91bfc8: Already exists
360b948ef8f7: Already exists
b0b7d6fd83cf: Already exists
39a6e4eba3c0: Already exists
a71731946f34: Already exists
Digest: sha256:5d13b29f948738fd07b3ff626fe4931a21664d7bf5d5febc791ef21437b7071f
Status: Downloaded newer image for ocaml/opam@sha256:5d13b29f948738fd07b3ff626fe4931a21664d7bf5d5febc791ef21437b7071f
2025-10-18 17:39.32 ---> using "aae9cfea062639794bebda74c20f122cbfe2b260a1ae6b51750064798a04d0df" from cache

/: (comment fedora-42-5.4_opam-2.4)

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

/: (env CLICOLOR_FORCE 1)

/: (env OPAMCOLOR always)

/: (workdir /src)

/src: (run (network host)
           (shell "sudo dnf install -y findutils"))
Updating and loading repositories:
 Fedora 42 - x86_64 - Updates           100% |  51.2 KiB/s |  17.1 KiB |  00m00s
Repositories loaded.
Nothing to do.
Package "findutils-1:4.10.0-5.fc42.x86_64" is already installed.

2025-10-18 17:39.32 ---> using "02dd4d9c19ab680581c8d7cbc01b94987ce9649016e07d72dadf4d94a001d7ef" from cache

/src: (run (shell "sudo ln -f /usr/bin/opam-2.4 /usr/bin/opam"))
2025-10-18 17:39.32 ---> using "d446a92d02f58e29a07180b9f0cf0b9dff9d7a858fb4418ff090e91d252c3682" 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-18 17:39.32 ---> using "5adbe08912fbd8109b2c9feb2eafe695e692d6649b33f7f39e3ab9488d96d021" from cache

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-131-generic
The OCaml toplevel, version 5.4.0
2.4.1
2025-10-18 17:39.32 ---> using "a3cd804eb52feb269ae3092f6be9254aa521c472788d6d15698015b7a67d5fd3" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2025-10-18 17:39.32 ---> using "c23a7344128e0b629217f5fffed5949275c120d29d7decaef0428d60db190ca3" 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-18 17:39.32 ---> using "31f9b87414b3b6c8f158169bc7bfcbef17295925c736a3f42629b9e85a0e2fe6" from cache

/src: (copy (src spamtacus.opam spamtacus-mirage.opam spamtacus-bayesian.opam)
            (dst ./))
2025-10-18 17:39.32 ---> saved as "ad1bda8ece24fb2f12b7add7b8afc080a4899c86a999d3da382531417242082f"

/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-18 17:39.36 ---> saved as "a6bac93b0d5558092bd87b9fe036b16364257a0d087c80d177285cd08693ac16"

/src: (run (network host)
           (shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-10-18 17:39.36 ---> saved as "979cfa577127642c02767b073c8ada668f850bb1576e010df24cdc89994cac8f"

/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/sbin/sudo "yum" "makecache"
- Updating and loading repositories:
- Repositories loaded.
- Metadata cache created.

<><> 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).
2025-10-18 17:39.52 ---> saved as "ae09a02c47bbfa503d6949040b2333d99f436837dcc4d1e25c1f4ef1b2d7df0b"

/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 ipaddr.5.6.1, macaddr.5.6.1  (cached)
-> retrieved ke.0.6  (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 rosetta.0.3.0  (cached)
-> retrieved re.1.14.0  (cached)
-> retrieved rresult.0.7.0  (cached)
-> retrieved unstrctrd.0.4  (cached)
-> retrieved uutf.1.0.4  (cached)
-> retrieved topkg.1.1.0  (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 bigarray-overlap.0.2.1
-> installed csexp.1.5.2
-> installed base64.3.5.2
-> 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 yuscii.0.3.0
-> installed re.1.14.0
-> installed cppo.1.8.0
-> installed ipaddr.5.6.1
-> installed ocplib-endian.1.2
-> installed coin.0.1.4
-> installed uuuu.0.3.0
-> installed rosetta.0.3.0
-> installed dune-configurator.3.20.2
-> 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.
# To update the current shell environment, run: eval $(opam env)
2025-10-18 17:41.50 ---> saved as "6ea3a76210ab252ecb7d1303e7f5d8e8210de5bb8cc33b3e5e6a2e4e9d57ce25"

/src: (copy (src .) (dst /src))
2025-10-18 17:41.50 ---> saved as "b0947df3a8781c73ce4ddf027828cff387016e21b8301544478c771e9a1ff689"

/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
2025-10-18 17:41.56 ---> saved as "169e2d37aa6de840f9bd57799daf847e44b353e723f4fa011d718cb5a74a3029"
Job succeeded
2025-10-18 17:41.56: Job succeeded