Organisationsmiragebechamela54a0b (main)(lint-doc)

(lint-doc)

Link Copied
Code Copied

Logs

2024-05-10 22:06.58: New job: test mirage/bechamel https://github.com/mirage/bechamel.git#refs/heads/main (a54a0b47300ed4ae9b95d4b05af701012caa31ca) (linux-x86_64:(lint-doc))
Base: ocaml/opam@sha256:99cef6473ce753ec3ec15fdcf5a0a0fb61c4c0ce64578b12e9efbe0222b1602b
Opam project lint documentation


To reproduce locally:


git clone --recursive "https://github.com/mirage/bechamel.git" -b "main" && cd "bechamel" && git reset --hard a54a0b47
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam@sha256:99cef6473ce753ec3ec15fdcf5a0a0fb61c4c0ce64578b12e9efbe0222b1602b
# debian-12-4.07_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
RUN uname -rs && opam exec -- ocaml -version && opam --version
WORKDIR /src
RUN sudo chown opam /src
RUN cd ~/opam-repository && (git cat-file -e 2275b400535e884d216047a092e70705139c9e41 || git fetch origin master) && git reset -q --hard 2275b400535e884d216047a092e70705139c9e41 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 mperf.opam bechamel.opam bechamel-perf.opam bechamel-notty.opam bechamel-js.opam ./
RUN opam pin add -yn mperf.dev './' && \
    opam pin add -yn bechamel.dev './' && \
    opam pin add -yn bechamel-perf.dev './' && \
    opam pin add -yn bechamel-notty.dev './' && \
    opam pin add -yn bechamel-js.dev './'
ENV DEPS="base-bigarray.base base-threads.base base-unix.base conf-linux-libc-dev.0 dune.3.15.2 ocaml.4.07.1 ocaml-base-compiler.4.07.1 ocaml-config.1 ocaml-secondary-compiler.4.08.1-1 ocamlfind.1.9.6 ocamlfind-secondary.1.9.6"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.1 --depext-only -y mperf.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 --only-packages=mperf @doc || (echo "dune build @doc failed"; exit 2)


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


2024-05-10 22:06.58: Using cache hint "mirage/bechamel-ocaml/opam@sha256:99cef6473ce753ec3ec15fdcf5a0a0fb61c4c0ce64578b12e9efbe0222b1602b-debian-12-4.07_opam-2.1-095c72e976c5c4d4760949ded039665e"
2024-05-10 22:06.58: Using OBuilder spec:
((from ocaml/opam@sha256:99cef6473ce753ec3ec15fdcf5a0a0fb61c4c0ce64578b12e9efbe0222b1602b)
 (comment debian-12-4.07_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"))
 (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 2275b400535e884d216047a092e70705139c9e41 || git fetch origin master) && git reset -q --hard 2275b400535e884d216047a092e70705139c9e41 && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src mperf.opam bechamel.opam bechamel-perf.opam bechamel-notty.opam bechamel-js.opam)
       (dst ./))
 (run (network host)
      (shell  "opam pin add -yn mperf.dev './' && \
             \nopam pin add -yn bechamel.dev './' && \
             \nopam pin add -yn bechamel-perf.dev './' && \
             \nopam pin add -yn bechamel-notty.dev './' && \
             \nopam pin add -yn bechamel-js.dev './'"))
 (env DEPS "base-bigarray.base base-threads.base base-unix.base conf-linux-libc-dev.0 dune.3.15.2 ocaml.4.07.1 ocaml-base-compiler.4.07.1 ocaml-config.1 ocaml-secondary-compiler.4.08.1-1 ocamlfind.1.9.6 ocamlfind-secondary.1.9.6")
 (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 mperf.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 --only-packages=mperf @doc || (echo \"dune build @doc failed\"; exit 2)"))
)


2024-05-10 22:06.58: Waiting for resource in pool OCluster
2024-05-11 12:48.38: Waiting for worker…
2024-05-11 12:55.41: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
HEAD is now at a54a0b4 Merge pull request #48 from mirage/prepare-v0.5.0


