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

fedora-42-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-42-4.14_opam-2.3)
Base: ocaml/opam:fedora-42-ocaml-4.14@sha256:f60202529f0e671d35a9c5727247194b4e01010bab004e314476c120258a2115
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-4.14@sha256:f60202529f0e671d35a9c5727247194b4e01010bab004e314476c120258a2115
# fedora-42-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-42-ocaml-4.14@sha256:f60202529f0e671d35a9c5727247194b4e01010bab004e314476c120258a2115-fedora-42-4.14_opam-2.3-1197e9013ff410fcb5dc87b676cac4ea"
2025-07-04 15:14.58: Using OBuilder spec:
((from ocaml/opam:fedora-42-ocaml-4.14@sha256:f60202529f0e671d35a9c5727247194b4e01010bab004e314476c120258a2115)
 (comment fedora-42-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-42-ocaml-4.14@sha256:f60202529f0e671d35a9c5727247194b4e01010bab004e314476c120258a2115)
2025-07-04 18:06.17 ---> using "0c9fa00c7381c2bef022d455c458fb12e0fe005657193a245d99786f4b015275" from cache

/: (comment fedora-42-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 42 openh264 (From Cisco) - x86_ 100% |   9.6 KiB/s | 986.0   B |  00m00s
 Fedora 42 - x86_64 - Updates           100% | 179.8 KiB/s |  24.1 KiB |  00m00s
 Fedora 42 - x86_64                     100% | 189.3 KiB/s |  26.9 KiB |  00m00s
 Fedora 42 openh264 (From Cisco) - x86_ 100% |  17.2 KiB/s |   5.8 KiB |  00m00s
 Fedora 42 - x86_64 - Updates           100% |   5.3 MiB/s |   4.2 MiB |  00m01s
Repositories loaded.
Package "findutils-1:4.10.0-5.fc42.x86_64" is already installed.

Nothing to do.
2025-07-04 18:06.17 ---> using "6cfcfe6cc05508147fbfd6f3d29897e43db84543975742450b9ed2a84ae04e5b" from cache

/src: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-07-04 18:06.17 ---> using "d4250e95a7518a0cde9d59ba9e92bc8197be88ddb03f210ae71d96d77204aba5" 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
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-07-04 18:06.17 ---> using "6d6cfc5d42fd0c8fb13bae0c6396cb55a73dbbfefd70d86b1b3a1caf86b33974" 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 "76a02d07f33025f18248e3bd4b90747c43926802c4a3a0c0a86b542f45b5717f" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2025-07-04 18:06.17 ---> using "e9fcb2d10f2fa0acc84482ce54c961c88e6e4fb63e1f2cd6067abf4be444b783" 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
   bc726805e3..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 "40c57385273cd3c1ca11ceff4ae377ca6c9ae0f40c6c7124f0c85740a0d93214" from cache

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

/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.21 ---> saved as "976597f072e59e421de89353a87c16570bc08a0f9a71feac61195c3ebb8b3c88"

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

/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/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 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.40 ---> saved as "36a8b75771b85d16669d3c1674885bd2d4c9707250674fbb65865b85259bb093"

/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 logs.0.8.0  (cached)
-> retrieved ke.0.6  (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 re.1.13.2  (cached)
-> retrieved ptime.1.2.0  (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 uutf.1.0.4  (cached)
-> retrieved topkg.1.0.8  (cached)
-> retrieved yuscii.0.3.0  (cached)
-> retrieved uuuu.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 astring.0.8.5
-> installed ptime.1.2.0
-> installed fpath.0.7.3
-> installed dune.3.19.1
-> installed macaddr.5.6.0
-> installed bigarray-overlap.0.2.1
-> installed csexp.1.5.2
-> installed base64.3.5.1
-> installed cppo.1.8.0
-> installed domain-name.0.4.1
-> installed ke.0.6
-> installed ocaml-syntax-shims.1.0.0
-> installed pecu.0.7
-> installed re.1.13.2
-> installed yuscii.0.3.0
-> installed ocplib-endian.1.2
-> installed ipaddr.5.6.0
-> 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 "77aefa170eb4f5f231593281e86f3cbc4770af5d3945d1166c9904337a9e5ef2"

/src: (copy (src .) (dst /src))
2025-07-04 18:08.47 ---> saved as "1f86e9e47772213cec11680ec08572ebea85c73c1deed386014a57f81706fec9"

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