Organisationsmbarbincmdlang90970f ()(lint-doc)

(lint-doc)

Link Copied
Code Copied

Logs

2026-01-03 08:43.03: New job: test mbarbin/cmdlang https://github.com/mbarbin/cmdlang.git#refs/heads/main (90970f793bbdc848d64b87d50cf3ff0df4fa576c) (linux-x86_64:(lint-doc))
Base: ocaml/opam:alpine-3.22-ocaml-4.14@sha256:a0c1723a110c08defb88eb348da408dda1e97cc67f7b5978091a31df7eb5720a
Opam project lint documentation


To reproduce locally:


git clone --recursive "https://github.com/mbarbin/cmdlang.git" -b "main" && cd "cmdlang" && git reset --hard 90970f79
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:alpine-3.22-ocaml-4.14@sha256:a0c1723a110c08defb88eb348da408dda1e97cc67f7b5978091a31df7eb5720a
# alpine-3.22-4.14_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 c65fcb116531ae66ad3316b265e233443ef25044 || git fetch origin master) && git reset -q --hard c65fcb116531ae66ad3316b265e233443ef25044 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 cmdlang.opam cmdlang-to-cmdliner.opam cmdlang-to-climate.opam cmdlang-to-base.opam cmdlang-tests.opam cmdlang-stdlib-runner.opam cmdlang-dev.opam ./
RUN opam pin add -yn cmdlang.dev './' && \
opam pin add -yn cmdlang-to-cmdliner.dev './' && \
opam pin add -yn cmdlang-to-climate.dev './' && \
opam pin add -yn cmdlang-to-base.dev './' && \
opam pin add -yn cmdlang-tests.dev './' && \
opam pin add -yn cmdlang-stdlib-runner.dev './' && \
opam pin add -yn cmdlang-dev.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="base-bigarray.base base-threads.base base-unix.base climate.0.9.0 cmdliner.2.1.0 dune.3.20.2 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.2 --depext-only -y cmdlang.dev cmdlang-to-cmdliner.dev cmdlang-to-climate.dev cmdlang-stdlib-runner.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=cmdlang,cmdlang-to-cmdliner,cmdlang-to-climate,cmdlang-stdlib-runner @doc || (echo "dune build @doc failed"; exit 2)


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


