Organisationsmirageocaml-tarbbb199 ()(lint-doc)

(lint-doc)

Link Copied
Code Copied

Logs

2026-01-24 22:45.52: New job: test mirage/ocaml-tar https://github.com/mirage/ocaml-tar.git#refs/heads/main (bbb19985822cae634319f9eb1ff16f236e97d206) (linux-x86_64:(lint-doc))
Base: ocaml/opam:debian-13-ocaml-4.08@sha256:7cdc2a1943ac1462f548be7816c6d02f14e605659f225027208abe04795ea500
Opam project lint documentation


To reproduce locally:


git clone --recursive "https://github.com/mirage/ocaml-tar.git" -b "main" && cd "ocaml-tar" && git reset --hard bbb19985
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-4.08@sha256:7cdc2a1943ac1462f548be7816c6d02f14e605659f225027208abe04795ea500
# debian-13-4.08_opam-2.5
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 873cb18c37b308713d11ad3894c4bb78d73fb3e7 || git fetch origin master) && git reset -q --hard 873cb18c37b308713d11ad3894c4bb78d73fb3e7 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 tar.opam tar-eio.opam ./
RUN opam pin add -yn tar.dev './' && \
opam pin add -yn tar-eio.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="base-bigarray.base base-threads.base base-unix.base checkseum.0.5.2 cmdliner.2.1.0 csexp.1.5.2 decompress.1.5.3 dune.3.21.0 dune-configurator.3.21.0 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 optint.0.3.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.2 --depext-only -y tar.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 --only-packages=tar @doc || (echo "dune build @doc failed"; exit 2)


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


2026-01-24 22:45.52: Using cache hint "mirage/ocaml-tar-ocaml/opam:debian-13-ocaml-4.08@sha256:7cdc2a1943ac1462f548be7816c6d02f14e605659f225027208abe04795ea500-debian-13-4.08_opam-2.5-3052f0c18d58e1651c6d8984acda5c6d"
2026-01-24 22:45.52: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.08@sha256:7cdc2a1943ac1462f548be7816c6d02f14e605659f225027208abe04795ea500)
(comment debian-13-4.08_opam-2.5)
(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 873cb18c37b308713d11ad3894c4bb78d73fb3e7 || git fetch origin master) && git reset -q --hard 873cb18c37b308713d11ad3894c4bb78d73fb3e7 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src tar.opam tar-eio.opam) (dst ./))
(run (network host)
(shell  "opam pin add -yn tar.dev './' && \
\nopam pin add -yn tar-eio.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "base-bigarray.base base-threads.base base-unix.base checkseum.0.5.2 cmdliner.2.1.0 csexp.1.5.2 decompress.1.5.3 dune.3.21.0 dune-configurator.3.21.0 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 optint.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.2 --depext-only -y tar.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 --only-packages=tar @doc || (echo \"dune build @doc failed\"; exit 2)"))
)


2026-01-24 22:45.52: Waiting for resource in pool OCluster
2026-01-24 22:45.52: Waiting for worker…
2026-01-24 22:45.54: Got resource from pool OCluster
Building on eumache
All commits already cached
HEAD is now at bbb1998 Apply formatting and sync changes


