Organisationsmirageocaml-githubee75f6 (master)(lint-opam)

(lint-opam)

Link Copied
Code Copied

Logs

2026-01-09 21:47.58: New job: test mirage/ocaml-github https://github.com/mirage/ocaml-github.git#refs/heads/master (ee75f6939ddfaff0bb92b5f6efdd9791a02c9750) (linux-x86_64:(lint-opam))
Base: ocaml/opam:debian-13-ocaml-5.0@sha256:a02c1a0b7a5d28f99108d0e1c8ee85f661a8d952731fb6a3d63fa57a3dcd7ebb
Opam files lint


To reproduce locally:


git clone --recursive "https://github.com/mirage/ocaml-github.git" -b "master" && cd "ocaml-github" && git reset --hard ee75f693
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-5.0@sha256:a02c1a0b7a5d28f99108d0e1c8ee85f661a8d952731fb6a3d63fa57a3dcd7ebb
# debian-13-5.0_opam-2.5
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 2dee2fe30df966714e056f8af164fe0ed7648a63 || git fetch origin master) && git reset -q --hard 2dee2fe30df966714e056f8af164fe0ed7648a63 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 github.opam github-unix.opam github-jsoo.opam github-data.opam ./
RUN opam pin add -yn github.dev './' && \
opam pin add -yn github-unix.dev './' && \
opam pin add -yn github-jsoo.dev './' && \
opam pin add -yn github-data.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="angstrom.0.16.1 asn1-combinators.0.3.2 astring.0.8.5 atd.3.0.1 atdgen.3.0.1 atdgen-runtime.3.0.1 base.v0.16.4 base-bigarray.base base-bytes.base base-domains.base base-nnp.base base-threads.base base-unix.base base64.3.5.2 bigstringaf.0.10.0 biniou.1.2.2 bos.0.2.1 ca-certs.1.0.1 camlp-streams.5.0.1 cmdliner.2.1.0 cohttp.6.2.1 cohttp-lwt.6.2.1 cohttp-lwt-jsoo.6.2.1 cohttp-lwt-unix.6.2.1 conduit.8.0.0 conduit-lwt.8.0.0 conduit-lwt-unix.8.0.0 conf-gmp.5 conf-gmp-powm-sec.4 conf-pkg-config.4 cppo.1.8.0 csexp.1.5.2 digestif.1.3.0 domain-name.0.5.0 dune.3.20.2 dune-configurator.3.20.2 duration.0.2.1 dyn.3.20.2 easy-format.1.3.4 eqaf.0.10 fmt.0.11.0 fpath.0.7.3 gen.1.1 gmap.0.3.0 http.6.2.1 ipaddr.5.6.1 ipaddr-sexp.5.6.1 js_of_ocaml.6.2.0 js_of_ocaml-compiler.6.2.0 js_of_ocaml-lwt.6.2.0 js_of_ocaml-ppx.6.2.0 jsonm.1.0.2 kdf.1.0.0 logs.0.10.0 lwt.5.9.2 macaddr.5.6.1 magic-mime.1.3.1 menhir.20250912 menhirCST.20250912 menhirLib.20250912 menhirSdk.20250912 mirage-crypto.2.0.2 mirage-crypto-ec.2.0.2 mirage-crypto-pk.2.0.2 mirage-crypto-rng.2.0.2 num.1.6 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.16.1 ocamlfind.1.9.8 ocamlgraph.2.2.0 ocplib-endian.1.2 ohex.0.2.0 opam-core.2.5.0 opam-dune-lint.0.6 opam-file-format.2.2.0 opam-format.2.5.0 opam-repository.2.5.0 opam-state.2.5.0 ordering.3.20.2 parsexp.v0.16.0 patch.3.1.0 pp.2.0.0 ppx_derivers.1.2.1 ppx_sexp_conv.v0.16.0 ppxlib.0.35.0 ptime.1.2.0 re.1.14.0 rresult.0.7.0 sedlex.3.7 seq.base sexplib.v0.16.0 sexplib0.v0.16.0 sha.1.15.4 spdx_licenses.1.4.0 stdlib-shims.0.3.0 stdune.3.20.2 stringext.1.6.0 swhid_core.0.1 topkg.1.1.1 uri.4.4.0 uri-sexp.4.4.0 uutf.1.0.4 x509.1.0.6 yojson.3.0.0 zarith.1.14"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.2 --depext-only -y github.dev github-unix.dev github-jsoo.dev github-data.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


