Organisationsmirageocaml-xenstore2168f0 ()(lint-doc)

(lint-doc)

Link Copied
Code Copied

Logs

2024-04-30 08:36.16: New job: test mirage/ocaml-xenstore https://github.com/mirage/ocaml-xenstore.git#refs/heads/master (2168f073ab5f0d8a609db2bc8c52d67fcd814398) (linux-x86_64:(lint-doc))
Base: ocaml/opam@sha256:76fea09d9f7692564ebd3b2a80ba1e7615d15689d47d41462eb5edf90dfd05be
Opam project lint documentation


To reproduce locally:


git clone --recursive "https://github.com/mirage/ocaml-xenstore.git" -b "master" && cd "ocaml-xenstore" && git reset --hard 2168f073
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam@sha256:76fea09d9f7692564ebd3b2a80ba1e7615d15689d47d41462eb5edf90dfd05be
# debian-12-4.04_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 042d5efee9551e35990b2e8d849a354d082857d1 || git fetch origin master) && git reset -q --hard 042d5efee9551e35990b2e8d849a354d082857d1 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 xenstore.opam ./
RUN opam pin add -yn xenstore.dev './'
ENV DEPS="base.v0.13.2 base-bigarray.base base-bytes.base base-num.base base-threads.base base-unix.base bigarray-compat.1.1.0 cppo.1.6.9 csexp.1.5.2 cstruct.5.2.0 dune.3.15.2 dune-configurator.3.15.2 lwt.5.5.0 mmap.1.2.0 num.0 ocaml.4.04.2 ocaml-base-compiler.4.04.2 ocaml-config.1 ocaml-migrate-parsetree.1.8.0 ocaml-secondary-compiler.4.08.1-1 ocaml-syntax-shims.1.0.0 ocamlfind.1.9.6 ocamlfind-secondary.1.9.6 ocplib-endian.1.2 ounit2.2.2.7 parsexp.v0.13.0 ppx_cstruct.5.2.0 ppx_derivers.1.2.1 ppx_tools_versioned.5.4.0 result.1.5 seq.0.3.1 sexplib.v0.13.0 sexplib0.v0.13.0 stdlib-shims.0.3.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.1 --depext-only -y xenstore.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


2024-04-30 08:36.16: Using cache hint "mirage/ocaml-xenstore-ocaml/opam@sha256:76fea09d9f7692564ebd3b2a80ba1e7615d15689d47d41462eb5edf90dfd05be-debian-12-4.04_opam-2.1-452c5ef1e0a1dbb86b0e12c2a82da856"
2024-04-30 08:36.16: Using OBuilder spec:
((from ocaml/opam@sha256:76fea09d9f7692564ebd3b2a80ba1e7615d15689d47d41462eb5edf90dfd05be)
 (comment debian-12-4.04_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 042d5efee9551e35990b2e8d849a354d082857d1 || git fetch origin master) && git reset -q --hard 042d5efee9551e35990b2e8d849a354d082857d1 && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src xenstore.opam) (dst ./))
 (run (network host)
      (shell "opam pin add -yn xenstore.dev './'"))
 (env DEPS "base.v0.13.2 base-bigarray.base base-bytes.base base-num.base base-threads.base base-unix.base bigarray-compat.1.1.0 cppo.1.6.9 csexp.1.5.2 cstruct.5.2.0 dune.3.15.2 dune-configurator.3.15.2 lwt.5.5.0 mmap.1.2.0 num.0 ocaml.4.04.2 ocaml-base-compiler.4.04.2 ocaml-config.1 ocaml-migrate-parsetree.1.8.0 ocaml-secondary-compiler.4.08.1-1 ocaml-syntax-shims.1.0.0 ocamlfind.1.9.6 ocamlfind-secondary.1.9.6 ocplib-endian.1.2 ounit2.2.2.7 parsexp.v0.13.0 ppx_cstruct.5.2.0 ppx_derivers.1.2.1 ppx_tools_versioned.5.4.0 result.1.5 seq.0.3.1 sexplib.v0.13.0 sexplib0.v0.13.0 stdlib-shims.0.3.0")
 (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 xenstore.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)"))
)


2024-04-30 08:36.16: Waiting for resource in pool OCluster
2024-04-30 20:03.29: Waiting for worker…
2024-04-30 20:07.40: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
HEAD is now at 2168f07 fix typo in changes


(from ocaml/opam@sha256:76fea09d9f7692564ebd3b2a80ba1e7615d15689d47d41462eb5edf90dfd05be)
2024-04-30 20:07.41 ---> using "981e9ae427ed96d8eead419a513992a7b2f44b0033eb80234fec68fa910bdf99" from cache


