2025-02-18 15:48.30: New job: test ocaml-semver/ocaml-api-watch https://github.com/ocaml-semver/ocaml-api-watch.git#refs/pull/128/head (ff0d5eaecb27bd149cc727030e42398429f4deb8) (linux-x86_64:(lint-doc))
Base: ocaml/opam:debian-12-ocaml-5.2@sha256:f9c047f90fe3f2ffc2284d583cbab5c101c9603dcbee3c1f4285ddba15d4eeb2
Opam project lint documentation
To reproduce locally:
git clone --recursive "https://github.com/ocaml-semver/ocaml-api-watch.git" && cd "ocaml-api-watch" && git fetch origin "refs/pull/128/head" && git reset --hard ff0d5eae
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.2@sha256:f9c047f90fe3f2ffc2284d583cbab5c101c9603dcbee3c1f4285ddba15d4eeb2
# debian-12-5.2_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 34c3343b5f75151737387099c7515a74f860d08a || git fetch origin master) && git reset -q --hard 34c3343b5f75151737387099c7515a74f860d08a && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 api-watch.opam ./
RUN opam pin add -yn api-watch.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="base.v0.17.1 base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base cmdliner.1.3.0 containers.3.15 cppo.1.8.0 csexp.1.5.2 dune.3.17.2 dune-configurator.3.17.2 either.1.0.0 fmt.0.9.0 jane-street-headers.v0.17.0 jst-config.v0.17.0 logs.0.7.0 ocaml.5.2.1 ocaml-base-compiler.5.2.1 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml_intrinsics_kernel.v0.17.1 ocamlbuild.0.15.0 ocamlfind.1.9.8 ppx_assert.v0.17.0 ppx_base.v0.17.0 ppx_cold.v0.17.0 ppx_compare.v0.17.0 ppx_derivers.1.2.1 ppx_deriving.6.0.3 ppx_enumerate.v0.17.0 ppx_expect.v0.17.2 ppx_globalize.v0.17.0 ppx_hash.v0.17.0 ppx_here.v0.17.0 ppx_inline_test.v0.17.0 ppx_optcomp.v0.17.0 ppx_sexp_conv.v0.17.0 ppxlib.0.35.0 ppxlib_jane.v0.17.0 sexplib0.v0.17.0 stdio.v0.17.0 stdlib-shims.0.3.0 time_now.v0.17.0 topkg.1.0.7"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.2 --depext-only -y api-watch.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-18 15:48.30: Using cache hint "ocaml-semver/ocaml-api-watch-ocaml/opam:debian-12-ocaml-5.2@sha256:f9c047f90fe3f2ffc2284d583cbab5c101c9603dcbee3c1f4285ddba15d4eeb2-debian-12-5.2_opam-2.3-30999a07ba38dc485b7b0bb14cbbd89e"
2025-02-18 15:48.30: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.2@sha256:f9c047f90fe3f2ffc2284d583cbab5c101c9603dcbee3c1f4285ddba15d4eeb2)
(comment debian-12-5.2_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 34c3343b5f75151737387099c7515a74f860d08a || git fetch origin master) && git reset -q --hard 34c3343b5f75151737387099c7515a74f860d08a && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src api-watch.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn api-watch.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "base.v0.17.1 base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base cmdliner.1.3.0 containers.3.15 cppo.1.8.0 csexp.1.5.2 dune.3.17.2 dune-configurator.3.17.2 either.1.0.0 fmt.0.9.0 jane-street-headers.v0.17.0 jst-config.v0.17.0 logs.0.7.0 ocaml.5.2.1 ocaml-base-compiler.5.2.1 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml_intrinsics_kernel.v0.17.1 ocamlbuild.0.15.0 ocamlfind.1.9.8 ppx_assert.v0.17.0 ppx_base.v0.17.0 ppx_cold.v0.17.0 ppx_compare.v0.17.0 ppx_derivers.1.2.1 ppx_deriving.6.0.3 ppx_enumerate.v0.17.0 ppx_expect.v0.17.2 ppx_globalize.v0.17.0 ppx_hash.v0.17.0 ppx_here.v0.17.0 ppx_inline_test.v0.17.0 ppx_optcomp.v0.17.0 ppx_sexp_conv.v0.17.0 ppxlib.0.35.0 ppxlib_jane.v0.17.0 sexplib0.v0.17.0 stdio.v0.17.0 stdlib-shims.0.3.0 time_now.v0.17.0 topkg.1.0.7")
(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 api-watch.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-18 15:48.30: Waiting for resource in pool OCluster
2025-02-18 15:48.31: Waiting for worker…
2025-02-18 15:50.59: Cancelling: Auto-cancelling job because it is no longer needed