2026-01-09 21:47.58: Using cache hint "mirage/ocaml-github-ocaml/opam:debian-13-ocaml-5.0@sha256:a02c1a0b7a5d28f99108d0e1c8ee85f661a8d952731fb6a3d63fa57a3dcd7ebb-debian-13-5.0_opam-2.5-6375e162ac3eaab16aba890b03379328"
2026-01-09 21:47.58: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.0@sha256:a02c1a0b7a5d28f99108d0e1c8ee85f661a8d952731fb6a3d63fa57a3dcd7ebb)
(comment debian-13-5.0_opam-2.5)
(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 2dee2fe30df966714e056f8af164fe0ed7648a63 || git fetch origin master) && git reset -q --hard 2dee2fe30df966714e056f8af164fe0ed7648a63 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src github.opam github-unix.opam github-jsoo.opam github-data.opam)
(dst ./))
(run (network host)
(shell  "opam pin add -yn github.dev './' && \
\nopam pin add -yn github-unix.dev './' && \
\nopam pin add -yn github-jsoo.dev './' && \
\nopam pin add -yn github-data.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "angstrom.0.16.1 asn1-combinators.0.3.2 astring.0.8.5 atd.3.0.1 atdgen.3.0.1 atdgen-runtime.3.0.1 base.v0.16.4 base-bigarray.base base-bytes.base base-domains.base base-nnp.base base-threads.base base-unix.base base64.3.5.2 bigstringaf.0.10.0 biniou.1.2.2 bos.0.2.1 ca-certs.1.0.1 camlp-streams.5.0.1 cmdliner.2.1.0 cohttp.6.2.1 cohttp-lwt.6.2.1 cohttp-lwt-jsoo.6.2.1 cohttp-lwt-unix.6.2.1 conduit.8.0.0 conduit-lwt.8.0.0 conduit-lwt-unix.8.0.0 conf-gmp.5 conf-gmp-powm-sec.4 conf-pkg-config.4 cppo.1.8.0 csexp.1.5.2 digestif.1.3.0 domain-name.0.5.0 dune.3.20.2 dune-configurator.3.20.2 duration.0.2.1 dyn.3.20.2 easy-format.1.3.4 eqaf.0.10 fmt.0.11.0 fpath.0.7.3 gen.1.1 gmap.0.3.0 http.6.2.1 ipaddr.5.6.1 ipaddr-sexp.5.6.1 js_of_ocaml.6.2.0 js_of_ocaml-compiler.6.2.0 js_of_ocaml-lwt.6.2.0 js_of_ocaml-ppx.6.2.0 jsonm.1.0.2 kdf.1.0.0 logs.0.10.0 lwt.5.9.2 macaddr.5.6.1 magic-mime.1.3.1 menhir.20250912 menhirCST.20250912 menhirLib.20250912 menhirSdk.20250912 mirage-crypto.2.0.2 mirage-crypto-ec.2.0.2 mirage-crypto-pk.2.0.2 mirage-crypto-rng.2.0.2 num.1.6 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.16.1 ocamlfind.1.9.8 ocamlgraph.2.2.0 ocplib-endian.1.2 ohex.0.2.0 opam-core.2.5.0 opam-dune-lint.0.6 opam-file-format.2.2.0 opam-format.2.5.0 opam-repository.2.5.0 opam-state.2.5.0 ordering.3.20.2 parsexp.v0.16.0 patch.3.1.0 pp.2.0.0 ppx_derivers.1.2.1 ppx_sexp_conv.v0.16.0 ppxlib.0.35.0 ptime.1.2.0 re.1.14.0 rresult.0.7.0 sedlex.3.7 seq.base sexplib.v0.16.0 sexplib0.v0.16.0 sha.1.15.4 spdx_licenses.1.4.0 stdlib-shims.0.3.0 stdune.3.20.2 stringext.1.6.0 swhid_core.0.1 topkg.1.1.1 uri.4.4.0 uri-sexp.4.4.0 uutf.1.0.4 x509.1.0.6 yojson.3.0.0 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 github.dev github-unix.dev github-jsoo.dev github-data.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"))
)


2026-01-09 21:47.58: Waiting for resource in pool OCluster
2026-01-10 00:15.20: Waiting for worker…
2026-01-10 00:15.37: Got resource from pool OCluster
Building on bremusa.ocamllabs.io
Uncaught exception: Unix.Unix_error(Unix.ENOSPC, "mkdir", "/var/cache/obuilder/ocluster/tmp/build-context-7cf4b5")
2026-01-10 00:15.37: Job failed: Failed: Internal error