Organisationsocaml-gospelortacc85346 ()(lint-opam)

(lint-opam)

Link Copied
Code Copied

Logs

2024-11-04 11:25.36: New job: test ocaml-gospel/ortac https://github.com/ocaml-gospel/ortac.git#refs/pull/272/head (c85346aacd05de308b6a9a8143e2b9d798f61949) (linux-x86_64:(lint-opam))
Base: ocaml/opam:debian-12-ocaml-5.0@sha256:7324055123748d9b28eb910c0aea342ef8c6a4ba9f47b5949f17ccd0b67a4704
Opam files lint


To reproduce locally:


git clone --recursive "https://github.com/ocaml-gospel/ortac.git" && cd "ortac" && git fetch origin "refs/pull/272/head" && git reset --hard c85346aa
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.0@sha256:7324055123748d9b28eb910c0aea342ef8c6a4ba9f47b5949f17ccd0b67a4704
# debian-12-5.0_opam-2.2
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 371a52f4a8b5c88dc9de4f5a5f6375fb0963297a || git fetch origin master) && git reset -q --hard 371a52f4a8b5c88dc9de4f5a5f6375fb0963297a && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 ortac-wrapper.opam ortac-runtime.opam ortac-runtime-qcheck-stm.opam ortac-runtime-monolith.opam ortac-qcheck-stm.opam ortac-monolith.opam ortac-examples.opam ortac-dune.opam ortac-core.opam ./
RUN opam pin add -yn ortac-wrapper.dev './' && \
opam pin add -yn ortac-runtime.dev './' && \
opam pin add -yn ortac-runtime-qcheck-stm.dev './' && \
opam pin add -yn ortac-runtime-monolith.dev './' && \
opam pin add -yn ortac-qcheck-stm.dev './' && \
opam pin add -yn ortac-monolith.dev './' && \
opam pin add -yn ortac-examples.dev './' && \
opam pin add -yn ortac-dune.dev './' && \
opam pin add -yn ortac-core.dev './'
ENV DEPS="afl-persistent.1.4 alcotest.1.8.0 astring.0.8.5 base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base bos.0.2.1 camlp-streams.5.0.1 cmdliner.1.3.0 conf-gmp.4 conf-pkg-config.3 cppo.1.7.0 csexp.1.5.2 dune.3.16.1 dune-build-info.3.16.1 dune-private-libs.3.16.1 dune-site.3.16.1 dyn.3.16.1 fmt.0.9.0 fpath.0.7.3 gospel.0.3.0 host-arch-x86_64.1 host-system-other.1 jsonm.1.0.2 logs.0.7.0 lwt-dllist.1.0.1 mdx.2.4.1 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 monolith.20230604 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 ocaml-version.3.6.9 ocamlbuild.0.15.0 ocamlfind.1.9.6 ocamlgraph.2.1.0 opam-core.2.2.1 opam-dune-lint.0.6 opam-file-format.2.1.6 opam-format.2.2.1 opam-repository.2.2.1 opam-state.2.2.1 ordering.3.16.1 parsexp.v0.16.0 pp.1.2.0 pp_loc.2.1.0 pprint.20230830 ppx_derivers.1.2.1 ppx_deriving.6.0.3 ppxlib.0.33.0 qcheck-core.0.22 qcheck-multicoretests-util.0.4 qcheck-stm.0.4 re.1.12.0 result.1.5 rresult.0.7.0 seq.base sexplib.v0.16.0 sexplib0.v0.16.0 sha.1.15.4 spdx_licenses.1.2.0 stdlib-shims.0.3.0 stdune.3.16.1 swhid_core.0.1 topkg.1.0.7 uutf.1.0.3 varray.0.2 zarith.1.14"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.2 --depext-only -y ortac-wrapper.dev ortac-runtime.dev ortac-runtime-qcheck-stm.dev ortac-runtime-monolith.dev ortac-qcheck-stm.dev ortac-monolith.dev ortac-examples.dev ortac-dune.dev ortac-core.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-11-04 11:25.36: Using cache hint "ocaml-gospel/ortac-ocaml/opam:debian-12-ocaml-5.0@sha256:7324055123748d9b28eb910c0aea342ef8c6a4ba9f47b5949f17ccd0b67a4704-debian-12-5.0_opam-2.2-6c40e5977f2cb6c40aa57e4de1617329"
2024-11-04 11:25.36: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.0@sha256:7324055123748d9b28eb910c0aea342ef8c6a4ba9f47b5949f17ccd0b67a4704)
(comment debian-12-5.0_opam-2.2)
(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 371a52f4a8b5c88dc9de4f5a5f6375fb0963297a || git fetch origin master) && git reset -q --hard 371a52f4a8b5c88dc9de4f5a5f6375fb0963297a && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src ortac-wrapper.opam ortac-runtime.opam ortac-runtime-qcheck-stm.opam ortac-runtime-monolith.opam ortac-qcheck-stm.opam ortac-monolith.opam ortac-examples.opam ortac-dune.opam ortac-core.opam)
(dst ./))
(run (network host)
(shell  "opam pin add -yn ortac-wrapper.dev './' && \
\nopam pin add -yn ortac-runtime.dev './' && \
\nopam pin add -yn ortac-runtime-qcheck-stm.dev './' && \
\nopam pin add -yn ortac-runtime-monolith.dev './' && \
\nopam pin add -yn ortac-qcheck-stm.dev './' && \
\nopam pin add -yn ortac-monolith.dev './' && \
\nopam pin add -yn ortac-examples.dev './' && \
\nopam pin add -yn ortac-dune.dev './' && \
\nopam pin add -yn ortac-core.dev './'"))
(env DEPS "afl-persistent.1.4 alcotest.1.8.0 astring.0.8.5 base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base bos.0.2.1 camlp-streams.5.0.1 cmdliner.1.3.0 conf-gmp.4 conf-pkg-config.3 cppo.1.7.0 csexp.1.5.2 dune.3.16.1 dune-build-info.3.16.1 dune-private-libs.3.16.1 dune-site.3.16.1 dyn.3.16.1 fmt.0.9.0 fpath.0.7.3 gospel.0.3.0 host-arch-x86_64.1 host-system-other.1 jsonm.1.0.2 logs.0.7.0 lwt-dllist.1.0.1 mdx.2.4.1 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 monolith.20230604 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 ocaml-version.3.6.9 ocamlbuild.0.15.0 ocamlfind.1.9.6 ocamlgraph.2.1.0 opam-core.2.2.1 opam-dune-lint.0.6 opam-file-format.2.1.6 opam-format.2.2.1 opam-repository.2.2.1 opam-state.2.2.1 ordering.3.16.1 parsexp.v0.16.0 pp.1.2.0 pp_loc.2.1.0 pprint.20230830 ppx_derivers.1.2.1 ppx_deriving.6.0.3 ppxlib.0.33.0 qcheck-core.0.22 qcheck-multicoretests-util.0.4 qcheck-stm.0.4 re.1.12.0 result.1.5 rresult.0.7.0 seq.base sexplib.v0.16.0 sexplib0.v0.16.0 sha.1.15.4 spdx_licenses.1.2.0 stdlib-shims.0.3.0 stdune.3.16.1 swhid_core.0.1 topkg.1.0.7 uutf.1.0.3 varray.0.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 ortac-wrapper.dev ortac-runtime.dev ortac-runtime-qcheck-stm.dev ortac-runtime-monolith.dev ortac-qcheck-stm.dev ortac-monolith.dev ortac-examples.dev ortac-dune.dev ortac-core.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-11-04 11:25.36: Waiting for resource in pool OCluster
2024-11-04 12:40.39: Cancelling: Auto-cancelling job because it is no longer needed