Organisationsahrefsmonorobotfe9d18 ()(lint-opam)

(lint-opam)

Link Copied
Code Copied

Logs

2025-02-05 08:33.05: New job: test ahrefs/monorobot https://github.com/ahrefs/monorobot.git#refs/pull/176/head (fe9d189019db9aa6f48cffb3411a23f01ac535f8) (linux-x86_64:(lint-opam))
Base: ocaml/opam:debian-12-ocaml-5.0@sha256:b76c766bee396852c25d4b17148c2c695483eba5904a1515808a576bc92c07f0
Opam files lint


To reproduce locally:


git clone --recursive "https://github.com/ahrefs/monorobot.git" && cd "monorobot" && git fetch origin "refs/pull/176/head" && git reset --hard fe9d1890
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.0@sha256:b76c766bee396852c25d4b17148c2c695483eba5904a1515808a576bc92c07f0
# debian-12-5.0_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 3ee951993de4d18fd335fcea4ac7375cab56a637 || git fetch origin master) && git reset -q --hard 3ee951993de4d18fd335fcea4ac7375cab56a637 && 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.16.0 atdgen.2.16.0 atdgen-runtime.2.16.0 base.v0.16.3 base-bigarray.base base-bytes.base base-domains.base base-nnp.base base-threads.base base-unix.base base64.3.5.1 base_bigstring.v0.16.0 base_quickcheck.v0.16.0 bigstringaf.0.10.0 bin_prot.v0.16.0 biniou.1.2.2 bos.0.2.1 camlp-streams.5.0.1 camlzip.1.13 cmdliner.1.3.0 conf-bash.1 conf-g++.1.0 conf-libcurl.2 conf-libevent.1 conf-libpcre.2 conf-pkg-config.4 conf-zlib.1 core.v0.16.2 cppo.1.8.0 csexp.1.5.2 devkit.1.20240429 digestif.1.2.0 dune.3.17.2 dune-configurator.3.17.2 dyn.3.17.2 easy-format.1.3.4 eqaf.0.10 extlib.1.8.0 extunix.0.4.3 fieldslib.v0.16.0 fmt.0.9.0 fpath.0.7.3 int_repr.v0.16.0 jane-street-headers.v0.16.0 jane_rope.v0.16.0 jsonm.1.0.2 jst-config.v0.16.0 libevent.0.9.0 logs.0.7.0 lwt.5.9.0 lwt_ppx.5.8.0 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 num.1.5-1 ocaml.5.0.0 ocaml-base-compiler.5.0.0 ocaml-compiler-libs.v0.12.4 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.15.0 ocamlfind.1.9.8 ocamlgraph.2.1.0 ocplib-endian.1.2 ocurl.0.9.2 omd.1.3.2 opam-core.2.3.0 opam-dune-lint.0.6 opam-file-format.2.1.6 opam-format.2.3.0 opam-repository.2.3.0 opam-state.2.3.0 ordering.3.17.2 ounit2.2.2.7 parsexp.v0.16.0 pcre.8.0.2 pp.2.0.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.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.35.0 ptime.1.2.0 re.1.12.0 re2.v0.16.0 regex_parser_intf.v0.16.0 rresult.0.7.0 seq.base sexplib.v0.16.0 sexplib0.v0.16.0 sha.1.15.4 spdx_licenses.1.3.0 splittable_random.v0.16.0 stdio.v0.16.0 stdlib-shims.0.3.0 stdune.3.17.2 stringext.1.6.0 swhid_core.0.1 time_now.v0.16.0 topkg.1.0.7 trace.0.9 typerep.v0.16.0 uri.4.4.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 monorobot.dev $DEPS
RUN opam install $DEPS
ENV CI="true"
ENV OCAMLCI="true"
WORKDIR /src
COPY --chown=1000:1000 . /src/
RUN opam lint
RUN opam exec -- opam-dune-lint


END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK


2025-02-05 08:33.05: Using cache hint "ahrefs/monorobot-ocaml/opam:debian-12-ocaml-5.0@sha256:b76c766bee396852c25d4b17148c2c695483eba5904a1515808a576bc92c07f0-debian-12-5.0_opam-2.3-8b6e65ac87fd07760acf397337fb9611"
2025-02-05 08:33.05: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.0@sha256:b76c766bee396852c25d4b17148c2c695483eba5904a1515808a576bc92c07f0)
(comment debian-12-5.0_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 3ee951993de4d18fd335fcea4ac7375cab56a637 || git fetch origin master) && git reset -q --hard 3ee951993de4d18fd335fcea4ac7375cab56a637 && 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.16.0 atdgen.2.16.0 atdgen-runtime.2.16.0 base.v0.16.3 base-bigarray.base base-bytes.base base-domains.base base-nnp.base base-threads.base base-unix.base base64.3.5.1 base_bigstring.v0.16.0 base_quickcheck.v0.16.0 bigstringaf.0.10.0 bin_prot.v0.16.0 biniou.1.2.2 bos.0.2.1 camlp-streams.5.0.1 camlzip.1.13 cmdliner.1.3.0 conf-bash.1 conf-g++.1.0 conf-libcurl.2 conf-libevent.1 conf-libpcre.2 conf-pkg-config.4 conf-zlib.1 core.v0.16.2 cppo.1.8.0 csexp.1.5.2 devkit.1.20240429 digestif.1.2.0 dune.3.17.2 dune-configurator.3.17.2 dyn.3.17.2 easy-format.1.3.4 eqaf.0.10 extlib.1.8.0 extunix.0.4.3 fieldslib.v0.16.0 fmt.0.9.0 fpath.0.7.3 int_repr.v0.16.0 jane-street-headers.v0.16.0 jane_rope.v0.16.0 jsonm.1.0.2 jst-config.v0.16.0 libevent.0.9.0 logs.0.7.0 lwt.5.9.0 lwt_ppx.5.8.0 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 num.1.5-1 ocaml.5.0.0 ocaml-base-compiler.5.0.0 ocaml-compiler-libs.v0.12.4 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.15.0 ocamlfind.1.9.8 ocamlgraph.2.1.0 ocplib-endian.1.2 ocurl.0.9.2 omd.1.3.2 opam-core.2.3.0 opam-dune-lint.0.6 opam-file-format.2.1.6 opam-format.2.3.0 opam-repository.2.3.0 opam-state.2.3.0 ordering.3.17.2 ounit2.2.2.7 parsexp.v0.16.0 pcre.8.0.2 pp.2.0.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.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.35.0 ptime.1.2.0 re.1.12.0 re2.v0.16.0 regex_parser_intf.v0.16.0 rresult.0.7.0 seq.base sexplib.v0.16.0 sexplib0.v0.16.0 sha.1.15.4 spdx_licenses.1.3.0 splittable_random.v0.16.0 stdio.v0.16.0 stdlib-shims.0.3.0 stdune.3.17.2 stringext.1.6.0 swhid_core.0.1 time_now.v0.16.0 topkg.1.0.7 trace.0.9 typerep.v0.16.0 uri.4.4.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 monorobot.dev $DEPS"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
(env CI true)
(env OCAMLCI true)
(workdir /src)
(copy (src .) (dst /src/))
(run (shell "opam lint"))
(run (shell "opam exec -- opam-dune-lint"))
)


2025-02-05 08:33.05: Waiting for resource in pool OCluster
2025-02-05 09:21.43: Cancelling: Auto-cancelling job because it is no longer needed