2024-06-23 10:47.51: New job: test mirage/spamtacus https://github.com/mirage/spamtacus.git#refs/heads/main (f572e3dce22d3410a544ac0e34f1c5df9c99c0a3) (linux-x86_64:fedora-40-4.14_opam-2.1) Base: ocaml/opam@sha256:14ea0f9884d8128b8aca6ddf26e609adfb683401424f4c2653616ed08804c89d Opam project build To reproduce locally: git clone --recursive "https://github.com/mirage/spamtacus.git" -b "main" && cd "spamtacus" && git reset --hard f572e3dc cat > Dockerfile <<'END-OF-DOCKERFILE' FROM ocaml/opam@sha256:14ea0f9884d8128b8aca6ddf26e609adfb683401424f4c2653616ed08804c89d # fedora-40-4.14_opam-2.1 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.1 /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 a6069b9eebba0e2b70cdbbd834bc800eb6d671fb || git fetch origin master) && git reset -q --hard a6069b9eebba0e2b70cdbbd834bc800eb6d671fb && 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 './' ENV DEPS="angstrom.0.16.0 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.9.1 cmdliner.1.3.0 coin.0.1.4 conf-pkg-config.3 cppo.1.6.9 csexp.1.5.2 domain-name.0.4.0 dune.3.16.0 dune-configurator.3.16.0 emile.1.1 fmt.0.9.0 fpath.0.7.3 host-arch-x86_64.1 host-system-other.1 ipaddr.5.6.0 ke.0.6 logs.0.7.0 lwt.5.7.0 macaddr.5.6.0 mrmime.0.6.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.14.3 ocamlfind.1.9.6 ocplib-endian.1.2 pecu.0.7 prettym.0.0.3 ptime.1.1.0 re.1.11.0 rosetta.0.3.0 seq.base topkg.1.0.7 unstrctrd.0.4 uutf.1.0.3 uuuu.0.3.0 yuscii.0.3.0" ENV CI="true" ENV OCAMLCI="true" RUN opam update --depexts && opam install --cli=2.1 --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 2024-06-23 10:47.51: Using cache hint "mirage/spamtacus-ocaml/opam@sha256:14ea0f9884d8128b8aca6ddf26e609adfb683401424f4c2653616ed08804c89d-fedora-40-4.14_opam-2.1-01a8fe7888704d21b933293bfeaea1a1" 2024-06-23 10:47.51: Using OBuilder spec: ((from ocaml/opam@sha256:14ea0f9884d8128b8aca6ddf26e609adfb683401424f4c2653616ed08804c89d) (comment fedora-40-4.14_opam-2.1) (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.1 /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 a6069b9eebba0e2b70cdbbd834bc800eb6d671fb || git fetch origin master) && git reset -q --hard a6069b9eebba0e2b70cdbbd834bc800eb6d671fb && 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 './'")) (env DEPS "angstrom.0.16.0 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.9.1 cmdliner.1.3.0 coin.0.1.4 conf-pkg-config.3 cppo.1.6.9 csexp.1.5.2 domain-name.0.4.0 dune.3.16.0 dune-configurator.3.16.0 emile.1.1 fmt.0.9.0 fpath.0.7.3 host-arch-x86_64.1 host-system-other.1 ipaddr.5.6.0 ke.0.6 logs.0.7.0 lwt.5.7.0 macaddr.5.6.0 mrmime.0.6.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.14.3 ocamlfind.1.9.6 ocplib-endian.1.2 pecu.0.7 prettym.0.0.3 ptime.1.1.0 re.1.11.0 rosetta.0.3.0 seq.base topkg.1.0.7 unstrctrd.0.4 uutf.1.0.3 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.1 --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")) ) 2024-06-23 10:47.51: Waiting for resource in pool OCluster 2024-06-23 10:52.17: Waiting for worker… 2024-06-23 10:54.46: Got resource from pool OCluster Building on x86-bm-c10.sw.ocaml.org hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch <name> hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m <name> Initialized empty Git repository in /var/cache/obuilder/ocluster/git/spamtacus.git-d8a1c7d91cabad4d45525bf478b263707ec6a5db/.git/ HEAD is now at f572e3d Delete the pin-depends about mrmime (from ocaml/opam@sha256:14ea0f9884d8128b8aca6ddf26e609adfb683401424f4c2653616ed08804c89d) Unable to find image 'ocaml/opam@sha256:14ea0f9884d8128b8aca6ddf26e609adfb683401424f4c2653616ed08804c89d' locally docker.io/ocaml/opam@sha256:14ea0f9884d8128b8aca6ddf26e609adfb683401424f4c2653616ed08804c89d: Pulling from ocaml/opam Digest: sha256:14ea0f9884d8128b8aca6ddf26e609adfb683401424f4c2653616ed08804c89d Status: Downloaded newer image for ocaml/opam@sha256:14ea0f9884d8128b8aca6ddf26e609adfb683401424f4c2653616ed08804c89d 2024-06-23 10:54.48 ---> using "600f72d782729081c67486db22a1a166faef0c850eee225f73d793431e564f54" from cache /: (comment fedora-40-4.14_opam-2.1) /: (user (uid 1000) (gid 1000)) /: (env CLICOLOR_FORCE 1) /: (env OPAMCOLOR always) /: (workdir /src) /src: (run (network host) (shell "sudo dnf install -y findutils")) Fedora 40 - x86_64 - Updates 311 kB/s | 28 kB 00:00 Fedora 40 - x86_64 - Updates 3.9 MB/s | 4.0 MB 00:01 Last metadata expiration check: 0:00:02 ago on Sun Jun 23 10:49:33 2024. Package findutils-1:4.9.0-8.fc40.x86_64 is already installed. Dependencies resolved. Nothing to do. Complete! 2024-06-23 10:54.48 ---> using "e5c35948aff5db2f7273e3a5626d315cc9962b67f5e2d3fb9d7ca654f21fcd96" from cache /src: (run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam")) 2024-06-23 10:54.48 ---> using "52ada40f1b99444f13df239a99cfde75cbde9369be360a75fdf9f5868afbc58f" 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.1, 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] synchronised from file:///home/opam/opam-repository 2024-06-23 10:54.48 ---> using "2c0edb61cd17967bbc68c5abbf37ab752511df7b0dbedfbcb8207ff816890e7e" from cache /src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version")) Linux 5.15.0-112-generic The OCaml toplevel, version 4.14.2 2.1.6 2024-06-23 10:54.48 ---> using "df0c32badae66bb42aa4a72e5bf551a9e5e37d44ddf08991e29b9a9779d6f7aa" from cache /src: (workdir /src) /src: (run (shell "sudo chown opam /src")) 2024-06-23 10:54.48 ---> using "adfe65cf1d449c1c1bc7bd454ce706c3ee746217a33b7a8b7d03c09fd7699251" from cache /src: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "cd ~/opam-repository && (git cat-file -e a6069b9eebba0e2b70cdbbd834bc800eb6d671fb || git fetch origin master) && git reset -q --hard a6069b9eebba0e2b70cdbbd834bc800eb6d671fb && git log --no-decorate -n1 --oneline && opam update -u")) a6069b9eeb [new release] dune (15 packages) (3.16.0) <><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><> [default] synchronised from 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. # Run eval $(opam env) to update the current shell environment 2024-06-23 10:54.48 ---> using "90bcad85e7f821ad1be14875e14dd5a0cd3aedc6c09112cdba485bf6a390a177" from cache /src: (copy (src spamtacus.opam spamtacus-mirage.opam spamtacus-bayesian.opam) (dst ./)) 2024-06-23 10:54.48 ---> saved as "565cf1db26a98a880b46f9b6acb83e287bd834bdf53cc050e5b98fc18869c17b" /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) 2024-06-23 10:54.54 ---> saved as "17c0a77ca6a62643329e331034232ea347f40bc729c7fc56fe41da75590b146b" /src: (env DEPS "angstrom.0.16.0 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.9.1 cmdliner.1.3.0 coin.0.1.4 conf-pkg-config.3 cppo.1.6.9 csexp.1.5.2 domain-name.0.4.0 dune.3.16.0 dune-configurator.3.16.0 emile.1.1 fmt.0.9.0 fpath.0.7.3 host-arch-x86_64.1 host-system-other.1 ipaddr.5.6.0 ke.0.6 logs.0.7.0 lwt.5.7.0 macaddr.5.6.0 mrmime.0.6.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.14.3 ocamlfind.1.9.6 ocplib-endian.1.2 pecu.0.7 prettym.0.0.3 ptime.1.1.0 re.1.11.0 rosetta.0.3.0 seq.base topkg.1.0.7 unstrctrd.0.4 uutf.1.0.3 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.1 --depext-only -y spamtacus.dev spamtacus-mirage.dev spamtacus-bayesian.dev $DEPS")) + /usr/bin/sudo "yum" "makecache" - Fedora 40 - x86_64 309 kB/s | 30 kB 00:00 - Fedora 40 openh264 (From Cisco) - x86_64 14 kB/s | 989 B 00:00 - Fedora 40 - x86_64 - Updates 308 kB/s | 28 kB 00:00 - Metadata cache created. <><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><> [spamtacus.dev] synchronised (no changes) [spamtacus-bayesian.dev] synchronised (no changes) [spamtacus-mirage.dev] synchronised (no changes) [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 host-system-other is already installed (current version is 1). [NOTE] Package host-arch-x86_64 is already installed (current version is 1). [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). 2024-06-23 10:55.24 ---> saved as "6bd068d9b997a78a41fb4b059f12d2e621bab9026f9e70535816ccc2f1812d8b" /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 host-system-other is already installed (current version is 1). [NOTE] Package host-arch-x86_64 is already installed (current version is 1). [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 ocamlbuild 0.14.3 - install dune 3.16.0 - install ocamlfind 1.9.6 - install seq base - install conf-pkg-config 3 - install cmdliner 1.3.0 - install yuscii 0.3.0 - install pecu 0.7 - install ocaml-syntax-shims 1.0.0 - install macaddr 5.6.0 - install domain-name 0.4.0 - install csexp 1.5.2 - install cppo 1.6.9 - install base64 3.5.1 - install topkg 1.0.7 - install base-bytes base - install re 1.11.0 - install bigarray-overlap 0.2.1 - install ipaddr 5.6.0 - install dune-configurator 3.16.0 - install uutf 1.0.3 - install ptime 1.1.0 - install fmt 0.9.0 - install astring 0.8.5 - install ocplib-endian 1.2 - install uuuu 0.3.0 - install coin 0.1.4 - install bigstringaf 0.9.1 - install ke 0.6 - install fpath 0.7.3 - install lwt 5.7.0 - install rosetta 0.3.0 - install angstrom 0.16.0 - install prettym 0.0.3 - install logs 0.7.0 - install unstrctrd 0.4 - install emile 1.1 - install mrmime 0.6.1 ===== 38 to install ===== <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> retrieved base64.3.5.1 (cached) -> retrieved angstrom.0.16.0 (cached) -> retrieved astring.0.8.5 (cached) -> retrieved bigarray-overlap.0.2.1 (cached) -> retrieved bigstringaf.0.9.1 (cached) -> retrieved cmdliner.1.3.0 (cached) -> retrieved coin.0.1.4 (cached) -> retrieved cppo.1.6.9 (cached) -> installed conf-pkg-config.3 -> retrieved csexp.1.5.2 (cached) -> retrieved domain-name.0.4.0 (cached) -> retrieved emile.1.1 (cached) -> retrieved fmt.0.9.0 (cached) -> retrieved fpath.0.7.3 (cached) -> retrieved ipaddr.5.6.0 (cached) -> retrieved ke.0.6 (cached) -> retrieved logs.0.7.0 (cached) -> retrieved lwt.5.7.0 (cached) -> retrieved macaddr.5.6.0 (cached) -> retrieved mrmime.0.6.1 (cached) -> retrieved ocaml-syntax-shims.1.0.0 (cached) -> retrieved ocamlbuild.0.14.3 (cached) -> retrieved ocamlfind.1.9.6 (cached) -> retrieved ocplib-endian.1.2 (cached) -> retrieved pecu.0.7 (cached) -> retrieved prettym.0.0.3 (cached) -> retrieved ptime.1.1.0 (cached) -> retrieved re.1.11.0 (cached) -> retrieved rosetta.0.3.0 (cached) -> retrieved seq.base (cached) -> installed seq.base -> retrieved topkg.1.0.7 (cached) -> retrieved unstrctrd.0.4 (cached) -> retrieved uutf.1.0.3 (cached) -> retrieved uuuu.0.3.0 (cached) -> retrieved yuscii.0.3.0 (cached) -> retrieved dune.3.16.0 (cached) -> retrieved dune-configurator.3.16.0 (cached) -> installed cmdliner.1.3.0 -> installed ocamlfind.1.9.6 -> installed base-bytes.base -> installed ocamlbuild.0.14.3 -> installed topkg.1.0.7 -> installed uutf.1.0.3 -> installed fmt.0.9.0 -> installed ptime.1.1.0 -> installed astring.0.8.5 -> installed fpath.0.7.3 -> installed dune.3.16.0 -> installed yuscii.0.3.0 -> installed bigarray-overlap.0.2.1 -> installed csexp.1.5.2 -> installed base64.3.5.1 -> installed domain-name.0.4.0 -> installed ke.0.6 -> installed macaddr.5.6.0 -> installed pecu.0.7 -> installed ocaml-syntax-shims.1.0.0 -> installed re.1.11.0 -> installed cppo.1.6.9 -> 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.16.0 -> installed bigstringaf.0.9.1 -> installed angstrom.0.16.0 -> installed prettym.0.0.3 -> installed unstrctrd.0.4 -> installed emile.1.1 -> installed mrmime.0.6.1 -> installed lwt.5.7.0 -> installed logs.0.7.0 Done. # Run eval $(opam env) to update the current shell environment 2024-06-23 10:56.47 ---> saved as "4808df5748644ec7ae6d7c03a686fd63704ca66152ef09f50d1ce310804c630c" /src: (copy (src .) (dst /src)) 2024-06-23 10:56.48 ---> saved as "eca24cb8f528a1a3805d7b438018d198326d11c2913810585d216a5906f6dc34" /src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build")) (cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -bin-annot -I tests/.test_features.eobjs/byte -I /home/opam/.opam/4.14/lib/angstrom -I /home/opam/.opam/4.14/lib/astring -I /home/opam/.opam/4.14/lib/base64 -I /home/opam/.opam/4.14/lib/base64/rfc2045 -I /home/opam/.opam/4.14/lib/bigarray-overlap -I /home/opam/.opam/4.14/lib/bigstringaf -I /home/opam/.opam/4.14/lib/coin -I /home/opam/.opam/4.14/lib/domain-name -I /home/opam/.opam/4.14/lib/emile -I /home/opam/.opam/4.14/lib/fmt -I /home/opam/.opam/4.14/lib/fpath -I /home/opam/.opam/4.14/lib/ipaddr -I /home/opam/.opam/4.14/lib/ke -I /home/opam/.opam/4.14/lib/lwt -I /home/opam/.opam/4.14/lib/macaddr -I /home/opam/.opam/4.14/lib/mrmime -I /home/opam/.opam/4.14/lib/pecu -I /home/opam/.opam/4.14/lib/prettym -I /home/opam/.opam/4.14/lib/ptime -I /home/opam/.opam/4.14/lib/rosetta -I /home/opam/.opam/4.14/lib/unstrctrd -I /home/opam/.opam/4.14/lib/unstrctrd/parser -I /home/opam/.opam/4.14/lib/uutf -I /home/opam/.opam/4.14/lib/uuuu -I /home/opam/.opam/4.14/lib/yuscii -I bayesian_filter/.spamtacus_bayesian.objs/byte -I lib/.spamtacus.objs/byte -I mirage/.spamtacus_mirage.objs/byte -no-alias-deps -opaque -o tests/.test_features.eobjs/byte/dune__exe__Test_features.cmo -c -impl tests/test_features.ml) File "tests/test_features.ml", line 25, characters 4-32: 25 | Rresult.R.failwith_error_msg (Unstructured.of_string " 1.0\r\n") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Error: Unbound module Rresult Hint: Did you mean Result? "/usr/bin/env" "bash" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1 2024-06-23 10:57.23: Job failed: Failed: Build failed