Organisationsmirageprometheusf8a722 ()(lint-opam)

(lint-opam)

Link Copied
Code Copied

Logs

2025-12-06 20:19.50: New job: test mirage/prometheus https://github.com/mirage/prometheus.git#refs/pull/51/head (f8a722a1ae3467991527c9811d470da3f3057312) (linux-x86_64:(lint-opam))
Base: ocaml/opam:debian-13-ocaml-5.0@sha256:a0cf5c5cb1f8ca4efebab87b6c14f9310ef972c73f209901227e88810a32ae28
Opam files lint


To reproduce locally:


git clone --recursive "https://github.com/mirage/prometheus.git" && cd "prometheus" && git fetch origin "refs/pull/51/head" && git reset --hard f8a722a1
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-5.0@sha256:a0cf5c5cb1f8ca4efebab87b6c14f9310ef972c73f209901227e88810a32ae28
# debian-13-5.0_opam-2.4
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 5a187d06f70bfbf45072f1e2a96e6852c7b01fc9 || git fetch origin master) && git reset -q --hard 5a187d06f70bfbf45072f1e2a96e6852c7b01fc9 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 prometheus.opam prometheus-app.opam ./
RUN opam pin add -yn prometheus.dev './' && \
opam pin add -yn prometheus-app.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="alcotest.1.9.1 alcotest-lwt.1.9.1 angstrom.0.16.1 asetmap.0.8.1 asn1-combinators.0.3.2 astring.0.8.5 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 bos.0.2.1 ca-certs.1.0.1 cmdliner.2.1.0 cohttp.6.1.1 cohttp-lwt.6.1.1 cohttp-lwt-unix.6.1.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 eqaf.0.10 fmt.0.11.0 fpath.0.7.3 gmap.0.3.0 http.6.1.1 ipaddr.5.6.1 ipaddr-sexp.5.6.1 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 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 zarith.1.14"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.2 --depext-only -y prometheus.dev prometheus-app.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-12-06 20:19.50: Using cache hint "mirage/prometheus-ocaml/opam:debian-13-ocaml-5.0@sha256:a0cf5c5cb1f8ca4efebab87b6c14f9310ef972c73f209901227e88810a32ae28-debian-13-5.0_opam-2.4-09d9bc59e655417e53d5840fcf7336ee"
2025-12-06 20:19.50: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.0@sha256:a0cf5c5cb1f8ca4efebab87b6c14f9310ef972c73f209901227e88810a32ae28)
(comment debian-13-5.0_opam-2.4)
(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 5a187d06f70bfbf45072f1e2a96e6852c7b01fc9 || git fetch origin master) && git reset -q --hard 5a187d06f70bfbf45072f1e2a96e6852c7b01fc9 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src prometheus.opam prometheus-app.opam) (dst ./))
(run (network host)
(shell  "opam pin add -yn prometheus.dev './' && \
\nopam pin add -yn prometheus-app.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "alcotest.1.9.1 alcotest-lwt.1.9.1 angstrom.0.16.1 asetmap.0.8.1 asn1-combinators.0.3.2 astring.0.8.5 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 bos.0.2.1 ca-certs.1.0.1 cmdliner.2.1.0 cohttp.6.1.1 cohttp-lwt.6.1.1 cohttp-lwt-unix.6.1.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 eqaf.0.10 fmt.0.11.0 fpath.0.7.3 gmap.0.3.0 http.6.1.1 ipaddr.5.6.1 ipaddr-sexp.5.6.1 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 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 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 prometheus.dev prometheus-app.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-12-06 20:19.50: Waiting for resource in pool OCluster
2025-12-06 20:19.50: Waiting for worker…
2025-12-06 20:19.51: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
HEAD is now at f8a722a Add option to allow specifying address to bind to


(from ocaml/opam:debian-13-ocaml-5.0@sha256:a0cf5c5cb1f8ca4efebab87b6c14f9310ef972c73f209901227e88810a32ae28)
Unable to find image 'ocaml/opam:debian-13-ocaml-5.0@sha256:a0cf5c5cb1f8ca4efebab87b6c14f9310ef972c73f209901227e88810a32ae28' locally
docker.io/ocaml/opam@sha256:a0cf5c5cb1f8ca4efebab87b6c14f9310ef972c73f209901227e88810a32ae28: Pulling from ocaml/opam
13cc39f8244a: Pulling fs layer
b27d53669817: Pulling fs layer
062c909e206e: Pulling fs layer
265baae72087: Pulling fs layer
b6b7b385247c: Pulling fs layer
bfb7bf5b7c6d: Pulling fs layer
13cc39f8244a: Waiting
b18c76fc18f2: Pulling fs layer
b27d53669817: Waiting
6bdbb37ee35f: Pulling fs layer
062c909e206e: Waiting
84035aa4da2d: Pulling fs layer
265baae72087: Waiting
0c3307e14207: Pulling fs layer
30b92d637d72: Pulling fs layer
991b07583706: Pulling fs layer
b18c76fc18f2: Waiting
e1d7a79a1495: Pulling fs layer
84035aa4da2d: Waiting
6b08d63c6214: Pulling fs layer
b6b7b385247c: Waiting
4c7236344711: Pulling fs layer
0c3307e14207: Waiting
12506f41e8b0: Pulling fs layer
30b92d637d72: Waiting
2330d596aec1: Pulling fs layer
a48299f5ec62: Pulling fs layer
bfb7bf5b7c6d: Waiting
6bdbb37ee35f: Waiting
991b07583706: Waiting
e1d7a79a1495: Waiting
2330d596aec1: Waiting
04618a577568: Pulling fs layer
6b08d63c6214: Waiting
a48299f5ec62: Waiting
8c4b002d072b: Pulling fs layer
4c7236344711: Waiting
4f4fb700ef54: Pulling fs layer
12506f41e8b0: Waiting
ff68f05e2976: Pulling fs layer
d5543b560a3e: Pulling fs layer
4a9030bbb1ef: Pulling fs layer
04618a577568: Waiting
4f4fb700ef54: Waiting
c59b3bec3411: Pulling fs layer
85a7c9be9495: Pulling fs layer
8c4b002d072b: Waiting
dbc6bd8f2e44: Pulling fs layer
d5543b560a3e: Waiting
85a7c9be9495: Waiting
4a9030bbb1ef: Waiting
6680a5133ca2: Pulling fs layer
dbc6bd8f2e44: Waiting
470c0056084c: Pulling fs layer
6680a5133ca2: Waiting
6b9af56b67cf: Pulling fs layer
c572cde25fb3: Pulling fs layer
033b2d405acf: Pulling fs layer
c572cde25fb3: Waiting
663cc5b3d424: Pulling fs layer
840bbd47fded: Pulling fs layer
6b9af56b67cf: Waiting
fb8f644ba010: Pulling fs layer
033b2d405acf: Waiting
66735543f230: Pulling fs layer
663cc5b3d424: Waiting
840bbd47fded: Waiting
7896354b8c11: Pulling fs layer
a0063722d8c2: Pulling fs layer
7018e4a5881b: Pulling fs layer
06436fd7f62d: Pulling fs layer
fb8f644ba010: Waiting
cde927a0d81e: Pulling fs layer
4199a76c0c74: Pulling fs layer
7018e4a5881b: Waiting
66735543f230: Waiting
4729d62cb70e: Pulling fs layer
a0063722d8c2: Waiting
cde927a0d81e: Waiting
4199a76c0c74: Waiting
7896354b8c11: Waiting
2025-12-06 20:20.48: Cancelling: Auto-cancelling job because it is no longer needed
b27d53669817: Verifying Checksum
b27d53669817: Download complete
062c909e206e: Download complete
265baae72087: Verifying Checksum
265baae72087: Download complete
b6b7b385247c: Verifying Checksum
b6b7b385247c: Download complete
13cc39f8244a: Verifying Checksum
13cc39f8244a: Download complete
bfb7bf5b7c6d: Verifying Checksum
bfb7bf5b7c6d: Download complete
b18c76fc18f2: Verifying Checksum
b18c76fc18f2: Download complete
6bdbb37ee35f: Verifying Checksum
6bdbb37ee35f: Download complete
84035aa4da2d: Verifying Checksum
84035aa4da2d: Download complete
0c3307e14207: Download complete
30b92d637d72: Verifying Checksum
30b92d637d72: Download complete
991b07583706: Verifying Checksum
991b07583706: Download complete
e1d7a79a1495: Verifying Checksum
e1d7a79a1495: Download complete
6b08d63c6214: Verifying Checksum
6b08d63c6214: Download complete
4c7236344711: Download complete
12506f41e8b0: Verifying Checksum
12506f41e8b0: Download complete
2330d596aec1: Download complete
a48299f5ec62: Verifying Checksum
a48299f5ec62: Download complete
13cc39f8244a: Pull complete
b27d53669817: Pull complete
04618a577568: Download complete
8c4b002d072b: Download complete
062c909e206e: Pull complete
4f4fb700ef54: Download complete
d5543b560a3e: Download complete
ff68f05e2976: Verifying Checksum
ff68f05e2976: Download complete
4a9030bbb1ef: Download complete
85a7c9be9495: Verifying Checksum
85a7c9be9495: Download complete
dbc6bd8f2e44: Verifying Checksum
dbc6bd8f2e44: Download complete
c59b3bec3411: Download complete
6680a5133ca2: Download complete
265baae72087: Pull complete
b6b7b385247c: Pull complete
6b9af56b67cf: Verifying Checksum
6b9af56b67cf: Download complete
470c0056084c: Verifying Checksum
470c0056084c: Download complete
c572cde25fb3: Verifying Checksum
c572cde25fb3: Download complete
663cc5b3d424: Download complete
033b2d405acf: Download complete
fb8f644ba010: Download complete
7896354b8c11: Download complete
a0063722d8c2: Verifying Checksum
a0063722d8c2: Download complete
7018e4a5881b: Verifying Checksum
7018e4a5881b: Download complete
840bbd47fded: Verifying Checksum
840bbd47fded: Download complete
cde927a0d81e: Download complete
4199a76c0c74: Verifying Checksum
4199a76c0c74: Download complete
4729d62cb70e: Verifying Checksum
4729d62cb70e: Download complete
66735543f230: Verifying Checksum
66735543f230: Download complete
06436fd7f62d: Verifying Checksum
06436fd7f62d: Download complete
bfb7bf5b7c6d: Pull complete
b18c76fc18f2: Pull complete
6bdbb37ee35f: Pull complete
84035aa4da2d: Pull complete
0c3307e14207: Pull complete
30b92d637d72: Pull complete
991b07583706: Pull complete
e1d7a79a1495: Pull complete
6b08d63c6214: Pull complete
4c7236344711: Pull complete
12506f41e8b0: Pull complete
2330d596aec1: Pull complete
a48299f5ec62: Pull complete
04618a577568: Pull complete
8c4b002d072b: Pull complete
4f4fb700ef54: Pull complete
ff68f05e2976: Pull complete
d5543b560a3e: Pull complete
4a9030bbb1ef: Pull complete
c59b3bec3411: Pull complete
85a7c9be9495: Pull complete
dbc6bd8f2e44: Pull complete
6680a5133ca2: Pull complete
470c0056084c: Pull complete
6b9af56b67cf: Pull complete
c572cde25fb3: Pull complete
033b2d405acf: Pull complete
663cc5b3d424: Pull complete
840bbd47fded: Pull complete
fb8f644ba010: Pull complete
66735543f230: Pull complete
7896354b8c11: Pull complete
a0063722d8c2: Pull complete
7018e4a5881b: Pull complete
06436fd7f62d: Pull complete
cde927a0d81e: Pull complete
4199a76c0c74: Pull complete
4729d62cb70e: Pull complete
Digest: sha256:a0cf5c5cb1f8ca4efebab87b6c14f9310ef972c73f209901227e88810a32ae28
Status: Downloaded newer image for ocaml/opam@sha256:a0cf5c5cb1f8ca4efebab87b6c14f9310ef972c73f209901227e88810a32ae28
2025-12-06 20:24.07 ---> saved as "7ab6011a357d375af0d8162f2ea16d9122504ea3adf94e8562c73e2e151b67be"


/: (comment debian-13-5.0_opam-2.4)


/: (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