Organisationsmirageawa-sshadd9c5 ()(lint-doc)

(lint-doc)

Logs

Show full logs
2025-05-22 20:05.10: New job: test mirage/awa-ssh https://github.com/mirage/awa-ssh.git#refs/heads/main (add9c5a1cc1c9c9d668c24d14db8053194db9a2b) (linux-x86_64:(lint-doc))
Base: ocaml/opam:alpine-3.21-ocaml-4.14@sha256:c46d6084a2d69602000f28df4e6676c70008fc18356b5e0da6cde79296e0b89c
Opam project lint documentation

To reproduce locally:

git clone --recursive "https://github.com/mirage/awa-ssh.git" -b "main" && cd "awa-ssh" && git reset --hard add9c5a1
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:alpine-3.21-ocaml-4.14@sha256:c46d6084a2d69602000f28df4e6676c70008fc18356b5e0da6cde79296e0b89c
# alpine-3.21-4.14_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 2df846cb67d6f96ae4fced111519ff4ae27d19ae || git fetch origin master) && git reset -q --hard 2df846cb67d6f96ae4fced111519ff4ae27d19ae && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 awa.opam awa-mirage.opam ./
RUN opam pin add -yn awa.dev './' && \
    opam pin add -yn awa-mirage.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="asn1-combinators.0.3.2 base-bigarray.base base-bytes.base base-threads.base base-unix.base base64.3.5.1 cmdliner.1.3.0 conf-gmp.5 conf-gmp-powm-sec.4 conf-pkg-config.4 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 cstruct-unix.6.2.0 digestif.1.3.0 domain-name.0.4.1 dune.3.19.0 dune-configurator.3.19.0 duration.0.2.1 eqaf.0.10 fmt.0.10.0 gmap.0.3.0 ipaddr.5.6.0 kdf.1.0.0 logs.0.8.0 lwt.5.9.1 macaddr.5.6.0 mirage-crypto.2.0.1 mirage-crypto-ec.2.0.1 mirage-crypto-pk.2.0.1 mirage-crypto-rng.2.0.1 mirage-flow.5.0.0 mirage-mtime.5.0.0 mirage-sleep.4.0.0 mtime.2.1.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 ohex.0.2.0 ptime.1.2.0 topkg.1.0.8 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 awa.dev awa-mirage.dev $DEPS
RUN opam install $DEPS
RUN opam install --yes dune 'odoc>=1.5.0'
COPY --chown=1000:1000 . /src/
RUN ODOC_WARN_ERROR=false opam exec -- dune build @doc || (echo "dune build @doc failed"; exit 2)

END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK

2025-05-22 20:05.10: Using cache hint "mirage/awa-ssh-ocaml/opam:alpine-3.21-ocaml-4.14@sha256:c46d6084a2d69602000f28df4e6676c70008fc18356b5e0da6cde79296e0b89c-alpine-3.21-4.14_opam-2.3-1f84428a973d6b023453ef9a060985ca"
2025-05-22 20:05.10: Using OBuilder spec:
((from ocaml/opam:alpine-3.21-ocaml-4.14@sha256:c46d6084a2d69602000f28df4e6676c70008fc18356b5e0da6cde79296e0b89c)
 (comment alpine-3.21-4.14_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 2df846cb67d6f96ae4fced111519ff4ae27d19ae || git fetch origin master) && git reset -q --hard 2df846cb67d6f96ae4fced111519ff4ae27d19ae && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src awa.opam awa-mirage.opam) (dst ./))
 (run (network host)
      (shell  "opam pin add -yn awa.dev './' && \
             \nopam pin add -yn awa-mirage.dev './'"))
 (run (network host)
      (shell "echo '(lang dune 3.0)' > './dune-project'"))
 (env DEPS "asn1-combinators.0.3.2 base-bigarray.base base-bytes.base base-threads.base base-unix.base base64.3.5.1 cmdliner.1.3.0 conf-gmp.5 conf-gmp-powm-sec.4 conf-pkg-config.4 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 cstruct-unix.6.2.0 digestif.1.3.0 domain-name.0.4.1 dune.3.19.0 dune-configurator.3.19.0 duration.0.2.1 eqaf.0.10 fmt.0.10.0 gmap.0.3.0 ipaddr.5.6.0 kdf.1.0.0 logs.0.8.0 lwt.5.9.1 macaddr.5.6.0 mirage-crypto.2.0.1 mirage-crypto-ec.2.0.1 mirage-crypto-pk.2.0.1 mirage-crypto-rng.2.0.1 mirage-flow.5.0.0 mirage-mtime.5.0.0 mirage-sleep.4.0.0 mtime.2.1.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 ohex.0.2.0 ptime.1.2.0 topkg.1.0.8 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 awa.dev awa-mirage.dev $DEPS"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell "opam install $DEPS"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell "opam install --yes dune 'odoc>=1.5.0'"))
 (copy (src .) (dst /src/))
 (run (shell "ODOC_WARN_ERROR=false opam exec -- dune build @doc || (echo \"dune build @doc failed\"; exit 2)"))
)