(from ocaml/opam@sha256:99cef6473ce753ec3ec15fdcf5a0a0fb61c4c0ce64578b12e9efbe0222b1602b)
Unable to find image 'ocaml/opam@sha256:99cef6473ce753ec3ec15fdcf5a0a0fb61c4c0ce64578b12e9efbe0222b1602b' locally
docker.io/ocaml/opam@sha256:99cef6473ce753ec3ec15fdcf5a0a0fb61c4c0ce64578b12e9efbe0222b1602b: Pulling from ocaml/opam
Digest: sha256:99cef6473ce753ec3ec15fdcf5a0a0fb61c4c0ce64578b12e9efbe0222b1602b
Status: Downloaded newer image for ocaml/opam@sha256:99cef6473ce753ec3ec15fdcf5a0a0fb61c4c0ce64578b12e9efbe0222b1602b
2024-05-11 12:55.41 ---> using "6ad54a8a0a996de05cd03ed30cbb4884566b39028d090d19101121413431a89f" from cache


/: (comment debian-12-4.07_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"))
2024-05-11 12:55.41 ---> using "f0b7040ce20c0568672a3afcab01929fd18e2ee66f02faa8d94fd05399839280" 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
2024-05-11 12:55.41 ---> using "1178bb4688e7e4718d4170c0ec783ce5396ae6f9cd4db4b0fb12bcb2662305da" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-101-generic
The OCaml toplevel, version 4.07.1
2.1.5
2024-05-11 12:55.41 ---> using "507d1b06732f1eddefe9afcbbd3414d34576360b7497df3aa76bf615c5a885e5" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2024-05-11 12:55.41 ---> using "b88e937d6c36e43c713a83fbd5f0a1b9c25ffbb55d9e0cc753e256236a40f949" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e 2275b400535e884d216047a092e70705139c9e41 || git fetch origin master) && git reset -q --hard 2275b400535e884d216047a092e70705139c9e41 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   6a2ad82c27..2ae169d7d0  master     -> origin/master
2275b40053 @dra27 maintains ocaml-secondary-compiler


<><> 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
2024-05-11 12:55.41 ---> using "721a5ea72b5c54d3305d7eda5795c2d490562520d2ba7cd42cbb98b0a56f6967" from cache


/src: (copy (src mperf.opam bechamel.opam bechamel-perf.opam bechamel-notty.opam bechamel-js.opam)
            (dst ./))
2024-05-11 12:55.41 ---> using "7de66770719da006a0ede61700882233ef616953130a72024dcd84905ca15597" from cache


/src: (run (network host)
           (shell  "opam pin add -yn mperf.dev './' && \
                  \nopam pin add -yn bechamel.dev './' && \
                  \nopam pin add -yn bechamel-perf.dev './' && \
                  \nopam pin add -yn bechamel-notty.dev './' && \
                  \nopam pin add -yn bechamel-js.dev './'"))