(from ocaml/opam:debian-13-ocaml-4.08@sha256:7cdc2a1943ac1462f548be7816c6d02f14e605659f225027208abe04795ea500)
Unable to find image 'ocaml/opam:debian-13-ocaml-4.08@sha256:7cdc2a1943ac1462f548be7816c6d02f14e605659f225027208abe04795ea500' locally
docker.io/ocaml/opam@sha256:7cdc2a1943ac1462f548be7816c6d02f14e605659f225027208abe04795ea500: Pulling from ocaml/opam
281b80c799de: Already exists
00fc4ac50d5e: Already exists
7dc48a314bea: Already exists
8f654937f9e3: Already exists
1240f6fbe8cc: Already exists
f77f967230a1: Already exists
1b4ac3d9a8c2: Already exists
27b61414175d: Already exists
26fabf9b20e0: Already exists
b4426e2c299b: Already exists
9c12df827e83: Already exists
9a5608646906: Already exists
2a83342677ae: Already exists
5cbaedd36b85: Already exists
750a9830ac77: Already exists
400560080670: Already exists
bad13195b6fa: Already exists
b51fe78b498e: Already exists
185ce27e889b: Already exists
8a483dc1e759: Already exists
4de9d6d54a13: Already exists
0c268a22c8a0: Already exists
4f4fb700ef54: Already exists
e61881bc2621: Already exists
c864a4af1ff0: Already exists
42d012f62ad9: Already exists
ccb2ed78fa2e: Already exists
84c22434b2f6: Already exists
18c972827b32: Already exists
4c6dcdff9e80: Already exists
280bf9d33ca6: Already exists
51ce8c29753c: Already exists
5ac80663b9d2: Already exists
93f877c915e3: Already exists
8573ccc6bb69: Already exists
d26192cd75ec: Already exists
c7cce15b715e: Already exists
c998ca7b5976: Already exists
3cd1b61d806b: Already exists
19a26ec5319e: Already exists
b1f6813045f3: Already exists
7a2b7a29296d: Already exists
94a0ebb2d223: Already exists
1c7f29f6d19a: Already exists
1493b442f343: Already exists
Digest: sha256:7cdc2a1943ac1462f548be7816c6d02f14e605659f225027208abe04795ea500
Status: Downloaded newer image for ocaml/opam@sha256:7cdc2a1943ac1462f548be7816c6d02f14e605659f225027208abe04795ea500
2026-01-24 22:45.55 ---> using "4c1f60dc0cc5644c6a4c05cf3315bdbf9cc478b70e443b212a1220385bab8bba" from cache


/: (comment debian-13-4.08_opam-2.5)


/: (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"))
2026-01-24 22:45.55 ---> using "09ec43ecaa27dab8346e990737ca0bf6a7d7013925eb2adfd2035898be286c2c" 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
2026-01-24 22:45.55 ---> using "4381d3da7f8b087a220cfbe381c29d4b7fd818708c79fc235d931b092b54a500" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-131-generic
The OCaml toplevel, version 4.08.1
2.2.1
2026-01-24 22:45.55 ---> using "3b37b3fd5120bed103f41ffa820339a0b6d79d83aa18326ed5a0d14e476f8e0e" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2026-01-24 22:45.55 ---> using "f4d738c8e5c0ce9a3dcabad2dcc8f0143a2bfbad6b5bb98d5fdf83725fc7abc3" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 873cb18c37b308713d11ad3894c4bb78d73fb3e7 || git fetch origin master) && git reset -q --hard 873cb18c37b308713d11ad3894c4bb78d73fb3e7 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
a6b2f19780..8e1b9a49e8  master     -> origin/master
873cb18c37 Merge pull request #29216 from shonfeder/release-dune-3.21.0


<><> 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
2026-01-24 22:45.55 ---> using "28db376539e05fc190ddc432258cd61dfd9bdc97103007e7da8853d3c0464d38" from cache


/src: (copy (src tar.opam tar-eio.opam) (dst ./))
2026-01-24 22:45.55 ---> saved as "5f8fc75c1881f28b3db498023e9e84b3be2a0499d6f0ca63479f3d7fc45f23c0"