2025-05-22 20:05.10: Waiting for resource in pool OCluster
2025-05-22 23:44.14: Waiting for worker…
2025-05-22 23:46.37: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
HEAD is now at add9c5a Merge pull request #80 from mirage/authie

(from ocaml/opam:alpine-3.21-ocaml-4.14@sha256:c46d6084a2d69602000f28df4e6676c70008fc18356b5e0da6cde79296e0b89c)
2025-05-22 23:46.37 ---> using "b31f8ea9b0da9063a13255c6536c5f85700cfe755ad07fbc6516da39211433c3" from cache

/: (comment alpine-3.21-4.14_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"))
2025-05-22 23:46.37 ---> using "f3fb2c594ffb9f0cafdd97c79534f9ddeb93b46000a3d3ed6ef9a9f3dd49702b" from cache

/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 ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-05-22 23:46.37 ---> using "3835235415d1e5820750520d4df602ea7f1e564ad08cea94f5ee83b2f13e4c37" from cache

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-134-generic
The OCaml toplevel, version 4.14.2
2.2.1
2025-05-22 23:46.37 ---> using "66f3bb7de938d2ced11527e2ee954324a4b3d37d855994e3abd61b872532729e" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2025-05-22 23:46.37 ---> using "38f5ebb7c93dd1b7b29d4976ff079a9c0f2712ec3c0a3dc6c1cae7284f0ca882" from cache

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e 2df846cb67d6f96ae4fced111519ff4ae27d19ae || git fetch origin master) && git reset -q --hard 2df846cb67d6f96ae4fced111519ff4ae27d19ae && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   35eb2f107a..2df846cb67  master     -> origin/master
2df846cb67 Merge pull request #27910 from maiste/release-dune-3.19.0

<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+file:///home/opam/opam-repository

Everything as up-to-date as possible (run with --verbose to show unavailable upgrades).
However, you may "opam upgrade" these packages explicitly, which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
# Run eval $(opam env) to update the current shell environment
2025-05-22 23:46.37 ---> using "501adafbbec7d608a202db3f2ce3cb2aae6809f118a6776dbcc6bc2ddb039b67" from cache

/src: (copy (src awa.opam awa-mirage.opam) (dst ./))
2025-05-22 23:46.37 ---> using "aa09660eee8e609cecabdb2b4af71442328bea6f3444a9b3e61cb4e8d77ee674" from cache

/src: (run (network host)
           (shell  "opam pin add -yn awa.dev './' && \
                  \nopam pin add -yn awa-mirage.dev './'"))
