Organisationsrobur-coopalbatross9e54c9 ()(lint-opam)

(lint-opam)

Logs

Show full logs
2024-09-03 18:52.31: New job: test robur-coop/albatross https://github.com/robur-coop/albatross.git#refs/heads/main (9e54c94b5515d6843d850c7aaebcbbb755418c89) (linux-x86_64:(lint-opam))
Base: ocaml/opam:debian-12-ocaml-5.0@sha256:4709c1d1ba0c8d224c1d78bbc265b386a8a128abe929d2334a7a0eb623b8b1cd
Opam files lint

To reproduce locally:

git clone --recursive "https://github.com/robur-coop/albatross.git" -b "main" && cd "albatross" && git reset --hard 9e54c94b
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.0@sha256:4709c1d1ba0c8d224c1d78bbc265b386a8a128abe929d2334a7a0eb623b8b1cd
# 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 c84345705ea5f90cfcd4b6a0ce7bd5b7b0772e13 || git fetch origin master) && git reset -q --hard c84345705ea5f90cfcd4b6a0ce7bd5b7b0772e13 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 albatross.opam ./
RUN opam pin add -yn albatross.dev './'
ENV DEPS="alcotest.1.8.0 angstrom.0.16.0 asn1-combinators.0.3.1 astring.0.8.5 base-bigarray.base base-bytes.base base-domains.base base-nnp.base base-threads.base base-unix.base base64.3.5.1 bigstringaf.0.10.0 bos.0.2.1 ca-certs.1.0.0 checkseum.0.5.2 cmdliner.1.3.0 conf-gmp.4 conf-gmp-powm-sec.3 conf-libnl3.1 conf-pkg-config.3 cppo.1.6.9 csexp.1.5.2 cstruct.6.2.0 decompress.1.5.3 digestif.1.2.0 dns.9.0.0 domain-name.0.4.0 dune.3.16.0 dune-configurator.3.16.0 duration.0.2.1 dyn.3.16.0 eqaf.0.10 faraday.0.8.2 faraday-lwt.0.8.2 faraday-lwt-unix.0.8.2 fmt.0.9.0 fpath.0.7.3 gmap.0.3.0 h2.0.12.0 happy-eyeballs.1.2.0 happy-eyeballs-lwt.1.2.0 hkdf.2.0.0 host-arch-x86_64.1 host-system-other.1 hpack.0.12.0 http-lwt-client.0.3.0 httpaf.0.7.1 httpun-types.0.1.0 ipaddr.5.6.0 jsonm.1.0.2 logs.0.7.0 logs-syslog.0.4.1 lru.0.3.1 lwt.5.7.0 macaddr.5.6.0 metrics.0.4.1 metrics-influx.0.4.1 metrics-lwt.0.4.1 metrics-rusage.0.4.1 mirage-crypto.1.1.0 mirage-crypto-ec.1.1.0 mirage-crypto-pk.1.1.0 mirage-crypto-rng.1.1.0 mirage-crypto-rng-lwt.1.1.0 mtime.2.0.0 num.1.5-1 ocaml.5.0.0 ocaml-base-compiler.5.0.0 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 ocplib-endian.1.2 ohex.0.2.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 optint.0.3.0 ordering.3.16.0 owee.0.7 parsexp.v0.16.0 pbkdf.2.0.0 pp.1.2.0 psq.0.2.1 ptime.1.1.0 re.1.11.0 result.1.5 rresult.0.7.0 seq.base sexplib.v0.16.0 sexplib0.v0.16.0 sha.1.15.4 solo5-elftool.0.3.1 spdx_licenses.1.2.0 stdlib-shims.0.3.0 stdune.3.16.0 swhid_core.0.1 syslog-message.1.2.0 tls.1.0.0 tls-lwt.1.0.0 topkg.1.0.7 uutf.1.0.3 x509.1.0.2 zarith.1.14"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.2 --depext-only -y albatross.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-09-03 18:52.31: Using cache hint "robur-coop/albatross-ocaml/opam:debian-12-ocaml-5.0@sha256:4709c1d1ba0c8d224c1d78bbc265b386a8a128abe929d2334a7a0eb623b8b1cd-debian-12-5.0_opam-2.2-4874d806e0a6daa4f5ccd544e1f2c9d1"
2024-09-03 18:52.31: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.0@sha256:4709c1d1ba0c8d224c1d78bbc265b386a8a128abe929d2334a7a0eb623b8b1cd)
 (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 c84345705ea5f90cfcd4b6a0ce7bd5b7b0772e13 || git fetch origin master) && git reset -q --hard c84345705ea5f90cfcd4b6a0ce7bd5b7b0772e13 && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src albatross.opam) (dst ./))
 (run (network host)
      (shell "opam pin add -yn albatross.dev './'"))
 (env DEPS "alcotest.1.8.0 angstrom.0.16.0 asn1-combinators.0.3.1 astring.0.8.5 base-bigarray.base base-bytes.base base-domains.base base-nnp.base base-threads.base base-unix.base base64.3.5.1 bigstringaf.0.10.0 bos.0.2.1 ca-certs.1.0.0 checkseum.0.5.2 cmdliner.1.3.0 conf-gmp.4 conf-gmp-powm-sec.3 conf-libnl3.1 conf-pkg-config.3 cppo.1.6.9 csexp.1.5.2 cstruct.6.2.0 decompress.1.5.3 digestif.1.2.0 dns.9.0.0 domain-name.0.4.0 dune.3.16.0 dune-configurator.3.16.0 duration.0.2.1 dyn.3.16.0 eqaf.0.10 faraday.0.8.2 faraday-lwt.0.8.2 faraday-lwt-unix.0.8.2 fmt.0.9.0 fpath.0.7.3 gmap.0.3.0 h2.0.12.0 happy-eyeballs.1.2.0 happy-eyeballs-lwt.1.2.0 hkdf.2.0.0 host-arch-x86_64.1 host-system-other.1 hpack.0.12.0 http-lwt-client.0.3.0 httpaf.0.7.1 httpun-types.0.1.0 ipaddr.5.6.0 jsonm.1.0.2 logs.0.7.0 logs-syslog.0.4.1 lru.0.3.1 lwt.5.7.0 macaddr.5.6.0 metrics.0.4.1 metrics-influx.0.4.1 metrics-lwt.0.4.1 metrics-rusage.0.4.1 mirage-crypto.1.1.0 mirage-crypto-ec.1.1.0 mirage-crypto-pk.1.1.0 mirage-crypto-rng.1.1.0 mirage-crypto-rng-lwt.1.1.0 mtime.2.0.0 num.1.5-1 ocaml.5.0.0 ocaml-base-compiler.5.0.0 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 ocplib-endian.1.2 ohex.0.2.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 optint.0.3.0 ordering.3.16.0 owee.0.7 parsexp.v0.16.0 pbkdf.2.0.0 pp.1.2.0 psq.0.2.1 ptime.1.1.0 re.1.11.0 result.1.5 rresult.0.7.0 seq.base sexplib.v0.16.0 sexplib0.v0.16.0 sha.1.15.4 solo5-elftool.0.3.1 spdx_licenses.1.2.0 stdlib-shims.0.3.0 stdune.3.16.0 swhid_core.0.1 syslog-message.1.2.0 tls.1.0.0 tls-lwt.1.0.0 topkg.1.0.7 uutf.1.0.3 x509.1.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 albatross.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-09-03 18:52.31: Waiting for resource in pool OCluster
2024-09-03 18:52.31: Waiting for worker…
2024-09-03 18:52.33: Got resource from pool OCluster
Building on x86-bm-c3.sw.ocaml.org
HEAD is now at 6da7cf1 minor change adjustments
HEAD is now at 9e54c94 Adapt to tls 1.0.0, mirage-crypto 1.0.0, and asn1-combinators 0.3.0 API changes (#187)

(from ocaml/opam:debian-12-ocaml-5.0@sha256:4709c1d1ba0c8d224c1d78bbc265b386a8a128abe929d2334a7a0eb623b8b1cd)
Unable to find image 'ocaml/opam:debian-12-ocaml-5.0@sha256:4709c1d1ba0c8d224c1d78bbc265b386a8a128abe929d2334a7a0eb623b8b1cd' locally
docker.io/ocaml/opam@sha256:4709c1d1ba0c8d224c1d78bbc265b386a8a128abe929d2334a7a0eb623b8b1cd: Pulling from ocaml/opam
0422411dcab8: Pulling fs layer
0422411dcab8: Verifying Checksum
0422411dcab8: Download complete
0422411dcab8: Pull complete
Digest: sha256:4709c1d1ba0c8d224c1d78bbc265b386a8a128abe929d2334a7a0eb623b8b1cd
Status: Downloaded newer image for ocaml/opam@sha256:4709c1d1ba0c8d224c1d78bbc265b386a8a128abe929d2334a7a0eb623b8b1cd
2024-09-03 18:54.21 ---> saved as "9805adddd64ffacdd5b7ceb881eaa9af3e814c1eabbc3ec4c267d9e0fbefbe78"

/: (comment debian-12-5.0_opam-2.2)

/: (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"))
2024-09-03 18:54.21 ---> saved as "72145f50d75b52c18953ff6eea62fe0a1fbc25b859b2da63eb36444d45e35bc7"

/src: (run (shell "opam init --reinit -ni"))
Configuring from /home/opam/.opamrc and then from built-in defaults.
Checking for available remotes: rsync and local, git.
  - you won't be able to use mercurial repositories unless you install the hg command on your system.
  - you won't be able to use darcs repositories unless you install the darcs command on your system.

This development version of opam requires an update to the layout of /home/opam/.opam from version 2.0 to version 2.2, which can't be reverted.
You may want to back it up before going further.

Continue? [y/n] y
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
2024-09-03 18:54.46: Cancelling: Auto-cancelling job because it is no longer needed
Job cancelled