2024-03-27 15:26.43: New job: test mirage/mrmime https://github.com/mirage/mrmime.git#refs/heads/main (14afbf15036b26752995fd23b42650e97dd3f5c4) (linux-x86_64:debian-12-5.2~alpha1_opam-2.1)
Base: ocaml/opam@sha256:9d4e544185a4954ff2ac177bd08cb71d14812bc5ffe3ea2424b641b166cb22ff
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/mirage/mrmime.git" -b "main" && cd "mrmime" && git reset --hard 14afbf15
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam@sha256:9d4e544185a4954ff2ac177bd08cb71d14812bc5ffe3ea2424b641b166cb22ff
# debian-12-5.2~alpha1_opam-2.1
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
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 cbb8cd94c39e250b80c3d011957716a0096cbb3e || git fetch origin master) && git reset -q --hard cbb8cd94c39e250b80c3d011957716a0096cbb3e && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 mrmime.opam ./
RUN opam pin add -yn mrmime.dev './'
ENV DEPS="afl-persistent.1.4 alcotest.1.7.0 angstrom.0.16.0 astring.0.8.5 base-bigarray.base base-bytes.base base-domains.base base-nnp.base base-threads.base base-unix.base base64.3.5.1 bigarray-overlap.0.2.1 bigstringaf.0.9.1 cmdliner.1.2.0 coin.0.1.4 conf-pkg-config.3 cppo.1.6.9 crowbar.0.2.1 csexp.1.5.2 cstruct.6.2.0 domain-name.0.4.0 dune.3.14.2 dune-configurator.3.14.2 duration.0.2.1 emile.1.1 eqaf.0.9 fmt.0.9.0 fpath.0.7.3 hxd.0.3.2 ipaddr.5.5.0 jsonm.1.0.2 ke.0.6 logs.0.7.0 lwt.5.7.0 macaddr.5.5.0 mirage-crypto.0.11.3 mirage-crypto-rng.0.11.3 ocaml.5.2.0 ocaml-base-compiler.5.2.0~alpha1 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.14.3 ocamlfind.1.9.6 ocplib-endian.1.2 pecu.0.6 prettym.0.0.3 ptime.1.1.0 re.1.11.0 rosetta.0.3.0 seq.base stdlib-shims.0.3.0 topkg.1.0.7 unstrctrd.0.3 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 mrmime.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-03-27 15:26.43: Using cache hint "mirage/mrmime-ocaml/opam@sha256:9d4e544185a4954ff2ac177bd08cb71d14812bc5ffe3ea2424b641b166cb22ff-debian-12-5.2~alpha1_opam-2.1-8dbbf96b45fea9dfd51ee949fe9642ee"
2024-03-27 15:26.43: Using OBuilder spec:
((from ocaml/opam@sha256:9d4e544185a4954ff2ac177bd08cb71d14812bc5ffe3ea2424b641b166cb22ff)
(comment debian-12-5.2~alpha1_opam-2.1)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(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 cbb8cd94c39e250b80c3d011957716a0096cbb3e || git fetch origin master) && git reset -q --hard cbb8cd94c39e250b80c3d011957716a0096cbb3e && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src mrmime.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn mrmime.dev './'"))
(env DEPS "afl-persistent.1.4 alcotest.1.7.0 angstrom.0.16.0 astring.0.8.5 base-bigarray.base base-bytes.base base-domains.base base-nnp.base base-threads.base base-unix.base base64.3.5.1 bigarray-overlap.0.2.1 bigstringaf.0.9.1 cmdliner.1.2.0 coin.0.1.4 conf-pkg-config.3 cppo.1.6.9 crowbar.0.2.1 csexp.1.5.2 cstruct.6.2.0 domain-name.0.4.0 dune.3.14.2 dune-configurator.3.14.2 duration.0.2.1 emile.1.1 eqaf.0.9 fmt.0.9.0 fpath.0.7.3 hxd.0.3.2 ipaddr.5.5.0 jsonm.1.0.2 ke.0.6 logs.0.7.0 lwt.5.7.0 macaddr.5.5.0 mirage-crypto.0.11.3 mirage-crypto-rng.0.11.3 ocaml.5.2.0 ocaml-base-compiler.5.2.0~alpha1 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.14.3 ocamlfind.1.9.6 ocplib-endian.1.2 pecu.0.6 prettym.0.0.3 ptime.1.1.0 re.1.11.0 rosetta.0.3.0 seq.base stdlib-shims.0.3.0 topkg.1.0.7 unstrctrd.0.3 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 mrmime.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-03-27 15:26.43: Waiting for resource in pool OCluster
2024-03-27 16:56.12: Waiting for worker…
2024-03-27 16:57.22: Got resource from pool OCluster
Building on x86-bm-c1.sw.ocaml.org
All commits already cached
HEAD is now at 14afbf1 Merge pull request #98 from mirage/prepare-v0.6.0
(from ocaml/opam@sha256:9d4e544185a4954ff2ac177bd08cb71d14812bc5ffe3ea2424b641b166cb22ff)
2024-03-27 16:57.22 ---> using "1abba29aee1b056bc37b31b3176dba46474c07c2f07cadc05c89b7f153af358c" from cache
/: (comment debian-12-5.2~alpha1_opam-2.1)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (workdir /src)
/src: (run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam"))
2024-03-27 16:57.22 ---> using "560ef7e55d3f66835efc6678a9e7527ee22746eb69aa773fca936d481869b5bb" 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 ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ERROR] Could not update repository "beta": "/usr/bin/git fetch -q" exited with code 128 "fatal: unable to access 'https://github.com/ocaml/ocaml-beta-repository/': Could not resolve host: github.com"
[default] synchronised from file:///home/opam/opam-repository
2024-03-27 16:57.22 ---> using "af55921dce00aaf5f716342524330f948380d62a15f4f50aa8c7108bb6e7dcc3" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-97-generic
The OCaml toplevel, version 5.2.0~alpha1
2.1.5
2024-03-27 16:57.22 ---> using "cd9834e838d8f9878d0f7bd4a40c9e5f07bee4ab297cbfe1088548257664d25e" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-03-27 16:57.22 ---> using "5fedb1a74f2bbade0512039f2eb255663ad703be339b16d7184d046ebbfccb5b" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e cbb8cd94c39e250b80c3d011957716a0096cbb3e || git fetch origin master) && git reset -q --hard cbb8cd94c39e250b80c3d011957716a0096cbb3e && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
69e073a577..fe00df86c9 master -> origin/master
cbb8cd94c3 conf-pkg-config: rename nixos pkgconfig -> pkg-config
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[beta] no changes from git+https://github.com/ocaml/ocaml-beta-repository
[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-03-27 16:58.51 ---> saved as "7070bf322ed02f116c52b14f891660ccec332db3a4680ab9caefb620bff7f6d9"
/src: (copy (src mrmime.opam) (dst ./))
2024-03-27 16:58.51 ---> saved as "a183c4f9dd59ef9ef7ba89d3b4710df68aa0205c7905eb7aebe25d1db41e06cb"
/src: (run (network host)
(shell "opam pin add -yn mrmime.dev './'"))
[mrmime.dev] synchronised (file:///src)
mrmime is now pinned to file:///src (version dev)
2024-03-27 16:58.53 ---> saved as "8648df7b320cb462d132103fe9fbd4c73a5f3d73fb0247ad919eaece34151ca7"
/src: (env DEPS "afl-persistent.1.4 alcotest.1.7.0 angstrom.0.16.0 astring.0.8.5 base-bigarray.base base-bytes.base base-domains.base base-nnp.base base-threads.base base-unix.base base64.3.5.1 bigarray-overlap.0.2.1 bigstringaf.0.9.1 cmdliner.1.2.0 coin.0.1.4 conf-pkg-config.3 cppo.1.6.9 crowbar.0.2.1 csexp.1.5.2 cstruct.6.2.0 domain-name.0.4.0 dune.3.14.2 dune-configurator.3.14.2 duration.0.2.1 emile.1.1 eqaf.0.9 fmt.0.9.0 fpath.0.7.3 hxd.0.3.2 ipaddr.5.5.0 jsonm.1.0.2 ke.0.6 logs.0.7.0 lwt.5.7.0 macaddr.5.5.0 mirage-crypto.0.11.3 mirage-crypto-rng.0.11.3 ocaml.5.2.0 ocaml-base-compiler.5.2.0~alpha1 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.14.3 ocamlfind.1.9.6 ocplib-endian.1.2 pecu.0.6 prettym.0.0.3 ptime.1.1.0 re.1.11.0 rosetta.0.3.0 seq.base stdlib-shims.0.3.0 topkg.1.0.7 unstrctrd.0.3 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 mrmime.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian bookworm InRelease
- Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
- Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
- Get:4 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [147 kB]
- Fetched 251 kB in 0s (945 kB/s)
- Reading package lists...
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[mrmime.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 3).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.2.0~alpha1).
[NOTE] Package ocaml is already installed (current version is 5.2.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-domains is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
The following system packages will first need to be installed:
pkg-config
<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "pkg-config"
- debconf: delaying package configuration, since apt-utils is not installed
2024-03-27 16:59.13 ---> saved as "c07748c8a623deb1f63dcf074cf7debe66c297d1d6b910b4bda725f6e36fa010"
/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-base-compiler is already installed (current version is 5.2.0~alpha1).
[NOTE] Package ocaml is already installed (current version is 5.2.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-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 ocamlbuild 0.14.3
- install cmdliner 1.2.0
- install ocamlfind 1.9.6
- install seq base
- install dune 3.14.2
- install conf-pkg-config 3
- install topkg 1.0.7
- install base-bytes base
- install yuscii 0.3.0
- install stdlib-shims 0.3.0
- install re 1.11.0
- install pecu 0.6
- install ocaml-syntax-shims 1.0.0
- install macaddr 5.5.0
- install duration 0.2.1
- install domain-name 0.4.0
- install csexp 1.5.2
- install cppo 1.6.9
- install base64 3.5.1
- install afl-persistent 1.4
- install bigarray-overlap 0.2.1
- install uutf 1.0.3
- install ptime 1.1.0
- install fmt 0.9.0
- install astring 0.8.5
- install uuuu 0.3.0
- install coin 0.1.4
- install ipaddr 5.5.0
- install dune-configurator 3.14.2
- install ocplib-endian 1.2
- install jsonm 1.0.2
- install ke 0.6
- install cstruct 6.2.0
- install fpath 0.7.3
- install alcotest 1.7.0
- install rosetta 0.3.0
- install bigstringaf 0.9.1
- install lwt 5.7.0
- install crowbar 0.2.1
- install eqaf 0.9
- install prettym 0.0.3
- install angstrom 0.16.0
- install logs 0.7.0
- install hxd 0.3.2
- install mirage-crypto 0.11.3
- install unstrctrd 0.3
- install emile 1.1
- install mirage-crypto-rng 0.11.3
===== 48 to install =====
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved afl-persistent.1.4 (cached)
-> retrieved angstrom.0.16.0 (cached)
-> retrieved astring.0.8.5 (cached)
-> retrieved alcotest.1.7.0 (cached)
-> retrieved base64.3.5.1 (cached)
-> retrieved bigarray-overlap.0.2.1 (cached)
-> retrieved bigstringaf.0.9.1 (cached)
-> retrieved cmdliner.1.2.0 (cached)
-> retrieved coin.0.1.4 (cached)
-> retrieved cppo.1.6.9 (cached)
-> installed conf-pkg-config.3
-> retrieved crowbar.0.2.1 (cached)
-> retrieved csexp.1.5.2 (cached)
-> retrieved cstruct.6.2.0 (cached)
-> retrieved domain-name.0.4.0 (cached)
-> retrieved duration.0.2.1 (cached)
-> retrieved emile.1.1 (cached)
-> retrieved eqaf.0.9 (cached)
-> retrieved fmt.0.9.0 (cached)
-> retrieved fpath.0.7.3 (cached)
-> retrieved hxd.0.3.2 (cached)
-> retrieved ipaddr.5.5.0 (cached)
-> retrieved jsonm.1.0.2 (cached)
-> retrieved ke.0.6 (cached)
-> retrieved logs.0.7.0 (cached)
-> retrieved lwt.5.7.0 (cached)
-> retrieved macaddr.5.5.0 (cached)
-> retrieved dune-configurator.3.14.2 (cached)
-> retrieved dune.3.14.2 (cached)
-> retrieved mirage-crypto.0.11.3 (cached)
-> retrieved mirage-crypto-rng.0.11.3 (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.6 (cached)
-> retrieved prettym.0.0.3 (cached)
-> retrieved ptime.1.1.0 (cached)
-> installed seq.base
-> retrieved re.1.11.0 (cached)
-> retrieved rosetta.0.3.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved topkg.1.0.7 (cached)
-> retrieved unstrctrd.0.3 (cached)
-> retrieved uutf.1.0.3 (cached)
-> retrieved uuuu.0.3.0 (cached)
-> retrieved yuscii.0.3.0 (cached)
-> installed cmdliner.1.2.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 jsonm.1.0.2
-> installed fpath.0.7.3
-> installed dune.3.14.2
-> installed yuscii.0.3.0
-> installed duration.0.2.1
-> installed bigarray-overlap.0.2.1
-> installed csexp.1.5.2
-> installed base64.3.5.1
-> installed cstruct.6.2.0
-> installed domain-name.0.4.0
-> installed ke.0.6
-> installed macaddr.5.5.0
-> installed pecu.0.6
-> installed stdlib-shims.0.3.0
-> installed afl-persistent.1.4
-> installed re.1.11.0
-> installed cppo.1.6.9
-> installed ocaml-syntax-shims.1.0.0
-> installed eqaf.0.9
-> installed ipaddr.5.5.0
-> installed ocplib-endian.1.2
-> installed coin.0.1.4
-> installed uuuu.0.3.0
-> installed crowbar.0.2.1
-> installed rosetta.0.3.0
-> installed alcotest.1.7.0
-> installed dune-configurator.3.14.2
-> installed bigstringaf.0.9.1
-> installed angstrom.0.16.0
-> installed prettym.0.0.3
-> installed unstrctrd.0.3
-> installed emile.1.1
-> installed mirage-crypto.0.11.3
-> installed lwt.5.7.0
-> installed hxd.0.3.2
-> installed logs.0.7.0
-> installed mirage-crypto-rng.0.11.3
Done.
<><> afl-persistent.1.4 installed successfully ><><><><><><><><><><><><><><><><>
=> afl-persistent is installed, but since the current OCaml compiler does
not enable AFL instrumentation by default, most packages will not be
instrumented and fuzzing with afl-fuzz may not be effective.
To globally enable AFL instrumentation, create an OCaml switch like:
opam switch create 5.2.0+afl ocaml-variants.5.2.0+options ocaml-option-afl
# Run eval $(opam env) to update the current shell environment
2024-03-27 17:00.31 ---> saved as "b824d16f53fba58616b031d11f08ed37348ca8ae95a976802ec64f0d9aec6837"
/src: (copy (src .) (dst /src))
2024-03-27 17:00.31 ---> saved as "b1f9b8597f6b282d764bc8880a69ee9c576594b4e196730726af7647c2f4651b"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/test && ./test_date.exe --color=always)
Testing `date'.
This run has ID `YGCS99WJ'.
[OK] valid date 0 "Fri, 21 Nov 1997 09:55:06 -0600".
[OK] valid date 1 "Tue, 1 Jul 2003 10:52:37 +0200".
[OK] valid date 2 "Thu, 13 Feb 1969 23:32:54 -0330".
[OK] valid date 3 "Mon, 24 Nov 1997 14:22:01 -0800".
[OK] valid date 4 "Thu,\r\n 13\r\n Feb\r\n 1969\r...
[OK] valid date 5 "21 Nov 97 09:55:06 GMT".
[OK] valid date 6 "Fri, 21 Nov 1997 09(comment): 55 ...
[OK] valid date 7 "Fri, 21 Nov 1990 00:00:00.1234 -0000".
Full test results in `/src/_build/default/test/_build/_tests/date'.
Test Successful in 0.001s. 8 tests run.
(cd _build/default/test && ./test_message_id.exe --color=always)
Testing `msg-id'.
This run has ID `AX0P6BHW'.
[OK] valid msg-id 0 <1234@local.machine.example>.
[OK] valid msg-id 1 <5678.21-Nov-1997@example.com>.
[OK] valid msg-id 2 <testabcd.1234@silly.example>.
[OK] valid msg-id 3 <3456@example.net>.
[OK] valid msg-id 4 <abcd.1234@local.machine.tld>.
[OK] valid msg-id 5 <78910@example.net>.
[OK] valid msg-id 6 <testabcd.1234@silly.t...
[OK] valid msg-id 7 <1234 @ local(blah) .machine ....
[OK] valid msg-id 8 <089e01493ca6f216ca04fafe7e67@googl...
[OK] valid msg-id 9 <CAL4csrQ8JPJ+7MMrzn6wOTC8rPxOTdLoU...
[OK] valid msg-id 10 <mirage/irmin/pull/378/c259513470@g...
[OK] output 0 <FE47A9B@gmail.com>.
Full test results in `/src/_build/default/test/_build/_tests/msg-id'.
Test Successful in 0.001s. 12 tests run.
(cd _build/default/test && ./rfc2045.exe --color=always)
Testing `rfc2045'.
This run has ID `DVQ3PUZ9'.
[OK] content-type 0 text/plain; charset=us-ascii (Plain...
[OK] content-type 1 text/plain; charset="us-ascii".
[OK] content-type 2 text/plain; charset=ISO-8859-1.
Full test results in `/src/_build/default/test/_build/_tests/rfc2045'.
Test Successful in 0.000s. 3 tests run.
(cd _build/default/test && ./test_header.exe --color=always)
Testing `header'.
This run has ID `BUGH9UV5'.
[OK] simple 0 valued header.
[OK] simple 1 replace if exists.
[OK] simple 2 replace if absent.
[OK] content-type 0 default content type.
Full test results in `/src/_build/default/test/_build/_tests/header'.
Test Successful in 0.000s. 4 tests run.
File "test/dune", line 68, characters 0-100:
68 | (rule
69 | (alias runtest)
70 | (deps
71 | (:rfc5322 rfc5322.exe))
72 | (action
73 | (run %{rfc5322} --color=always)))
(cd _build/default/test && ./rfc5322.exe --color=always)
Testing `rfc5322'.
This run has ID `AVTMN8YF'.
[OK] header 0 header 0.
[OK] header 1 header 1.
[OK] header 2 header 2.
[OK] header 3 header 3.
[OK] header 4 header 4.
[OK] header 5 header 5.
[OK] header 6 header 6.
[OK] header 7 header 7.
[OK] header 8 header 8.
[OK] header 9 header 9.
[OK] header 10 header 10.
[OK] header 11 header 11.
[OK] header 12 header 12.
[OK] header 13 header 13.
[OK] header 14 header 14.
[OK] header 15 header 15.
[OK] header 16 header 16.
[FAIL] header 17 header - content-type.
┌──────────────────────────────────────────────────────────────────────────────┐
│ [FAIL] header 17 header - content-type. │
└──────────────────────────────────────────────────────────────────────────────┘
[failure] Invalid header
Raised at Stdlib.failwith in file "stdlib.ml", line 29, characters 17-33
Called from Fmt.failwith in file "src/fmt.ml" (inlined), line 25, characters 19-36
Called from Dune__exe__Rfc5322.parse_content_type in file "test/rfc5322.ml", line 197, characters 11-40
Called from Dune__exe__Rfc5322.content_type_test.(fun) in file "test/rfc5322.ml", line 223, characters 29-57
Called from Alcotest_engine__Core.Make.protect_test.(fun) in file "src/alcotest-engine/core.ml", line 181, characters 17-23
Called from Alcotest_engine__Monad.Identity.catch in file "src/alcotest-engine/monad.ml", line 24, characters 31-35
Logs saved to `/src/_build/default/test/_build/_tests/rfc5322/header.017.output'.
──────────────────────────────────────────────────────────────────────────────
Full test results in `/src/_build/default/test/_build/_tests/rfc5322'.
1 failure! in 0.005s. 18 tests run.
(cd _build/default/test && ./rfc2047.exe --color=always)
Testing `rfc2047'.
This run has ID `RIQVFOFB'.
[OK] encoded-word 0 =?US-ASCII?Q?Keith_Moore?=.
[OK] encoded-word 1 =?ISO-8859-1?Q?Keld_J=F8rn_Simonsen?=.
[OK] encoded-word 2 =?ISO-8859-1?Q?Andr=E9_?=.
[OK] encoded-word 3 =?ISO-8859-1?B?SWYgeW91IGNhbiByZWFk...
[OK] encoded-word 4 =?ISO-8859-2?B?dSB1bmRlcnN0YW5kIHRo...
[OK] encoded-word 5 =?ISO-8859-1?Q?Olle_J=E4rnefors?=.
[OK] encoded-word 6 =?ISO-8859-1?Q?Patrik_F=E4ltstr=F6m?=.
[OK] encoded-word 7 =?iso-8859-8?b?7eXs+SDv4SDp7Oj08A==?=.
Full test results in `/src/_build/default/test/_build/_tests/rfc2047'.
Test Successful in 0.001s. 8 tests run.
File "test/dune", line 96, characters 0-90:
96 | (rule
97 | (alias runtest)
98 | (deps
99 | (:hd test_hd.exe))
100 | (action
101 | (run %{hd} --color=always)))
(cd _build/default/test && ./test_hd.exe --color=always)
Testing `hd'.
This run has ID `6N79G5R0'.
[FAIL] header 0 header-000.
[FAIL] header 1 header-000.
┌──────────────────────────────────────────────────────────────────────────────┐
│ [FAIL] header 0 header-000. │
└──────────────────────────────────────────────────────────────────────────────┘
ASSERT Hd.decode: char '\r'
FAIL Hd.decode: char '\r'
Raised at Alcotest_engine__Test.check_err in file "src/alcotest-engine/test.ml", line 157, characters 20-48
Called from Dune__exe__Test_hd.test_000.(fun) in file "test/test_hd.ml", line 68, characters 15-29
Called from Alcotest_engine__Core.Make.protect_test.(fun) in file "src/alcotest-engine/core.ml", line 181, characters 17-23
Called from Alcotest_engine__Monad.Identity.catch in file "src/alcotest-engine/monad.ml", line 24, characters 31-35
Logs saved to `/src/_build/default/test/_build/_tests/hd/header.000.output'.
──────────────────────────────────────────────────────────────────────────────
┌──────────────────────────────────────────────────────────────────────────────┐
│ [FAIL] header 1 header-000. │
└──────────────────────────────────────────────────────────────────────────────┘
ASSERT Hd.decode: char '\r'
FAIL Hd.decode: char '\r'
Raised at Alcotest_engine__Test.check_err in file "src/alcotest-engine/test.ml", line 157, characters 20-48
Called from Dune__exe__Test_hd.test_001.(fun) in file "test/test_hd.ml", line 92, characters 15-29
Called from Alcotest_engine__Core.Make.protect_test.(fun) in file "src/alcotest-engine/core.ml", line 181, characters 17-23
Called from Alcotest_engine__Monad.Identity.catch in file "src/alcotest-engine/monad.ml", line 24, characters 31-35
Logs saved to `/src/_build/default/test/_build/_tests/hd/header.001.output'.
──────────────────────────────────────────────────────────────────────────────
Full test results in `/src/_build/default/test/_build/_tests/hd'.
2 failures! in 0.000s. 2 tests run.
File "test/dune", line 89, characters 0-96:
89 | (rule
90 | (alias runtest)
91 | (deps
92 | (:mail test_mail.exe))
93 | (action
94 | (run %{mail} --color=always)))
(cd _build/default/test && ./test_mail.exe --color=always)
Testing `mail'.
This run has ID `8NLAUMLJ'.
[OK] example 0 example 0.
[OK] example 1 example 1.
[OK] example 2 large subject.
[FAIL] example 3 quoted-printable contents.
[FAIL] example 4 7-bit contents.
┌──────────────────────────────────────────────────────────────────────────────┐
│ [FAIL] example 3 quoted-printable contents. │
└──────────────────────────────────────────────────────────────────────────────┘
[invalid] Invalid email
Raised at Stdlib.invalid_arg in file "stdlib.ml", line 30, characters 20-45
Called from Alcotest_engine__Core.Make.protect_test.(fun) in file "src/alcotest-engine/core.ml", line 181, characters 17-23
Called from Alcotest_engine__Monad.Identity.catch in file "src/alcotest-engine/monad.ml", line 24, characters 31-35
Logs saved to `/src/_build/default/test/_build/_tests/mail/example.003.output'.
──────────────────────────────────────────────────────────────────────────────
┌──────────────────────────────────────────────────────────────────────────────┐
│ [FAIL] example 4 7-bit contents. │
└──────────────────────────────────────────────────────────────────────────────┘
[invalid] Invalid email
Raised at Stdlib.invalid_arg in file "stdlib.ml", line 30, characters 20-45
Called from Alcotest_engine__Core.Make.protect_test.(fun) in file "src/alcotest-engine/core.ml", line 181, characters 17-23
Called from Alcotest_engine__Monad.Identity.catch in file "src/alcotest-engine/monad.ml", line 24, characters 31-35
Logs saved to `/src/_build/default/test/_build/_tests/mail/example.004.output'.
──────────────────────────────────────────────────────────────────────────────
Full test results in `/src/_build/default/test/_build/_tests/mail'.
2 failures! in 0.007s. 5 tests run.
"/usr/bin/env" "bash" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2024-03-27 17:00.35: Job failed: Failed: Build failed