Organisationsmiragespamtacus2d10c6 (main)fedora-41-4.14_opam-2.3

fedora-41-4.14_opam-2.3

Logs

Show full logs
2025-07-04 15:14.58: New job: test mirage/spamtacus https://github.com/mirage/spamtacus.git#refs/heads/main (2d10c6f114e63621bb26999fefd7881f3e673bad) (linux-x86_64:fedora-41-4.14_opam-2.3)
Base: ocaml/opam:fedora-41-ocaml-4.14@sha256:e18d67147cfd23b78ea8a17248216181b59b1047f2b8c3fc75f37938c49e35a4
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-41-ocaml-4.14@sha256:e18d67147cfd23b78ea8a17248216181b59b1047f2b8c3fc75f37938c49e35a4
# fedora-41-4.14_opam-2.3
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.3 /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 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-ocaml/opam:fedora-41-ocaml-4.14@sha256:e18d67147cfd23b78ea8a17248216181b59b1047f2b8c3fc75f37938c49e35a4-fedora-41-4.14_opam-2.3-1197e9013ff410fcb5dc87b676cac4ea"
2025-07-04 15:14.58: Using OBuilder spec:
((from ocaml/opam:fedora-41-ocaml-4.14@sha256:e18d67147cfd23b78ea8a17248216181b59b1047f2b8c3fc75f37938c49e35a4)
 (comment fedora-41-4.14_opam-2.3)
 (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.3 /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 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 18:03.25: Waiting for worker…
2025-07-04 18:06.16: Got resource from pool OCluster
Building on laodoke.caelum.ci.dev
All commits already cached
HEAD is now at 2d10c6f Merge pull request #12 from mirage/lint

(from ocaml/opam:fedora-41-ocaml-4.14@sha256:e18d67147cfd23b78ea8a17248216181b59b1047f2b8c3fc75f37938c49e35a4)
2025-07-04 18:06.17 ---> using "22fe946b035c020ff814c5576cdc75d7652cf945cb2c467c6d9cae1ca0d5d1e4" from cache

/: (comment fedora-41-4.14_opam-2.3)

/: (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 41 openh264 (From Cisco) - x86_ 100% |   7.2 KiB/s | 986.0   B |  00m00s
 Fedora 41 - x86_64                     100% | 204.6 KiB/s |  27.2 KiB |  00m00s
 Fedora 41 - x86_64 - Updates           100% | 177.1 KiB/s |  23.6 KiB |  00m00s
 Fedora 41 openh264 (From Cisco) - x86_ 100% |  16.3 KiB/s |   5.8 KiB |  00m00s
 Fedora 41 - x86_64 - Updates           100% |   3.1 MiB/s |   5.7 MiB |  00m02s
Repositories loaded.
Nothing to do.
Package "findutils-1:4.10.0-4.fc41.x86_64" is already installed.

2025-07-04 18:06.17 ---> using "acba83c8fbb85f5fb83b3d24118174ced84b0f66836231dc84f8d54745061278" from cache

/src: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-07-04 18:06.17 ---> using "ca3db86f436b376241c2269f32c845b6b5ab85471332a51034b18e4dbae999eb" 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 development 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
[NOTE] The 'jobs' option was reset, its value was 255 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=255 --global
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-07-04 18:06.17 ---> using "c8590e32c8015d4f1bad379929a5a7f97d0d852ea223612fbffb57dd53027e6f" from cache

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-142-generic
The OCaml toplevel, version 4.14.2
2.3.0
2025-07-04 18:06.17 ---> using "605268a13adf0255e82b335cf6caa9db604ecc1366c7ff70da6dc14e3e676194" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2025-07-04 18:06.17 ---> using "9c99ba5690e61f79e97947f98468946414eb639242036a49598ef0d5dfab3355" 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
   c7269f729a..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).
However, you may "opam upgrade" these packages explicitly, which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2025-07-04 18:06.17 ---> using "d6d24a23c05202d1f0d5fd200001d28725841bd3a638f21186955bc8b39f7dd7" from cache

/src: (copy (src spamtacus.opam spamtacus-mirage.opam spamtacus-bayesian.opam)
            (dst ./))
2025-07-04 18:06.18 ---> saved as "d883a315152d6eb32de9e4bed7aa6c07241aeacfa0344b4f5f5d061badbf6205"

/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 18:06.22 ---> saved as "eca18669286df7fe3db233fca448fc0e51d3bb22576811bcbe5e1caa185b2626"

/src: (run (network host)
           (shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-07-04 18:06.23 ---> saved as "27eb0e9f00a01d89b1777d5b6b672f245ed79fcc6c9ebebc186592d211d8d9a0"

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

<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[spamtacus.dev] synchronised (file:///src)
[spamtacus-mirage.dev] synchronised (file:///src)
[spamtacus-bayesian.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 18:06.43 ---> saved as "1f9f3907e268aef56bd24c75515dc073055db949d80247eb2d276d6c562ea1ec"

/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
  - install angstrom           0.16.1
  - install astring            0.8.5
  - install base-bytes         base
  - install base64             3.5.1
  - install bigarray-overlap   0.2.1
  - install bigstringaf        0.10.0
  - install cmdliner           1.3.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.4.1
  - install dune               3.19.1
  - install dune-configurator  3.19.1
  - install emile              1.1
  - install fmt                0.10.0
  - install fpath              0.7.3
  - install ipaddr             5.6.0
  - install ke                 0.6
  - install logs               0.8.0
  - install lwt                5.9.1
  - install macaddr            5.6.0
  - 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.13.2
  - install rosetta            0.3.0
  - install rresult            0.7.0
  - install seq                base
  - install topkg              1.0.8
  - install unstrctrd          0.4
  - install uutf               1.0.4
  - install uuuu               0.3.0
  - install yuscii             0.3.0

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved base64.3.5.1  (cached)
-> retrieved angstrom.0.16.1  (cached)
-> retrieved astring.0.8.5  (cached)
-> retrieved bigarray-overlap.0.2.1  (cached)
-> retrieved bigstringaf.0.10.0  (cached)
-> retrieved cmdliner.1.3.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.4.1  (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 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.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 yuscii.0.3.0  (cached)
-> retrieved dune.3.19.1, dune-configurator.3.19.1  (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 fmt.0.10.0
-> installed ptime.1.2.0
-> installed astring.0.8.5
-> installed fpath.0.7.3
-> installed dune.3.19.1
-> installed bigarray-overlap.0.2.1
-> installed domain-name.0.4.1
-> installed csexp.1.5.2
-> installed base64.3.5.1
-> installed ke.0.6
-> installed macaddr.5.6.0
-> installed pecu.0.7
-> installed yuscii.0.3.0
-> installed ocaml-syntax-shims.1.0.0
-> installed re.1.13.2
-> installed cppo.1.8.0
-> installed ipaddr.5.6.0
-> installed ocplib-endian.1.2
-> installed coin.0.1.4
-> installed uuuu.0.3.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.
# To update the current shell environment, run: eval $(opam env)
2025-07-04 18:08.47 ---> saved as "23f6eb6b2e2cdb83bc8b09d57d3788e4dd060c2d8857e817b7c6a88d2a7e7133"

/src: (copy (src .) (dst /src))
2025-07-04 18:08.48 ---> saved as "ec80878c8fe193b52cec47451c47c8cadcd3230a0e573f5ae8e951c7da7bf120"

/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
2025-07-04 18:10.25 ---> saved as "ab6cef0d7d089c63f11f771eedc46795f1dd96191e0fa2d892bfc36ede26f805"
Job succeeded
2025-07-04 18:10.25: Job succeeded