[awa.dev] synchronised (file:///src)
awa is now pinned to file:///src (version dev)
[awa-mirage.dev] synchronised (file:///src)
awa-mirage is now pinned to file:///src (version dev)
2025-05-22 23:46.37 ---> using "b769ff1aa586426710b2387acbe64efc023e7544a8b6a919b59cc61f322d3c2a" from cache

/src: (run (network host)
           (shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-05-22 23:46.37 ---> using "c8e04fa85531e5ebd4aaeba4c3fe9cc3c1ccf497ef2edb575f4e67f7ed23e768" from cache

/src: (env DEPS "asn1-combinators.0.3.2 base-bigarray.base base-bytes.base base-threads.base base-unix.base base64.3.5.1 cmdliner.1.3.0 conf-gmp.5 conf-gmp-powm-sec.4 conf-pkg-config.4 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 cstruct-unix.6.2.0 digestif.1.3.0 domain-name.0.4.1 dune.3.19.0 dune-configurator.3.19.0 duration.0.2.1 eqaf.0.10 fmt.0.10.0 gmap.0.3.0 ipaddr.5.6.0 kdf.1.0.0 logs.0.8.0 lwt.5.9.1 macaddr.5.6.0 mirage-crypto.2.0.1 mirage-crypto-ec.2.0.1 mirage-crypto-pk.2.0.1 mirage-crypto-rng.2.0.1 mirage-flow.5.0.0 mirage-mtime.5.0.0 mirage-sleep.4.0.0 mtime.2.1.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 ohex.0.2.0 ptime.1.2.0 topkg.1.0.8 x509.1.0.6 zarith.1.14")

/src: (env CI true)

/src: (env OCAMLCI true)

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "opam update --depexts && opam install --cli=2.2 --depext-only -y awa.dev awa-mirage.dev $DEPS"))
+ /usr/bin/sudo "apk" "update"
- fetch https://dl-cdn.alpinelinux.org/alpine/v3.21/main/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/v3.21/community/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
- v3.21.3-519-g661074ec05e [https://dl-cdn.alpinelinux.org/alpine/v3.21/main]
- v3.21.3-519-g661074ec05e [https://dl-cdn.alpinelinux.org/alpine/v3.21/community]
- v20250108-8756-g1ef56896610 [https://dl-cdn.alpinelinux.org/alpine/edge/main]
- v20250108-8758-g9314f31576b [https://dl-cdn.alpinelinux.org/alpine/edge/community]
- v20250108-8750-gf897a2821ec [https://dl-cdn.alpinelinux.org/alpine/edge/testing]
- OK: 58275 distinct packages available

<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[awa.dev] synchronised (file:///src)
[awa-mirage.dev] synchronised (file:///src)

[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).

The following system packages will first need to be installed:
    gmp-dev

<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>

+ /usr/bin/sudo "apk" "add" "gmp-dev"
- (1/2) Installing libgmpxx (6.3.0-r2)
- (2/2) Installing gmp-dev (6.3.0-r2)
- OK: 310 MiB in 103 packages
2025-05-22 23:46.37 ---> using "9259cc41fbc2083dbfb0f74f560bfebdceac2989fb98bcdd69cbea053b7426b2" from cache

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "opam install $DEPS"))
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
The following actions will be performed:
=== install 40 packages
  - install asn1-combinators  0.3.2
  - install base-bytes        base
  - install base64            3.5.1
  - install cmdliner          1.3.0
  - install conf-gmp          5
  - install conf-gmp-powm-sec 4
  - install conf-pkg-config   4
  - install cppo              1.8.0
  - install csexp             1.5.2
  - install cstruct           6.2.0
  - install cstruct-unix      6.2.0
  - install digestif          1.3.0
  - install domain-name       0.4.1
  - install dune              3.19.0
  - install dune-configurator 3.19.0
  - install duration          0.2.1
  - install eqaf              0.10
  - install fmt               0.10.0
  - install gmap              0.3.0
  - install ipaddr            5.6.0
  - install kdf               1.0.0
  - install logs              0.8.0
  - install lwt               5.9.1
  - install macaddr           5.6.0
  - install mirage-crypto     2.0.1
  - install mirage-crypto-ec  2.0.1
  - install mirage-crypto-pk  2.0.1
  - install mirage-crypto-rng 2.0.1
  - install mirage-flow       5.0.0
  - install mirage-mtime      5.0.0
  - install mirage-sleep      4.0.0
  - install mtime             2.1.0
  - install ocamlbuild        0.16.1
  - install ocamlfind         1.9.8
  - install ocplib-endian     1.2
  - install ohex              0.2.0
  - install ptime             1.2.0
  - install topkg             1.0.8
  - install x509              1.0.6
  - install zarith            1.14

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved base64.3.5.1  (cached)
-> retrieved conf-gmp.5  (cached)
-> retrieved conf-gmp-powm-sec.4  (cached)
-> retrieved asn1-combinators.0.3.2  (cached)
-> retrieved cmdliner.1.3.0  (cached)
-> retrieved cppo.1.8.0  (cached)
-> installed conf-gmp.5
-> installed conf-pkg-config.4
-> retrieved csexp.1.5.2  (cached)
-> retrieved cstruct.6.2.0, cstruct-unix.6.2.0  (cached)
-> installed conf-gmp-powm-sec.4
-> retrieved domain-name.0.4.1  (cached)
-> retrieved duration.0.2.1  (cached)
-> retrieved eqaf.0.10  (cached)
-> retrieved fmt.0.10.0  (cached)
-> retrieved gmap.0.3.0  (cached)
-> retrieved ipaddr.5.6.0, macaddr.5.6.0  (cached)
-> retrieved kdf.1.0.0  (cached)
-> retrieved logs.0.8.0  (cached)
-> retrieved lwt.5.9.1  (cached)
-> retrieved digestif.1.3.0  (cached)
-> retrieved mirage-flow.5.0.0  (cached)
-> retrieved mirage-mtime.5.0.0  (cached)
-> retrieved mirage-sleep.4.0.0  (cached)
-> retrieved mtime.2.1.0  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved dune.3.19.0, dune-configurator.3.19.0  (cached)
-> retrieved mirage-crypto.2.0.1, mirage-crypto-ec.2.0.1, mirage-crypto-pk.2.0.1, mirage-crypto-rng.2.0.1  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved ohex.0.2.0  (cached)
-> retrieved ptime.1.2.0  (cached)
-> retrieved zarith.1.14  (cached)
-> retrieved topkg.1.0.8  (cached)
-> installed cmdliner.1.3.0
-> retrieved x509.1.0.6  (cached)
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed ocamlbuild.0.16.1
-> installed zarith.1.14
-> installed topkg.1.0.8
-> installed mtime.2.1.0
-> installed fmt.0.10.0
-> installed ptime.1.2.0
-> installed dune.3.19.0
-> installed duration.0.2.1
-> installed gmap.0.3.0
-> installed ohex.0.2.0
-> installed csexp.1.5.2
-> installed asn1-combinators.0.3.2
-> installed base64.3.5.1
-> installed cppo.1.8.0
-> installed cstruct.6.2.0
-> installed domain-name.0.4.1
-> installed eqaf.0.10
-> installed macaddr.5.6.0
-> installed mirage-mtime.5.0.0
-> installed cstruct-unix.6.2.0
-> installed ocplib-endian.1.2
-> installed ipaddr.5.6.0
-> installed digestif.1.3.0
-> installed dune-configurator.3.19.0
-> installed mirage-crypto.2.0.1
-> installed kdf.1.0.0
-> installed lwt.5.9.1
-> installed mirage-flow.5.0.0
-> installed mirage-sleep.4.0.0
-> installed logs.0.8.0
-> installed mirage-crypto-rng.2.0.1
-> installed mirage-crypto-pk.2.0.1
-> installed mirage-crypto-ec.2.0.1
-> installed x509.1.0.6
Done.
# Run eval $(opam env) to update the current shell environment
2025-05-22 23:46.44 ---> saved as "883593ecf55c96ebe34a03db90b2a74ea03734a7389e6b0510dca17ad14d48d3"

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "opam install --yes dune 'odoc>=1.5.0'"))
[NOTE] Package dune is already installed (current version is 3.19.0).
The following actions will be performed:
=== install 12 packages
  - install astring       0.8.5  [required by odoc]
  - install camlp-streams 5.0.1  [required by odoc-parser]
  - install crunch        4.0.0  [required by odoc]
  - install fpath         0.7.3  [required by odoc]
  - install odoc          3.0.0
  - install odoc-parser   3.0.0  [required by odoc]
  - install re            1.12.0 [required by tyxml]
  - install result        1.5    [required by odoc]
  - install seq           base   [required by tyxml, yojson]
  - install tyxml         4.6.0  [required by odoc]
  - install uutf          1.0.4  [required by tyxml]
  - install yojson        2.2.2  [required by odoc]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved camlp-streams.5.0.1  (cached)
-> retrieved astring.0.8.5  (cached)
-> retrieved crunch.4.0.0  (cached)
-> retrieved fpath.0.7.3  (cached)
-> retrieved re.1.12.0  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved result.1.5  (cached)
-> retrieved tyxml.4.6.0  (cached)
-> retrieved uutf.1.0.4  (cached)
-> retrieved yojson.2.2.2  (cached)
-> installed camlp-streams.5.0.1
-> retrieved odoc.3.0.0, odoc-parser.3.0.0  (cached)
-> installed crunch.4.0.0
-> installed re.1.12.0
-> installed astring.0.8.5
-> installed result.1.5
-> installed uutf.1.0.4
-> installed yojson.2.2.2
-> installed fpath.0.7.3
-> installed odoc-parser.3.0.0
-> installed tyxml.4.6.0
-> installed odoc.3.0.0
Done.
# Run eval $(opam env) to update the current shell environment
2025-05-22 23:47.06 ---> saved as "fe4be229348a20c597f555e9eb43598e71f2806d0a0ed36e8813f9bd7b9a9656"

/src: (copy (src .) (dst /src/))
2025-05-22 23:47.06 ---> saved as "21f704ec1bd1994436c2437aa779d232d47ecff7785862236eca04051a32f796"

/src: (run (shell "ODOC_WARN_ERROR=false opam exec -- dune build @doc || (echo \"dune build @doc failed\"; exit 2)"))
2025-05-22 23:47.07 ---> saved as "982401dd7d2def061cdb09d0a5577e6e28b778cd5a8615a9fd110133931226b4"
Job succeeded
2025-05-22 23:47.08: Job succeeded