Organisationsmiragemirage-skeletonffe72c ()(lint-doc)

(lint-doc)

Link Copied
Code Copied

Logs

2024-06-17 13:04.39: New job: test mirage/mirage-skeleton https://github.com/mirage/mirage-skeleton.git#refs/pull/391/head (ffe72c3e52c3f20d6b93bd785585b9f2199d8c9b) (linux-x86_64:(lint-doc))
Base: ocaml/opam@sha256:e36f23bdb54e73750a636b54f87d0879dca93dbebfc5ef71b5bb701c1a908cf2
Opam project lint documentation


To reproduce locally:


git clone --recursive "https://github.com/mirage/mirage-skeleton.git" && cd "mirage-skeleton" && git fetch origin "refs/pull/391/head" && git reset --hard ffe72c3e
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam@sha256:e36f23bdb54e73750a636b54f87d0879dca93dbebfc5ef71b5bb701c1a908cf2
# debian-12-4.10_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 a6069b9eebba0e2b70cdbbd834bc800eb6d671fb || git fetch origin master) && git reset -q --hard a6069b9eebba0e2b70cdbbd834bc800eb6d671fb && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 mirage-skeleton.opam ./
RUN opam pin add -yn mirage-skeleton.dev './'
ENV DEPS="angstrom.0.16.0 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base base64.3.5.1 bigstringaf.0.9.1 bos.0.2.1 cmdliner.1.3.0 conf-pkg-config.3 csexp.1.5.2 domain-name.0.4.0 dune.3.16.0 dune-configurator.3.16.0 emile.1.1 fmt.0.9.0 fpath.0.7.3 ipaddr.5.6.0 logs.0.7.0 macaddr.5.6.0 mirage.4.5.1 ocaml.4.10.2 ocaml-base-compiler.4.10.2 ocaml-config.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.14.3 ocamlfind.1.9.6 opam-monorepo.0.4.0 pecu.0.7 rresult.0.7.0 stringext.1.6.0 topkg.1.0.7 uri.4.4.0 uutf.1.0.3"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.1 --depext-only -y mirage-skeleton.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


2024-06-17 13:04.39: Using cache hint "mirage/mirage-skeleton-ocaml/opam@sha256:e36f23bdb54e73750a636b54f87d0879dca93dbebfc5ef71b5bb701c1a908cf2-debian-12-4.10_opam-2.1-b5a5fb37c6ac9c4e737c583ef459cc1b"
2024-06-17 13:04.39: Using OBuilder spec:
((from ocaml/opam@sha256:e36f23bdb54e73750a636b54f87d0879dca93dbebfc5ef71b5bb701c1a908cf2)
 (comment debian-12-4.10_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 a6069b9eebba0e2b70cdbbd834bc800eb6d671fb || git fetch origin master) && git reset -q --hard a6069b9eebba0e2b70cdbbd834bc800eb6d671fb && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src mirage-skeleton.opam) (dst ./))
 (run (network host)
      (shell "opam pin add -yn mirage-skeleton.dev './'"))
 (env DEPS "angstrom.0.16.0 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base base64.3.5.1 bigstringaf.0.9.1 bos.0.2.1 cmdliner.1.3.0 conf-pkg-config.3 csexp.1.5.2 domain-name.0.4.0 dune.3.16.0 dune-configurator.3.16.0 emile.1.1 fmt.0.9.0 fpath.0.7.3 ipaddr.5.6.0 logs.0.7.0 macaddr.5.6.0 mirage.4.5.1 ocaml.4.10.2 ocaml-base-compiler.4.10.2 ocaml-config.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.14.3 ocamlfind.1.9.6 opam-monorepo.0.4.0 pecu.0.7 rresult.0.7.0 stringext.1.6.0 topkg.1.0.7 uri.4.4.0 uutf.1.0.3")
 (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 mirage-skeleton.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)"))
)


2024-06-17 13:04.39: Waiting for resource in pool OCluster
2024-06-19 14:03.39: Waiting for worker…
2024-06-19 14:07.10: Got resource from pool OCluster
Building on x86-bm-c1.sw.ocaml.org
All commits already cached
HEAD is now at ffe72c3 add dream example to Makefile


(from ocaml/opam@sha256:e36f23bdb54e73750a636b54f87d0879dca93dbebfc5ef71b5bb701c1a908cf2)
2024-06-19 14:07.11 ---> using "1b885d0eb042886c68eb0fcad47a3e11552a3b74c8a317040dbbe7da7cf45794" from cache


