Organisationsmbarbincmdlangef426e ()(lint-doc)

(lint-doc)

Link Copied
Code Copied

Logs

2025-12-11 15:39.35: New job: test mbarbin/cmdlang https://github.com/mbarbin/cmdlang.git#refs/heads/main (ef426e1bee7a52e8cac313ef3713ef4ee1370639) (linux-x86_64:(lint-doc))
Base: ocaml/opam:alpine-3.22-ocaml-4.14@sha256:035343faa2345fbb738069f2d899570ced75942aab3c76ec7fd2353ed127049a
Opam project lint documentation


To reproduce locally:


git clone --recursive "https://github.com/mbarbin/cmdlang.git" -b "main" && cd "cmdlang" && git reset --hard ef426e1b
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:alpine-3.22-ocaml-4.14@sha256:035343faa2345fbb738069f2d899570ced75942aab3c76ec7fd2353ed127049a
# 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 24866eca47222a207c9a30d2caac223d18f6a780 || git fetch origin master) && git reset -q --hard 24866eca47222a207c9a30d2caac223d18f6a780 && 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


2025-12-11 15:39.35: Using cache hint "mbarbin/cmdlang-ocaml/opam:alpine-3.22-ocaml-4.14@sha256:035343faa2345fbb738069f2d899570ced75942aab3c76ec7fd2353ed127049a-alpine-3.22-4.14_opam-2.4-67b653ef1dca5c0584da7570906c28c5"
2025-12-11 15:39.35: Using OBuilder spec:
((from ocaml/opam:alpine-3.22-ocaml-4.14@sha256:035343faa2345fbb738069f2d899570ced75942aab3c76ec7fd2353ed127049a)
(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 24866eca47222a207c9a30d2caac223d18f6a780 || git fetch origin master) && git reset -q --hard 24866eca47222a207c9a30d2caac223d18f6a780 && 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)"))
)


2025-12-11 15:39.35: Waiting for resource in pool OCluster
2025-12-11 15:39.35: Waiting for worker…
2025-12-11 15:43.06: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
HEAD is now at ef426e1 Merge pull request #40 from mbarbin/pkg-directory-structure


(from ocaml/opam:alpine-3.22-ocaml-4.14@sha256:035343faa2345fbb738069f2d899570ced75942aab3c76ec7fd2353ed127049a)
Unable to find image 'ocaml/opam:alpine-3.22-ocaml-4.14@sha256:035343faa2345fbb738069f2d899570ced75942aab3c76ec7fd2353ed127049a' locally
docker.io/ocaml/opam@sha256:035343faa2345fbb738069f2d899570ced75942aab3c76ec7fd2353ed127049a: Pulling from ocaml/opam
2c9a24bd0ce4: Pulling fs layer
de1201c0f399: Pulling fs layer
92199d46e383: Pulling fs layer
8a5f26de7def: Pulling fs layer
2c9a24bd0ce4: Waiting
de1201c0f399: Waiting
92199d46e383: Waiting
204282843001: Pulling fs layer
8a5f26de7def: Waiting
204282843001: Waiting
de1201c0f399: Verifying Checksum
de1201c0f399: Download complete
92199d46e383: Verifying Checksum
92199d46e383: Download complete
2c9a24bd0ce4: Verifying Checksum
2c9a24bd0ce4: Download complete
8a5f26de7def: Download complete
204282843001: Verifying Checksum
204282843001: Download complete
2c9a24bd0ce4: Pull complete
de1201c0f399: Pull complete
92199d46e383: Pull complete
8a5f26de7def: Pull complete
204282843001: Pull complete
Digest: sha256:035343faa2345fbb738069f2d899570ced75942aab3c76ec7fd2353ed127049a
Status: Downloaded newer image for ocaml/opam@sha256:035343faa2345fbb738069f2d899570ced75942aab3c76ec7fd2353ed127049a
2025-12-11 15:45.22 ---> saved as "531dd882a2fae5a34a8bfa5ee93af1613955008dcdcd99be6da6c29a1733a42a"


