2024-12-19 22:59.54: New job: test ocaml-ppx/ppx_getenv https://github.com/ocaml-ppx/ppx_getenv.git#refs/heads/master (eb6cb4b77d832b0b4fd062c80b728b12ef01b87e) (linux-x86_64:(lint-doc))
Base: ocaml/opam:debian-12-ocaml-4.04@sha256:8d876fd158ecc34ee68484d0186cea526782d513322df9c964f50b5d813c9841
Opam project lint documentation
To reproduce locally:
git clone --recursive "https://github.com/ocaml-ppx/ppx_getenv.git" -b "master" && cd "ppx_getenv" && git reset --hard eb6cb4b7
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.04@sha256:8d876fd158ecc34ee68484d0186cea526782d513322df9c964f50b5d813c9841
# debian-12-4.04_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 5c7ffb23c89c6943b51f8e215548b72a12e3abd1 || git fetch origin master) && git reset -q --hard 5c7ffb23c89c6943b51f8e215548b72a12e3abd1 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 ppx_getenv.opam ./
RUN opam pin add -yn ppx_getenv.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="base-bigarray.base base-threads.base base-unix.base dune.3.17.1 host-arch-x86_64.1 host-system-other.1 ocaml.4.04.2 ocaml-base-compiler.4.04.2 ocaml-compiler-libs.v0.12.4 ocaml-config.1 ocaml-secondary-compiler.4.14.2 ocamlfind.1.9.6 ocamlfind-secondary.1.9.6 ounit2.2.2.7 ppx_derivers.1.2.1 ppxlib.0.33.0 seq.0.3.1 sexplib0.v0.15.0 stdlib-shims.0.3.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.2 --depext-only -y ppx_getenv.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
2024-12-19 22:59.54: Using cache hint "ocaml-ppx/ppx_getenv-ocaml/opam:debian-12-ocaml-4.04@sha256:8d876fd158ecc34ee68484d0186cea526782d513322df9c964f50b5d813c9841-debian-12-4.04_opam-2.3-150034fd8b6687561b1b3cdc536397e9"
2024-12-19 22:59.54: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.04@sha256:8d876fd158ecc34ee68484d0186cea526782d513322df9c964f50b5d813c9841)
(comment debian-12-4.04_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 5c7ffb23c89c6943b51f8e215548b72a12e3abd1 || git fetch origin master) && git reset -q --hard 5c7ffb23c89c6943b51f8e215548b72a12e3abd1 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src ppx_getenv.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn ppx_getenv.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "base-bigarray.base base-threads.base base-unix.base dune.3.17.1 host-arch-x86_64.1 host-system-other.1 ocaml.4.04.2 ocaml-base-compiler.4.04.2 ocaml-compiler-libs.v0.12.4 ocaml-config.1 ocaml-secondary-compiler.4.14.2 ocamlfind.1.9.6 ocamlfind-secondary.1.9.6 ounit2.2.2.7 ppx_derivers.1.2.1 ppxlib.0.33.0 seq.0.3.1 sexplib0.v0.15.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.2 --depext-only -y ppx_getenv.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)"))
)
2024-12-19 22:59.54: Waiting for resource in pool OCluster
2024-12-20 20:18.55: Waiting for worker…
2024-12-20 20:23.03: Got resource from pool OCluster
Building on x86-bm-c15.sw.ocaml.org
All commits already cached
HEAD is now at eb6cb4b Merge pull request #9 from kit-ty-kate/release-2.1
(from ocaml/opam:debian-12-ocaml-4.04@sha256:8d876fd158ecc34ee68484d0186cea526782d513322df9c964f50b5d813c9841)
2024-12-20 20:23.03 ---> using "8e3e971a1f7c27fb1dcf78dea00b98d8715ce8ee0ad3f8247dc016846c8033a7" from cache
/: (comment debian-12-4.04_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"))
2024-12-20 20:23.03 ---> saved as "609b097f138093ee3ce0366b07fa5829b4ad52a5190fe5a26f4be4fbc38aecbb"
/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] synchronised from file:///home/opam/opam-repository
2024-12-20 20:24.25 ---> saved as "ba55caa153e9a65bbe3e6337be9da302d81028170219d058fd0449a5edafa44a"
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-126-generic
The OCaml toplevel, version 4.04.2
2.2.1
2024-12-20 20:24.25 ---> saved as "91c03873a52d2368456ff644fdf42acecd59498db31bd5b8d00d5bf063f53178"
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-12-20 20:24.25 ---> saved as "db18e373c1ca8cf202ac9e09fc19d718d09881f4c4772a91ce0f640be89feb99"
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 5c7ffb23c89c6943b51f8e215548b72a12e3abd1 || git fetch origin master) && git reset -q --hard 5c7ffb23c89c6943b51f8e215548b72a12e3abd1 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
de786e28db..f51b2f3708 master -> origin/master
5c7ffb23c8 Merge pull request #27137 from maiste/release-dune-3.17.1
<><> 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-12-20 20:25.45 ---> saved as "532e7f9cd5e4a85cb8cf4e63c9838229d728986e273cce90a91e13ac2cc9d3f8"
/src: (copy (src ppx_getenv.opam) (dst ./))
2024-12-20 20:25.45 ---> saved as "ba7133ee693eeaf52e4168bdc4ae4dd73eb4f9a5b0531d40adddd91c991b2e69"
/src: (run (network host)
(shell "opam pin add -yn ppx_getenv.dev './'"))
[ppx_getenv.dev] synchronised (file:///src)
[WARNING] Failed checks on ppx_getenv package definition from source at file:///src:
warning 62: License doesn't adhere to the SPDX standard, see https://spdx.org/licenses/ : "Public domain"
ppx_getenv is now pinned to file:///src (version dev)
2024-12-20 20:25.47 ---> saved as "c53690fa78b2c1dc63b6eeaee4da2f6dfb7f885c56989454504d2273a1781f4a"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2024-12-20 20:25.48 ---> saved as "ac54a574b056859d7c0353d1a6923c559fde6e94d9a078cb2636aa62392563af"
/src: (env DEPS "base-bigarray.base base-threads.base base-unix.base dune.3.17.1 host-arch-x86_64.1 host-system-other.1 ocaml.4.04.2 ocaml-base-compiler.4.04.2 ocaml-compiler-libs.v0.12.4 ocaml-config.1 ocaml-secondary-compiler.4.14.2 ocamlfind.1.9.6 ocamlfind-secondary.1.9.6 ounit2.2.2.7 ppx_derivers.1.2.1 ppxlib.0.33.0 seq.0.3.1 sexplib0.v0.15.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.2 --depext-only -y ppx_getenv.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 [236 kB]
- Fetched 339 kB in 0s (740 kB/s)
- Reading package lists...
-
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[ppx_getenv.dev] synchronised (file:///src)
[NOTE] Package ocaml-secondary-compiler is already installed (current version is 4.14.2).
[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 host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 is already installed (current version is 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).
2024-12-20 20:26.10 ---> saved as "1b96354dc54772decd66db8ca42d371d18136a9ede52f7f7273c72637a58b45e"
/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.14.2).
[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 host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 is already installed (current version is 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 10 packages
- install dune 3.17.1
- install ocaml-compiler-libs v0.12.4
- install ocamlfind 1.9.6
- install ocamlfind-secondary 1.9.6
- install ounit2 2.2.7
- install ppx_derivers 1.2.1
- install ppxlib 0.33.0
- install seq 0.3.1
- install sexplib0 v0.15.0
- install stdlib-shims 0.3.0
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved ocaml-compiler-libs.v0.12.4 (cached)
-> retrieved ocamlfind.1.9.6, ocamlfind-secondary.1.9.6 (cached)
-> retrieved ounit2.2.2.7 (cached)
-> retrieved ppx_derivers.1.2.1 (cached)
-> retrieved seq.0.3.1 (cached)
-> retrieved sexplib0.v0.15.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved ppxlib.0.33.0 (cached)
-> retrieved dune.3.17.1 (cached)
-> installed ocamlfind.1.9.6
-> installed ocamlfind-secondary.1.9.6
-> installed dune.3.17.1
-> installed ppx_derivers.1.2.1
-> installed seq.0.3.1
-> installed stdlib-shims.0.3.0
-> installed sexplib0.v0.15.0
-> installed ocaml-compiler-libs.v0.12.4
-> installed ounit2.2.2.7
-> installed ppxlib.0.33.0
Done.
# Run eval $(opam env) to update the current shell environment
2024-12-20 20:27.13 ---> saved as "084fd65848bf73fbaef92ef2bf5cfba5b79801e93f4b52a7dbd321aacc055877"
/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.1).
The following actions will be performed:
=== install 16 packages
- install astring 0.8.3 [required by odoc]
- install base-bytes base [required by astring]
- install camlp-streams 5.0.1 [required by odoc-parser]
- install cmdliner 1.0.4 [required by odoc]
- install cppo 1.8.0 [required by odoc]
- install crunch 2.2.0 [required by odoc]
- install fmt 0.8.6 [required by odoc]
- install fpath 0.7.3 [required by odoc]
- install ocamlbuild 0.14.3 [required by fmt, astring, fpath]
- install odoc 2.4.4
- install odoc-parser 2.4.4 [required by odoc]
- install re 1.11.0 [required by tyxml]
- install result 1.5 [required by odoc]
- install topkg 1.0.4 [required by fmt, astring, fpath]
- install tyxml 4.6.0 [required by odoc]
- install uutf 1.0.3 [required by tyxml]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed base-bytes.base
-> retrieved camlp-streams.5.0.1 (cached)
-> retrieved astring.0.8.3 (cached)
-> retrieved cmdliner.1.0.4 (cached)
-> retrieved cppo.1.8.0 (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)
-> installed camlp-streams.5.0.1
-> retrieved odoc.2.4.4, odoc-parser.2.4.4 (cached)
-> installed cppo.1.8.0
-> retrieved re.1.11.0 (cached)
-> retrieved result.1.5 (cached)
-> retrieved topkg.1.0.4 (cached)
-> retrieved uutf.1.0.3 (cached)
-> retrieved tyxml.4.6.0 (cached)
-> installed result.1.5
-> installed cmdliner.1.0.4
-> installed re.1.11.0
-> installed crunch.2.2.0
-> installed ocamlbuild.0.14.3
-> 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.4
-> installed tyxml.4.6.0
-> installed odoc.2.4.4
Done.
# Run eval $(opam env) to update the current shell environment
2024-12-20 20:28.05 ---> saved as "c6adcd1c8a695af9e47e0128d565578d837d243f87310bc7c18c7c361a48a370"
/src: (copy (src .) (dst /src/))
2024-12-20 20:28.05 ---> saved as "e9c706ca007cf7f2a3c7cdd42cacfd71722ea30f182e1ed899a969f468049eb1"
/src: (run (shell "ODOC_WARN_ERROR=false opam exec -- dune build @doc || (echo \"dune build @doc failed\"; exit 2)"))
2024-12-20 20:28.05 ---> saved as "cb924770bf2efe00db5124981462d3d6cbb195fd4fde7b0ea88e8109127330e7"
Job succeeded
2024-12-20 20:28.06: Job succeeded