Organisationsmiragespamtacus2d10c6 (main)ubuntu-25.04-4.14_opam-2.5

ubuntu-25.04-4.14_opam-2.5

Logs

Show full 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:ubuntu-25.04-4.14_opam-2.5)
Base: ocaml/opam:ubuntu-25.04-ocaml-4.14@sha256:863dda63d8d9d4b752c550777d3338cee2095ba25ff8114fc5688b1917f69f14
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:ubuntu-25.04-ocaml-4.14@sha256:863dda63d8d9d4b752c550777d3338cee2095ba25ff8114fc5688b1917f69f14
# ubuntu-25.04-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:ubuntu-25.04-ocaml-4.14@sha256:863dda63d8d9d4b752c550777d3338cee2095ba25ff8114fc5688b1917f69f14-ubuntu-25.04-4.14_opam-2.5-ee476c47b6b4ddef34c649956d1f0adf"
2026-02-03 06:43.28: Using OBuilder spec:
((from ocaml/opam:ubuntu-25.04-ocaml-4.14@sha256:863dda63d8d9d4b752c550777d3338cee2095ba25ff8114fc5688b1917f69f14)
 (comment ubuntu-25.04-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:46.27: Got resource from pool OCluster
Building on toxis.caelum.ci.dev
All commits already cached
HEAD is now at 2d10c6f Merge pull request #12 from mirage/lint

(from ocaml/opam:ubuntu-25.04-ocaml-4.14@sha256:863dda63d8d9d4b752c550777d3338cee2095ba25ff8114fc5688b1917f69f14)
2026-02-03 06:48.16 ---> saved as "a087cecdfee3c27a6dfd3b374223c58ceb06bb9197e0c5bfa09038c2912fa098"

/: (comment ubuntu-25.04-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.16 ---> saved as "6628fbaea287be085c1f69116897fa244551695563234cf2a0f2968080bfffcf"

/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
[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
2026-02-03 06:49.02 ---> saved as "43b1664771e209c70664e1c4d4aa5215ea00316c213140908fe7d3a3067627b7"

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-134-generic
The OCaml toplevel, version 4.14.2
2.5.0
2026-02-03 06:49.03 ---> saved as "e35201de726e6dcd60ed7658644b5fcf073701a2f448ca0d0784cb8c684ccdfa"

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2026-02-03 06:49.03 ---> saved as "535b3512bf68b6720e90bebbd91312926b30294524d6e2ff60bb8bd88cd1b86d"

/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..d01aee6c25  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:49.33 ---> saved as "36d2adf070503e023f0ee695088cc1d8816d7baad13c4ce04527599eb8b65cdc"

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

/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:49.44 ---> saved as "f8b181b9d6ce096de51501db4140920010077d7c218add17474e1ad49787363d"

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

/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://archive.ubuntu.com/ubuntu plucky InRelease
- Get:2 http://archive.ubuntu.com/ubuntu plucky-updates InRelease [126 kB]
- Get:3 http://security.ubuntu.com/ubuntu plucky-security InRelease [126 kB]
- Get:4 http://archive.ubuntu.com/ubuntu plucky-backports InRelease [126 kB]
- Get:5 http://archive.ubuntu.com/ubuntu plucky-updates/universe amd64 Packages [325 kB]
- Get:6 http://archive.ubuntu.com/ubuntu plucky-updates/main amd64 Packages [452 kB]
- Get:7 http://archive.ubuntu.com/ubuntu plucky-updates/restricted amd64 Packages [363 kB]
- Get:8 http://security.ubuntu.com/ubuntu plucky-security/universe amd64 Packages [233 kB]
- Get:9 http://security.ubuntu.com/ubuntu plucky-security/restricted amd64 Packages [330 kB]
- Get:10 http://security.ubuntu.com/ubuntu plucky-security/main amd64 Packages [290 kB]
- Fetched 2371 kB in 2s (1523 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:50.14 ---> saved as "6fd83f072f17932ea918ca08feba118ac24eee05863beb25ae1038669b2d3c69"

/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 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.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 yuscii.0.3.0  (cached)
-> retrieved topkg.1.1.1  (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 base64.3.5.2
-> installed csexp.1.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 ocplib-endian.1.2
-> installed rosetta.0.4.0
-> 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:52.54 ---> saved as "77d96edadde8f3b7649d0276cd4f60442b8f9507189f8c21b39dcb1dbeadcc0f"

/src: (copy (src .) (dst /src))
2026-02-03 06:52.55 ---> saved as "12a8e024ea729bda073539d19a89ff91212c217ee11ace2a155f08d93713f2a3"

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