/: (comment debian-12-4.10_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-06-19 14:07.11 ---> using "40cd3271df8cdadc44908519429fade55d1ced37cac8dd9f92fc7cd9978cbfa2" 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.


Continue? [Y/n] y
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.


Format upgrade done.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2024-06-19 14:07.11 ---> using "e04b28b364ee70259d995237aafb32ac710a9ec04ea053019d07a49108a1edde" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-112-generic
The OCaml toplevel, version 4.10.2
2.1.6
2024-06-19 14:07.11 ---> using "19ef7b2c50f227bab8806d084ba672b74064a656e2a2d6543aa1e329d5054ae1" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2024-06-19 14:07.11 ---> using "8cece2a7b9dfb89945af52e031783576290db9fbc43477cbbf5e8e49b1788253" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e a6069b9eebba0e2b70cdbbd834bc800eb6d671fb || git fetch origin master) && git reset -q --hard a6069b9eebba0e2b70cdbbd834bc800eb6d671fb && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   c45f5bab71..59c0c54934  master     -> origin/master
a6069b9eeb [new release] dune (15 packages) (3.16.0)


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


The following actions will be performed:
  - recompile ocaml-config 1       [upstream or system changes]
  - recompile ocaml        4.10.2  [uses ocaml-config]
  - recompile opam-depext  1.2.1-1 [uses ocaml]
===== 3 to recompile =====


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved ocaml-config.1  (cached)
-> retrieved opam-depext.1.2.1-1  (cached)
-> removed   opam-depext.1.2.1-1
-> removed   ocaml.4.10.2
-> removed   ocaml-config.1
-> installed ocaml-config.1
-> installed ocaml.4.10.2
-> 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
2024-06-19 14:07.11 ---> using "a67625e1b4e720694a01898f8db24cfba222ec7d0fc0712f5e2f7b5670c8e771" from cache


/src: (copy (src mirage-skeleton.opam) (dst ./))
2024-06-19 14:07.11 ---> using "ee9b3ee31969e8538db2d2961204c18d81a97a55dc0635ce388f783f1a12ba4e" from cache


/src: (run (network host)
           (shell "opam pin add -yn mirage-skeleton.dev './'"))
