2024-03-20 10:34.48: New job: test dinosaure/unstrctrd https://github.com/dinosaure/unstrctrd.git#refs/heads/master (fcecf2825bd1b27088abe44d5cd7ab5a8fecdcd2) (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/dinosaure/unstrctrd.git" -b "master" && cd "unstrctrd" && git reset --hard fcecf282
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 c1d400d20b9fda73fd4e9cdc25a502d21b1ea7f1 || git fetch origin master) && git reset -q --hard c1d400d20b9fda73fd4e9cdc25a502d21b1ea7f1 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 unstrctrd.opam ./
RUN opam pin add -yn unstrctrd.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 bigstringaf.0.9.1 cmdliner.1.2.0 cppo.1.6.9 crowbar.0.2.1 csexp.1.5.2 dune.3.14.2 dune-configurator.3.14.2 fmt.0.9.0 hxd.0.3.2 ke.0.6 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 re.1.11.0 rresult.0.7.0 seq.base stdlib-shims.0.3.0 topkg.1.0.7 uutf.1.0.3"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.1 --depext-only -y unstrctrd.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-20 10:34.48: Using cache hint "dinosaure/unstrctrd-ocaml/opam@sha256:9d4e544185a4954ff2ac177bd08cb71d14812bc5ffe3ea2424b641b166cb22ff-debian-12-5.2~alpha1_opam-2.1-f3421fab2648dc68315ced7467c7ef85"
2024-03-20 10:34.48: 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 c1d400d20b9fda73fd4e9cdc25a502d21b1ea7f1 || git fetch origin master) && git reset -q --hard c1d400d20b9fda73fd4e9cdc25a502d21b1ea7f1 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src unstrctrd.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn unstrctrd.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 bigstringaf.0.9.1 cmdliner.1.2.0 cppo.1.6.9 crowbar.0.2.1 csexp.1.5.2 dune.3.14.2 dune-configurator.3.14.2 fmt.0.9.0 hxd.0.3.2 ke.0.6 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 re.1.11.0 rresult.0.7.0 seq.base stdlib-shims.0.3.0 topkg.1.0.7 uutf.1.0.3")
(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 unstrctrd.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-20 10:34.48: Waiting for resource in pool OCluster
2024-03-20 10:34.55: Waiting for worker…
2024-03-20 10:40.51: Got resource from pool OCluster
Building on x86-bm-c5.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/unstrctrd.git-7aea2a66a334c93d7dae75a067c312dd14ef08e5/.git/
HEAD is now at fcecf28 Merge pull request #14 from dinosaure/prepare-v0.3
(from ocaml/opam@sha256:9d4e544185a4954ff2ac177bd08cb71d14812bc5ffe3ea2424b641b166cb22ff)
Unable to find image 'ocaml/opam@sha256:9d4e544185a4954ff2ac177bd08cb71d14812bc5ffe3ea2424b641b166cb22ff' locally
docker.io/ocaml/opam@sha256:9d4e544185a4954ff2ac177bd08cb71d14812bc5ffe3ea2424b641b166cb22ff: Pulling from ocaml/opam
e04af6793b17: Pulling fs layer
e04af6793b17: Verifying Checksum
e04af6793b17: Download complete
e04af6793b17: Pull complete
Digest: sha256:9d4e544185a4954ff2ac177bd08cb71d14812bc5ffe3ea2424b641b166cb22ff
Status: Downloaded newer image for ocaml/opam@sha256:9d4e544185a4954ff2ac177bd08cb71d14812bc5ffe3ea2424b641b166cb22ff
2024-03-20 10:40.52 ---> 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-20 10:40.52 ---> 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-20 10:40.52 ---> using "af55921dce00aaf5f716342524330f948380d62a15f4f50aa8c7108bb6e7dcc3" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-101-generic
The OCaml toplevel, version 5.2.0~alpha1
2.1.5
2024-03-20 10:40.52 ---> using "cd9834e838d8f9878d0f7bd4a40c9e5f07bee4ab297cbfe1088548257664d25e" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-03-20 10:40.52 ---> 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 c1d400d20b9fda73fd4e9cdc25a502d21b1ea7f1 || git fetch origin master) && git reset -q --hard c1d400d20b9fda73fd4e9cdc25a502d21b1ea7f1 && git log --no-decorate -n1 --oneline && opam update -u"))
c1d400d20b [new release] dune (15 packages) (3.14.2)
<><> 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-20 10:40.52 ---> using "833a13125d2d9f6cbe88663cadcd6b810187016ccda16e08814b42ba7f804c48" from cache
/src: (copy (src unstrctrd.opam) (dst ./))
2024-03-20 10:40.52 ---> saved as "e1085fea359116d4027decd59f704888f129a16795696d5047b451cea2a5bd52"
/src: (run (network host)
(shell "opam pin add -yn unstrctrd.dev './'"))
[unstrctrd.dev] synchronised (file:///src)
unstrctrd is now pinned to file:///src (version dev)
2024-03-20 10:40.55 ---> saved as "3ad328dc5a7728a7ed77563ebaf6a2d64bc03b4a1e0bee127e8c5ad3a3363ade"
/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 bigstringaf.0.9.1 cmdliner.1.2.0 cppo.1.6.9 crowbar.0.2.1 csexp.1.5.2 dune.3.14.2 dune-configurator.3.14.2 fmt.0.9.0 hxd.0.3.2 ke.0.6 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 re.1.11.0 rresult.0.7.0 seq.base stdlib-shims.0.3.0 topkg.1.0.7 uutf.1.0.3")
/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 unstrctrd.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 1s (287 kB/s)
- Reading package lists...
-
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[unstrctrd.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).
2024-03-20 10:41.25 ---> saved as "2198d399589f874104f4eaa4719e9e9af6ef77907d7eb84edc8d5b0730807740"
/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 topkg 1.0.7
- install base-bytes base
- install stdlib-shims 0.3.0
- install re 1.11.0
- install ocaml-syntax-shims 1.0.0
- install csexp 1.5.2
- install cppo 1.6.9
- install afl-persistent 1.4
- install uutf 1.0.3
- install rresult 0.7.0
- install fmt 0.9.0
- install astring 0.8.5
- install dune-configurator 3.14.2
- install ocplib-endian 1.2
- install ke 0.6
- install alcotest 1.7.0
- install hxd 0.3.2
- install bigstringaf 0.9.1
- install crowbar 0.2.1
- install angstrom 0.16.0
===== 25 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 bigstringaf.0.9.1 (cached)
-> retrieved cmdliner.1.2.0 (cached)
-> retrieved cppo.1.6.9 (cached)
-> retrieved crowbar.0.2.1 (cached)
-> retrieved csexp.1.5.2 (cached)
-> retrieved fmt.0.9.0 (cached)
-> retrieved hxd.0.3.2 (cached)
-> retrieved ke.0.6 (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 re.1.11.0 (cached)
-> retrieved rresult.0.7.0 (cached)
-> installed seq.base
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved topkg.1.0.7 (cached)
-> retrieved uutf.1.0.3 (cached)
-> retrieved dune.3.14.2 (cached)
-> retrieved dune-configurator.3.14.2 (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 rresult.0.7.0
-> installed uutf.1.0.3
-> installed fmt.0.9.0
-> installed astring.0.8.5
-> installed dune.3.14.2
-> installed csexp.1.5.2
-> installed ke.0.6
-> installed stdlib-shims.0.3.0
-> installed afl-persistent.1.4
-> installed ocaml-syntax-shims.1.0.0
-> installed cppo.1.6.9
-> installed re.1.11.0
-> installed ocplib-endian.1.2
-> installed crowbar.0.2.1
-> installed dune-configurator.3.14.2
-> installed alcotest.1.7.0
-> installed bigstringaf.0.9.1
-> installed angstrom.0.16.0
-> installed hxd.0.3.2
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-20 10:43.12 ---> saved as "dc0eb91d560edad17b20e749415c4491a0722febb7e414117ee0ba7d92df1383"
/src: (copy (src .) (dst /src))
2024-03-20 10:43.13 ---> saved as "b93924a98e93d75b4eb7d37ff7a4cfa29430ad589560191279e04a1c34b97f14"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
File "test/dune", line 11, characters 0-91:
11 | (rule
12 | (alias runtest)
13 | (deps
14 | (:test test.exe))
15 | (action
16 | (run %{test} --color=always)))
(cd _build/default/test && ./test.exe --color=always)
Testing `unstrctrd'.
This run has ID `15BHQANK'.
[OK] valid 0 "Hello".
[OK] valid 1 "Hello\r\n World".
[OK] valid 2 "Hello\r\n \r\n \r\n World".
[OK] valid 3 " \r\n ".
[OK] valid 4 "".
[OK] valid 5 " ".
[OK] valid 6 " \r\n ".
[OK] valid 7 "Hello".
[OK] valid 8 "".
[OK] valid 9 "\r".
[OK] valid 10 "\r\r".
[OK] valid 11 "\r\n \r".
[OK] valid 12 "\n".
[OK] valid 13 "\n\n".
[OK] valid 14 "\n\n\r\n ".
[OK] valid 15 "\n\r\n Hello\r\n World\r\n !".
[OK] comments 0 "Hello".
[OK] comments 1 "Hello World!".
[OK] comments 2 "".
[OK] comments 3 "Hello".
[OK] comments 4 "(Hello)".
[OK] comments 5 "Hello".
[OK] comments 6 "Hello".
[FAIL] complex 0 "To:A Group :Chris Jones <c@public...
[FAIL] complex 1 "To : Mary Smith <mary@example...
[FAIL] complex 2 "Date: Thu, 13 Feb 1969 23:32 -033...
[OK] split_at 0 ("", "").
[OK] split_at 1 ("", "Hello").
[OK] split_at 2 ("Hello", "\r\n World!").
[OK] split_on 0 "\r\n".
[OK] split_on 1 "Hello\r\n".
[OK] split_on 2 "Hello\r\n World!\r\n".
[OK] split_on 3 "Hello World!\r\n".
[OK] invalid 0 "Hello".
[OK] invalid 1 "Hello\r".
[OK] invalid 2 "Hello\n".
[OK] invalid 3 "Hello\r\n ".
[OK] quoted-string 0 "Hello \"World\"!".
[OK] quoted-string 1 "token=\":)\"".
[OK] quoted-string 2 "Hello".
[OK] quoted-string 3 "Hello".
[OK] escaping 0 "\\a\\b\\c".
┌──────────────────────────────────────────────────────────────────────────────┐
│ [FAIL] complex 0 "To:A Group :Chris Jones <c@pub... │
└──────────────────────────────────────────────────────────────────────────────┘
ASSERT expect
FAIL expect
Expected: `Error Non-terminating unstructured form'
Received: `Ok
"To:A Group :Chris Jones <c@public.example>, joe@example.org, John <jdoe@one.test> ; "'
Raised at Alcotest_engine__Test.check in file "src/alcotest-engine/test.ml", lines 200-210, characters 4-19
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/unstrctrd/complex.000.output'.
──────────────────────────────────────────────────────────────────────────────
┌──────────────────────────────────────────────────────────────────────────────┐
│ [FAIL] complex 1 "To : Mary Smith <mary@exam... │
└──────────────────────────────────────────────────────────────────────────────┘
ASSERT expect
FAIL expect
Expected: `Error Non-terminating unstructured form'
Received: `Ok "To : Mary Smith <mary@example.net>"'
Raised at Alcotest_engine__Test.check in file "src/alcotest-engine/test.ml", lines 200-210, characters 4-19
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/unstrctrd/complex.001.output'.
──────────────────────────────────────────────────────────────────────────────
┌──────────────────────────────────────────────────────────────────────────────┐
│ [FAIL] complex 2 "Date: Thu, 13 Feb 1969 23:32 -... │
└──────────────────────────────────────────────────────────────────────────────┘
ASSERT expect
FAIL expect
Expected: `Error Non-terminating unstructured form'
Received: `Ok "Date: Thu, 13 Feb 1969 23:32 -0330 "'
Raised at Alcotest_engine__Test.check in file "src/alcotest-engine/test.ml", lines 200-210, characters 4-19
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/unstrctrd/complex.002.output'.
──────────────────────────────────────────────────────────────────────────────
Full test results in `/src/_build/default/test/_build/_tests/unstrctrd'.
3 failures! in 0.008s. 42 tests run.
(cd _build/default/fuzz && ./fuzz.exe)
never fail: PASS
File "test/dune", line 18, characters 0-100:
18 | (rule
19 | (alias runtest)
20 | (deps
21 | (:test test_angstrom.exe))
22 | (action
23 | (run %{test} --color=always)))
(cd _build/default/test && ./test_angstrom.exe --color=always)
Testing `unstrctrd + angstrom'.
This run has ID `PIWIV8WU'.
[OK] valid 0 ["Hello World!\r\n"].
[OK] valid 1 ["\r\r\n"].
[OK] valid 2 ["\r\r\r\n"].
[OK] valid 3 ["\r\n \r\r\n"].
[OK] valid 4 ["\n\r\n"].
[OK] valid 5 ["\n\n\r\n \r\n"].
[OK] valid 6 ["Hello World!\r\nSubject"].
[OK] valid 7 ["Hello"; " "; "World!\r\n"].
[OK] valid 8 ["Hello"; ""; ""; ""; ""; ""; "\r\n"; "S...
[OK] valid 9 ["Hello"; "\r\n "; ""; "World!"; "\r\n"].
[OK] valid 10 ["Hello"; "\r\n"; " "; "\r\n"; ""; " "; ...
[OK] valid 11 ["Hello"; "\r"; "\n"; "Subject"].
[OK] valid 12 ["Hello"; "\r"; "\n"; "\r"; "\n"].
[FAIL] valid 13 "From: John Doe <jdoe@machine.example>\n...
[FAIL] valid 14 "From: John Doe <jdoe@machine.example>\n...
[OK] valid 15 header.
[OK] invalid 0 ["Hello"].
[OK] invalid 1 ["Hello\r"].
[OK] invalid 2 ["Hello\r\n "].
┌──────────────────────────────────────────────────────────────────────────────┐
│ [FAIL] valid 13 "From: John Doe <jdoe@machine.example... │
└──────────────────────────────────────────────────────────────────────────────┘
>>> Start to recognize value of "From"
ASSERT : Non-terminating unstructured form
FAIL : Non-terminating unstructured form
Raised at Alcotest_engine__Test.check_err in file "src/alcotest-engine/test.ml", line 157, characters 20-48
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/unstrctrd U+002B angstrom/valid.013.output'.
──────────────────────────────────────────────────────────────────────────────
┌──────────────────────────────────────────────────────────────────────────────┐
│ [FAIL] valid 14 "From: John Doe <jdoe@machine.example... │
└──────────────────────────────────────────────────────────────────────────────┘
>>> Start to recognize value of "From"
[invalid] List.iter2
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/unstrctrd U+002B angstrom/valid.014.output'.
──────────────────────────────────────────────────────────────────────────────
Full test results in `/src/_build/default/test/_build/_tests/unstrctrd U+002B angstrom'.
2 failures! in 0.003s. 19 tests run.
"/usr/bin/env" "bash" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2024-03-20 10:43.15: Job failed: Failed: Build failed