[mperf.dev] synchronised (file:///src)
mperf is now pinned to file:///src (version dev)
[bechamel.dev] synchronised (file:///src)
bechamel is now pinned to file:///src (version dev)
[bechamel-perf.dev] synchronised (file:///src)
bechamel-perf is now pinned to file:///src (version dev)
[bechamel-notty.dev] synchronised (file:///src)
bechamel-notty is now pinned to file:///src (version dev)
[bechamel-js.dev] synchronised (file:///src)
bechamel-js is now pinned to file:///src (version dev)
2024-05-11 12:55.46 ---> saved as "613d25b20231b962107b3be474e2946222b7453564358ebdfcd3880414bc9ea1"


/src: (env DEPS "base-bigarray.base base-threads.base base-unix.base conf-linux-libc-dev.0 dune.3.15.2 ocaml.4.07.1 ocaml-base-compiler.4.07.1 ocaml-config.1 ocaml-secondary-compiler.4.08.1-1 ocamlfind.1.9.6 ocamlfind-secondary.1.9.6")


/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 mperf.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian bookworm InRelease
- Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
- Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
- Get:4 http://deb.debian.org/debian bookworm-updates/main amd64 Packages.diff/Index [10.6 kB]
- Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages T-2024-04-23-2036.10-F-2024-04-23-2036.10.pdiff [1595 B]
- Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages T-2024-04-23-2036.10-F-2024-04-23-2036.10.pdiff [1595 B]
- Get:6 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [155 kB]
- Fetched 271 kB in 0s (763 kB/s)
- Reading package lists...


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


[NOTE] Package ocaml-secondary-compiler is already installed (current version is 4.08.1-1).
[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.07.1).
[NOTE] Package ocaml is already installed (current version is 4.07.1).
[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).
2024-05-11 12:56.00 ---> saved as "d39611b605e6eaa94c5af542bc8ac4a440bb7578676518cf8a24320a95b69dfb"


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "opam install $DEPS"))
[NOTE] Package ocaml-secondary-compiler is already installed (current version is 4.08.1-1).
[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.07.1).
[NOTE] Package ocaml is already installed (current version is 4.07.1).
[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 conf-linux-libc-dev 0
  - install ocamlfind           1.9.6
  - install ocamlfind-secondary 1.9.6
  - install dune                3.15.2
===== 4 to install =====


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.3.15.2  (cached)
-> retrieved ocamlfind.1.9.6  (cached)
-> retrieved ocamlfind-secondary.1.9.6  (cached)
-> installed conf-linux-libc-dev.0
-> installed ocamlfind.1.9.6
-> installed ocamlfind-secondary.1.9.6
-> installed dune.3.15.2
Done.
# Run eval $(opam env) to update the current shell environment
2024-05-11 12:56.45 ---> saved as "8548f933b504fc11e62d889cf81ddb1f79023c0b3efcc54a4de912a10418ee4d"


/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
# The following system packages are needed:
m4
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.15.2).
The following actions will be performed:
  - install cppo          1.6.9  [required by odoc]
  - install ocamlbuild    0.14.3 [required by fmt, astring, fpath]
  - install cmdliner      1.0.4  [required by odoc]
  - install result        1.5    [required by odoc]
  - install seq           base   [required by fmt, tyxml]
  - install camlp-streams 5.0.1  [required by odoc-parser]
  - install stdlib-shims  0.3.0  [required by fmt]
  - install topkg         1.0.7  [required by fmt, astring, fpath]
  - install re            1.11.0 [required by tyxml]
  - install uutf          1.0.3  [required by tyxml]
  - install ptime         0.8.6  [required by crunch]
  - install fmt           0.8.9  [required by odoc]
  - install astring       0.8.5  [required by odoc]
  - install tyxml         4.6.0  [required by odoc]
  - install crunch        3.2.0  [required by odoc]
  - install odoc-parser   2.4.2  [required by odoc]
  - install fpath         0.7.3  [required by odoc]
  - install odoc          2.4.2
===== 18 to install =====


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved camlp-streams.5.0.1  (cached)
-> retrieved astring.0.8.5  (cached)
-> retrieved cmdliner.1.0.4  (cached)
-> retrieved cppo.1.6.9  (cached)
-> retrieved crunch.3.2.0  (cached)
-> retrieved fmt.0.8.9  (cached)
-> retrieved fpath.0.7.3  (cached)
-> retrieved ocamlbuild.0.14.3  (cached)
-> retrieved ptime.0.8.6  (cached)
-> installed camlp-streams.5.0.1
-> retrieved re.1.11.0  (cached)
-> retrieved result.1.5  (cached)
-> installed seq.base
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved topkg.1.0.7  (cached)
-> retrieved tyxml.4.6.0  (cached)
-> retrieved odoc.2.4.2  (cached)
-> retrieved odoc-parser.2.4.2  (cached)
-> installed result.1.5
-> installed stdlib-shims.0.3.0
-> retrieved uutf.1.0.3  (cached)
-> installed cppo.1.6.9
-> installed re.1.11.0
-> installed cmdliner.1.0.4
-> installed ocamlbuild.0.14.3
-> installed topkg.1.0.7
-> installed uutf.1.0.3
-> installed fmt.0.8.9
-> installed ptime.0.8.6
-> installed astring.0.8.5
-> installed crunch.3.2.0
-> installed fpath.0.7.3
-> installed odoc-parser.2.4.2
-> installed tyxml.4.6.0
-> installed odoc.2.4.2
Done.
# Run eval $(opam env) to update the current shell environment
2024-05-11 12:59.34 ---> saved as "9ebd5627fa8948f875a2cc1dc8568196bbc6041449f881de9ccbc05fe19d4890"


/src: (copy (src .) (dst /src/))
2024-05-11 12:59.34 ---> saved as "ae9d7d4e2d36d1c207400cb3416c7d84a8c23a2851aa4a3f967d6b734b52e9dc"


/src: (run (shell "ODOC_WARN_ERROR=false opam exec -- dune build --only-packages=mperf @doc || (echo \"dune build @doc failed\"; exit 2)"))
2024-05-11 12:59.35 ---> saved as "d8269f3f5d2b68cce1577176796bd2641cb78727dd1c59cbe2948b57f8a4f4a2"
Job succeeded
2024-05-11 12:59.35: Job succeeded