2025-01-20 16:50.45: New job: test mirage/ocaml-tar https://github.com/mirage/ocaml-tar.git#refs/pull/164/head (d03f2ec0ab097dc7ed18c2b1c8bd690245d9c6b4) (linux-x86_64:(lint-doc)) Base: ocaml/opam:debian-12-ocaml-4.08@sha256:5ed944c28bc353d9e7177b46518ac79c4f79307a96346ab47f69f23048661167 Opam project lint documentation To reproduce locally: git clone --recursive "https://github.com/mirage/ocaml-tar.git" && cd "ocaml-tar" && git fetch origin "refs/pull/164/head" && git reset --hard d03f2ec0 cat > Dockerfile <<'END-OF-DOCKERFILE' FROM ocaml/opam:debian-12-ocaml-4.08@sha256:5ed944c28bc353d9e7177b46518ac79c4f79307a96346ab47f69f23048661167 # debian-12-4.08_opam-2.3 USER 1000:1000 ENV CLICOLOR_FORCE="1" ENV OPAMCOLOR="always" WORKDIR /src RUN sudo ln -f /usr/bin/opam-2.2 /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 82749c0bc5cc2afb8d47b6abd46d44554f7bf5bc || git fetch origin master) && git reset -q --hard 82749c0bc5cc2afb8d47b6abd46d44554f7bf5bc && 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 './' RUN echo '(lang dune 3.0)' > './dune-project' ENV DEPS="alcotest.1.8.0 alcotest-lwt.1.8.0 angstrom.0.16.1 astring.0.8.5 base-bigarray.base base-bytes.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.8.0 csexp.1.5.2 cstruct.6.2.0 cstruct-lwt.6.2.0 decompress.1.5.3 dune.3.17.1 dune-configurator.3.17.1 fmt.0.9.0 logs.0.7.0 lwt.5.9.0 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 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.15.0 ocamlfind.1.9.6 ocplib-endian.1.2 optint.0.3.0 ptime.1.2.0 re.1.11.0 rresult.0.7.0 seq.base stdlib-shims.0.3.0 stringext.1.6.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.2 --depext-only -y tar.dev tar-unix.dev tar-mirage.dev $DEPS RUN opam install $DEPS RUN opam install --yes dune 'odoc>=1.5.0' COPY --chown=1000:1000 . /src/ RUN ODOC_WARN_ERROR=false opam exec -- dune build --only-packages=tar,tar-unix,tar-mirage @doc || (echo "dune build @doc failed"; exit 2) END-OF-DOCKERFILE docker build . END-REPRO-BLOCK 2025-01-20 16:50.45: Using cache hint "mirage/ocaml-tar-ocaml/opam:debian-12-ocaml-4.08@sha256:5ed944c28bc353d9e7177b46518ac79c4f79307a96346ab47f69f23048661167-debian-12-4.08_opam-2.3-19155d632580c9f00c090ef6159962b2" 2025-01-20 16:50.45: Using OBuilder spec: ((from ocaml/opam:debian-12-ocaml-4.08@sha256:5ed944c28bc353d9e7177b46518ac79c4f79307a96346ab47f69f23048661167) (comment debian-12-4.08_opam-2.3) (user (uid 1000) (gid 1000)) (env CLICOLOR_FORCE 1) (env OPAMCOLOR always) (workdir /src) (run (shell "sudo ln -f /usr/bin/opam-2.2 /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 82749c0bc5cc2afb8d47b6abd46d44554f7bf5bc || git fetch origin master) && git reset -q --hard 82749c0bc5cc2afb8d47b6abd46d44554f7bf5bc && 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 './'")) (run (network host) (shell "echo '(lang dune 3.0)' > './dune-project'")) (env DEPS "alcotest.1.8.0 alcotest-lwt.1.8.0 angstrom.0.16.1 astring.0.8.5 base-bigarray.base base-bytes.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.8.0 csexp.1.5.2 cstruct.6.2.0 cstruct-lwt.6.2.0 decompress.1.5.3 dune.3.17.1 dune-configurator.3.17.1 fmt.0.9.0 logs.0.7.0 lwt.5.9.0 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 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.15.0 ocamlfind.1.9.6 ocplib-endian.1.2 optint.0.3.0 ptime.1.2.0 re.1.11.0 rresult.0.7.0 seq.base stdlib-shims.0.3.0 stringext.1.6.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.2 --depext-only -y tar.dev tar-unix.dev tar-mirage.dev $DEPS")) (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam install $DEPS")) (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam install --yes dune 'odoc>=1.5.0'")) (copy (src .) (dst /src/)) (run (shell "ODOC_WARN_ERROR=false opam exec -- dune build --only-packages=tar,tar-unix,tar-mirage @doc || (echo \"dune build @doc failed\"; exit 2)")) ) 2025-01-20 16:50.45: Waiting for resource in pool OCluster 2025-01-20 16:50.45: Waiting for worker… 2025-01-20 16:50.45: Got resource from pool OCluster Building on x86-bm-c2.sw.ocaml.org All commits already cached HEAD is now at d03f2ec Prepare v3.2.0 (from ocaml/opam:debian-12-ocaml-4.08@sha256:5ed944c28bc353d9e7177b46518ac79c4f79307a96346ab47f69f23048661167) 2025-01-20 16:50.45 ---> using "12d8e57f55730dcaba296a0cfe8a3658e193293e6af74e1cd089421a248727f7" from cache /: (comment debian-12-4.08_opam-2.3) /: (user (uid 1000) (gid 1000)) /: (env CLICOLOR_FORCE 1) /: (env OPAMCOLOR always) /: (workdir /src) /src: (run (shell "sudo ln -f /usr/bin/opam-2.2 /usr/bin/opam")) 2025-01-20 16:50.45 ---> using "1fa5986d0e29b767f566a008b6381d8dad89a8de0ceff2a3e4628edf24365053" 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. Continue? [y/n] y This development 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. Format upgrade done. <><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><> [default] synchronised from file:///home/opam/opam-repository 2025-01-20 16:50.45 ---> using "f19adae8ef80e6ca101091ace124684f9c3f6656d37c26d6772fcf64ecf41557" from cache /src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version")) Linux 5.15.0-130-generic The OCaml toplevel, version 4.08.1 2.2.1 2025-01-20 16:50.45 ---> using "566a585d089784ec1dd8f74486f13db72fe9111eae981e9c22f3ec3662763561" from cache /src: (workdir /src) /src: (run (shell "sudo chown opam /src")) 2025-01-20 16:50.45 ---> using "cc40231d1dc1650151306286a5483796a1e86c5d6b4c1fa744c252ac7c911b3d" from cache /src: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "cd ~/opam-repository && (git cat-file -e 82749c0bc5cc2afb8d47b6abd46d44554f7bf5bc || git fetch origin master) && git reset -q --hard 82749c0bc5cc2afb8d47b6abd46d44554f7bf5bc && git log --no-decorate -n1 --oneline && opam update -u")) 82749c0bc5 Merge pull request #27235 from dbuenzli/erratique-maintenance-intent <><> 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 2025-01-20 16:50.45 ---> using "5eec1bc2a6d5466be5245367fa9d91a8cac253d5cad142a0de3ee5e3d4e8ff1a" from cache /src: (copy (src tar.opam tar-unix.opam tar-mirage.opam tar-eio.opam) (dst ./)) 2025-01-20 16:50.45 ---> using "686b036c98e3ba3738db603b7c5e98d79d6fb8f9a9db1390b6ae317eb8d0dfe0" from cache /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) 2025-01-20 16:50.45 ---> using "e007e3ea274e99847d45a4dd38b4efe261ea3399aa01019b2b02a14dbd48b715" from cache /src: (run (network host) (shell "echo '(lang dune 3.0)' > './dune-project'")) 2025-01-20 16:50.45 ---> using "c88092055d3d9d2ffe78a71b5788e8774659da7a6ba8dbbeda120381cbd79059" from cache /src: (env DEPS "alcotest.1.8.0 alcotest-lwt.1.8.0 angstrom.0.16.1 astring.0.8.5 base-bigarray.base base-bytes.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.8.0 csexp.1.5.2 cstruct.6.2.0 cstruct-lwt.6.2.0 decompress.1.5.3 dune.3.17.1 dune-configurator.3.17.1 fmt.0.9.0 logs.0.7.0 lwt.5.9.0 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 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.15.0 ocamlfind.1.9.6 ocplib-endian.1.2 optint.0.3.0 ptime.1.2.0 re.1.11.0 rresult.0.7.0 seq.base stdlib-shims.0.3.0 stringext.1.6.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.2 --depext-only -y tar.dev tar-unix.dev tar-mirage.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 [47.9 kB] - Get:4 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [241 kB] - Fetched 344 kB in 0s (1193 kB/s) - Reading package lists... <><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><> [tar.dev] synchronised (file:///src) [tar-mirage.dev] synchronised (file:///src) [tar-unix.dev] synchronised (file:///src) [NOTE] Package ocaml-config is already installed (current version is 1). [NOTE] Package ocaml-base-compiler is already installed (current version is 4.08.1). [NOTE] Package ocaml is already installed (current version is 4.08.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). 2025-01-20 16:50.45 ---> using "f3d4110b9e2bbaed3742094bd17f53a45a070768d47b95c9ae438537ea8d3b68" from cache /src: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam install $DEPS")) [NOTE] Package ocaml-config is already installed (current version is 1). [NOTE] Package ocaml-base-compiler is already installed (current version is 4.08.1). [NOTE] Package ocaml is already installed (current version is 4.08.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 38 packages - install alcotest 1.8.0 - install alcotest-lwt 1.8.0 - install angstrom 0.16.1 - install astring 0.8.5 - install base-bytes base - install bigstringaf 0.10.0 - install checkseum 0.5.2 - install cmdliner 1.3.0 - install conf-linux-libc-dev 0 - install cppo 1.8.0 - install csexp 1.5.2 - install cstruct 6.2.0 - install cstruct-lwt 6.2.0 - install decompress 1.5.3 - install dune 3.17.1 - install dune-configurator 3.17.1 - install fmt 0.9.0 - install logs 0.7.0 - install lwt 5.9.0 - install mirage-block 3.0.2 - install mirage-block-unix 2.14.2 - install mirage-clock 4.2.0 - install mirage-clock-unix 4.2.0 - install mirage-kv 6.1.1 - install ocaml-syntax-shims 1.0.0 - install ocamlbuild 0.15.0 - install ocamlfind 1.9.6 - install ocplib-endian 1.2 - install optint 0.3.0 - install ptime 1.2.0 - install re 1.11.0 - install rresult 0.7.0 - install seq base - install stdlib-shims 0.3.0 - install stringext 1.6.0 - install topkg 1.0.7 - install uri 4.4.0 - install uutf 1.0.3 <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> retrieved astring.0.8.5 (cached) -> retrieved angstrom.0.16.1 (cached) -> retrieved alcotest.1.8.0, alcotest-lwt.1.8.0 (cached) -> retrieved bigstringaf.0.10.0 (cached) -> retrieved checkseum.0.5.2 (cached) -> retrieved cppo.1.8.0 (cached) -> retrieved cmdliner.1.3.0 (cached) -> retrieved csexp.1.5.2 (cached) -> retrieved cstruct.6.2.0, cstruct-lwt.6.2.0 (cached) -> installed conf-linux-libc-dev.0 -> retrieved fmt.0.9.0 (cached) -> retrieved decompress.1.5.3 (cached) -> retrieved logs.0.7.0 (cached) -> retrieved mirage-block.3.0.2 (cached) -> retrieved lwt.5.9.0 (cached) -> retrieved mirage-block-unix.2.14.2 (cached) -> retrieved mirage-clock.4.2.0, mirage-clock-unix.4.2.0 (cached) -> retrieved mirage-kv.6.1.1 (cached) -> retrieved ocaml-syntax-shims.1.0.0 (cached) -> retrieved ocamlbuild.0.15.0 (cached) -> retrieved ocamlfind.1.9.6 (cached) -> retrieved ocplib-endian.1.2 (cached) -> retrieved optint.0.3.0 (cached) -> retrieved ptime.1.2.0 (cached) -> retrieved rresult.0.7.0 (cached) -> retrieved seq.base (cached) -> installed seq.base -> retrieved dune.3.17.1, dune-configurator.3.17.1 (cached) -> retrieved re.1.11.0 (cached) -> retrieved stdlib-shims.0.3.0 (cached) -> retrieved stringext.1.6.0 (cached) -> retrieved uutf.1.0.3 (cached) -> retrieved topkg.1.0.7 (cached) -> installed cmdliner.1.3.0 -> retrieved uri.4.4.0 (cached) -> installed ocamlbuild.0.15.0 -> installed ocamlfind.1.9.6 -> installed base-bytes.base -> installed topkg.1.0.7 -> installed rresult.0.7.0 -> installed uutf.1.0.3 -> installed ptime.1.2.0 -> installed fmt.0.9.0 -> installed astring.0.8.5 -> installed dune.3.17.1 -> installed mirage-clock.4.2.0 -> installed csexp.1.5.2 -> installed cstruct.6.2.0 -> installed cppo.1.8.0 -> installed ocaml-syntax-shims.1.0.0 -> installed optint.0.3.0 -> installed re.1.11.0 -> installed stdlib-shims.0.3.0 -> installed stringext.1.6.0 -> installed ocplib-endian.1.2 -> installed alcotest.1.8.0 -> installed dune-configurator.3.17.1 -> installed bigstringaf.0.10.0 -> installed mirage-clock-unix.4.2.0 -> installed checkseum.0.5.2 -> installed angstrom.0.16.1 -> installed decompress.1.5.3 -> installed lwt.5.9.0 -> installed mirage-block.3.0.2 -> installed mirage-kv.6.1.1 -> installed cstruct-lwt.6.2.0 -> installed uri.4.4.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 2025-01-20 16:50.45 ---> using "b5d2263e50e87921790d1dd742174f80a106ba61af4c5b2b0259f93f4a532b41" from cache /src: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam install --yes dune 'odoc>=1.5.0'")) [NOTE] Package dune is already installed (current version is 3.17.1). The following actions will be performed: === install 7 packages - install camlp-streams 5.0.1 [required by odoc-parser] - install crunch 3.3.1 [required by odoc] - install fpath 0.7.3 [required by odoc] - install odoc 2.4.4 - install odoc-parser 2.4.4 [required by odoc] - install result 1.5 [required by odoc] - install tyxml 4.6.0 [required by odoc] <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> retrieved camlp-streams.5.0.1 (cached) -> retrieved crunch.3.3.1 (cached) -> retrieved fpath.0.7.3 (cached) -> retrieved result.1.5 (cached) -> retrieved tyxml.4.6.0 (cached) -> retrieved odoc.2.4.4, odoc-parser.2.4.4 (cached) -> installed camlp-streams.5.0.1 -> installed crunch.3.3.1 -> installed fpath.0.7.3 -> installed result.1.5 -> installed odoc-parser.2.4.4 -> installed tyxml.4.6.0 -> installed odoc.2.4.4 Done. # Run eval $(opam env) to update the current shell environment 2025-01-20 16:50.45 ---> using "36f136f0a8a6cd207297c2e95f8527997fb59235130448878cd6ebb87d7ab6ec" from cache /src: (copy (src .) (dst /src/)) 2025-01-20 16:50.45 ---> saved as "2a3c57527ad2094223d98d4332871bac9014537c2cdb33021f36d79542bac1d2" /src: (run (shell "ODOC_WARN_ERROR=false opam exec -- dune build --only-packages=tar,tar-unix,tar-mirage @doc || (echo \"dune build @doc failed\"; exit 2)")) (cd _build/default/unix/.tar_unix.objs/byte && /home/opam/.opam/4.08/bin/odoc compile -I . -I ../../../_doc/_odoc/pkg/tar-unix -I ../../../lib/.tar.objs/byte --pkg tar-unix -o tar_lwt_unix.odoc tar_lwt_unix.cmti) File "unix/tar_lwt_unix.mli", line 67, characters 58-74: Warning: '{header_of_file}': bad markup. Suggestion: did you mean '{!header_of_file}' or '[header_of_file]'? (cd _build/default/unix/.tar_unix.objs/byte && /home/opam/.opam/4.08/bin/odoc compile -I . -I ../../../_doc/_odoc/pkg/tar-unix -I ../../../lib/.tar.objs/byte --pkg tar-unix -o tar_unix.odoc tar_unix.cmti) File "unix/tar_unix.mli", line 66, characters 58-74: Warning: '{header_of_file}': bad markup. Suggestion: did you mean '{!header_of_file}' or '[header_of_file]'? (cd _build/default/_doc/_html && /home/opam/.opam/4.08/bin/odoc link -I ../_odoc/pkg/tar -I ../../lib/.tar.objs/byte -I ../../lib/.tar_gz.objs/byte -o ../_odocls/tar/tar.odocl ../../lib/.tar.objs/byte/tar.odoc) File "lib/tar.mli", line 179, characters 48-69: Warning: Failed to resolve reference unresolvedroot(Stdlib).seek_in Couldn't find "Stdlib" File "lib/tar.mli", line 179, characters 4-29: Warning: Failed to resolve reference unresolvedroot(Stdlib).really_read Couldn't find "Stdlib" File "lib/tar.mli", line 178, characters 20-39: Warning: Failed to resolve reference unresolvedroot(Stdlib).input Couldn't find "Stdlib" (cd _build/default/_doc/_html && /home/opam/.opam/4.08/bin/odoc link -I ../_odoc/pkg/tar-mirage -I ../../lib/.tar.objs/byte -I ../../mirage/.tar_mirage.objs/byte -o ../_odocls/tar-mirage/tar_mirage.odocl ../../mirage/.tar_mirage.objs/byte/tar_mirage.odoc) File "mirage/tar_mirage.mli", line 42, character 6 to line 43, character 55: Warning: Failed to resolve reference unresolvedroot(Invalid_argument) Couldn't find "Invalid_argument" File "mirage/tar_mirage.mli", line 28, character 6 to line 29, character 55: Warning: Failed to resolve reference unresolvedroot(Invalid_argument) Couldn't find "Invalid_argument" 2025-01-20 16:50.46 ---> saved as "968c43b03a647fb8d732ebccb94965eeefe2aa854166bf33e95aee6af3a1667c" Job succeeded 2025-01-20 16:50.46: Job succeeded