2024-11-19 19:02.32: New job: test mirage/alcotest https://github.com/mirage/alcotest.git#refs/heads/main (8d3076283dd79ea47fe866645fd42b91a085214f) (linux-x86_64:(lint-doc)) Base: ocaml/opam:debian-12-ocaml-4.08@sha256:b19f193fe7f326e3d37af7875868ea5e5a67c750ba4b7b2a04cd94a89cf6c031 Opam project lint documentation To reproduce locally: git clone --recursive "https://github.com/mirage/alcotest.git" -b "main" && cd "alcotest" && git reset --hard 8d307628 cat > Dockerfile <<'END-OF-DOCKERFILE' FROM ocaml/opam:debian-12-ocaml-4.08@sha256:b19f193fe7f326e3d37af7875868ea5e5a67c750ba4b7b2a04cd94a89cf6c031 # 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 bf952fff418e4e73b706d8c991bda01670225833 || git fetch origin master) && git reset -q --hard bf952fff418e4e73b706d8c991bda01670225833 && git log --no-decorate -n1 --oneline && opam update -u COPY --chown=1000:1000 alcotest.opam alcotest-mirage.opam alcotest-lwt.opam alcotest-js.opam alcotest-async.opam ./ RUN opam pin add -yn alcotest.dev './' && \ opam pin add -yn alcotest-mirage.dev './' && \ opam pin add -yn alcotest-lwt.dev './' && \ opam pin add -yn alcotest-js.dev './' && \ opam pin add -yn alcotest-async.dev './' ENV DEPS="astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base cmdliner.1.3.0 cppo.1.7.0 csexp.1.5.2 dune.3.16.1 dune-configurator.3.16.1 duration.0.2.1 fmt.0.9.0 gen.1.1 js_of_ocaml-compiler.5.8.2 logs.0.7.0 lwt.5.9.0 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 mirage-clock.4.2.0 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-compiler-libs.v0.12.4 ocaml-config.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.15.0 ocamlfind.1.9.6 ocplib-endian.1.2 ppx_derivers.1.2.1 ppxlib.0.33.0 re.1.11.0 sedlex.3.3 seq.base sexplib0.v0.16.0 stdlib-shims.0.3.0 topkg.1.0.7 uutf.1.0.3 yojson.2.2.2" ENV CI="true" ENV OCAMLCI="true" RUN opam update --depexts && opam install --cli=2.2 --depext-only -y alcotest.dev alcotest-mirage.dev alcotest-lwt.dev alcotest-js.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=alcotest,alcotest-mirage,alcotest-lwt,alcotest-js @doc || (echo "dune build @doc failed"; exit 2) END-OF-DOCKERFILE docker build . END-REPRO-BLOCK 2024-11-19 19:02.32: Using cache hint "mirage/alcotest-ocaml/opam:debian-12-ocaml-4.08@sha256:b19f193fe7f326e3d37af7875868ea5e5a67c750ba4b7b2a04cd94a89cf6c031-debian-12-4.08_opam-2.3-25cbecb84ab0825e74a3bdd52d6a1e2b" 2024-11-19 19:02.32: Using OBuilder spec: ((from ocaml/opam:debian-12-ocaml-4.08@sha256:b19f193fe7f326e3d37af7875868ea5e5a67c750ba4b7b2a04cd94a89cf6c031) (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 bf952fff418e4e73b706d8c991bda01670225833 || git fetch origin master) && git reset -q --hard bf952fff418e4e73b706d8c991bda01670225833 && git log --no-decorate -n1 --oneline && opam update -u")) (copy (src alcotest.opam alcotest-mirage.opam alcotest-lwt.opam alcotest-js.opam alcotest-async.opam) (dst ./)) (run (network host) (shell "opam pin add -yn alcotest.dev './' && \ \nopam pin add -yn alcotest-mirage.dev './' && \ \nopam pin add -yn alcotest-lwt.dev './' && \ \nopam pin add -yn alcotest-js.dev './' && \ \nopam pin add -yn alcotest-async.dev './'")) (env DEPS "astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base cmdliner.1.3.0 cppo.1.7.0 csexp.1.5.2 dune.3.16.1 dune-configurator.3.16.1 duration.0.2.1 fmt.0.9.0 gen.1.1 js_of_ocaml-compiler.5.8.2 logs.0.7.0 lwt.5.9.0 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 mirage-clock.4.2.0 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-compiler-libs.v0.12.4 ocaml-config.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.15.0 ocamlfind.1.9.6 ocplib-endian.1.2 ppx_derivers.1.2.1 ppxlib.0.33.0 re.1.11.0 sedlex.3.3 seq.base sexplib0.v0.16.0 stdlib-shims.0.3.0 topkg.1.0.7 uutf.1.0.3 yojson.2.2.2") (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 alcotest.dev alcotest-mirage.dev alcotest-lwt.dev alcotest-js.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=alcotest,alcotest-mirage,alcotest-lwt,alcotest-js @doc || (echo \"dune build @doc failed\"; exit 2)")) ) 2024-11-19 19:02.32: Waiting for resource in pool OCluster 2024-11-20 08:08.58: Waiting for worker… 2024-11-20 08:11.12: Got resource from pool OCluster Building on x86-bm-c15.sw.ocaml.org All commits already cached HEAD is now at 8d30762 Merge pull request #412 from xvw/contramap-for-testable (from ocaml/opam:debian-12-ocaml-4.08@sha256:b19f193fe7f326e3d37af7875868ea5e5a67c750ba4b7b2a04cd94a89cf6c031) 2024-11-20 08:11.13 ---> using "0ccd3f5b4d657f0944073853d77008496ca475f3e6ca9e2160b53453ab7d01cf" 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")) 2024-11-20 08:11.13 ---> using "c875687818212045772ea0206a38856fb8882418a0d35596abd3b48043208e68" 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.2, 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-11-20 08:11.13 ---> using "8a85de9fca22e216dcdcb539f3073f899076cc7966801af21398c30f2d113aa3" from cache /src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version")) Linux 5.15.0-125-generic The OCaml toplevel, version 4.08.1 2.2.1 2024-11-20 08:11.13 ---> using "cf72ebe894eefef038870a763d9f2b6ed456633ab9a7a1f729ade7cdf8d426ad" from cache /src: (workdir /src) /src: (run (shell "sudo chown opam /src")) 2024-11-20 08:11.13 ---> using "e929b4b1653c26f1bf411afc5523b2304a9f1da48da57236808a9d48f4f060d6" from cache /src: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "cd ~/opam-repository && (git cat-file -e bf952fff418e4e73b706d8c991bda01670225833 || git fetch origin master) && git reset -q --hard bf952fff418e4e73b706d8c991bda01670225833 && git log --no-decorate -n1 --oneline && opam update -u")) bf952fff41 Merge pull request #26877 from raphael-proust/opam-publish-lwt.5.9.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-11-20 08:11.13 ---> using "779c69d753369e241e0663ea1160e07fa342060ba59a8ebe39e5f1ecffda6450" from cache /src: (copy (src alcotest.opam alcotest-mirage.opam alcotest-lwt.opam alcotest-js.opam alcotest-async.opam) (dst ./)) 2024-11-20 08:11.13 ---> saved as "5b33e9b06cb93a0ed2cc1497cc28fd6ad96463e85f58ede8d6c8ef62cd5d94ed" /src: (run (network host) (shell "opam pin add -yn alcotest.dev './' && \ \nopam pin add -yn alcotest-mirage.dev './' && \ \nopam pin add -yn alcotest-lwt.dev './' && \ \nopam pin add -yn alcotest-js.dev './' && \ \nopam pin add -yn alcotest-async.dev './'")) [alcotest.dev] synchronised (file:///src) alcotest is now pinned to file:///src (version dev) [alcotest-mirage.dev] synchronised (file:///src) alcotest-mirage is now pinned to file:///src (version dev) [alcotest-lwt.dev] synchronised (file:///src) alcotest-lwt is now pinned to file:///src (version dev) [alcotest-js.dev] synchronised (file:///src) alcotest-js is now pinned to file:///src (version dev) [alcotest-async.dev] synchronised (file:///src) alcotest-async is now pinned to file:///src (version dev) 2024-11-20 08:11.22 ---> saved as "52d94eba02ca9277b8c239b36afeb41f1b4886664dd1027809c7cca385a9703a" /src: (env DEPS "astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base cmdliner.1.3.0 cppo.1.7.0 csexp.1.5.2 dune.3.16.1 dune-configurator.3.16.1 duration.0.2.1 fmt.0.9.0 gen.1.1 js_of_ocaml-compiler.5.8.2 logs.0.7.0 lwt.5.9.0 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 mirage-clock.4.2.0 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-compiler-libs.v0.12.4 ocaml-config.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.15.0 ocamlfind.1.9.6 ocplib-endian.1.2 ppx_derivers.1.2.1 ppxlib.0.33.0 re.1.11.0 sedlex.3.3 seq.base sexplib0.v0.16.0 stdlib-shims.0.3.0 topkg.1.0.7 uutf.1.0.3 yojson.2.2.2") /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 alcotest.dev alcotest-mirage.dev alcotest-lwt.dev alcotest-js.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 [204 kB] - Fetched 308 kB in 0s (1182 kB/s) - Reading package lists... - <><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><> [alcotest.dev] synchronised (no changes) [alcotest-js.dev] synchronised (no changes) [alcotest-lwt.dev] synchronised (no changes) [alcotest-mirage.dev] synchronised (no changes) [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). 2024-11-20 08:11.42 ---> saved as "984d45a060f81a64341f4e348c484a5db7ad0bda076487364ab3ec965f527f6c" /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 33 packages - install astring 0.8.5 - install base-bytes base - install cmdliner 1.3.0 - install cppo 1.7.0 - install csexp 1.5.2 - install dune 3.16.1 - install dune-configurator 3.16.1 - install duration 0.2.1 - install fmt 0.9.0 - install gen 1.1 - install js_of_ocaml-compiler 5.8.2 - install logs 0.7.0 - install lwt 5.9.0 - install menhir 20240715 - install menhirCST 20240715 - install menhirLib 20240715 - install menhirSdk 20240715 - install mirage-clock 4.2.0 - install ocaml-compiler-libs v0.12.4 - install ocaml-syntax-shims 1.0.0 - install ocamlbuild 0.15.0 - install ocamlfind 1.9.6 - install ocplib-endian 1.2 - install ppx_derivers 1.2.1 - install ppxlib 0.33.0 - install re 1.11.0 - install sedlex 3.3 - install seq base - install sexplib0 v0.16.0 - install stdlib-shims 0.3.0 - install topkg 1.0.7 - install uutf 1.0.3 - install yojson 2.2.2 <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> retrieved cppo.1.7.0 (cached) -> retrieved astring.0.8.5 (cached) -> retrieved cmdliner.1.3.0 (cached) -> retrieved csexp.1.5.2 (cached) -> retrieved duration.0.2.1 (cached) -> retrieved fmt.0.9.0 (cached) -> retrieved gen.1.1 (cached) -> retrieved logs.0.7.0 (cached) -> retrieved lwt.5.9.0 (cached) -> retrieved menhir.20240715, menhirCST.20240715, menhirLib.20240715, menhirSdk.20240715 (cached) -> retrieved dune.3.16.1, dune-configurator.3.16.1 (cached) -> retrieved js_of_ocaml-compiler.5.8.2 (cached) -> retrieved mirage-clock.4.2.0 (cached) -> retrieved ocaml-compiler-libs.v0.12.4 (cached) -> retrieved ocaml-syntax-shims.1.0.0 (cached) -> retrieved ocamlbuild.0.15.0 (cached) -> retrieved ocamlfind.1.9.6 (cached) -> installed cmdliner.1.3.0 -> retrieved ocplib-endian.1.2 (cached) -> retrieved ppx_derivers.1.2.1 (cached) -> retrieved sedlex.3.3 (cached) -> retrieved seq.base (cached) -> installed seq.base -> retrieved re.1.11.0 (cached) -> retrieved sexplib0.v0.16.0 (cached) -> retrieved stdlib-shims.0.3.0 (cached) -> retrieved uutf.1.0.3 (cached) -> retrieved topkg.1.0.7 (cached) -> retrieved yojson.2.2.2 (cached) -> retrieved ppxlib.0.33.0 (cached) -> installed ocamlfind.1.9.6 -> installed base-bytes.base -> installed ocamlbuild.0.15.0 -> installed topkg.1.0.7 -> installed uutf.1.0.3 -> installed fmt.0.9.0 -> installed astring.0.8.5 -> installed dune.3.16.1 -> installed csexp.1.5.2 -> installed cppo.1.7.0 -> installed duration.0.2.1 -> installed gen.1.1 -> installed menhirCST.20240715 -> installed menhirLib.20240715 -> installed menhirSdk.20240715 -> installed mirage-clock.4.2.0 -> installed ocaml-compiler-libs.v0.12.4 -> installed ocaml-syntax-shims.1.0.0 -> installed ppx_derivers.1.2.1 -> installed re.1.11.0 -> installed sexplib0.v0.16.0 -> installed stdlib-shims.0.3.0 -> installed ocplib-endian.1.2 -> installed yojson.2.2.2 -> installed dune-configurator.3.16.1 -> installed lwt.5.9.0 -> installed logs.0.7.0 -> installed menhir.20240715 -> installed ppxlib.0.33.0 -> installed sedlex.3.3 -> installed js_of_ocaml-compiler.5.8.2 Done. # Run eval $(opam env) to update the current shell environment 2024-11-20 08:13.06 ---> saved as "9e0ee2048688e73101370526305104f908386e8b8a3c666bbb2135f102422300" /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.16.1). The following actions will be performed: === install 8 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.3 - install odoc-parser 2.4.3 [required by odoc] - install ptime 1.2.0 [required by crunch] - 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 ptime.1.2.0 (cached) -> retrieved tyxml.4.6.0 (cached) -> retrieved odoc.2.4.3, odoc-parser.2.4.3 (cached) -> installed camlp-streams.5.0.1 -> installed fpath.0.7.3 -> installed result.1.5 -> installed ptime.1.2.0 -> installed crunch.3.3.1 -> installed odoc-parser.2.4.3 -> installed tyxml.4.6.0 -> installed odoc.2.4.3 Done. # Run eval $(opam env) to update the current shell environment 2024-11-20 08:13.37 ---> saved as "d7c13f3add7ddccbd320dcd009eff78a56ca3efcafc23fbb8537057a6853d849" /src: (copy (src .) (dst /src/)) 2024-11-20 08:13.37 ---> saved as "28be35410a87a8a72604d47990ebeae39646e2b3f3adc80c2a55748f98a57e91" /src: (run (shell "ODOC_WARN_ERROR=false opam exec -- dune build --only-packages=alcotest,alcotest-mirage,alcotest-lwt,alcotest-js @doc || (echo \"dune build @doc failed\"; exit 2)")) (cd _build/default/_doc/_html && /home/opam/.opam/4.08/bin/odoc link -I ../_odoc/pkg/alcotest-mirage -I ../../src/alcotest-engine/.alcotest_engine.objs/byte -I ../../src/alcotest-mirage/.alcotest_mirage.objs/byte -I ../../src/alcotest-stdlib-ext/.alcotest_stdlib_ext.objs/byte -o ../_odocls/alcotest-mirage/alcotest_mirage.odocl ../../src/alcotest-mirage/.alcotest_mirage.objs/byte/alcotest_mirage.odoc) File "src/alcotest-engine/core_intf.ml", line 24, characters 8-19: Warning: While resolving the expansion of include at File "src/alcotest-mirage/alcotest_mirage.mli", line 26, character 2 While resolving the expansion of include at File "src/alcotest-engine/cli_intf.ml", line 22, character 4 Failed to resolve reference unresolvedroot(Alcotest) Couldn't find "Alcotest" (cd _build/default/_doc/_html && /home/opam/.opam/4.08/bin/odoc link -I ../_odoc/pkg/alcotest -I ../../src/alcotest-engine/.alcotest_engine.objs/byte -I ../../src/alcotest-stdlib-ext/.alcotest_stdlib_ext.objs/byte -I ../../src/alcotest/.alcotest.objs/byte -o ../_odocls/alcotest/alcotest.odocl ../../src/alcotest/.alcotest.objs/byte/alcotest.odoc) File "src/alcotest-engine/test.mli", line 101, characters 4-21: Warning: While resolving the expansion of include at File "src/alcotest/alcotest.mli", line 42, character 2 Failed to resolve reference unresolvedroot(Stdlib).compare Couldn't find "Stdlib" File "src/alcotest-engine/test.mli", line 101, characters 4-21: Warning: While resolving the expansion of include at File "src/alcotest/alcotest.mli", line 32, character 0 Failed to resolve reference unresolvedroot(Stdlib).compare Couldn't find "Stdlib" (cd _build/default/_doc/_html && /home/opam/.opam/4.08/bin/odoc link -I ../_odoc/pkg/alcotest -I ../../src/alcotest-engine/.alcotest_engine.objs/byte -I ../../src/alcotest-stdlib-ext/.alcotest_stdlib_ext.objs/byte -I ../../src/alcotest/.alcotest.objs/byte -o ../_odocls/alcotest/alcotest_engine.odocl ../../src/alcotest-engine/.alcotest_engine.objs/byte/alcotest_engine.odoc) File "src/alcotest-engine/core_intf.ml", line 124, characters 52-69: Warning: Failed to resolve reference unresolvedroot(Alcotest_async) Couldn't find "Alcotest_async" File "src/alcotest-engine/core_intf.ml", line 124, characters 32-47: Warning: Failed to resolve reference unresolvedroot(Alcotest_lwt) Couldn't find "Alcotest_lwt" File "src/alcotest-engine/test.mli", line 101, characters 4-21: Warning: Failed to resolve reference unresolvedroot(Stdlib).compare Couldn't find "Stdlib" 2024-11-20 08:13.38 ---> saved as "cb6b99ed94bae1087dfb32fae4aa5c77c236d72196c3580f9baa801eb699a4a4" Job succeeded 2024-11-20 08:13.38: Job succeeded