2024-12-19 22:48.24: New job: test art-w/sherlodoc https://github.com/art-w/sherlodoc.git#refs/heads/master (77ecc829dea23a312a50a74852c3263365bbdeab) (linux-x86_64:(lint-doc))
Base: ocaml/opam:alpine-3.20-ocaml-4.14@sha256:1373fc17e4d358b445e2642e92df91c019d7c9372b501e18374f891e87f709b0
Opam project lint documentation
To reproduce locally:
git clone --recursive "https://github.com/art-w/sherlodoc.git" -b "master" && cd "sherlodoc" && git reset --hard 77ecc829
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:alpine-3.20-ocaml-4.14@sha256:1373fc17e4d358b445e2642e92df91c019d7c9372b501e18374f891e87f709b0
# alpine-3.20-4.14_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 5c7ffb23c89c6943b51f8e215548b72a12e3abd1 || git fetch origin master) && git reset -q --hard 5c7ffb23c89c6943b51f8e215548b72a12e3abd1 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 sherlodoc.opam ./
RUN opam pin add -yn sherlodoc.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="alcotest.1.8.0 astring.0.8.5 b0.0.0.5 base.v0.16.3 base-bigarray.base base-bytes.base base-threads.base base-unix.base base64.3.5.1 bigstringaf.0.10.0 brr.0.0.7 camlp-streams.5.0.1 checkseum.0.5.2 cmdliner.1.3.0 conf-bash.1 cppo.1.8.0 crunch.3.3.1 csexp.1.5.2 decompress.1.5.3 dune.3.17.1 dune-configurator.3.17.1 fmt.0.9.0 fpath.0.7.3 gen.1.1 host-arch-x86_64.1 host-system-other.1 js_of_ocaml.5.9.1 js_of_ocaml-compiler.5.9.1 js_of_ocaml-toplevel.5.9.1 lwt.5.9.0 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.15.0 ocamlfind.1.9.6 ocplib-endian.1.2 odig.0.0.9 odoc.2.4.4 odoc-parser.2.4.4 optint.0.3.0 ppx_blob.0.9.0 ppx_derivers.1.2.1 ppxlib.0.33.0 ptime.1.2.0 re.1.12.0 result.1.5 sedlex.3.3 seq.base sexplib0.v0.16.0 stdlib-shims.0.3.0 topkg.1.0.7 tyxml.4.6.0 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 sherlodoc.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 @doc || (echo "dune build @doc failed"; exit 2)
END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK
2024-12-19 22:48.24: Using cache hint "art-w/sherlodoc-ocaml/opam:alpine-3.20-ocaml-4.14@sha256:1373fc17e4d358b445e2642e92df91c019d7c9372b501e18374f891e87f709b0-alpine-3.20-4.14_opam-2.3-60d9adfa6d69b2ff1bab1c32a0e3ce41"
2024-12-19 22:48.24: Using OBuilder spec:
((from ocaml/opam:alpine-3.20-ocaml-4.14@sha256:1373fc17e4d358b445e2642e92df91c019d7c9372b501e18374f891e87f709b0)
(comment alpine-3.20-4.14_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 5c7ffb23c89c6943b51f8e215548b72a12e3abd1 || git fetch origin master) && git reset -q --hard 5c7ffb23c89c6943b51f8e215548b72a12e3abd1 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src sherlodoc.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn sherlodoc.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "alcotest.1.8.0 astring.0.8.5 b0.0.0.5 base.v0.16.3 base-bigarray.base base-bytes.base base-threads.base base-unix.base base64.3.5.1 bigstringaf.0.10.0 brr.0.0.7 camlp-streams.5.0.1 checkseum.0.5.2 cmdliner.1.3.0 conf-bash.1 cppo.1.8.0 crunch.3.3.1 csexp.1.5.2 decompress.1.5.3 dune.3.17.1 dune-configurator.3.17.1 fmt.0.9.0 fpath.0.7.3 gen.1.1 host-arch-x86_64.1 host-system-other.1 js_of_ocaml.5.9.1 js_of_ocaml-compiler.5.9.1 js_of_ocaml-toplevel.5.9.1 lwt.5.9.0 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.15.0 ocamlfind.1.9.6 ocplib-endian.1.2 odig.0.0.9 odoc.2.4.4 odoc-parser.2.4.4 optint.0.3.0 ppx_blob.0.9.0 ppx_derivers.1.2.1 ppxlib.0.33.0 ptime.1.2.0 re.1.12.0 result.1.5 sedlex.3.3 seq.base sexplib0.v0.16.0 stdlib-shims.0.3.0 topkg.1.0.7 tyxml.4.6.0 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 sherlodoc.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 @doc || (echo \"dune build @doc failed\"; exit 2)"))
)
2024-12-19 22:48.24: Waiting for resource in pool OCluster
2024-12-20 09:54.33: Waiting for worker…
2024-12-20 09:59.16: Got resource from pool OCluster
Building on x86-bm-c2.sw.ocaml.org
All commits already cached
HEAD is now at 77ecc82 Merge pull request #25 from art-w/remove_weird_warnings
(from ocaml/opam:alpine-3.20-ocaml-4.14@sha256:1373fc17e4d358b445e2642e92df91c019d7c9372b501e18374f891e87f709b0)
2024-12-20 09:59.55 ---> saved as "a3e9f67bc1ee9201c96140c65f9dc31519ebfb933f158b75d3a6cace968f8f0b"
/: (comment alpine-3.20-4.14_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-12-20 09:59.55 ---> saved as "66308d773b43ba3898c93af64bd73b8da6117c95b8fe0b7ae4d8a07716c3a93d"
/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
[NOTE] The 'jobs' option was reset, its value was 255 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
opam option jobs=255 --global
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2024-12-20 10:01.43 ---> saved as "9e3731307851315ce47020bb2427b1002f81a8fb4c630ee7bfffd0fccf87d047"
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-126-generic
The OCaml toplevel, version 4.14.2
2.2.1
2024-12-20 10:01.43 ---> saved as "ea3dab102ac768feea5b43c1fa21fd44b86b32965a9e27dee81ee1a5225631ba"
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-12-20 10:01.43 ---> saved as "a38d882d6fc122636748889519237a4069617c5306dbeed636f36e16db39aa53"
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 5c7ffb23c89c6943b51f8e215548b72a12e3abd1 || git fetch origin master) && git reset -q --hard 5c7ffb23c89c6943b51f8e215548b72a12e3abd1 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
de786e28db..3531767c50 master -> origin/master
5c7ffb23c8 Merge pull request #27137 from maiste/release-dune-3.17.1
<><> 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-12-20 10:03.34 ---> saved as "eabe45ac13969828ea709d14a209e2cb7ca7eac8c40ef2479c1c9a8012db282a"
/src: (copy (src sherlodoc.opam) (dst ./))
2024-12-20 10:03.34 ---> saved as "735c7f609bc2014f6062d610a4fccb87df65289a03dbb154344b43e96c1616bd"
/src: (run (network host)
(shell "opam pin add -yn sherlodoc.dev './'"))
[sherlodoc.dev] synchronised (file:///src)
sherlodoc is now pinned to file:///src (version dev)
2024-12-20 10:03.37 ---> saved as "49e3caf2f49e79f90846233018e1ab93a97c9e13c94446352e189e0941866a16"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2024-12-20 10:03.38 ---> saved as "f1b95f1368297f5216720d54edef92f2603d1a3a08e14bd675f03ff85f238d81"
/src: (env DEPS "alcotest.1.8.0 astring.0.8.5 b0.0.0.5 base.v0.16.3 base-bigarray.base base-bytes.base base-threads.base base-unix.base base64.3.5.1 bigstringaf.0.10.0 brr.0.0.7 camlp-streams.5.0.1 checkseum.0.5.2 cmdliner.1.3.0 conf-bash.1 cppo.1.8.0 crunch.3.3.1 csexp.1.5.2 decompress.1.5.3 dune.3.17.1 dune-configurator.3.17.1 fmt.0.9.0 fpath.0.7.3 gen.1.1 host-arch-x86_64.1 host-system-other.1 js_of_ocaml.5.9.1 js_of_ocaml-compiler.5.9.1 js_of_ocaml-toplevel.5.9.1 lwt.5.9.0 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.15.0 ocamlfind.1.9.6 ocplib-endian.1.2 odig.0.0.9 odoc.2.4.4 odoc-parser.2.4.4 optint.0.3.0 ppx_blob.0.9.0 ppx_derivers.1.2.1 ppxlib.0.33.0 ptime.1.2.0 re.1.12.0 result.1.5 sedlex.3.3 seq.base sexplib0.v0.16.0 stdlib-shims.0.3.0 topkg.1.0.7 tyxml.4.6.0 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 sherlodoc.dev $DEPS"))
+ /usr/bin/sudo "apk" "update"
- fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
- v3.20.3-433-g123ceb85a17 [https://dl-cdn.alpinelinux.org/alpine/v3.20/main]
- v3.20.3-433-g123ceb85a17 [https://dl-cdn.alpinelinux.org/alpine/v3.20/community]
- v3.21.0-1123-g25df03729b1 [https://dl-cdn.alpinelinux.org/alpine/edge/main]
- v3.21.0-1128-g37b88dea169 [https://dl-cdn.alpinelinux.org/alpine/edge/community]
- v3.21.0-1116-gf1cee4e60a9 [https://dl-cdn.alpinelinux.org/alpine/edge/testing]
- OK: 56295 distinct packages available
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[sherlodoc.dev] synchronised (file:///src)
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[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-bigarray is already installed (current version is base).
2024-12-20 10:04.04 ---> saved as "1f7fa323fa8e5d2671710ec36c8ca837030ffb9472ce63ddd7f2001ba8e9c5f5"
/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 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[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-bigarray is already installed (current version is base).
The following actions will be performed:
=== install 52 packages
- install alcotest 1.8.0
- install astring 0.8.5
- install b0 0.0.5
- install base v0.16.3
- install base-bytes base
- install base64 3.5.1
- install bigstringaf 0.10.0
- install brr 0.0.7
- install camlp-streams 5.0.1
- install checkseum 0.5.2
- install cmdliner 1.3.0
- install conf-bash 1
- install cppo 1.8.0
- install crunch 3.3.1
- install csexp 1.5.2
- install decompress 1.5.3
- install dune 3.17.1
- install dune-configurator 3.17.1
- install fmt 0.9.0
- install fpath 0.7.3
- install gen 1.1
- install js_of_ocaml 5.9.1
- install js_of_ocaml-compiler 5.9.1
- install js_of_ocaml-toplevel 5.9.1
- install lwt 5.9.0
- install menhir 20240715
- install menhirCST 20240715
- install menhirLib 20240715
- install menhirSdk 20240715
- 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 odig 0.0.9
- install odoc 2.4.4
- install odoc-parser 2.4.4
- install optint 0.3.0
- install ppx_blob 0.9.0
- install ppx_derivers 1.2.1
- install ppxlib 0.33.0
- install ptime 1.2.0
- install re 1.12.0
- install result 1.5
- install sedlex 3.3
- install seq base
- install sexplib0 v0.16.0
- install stdlib-shims 0.3.0
- install topkg 1.0.7
- install tyxml 4.6.0
- install uutf 1.0.3
- install yojson 2.2.2
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved astring.0.8.5 (cached)
-> retrieved base.v0.16.3 (cached)
-> retrieved alcotest.1.8.0 (cached)
-> retrieved b0.0.0.5 (cached)
-> retrieved base64.3.5.1 (cached)
-> retrieved bigstringaf.0.10.0 (cached)
-> retrieved camlp-streams.5.0.1 (cached)
-> retrieved checkseum.0.5.2 (cached)
-> retrieved cmdliner.1.3.0 (cached)
-> retrieved cppo.1.8.0 (cached)
-> installed conf-bash.1
-> retrieved crunch.3.3.1 (cached)
-> retrieved csexp.1.5.2 (cached)
-> retrieved brr.0.0.7 (cached)
-> retrieved fmt.0.9.0 (cached)
-> retrieved fpath.0.7.3 (cached)
-> retrieved gen.1.1 (cached)
-> retrieved decompress.1.5.3 (cached)
-> retrieved lwt.5.9.0 (cached)
-> retrieved menhir.20240715, menhirCST.20240715, menhirLib.20240715, menhirSdk.20240715 (cached)
-> retrieved dune.3.17.1, dune-configurator.3.17.1 (cached)
-> retrieved js_of_ocaml.5.9.1, js_of_ocaml-compiler.5.9.1, js_of_ocaml-toplevel.5.9.1 (cached)
-> retrieved ocaml-compiler-libs.v0.12.4 (cached)
-> retrieved ocaml-syntax-shims.1.0.0 (cached)
-> retrieved ocplib-endian.1.2 (cached)
-> retrieved ocamlbuild.0.15.0 (cached)
-> retrieved ocamlfind.1.9.6 (cached)
-> installed cmdliner.1.3.0
-> retrieved optint.0.3.0 (cached)
-> retrieved ppx_blob.0.9.0 (cached)
-> retrieved ppx_derivers.1.2.1 (cached)
-> retrieved ppxlib.0.33.0 (cached)
-> retrieved odoc.2.4.4, odoc-parser.2.4.4 (cached)
-> retrieved ptime.1.2.0 (cached)
-> retrieved result.1.5 (cached)
-> retrieved re.1.12.0 (cached)
-> retrieved seq.base (cached)
-> installed seq.base
-> retrieved sedlex.3.3 (cached)
-> retrieved sexplib0.v0.16.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved tyxml.4.6.0 (cached)
-> retrieved topkg.1.0.7 (cached)
-> retrieved uutf.1.0.3 (cached)
-> retrieved yojson.2.2.2 (cached)
-> retrieved odig.0.0.9 (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 ptime.1.2.0
-> installed astring.0.8.5
-> installed fpath.0.7.3
-> installed dune.3.17.1
-> installed csexp.1.5.2
-> installed base64.3.5.1
-> installed camlp-streams.5.0.1
-> installed cppo.1.8.0
-> installed crunch.3.3.1
-> installed gen.1.1
-> installed menhirCST.20240715
-> installed menhirLib.20240715
-> installed menhirSdk.20240715
-> installed ocaml-compiler-libs.v0.12.4
-> installed ocaml-syntax-shims.1.0.0
-> installed optint.0.3.0
-> installed ppx_derivers.1.2.1
-> installed re.1.12.0
-> installed result.1.5
-> installed sexplib0.v0.16.0
-> installed stdlib-shims.0.3.0
-> installed yojson.2.2.2
-> installed ocplib-endian.1.2
-> installed odoc-parser.2.4.4
-> installed alcotest.1.8.0
-> installed dune-configurator.3.17.1
-> installed bigstringaf.0.10.0
-> installed checkseum.0.5.2
-> installed tyxml.4.6.0
-> installed decompress.1.5.3
-> installed lwt.5.9.0
-> installed base.v0.16.3
-> installed odoc.2.4.4
-> installed b0.0.0.5
-> installed odig.0.0.9
-> installed menhir.20240715
-> installed ppxlib.0.33.0
-> installed ppx_blob.0.9.0
-> installed sedlex.3.3
-> installed js_of_ocaml-compiler.5.9.1
-> installed js_of_ocaml-toplevel.5.9.1
-> installed brr.0.0.7
-> installed js_of_ocaml.5.9.1
Done.
# Run eval $(opam env) to update the current shell environment
2024-12-20 10:06.34 ---> saved as "18b5707ab43dafb5bf246f65f2f779417ef917814334910771f9e3f1fbc79b43"
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install --yes dune 'odoc>=1.5.0'"))
[NOTE] Package odoc is already installed (current version is 2.4.4).
[NOTE] Package dune is already installed (current version is 3.17.1).
2024-12-20 10:06.38 ---> saved as "173911a02f13dcfe3f4c6c60d23ed06c0f596727cc305b347183a26d1826f23a"
/src: (copy (src .) (dst /src/))
2024-12-20 10:06.38 ---> saved as "10dc2c7276351b10f63fcd4f328396884d262544a3b0f6b97193555e93c795cc"
/src: (run (shell "ODOC_WARN_ERROR=false opam exec -- dune build @doc || (echo \"dune build @doc failed\"; exit 2)"))
2024-12-20 10:06.43 ---> saved as "248cb028c433b73d1f82071adb04c935f9e3c0e9b537f7151c8000be8549e96b"
Job succeeded
2024-12-20 10:06.43: Job succeeded