2026-01-03 08:43.03: Using cache hint "mbarbin/cmdlang-ocaml/opam:alpine-3.22-ocaml-4.14@sha256:a0c1723a110c08defb88eb348da408dda1e97cc67f7b5978091a31df7eb5720a-alpine-3.22-4.14_opam-2.4-67b653ef1dca5c0584da7570906c28c5"
2026-01-03 08:43.03: Using OBuilder spec:
((from ocaml/opam:alpine-3.22-ocaml-4.14@sha256:a0c1723a110c08defb88eb348da408dda1e97cc67f7b5978091a31df7eb5720a)
(comment alpine-3.22-4.14_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 c65fcb116531ae66ad3316b265e233443ef25044 || git fetch origin master) && git reset -q --hard c65fcb116531ae66ad3316b265e233443ef25044 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src cmdlang.opam cmdlang-to-cmdliner.opam cmdlang-to-climate.opam cmdlang-to-base.opam cmdlang-tests.opam cmdlang-stdlib-runner.opam cmdlang-dev.opam)
(dst ./))
(run (network host)
(shell  "opam pin add -yn cmdlang.dev './' && \
\nopam pin add -yn cmdlang-to-cmdliner.dev './' && \
\nopam pin add -yn cmdlang-to-climate.dev './' && \
\nopam pin add -yn cmdlang-to-base.dev './' && \
\nopam pin add -yn cmdlang-tests.dev './' && \
\nopam pin add -yn cmdlang-stdlib-runner.dev './' && \
\nopam pin add -yn cmdlang-dev.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "base-bigarray.base base-threads.base base-unix.base climate.0.9.0 cmdliner.2.1.0 dune.3.20.2 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1")
(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 cmdlang.dev cmdlang-to-cmdliner.dev cmdlang-to-climate.dev cmdlang-stdlib-runner.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=cmdlang,cmdlang-to-cmdliner,cmdlang-to-climate,cmdlang-stdlib-runner @doc || (echo \"dune build @doc failed\"; exit 2)"))
)


2026-01-03 08:43.03: Waiting for resource in pool OCluster
2026-01-03 08:43.03: Waiting for worker…
2026-01-03 08:43.03: Got resource from pool OCluster
Building on laodoke.caelum.ci.dev
All commits already cached
HEAD is now at 90970f7 Merge pull request #42 from mbarbin/upgrade-dunolint-preview


(from ocaml/opam:alpine-3.22-ocaml-4.14@sha256:a0c1723a110c08defb88eb348da408dda1e97cc67f7b5978091a31df7eb5720a)
Unable to find image 'ocaml/opam:alpine-3.22-ocaml-4.14@sha256:a0c1723a110c08defb88eb348da408dda1e97cc67f7b5978091a31df7eb5720a' locally
docker.io/ocaml/opam@sha256:a0c1723a110c08defb88eb348da408dda1e97cc67f7b5978091a31df7eb5720a: Pulling from ocaml/opam
d4e692377905: Pulling fs layer
d4e692377905: Waiting
d4e692377905: Verifying Checksum
d4e692377905: Download complete
d4e692377905: Pull complete
Digest: sha256:a0c1723a110c08defb88eb348da408dda1e97cc67f7b5978091a31df7eb5720a
Status: Downloaded newer image for ocaml/opam@sha256:a0c1723a110c08defb88eb348da408dda1e97cc67f7b5978091a31df7eb5720a
2026-01-03 08:43.04 ---> using "ece82a8ac6d41a1ab09fb11091965cb1ec871520b8574cef65f50dce7f99ce3f" from cache


/: (comment alpine-3.22-4.14_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"))
2026-01-03 08:43.04 ---> using "dc259fae3b6e8c59e91deb1a68cb33d41f4df7a2c13f42069a7f9aa8e4f051e3" 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
[NOTE] The 'jobs' option was reset, its value was 255 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
opam option jobs=255 --global
Format upgrade done.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2026-01-03 08:43.04 ---> using "5ffd5788c0b473ccc5f03a0ae6600ec644a52df609d8a36c0001876446882986" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-86-generic
The OCaml toplevel, version 4.14.2
2.2.1
2026-01-03 08:43.04 ---> using "f226fa52ad75e888c3b73dc96140dc55558bada0d1c05f108027f6a0be7510b4" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2026-01-03 08:43.04 ---> using "3b32ee39ea453a7dabfa5538f7674f5c85b56e134cd347f0b6af0cf269d8fbc0" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e c65fcb116531ae66ad3316b265e233443ef25044 || git fetch origin master) && git reset -q --hard c65fcb116531ae66ad3316b265e233443ef25044 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
ee48e882f0..e3e2b0426d  master     -> origin/master
c65fcb1165 Merge pull request #29080 from dra27/ocaml-config-urls


<><> 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-03 08:43.04 ---> using "b375427ed9db5bbdef3f8765706ae7e95464ed3a3657c34176640235dc4fc7a0" from cache


/src: (copy (src cmdlang.opam cmdlang-to-cmdliner.opam cmdlang-to-climate.opam cmdlang-to-base.opam cmdlang-tests.opam cmdlang-stdlib-runner.opam cmdlang-dev.opam)
(dst ./))
2026-01-03 08:43.04 ---> using "f1f044886b453c282700e19b1e8fa617072f964290edea080b74bba54a82f90f" from cache


/src: (run (network host)
(shell  "opam pin add -yn cmdlang.dev './' && \
\nopam pin add -yn cmdlang-to-cmdliner.dev './' && \
\nopam pin add -yn cmdlang-to-climate.dev './' && \
\nopam pin add -yn cmdlang-to-base.dev './' && \
\nopam pin add -yn cmdlang-tests.dev './' && \
\nopam pin add -yn cmdlang-stdlib-runner.dev './' && \
\nopam pin add -yn cmdlang-dev.dev './'"))
[cmdlang.dev] synchronised (file:///src)
cmdlang is now pinned to file:///src (version dev)
[cmdlang-to-cmdliner.dev] synchronised (file:///src)
cmdlang-to-cmdliner is now pinned to file:///src (version dev)
[cmdlang-to-climate.dev] synchronised (file:///src)
cmdlang-to-climate is now pinned to file:///src (version dev)
[cmdlang-to-base.dev] synchronised (file:///src)
cmdlang-to-base is now pinned to file:///src (version dev)
Package cmdlang-tests does not exist, create as a NEW package? [y/n] y
[cmdlang-tests.dev] synchronised (file:///src)
cmdlang-tests is now pinned to file:///src (version dev)
[cmdlang-stdlib-runner.dev] synchronised (file:///src)
cmdlang-stdlib-runner is now pinned to file:///src (version dev)
Package cmdlang-dev does not exist, create as a NEW package? [y/n] y
[cmdlang-dev.dev] synchronised (file:///src)
cmdlang-dev is now pinned to file:///src (version dev)
2026-01-03 08:43.04 ---> using "e537e2b2fc1edb4b6be48e3bc29a83d8b25143590fa912d5c207934740c24c89" from cache


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2026-01-03 08:43.04 ---> using "1df86381787f001d46e4a42e74a13caef124929e941ac8a4aac3d84112ecf40d" from cache


/src: (env DEPS "base-bigarray.base base-threads.base base-unix.base climate.0.9.0 cmdliner.2.1.0 dune.3.20.2 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1")


/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 cmdlang.dev cmdlang-to-cmdliner.dev cmdlang-to-climate.dev cmdlang-stdlib-runner.dev $DEPS"))
+ /usr/bin/sudo "apk" "update"
- fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/main/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/community/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
- v3.22.2-329-g12c23cfd213 [https://dl-cdn.alpinelinux.org/alpine/v3.22/main]
- v3.22.2-325-gffb20bd62d9 [https://dl-cdn.alpinelinux.org/alpine/v3.22/community]
- v20251224-396-g3ec4acfe473 [https://dl-cdn.alpinelinux.org/alpine/edge/main]
- v20251224-400-g3ff787a6b8e [https://dl-cdn.alpinelinux.org/alpine/edge/community]
- v20251224-400-g3ff787a6b8e [https://dl-cdn.alpinelinux.org/alpine/edge/testing]
- OK: 60630 distinct packages available


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[cmdlang.dev] synchronised (file:///src)
[cmdlang-stdlib-runner.dev] synchronised (file:///src)
[cmdlang-to-climate.dev] synchronised (file:///src)
[cmdlang-to-cmdliner.dev] synchronised (file:///src)


[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.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).
2026-01-03 08:43.04 ---> using "1cf021bc0aece58190db18709f5f7a58e58495707a3b639e2eb5ff4b10b67f10" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.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 3 packages
- install climate  0.9.0
- install cmdliner 2.1.0
- install dune     3.20.2


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved climate.0.9.0  (cached)
-> retrieved cmdliner.2.1.0  (cached)
-> retrieved dune.3.20.2  (cached)
-> installed cmdliner.2.1.0
-> installed dune.3.20.2
-> installed climate.0.9.0
Done.
# Run eval $(opam env) to update the current shell environment
2026-01-03 08:43.04 ---> using "b9df87f1da84061b20bedba437448925774aaae9511914db79b2f93a0c4cf772" 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 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.14.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 astring.0.8.5  (cached)
-> retrieved cppo.1.8.0  (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
-> installed camlp-streams.5.0.1
-> retrieved re.1.14.0  (cached)
-> retrieved topkg.1.1.1  (cached)
-> retrieved tyxml.4.6.0  (cached)
-> retrieved uutf.1.0.4  (cached)
-> retrieved odoc.3.1.0, odoc-parser.3.1.0  (cached)
-> installed cppo.1.8.0
-> installed re.1.14.0
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.16.1
-> installed topkg.1.1.1
-> installed uutf.1.0.4
-> installed fmt.0.11.0
-> 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
2026-01-03 08:43.04 ---> using "11b033d1d13b0ddad1e698a7e544f79c85e7c9e1098fe3d21665f35c6ca6a7f7" from cache


/src: (copy (src .) (dst /src/))
2026-01-03 08:43.04 ---> using "2966768f78f5f3bae484c17b360b3df5abf0bae862aa886bdfbf9ae28fc6736b" from cache


/src: (run (shell "ODOC_WARN_ERROR=false opam exec -- dune build --only-packages=cmdlang,cmdlang-to-cmdliner,cmdlang-to-climate,cmdlang-stdlib-runner @doc || (echo \"dune build @doc failed\"; exit 2)"))
2026-01-03 08:43.04 ---> using "5ad3f7f2ef8d4ae7d5e4304bb29aff7aca861e04864595de8564f8a8ceb7e718" from cache
Job succeeded
2026-01-03 08:43.04: Job succeeded