2024-11-15 16:05.57: New job: test ocaml/odoc https://github.com/ocaml/odoc.git#refs/pull/1248/head (1bdec53574aae910d5694ebfa069dfb2dcdcbea0) (linux-x86_64:(lint-doc))
Base: ocaml/opam:alpine-3.20-ocaml-4.14@sha256:c3067db755e729f8e00ee051fdc0f10d89cbea8225a445143001443750782933
Opam project lint documentation
To reproduce locally:
git clone --recursive "https://github.com/ocaml/odoc.git" && cd "odoc" && git fetch origin "refs/pull/1248/head" && git reset --hard 1bdec535
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:alpine-3.20-ocaml-4.14@sha256:c3067db755e729f8e00ee051fdc0f10d89cbea8225a445143001443750782933
# 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 654ee104df48ee785861d169cd1ca7eba64b6668 || git fetch origin master) && git reset -q --hard 654ee104df48ee785861d169cd1ca7eba64b6668 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 odoc.opam odoc-parser.opam odoc-md.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-md.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 cmarkit.0.3.0 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.1 dune-configurator.3.16.1 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.7.0 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-md.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-md,odoc-bench @doc || (echo "dune build @doc failed"; exit 2)
END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK
2024-11-15 16:05.57: Using cache hint "ocaml/odoc-ocaml/opam:alpine-3.20-ocaml-4.14@sha256:c3067db755e729f8e00ee051fdc0f10d89cbea8225a445143001443750782933-alpine-3.20-4.14_opam-2.2-eaa94fb46942b53778b4abd570d25f29"
2024-11-15 16:05.57: Using OBuilder spec:
((from ocaml/opam:alpine-3.20-ocaml-4.14@sha256:c3067db755e729f8e00ee051fdc0f10d89cbea8225a445143001443750782933)
(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 654ee104df48ee785861d169cd1ca7eba64b6668 || git fetch origin master) && git reset -q --hard 654ee104df48ee785861d169cd1ca7eba64b6668 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src odoc.opam odoc-parser.opam odoc-md.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-md.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 cmarkit.0.3.0 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.1 dune-configurator.3.16.1 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.7.0 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-md.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-md,odoc-bench @doc || (echo \"dune build @doc failed\"; exit 2)"))
)
2024-11-15 16:05.57: Waiting for resource in pool OCluster
2024-11-15 16:05.57: Waiting for worker…
2024-11-15 16:07.18: Got resource from pool OCluster
Building on x86-bm-c6.sw.ocaml.org
All commits already cached
HEAD is now at 1bdec5357 Enable remapping of links to ocaml.org
(from ocaml/opam:alpine-3.20-ocaml-4.14@sha256:c3067db755e729f8e00ee051fdc0f10d89cbea8225a445143001443750782933)
Unable to find image 'ocaml/opam:alpine-3.20-ocaml-4.14@sha256:c3067db755e729f8e00ee051fdc0f10d89cbea8225a445143001443750782933' locally
docker.io/ocaml/opam@sha256:c3067db755e729f8e00ee051fdc0f10d89cbea8225a445143001443750782933: Pulling from ocaml/opam
4561b4794508: Pulling fs layer
4561b4794508: Verifying Checksum
4561b4794508: Download complete
4561b4794508: Pull complete
Digest: sha256:c3067db755e729f8e00ee051fdc0f10d89cbea8225a445143001443750782933
Status: Downloaded newer image for ocaml/opam@sha256:c3067db755e729f8e00ee051fdc0f10d89cbea8225a445143001443750782933
2024-11-15 16:07.18 ---> using "5f966d834c9126bdfd64c87de0767747262a6ecd90d1e75b82bc6b0e37ce3bf6" 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-11-15 16:07.18 ---> using "6e3062616ab9f8a768caea9cc950ab599c69eec496148aaa755cfe53b2272b75" 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
[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-11-15 16:07.18 ---> using "857ca86124053392ef851e6c537f6f8b3c1610fe5dd7872864a8cce87413096e" 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-11-15 16:07.18 ---> using "7a0acceb818bc101aadfeedd779c79f28c4501da831fba6d7f62947f73dd8ac7" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-11-15 16:07.18 ---> using "c427b608da75a5cd0292e6f77b154f3ff608c3e83614023e3b6fcb74848dea7e" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 654ee104df48ee785861d169cd1ca7eba64b6668 || git fetch origin master) && git reset -q --hard 654ee104df48ee785861d169cd1ca7eba64b6668 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
d872638bdf..a6cd5e9297 master -> origin/master
654ee104df Merge pull request #26834 from mtelvers/opam-publish-ocaml-version.3.7.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-15 16:08.23 ---> saved as "97b57deb49b97770941c6d774b6dae589683e5af2d58a17e075575524d761053"
/src: (copy (src odoc.opam odoc-parser.opam odoc-md.opam odoc-driver.opam odoc-bench.opam)
(dst ./))
2024-11-15 16:08.23 ---> saved as "9acaf98c46bd11d3f9dd4cd4f4047cc97d72a16cff501aa97cc8148cc9746938"
/src: (run (network host)
(shell "opam pin add -yn odoc.dev './' && \
\nopam pin add -yn odoc-parser.dev './' && \
\nopam pin add -yn odoc-md.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-md does not exist, create as a NEW package? [y/n] y
[odoc-md.dev] synchronised (file:///src)
odoc-md 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-11-15 16:08.36 ---> saved as "899f5fabba358cb5985c09f0ed54e251c3fcec799924e750810862d9f6f3325b"
/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 cmarkit.0.3.0 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.1 dune-configurator.3.16.1 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.7.0 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-md.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-325-gf98cee90219 [https://dl-cdn.alpinelinux.org/alpine/v3.20/main]
- v3.20.3-326-gd3d8ff26ae1 [https://dl-cdn.alpinelinux.org/alpine/v3.20/community]
- v20240923-4371-g73b4e356813 [https://dl-cdn.alpinelinux.org/alpine/edge/main]
- v20240923-4412-g597b7b4cc91 [https://dl-cdn.alpinelinux.org/alpine/edge/community]
- v20240923-4411-gb399486d8c2 [https://dl-cdn.alpinelinux.org/alpine/edge/testing]
- OK: 55936 distinct packages available
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[odoc.dev] synchronised (no changes)
[odoc-bench.dev] synchronised (no changes)
[odoc-md.dev] synchronised (no changes)
[odoc-parser.dev] synchronised (no changes)
[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 system packages will first need to be installed:
jq
<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
+ /usr/bin/sudo "apk" "add" "jq"
- (1/2) Installing oniguruma (6.9.9-r0)
- (2/2) Installing jq (1.7.1-r0)
- Executing busybox-1.36.1-r29.trigger
- OK: 294 MiB in 102 packages
2024-11-15 16:09.05 ---> saved as "53ca39734bc02ab9b828581fc4a7b3a0fff82f04b55263782e102495e9219be7"
/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).
2024-11-15 16:09.26: Cancelling: Auto-cancelling job because it is no longer needed
Job cancelled