2025-01-13 16:21.23: New job: test ocaml-semver/ocaml-api-watch https://github.com/ocaml-semver/ocaml-api-watch.git#refs/heads/main (f99f00fc04a5690b9c218ed09bc26ecf3e90e998) (linux-x86_64:(lint-doc))
Base: ocaml/opam:debian-12-ocaml-5.2@sha256:792c26a4e4da3a0512dc52f25e6704dd5db8c8404befac5c21ab389bc40a5116
Opam project lint documentation
To reproduce locally:
git clone --recursive "https://github.com/ocaml-semver/ocaml-api-watch.git" -b "main" && cd "ocaml-api-watch" && git reset --hard f99f00fc
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.2@sha256:792c26a4e4da3a0512dc52f25e6704dd5db8c8404befac5c21ab389bc40a5116
# 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 85e5d991b8369d632f5b367be8b432341e488f88 || git fetch origin master) && git reset -q --hard 85e5d991b8369d632f5b367be8b432341e488f88 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 api-watch.opam ./
RUN opam pin add -yn api-watch.dev './'
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.1 dune-configurator.3.17.1 either.1.0.0 fmt.0.9.0 host-arch-x86_64.1 host-system-other.1 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.6 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.34.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-01-13 16:21.23: Using cache hint "ocaml-semver/ocaml-api-watch-ocaml/opam:debian-12-ocaml-5.2@sha256:792c26a4e4da3a0512dc52f25e6704dd5db8c8404befac5c21ab389bc40a5116-debian-12-5.2_opam-2.3-5a403bf98bfa17d084da71d9c5fa5180"
2025-01-13 16:21.23: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.2@sha256:792c26a4e4da3a0512dc52f25e6704dd5db8c8404befac5c21ab389bc40a5116)
(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 85e5d991b8369d632f5b367be8b432341e488f88 || git fetch origin master) && git reset -q --hard 85e5d991b8369d632f5b367be8b432341e488f88 && 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 './'"))
(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.1 dune-configurator.3.17.1 either.1.0.0 fmt.0.9.0 host-arch-x86_64.1 host-system-other.1 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.6 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.34.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-01-13 16:21.23: Waiting for resource in pool OCluster
2025-01-13 23:56.07: Waiting for worker…
2025-01-14 00:03.09: Got resource from pool OCluster
Building on toxis.caelum.ci.dev
All commits already cached
HEAD is now at f99f00f Remove duplicate types and class types signature items (#105)
(from ocaml/opam:debian-12-ocaml-5.2@sha256:792c26a4e4da3a0512dc52f25e6704dd5db8c8404befac5c21ab389bc40a5116)
2025-01-14 00:03.10 ---> using "03a81c032cd48166681695513a30bb75b605d4bfc1dbbb80785fa09c5f53cf43" from cache
/: (comment debian-12-5.2_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-01-14 00:03.10 ---> using "fb0c368c9a1a652d086388c8b3546841aad8581d023b24446dbb04ed09f15ebc" 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 39 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=39 --global
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2025-01-14 00:03.10 ---> using "8107f80f5612cc3803f92446d0f29d30a06e0a74cc998ff42e6f630facfb4a40" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-130-generic
The OCaml toplevel, version 5.2.1
2.2.1
2025-01-14 00:03.10 ---> using "1964dfea35381c6a3b024af1e684ca62f281b5b8344f8f3a72c13985aff22ece" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-01-14 00:03.10 ---> using "420ccd1559ae024579f37262bcdf09331521a9441c6f1f13bb7fee7ccde3a3f0" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 85e5d991b8369d632f5b367be8b432341e488f88 || git fetch origin master) && git reset -q --hard 85e5d991b8369d632f5b367be8b432341e488f88 && git log --no-decorate -n1 --oneline && opam update -u"))
remote: Internal Server Error
fatal: unable to access 'https://github.com/ocaml/opam-repository/': The requested URL returned error: 500
"/usr/bin/env" "bash" "-c" "cd ~/opam-repository && (git cat-file -e 85e5d991b8369d632f5b367be8b432341e488f88 || git fetch origin master) && git reset -q --hard 85e5d991b8369d632f5b367be8b432341e488f88 && git log --no-decorate -n1 --oneline && opam update -u" failed with exit status 128
2025-01-14 00:04.36: Job failed: Failed: Build failed