2025-02-13 10:47.46: 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.21-ocaml-4.14@sha256:96b7254f58c3573ba306b938fe2d5ea91c5abce3fa85e1486f9a1932a1f76394
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.21-ocaml-4.14@sha256:96b7254f58c3573ba306b938fe2d5ea91c5abce3fa85e1486f9a1932a1f76394
# alpine-3.21-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 355a9de0cf593b23947a062519f41f2b6ca2199a || git fetch origin master) && git reset -q --hard 355a9de0cf593b23947a062519f41f2b6ca2199a && 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.2 dune-configurator.3.17.2 fmt.0.9.0 fpath.0.7.3 gen.1.1 js_of_ocaml.6.0.1 js_of_ocaml-compiler.6.0.1 js_of_ocaml-toplevel.6.0.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.8 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.35.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
2025-02-13 10:47.46: Using cache hint "art-w/sherlodoc-ocaml/opam:alpine-3.21-ocaml-4.14@sha256:96b7254f58c3573ba306b938fe2d5ea91c5abce3fa85e1486f9a1932a1f76394-alpine-3.21-4.14_opam-2.3-de768572ce8f24ca0b1fc29ea77b0d94"
2025-02-13 10:47.46: Using OBuilder spec:
((from ocaml/opam:alpine-3.21-ocaml-4.14@sha256:96b7254f58c3573ba306b938fe2d5ea91c5abce3fa85e1486f9a1932a1f76394)
(comment alpine-3.21-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 355a9de0cf593b23947a062519f41f2b6ca2199a || git fetch origin master) && git reset -q --hard 355a9de0cf593b23947a062519f41f2b6ca2199a && 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.2 dune-configurator.3.17.2 fmt.0.9.0 fpath.0.7.3 gen.1.1 js_of_ocaml.6.0.1 js_of_ocaml-compiler.6.0.1 js_of_ocaml-toplevel.6.0.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.8 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.35.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)"))
)
2025-02-13 10:47.46: Waiting for resource in pool OCluster
2025-02-13 13:25.30: Waiting for worker…
2025-02-13 13:30.18: Got resource from pool OCluster
Building on x86-bm-c7.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.21-ocaml-4.14@sha256:96b7254f58c3573ba306b938fe2d5ea91c5abce3fa85e1486f9a1932a1f76394)
2025-02-13 13:30.20 ---> using "4e39c0c3d776eff1edded1b34ce7287522f5313250cb83728b85104013b8e410" from cache
/: (comment alpine-3.21-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"))
2025-02-13 13:30.20 ---> using "e2f9eff1492f739c344a4b1afc76b21188003a5f8b0f9cb89d487f4acf60af85" 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 ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ERROR] Could not update repository "opam-repository-archive": "/usr/bin/git fetch -q" exited with code 128 "fatal: unable to access 'https://github.com/ocaml/opam-repository-archive/': Could not resolve host: github.com"
[default] synchronised from file:///home/opam/opam-repository
2025-02-13 13:30.20 ---> using "2e9fe7f0f3184a46fd5197520a4c3e8deb0e7de935d79a066a80b16dcabe8368" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-130-generic
The OCaml toplevel, version 4.14.2
2.2.1
2025-02-13 13:30.20 ---> using "d04d262bff471af35fa45839e38d3c5d2877f8b244fe7a64723806d422cd7cd1" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-02-13 13:30.20 ---> using "924d69016b8144d2bfcd936fb5270ac8ca7e33ab6ee15d55c003d0b19e1b97b3" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 355a9de0cf593b23947a062519f41f2b6ca2199a || git fetch origin master) && git reset -q --hard 355a9de0cf593b23947a062519f41f2b6ca2199a && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
d8f6e9a505..c4d5bda7fe master -> origin/master
355a9de0cf Merge pull request #27416 from hannesm/release-mirage-kv-mem-v4.0.0
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[opam-repository-archive] no changes from git+https://github.com/ocaml/opam-repository-archive
[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-02-13 13:30.20 ---> using "1f44103c05c1e98c37091f1dd92d30fa521faccb5380dddf0f8548d3438c7055" from cache
/src: (copy (src sherlodoc.opam) (dst ./))
2025-02-13 13:30.20 ---> saved as "a8b3a930cb87e1700d9239563d5e4a731d4e6aebfbee01e93e7c10afd5618b30"
/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)
2025-02-13 13:30.25 ---> saved as "29c8104b0c06b122d570c16505a7ec41987c27cc1beae3ddd96c06937729c0a0"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-02-13 13:30.25 ---> saved as "7625be81e3a3db5569f4c0761adbef8717f313e151d87ed50bcc4c855661f47d"
/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.2 dune-configurator.3.17.2 fmt.0.9.0 fpath.0.7.3 gen.1.1 js_of_ocaml.6.0.1 js_of_ocaml-compiler.6.0.1 js_of_ocaml-toplevel.6.0.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.8 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.35.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.21/main/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/v3.21/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.21.2-249-g96b5b08dab5 [https://dl-cdn.alpinelinux.org/alpine/v3.21/main]
- v3.21.2-251-g065dd13f3ca [https://dl-cdn.alpinelinux.org/alpine/v3.21/community]
- v20250108-2111-gf9436dd4bfc [https://dl-cdn.alpinelinux.org/alpine/edge/main]
- v20250108-2112-g950165b0fd5 [https://dl-cdn.alpinelinux.org/alpine/edge/community]
- v20250108-1862-g95359712816 [https://dl-cdn.alpinelinux.org/alpine/edge/testing]
- OK: 56468 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 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-02-13 13:31.03 ---> saved as "840ca4d88052f0621ec320690e400cd2fac22c898375b7187d0f647c6e1471a0"
/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 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.2
- install dune-configurator 3.17.2
- install fmt 0.9.0
- install fpath 0.7.3
- install gen 1.1
- install js_of_ocaml 6.0.1
- install js_of_ocaml-compiler 6.0.1
- install js_of_ocaml-toplevel 6.0.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.8
- 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.35.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 alcotest.1.8.0 (cached)
-> retrieved base.v0.16.3 (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 cmdliner.1.3.0 (cached)
-> retrieved checkseum.0.5.2 (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 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.8 (cached)
-> retrieved dune.3.17.2, dune-configurator.3.17.2 (cached)
-> retrieved js_of_ocaml.6.0.1, js_of_ocaml-compiler.6.0.1, js_of_ocaml-toplevel.6.0.1 (cached)
-> retrieved ocplib-endian.1.2 (cached)
-> retrieved odig.0.0.9 (cached)
-> retrieved optint.0.3.0 (cached)
-> retrieved ppx_blob.0.9.0 (cached)
-> installed cmdliner.1.3.0
-> retrieved ppx_derivers.1.2.1 (cached)
-> retrieved ptime.1.2.0 (cached)
-> retrieved re.1.12.0 (cached)
-> retrieved result.1.5 (cached)
-> retrieved sedlex.3.3 (cached)
-> retrieved seq.base (cached)
-> installed seq.base
-> retrieved sexplib0.v0.16.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved ppxlib.0.35.0 (cached)
-> retrieved topkg.1.0.7 (cached)
-> retrieved uutf.1.0.3 (cached)
-> retrieved odoc.2.4.4, odoc-parser.2.4.4 (cached)
-> retrieved tyxml.4.6.0 (cached)
-> retrieved yojson.2.2.2 (cached)
-> installed ocamlfind.1.9.8
-> 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.2
-> installed camlp-streams.5.0.1
-> installed csexp.1.5.2
-> installed base64.3.5.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 ocplib-endian.1.2
-> installed yojson.2.2.2
-> installed odoc-parser.2.4.4
-> installed alcotest.1.8.0
-> installed dune-configurator.3.17.2
-> 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 b0.0.0.5
-> installed odoc.2.4.4
-> installed odig.0.0.9
-> installed menhir.20240715
-> installed ppxlib.0.35.0
-> installed ppx_blob.0.9.0
-> installed sedlex.3.3
-> installed js_of_ocaml-compiler.6.0.1
-> installed js_of_ocaml-toplevel.6.0.1
-> installed brr.0.0.7
-> installed js_of_ocaml.6.0.1
Done.
# Run eval $(opam env) to update the current shell environment
2025-02-13 13:33.50 ---> saved as "0b53219b785bc3c3eaf66727e43a5a5ca01d1b399cdfd1f96651feea1a8adb9a"
/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.2).
2025-02-13 13:33.55 ---> saved as "65c02bbc1aef1db688b64b112f7e33084885af357e9b9b884f1a2aeb2506d86b"
/src: (copy (src .) (dst /src/))
2025-02-13 13:33.56 ---> saved as "5976e4389d461d292ddb91162a9e1a9d2d8a4bcc8c9b00f9032d99c49bb811f1"
/src: (run (shell "ODOC_WARN_ERROR=false opam exec -- dune build @doc || (echo \"dune build @doc failed\"; exit 2)"))
2025-02-13 13:34.02 ---> saved as "88290d2894a613ba839ff54c5478ef92ff465b9503b1aac96944711464b16255"
Job succeeded
2025-02-13 13:34.01: Job succeeded