2024-10-04 11:37.39: New job: test ocaml/odoc https://github.com/ocaml/odoc.git#refs/heads/master (d8980ffb0a65547af5c58281a6183a4294f902f7) (linux-x86_64:(lint-doc))
Base: ocaml/opam:alpine-3.20-ocaml-4.14@sha256:ca93b07e1eb7c90d165c476bfe152845a1cd570bea9665dd8cde9699b2445d06
Opam project lint documentation
To reproduce locally:
git clone --recursive "https://github.com/ocaml/odoc.git" -b "master" && cd "odoc" && git reset --hard d8980ffb
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:alpine-3.20-ocaml-4.14@sha256:ca93b07e1eb7c90d165c476bfe152845a1cd570bea9665dd8cde9699b2445d06
# alpine-3.20-4.14_opam-2.2
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 525e9f91783f83939e57ae00eb12498294707461 || git fetch origin master) && git reset -q --hard 525e9f91783f83939e57ae00eb12498294707461 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 odoc.opam odoc-parser.opam odoc-driver.opam odoc-bench.opam ./
RUN opam pin add -yn odoc.dev './' && \
opam pin add -yn odoc-parser.dev './' && \
opam pin add -yn odoc-driver.dev './' && \
opam pin add -yn odoc-bench.dev './'
ENV DEPS="astring.0.8.5 base.v0.16.3 base-bigarray.base base-threads.base base-unix.base base_bigstring.v0.16.0 base_quickcheck.v0.16.0 bin_prot.v0.16.0 bisect_ppx.2.8.3 bos.0.2.1 camlp-streams.5.0.1 cmdliner.1.3.0 conf-bash.1 conf-jq.1 core.v0.16.2 core_kernel.v0.16.0 cppo.1.7.0 crunch.3.3.1 csexp.1.5.2 dune.3.16.0 dune-configurator.3.16.0 fieldslib.v0.16.0 fmt.0.9.0 fpath.0.7.3 host-arch-x86_64.1 host-system-other.1 int_repr.v0.16.0 jane-street-headers.v0.16.0 jst-config.v0.16.0 logs.0.7.0 mdx.2.4.1 num.1.5-1 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocaml-version.3.6.9 ocamlbuild.0.15.0 ocamlfind.1.9.6 parsexp.v0.16.0 ppx_assert.v0.16.0 ppx_base.v0.16.0 ppx_bench.v0.16.0 ppx_bin_prot.v0.16.0 ppx_cold.v0.16.0 ppx_compare.v0.16.0 ppx_custom_printf.v0.16.0 ppx_derivers.1.2.1 ppx_disable_unused_warnings.v0.16.0 ppx_enumerate.v0.16.0 ppx_expect.v0.16.0 ppx_fields_conv.v0.16.0 ppx_fixed_literal.v0.16.0 ppx_globalize.v0.16.0 ppx_hash.v0.16.0 ppx_here.v0.16.0 ppx_ignore_instrumentation.v0.16.0 ppx_inline_test.v0.16.1 ppx_jane.v0.16.0 ppx_let.v0.16.0 ppx_log.v0.16.0 ppx_module_timer.v0.16.0 ppx_optcomp.v0.16.0 ppx_optional.v0.16.0 ppx_pipebang.v0.16.0 ppx_sexp_conv.v0.16.0 ppx_sexp_message.v0.16.0 ppx_sexp_value.v0.16.0 ppx_stable.v0.16.0 ppx_stable_witness.v0.16.0 ppx_string.v0.16.0 ppx_tydi.v0.16.0 ppx_typerep_conv.v0.16.0 ppx_variants_conv.v0.16.0 ppxlib.0.33.0 ptime.1.2.0 re.1.12.0 result.1.5 rresult.0.7.0 seq.base sexplib.v0.16.0 sexplib0.v0.16.0 splittable_random.v0.16.0 stdio.v0.16.0 stdlib-shims.0.3.0 time_now.v0.16.0 topkg.1.0.7 typerep.v0.16.0 tyxml.4.6.0 uutf.1.0.3 variantslib.v0.16.0 yojson.2.2.2"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.2 --depext-only -y odoc.dev odoc-parser.dev odoc-bench.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=odoc,odoc-parser,odoc-bench @doc || (echo "dune build @doc failed"; exit 2)
END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK
2024-10-04 11:37.39: Using cache hint "ocaml/odoc-ocaml/opam:alpine-3.20-ocaml-4.14@sha256:ca93b07e1eb7c90d165c476bfe152845a1cd570bea9665dd8cde9699b2445d06-alpine-3.20-4.14_opam-2.2-c7a410585dc985178b6ba94d67791ebe"
2024-10-04 11:37.39: Using OBuilder spec:
((from ocaml/opam:alpine-3.20-ocaml-4.14@sha256:ca93b07e1eb7c90d165c476bfe152845a1cd570bea9665dd8cde9699b2445d06)
(comment alpine-3.20-4.14_opam-2.2)
(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 525e9f91783f83939e57ae00eb12498294707461 || git fetch origin master) && git reset -q --hard 525e9f91783f83939e57ae00eb12498294707461 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src odoc.opam odoc-parser.opam odoc-driver.opam odoc-bench.opam)
(dst ./))
(run (network host)
(shell "opam pin add -yn odoc.dev './' && \
\nopam pin add -yn odoc-parser.dev './' && \
\nopam pin add -yn odoc-driver.dev './' && \
\nopam pin add -yn odoc-bench.dev './'"))
(env DEPS "astring.0.8.5 base.v0.16.3 base-bigarray.base base-threads.base base-unix.base base_bigstring.v0.16.0 base_quickcheck.v0.16.0 bin_prot.v0.16.0 bisect_ppx.2.8.3 bos.0.2.1 camlp-streams.5.0.1 cmdliner.1.3.0 conf-bash.1 conf-jq.1 core.v0.16.2 core_kernel.v0.16.0 cppo.1.7.0 crunch.3.3.1 csexp.1.5.2 dune.3.16.0 dune-configurator.3.16.0 fieldslib.v0.16.0 fmt.0.9.0 fpath.0.7.3 host-arch-x86_64.1 host-system-other.1 int_repr.v0.16.0 jane-street-headers.v0.16.0 jst-config.v0.16.0 logs.0.7.0 mdx.2.4.1 num.1.5-1 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocaml-version.3.6.9 ocamlbuild.0.15.0 ocamlfind.1.9.6 parsexp.v0.16.0 ppx_assert.v0.16.0 ppx_base.v0.16.0 ppx_bench.v0.16.0 ppx_bin_prot.v0.16.0 ppx_cold.v0.16.0 ppx_compare.v0.16.0 ppx_custom_printf.v0.16.0 ppx_derivers.1.2.1 ppx_disable_unused_warnings.v0.16.0 ppx_enumerate.v0.16.0 ppx_expect.v0.16.0 ppx_fields_conv.v0.16.0 ppx_fixed_literal.v0.16.0 ppx_globalize.v0.16.0 ppx_hash.v0.16.0 ppx_here.v0.16.0 ppx_ignore_instrumentation.v0.16.0 ppx_inline_test.v0.16.1 ppx_jane.v0.16.0 ppx_let.v0.16.0 ppx_log.v0.16.0 ppx_module_timer.v0.16.0 ppx_optcomp.v0.16.0 ppx_optional.v0.16.0 ppx_pipebang.v0.16.0 ppx_sexp_conv.v0.16.0 ppx_sexp_message.v0.16.0 ppx_sexp_value.v0.16.0 ppx_stable.v0.16.0 ppx_stable_witness.v0.16.0 ppx_string.v0.16.0 ppx_tydi.v0.16.0 ppx_typerep_conv.v0.16.0 ppx_variants_conv.v0.16.0 ppxlib.0.33.0 ptime.1.2.0 re.1.12.0 result.1.5 rresult.0.7.0 seq.base sexplib.v0.16.0 sexplib0.v0.16.0 splittable_random.v0.16.0 stdio.v0.16.0 stdlib-shims.0.3.0 time_now.v0.16.0 topkg.1.0.7 typerep.v0.16.0 tyxml.4.6.0 uutf.1.0.3 variantslib.v0.16.0 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 odoc.dev odoc-parser.dev odoc-bench.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=odoc,odoc-parser,odoc-bench @doc || (echo \"dune build @doc failed\"; exit 2)"))
)
2024-10-04 11:37.39: Waiting for resource in pool OCluster
2024-10-04 11:37.40: Waiting for worker…
2024-10-04 11:37.54: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
HEAD is now at d8980ffb Children order: Remove common root using ID not URL segments
(from ocaml/opam:alpine-3.20-ocaml-4.14@sha256:ca93b07e1eb7c90d165c476bfe152845a1cd570bea9665dd8cde9699b2445d06)
Unable to find image 'ocaml/opam:alpine-3.20-ocaml-4.14@sha256:ca93b07e1eb7c90d165c476bfe152845a1cd570bea9665dd8cde9699b2445d06' locally
docker.io/ocaml/opam@sha256:ca93b07e1eb7c90d165c476bfe152845a1cd570bea9665dd8cde9699b2445d06: Pulling from ocaml/opam
a66b516afd2c: Pulling fs layer
a66b516afd2c: Verifying Checksum
a66b516afd2c: Download complete
a66b516afd2c: Pull complete
Digest: sha256:ca93b07e1eb7c90d165c476bfe152845a1cd570bea9665dd8cde9699b2445d06
Status: Downloaded newer image for ocaml/opam@sha256:ca93b07e1eb7c90d165c476bfe152845a1cd570bea9665dd8cde9699b2445d06
2024-10-04 11:37.56 ---> using "985d1785f83b4891ff973f84322b6ae3a9d90575d816ad52456fbbac4db24296" from cache
/: (comment alpine-3.20-4.14_opam-2.2)
/: (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-10-04 11:37.56 ---> using "424ecb4fd76a71bc03eabfc1f3af4742e1e505d3d9b8035ad2d7e45690e0728a" 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-10-04 11:37.56 ---> using "0b027b6c04c06f5c7e242bd7839cb2838576f0029b13d9031bce3f8a4a1f5acb" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-122-generic
The OCaml toplevel, version 4.14.2
2.2.1
2024-10-04 11:37.56 ---> using "88660f6f9449daae8f546084b825a4aabecb6972d8728585f1a2ebc26836a734" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-10-04 11:37.56 ---> using "3793e4d28aace89f51f56ac0e27bd5409a2e90b3abb095a596c196cfe87e1cd2" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 525e9f91783f83939e57ae00eb12498294707461 || git fetch origin master) && git reset -q --hard 525e9f91783f83939e57ae00eb12498294707461 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
75006f8c5e..ee4414a0e6 master -> origin/master
525e9f9178 Merge pull request #26639 from mtelvers/opam-publish-ocaml-version.3.6.9
<><> 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-10-04 11:38.59 ---> saved as "823e4f6d8b35385a8536a4b1007ac94bb28834492545ee32b269d29381c6755c"
/src: (copy (src odoc.opam odoc-parser.opam odoc-driver.opam odoc-bench.opam)
(dst ./))
2024-10-04 11:38.59 ---> saved as "0a40036614ab9748ac4227956e12faf894956f925532cfeaa179c8e1a98b4859"
/src: (run (network host)
(shell "opam pin add -yn odoc.dev './' && \
\nopam pin add -yn odoc-parser.dev './' && \
\nopam pin add -yn odoc-driver.dev './' && \
\nopam pin add -yn odoc-bench.dev './'"))
[odoc.dev] synchronised (file:///src)
odoc is now pinned to file:///src (version dev)
[odoc-parser.dev] synchronised (file:///src)
odoc-parser is now pinned to file:///src (version dev)
Package odoc-driver does not exist, create as a NEW package? [y/n] y
[odoc-driver.dev] synchronised (file:///src)
odoc-driver is now pinned to file:///src (version dev)
Package odoc-bench does not exist, create as a NEW package? [y/n] y
[odoc-bench.dev] synchronised (file:///src)
[WARNING] Failed checks on odoc-bench package definition from source at file:///src:
warning 47: Synopsis should start with a capital and not end with a dot
odoc-bench is now pinned to file:///src (version dev)
2024-10-04 11:39.08 ---> saved as "efe14189f8912592f2af39ecbba05402ff20f112c7431befab0c187f47693c0e"
/src: (env DEPS "astring.0.8.5 base.v0.16.3 base-bigarray.base base-threads.base base-unix.base base_bigstring.v0.16.0 base_quickcheck.v0.16.0 bin_prot.v0.16.0 bisect_ppx.2.8.3 bos.0.2.1 camlp-streams.5.0.1 cmdliner.1.3.0 conf-bash.1 conf-jq.1 core.v0.16.2 core_kernel.v0.16.0 cppo.1.7.0 crunch.3.3.1 csexp.1.5.2 dune.3.16.0 dune-configurator.3.16.0 fieldslib.v0.16.0 fmt.0.9.0 fpath.0.7.3 host-arch-x86_64.1 host-system-other.1 int_repr.v0.16.0 jane-street-headers.v0.16.0 jst-config.v0.16.0 logs.0.7.0 mdx.2.4.1 num.1.5-1 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocaml-version.3.6.9 ocamlbuild.0.15.0 ocamlfind.1.9.6 parsexp.v0.16.0 ppx_assert.v0.16.0 ppx_base.v0.16.0 ppx_bench.v0.16.0 ppx_bin_prot.v0.16.0 ppx_cold.v0.16.0 ppx_compare.v0.16.0 ppx_custom_printf.v0.16.0 ppx_derivers.1.2.1 ppx_disable_unused_warnings.v0.16.0 ppx_enumerate.v0.16.0 ppx_expect.v0.16.0 ppx_fields_conv.v0.16.0 ppx_fixed_literal.v0.16.0 ppx_globalize.v0.16.0 ppx_hash.v0.16.0 ppx_here.v0.16.0 ppx_ignore_instrumentation.v0.16.0 ppx_inline_test.v0.16.1 ppx_jane.v0.16.0 ppx_let.v0.16.0 ppx_log.v0.16.0 ppx_module_timer.v0.16.0 ppx_optcomp.v0.16.0 ppx_optional.v0.16.0 ppx_pipebang.v0.16.0 ppx_sexp_conv.v0.16.0 ppx_sexp_message.v0.16.0 ppx_sexp_value.v0.16.0 ppx_stable.v0.16.0 ppx_stable_witness.v0.16.0 ppx_string.v0.16.0 ppx_tydi.v0.16.0 ppx_typerep_conv.v0.16.0 ppx_variants_conv.v0.16.0 ppxlib.0.33.0 ptime.1.2.0 re.1.12.0 result.1.5 rresult.0.7.0 seq.base sexplib.v0.16.0 sexplib0.v0.16.0 splittable_random.v0.16.0 stdio.v0.16.0 stdlib-shims.0.3.0 time_now.v0.16.0 topkg.1.0.7 typerep.v0.16.0 tyxml.4.6.0 uutf.1.0.3 variantslib.v0.16.0 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 odoc.dev odoc-parser.dev odoc-bench.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-106-g950f62961e6 [https://dl-cdn.alpinelinux.org/alpine/v3.20/main]
- v3.20.3-110-gc62e8c0cc43 [https://dl-cdn.alpinelinux.org/alpine/v3.20/community]
- v20240923-1000-g10fd002455e [https://dl-cdn.alpinelinux.org/alpine/edge/main]
- v20240923-1005-g4d1872f68bf [https://dl-cdn.alpinelinux.org/alpine/edge/community]
- v20240923-983-g110a6111d80 [https://dl-cdn.alpinelinux.org/alpine/edge/testing]
- OK: 55397 distinct packages available
2024-10-04 11:39.11: Cancelling: Auto-cancelling job because it is no longer needed
Job cancelled