Package mirage-skeleton does not exist, create as a NEW package? [Y/n] y
[mirage-skeleton.dev] synchronised (file:///src)
mirage-skeleton is now pinned to file:///src (version dev)
2024-06-19 14:07.11 ---> using "04614af3249ca18f2f155a737779871aeb999017e8e5357e90406a659745350f" from cache


/src: (env DEPS "angstrom.0.16.0 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base base64.3.5.1 bigstringaf.0.9.1 bos.0.2.1 cmdliner.1.3.0 conf-pkg-config.3 csexp.1.5.2 domain-name.0.4.0 dune.3.16.0 dune-configurator.3.16.0 emile.1.1 fmt.0.9.0 fpath.0.7.3 ipaddr.5.6.0 logs.0.7.0 macaddr.5.6.0 mirage.4.5.1 ocaml.4.10.2 ocaml-base-compiler.4.10.2 ocaml-config.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.14.3 ocamlfind.1.9.6 opam-monorepo.0.4.0 pecu.0.7 rresult.0.7.0 stringext.1.6.0 topkg.1.0.7 uri.4.4.0 uutf.1.0.3")


/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 mirage-skeleton.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-security bookworm-security/main amd64 Packages [160 kB]
- Fetched 263 kB in 0s (786 kB/s)
- Reading package lists...
- 


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[mirage-skeleton.dev] synchronised (no changes)


[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.10.2).
[NOTE] Package ocaml is already installed (current version is 4.10.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:
    pkg-config


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


2024-06-19 14:07.11 ---> using "4296efef2f708c0c22c99beecad332d237cad3cf00f032d699c55417f418df89" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "opam install $DEPS"))
[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.10.2).
[NOTE] Package ocaml is already installed (current version is 4.10.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 ocamlbuild         0.14.3
  - install conf-pkg-config    3
  - install dune               3.16.0
  - install ocamlfind          1.9.6
  - install cmdliner           1.3.0
  - install stringext          1.6.0
  - install pecu               0.7
  - install opam-monorepo      0.4.0
  - install ocaml-syntax-shims 1.0.0
  - install macaddr            5.6.0
  - install domain-name        0.4.0
  - install csexp              1.5.2
  - install base64             3.5.1
  - install topkg              1.0.7
  - install ipaddr             5.6.0
  - install dune-configurator  3.16.0
  - install uutf               1.0.3
  - install rresult            0.7.0
  - install fmt                0.9.0
  - install astring            0.8.5
  - install bigstringaf        0.9.1
  - install logs               0.7.0
  - install fpath              0.7.3
  - install angstrom           0.16.0
  - install bos                0.2.1
  - install uri                4.4.0
  - install emile              1.1
  - install mirage             4.5.1
===== 28 to install =====


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved angstrom.0.16.0  (cached)
-> retrieved astring.0.8.5  (cached)
-> retrieved base64.3.5.1  (cached)
-> retrieved bigstringaf.0.9.1  (cached)
-> retrieved bos.0.2.1  (cached)
-> retrieved cmdliner.1.3.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> installed conf-pkg-config.3
-> retrieved domain-name.0.4.0  (cached)
-> retrieved emile.1.1  (cached)
-> retrieved fmt.0.9.0  (cached)
-> retrieved fpath.0.7.3  (cached)
-> retrieved ipaddr.5.6.0  (cached)
-> retrieved logs.0.7.0  (cached)
-> retrieved macaddr.5.6.0  (cached)
-> retrieved mirage.4.5.1  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved ocamlbuild.0.14.3  (cached)
-> retrieved ocamlfind.1.9.6  (cached)
-> retrieved dune.3.16.0  (cached)
-> retrieved dune-configurator.3.16.0  (cached)
-> retrieved opam-monorepo.0.4.0  (cached)
-> retrieved pecu.0.7  (cached)
-> retrieved rresult.0.7.0  (cached)
-> retrieved stringext.1.6.0  (cached)
-> retrieved topkg.1.0.7  (cached)
-> retrieved uutf.1.0.3  (cached)
-> retrieved uri.4.4.0  (cached)
-> installed cmdliner.1.3.0
-> installed ocamlbuild.0.14.3
-> installed ocamlfind.1.9.6
-> installed topkg.1.0.7
-> installed rresult.0.7.0
-> installed uutf.1.0.3
-> installed fmt.0.9.0
-> installed astring.0.8.5
-> installed fpath.0.7.3
-> installed logs.0.7.0
-> installed bos.0.2.1
-> installed dune.3.16.0
-> installed csexp.1.5.2
-> installed base64.3.5.1
-> installed domain-name.0.4.0
-> installed macaddr.5.6.0
-> installed pecu.0.7
-> installed stringext.1.6.0
-> installed ocaml-syntax-shims.1.0.0
-> installed ipaddr.5.6.0
-> installed dune-configurator.3.16.0
-> installed bigstringaf.0.9.1
-> installed angstrom.0.16.0
-> installed emile.1.1
-> installed uri.4.4.0
-> installed opam-monorepo.0.4.0
-> installed mirage.4.5.1
Done.
# Run eval $(opam env) to update the current shell environment
2024-06-19 14:07.11 ---> using "03b2554a528638d3767219c1e0ef8b44012672a15579f0a4b9a7eb433ead767d" from cache


/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.16.0).
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 ptime         1.1.0  [required by crunch]
  - install camlp-streams 5.0.1  [required by odoc-parser]
  - install re            1.11.0 [required by tyxml]
  - install crunch        3.3.1  [required by odoc]
  - install odoc-parser   2.4.2  [required by odoc]
  - install tyxml         4.6.0  [required by odoc]
  - install odoc          2.4.2
===== 10 to install =====


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved camlp-streams.5.0.1  (cached)
-> retrieved cppo.1.6.9  (cached)
-> retrieved crunch.3.3.1  (cached)
-> retrieved odoc.2.4.2  (cached)
-> retrieved ptime.1.1.0  (cached)
-> retrieved result.1.5  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved re.1.11.0  (cached)
-> retrieved tyxml.4.6.0  (cached)
-> retrieved odoc-parser.2.4.2  (cached)
-> installed camlp-streams.5.0.1
-> installed result.1.5
-> installed cppo.1.6.9
-> installed re.1.11.0
-> installed odoc-parser.2.4.2
-> installed ptime.1.1.0
-> installed crunch.3.3.1
-> installed tyxml.4.6.0
-> installed odoc.2.4.2
Done.
# Run eval $(opam env) to update the current shell environment
2024-06-19 14:07.11 ---> using "636cd639e885a4985ffed15dc591a8e85c90ba9145b82a07642bb07c48211727" from cache


/src: (copy (src .) (dst /src/))
2024-06-19 14:07.11 ---> saved as "fabd1ca0c90b713666213688887416e22f8a1569656da1bb6cd4e31c09417f35"


/src: (run (shell "ODOC_WARN_ERROR=false opam exec -- dune build @doc || (echo \"dune build @doc failed\"; exit 2)"))
2024-06-19 14:07.11 ---> saved as "46ba31e2c0bccc90d5b45071f32113afa50b3198c59089abb928e585eddfd208"
Job succeeded
2024-06-19 14:07.11: Job succeeded