/: (comment debian-12-4.04_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-04-30 20:07.41 ---> using "106fbb46bde01be180229a93ede9ee0a5b05711764692069b00b5dd376eddfe6" 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-04-30 20:07.41 ---> using "dc65a80c164b81a7bd1fb129df31922f60c571a8c0c328aa1f6acca61002965f" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-101-generic
The OCaml toplevel, version 4.04.2
2.1.5
2024-04-30 20:07.41 ---> using "eb5ea2efd38d6a5e235f766580b2cdc70310e7422420153d0a9a1362e20b2894" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2024-04-30 20:07.41 ---> using "0b5a0382a930b998067b3a707299600408174d9f36937b4b0860e4a8d0935a7c" from cache


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


<><> 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-04-30 20:07.41 ---> using "96797a0a344f8845ae0f0e51abf51926f2706b88bfde6a458a8ac1821c69e5cb" from cache


/src: (copy (src xenstore.opam) (dst ./))
2024-04-30 20:07.41 ---> using "8bf885cb114cc4a9446459733711604b04c03d20d614208e1cd6bc813672ef19" from cache


/src: (run (network host)
           (shell "opam pin add -yn xenstore.dev './'"))
[xenstore.dev] synchronised (file:///src)
xenstore is now pinned to file:///src (version dev)
2024-04-30 20:07.41 ---> using "d61c5b5b92c2b05d0b3205cadf728834fe1cba6f0d927e11186df3d926ec4a31" from cache


/src: (env DEPS "base.v0.13.2 base-bigarray.base base-bytes.base base-num.base base-threads.base base-unix.base bigarray-compat.1.1.0 cppo.1.6.9 csexp.1.5.2 cstruct.5.2.0 dune.3.15.2 dune-configurator.3.15.2 lwt.5.5.0 mmap.1.2.0 num.0 ocaml.4.04.2 ocaml-base-compiler.4.04.2 ocaml-config.1 ocaml-migrate-parsetree.1.8.0 ocaml-secondary-compiler.4.08.1-1 ocaml-syntax-shims.1.0.0 ocamlfind.1.9.6 ocamlfind-secondary.1.9.6 ocplib-endian.1.2 ounit2.2.2.7 parsexp.v0.13.0 ppx_cstruct.5.2.0 ppx_derivers.1.2.1 ppx_tools_versioned.5.4.0 result.1.5 seq.0.3.1 sexplib.v0.13.0 sexplib0.v0.13.0 stdlib-shims.0.3.0")


/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 xenstore.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 270 kB in 0s (1022 kB/s)
- Reading package lists...


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[xenstore.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.04.2).
[NOTE] Package ocaml is already installed (current version is 4.04.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).
2024-04-30 20:07.41 ---> using "a44a891c29d00ea06406b62dab16e55299a7947d477e75bb0eb1258cbee4e537" from cache


/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.04.2).
[NOTE] Package ocaml is already installed (current version is 4.04.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 ocamlfind               1.9.6
  - install base-num                base
  - install ocamlfind-secondary     1.9.6
  - install base-bytes              base
  - install num                     0
  - install dune                    3.15.2
  - install stdlib-shims            0.3.0
  - install sexplib0                v0.13.0
  - install seq                     0.3.1
  - install result                  1.5
  - install ppx_derivers            1.2.1
  - install ocaml-syntax-shims      1.0.0
  - install csexp                   1.5.2
  - install cppo                    1.6.9
  - install bigarray-compat         1.1.0
  - install ounit2                  2.2.7
  - install ocaml-migrate-parsetree 1.8.0
  - install dune-configurator       3.15.2
  - install ocplib-endian           1.2
  - install mmap                    1.2.0
  - install cstruct                 5.2.0
  - install ppx_tools_versioned     5.4.0
  - install base                    v0.13.2
  - install lwt                     5.5.0
  - install parsexp                 v0.13.0
  - install sexplib                 v0.13.0
  - install ppx_cstruct             5.2.0
===== 27 to install =====


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed base-num.base
-> retrieved base.v0.13.2  (cached)
-> retrieved bigarray-compat.1.1.0  (cached)
-> retrieved cppo.1.6.9  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved cstruct.5.2.0  (cached)
-> retrieved lwt.5.5.0  (cached)
-> retrieved mmap.1.2.0  (cached)
-> installed num.0
-> retrieved ocaml-migrate-parsetree.1.8.0  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved ocamlfind.1.9.6  (cached)
-> retrieved ocamlfind-secondary.1.9.6  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved ounit2.2.2.7  (cached)
-> retrieved parsexp.v0.13.0  (cached)
-> retrieved ppx_cstruct.5.2.0  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved ppx_tools_versioned.5.4.0  (cached)
-> retrieved result.1.5  (cached)
-> retrieved seq.0.3.1  (cached)
-> retrieved sexplib.v0.13.0  (cached)
-> retrieved sexplib0.v0.13.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved dune.3.15.2  (cached)
-> retrieved dune-configurator.3.15.2  (cached)
-> installed ocamlfind.1.9.6
-> installed base-bytes.base
-> installed ocamlfind-secondary.1.9.6
-> installed dune.3.15.2
-> installed ppx_derivers.1.2.1
-> installed seq.0.3.1
-> installed bigarray-compat.1.1.0
-> installed csexp.1.5.2
-> installed result.1.5
-> installed ocaml-syntax-shims.1.0.0
-> installed sexplib0.v0.13.0
-> installed stdlib-shims.0.3.0
-> installed cstruct.5.2.0
-> installed mmap.1.2.0
-> installed cppo.1.6.9
-> installed ocplib-endian.1.2
-> installed ounit2.2.2.7
-> installed dune-configurator.3.15.2
-> installed lwt.5.5.0
-> installed ocaml-migrate-parsetree.1.8.0
-> installed base.v0.13.2
-> installed ppx_tools_versioned.5.4.0
-> installed parsexp.v0.13.0
-> installed sexplib.v0.13.0
-> installed ppx_cstruct.5.2.0
Done.
# Run eval $(opam env) to update the current shell environment
2024-04-30 20:08.21 ---> saved as "d6e8cae5f2bd1ed7594c489c2f8050e2eefa06547e96d42788c712544e50a168"


/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 ocamlbuild    0.14.3 [required by fmt, astring, fpath]
  - install cmdliner      1.0.4  [required by odoc]
  - install re            1.11.0 [required by tyxml]
  - install camlp-streams 5.0.1  [required by odoc-parser]
  - install topkg         1.0.4  [required by fmt, astring, fpath]
  - install crunch        2.2.0  [required by odoc]
  - install uutf          1.0.3  [required by tyxml]
  - install fmt           0.8.6  [required by odoc]
  - install astring       0.8.3  [required by odoc]
  - install tyxml         4.6.0  [required by odoc]
  - install odoc-parser   2.4.1  [required by odoc]
  - install fpath         0.7.3  [required by odoc]
  - install odoc          2.4.1
===== 13 to install =====


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved camlp-streams.5.0.1  (cached)
-> retrieved astring.0.8.3  (cached)
-> retrieved cmdliner.1.0.4  (cached)
-> retrieved crunch.2.2.0  (cached)
-> retrieved fmt.0.8.6  (cached)
-> retrieved fpath.0.7.3  (cached)
-> retrieved ocamlbuild.0.14.3  (cached)
-> retrieved re.1.11.0  (cached)
-> installed camlp-streams.5.0.1
-> retrieved topkg.1.0.4  (cached)
-> retrieved tyxml.4.6.0  (cached)
-> retrieved uutf.1.0.3  (cached)
-> retrieved odoc.2.4.1  (cached)
-> retrieved odoc-parser.2.4.1  (cached)
-> installed re.1.11.0
-> installed cmdliner.1.0.4
-> installed ocamlbuild.0.14.3
-> installed crunch.2.2.0
-> installed topkg.1.0.4
-> installed uutf.1.0.3
-> installed fmt.0.8.6
-> installed astring.0.8.3
-> installed fpath.0.7.3
-> installed odoc-parser.2.4.1
-> installed tyxml.4.6.0
-> installed odoc.2.4.1
Done.
# Run eval $(opam env) to update the current shell environment
2024-04-30 20:10.35 ---> saved as "8800bf37d9f4a5da0ad41c8ebff5cb5ff16b0a5b9d6b2958d21313e1d9dc3c91"


/src: (copy (src .) (dst /src/))
2024-04-30 20:10.35 ---> saved as "311ce18fcb43368ab28ed679d09da623c7b613a03af733f92b5f86d9597f723a"


/src: (run (shell "ODOC_WARN_ERROR=false opam exec -- dune build @doc || (echo \"dune build @doc failed\"; exit 2)"))
2024-04-30 20:10.37 ---> saved as "d4c02d5a7e4aa37ac9a239b50a65fce56a02962db3de541467c75b33be300c63"
Job succeeded
2024-04-30 20:10.37: Job succeeded