2024-05-10 09:20.14: New job: test mirage/mmap https://github.com/mirage/mmap.git#refs/heads/master (b8479a19367465da3990ddbd7e7eb46c990b843a) (linux-x86_64:(lint-doc))
Base: ocaml/opam@sha256:878a774498ae290930d6148639fb7a67dad42523c3b76f638f93b2077207e72f
Opam project lint documentation
To reproduce locally:
git clone --recursive "https://github.com/mirage/mmap.git" -b "master" && cd "mmap" && git reset --hard b8479a19
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam@sha256:878a774498ae290930d6148639fb7a67dad42523c3b76f638f93b2077207e72f
# debian-12-4.02_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 2275b400535e884d216047a092e70705139c9e41 || git fetch origin master) && git reset -q --hard 2275b400535e884d216047a092e70705139c9e41 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 mmap.opam ./
RUN opam pin add -yn mmap.dev './'
ENV DEPS="base-bigarray.base base-ocamlbuild.base base-threads.base base-unix.base bigarray-compat.1.1.0 dune.3.15.2 ocaml.4.02.3 ocaml-base-compiler.4.02.3 ocaml-config.1 ocaml-secondary-compiler.4.08.1-1 ocamlfind.1.9.6 ocamlfind-secondary.1.9.6"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.1 --depext-only -y mmap.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-05-10 09:20.14: Using cache hint "mirage/mmap-ocaml/opam@sha256:878a774498ae290930d6148639fb7a67dad42523c3b76f638f93b2077207e72f-debian-12-4.02_opam-2.1-f5d0a90b0e0e6af44c18a644ab83a5a6"
2024-05-10 09:20.14: Using OBuilder spec:
((from ocaml/opam@sha256:878a774498ae290930d6148639fb7a67dad42523c3b76f638f93b2077207e72f)
(comment debian-12-4.02_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 2275b400535e884d216047a092e70705139c9e41 || git fetch origin master) && git reset -q --hard 2275b400535e884d216047a092e70705139c9e41 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src mmap.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn mmap.dev './'"))
(env DEPS "base-bigarray.base base-ocamlbuild.base base-threads.base base-unix.base bigarray-compat.1.1.0 dune.3.15.2 ocaml.4.02.3 ocaml-base-compiler.4.02.3 ocaml-config.1 ocaml-secondary-compiler.4.08.1-1 ocamlfind.1.9.6 ocamlfind-secondary.1.9.6")
(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 mmap.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-05-10 09:20.14: Waiting for resource in pool OCluster
2024-05-11 00:55.10: Waiting for worker…
2024-05-11 00:55.12: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
HEAD is now at b8479a1 Merge pull request #9 from mirage/prepare-v1.2.0
(from ocaml/opam@sha256:878a774498ae290930d6148639fb7a67dad42523c3b76f638f93b2077207e72f)
2024-05-11 00:55.13 ---> using "55554dc33b1f6c2b893d7323771050fdd260fbca6e92cf26cf38893a38d74dd6" from cache
/: (comment debian-12-4.02_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-05-11 00:55.13 ---> using "a26f55618f42b98fa673adcd7f11ddefc4ec32aa460449e2aab6a518c8301ce3" 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-05-11 00:55.13 ---> using "16f676e51592c146d1bfb77157e1c14965c1f8a96a645fb7b5afb03abf343f76" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-106-generic
The OCaml toplevel, version 4.02.3
2.1.5
2024-05-11 00:55.13 ---> using "6ff76871af3fc53940bf7acfd172d161f403277851e26d2b1e75231e7fc38979" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-05-11 00:55.13 ---> using "342b4f5221de0dd8b1cd98f6d7f552e90df7157eb319b90141c72be97fc779fe" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 2275b400535e884d216047a092e70705139c9e41 || git fetch origin master) && git reset -q --hard 2275b400535e884d216047a092e70705139c9e41 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
fa727ddb20..2ae169d7d0 master -> origin/master
2275b40053 @dra27 maintains ocaml-secondary-compiler
<><> 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-05-11 00:55.13 ---> using "66213640cbf4a32adc2e910f6f106fe246e63494d0e1a88335f8d4ebf3ce7e73" from cache
/src: (copy (src mmap.opam) (dst ./))
2024-05-11 00:55.13 ---> using "6f4418daccb7ba6cee25cd2c6c30f48fff621bf378dc4ca70f4aa96a3c7ced5c" from cache
/src: (run (network host)
(shell "opam pin add -yn mmap.dev './'"))
[mmap.dev] synchronised (file:///src)
mmap is now pinned to file:///src (version dev)
2024-05-11 00:55.13 ---> using "87a5de17ee41f38f8ff4ddacd965421bc43a90d6de91cb9ebdaa5fe491bd97ae" from cache
/src: (env DEPS "base-bigarray.base base-ocamlbuild.base base-threads.base base-unix.base bigarray-compat.1.1.0 dune.3.15.2 ocaml.4.02.3 ocaml-base-compiler.4.02.3 ocaml-config.1 ocaml-secondary-compiler.4.08.1-1 ocamlfind.1.9.6 ocamlfind-secondary.1.9.6")
/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 mmap.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 271 kB in 0s (1002 kB/s)
- Reading package lists...
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[mmap.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.02.3).
[NOTE] Package ocaml is already installed (current version is 4.02.3).
[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-ocamlbuild is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
2024-05-11 00:55.23 ---> saved as "eb04a45007c8898d24c3be93bf9ba11e05ecfe97f6debfbee28a438782d954a3"
/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.02.3).
[NOTE] Package ocaml is already installed (current version is 4.02.3).
[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-ocamlbuild 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 ocamlfind-secondary 1.9.6
- install dune 3.15.2
- install bigarray-compat 1.1.0
===== 4 to install =====
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved bigarray-compat.1.1.0 (cached)
-> retrieved ocamlfind.1.9.6 (cached)
-> retrieved dune.3.15.2 (cached)
-> retrieved ocamlfind-secondary.1.9.6 (cached)
-> installed ocamlfind.1.9.6
-> installed ocamlfind-secondary.1.9.6
-> installed dune.3.15.2
-> installed bigarray-compat.1.1.0
Done.
# Run eval $(opam env) to update the current shell environment
2024-05-11 00:56.03 ---> saved as "ccdbd27f82fcc366d97012af3d172a6ba2af778f3f8698057f6b20d9c8791e2a"
/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 cppo 1.6.9 [required by odoc]
- install seq 0.3.1 [required by tyxml]
- install ocamlbuild 0 [required by fmt, cmdliner, astring, etc.]
- install result 1.4 [required by odoc]
- install base-bytes base [required by astring]
- install camlp-streams 5.0.1 [required by odoc-parser]
- install re 1.10.3 [required by tyxml]
- install uchar 0.0.2 [required by fmt]
- install topkg 1.0.0 [required by fmt, astring, cmdliner, fpath]
- install cmdliner 1.0.2 [required by odoc]
- install astring 0.8.3 [required by odoc]
- install uutf 1.0.2 [required by tyxml]
- install fmt 0.8.5 [required by odoc]
- install crunch 1.4.1 [required by odoc]
- install odoc-parser 2.4.1 [required by odoc]
- install fpath 0.7.2 [required by odoc]
- install tyxml 4.5.0 [required by odoc]
- install odoc 2.4.1
===== 18 to install =====
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed base-bytes.base
-> retrieved astring.0.8.3 (cached)
-> retrieved camlp-streams.5.0.1 (cached)
-> retrieved cmdliner.1.0.2 (cached)
-> retrieved cppo.1.6.9 (cached)
-> retrieved crunch.1.4.1 (cached)
-> installed ocamlbuild.0
-> retrieved fmt.0.8.5 (cached)
-> retrieved fpath.0.7.2 (cached)
-> retrieved re.1.10.3 (cached)
-> retrieved result.1.4 (cached)
-> retrieved seq.0.3.1 (cached)
-> installed camlp-streams.5.0.1
-> retrieved topkg.1.0.0 (cached)
-> retrieved tyxml.4.5.0 (cached)
-> retrieved uchar.0.0.2 (cached)
-> retrieved uutf.1.0.2 (cached)
-> installed result.1.4
-> installed seq.0.3.1
-> retrieved odoc.2.4.1 (cached)
-> retrieved odoc-parser.2.4.1 (cached)
-> installed uchar.0.0.2
-> installed re.1.10.3
-> installed cppo.1.6.9
-> installed topkg.1.0.0
-> installed astring.0.8.3
-> installed cmdliner.1.0.2
-> installed fpath.0.7.2
-> installed odoc-parser.2.4.1
-> installed uutf.1.0.2
-> installed fmt.0.8.5
-> installed crunch.1.4.1
-> installed tyxml.4.5.0
-> installed odoc.2.4.1
Done.
# Run eval $(opam env) to update the current shell environment
2024-05-11 00:58.22 ---> saved as "e5e25f5984c6026f16691972ce193ea8e9bcb39a2343ec389f09bee7459515d5"
/src: (copy (src .) (dst /src/))
2024-05-11 00:58.22 ---> saved as "25dcf5ba928eade0b74bf86f6995e804e0f995736a9b8c67b924d55c1107ca9a"
/src: (run (shell "ODOC_WARN_ERROR=false opam exec -- dune build @doc || (echo \"dune build @doc failed\"; exit 2)"))
(cd _build/default/_doc/_html && /home/opam/.opam/4.02/bin/odoc link -I ../_odoc/pkg/mmap -I ../../src/.mmap.objs/byte -o ../_odocls/mmap/mmap.odocl ../../src/.mmap.objs/byte/mmap.odoc)
File "src/mmap.mli", line 12, characters 32-48:
Warning: Failed to resolve reference unresolvedroot(Unix).map_file Couldn't find "Unix"
2024-05-11 00:58.23 ---> saved as "f374da74a1e50553077f583f74e5f50196d455ab963dad49d1d7f243000f206c"
Job succeeded
2024-05-11 00:58.23: Job succeeded