githubkit-ty-katecamllzma39b1d4 (main)(lint-doc)

(lint-doc)

Link Copied
Code Copied

Logs

2023-01-31 14:34.11: New job: test kit-ty-kate/camllzma https://github.com/kit-ty-kate/camllzma.git#refs/heads/main (39b1d49cd26494654efc753be2728a9d86a2c6b4) (linux-x86_64:(lint-doc))
Base: ocaml/opam@sha256:378d0025c90951eaecb405d32b6963613c49a0b55a6a65bef7ecde29167d4dfa
Opam project lint documentation

To reproduce locally:

git clone --recursive "https://github.com/kit-ty-kate/camllzma.git" -b "main" && cd "camllzma" && git reset --hard 39b1d49c
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam@sha256:378d0025c90951eaecb405d32b6963613c49a0b55a6a65bef7ecde29167d4dfa
# debian-11-5.0_opam-2.1
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam
RUN opam init --reinit -ni
WORKDIR /src
RUN sudo chown opam /src
RUN cd ~/opam-repository && (git cat-file -e e6f500dd9ab1eebe3df63ad224de0aa146f86431 || git fetch origin master) && git reset -q --hard e6f500dd9ab1eebe3df63ad224de0aa146f86431 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 camllzma.opam ./
RUN opam pin add -yn camllzma.dev './'
ENV DEPS="base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base conf-liblzma.1 conf-pkg-config.2 csexp.1.5.1 dune.3.6.1 dune-configurator.3.6.1 ocaml.5.0.0 ocaml-base-compiler.5.0.0 ocaml-config.3 ocaml-options-vanilla.1"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.1 --depext-only -y camllzma.dev $DEPS
RUN opam install $DEPS
RUN opam depext -i conf-m4 && opam depext -i 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

2023-01-31 14:34.11: Using cache hint "kit-ty-kate/camllzma-ocaml/opam@sha256:378d0025c90951eaecb405d32b6963613c49a0b55a6a65bef7ecde29167d4dfa-debian-11-5.0_opam-2.1-dcd6a56f62060852b18e9d41dccf8f8c"
2023-01-31 14:34.11: Using OBuilder spec:
((from ocaml/opam@sha256:378d0025c90951eaecb405d32b6963613c49a0b55a6a65bef7ecde29167d4dfa)
 (comment debian-11-5.0_opam-2.1)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (workdir /src)
 (run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam"))
 (run (shell "opam init --reinit -ni"))
 (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 e6f500dd9ab1eebe3df63ad224de0aa146f86431 || git fetch origin master) && git reset -q --hard e6f500dd9ab1eebe3df63ad224de0aa146f86431 && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src camllzma.opam) (dst ./))
 (run (network host)
      (shell "opam pin add -yn camllzma.dev './'"))
 (env DEPS "base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base conf-liblzma.1 conf-pkg-config.2 csexp.1.5.1 dune.3.6.1 dune-configurator.3.6.1 ocaml.5.0.0 ocaml-base-compiler.5.0.0 ocaml-config.3 ocaml-options-vanilla.1")
 (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.1 --depext-only -y camllzma.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 depext -i conf-m4 && opam depext -i 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)"))
)

2023-01-31 14:34.11: Waiting for resource in pool OCluster
2023-01-31 18:24.21: Waiting for worker…
2023-01-31 18:25.12: Got resource from pool OCluster
Building on apache.ocamllabs.io
All commits already cached
HEAD is now at 39b1d49 Improve the interface

(from ocaml/opam@sha256:378d0025c90951eaecb405d32b6963613c49a0b55a6a65bef7ecde29167d4dfa)
2023-01-31 18:25.22 ---> using "232a1e9f10af0dfadeaf08c550e207288f971e7c447bbb4920f4e4cd6320ea58" from cache

/: (comment debian-11-5.0_opam-2.1)

/: (user (uid 1000) (gid 1000))

/: (env CLICOLOR_FORCE 1)

/: (env OPAMCOLOR always)

/: (workdir /src)

