2024-07-25 12:59.48: New job: test mirage/ocaml-tar https://github.com/mirage/ocaml-tar.git#refs/pull/146/head (9684d77f88ca80d81d995f653ab7aca904d01fb8) (linux-x86_64:fedora-39-5.2_opam-2.1)
Base: ocaml/opam@sha256:14fc2ff4d409bd6b0b184483d720bc8e2a49ddee36d44cb9e2a691009e8bf09a
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/mirage/ocaml-tar.git" && cd "ocaml-tar" && git fetch origin "refs/pull/146/head" && git reset --hard 9684d77f
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam@sha256:14fc2ff4d409bd6b0b184483d720bc8e2a49ddee36d44cb9e2a691009e8bf09a
# fedora-39-5.2_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 44a281fd66344f50c411e5c5300745612282e651 || git fetch origin master) && git reset -q --hard 44a281fd66344f50c411e5c5300745612282e651 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 tar.opam tar-unix.opam tar-mirage.opam tar-eio.opam ./
RUN opam pin add -yn tar.dev './' && \
opam pin add -yn tar-unix.dev './' && \
opam pin add -yn tar-mirage.dev './' && \
opam pin add -yn tar-eio.dev './'
ENV DEPS="alcotest.1.8.0 alcotest-lwt.1.8.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.10.0 checkseum.0.5.2 cmdliner.1.3.0 conf-linux-libc-dev.0 cppo.1.6.9 csexp.1.5.2 cstruct.6.2.0 cstruct-lwt.6.2.0 decompress.1.5.3 domain-local-await.1.0.1 dune.3.16.0 dune-configurator.3.16.0 eio.0.11 fmt.0.9.0 hmap.0.8.1 host-arch-x86_64.1 host-system-other.1 logs.0.7.0 lwt.5.7.0 lwt-dllist.1.0.1 mirage-block.3.0.2 mirage-block-unix.2.14.2 mirage-clock.4.2.0 mirage-clock-unix.4.2.0 mirage-kv.6.1.1 mtime.2.0.0 ocaml.5.2.0 ocaml-base-compiler.5.2.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.15.0 ocamlfind.1.9.6 ocplib-endian.1.2 optint.0.3.0 psq.0.2.1 ptime.1.1.0 re.1.11.0 rresult.0.7.0 seq.base stdlib-shims.0.3.0 stringext.1.6.0 thread-table.1.0.0 topkg.1.0.7 uri.4.4.0 uutf.1.0.3"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.1 --depext-only -y tar.dev tar-unix.dev tar-mirage.dev tar-eio.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-07-25 12:59.48: Using cache hint "mirage/ocaml-tar-ocaml/opam@sha256:14fc2ff4d409bd6b0b184483d720bc8e2a49ddee36d44cb9e2a691009e8bf09a-fedora-39-5.2_opam-2.1-6692583787aae5ddc44024676016942c"
2024-07-25 12:59.48: Using OBuilder spec:
((from ocaml/opam@sha256:14fc2ff4d409bd6b0b184483d720bc8e2a49ddee36d44cb9e2a691009e8bf09a)
(comment fedora-39-5.2_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 44a281fd66344f50c411e5c5300745612282e651 || git fetch origin master) && git reset -q --hard 44a281fd66344f50c411e5c5300745612282e651 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src tar.opam tar-unix.opam tar-mirage.opam tar-eio.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn tar.dev './' && \
\nopam pin add -yn tar-unix.dev './' && \
\nopam pin add -yn tar-mirage.dev './' && \
\nopam pin add -yn tar-eio.dev './'"))
(env DEPS "alcotest.1.8.0 alcotest-lwt.1.8.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.10.0 checkseum.0.5.2 cmdliner.1.3.0 conf-linux-libc-dev.0 cppo.1.6.9 csexp.1.5.2 cstruct.6.2.0 cstruct-lwt.6.2.0 decompress.1.5.3 domain-local-await.1.0.1 dune.3.16.0 dune-configurator.3.16.0 eio.0.11 fmt.0.9.0 hmap.0.8.1 host-arch-x86_64.1 host-system-other.1 logs.0.7.0 lwt.5.7.0 lwt-dllist.1.0.1 mirage-block.3.0.2 mirage-block-unix.2.14.2 mirage-clock.4.2.0 mirage-clock-unix.4.2.0 mirage-kv.6.1.1 mtime.2.0.0 ocaml.5.2.0 ocaml-base-compiler.5.2.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.15.0 ocamlfind.1.9.6 ocplib-endian.1.2 optint.0.3.0 psq.0.2.1 ptime.1.1.0 re.1.11.0 rresult.0.7.0 seq.base stdlib-shims.0.3.0 stringext.1.6.0 thread-table.1.0.0 topkg.1.0.7 uri.4.4.0 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 tar.dev tar-unix.dev tar-mirage.dev tar-eio.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-07-25 12:59.48: Waiting for resource in pool OCluster
2024-07-25 16:04.38: Waiting for worker…
2024-07-25 16:06.46: Got resource from pool OCluster
Building on x86-bm-c13.sw.ocaml.org
All commits already cached
HEAD is now at 9684d77 Fix Tar.out
(from ocaml/opam@sha256:14fc2ff4d409bd6b0b184483d720bc8e2a49ddee36d44cb9e2a691009e8bf09a)
2024-07-25 16:06.46 ---> using "0e4fbb190018a4db776990f6fb95f386768cf618d87ff63b2d2e749d1aec6c8d" from cache
/: (comment fedora-39-5.2_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 39 - x86_64 273 kB/s | 29 kB 00:00
Fedora 39 - x86_64 - Updates 250 kB/s | 24 kB 00:00
Fedora 39 - x86_64 - Updates 1.3 MB/s | 6.6 MB 00:05
Package findutils-1:4.9.0-5.fc39.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
2024-07-25 16:06.46 ---> using "fdea8e05e194779ca7c9078c08fbccb406abdc147fa43fcfba41a236281e1433" from cache
/src: (run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam"))
2024-07-25 16:06.46 ---> using "c11e16566952123140d9e37d0d7a4d37e4c0ccb3a0d8af1c1d3e2a2c3fa51941" 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.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-07-25 16:06.46 ---> using "ad52eccd47723e2b1cb551ca09125caa67fcfff251bc47c6cbf9ae172965eb25" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-116-generic
The OCaml toplevel, version 5.2.0
2.1.6
2024-07-25 16:06.46 ---> using "391ecca1b7d742e92266599faa1f751b065f96567a094136a2f72ad850781a37" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-07-25 16:06.46 ---> using "ec144c5edc312809166c2452e7bc4a1ab44f9aef63f92459791a53649274fa47" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 44a281fd66344f50c411e5c5300745612282e651 || git fetch origin master) && git reset -q --hard 44a281fd66344f50c411e5c5300745612282e651 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
39a5da86fc..d7e8a9dd3d master -> origin/master
44a281fd66 [new release] alcotest (5 packages) (1.8.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-07-25 16:06.46 ---> using "b4e54a0ee48f4143dfc1ea5ffebb46d6fcd57606a5f9428f54533922a50aa920" from cache
/src: (copy (src tar.opam tar-unix.opam tar-mirage.opam tar-eio.opam)
(dst ./))
2024-07-25 16:06.46 ---> saved as "50c19d20dc93317164a18037b823ec57fdae8e9767a0d6b309c7b3fe4ce38b25"
/src: (run (network host)
(shell "opam pin add -yn tar.dev './' && \
\nopam pin add -yn tar-unix.dev './' && \
\nopam pin add -yn tar-mirage.dev './' && \
\nopam pin add -yn tar-eio.dev './'"))
[tar.dev] synchronised (file:///src)
tar is now pinned to file:///src (version dev)
[tar-unix.dev] synchronised (file:///src)
tar-unix is now pinned to file:///src (version dev)
[tar-mirage.dev] synchronised (file:///src)
tar-mirage is now pinned to file:///src (version dev)
[tar-eio.dev] synchronised (file:///src)
tar-eio is now pinned to file:///src (version dev)
2024-07-25 16:06.51 ---> saved as "2c8ea4449b200b31813cfcef4144b35aa90eec194fe303aac0adc800b8abfc93"
/src: (env DEPS "alcotest.1.8.0 alcotest-lwt.1.8.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.10.0 checkseum.0.5.2 cmdliner.1.3.0 conf-linux-libc-dev.0 cppo.1.6.9 csexp.1.5.2 cstruct.6.2.0 cstruct-lwt.6.2.0 decompress.1.5.3 domain-local-await.1.0.1 dune.3.16.0 dune-configurator.3.16.0 eio.0.11 fmt.0.9.0 hmap.0.8.1 host-arch-x86_64.1 host-system-other.1 logs.0.7.0 lwt.5.7.0 lwt-dllist.1.0.1 mirage-block.3.0.2 mirage-block-unix.2.14.2 mirage-clock.4.2.0 mirage-clock-unix.4.2.0 mirage-kv.6.1.1 mtime.2.0.0 ocaml.5.2.0 ocaml-base-compiler.5.2.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.15.0 ocamlfind.1.9.6 ocplib-endian.1.2 optint.0.3.0 psq.0.2.1 ptime.1.1.0 re.1.11.0 rresult.0.7.0 seq.base stdlib-shims.0.3.0 stringext.1.6.0 thread-table.1.0.0 topkg.1.0.7 uri.4.4.0 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 tar.dev tar-unix.dev tar-mirage.dev tar-eio.dev $DEPS"))
+ /usr/bin/sudo "yum" "makecache"
- Fedora 39 - x86_64 310 kB/s | 29 kB 00:00
- Fedora 39 openh264 (From Cisco) - x86_64 14 kB/s | 989 B 00:00
- Fedora 39 - x86_64 - Updates 238 kB/s | 25 kB 00:00
- Metadata cache created.
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[tar.dev] synchronised (no changes)
[tar-eio.dev] synchronised (no changes)
[tar-mirage.dev] synchronised (no changes)
[tar-unix.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).
[NOTE] Package ocaml is already installed (current version is 5.2.0).
[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-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-07-25 16:07.13 ---> saved as "2a163d3e39149d77d8caafcd10f5eca0f866daf325bf82e2657cdfd874189a6d"
/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).
[NOTE] Package ocaml is already installed (current version is 5.2.0).
[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-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.15.0
- install ocamlfind 1.9.6
- install seq base
- install conf-linux-libc-dev 0
- install dune 3.16.0
- install cmdliner 1.3.0
- install topkg 1.0.7
- install base-bytes base
- install thread-table 1.0.0
- install stringext 1.6.0
- install stdlib-shims 0.3.0
- install re 1.11.0
- install psq 0.2.1
- install optint 0.3.0
- install ocaml-syntax-shims 1.0.0
- install mirage-clock 4.2.0
- install lwt-dllist 1.0.1
- install csexp 1.5.2
- install cppo 1.6.9
- install uutf 1.0.3
- install rresult 0.7.0
- install ptime 1.1.0
- install mtime 2.0.0
- install hmap 0.8.1
- install fmt 0.9.0
- install astring 0.8.5
- install domain-local-await 1.0.1
- install dune-configurator 3.16.0
- install ocplib-endian 1.2
- install cstruct 6.2.0
- install alcotest 1.8.0
- install mirage-clock-unix 4.2.0
- install checkseum 0.5.2
- install bigstringaf 0.10.0
- install lwt 5.7.0
- install decompress 1.5.3
- install eio 0.11
- install angstrom 0.16.0
- install mirage-kv 6.1.1
- install mirage-block 3.0.2
- install logs 0.7.0
- install cstruct-lwt 6.2.0
- install uri 4.4.0
- install alcotest-lwt 1.8.0
- install mirage-block-unix 2.14.2
===== 45 to install =====
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved alcotest.1.8.0 (cached)
-> retrieved angstrom.0.16.0 (cached)
-> retrieved alcotest-lwt.1.8.0 (cached)
-> retrieved astring.0.8.5 (cached)
-> retrieved bigstringaf.0.10.0 (cached)
-> retrieved checkseum.0.5.2 (cached)
-> retrieved cmdliner.1.3.0 (cached)
-> retrieved cppo.1.6.9 (cached)
-> retrieved csexp.1.5.2 (cached)
-> retrieved cstruct.6.2.0 (cached)
-> retrieved cstruct-lwt.6.2.0 (cached)
-> installed conf-linux-libc-dev.0
-> retrieved decompress.1.5.3 (cached)
-> retrieved domain-local-await.1.0.1 (cached)
-> retrieved eio.0.11 (cached)
-> retrieved fmt.0.9.0 (cached)
-> retrieved hmap.0.8.1 (cached)
-> retrieved logs.0.7.0 (cached)
-> retrieved lwt.5.7.0 (cached)
-> retrieved lwt-dllist.1.0.1 (cached)
-> retrieved mirage-block.3.0.2 (cached)
-> retrieved mirage-block-unix.2.14.2 (cached)
-> retrieved mirage-clock.4.2.0 (cached)
-> retrieved mirage-clock-unix.4.2.0 (cached)
-> retrieved mirage-kv.6.1.1 (cached)
-> retrieved mtime.2.0.0 (cached)
-> retrieved ocaml-syntax-shims.1.0.0 (cached)
-> retrieved ocamlbuild.0.15.0 (cached)
-> retrieved ocamlfind.1.9.6 (cached)
-> retrieved dune.3.16.0 (cached)
-> retrieved dune-configurator.3.16.0 (cached)
-> retrieved ocplib-endian.1.2 (cached)
-> retrieved optint.0.3.0 (cached)
-> retrieved psq.0.2.1 (cached)
-> retrieved ptime.1.1.0 (cached)
-> retrieved seq.base (cached)
-> installed seq.base
-> retrieved re.1.11.0 (cached)
-> retrieved rresult.0.7.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved stringext.1.6.0 (cached)
-> retrieved thread-table.1.0.0 (cached)
-> retrieved topkg.1.0.7 (cached)
-> retrieved uutf.1.0.3 (cached)
-> retrieved uri.4.4.0 (cached)
-> installed cmdliner.1.3.0
-> installed ocamlfind.1.9.6
-> installed base-bytes.base
-> installed ocamlbuild.0.15.0
-> installed topkg.1.0.7
-> installed hmap.0.8.1
-> installed rresult.0.7.0
-> installed mtime.2.0.0
-> installed uutf.1.0.3
-> installed fmt.0.9.0
-> installed ptime.1.1.0
-> installed astring.0.8.5
-> installed dune.3.16.0
-> installed mirage-clock.4.2.0
-> installed lwt-dllist.1.0.1
-> installed csexp.1.5.2
-> installed cstruct.6.2.0
-> installed optint.0.3.0
-> installed psq.0.2.1
-> installed stdlib-shims.0.3.0
-> installed stringext.1.6.0
-> installed thread-table.1.0.0
-> installed ocaml-syntax-shims.1.0.0
-> installed domain-local-await.1.0.1
-> installed cppo.1.6.9
-> installed re.1.11.0
-> installed ocplib-endian.1.2
-> installed alcotest.1.8.0
-> installed dune-configurator.3.16.0
-> installed mirage-clock-unix.4.2.0
-> installed bigstringaf.0.10.0
-> installed checkseum.0.5.2
-> installed angstrom.0.16.0
-> installed eio.0.11
-> installed decompress.1.5.3
-> installed uri.4.4.0
-> installed lwt.5.7.0
-> installed mirage-block.3.0.2
-> installed mirage-kv.6.1.1
-> installed cstruct-lwt.6.2.0
-> installed logs.0.7.0
-> installed alcotest-lwt.1.8.0
-> installed mirage-block-unix.2.14.2
Done.
# Run eval $(opam env) to update the current shell environment
2024-07-25 16:08.19 ---> saved as "6332ac93da203bfec40da2d00252d8dae4b04a75a5d8f54e57e864763d908ada"
/src: (copy (src .) (dst /src))
2024-07-25 16:08.19 ---> saved as "9ab98011df1dc0ad1b3533eb9ebf8541682a0320c359ffe5f9a66b442f4fe7c4"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default && /home/opam/.opam/5.2/bin/ocamlopt.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 -I eio/.tar_eio.objs/byte -I eio/.tar_eio.objs/native -I /home/opam/.opam/5.2/lib/bigstringaf -I /home/opam/.opam/5.2/lib/cstruct -I /home/opam/.opam/5.2/lib/domain-local-await -I /home/opam/.opam/5.2/lib/eio -I /home/opam/.opam/5.2/lib/eio/core -I /home/opam/.opam/5.2/lib/fmt -I /home/opam/.opam/5.2/lib/hmap -I /home/opam/.opam/5.2/lib/lwt-dllist -I /home/opam/.opam/5.2/lib/mtime -I /home/opam/.opam/5.2/lib/optint -I /home/opam/.opam/5.2/lib/thread-table -I lib/.tar.objs/byte -I lib/.tar.objs/native -intf-suffix .ml -no-alias-deps -opaque -o eio/.tar_eio.objs/native/tar_eio.cmx -c -impl eio/tar_eio.ml)
File "eio/tar_eio.ml", lines 40-71, characters 65-29:
40 | .................................................................function
41 | | Tar.Read len ->
42 | let b = Cstruct.create len in
43 | (match Flow.single_read f b with
44 | | len ->
...
68 | | Tar.Bind (x, f) ->
69 | match run x with
70 | | Ok value -> run (f value)
71 | | Error _ as err -> err...
Error (warning 8 [partial-match]): this pattern-matching is not exhaustive.
Here is an example of a case that is not matched:
Write _
(cd _build/default && /home/opam/.opam/5.2/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 -bin-annot-occurrences -I eio/.tar_eio.objs/byte -I /home/opam/.opam/5.2/lib/bigstringaf -I /home/opam/.opam/5.2/lib/cstruct -I /home/opam/.opam/5.2/lib/domain-local-await -I /home/opam/.opam/5.2/lib/eio -I /home/opam/.opam/5.2/lib/eio/core -I /home/opam/.opam/5.2/lib/fmt -I /home/opam/.opam/5.2/lib/hmap -I /home/opam/.opam/5.2/lib/lwt-dllist -I /home/opam/.opam/5.2/lib/mtime -I /home/opam/.opam/5.2/lib/optint -I /home/opam/.opam/5.2/lib/thread-table -I lib/.tar.objs/byte -intf-suffix .ml -no-alias-deps -opaque -o eio/.tar_eio.objs/byte/tar_eio.cmo -c -impl eio/tar_eio.ml)
File "eio/tar_eio.ml", lines 40-71, characters 65-29:
40 | .................................................................function
41 | | Tar.Read len ->
42 | let b = Cstruct.create len in
43 | (match Flow.single_read f b with
44 | | len ->
...
68 | | Tar.Bind (x, f) ->
69 | match run x with
70 | | Ok value -> run (f value)
71 | | Error _ as err -> err...
Error (warning 8 [partial-match]): this pattern-matching is not exhaustive.
Here is an example of a case that is not matched:
Write _
(cd _build/default/lib_test && ./global_extended_headers_test.exe)
Testing `global extended headers'.
This run has ID `QSVP9GEI'.
[OK] tar - pax global extended headers 0 can use pax gl...
Full test results in `/src/_build/default/lib_test/_build/_tests/global extended headers'.
Test Successful in 0.000s. 1 test run.
(cd _build/default/lib_test && ./allocate_set_partial_test.exe)
Testing `tar-allocate-set-partial'.
This run has ID `GWXBWE1J'.
[OK] Test512 0 allocate empty file b512.
[OK] Test512 1 set_partial nonexistent file b512.
[OK] Test512 2 allocate is zeroed b512.
[OK] Test512 3 allocate two one-byte files b512.
[OK] Test512 4 allocate and set first byte b512.
[OK] Test512 5 set and rename b512.
[OK] Test4096 0 allocate empty file b4096.
[OK] Test4096 1 set_partial nonexistent file b4096.
[OK] Test4096 2 allocate is zeroed b4096.
[OK] Test4096 3 allocate two one-byte files b4096.
[OK] Test4096 4 allocate and set first byte b4096.
[OK] Test4096 5 set and rename b4096.
Full test results in `/src/_build/default/lib_test/_build/_tests/tar-allocate-set-partial'.
Test Successful in 0.006s. 12 tests run.
(cd _build/default/lib_test && ./write_test.exe)
Testing `tar-write'.
This run has ID `7T7X2HTQ'.
[OK] Test512 0 write empty b512.
[OK] Test512 1 write block size b512.
[OK] Test512 2 write block size b512.
[OK] Test512 3 write two blocks b512.
[OK] Test512 4 write two files b512.
[OK] Test512 5 write two files remove first b512.
[OK] Test512 6 write two files remove second b512.
[OK] Test512 7 remove odd sized file b512.
[OK] Test512 8 set after remove b512.
[OK] Test512 9 allocate doesn't affect tail after arch...
[OK] Test512 10 allocate doesn't affect tail after arch...
[OK] Test512 11 allocate doesn't affect tail after arch...
[OK] Test4096 0 write empty b4096.
[OK] Test4096 1 write block size b4096.
[OK] Test4096 2 write block size b4096.
[OK] Test4096 3 write two blocks b4096.
[OK] Test4096 4 write two files b4096.
[OK] Test4096 5 write two files remove first b4096.
[OK] Test4096 6 write two files remove second b4096.
[OK] Test4096 7 remove odd sized file b4096.
[OK] Test4096 8 set after remove b4096.
[OK] Test4096 9 allocate doesn't affect tail after arch...
[OK] Test4096 10 allocate doesn't affect tail after arch...
[OK] Test4096 11 allocate doesn't affect tail after arch...
Full test results in `/src/_build/default/lib_test/_build/_tests/tar-write'.
Test Successful in 0.106s. 24 tests run.
(cd _build/default/lib_test && ./parse_test.exe)
Testing `parse-test'.
This run has ID `TM0BTJAQ'.
[OK] parse_test 0 header.
[OK] parse_test 1 can_read_tar.
[OK] parse_test 2 can write pax headers.
[OK] parse_test 3 can read @Longlink.
[OK] parse_test 4 can read pax long names and links.
[OK] parse_test 5 can read pax header with implicit dir...
[OK] parse_test 6 can transform tars.
[OK] parse_test 7 can read @LongLink with implicit dire...
Full test results in `/src/_build/_tests/parse-test'.
Test Successful in 0.008s. 8 tests run.
"/usr/bin/env" "bash" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2024-07-25 16:08.21: Job failed: Failed: Build failed