2025-10-09 10:17.32: New job: test mirage/mirage-net-xen https://github.com/mirage/mirage-net-xen.git#refs/heads/main (e6242cbe53950de602afc7fd122fc3ffab7c9a7c) (linux-x86_64:(lint-doc))
Base: ocaml/opam:debian-13-ocaml-4.08@sha256:b9828be178417e3bc607ef229c00d658316b130c027775f6069f6a7c473de176
Opam project lint documentation
To reproduce locally:
git clone --recursive "https://github.com/mirage/mirage-net-xen.git" -b "main" && cd "mirage-net-xen" && git reset --hard e6242cbe
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-4.08@sha256:b9828be178417e3bc607ef229c00d658316b130c027775f6069f6a7c473de176
# debian-13-4.08_opam-2.4
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 3c6a0f524c62627fc4bb9a8b8d9cda1d8f4d26e9 || git fetch origin master) && git reset -q --hard 3c6a0f524c62627fc4bb9a8b8d9cda1d8f4d26e9 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 mirage-net-xen.opam ./
RUN opam pin add -yn mirage-net-xen.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="base-bigarray.base base-bytes.base base-threads.base base-unix.base bheap.2.0.0 cmdliner.1.3.0 conf-pkg-config.4 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 domain-name.0.4.1 dune.3.20.2 dune-configurator.3.20.2 duration.0.2.1 fmt.0.11.0 io-page.3.0.0 ipaddr.5.6.1 logs.0.8.0 lwt.5.9.2 lwt-dllist.1.1.0 macaddr.5.6.1 metrics.0.5.0 metrics-lwt.0.5.0 mirage-net.4.0.0 mirage-runtime.4.7.0 mirage-sleep.4.1.0 mirage-xen.9.0.0 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 shared-memory-ring.3.2.1 shared-memory-ring-lwt.3.2.1 topkg.1.1.0 xenstore.2.3.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.2 --depext-only -y mirage-net-xen.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-10-09 10:17.32: Using cache hint "mirage/mirage-net-xen-ocaml/opam:debian-13-ocaml-4.08@sha256:b9828be178417e3bc607ef229c00d658316b130c027775f6069f6a7c473de176-debian-13-4.08_opam-2.4-b497e2b1541d00e42ec6c9c74e1e862f"
2025-10-09 10:17.32: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.08@sha256:b9828be178417e3bc607ef229c00d658316b130c027775f6069f6a7c473de176)
(comment debian-13-4.08_opam-2.4)
(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 3c6a0f524c62627fc4bb9a8b8d9cda1d8f4d26e9 || git fetch origin master) && git reset -q --hard 3c6a0f524c62627fc4bb9a8b8d9cda1d8f4d26e9 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src mirage-net-xen.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn mirage-net-xen.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "base-bigarray.base base-bytes.base base-threads.base base-unix.base bheap.2.0.0 cmdliner.1.3.0 conf-pkg-config.4 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 domain-name.0.4.1 dune.3.20.2 dune-configurator.3.20.2 duration.0.2.1 fmt.0.11.0 io-page.3.0.0 ipaddr.5.6.1 logs.0.8.0 lwt.5.9.2 lwt-dllist.1.1.0 macaddr.5.6.1 metrics.0.5.0 metrics-lwt.0.5.0 mirage-net.4.0.0 mirage-runtime.4.7.0 mirage-sleep.4.1.0 mirage-xen.9.0.0 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 shared-memory-ring.3.2.1 shared-memory-ring-lwt.3.2.1 topkg.1.1.0 xenstore.2.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.2 --depext-only -y mirage-net-xen.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-10-09 10:17.32: Waiting for resource in pool OCluster
2025-10-09 10:17.32: Waiting for worker…
2025-10-09 10:17.33: Got resource from pool OCluster
Building on toxis.caelum.ci.dev
All commits already cached
HEAD is now at e6242cb Merge pull request #115 from hannesm/read-mtu
(from ocaml/opam:debian-13-ocaml-4.08@sha256:b9828be178417e3bc607ef229c00d658316b130c027775f6069f6a7c473de176)
2025-10-09 10:17.34 ---> using "4f143e25e7620fadf6d4819085e998cd063e4132d1bf4b7e768f2c9645e2385a" from cache
/: (comment debian-13-4.08_opam-2.4)
/: (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-10-09 10:17.34 ---> using "93f49bcce9aeabcc829befd370aeb62c035af72fbfd54cdf7fab8a36b06ce217" 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 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 ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-10-09 10:17.34 ---> using "a31260bb93d1231837b91367245c37b231d84cd81332f5e29701b77516604a0d" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-134-generic
The OCaml toplevel, version 4.08.1
2.2.1
2025-10-09 10:17.34 ---> using "673a8b4f62d10d238f9af5008e180651ae65f53cba7cf66315121652b94bae1f" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-10-09 10:17.34 ---> using "abd6753783fce5accdf852b75efcf23694175f4a7ef8f536ce00c727fb771087" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 3c6a0f524c62627fc4bb9a8b8d9cda1d8f4d26e9 || git fetch origin master) && git reset -q --hard 3c6a0f524c62627fc4bb9a8b8d9cda1d8f4d26e9 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
bcac5d1731..551314ad15 master -> origin/master
3c6a0f524c Merge pull request #28603 from mtelvers/cmdliner-fixup
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+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-10-09 10:17.34 ---> using "275e3642dd6242ede605a06dd53882c70adfa97bfff7803edf9ffcf6647adb91" from cache
/src: (copy (src mirage-net-xen.opam) (dst ./))
2025-10-09 10:17.34 ---> using "9f7431ef5b927dcc8ffbaced17a964ad84cc680ba8353283a5a0b25a15ffca5b" from cache
/src: (run (network host)
(shell "opam pin add -yn mirage-net-xen.dev './'"))
[mirage-net-xen.dev] synchronised (file:///src)
mirage-net-xen is now pinned to file:///src (version dev)
2025-10-09 10:17.34 ---> using "b934cf6ebdec2cd5bb61807e777ad77c9faed4fbe8985655567da0892ab4ca58" from cache
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-10-09 10:17.34 ---> using "7dbc3cef3a90da9c8b33ec07346e71951280e101a1001309baed38df59e38fa5" from cache
/src: (env DEPS "base-bigarray.base base-bytes.base base-threads.base base-unix.base bheap.2.0.0 cmdliner.1.3.0 conf-pkg-config.4 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 domain-name.0.4.1 dune.3.20.2 dune-configurator.3.20.2 duration.0.2.1 fmt.0.11.0 io-page.3.0.0 ipaddr.5.6.1 logs.0.8.0 lwt.5.9.2 lwt-dllist.1.1.0 macaddr.5.6.1 metrics.0.5.0 metrics-lwt.0.5.0 mirage-net.4.0.0 mirage-runtime.4.7.0 mirage-sleep.4.1.0 mirage-xen.9.0.0 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 shared-memory-ring.3.2.1 shared-memory-ring-lwt.3.2.1 topkg.1.1.0 xenstore.2.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.2 --depext-only -y mirage-net-xen.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian trixie InRelease
- Get:2 http://deb.debian.org/debian trixie-updates InRelease [47.3 kB]
- Get:3 http://deb.debian.org/debian-security trixie-security InRelease [43.4 kB]
- Get:4 http://deb.debian.org/debian-security trixie-security/main amd64 Packages [51.8 kB]
- Fetched 143 kB in 0s (1608 kB/s)
- Reading package lists...
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[mirage-net-xen.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.08.1).
[NOTE] Package ocaml is already installed (current version is 4.08.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 system packages will first need to be installed:
pkg-config
<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "pkg-config"
- 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 ... 20622 files and directories currently installed.)
- Preparing to unpack .../libpkgconf3_1.8.1-4_amd64.deb ...
- Unpacking libpkgconf3:amd64 (1.8.1-4) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../pkgconf-bin_1.8.1-4_amd64.deb ...
- Unpacking pkgconf-bin (1.8.1-4) ...
- Selecting previously unselected package pkgconf:amd64.
- Preparing to unpack .../pkgconf_1.8.1-4_amd64.deb ...
- Unpacking pkgconf:amd64 (1.8.1-4) ...
- Selecting previously unselected package pkg-config:amd64.
- Preparing to unpack .../pkg-config_1.8.1-4_amd64.deb ...
- Unpacking pkg-config:amd64 (1.8.1-4) ...
- Setting up libpkgconf3:amd64 (1.8.1-4) ...
- Setting up pkgconf-bin (1.8.1-4) ...
- Setting up pkgconf:amd64 (1.8.1-4) ...
- Setting up pkg-config:amd64 (1.8.1-4) ...
- Processing triggers for libc-bin (2.41-12) ...
2025-10-09 10:17.34 ---> using "aa1333d60cb730df64ae8b7b72f701e0622dc6ed755a3491b777ea940ed6b339" 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.08.1).
[NOTE] Package ocaml is already installed (current version is 4.08.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 31 packages
- install base-bytes base
- install bheap 2.0.0
- install cmdliner 1.3.0
- install conf-pkg-config 4
- install cppo 1.8.0
- install csexp 1.5.2
- install cstruct 6.2.0
- install domain-name 0.4.1
- install dune 3.20.2
- install dune-configurator 3.20.2
- install duration 0.2.1
- install fmt 0.11.0
- install io-page 3.0.0
- install ipaddr 5.6.1
- install logs 0.8.0
- install lwt 5.9.2
- install lwt-dllist 1.1.0
- install macaddr 5.6.1
- install metrics 0.5.0
- install metrics-lwt 0.5.0
- install mirage-net 4.0.0
- install mirage-runtime 4.7.0
- install mirage-sleep 4.1.0
- install mirage-xen 9.0.0
- install ocamlbuild 0.16.1
- install ocamlfind 1.9.8
- install ocplib-endian 1.2
- install shared-memory-ring 3.2.1
- install shared-memory-ring-lwt 3.2.1
- install topkg 1.1.0
- install xenstore 2.3.0
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed conf-pkg-config.4
-> retrieved bheap.2.0.0 (cached)
-> retrieved cmdliner.1.3.0 (cached)
-> retrieved cppo.1.8.0 (cached)
-> retrieved csexp.1.5.2 (cached)
-> retrieved cstruct.6.2.0 (cached)
-> retrieved domain-name.0.4.1 (cached)
-> retrieved duration.0.2.1 (cached)
-> retrieved fmt.0.11.0 (cached)
-> retrieved io-page.3.0.0 (cached)
-> retrieved logs.0.8.0 (cached)
-> retrieved ipaddr.5.6.1, macaddr.5.6.1 (cached)
-> retrieved lwt-dllist.1.1.0 (cached)
-> retrieved lwt.5.9.2 (cached)
-> retrieved metrics.0.5.0, metrics-lwt.0.5.0 (cached)
-> retrieved mirage-net.4.0.0 (cached)
-> retrieved mirage-sleep.4.1.0 (cached)
-> retrieved mirage-runtime.4.7.0 (cached)
-> retrieved mirage-xen.9.0.0 (cached)
-> retrieved ocamlbuild.0.16.1 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved ocplib-endian.1.2 (cached)
-> retrieved shared-memory-ring.3.2.1, shared-memory-ring-lwt.3.2.1 (cached)
-> retrieved topkg.1.1.0 (cached)
-> retrieved xenstore.2.3.0 (https://opam.ocaml.org/cache)
-> retrieved dune.3.20.2, dune-configurator.3.20.2 (cached)
-> installed cmdliner.1.3.0
-> installed ocamlbuild.0.16.1
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed topkg.1.1.0
-> installed fmt.0.11.0
-> installed dune.3.20.2
-> installed bheap.2.0.0
-> installed lwt-dllist.1.1.0
-> installed duration.0.2.1
-> installed csexp.1.5.2
-> installed cppo.1.8.0
-> installed cstruct.6.2.0
-> installed domain-name.0.4.1
-> installed macaddr.5.6.1
-> installed metrics.0.5.0
-> installed io-page.3.0.0
-> installed shared-memory-ring.3.2.1
-> installed ocplib-endian.1.2
-> installed ipaddr.5.6.1
-> installed dune-configurator.3.20.2
-> installed lwt.5.9.2
-> installed mirage-net.4.0.0
-> installed shared-memory-ring-lwt.3.2.1
-> installed mirage-sleep.4.1.0
-> installed xenstore.2.3.0
-> installed logs.0.8.0
-> installed metrics-lwt.0.5.0
-> installed mirage-runtime.4.7.0
-> installed mirage-xen.9.0.0
Done.
# Run eval $(opam env) to update the current shell environment
2025-10-09 10:17.34 ---> using "cf7d8762ce311d9778442f32a1db6236298f34903caab384c04d86bd96657429" 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.20.2).
The following actions will be performed:
=== install 11 packages
- install astring 0.8.5 [required by odoc]
- install camlp-streams 5.0.1 [required by odoc-parser]
- install crunch 4.0.0 [required by odoc]
- install fpath 0.7.3 [required by odoc]
- install odoc 3.1.0
- install odoc-parser 3.1.0 [required by odoc]
- install ptime 1.2.0 [required by crunch]
- install re 1.11.0 [required by tyxml]
- install seq base [required by tyxml]
- install tyxml 4.6.0 [required by odoc]
- install uutf 1.0.4 [required by tyxml]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved camlp-streams.5.0.1 (cached)
-> retrieved crunch.4.0.0 (cached)
-> retrieved astring.0.8.5 (cached)
-> retrieved fpath.0.7.3 (cached)
-> retrieved ptime.1.2.0 (cached)
-> retrieved seq.base (cached)
-> installed seq.base
-> retrieved re.1.11.0 (cached)
-> retrieved tyxml.4.6.0 (cached)
-> retrieved uutf.1.0.4 (cached)
-> installed camlp-streams.5.0.1
-> retrieved odoc.3.1.0, odoc-parser.3.1.0 (cached)
-> installed re.1.11.0
-> installed uutf.1.0.4
-> installed ptime.1.2.0
-> installed astring.0.8.5
-> installed crunch.4.0.0
-> installed fpath.0.7.3
-> installed odoc-parser.3.1.0
-> installed tyxml.4.6.0
-> installed odoc.3.1.0
Done.
# Run eval $(opam env) to update the current shell environment
2025-10-09 10:17.34 ---> using "895d4f25d913d199cda65daff3f36c2c98085451b7f0e5f302d9c60636269fb7" from cache
/src: (copy (src .) (dst /src/))
2025-10-09 10:17.34 ---> using "4d65b2beaf961cba6da6cb8ac198598575c7ed12243efd49f194e16f2e9604dc" from cache
/src: (run (shell "ODOC_WARN_ERROR=false opam exec -- dune build @doc || (echo \"dune build @doc failed\"; exit 2)"))
2025-10-09 10:17.34 ---> using "119283ba90fb8658a4ab22f1a675486cd48ce8bfb0d86f4b8e6153b5b09c163d" from cache
Job succeeded
2025-10-09 10:17.34: Job succeeded