/src: (run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam"))
2023-01-31 18:25.22 ---> using "e9484409dea6c3a392091117fa76a99c6a4568403d8cb3e9b127ef05e560e81f" 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 version of opam requires an update to the layout of /home/opam/.opam from version 2.0 to version 2.1, 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] synchronised from file:///home/opam/opam-repository
2023-01-31 18:25.22 ---> using "af83e00952b8ef4f78ef1d18a994e35c75b5da0c86260b649ecc8b9423d29406" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2023-01-31 18:25.22 ---> using "84816d2168779ea1b43673c72342d38611efc30b541a5dcf64168bdfa8957046" from cache

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e e6f500dd9ab1eebe3df63ad224de0aa146f86431 || git fetch origin master) && git reset -q --hard e6f500dd9ab1eebe3df63ad224de0aa146f86431 && git log --no-decorate -n1 --oneline && opam update -u"))
e6f500dd9a OCaml 5.0.0 opam packages

<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from 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
2023-01-31 18:25.22 ---> using "0c44064676ca3ae1e61107fdaa9abdce439518fc362f294a6e7347a7dcd49718" from cache

/src: (copy (src camllzma.opam) (dst ./))
2023-01-31 18:25.38 ---> saved as "d2d33372fbebcea71bb191ba57ede2c9c7ed75bd45f97b3629e4d51c2d58ded1"

/src: (run (network host)
           (shell "opam pin add -yn camllzma.dev './'"))
Package camllzma does not exist, create as a NEW package? [Y/n] y
[camllzma.dev] synchronised (file:///src)
camllzma is now pinned to file:///src (version dev)
2023-01-31 18:25.46 ---> saved as "6bd6fa45531b59c6a91cdb82acb83214296e12c39970a814fe94e0c1b94cfeab"

/src: (env DEPS "base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base conf-liblzma.1 conf-pkg-config.2 csexp.1.5.1 dune.3.6.1 dune-configurator.3.6.1 ocaml.5.0.0 ocaml-base-compiler.5.0.0 ocaml-config.3 ocaml-options-vanilla.1")

/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.1 --depext-only -y camllzma.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian bullseye InRelease
- Get:2 http://deb.debian.org/debian-security bullseye-security InRelease [48.4 kB]
- Get:3 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB]
- Get:4 http://deb.debian.org/debian-security bullseye-security/main amd64 Packages [218 kB]
- Fetched 310 kB in 1s (472 kB/s)
- Reading package lists...
- 

<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[camllzma.dev] synchronised (no changes)

[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 3).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.0.0).
[NOTE] Package ocaml is already installed (current version is 5.0.0).
[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-nnp is already installed (current version is base).
[NOTE] Package base-domains 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:
    liblzma-dev pkg-config

<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "liblzma-dev" "pkg-config"
- debconf: delaying package configuration, since apt-utils is not installed

2023-01-31 18:27.06 ---> saved as "9239df7ed7e3cf42a25c9d4d1eaf346ed784cf69f131a5fc95dca97117670076"

/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 3).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.0.0).
[NOTE] Package ocaml is already installed (current version is 5.0.0).
[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-nnp is already installed (current version is base).
[NOTE] Package base-domains 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 dune              3.6.1
  - install conf-pkg-config   2
  - install csexp             1.5.1
  - install conf-liblzma      1
  - install dune-configurator 3.6.1
===== 5 to install =====

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved csexp.1.5.1  (cached)
-> retrieved dune.3.6.1  (cached)
-> retrieved dune-configurator.3.6.1  (cached)
-> installed conf-pkg-config.2
-> installed conf-liblzma.1
-> installed dune.3.6.1
-> installed csexp.1.5.1
-> installed dune-configurator.3.6.1
Done.
# Run eval $(opam env) to update the current shell environment
2023-01-31 18:29.48 ---> saved as "458ff65567bd55b7147f1d2acf130e3aa3637f541e329a32690c2ebb6286d1ef"

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "opam depext -i conf-m4 && opam depext -i dune 'odoc>=1.5.0'"))
Opam plugin "depext" may require upgrading/reinstalling. Reinstall the plugin on the current switch? [Y/n] y
The following actions will be performed:
  - recompile opam-depext 1.2.1-1

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved opam-depext.1.2.1-1  (cached)
-> removed   opam-depext.1.2.1-1
-> installed opam-depext.1.2.1-1
Done.

