Organisationsahrefsmonorobot31bd0d ()(lint-opam)

(lint-opam)

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-opam))
Base: ocaml/opam:debian-12-ocaml-5.0@sha256:86bf5626a3edf0dc4e12aa26f6c9bdfac678e44a59bb6ea10cfb06d640865452
Opam files lint


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:debian-12-ocaml-5.0@sha256:86bf5626a3edf0dc4e12aa26f6c9bdfac678e44a59bb6ea10cfb06d640865452
# 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 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-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 bigarray-compat.1.1.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-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 dyn.3.17.1 easy-format.1.3.4 extlib.1.8.0 extunix.0.4.3 fieldslib.v0.16.0 fmt.0.9.0 fpath.0.7.3 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 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 mirage-no-solo5.1 mirage-no-xen.1 nocrypto.0.5.4-2 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.6 ocamlgraph.2.1.0 ocb-stubblr.0.1.1-1 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.1 ounit2.2.2.7 parsexp.v0.16.0 pcre.8.0.1 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_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 rresult.0.7.0 seq.base sexplib.v0.16.0 sexplib0.v0.16.0 sha.1.15.4 spdx_licenses.1.2.0 splittable_random.v0.16.0 stdio.v0.16.0 stdlib-shims.0.3.0 stdune.3.17.1 stringext.1.6.0 swhid_core.0.1 time_now.v0.16.0 topkg.1.0.7 trace.0.8 typerep.v0.16.0 uri.4.4.0 uutf.1.0.3 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
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


2024-12-30 12:06.11: Using cache hint "ahrefs/monorobot-ocaml/opam:debian-12-ocaml-5.0@sha256:86bf5626a3edf0dc4e12aa26f6c9bdfac678e44a59bb6ea10cfb06d640865452-debian-12-5.0_opam-2.3-3493311b485aa9fb0d8e135c8c71b52a"
2024-12-30 12:06.11: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.0@sha256:86bf5626a3edf0dc4e12aa26f6c9bdfac678e44a59bb6ea10cfb06d640865452)
(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 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-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 bigarray-compat.1.1.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-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 dyn.3.17.1 easy-format.1.3.4 extlib.1.8.0 extunix.0.4.3 fieldslib.v0.16.0 fmt.0.9.0 fpath.0.7.3 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 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 mirage-no-solo5.1 mirage-no-xen.1 nocrypto.0.5.4-2 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.6 ocamlgraph.2.1.0 ocb-stubblr.0.1.1-1 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.1 ounit2.2.2.7 parsexp.v0.16.0 pcre.8.0.1 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_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 rresult.0.7.0 seq.base sexplib.v0.16.0 sexplib0.v0.16.0 sha.1.15.4 spdx_licenses.1.2.0 splittable_random.v0.16.0 stdio.v0.16.0 stdlib-shims.0.3.0 stdune.3.17.1 stringext.1.6.0 swhid_core.0.1 time_now.v0.16.0 topkg.1.0.7 trace.0.8 typerep.v0.16.0 uri.4.4.0 uutf.1.0.3 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"))
(env CI true)
(env OCAMLCI true)
(workdir /src)
(copy (src .) (dst /src/))
(run (shell "opam lint"))
(run (shell "opam exec -- opam-dune-lint"))
)


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.11: Got resource from pool OCluster
Building on x86-bm-c1.sw.ocaml.org
All commits already cached
HEAD is now at 31bd0d7 Add dev notifications config (#170)


(from ocaml/opam:debian-12-ocaml-5.0@sha256:86bf5626a3edf0dc4e12aa26f6c9bdfac678e44a59bb6ea10cfb06d640865452)
2024-12-30 12:06.24: Cancelling: Auto-cancelling job because it is no longer needed
2024-12-30 12:07.10 ---> saved as "f0e58922b99e7a7955dd2ed4bd30c333adafee88d37a3701da02ad0412f94c9d"


/: (comment debian-12-5.0_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"))
Job cancelled