Organisationsahrefsmonorobot31bd0d ()(lint-doc)

(lint-doc)

Link Copied
Code Copied

Logs

2024-12-30 12:06.11: New job: test ahrefs/monorobot https://github.com/ahrefs/monorobot.git#refs/heads/master (31bd0d707b277d78539085d50a63c22d706076b0) (linux-x86_64:(lint-doc))
Base: ocaml/opam:alpine-3.20-ocaml-4.14@sha256:1373fc17e4d358b445e2642e92df91c019d7c9372b501e18374f891e87f709b0
Opam project lint documentation


To reproduce locally:


git clone --recursive "https://github.com/ahrefs/monorobot.git" -b "master" && cd "monorobot" && git reset --hard 31bd0d70
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:alpine-3.20-ocaml-4.14@sha256:1373fc17e4d358b445e2642e92df91c019d7c9372b501e18374f891e87f709b0
# alpine-3.20-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 0c4ca1951c41b344313911ffd35052dc537474ad || git fetch origin master) && git reset -q --hard 0c4ca1951c41b344313911ffd35052dc537474ad && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 monorobot.opam ./
RUN opam pin add -yn monorobot.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="angstrom.0.16.1 astring.0.8.5 atd.2.15.0 atdgen.2.15.0 atdgen-runtime.2.15.0 base.v0.16.3 base-bigarray.base base-bytes.base base-threads.base base-unix.base base64.3.5.1 base_bigstring.v0.16.0 base_quickcheck.v0.16.0 bigarray-compat.1.1.0 bigstringaf.0.10.0 bin_prot.v0.16.0 biniou.1.2.2 camlp-streams.5.0.1 camlzip.1.13 cmdliner.1.3.0 conf-bash.1 conf-g++.1.0 conf-gmp.4 conf-libcurl.2 conf-libevent.1 conf-libpcre.2 conf-pkg-config.3 conf-zlib.1 core.v0.16.2 cppo.1.8.0 cpuid.0.1.2 csexp.1.5.2 cstruct.6.0.1 cstruct-lwt.6.0.1 devkit.1.20240429 dune.3.17.1 dune-configurator.3.17.1 easy-format.1.3.4 extlib.1.8.0 extunix.0.4.3 fieldslib.v0.16.0 hex.1.5.0 host-arch-x86_64.1 host-system-other.1 int_repr.v0.16.0 jane-street-headers.v0.16.0 jane_rope.v0.16.0 jst-config.v0.16.0 libevent.0.9.0 lwt.5.9.0 lwt_ppx.5.8.0 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 mirage-no-solo5.1 mirage-no-xen.1 nocrypto.0.5.4-2 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-syntax-shims.1.0.0 ocamlbuild.0.15.0 ocamlfind.1.9.6 ocb-stubblr.0.1.1-1 ocplib-endian.1.2 ocurl.0.9.2 omd.1.3.2 ounit2.2.2.7 parsexp.v0.16.0 pcre.8.0.1 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_deriving.6.0.3 ppx_disable_unused_warnings.v0.16.0 ppx_enumerate.v0.16.0 ppx_expect.v0.16.1 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 re.1.12.0 re2.v0.16.0 regex_parser_intf.v0.16.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 stringext.1.6.0 time_now.v0.16.0 topkg.1.0.7 trace.0.8 typerep.v0.16.0 uri.4.4.0 variantslib.v0.16.0 yojson.2.2.2 zarith.1.14"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.2 --depext-only -y monorobot.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


2024-12-30 12:06.11: Using cache hint "ahrefs/monorobot-ocaml/opam:alpine-3.20-ocaml-4.14@sha256:1373fc17e4d358b445e2642e92df91c019d7c9372b501e18374f891e87f709b0-alpine-3.20-4.14_opam-2.3-ab8adf4da1e26b3d03b8f115c936065c"
2024-12-30 12:06.11: Using OBuilder spec:
((from ocaml/opam:alpine-3.20-ocaml-4.14@sha256:1373fc17e4d358b445e2642e92df91c019d7c9372b501e18374f891e87f709b0)
(comment alpine-3.20-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 0c4ca1951c41b344313911ffd35052dc537474ad || git fetch origin master) && git reset -q --hard 0c4ca1951c41b344313911ffd35052dc537474ad && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src monorobot.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn monorobot.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "angstrom.0.16.1 astring.0.8.5 atd.2.15.0 atdgen.2.15.0 atdgen-runtime.2.15.0 base.v0.16.3 base-bigarray.base base-bytes.base base-threads.base base-unix.base base64.3.5.1 base_bigstring.v0.16.0 base_quickcheck.v0.16.0 bigarray-compat.1.1.0 bigstringaf.0.10.0 bin_prot.v0.16.0 biniou.1.2.2 camlp-streams.5.0.1 camlzip.1.13 cmdliner.1.3.0 conf-bash.1 conf-g++.1.0 conf-gmp.4 conf-libcurl.2 conf-libevent.1 conf-libpcre.2 conf-pkg-config.3 conf-zlib.1 core.v0.16.2 cppo.1.8.0 cpuid.0.1.2 csexp.1.5.2 cstruct.6.0.1 cstruct-lwt.6.0.1 devkit.1.20240429 dune.3.17.1 dune-configurator.3.17.1 easy-format.1.3.4 extlib.1.8.0 extunix.0.4.3 fieldslib.v0.16.0 hex.1.5.0 host-arch-x86_64.1 host-system-other.1 int_repr.v0.16.0 jane-street-headers.v0.16.0 jane_rope.v0.16.0 jst-config.v0.16.0 libevent.0.9.0 lwt.5.9.0 lwt_ppx.5.8.0 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 mirage-no-solo5.1 mirage-no-xen.1 nocrypto.0.5.4-2 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-syntax-shims.1.0.0 ocamlbuild.0.15.0 ocamlfind.1.9.6 ocb-stubblr.0.1.1-1 ocplib-endian.1.2 ocurl.0.9.2 omd.1.3.2 ounit2.2.2.7 parsexp.v0.16.0 pcre.8.0.1 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_deriving.6.0.3 ppx_disable_unused_warnings.v0.16.0 ppx_enumerate.v0.16.0 ppx_expect.v0.16.1 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 re.1.12.0 re2.v0.16.0 regex_parser_intf.v0.16.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 stringext.1.6.0 time_now.v0.16.0 topkg.1.0.7 trace.0.8 typerep.v0.16.0 uri.4.4.0 variantslib.v0.16.0 yojson.2.2.2 zarith.1.14")
(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 monorobot.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)"))
)


2024-12-30 12:06.11: Waiting for resource in pool OCluster
2024-12-30 12:06.11: Waiting for worker…
2024-12-30 12:06.13: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
HEAD is now at 31bd0d7 Add dev notifications config (#170)


(from ocaml/opam:alpine-3.20-ocaml-4.14@sha256:1373fc17e4d358b445e2642e92df91c019d7c9372b501e18374f891e87f709b0)
2024-12-30 12:06.15 ---> using "a3e9f67bc1ee9201c96140c65f9dc31519ebfb933f158b75d3a6cace968f8f0b" from cache


/: (comment alpine-3.20-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"))
2024-12-30 12:06.15 ---> saved as "66308d773b43ba3898c93af64bd73b8da6117c95b8fe0b7ae4d8a07716c3a93d"


/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.
2024-12-30 12:06.24: Cancelling: Auto-cancelling job because it is no longer needed
Job cancelled