<><> opam-depext.1.2.1-1 installed successfully <><><><><><><><><><><><><><><><>
=> opam-depext is unnecessary when used with opam >= 2.1. Please use opam install directly instead
# Run eval $(opam env) to update the current shell environment

<><> Carrying on to "opam depext -i conf-m4" ><><><><><><><><><><><><><><><><><>

You are using opam 2.1+, where external dependency handling has been integrated: consider calling opam directly, the 'depext' plugin interface is provided for backwards compatibility only
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
m4
# The following system packages are needed:
The following actions will be performed:
  - install conf-m4 1

The following system packages will first need to be installed:
    m4

<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
Let opam run your package manager to install the required system packages?
(answer 'n' for other options) [Y/n] y
+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "m4"
- debconf: delaying package configuration, since apt-utils is not installed

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed conf-m4.1
Done.
# Run eval $(opam env) to update the current shell environment
You are using opam 2.1+, where external dependency handling has been integrated: consider calling opam directly, the 'depext' plugin interface is provided for backwards compatibility only
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
# No extra OS packages requirements found.
[NOTE] Package dune is already installed (current version is 3.6.1).
The following actions will be performed:
  - install cppo          1.6.9  [required by odoc]
  - install result        1.5    [required by odoc]
  - install seq           base   [required by tyxml]
  - install ocamlfind     1.9.5  [required by fmt, astring, fpath]
  - install camlp-streams 5.0.1  [required by odoc-parser]
  - install ocamlbuild    0.14.2 [required by fmt, astring, fpath]
  - install cmdliner      1.1.1  [required by odoc]
  - install re            1.10.4 [required by tyxml]
  - install topkg         1.0.6  [required by fmt, astring, fpath]
  - install uutf          1.0.3  [required by tyxml]
  - install fmt           0.9.0  [required by odoc]
  - install astring       0.8.5  [required by odoc]
  - install tyxml         4.5.0  [required by odoc]
  - install odoc-parser   2.0.0  [required by odoc]
  - install fpath         0.7.3  [required by odoc]
  - install odoc          2.2.0
===== 16 to install =====

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved astring.0.8.5  (cached)
-> retrieved camlp-streams.5.0.1  (cached)
-> retrieved cmdliner.1.1.1  (cached)
-> retrieved cppo.1.6.9  (cached)
-> retrieved fmt.0.9.0  (cached)
-> retrieved fpath.0.7.3  (cached)
-> retrieved ocamlbuild.0.14.2  (cached)
-> retrieved ocamlfind.1.9.5  (cached)
-> retrieved odoc-parser.2.0.0  (cached)
-> retrieved odoc.2.2.0  (cached)
-> installed seq.base
-> installed camlp-streams.5.0.1
-> retrieved re.1.10.4  (cached)
-> retrieved result.1.5  (cached)
-> retrieved topkg.1.0.6  (cached)
-> retrieved tyxml.4.5.0  (cached)
-> retrieved uutf.1.0.3  (cached)
-> installed result.1.5
-> installed cppo.1.6.9
-> installed re.1.10.4
-> installed cmdliner.1.1.1
-> installed ocamlfind.1.9.5
-> installed ocamlbuild.0.14.2
-> installed topkg.1.0.6
-> installed uutf.1.0.3
-> installed fmt.0.9.0
-> installed astring.0.8.5
-> installed odoc-parser.2.0.0
-> installed fpath.0.7.3
-> installed tyxml.4.5.0
-> installed odoc.2.2.0
Done.
# Run eval $(opam env) to update the current shell environment
2023-01-31 18:35.36 ---> saved as "1c267a49702c26c51d569ec0e2788d7e8a8eb7298bb8997dcb64515834c3eb82"

/src: (copy (src .) (dst /src/))
2023-01-31 18:35.50 ---> saved as "cb20e392a4777fc112c3d3e87ab8b0a3a3ff6221e993669b4ee8f7f13b6bb5bd"

/src: (run (shell "ODOC_WARN_ERROR=false opam exec -- dune build @doc || (echo \"dune build @doc failed\"; exit 2)"))
2023-01-31 18:36.17 ---> saved as "41296482f1d5ca2338e4275ccdb2c56db81927bbf056cdc30bb2803878336a86"
Job succeeded
2023-01-31 18:36.18: Job succeeded