2025-03-04 11:46.21: New job: test mirage/mirage-skeleton https://github.com/mirage/mirage-skeleton.git#refs/pull/407/head (0d0c5e528e21aefe9ddfcfc9f3c7e3d10f47e8c1) (linux-x86_64:(lint-doc))
Base: ocaml/opam:debian-12-ocaml-4.10@sha256:87bd425c45d35d14fc1af87c98e503e42a74d1f16acafe190a62a37c78168e12
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/407/head" && git reset --hard 0d0c5e52
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.10@sha256:87bd425c45d35d14fc1af87c98e503e42a74d1f16acafe190a62a37c78168e12
# debian-12-4.10_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 9cbfb3950760bb5232d03a97ce32200f45faa5aa || git fetch origin master) && git reset -q --hard 9cbfb3950760bb5232d03a97ce32200f45faa5aa && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 mirage-skeleton.opam ./
RUN opam pin add -yn mirage-skeleton.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="angstrom.0.16.1 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base base64.3.5.1 bigstringaf.0.10.0 bos.0.2.1 cmdliner.1.3.0 conf-pkg-config.4 csexp.1.5.2 domain-name.0.4.1 dune.3.17.2 dune-configurator.3.17.2 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.7.0 ocaml.4.10.2 ocaml-base-compiler.4.10.2 ocaml-config.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 opam-monorepo.0.4.1 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.2 --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
2025-03-04 11:46.21: Using cache hint "mirage/mirage-skeleton-ocaml/opam:debian-12-ocaml-4.10@sha256:87bd425c45d35d14fc1af87c98e503e42a74d1f16acafe190a62a37c78168e12-debian-12-4.10_opam-2.3-ab230854b8c02b9d402e9cdef64cacb6"
2025-03-04 11:46.21: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.10@sha256:87bd425c45d35d14fc1af87c98e503e42a74d1f16acafe190a62a37c78168e12)
(comment debian-12-4.10_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 9cbfb3950760bb5232d03a97ce32200f45faa5aa || git fetch origin master) && git reset -q --hard 9cbfb3950760bb5232d03a97ce32200f45faa5aa && 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 './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "angstrom.0.16.1 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base base64.3.5.1 bigstringaf.0.10.0 bos.0.2.1 cmdliner.1.3.0 conf-pkg-config.4 csexp.1.5.2 domain-name.0.4.1 dune.3.17.2 dune-configurator.3.17.2 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.7.0 ocaml.4.10.2 ocaml-base-compiler.4.10.2 ocaml-config.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 opam-monorepo.0.4.1 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.2 --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)"))
)
2025-03-04 11:46.21: Waiting for resource in pool OCluster
2025-03-04 11:46.21: Waiting for worker…
2025-03-04 11:46.21: Got resource from pool OCluster
Building on x86-bm-c3.sw.ocaml.org
All commits already cached
HEAD is now at 0d0c5e5 remove ~deps:[dep noop] now that mirage automatically inserts it
(from ocaml/opam:debian-12-ocaml-4.10@sha256:87bd425c45d35d14fc1af87c98e503e42a74d1f16acafe190a62a37c78168e12)
2025-03-04 11:47.11 ---> saved as "016595a1a37d3b2733af89ede9df3c3f91526ef1701826fddf0b584f85f08a74"
/: (comment debian-12-4.10_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-03-04 11:47.11 ---> saved as "9a9dcc80edd86b452f1eea18d721b9fc2323e1ff43bd58c5d08dfe2cf12a0e7b"
/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 ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ERROR] Could not update repository "opam-repository-archive": "/usr/bin/git fetch -q" exited with code 128 "fatal: unable to access 'https://github.com/ocaml/opam-repository-archive/': Could not resolve host: github.com"
[default] synchronised from file:///home/opam/opam-repository
2025-03-04 11:48.18 ---> saved as "61cf4ea3d6453987d195825e7c8ada2c19c443a2abf71dc02f46ce6ec3278250"
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-130-generic
The OCaml toplevel, version 4.10.2
2.2.1
2025-03-04 11:48.18 ---> saved as "bcc4567ed4af3486aacd8b17179a7cfd73559918bbe7f104b49b53bd5400bba9"
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-03-04 11:48.19 ---> saved as "ffe34a5e865d4ef0922c6f829c6284a67e0f37594499d3eec709b0c4acae67b8"
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 9cbfb3950760bb5232d03a97ce32200f45faa5aa || git fetch origin master) && git reset -q --hard 9cbfb3950760bb5232d03a97ce32200f45faa5aa && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
94514fa0d0..a263eb47bd master -> origin/master
9cbfb39507 Merge pull request #27507 from Firobe/release-opam-monorepo-0.4.1
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[opam-repository-archive] synchronised from git+https://github.com/ocaml/opam-repository-archive
[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
2025-03-04 11:49.18 ---> saved as "735365aa980e42bbe9b903d1c1fdd3779a7665378cde7888e5df85cea5d0b1cf"
/src: (copy (src mirage-skeleton.opam) (dst ./))
2025-03-04 11:49.18 ---> saved as "82ff873dabfc9118112b80b103cb2e4ba555f1ad001ef5b733d6006baad5e3ad"
/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)
[WARNING] Failed checks on mirage-skeleton package definition from source at file:///src:
warning 68: Missing field 'license'
mirage-skeleton is now pinned to file:///src (version dev)
2025-03-04 11:49.20 ---> saved as "9e8bfd8ed7bd9206bc922003e65e173b1df6d1b7537411e2e9e349d14176bdf4"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-03-04 11:49.20 ---> saved as "a008c838bb675934edc053c7516f39066aadd574edd580b51cd5e8233d85191f"
/src: (env DEPS "angstrom.0.16.1 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base base64.3.5.1 bigstringaf.0.10.0 bos.0.2.1 cmdliner.1.3.0 conf-pkg-config.4 csexp.1.5.2 domain-name.0.4.1 dune.3.17.2 dune-configurator.3.17.2 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.7.0 ocaml.4.10.2 ocaml-base-compiler.4.10.2 ocaml-config.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 opam-monorepo.0.4.1 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.2 --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 [246 kB]
- Fetched 349 kB in 0s (1176 kB/s)
- Reading package lists...
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[mirage-skeleton.dev] synchronised (file:///src)
[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
- Selecting previously unselected package libpkgconf3:amd64.
- (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 18745 files and directories currently installed.)
- Preparing to unpack .../libpkgconf3_1.8.1-1_amd64.deb ...
- Unpacking libpkgconf3:amd64 (1.8.1-1) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../pkgconf-bin_1.8.1-1_amd64.deb ...
- Unpacking pkgconf-bin (1.8.1-1) ...
- Selecting previously unselected package pkgconf:amd64.
- Preparing to unpack .../pkgconf_1.8.1-1_amd64.deb ...
- Unpacking pkgconf:amd64 (1.8.1-1) ...
- Selecting previously unselected package pkg-config:amd64.
- Preparing to unpack .../pkg-config_1.8.1-1_amd64.deb ...
- Unpacking pkg-config:amd64 (1.8.1-1) ...
- Setting up libpkgconf3:amd64 (1.8.1-1) ...
- Setting up pkgconf-bin (1.8.1-1) ...
- Setting up pkgconf:amd64 (1.8.1-1) ...
- Setting up pkg-config:amd64 (1.8.1-1) ...
- Processing triggers for libc-bin (2.36-9+deb12u9) ...
2025-03-04 11:49.40 ---> saved as "60fad9ebb94bb6040ff146e79da9ba1ba418b5d60e6cf6138bbf30a5b3c2892f"
/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 28 packages
- install angstrom 0.16.1
- install astring 0.8.5
- install base64 3.5.1
- install bigstringaf 0.10.0
- install bos 0.2.1
- install cmdliner 1.3.0
- install conf-pkg-config 4
- install csexp 1.5.2
- install domain-name 0.4.1
- install dune 3.17.2
- install dune-configurator 3.17.2
- install emile 1.1
- install fmt 0.9.0
- install fpath 0.7.3
- install ipaddr 5.6.0
- install logs 0.7.0
- install macaddr 5.6.0
- install mirage 4.7.0
- install ocaml-syntax-shims 1.0.0
- install ocamlbuild 0.16.1
- install ocamlfind 1.9.8
- install opam-monorepo 0.4.1
- install pecu 0.7
- install rresult 0.7.0
- install stringext 1.6.0
- install topkg 1.0.7
- install uri 4.4.0
- install uutf 1.0.3
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved base64.3.5.1 (cached)
-> retrieved angstrom.0.16.1 (cached)
-> retrieved astring.0.8.5 (cached)
-> retrieved bigstringaf.0.10.0 (cached)
-> installed conf-pkg-config.4
-> retrieved bos.0.2.1 (cached)
-> retrieved cmdliner.1.3.0 (cached)
-> retrieved csexp.1.5.2 (cached)
-> retrieved domain-name.0.4.1 (cached)
-> retrieved fmt.0.9.0 (cached)
-> retrieved emile.1.1 (cached)
-> retrieved fpath.0.7.3 (cached)
-> retrieved ipaddr.5.6.0, macaddr.5.6.0 (cached)
-> retrieved logs.0.7.0 (cached)
-> retrieved ocaml-syntax-shims.1.0.0 (cached)
-> retrieved ocamlbuild.0.16.1 (cached)
-> retrieved mirage.4.7.0 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved dune.3.17.2, dune-configurator.3.17.2 (cached)
-> retrieved opam-monorepo.0.4.1 (cached)
-> retrieved pecu.0.7 (cached)
-> retrieved rresult.0.7.0 (cached)
-> retrieved stringext.1.6.0 (cached)
-> retrieved uutf.1.0.3 (cached)
-> retrieved topkg.1.0.7 (cached)
-> installed cmdliner.1.3.0
-> retrieved uri.4.4.0 (cached)
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.16.1
-> 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.17.2
-> installed base64.3.5.1
-> installed csexp.1.5.2
-> installed domain-name.0.4.1
-> installed macaddr.5.6.0
-> installed ocaml-syntax-shims.1.0.0
-> installed pecu.0.7
-> installed stringext.1.6.0
-> installed ipaddr.5.6.0
-> installed dune-configurator.3.17.2
-> installed bigstringaf.0.10.0
-> installed angstrom.0.16.1
-> installed emile.1.1
-> installed uri.4.4.0
-> installed opam-monorepo.0.4.1
-> installed mirage.4.7.0
Done.
# Run eval $(opam env) to update the current shell environment
2025-03-04 11:51.06 ---> saved as "a714ccf35fb221fbc4621d8c90f9b4db2a90ecb96dea0bffa185551e62371f3b"
/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.17.2).
The following actions will be performed:
=== downgrade 1 package
- downgrade uutf 1.0.3 to 1.0.1 [required by tyxml]
=== recompile 2 packages
- recompile emile 1.1 [uses uutf]
- recompile mirage 4.7.0 [uses emile]
=== install 11 packages
- install camlp-streams 5.0.1 [required by odoc-parser]
- install cppo 1.8.0 [required by odoc]
- install crunch 4.0.0 [required by odoc]
- install odoc 2.4.4
- install odoc-parser 2.4.4 [required by odoc]
- install ptime 1.2.0 [required by crunch]
- install re 1.11.0 [required by tyxml]
- install result 1.5 [required by odoc]
- install seq base [required by tyxml]
- install tyxml 4.6.0 [required by odoc]
- install uchar 0.0.2 [required by uutf]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved camlp-streams.5.0.1 (cached)
-> retrieved cppo.1.8.0 (cached)
-> retrieved crunch.4.0.0 (cached)
-> retrieved emile.1.1 (cached)
-> retrieved mirage.4.7.0 (cached)
-> retrieved ptime.1.2.0 (cached)
-> retrieved result.1.5 (cached)
-> retrieved seq.base (cached)
-> installed seq.base
-> retrieved re.1.11.0 (cached)
-> retrieved uchar.0.0.2 (cached)
-> retrieved tyxml.4.6.0 (cached)
-> retrieved uutf.1.0.1 (cached)
-> installed camlp-streams.5.0.1
-> retrieved odoc.2.4.4, odoc-parser.2.4.4 (cached)
-> installed cppo.1.8.0
-> installed result.1.5
-> installed re.1.11.0
-> installed ptime.1.2.0
-> removed mirage.4.7.0
-> removed emile.1.1
-> removed uutf.1.0.3
-> installed uchar.0.0.2
-> installed crunch.4.0.0
-> installed odoc-parser.2.4.4
-> installed uutf.1.0.1
-> installed emile.1.1
-> installed mirage.4.7.0
-> installed tyxml.4.6.0
-> installed odoc.2.4.4
Done.
# Run eval $(opam env) to update the current shell environment
2025-03-04 11:51.38 ---> saved as "7db0f9347df0f8b9ffed206a585a59ce320ee5ebd4604fc74a42406bb216f560"
/src: (copy (src .) (dst /src/))
2025-03-04 11:51.39 ---> saved as "94b7754e1f06bf048f80d3efc3a8ab29e0ccad549f3081f6ffff9abfe6b77446"
/src: (run (shell "ODOC_WARN_ERROR=false opam exec -- dune build @doc || (echo \"dune build @doc failed\"; exit 2)"))
2025-03-04 11:51.39 ---> saved as "3f6dda2e68b28a83e3a7f74ce8c2f76dcd354e9943a4ec31ec8102f8b542f1d3"
Job succeeded
2025-03-04 11:51.39: Job succeeded