/: (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"))
2025-12-11 15:45.22 ---> saved as "2fab46f1363e4c89015e1ff7b833942fa7d9e340158ff84c10339b448c6f750f"


/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-12-11 15:45.48 ---> saved as "434087a1254d5777a5ba08550782ffefdfb7c544f1360da9e26603f0948c7161"


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-87-generic
The OCaml toplevel, version 4.14.2
2.2.1
2025-12-11 15:45.48 ---> saved as "d50b2089bf2d4125099f12e65450fde4175c2083b76331af00a3b19a2ba62b49"


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-12-11 15:45.48 ---> saved as "0fb542b2cfc5f0c9d7c5767bb349e2bfe64c4e50bcafb35fc0b245d4073fc955"


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 24866eca47222a207c9a30d2caac223d18f6a780 || git fetch origin master) && git reset -q --hard 24866eca47222a207c9a30d2caac223d18f6a780 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
21f97b2e6d..810e1f14b7  master     -> origin/master
24866eca47 Merge pull request #29034 from hannesm/fixes


<><> 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-12-11 15:46.11 ---> saved as "c9646b0abf2389600816db38daebdafe21f715700ec199bdd8b5b740acb4dc79"


/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 ./))
2025-12-11 15:46.12 ---> saved as "a483c11cf994cda50b6352aba407534453cb887e3fe0c78068b2962e2c3529d5"


/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)
2025-12-11 15:46.27 ---> saved as "04c35047d1de342d3e424a42c6ab301bede7e5d543600bf3bb5e32e3979d1c09"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-12-11 15:46.27 ---> saved as "57065c1618674237d0cfeb0e1b359410a324b2ba183d72e99bfaec620f5b31a9"


/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-302-g5e12ea0d581 [https://dl-cdn.alpinelinux.org/alpine/v3.22/main]
- v3.22.2-302-g5e12ea0d581 [https://dl-cdn.alpinelinux.org/alpine/v3.22/community]
- v3.23.0-772-g2b3d52cd5f3 [https://dl-cdn.alpinelinux.org/alpine/edge/main]
- v3.23.0-770-g4e8365dfb72 [https://dl-cdn.alpinelinux.org/alpine/edge/community]
- v3.23.0-771-g5597549419b [https://dl-cdn.alpinelinux.org/alpine/edge/testing]
- OK: 60315 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).
2025-12-11 15:46.38 ---> saved as "5793299159f7c36d481c0e1f3389823234cf5f292e7d2c0f9a94638c06e15cd2"


/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
2025-12-11 15:47.10 ---> saved as "ebbfa476c5eaca4e6d5270147d784d9a9b23f247784559807bdb8a538558e952"


/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)
-> installed camlp-streams.5.0.1
-> retrieved ptime.1.2.0  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved re.1.14.0  (cached)
-> retrieved topkg.1.1.1  (cached)
-> retrieved odoc.3.1.0, odoc-parser.3.1.0  (cached)
-> installed cppo.1.8.0
-> retrieved tyxml.4.6.0  (cached)
-> installed re.1.14.0
-> retrieved uutf.1.0.4  (cached)
-> 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
2025-12-11 15:47.40 ---> saved as "34d6015ddabad960c424edd81ae41cdf7f3dca89f4f20824e5be6dafc7928823"


/src: (copy (src .) (dst /src/))
2025-12-11 15:47.41 ---> saved as "5bf5c293f3eb6e1f4a6994d6464804bbdefb7612be1d68e8656d92ac207c6437"


/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)"))
2025-12-11 15:47.41 ---> saved as "121ec9bf26e0638222dcda88516eb3d7d21d831525319f440202d6eb64763059"
Job succeeded
2025-12-11 15:47.41: Job succeeded