/src: (run (network host)
(shell  "opam pin add -yn tar.dev './' && \
\nopam pin add -yn tar-eio.dev './'"))
[tar.dev] synchronised (file:///src)
tar is now pinned to file:///src (version dev)
[tar-eio.dev] synchronised (file:///src)
tar-eio is now pinned to file:///src (version dev)
2026-01-24 22:45.59 ---> saved as "b8f82b19564355e5a26aff4c7215ea61aa835d03bf34af7da08175b573f75c68"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2026-01-24 22:45.59 ---> saved as "fd96a5a3461b323c1c3e5c259f12fcadc8288d7b0d1f1f9eb80ee861133cad65"


/src: (env DEPS "base-bigarray.base base-threads.base base-unix.base checkseum.0.5.2 cmdliner.2.1.0 csexp.1.5.2 decompress.1.5.3 dune.3.21.0 dune-configurator.3.21.0 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 optint.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.2 --depext-only -y tar.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian trixie InRelease [140 kB]
- 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 trixie/main amd64 Packages [9670 kB]
- Get:5 http://deb.debian.org/debian-security trixie-security/main amd64 Packages [97.9 kB]
- Fetched 9999 kB in 3s (3693 kB/s)
- Reading package lists...
- 


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[tar.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).
2026-01-24 22:46.13 ---> saved as "ea6e11a6f4e43fe38aa88dfb0975407ec4c1ec3e5ad570080e6a6d1422aa7b60"


/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 7 packages
- install checkseum         0.5.2
- install cmdliner          2.1.0
- install csexp             1.5.2
- install decompress        1.5.3
- install dune              3.21.0
- install dune-configurator 3.21.0
- install optint            0.3.0


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved csexp.1.5.2  (cached)
-> retrieved checkseum.0.5.2  (cached)
-> retrieved cmdliner.2.1.0  (cached)
-> retrieved optint.0.3.0  (cached)
-> retrieved decompress.1.5.3  (cached)
-> retrieved dune.3.21.0, dune-configurator.3.21.0  (cached)
-> installed cmdliner.2.1.0
-> installed dune.3.21.0
-> installed csexp.1.5.2
-> installed optint.0.3.0
-> installed dune-configurator.3.21.0
-> installed checkseum.0.5.2
-> installed decompress.1.5.3
Done.
# Run eval $(opam env) to update the current shell environment
2026-01-24 22:47.10 ---> saved as "a2401b95676ab986c11e6f86d69ef65bbf2ece46210c26c3c9ddb1d89e2a5f15"


/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.21.0).
The following actions will be performed:
=== install 16 packages
- install astring       0.8.5  [required by odoc]
- 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 fmt           0.11.0 [required by odoc]
- install fpath         0.7.3  [required by odoc]
- install ocamlbuild    0.16.1 [required by fmt, astring, fpath]
- install ocamlfind     1.9.8  [required by fmt, astring, fpath]
- 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 topkg         1.1.1  [required by fmt, astring, fpath]
- 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 cppo.1.8.0  (cached)
-> retrieved astring.0.8.5  (cached)
-> retrieved crunch.4.0.0  (cached)
-> retrieved fmt.0.11.0  (cached)
-> retrieved fpath.0.7.3  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ptime.1.2.0  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved re.1.11.0  (cached)
-> retrieved topkg.1.1.1  (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 cppo.1.8.0
-> installed re.1.11.0
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.16.1
-> installed topkg.1.1.1
-> installed uutf.1.0.4
-> installed ptime.1.2.0
-> installed fmt.0.11.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
2026-01-24 22:47.42 ---> saved as "890c8de36a87e6775c28d71c21f9d44dd6790695d06cce03a5563d5049be0f88"


/src: (copy (src .) (dst /src/))
2026-01-24 22:47.42 ---> saved as "3c9b62830e76391ee60ed37c64b31672518dd7b259d0e1125ddb4344bb829058"


/src: (run (shell "ODOC_WARN_ERROR=false opam exec -- dune build --only-packages=tar @doc || (echo \"dune build @doc failed\"; exit 2)"))
(cd _build/default/_doc/_html && /home/opam/.opam/4.08/bin/odoc link -I ../_odoc/pkg/tar -I ../../lib/.tar.objs/byte -I ../../lib/.tar_gz.objs/byte -o ../_odocls/tar/tar.odocl ../../lib/.tar.objs/byte/tar.odoc)
File "lib/tar.mli", line 226, characters 48-69:
Warning: Failed to resolve reference unresolvedroot(Stdlib).seek_in Couldn't find "Stdlib"
File "lib/tar.mli", line 226, characters 4-29:
Warning: Failed to resolve reference unresolvedroot(Stdlib).really_read Couldn't find "Stdlib"
File "lib/tar.mli", line 225, characters 17-36:
Warning: Failed to resolve reference unresolvedroot(Stdlib).input Couldn't find "Stdlib"
2026-01-24 22:47.43 ---> saved as "566868336b0d816dacb6a43b7a944fde57bebdac314050db075054d114104f82"
Job succeeded
2026-01-24 22:47.43: Job succeeded