Organisationsdinosaureprettym42d0f7 (main)(lint-doc)

(lint-doc)

Link Copied
Code Copied

Logs

2026-05-22 09:46.42: New job: test dinosaure/prettym https://github.com/dinosaure/prettym.git#refs/heads/main (42d0f757bc4094cfdc1f76d130428c20f447fb57) (linux-x86_64:(lint-doc))
Base: ocaml/opam:alpine-3.23-ocaml-4.14@sha256:c98c3afc38d39340ca2b1e9c3c1b8c127283806cba433dd4865c01d18c619ef9
Opam project lint documentation


To reproduce locally:


git clone --recursive "https://github.com/dinosaure/prettym.git" -b "main" && cd "prettym" && git reset --hard 42d0f757
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:alpine-3.23-ocaml-4.14@sha256:c98c3afc38d39340ca2b1e9c3c1b8c127283806cba433dd4865c01d18c619ef9
# alpine-3.23-4.14_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 cd ~/opam-repository && (git cat-file -e c180e1630960e0dbb8e30c22b3de89113eb5cc93 || git fetch origin master) && git reset -q --hard c180e1630960e0dbb8e30c22b3de89113eb5cc93 && git log --no-decorate -n1 --oneline
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
WORKDIR /src
RUN sudo chown opam /src
RUN opam update -u
COPY --chown=1000:1000 prettym.opam ./
RUN opam pin add -yn prettym.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="alcotest.1.9.1 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base base64.3.5.2 bstr.0.0.4 cmdliner.2.1.1 dune.3.23.1 fmt.0.11.0 jsonm.1.0.2 ke.0.6 ocaml.4.14.3 ocaml-base-compiler.4.14.3 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ptime.1.2.0 re.1.14.0 stdlib-shims.0.3.0 topkg.1.1.1 uutf.1.0.4"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.2 --depext-only -y prettym.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


2026-05-22 09:46.42: Using cache hint "dinosaure/prettym-ocaml/opam:alpine-3.23-ocaml-4.14@sha256:c98c3afc38d39340ca2b1e9c3c1b8c127283806cba433dd4865c01d18c619ef9-alpine-3.23-4.14_opam-2.5-c3ce32370c27c7fb5514bdc03385f65f"
2026-05-22 09:46.42: Using OBuilder spec:
((from ocaml/opam:alpine-3.23-ocaml-4.14@sha256:c98c3afc38d39340ca2b1e9c3c1b8c127283806cba433dd4865c01d18c619ef9)
(comment alpine-3.23-4.14_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 (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e c180e1630960e0dbb8e30c22b3de89113eb5cc93 || git fetch origin master) && git reset -q --hard c180e1630960e0dbb8e30c22b3de89113eb5cc93 && git log --no-decorate -n1 --oneline"))
(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 "opam update -u"))
(copy (src prettym.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn prettym.dev './'"))
(run (shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "alcotest.1.9.1 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base base64.3.5.2 bstr.0.0.4 cmdliner.2.1.1 dune.3.23.1 fmt.0.11.0 jsonm.1.0.2 ke.0.6 ocaml.4.14.3 ocaml-base-compiler.4.14.3 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ptime.1.2.0 re.1.14.0 stdlib-shims.0.3.0 topkg.1.1.1 uutf.1.0.4")
(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 prettym.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)"))
)


2026-05-22 09:46.42: Waiting for resource in pool OCluster
2026-05-22 09:52.14: Waiting for worker…
2026-05-22 09:57.31: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
HEAD is now at 42d0f75 Merge pull request #9 from dinosaure/prepare-v0.0.5


(from ocaml/opam:alpine-3.23-ocaml-4.14@sha256:c98c3afc38d39340ca2b1e9c3c1b8c127283806cba433dd4865c01d18c619ef9)
2026-05-22 09:57.32 ---> using "8e65bc4d84a4bbc3f291f4c89c5f0411ea9740fc4228eddb2c11cbc44748b04d" from cache


/: (comment alpine-3.23-4.14_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-05-22 09:57.32 ---> using "a94f933c2065f1331b71c9d3e0f08d7c877e02d1c25b554eec73dda9103c15f6" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e c180e1630960e0dbb8e30c22b3de89113eb5cc93 || git fetch origin master) && git reset -q --hard c180e1630960e0dbb8e30c22b3de89113eb5cc93 && git log --no-decorate -n1 --oneline"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
045748b2d8..3e30e43808  master     -> origin/master
c180e16309 Merge pull request #29907 from dra27/host-arch-fixes
2026-05-22 09:57.32 ---> using "e4bc937943535fcf0bf64b339e377fbd15ddb9e7c5a03c7fdd84de855d5837dc" 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 ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ERROR] Could not update repository "ocaml-patches-overlay": "/usr/bin/git fetch -q" exited with code 128 "fatal: unable to access 'https://github.com/ocurrent/opam-repository/': Could not resolve host: github.com (Could not contact DNS servers)"
[default] Initialised
2026-05-22 09:57.32 ---> using "0bafdb0fc956043a0237049f8ed1cf32b98f611d6e742b3219dcf08930eb3ba4" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-111-generic
The OCaml toplevel, version 4.14.3
2.2.1
2026-05-22 09:57.32 ---> using "8cdc345dfeeb3f8e69605044283ca350c4b00a39e8f36d65cda9fbba00e11c32" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2026-05-22 09:57.32 ---> using "a50af552571425d64a570035732887f928a016e1994d3bcd1d35b416a3a30a4d" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam update -u"))


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] no changes from git+file:///home/opam/opam-repository
[ocaml-patches-overlay] no changes from git+https://github.com/ocurrent/opam-repository#patches


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-05-22 09:57.32 ---> using "dc1fe22c506fc2bb36a39ee0bf606ce12161b1a4f8d99991f06c718a289170ee" from cache


/src: (copy (src prettym.opam) (dst ./))
2026-05-22 09:57.32 ---> saved as "184e95b431d9b7ecafe7f3cdc1018f1c2165e7b3a01709402e442d72bbc1f4d8"


/src: (run (network host)
(shell "opam pin add -yn prettym.dev './'"))
[prettym.dev] synchronised (file:///src)
prettym is now pinned to file:///src (version dev)
2026-05-22 09:57.33 ---> saved as "433ed759f43b323fbb332fe31c529c98020a6b6ebc5430777e81e4d296e81bbf"


/src: (run (shell "echo '(lang dune 3.0)' > './dune-project'"))
2026-05-22 09:57.34 ---> saved as "14d0454187ed2194a11939975b8f2fc6ba8033b86fe3c1c2ca7fa599beb8cf15"


/src: (env DEPS "alcotest.1.9.1 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base base64.3.5.2 bstr.0.0.4 cmdliner.2.1.1 dune.3.23.1 fmt.0.11.0 jsonm.1.0.2 ke.0.6 ocaml.4.14.3 ocaml-base-compiler.4.14.3 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ptime.1.2.0 re.1.14.0 stdlib-shims.0.3.0 topkg.1.1.1 uutf.1.0.4")


/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 prettym.dev $DEPS"))
+ /usr/bin/sudo "apk" "update"
- v3.23.4-253-g3f34f48081a [https://dl-cdn.alpinelinux.org/alpine/v3.23/main]
- v3.23.4-256-g49ed18e9f0e [https://dl-cdn.alpinelinux.org/alpine/v3.23/community]
- v20260127-10054-g698ce675612 [https://dl-cdn.alpinelinux.org/alpine/edge/main]
- v20260127-10058-gcd585822ff2 [https://dl-cdn.alpinelinux.org/alpine/edge/community]
- v20260127-10056-gc8d9e12de98 [https://dl-cdn.alpinelinux.org/alpine/edge/testing]
- OK: 62279 distinct packages available


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[prettym.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.3).
[NOTE] Package ocaml is already installed (current version is 4.14.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-bigarray is already installed (current version is base).
2026-05-22 09:57.52 ---> saved as "0fe683f9f8cdbc751f7a2bd2b44d3c8af31a9b96794127d6f2682152235afd77"


/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.3).
[NOTE] Package ocaml is already installed (current version is 4.14.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-bigarray is already installed (current version is base).
The following actions will be performed:
=== install 17 packages
- install alcotest           1.9.1
- install astring            0.8.5
- install base64             3.5.2
- install bstr               0.0.4
- install cmdliner           2.1.1
- install dune               3.23.1
- install fmt                0.11.0
- install jsonm              1.0.2
- install ke                 0.6
- install ocaml-syntax-shims 1.0.0
- install ocamlbuild         0.16.1
- install ocamlfind          1.9.8
- install ptime              1.2.0
- install re                 1.14.0
- install stdlib-shims       0.3.0
- install topkg              1.1.1
- install uutf               1.0.4


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved base64.3.5.2  (cached)
-> retrieved astring.0.8.5  (cached)
-> retrieved bstr.0.0.4  (cached)
-> retrieved alcotest.1.9.1  (cached)
-> retrieved cmdliner.2.1.1  (cached)
-> retrieved fmt.0.11.0  (cached)
-> retrieved jsonm.1.0.2  (cached)
-> retrieved ke.0.6  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ptime.1.2.0  (cached)
-> retrieved re.1.14.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved uutf.1.0.4  (cached)
-> retrieved topkg.1.1.1  (cached)
-> retrieved dune.3.23.1  (cached)
-> installed cmdliner.2.1.1
-> 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 jsonm.1.0.2
-> installed dune.3.23.1
-> installed base64.3.5.2
-> installed stdlib-shims.0.3.0
-> installed ke.0.6
-> installed bstr.0.0.4
-> installed ocaml-syntax-shims.1.0.0
-> installed re.1.14.0
-> installed alcotest.1.9.1
Done.
# Run eval $(opam env) to update the current shell environment
2026-05-22 09:58.28 ---> saved as "17deff4e1312a5abc4b75fcf9ab3500f79fb8d9fc57fd06587d7404da79ac2b6"


/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.23.1).
The following actions will be performed:
=== install 8 packages
- 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 fpath         0.7.3 [required by odoc]
- install odoc          3.2.1
- install odoc-parser   3.2.1 [required by odoc]
- install seq           base  [required by tyxml]
- install tyxml         4.6.0 [required by odoc]


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved camlp-streams.5.0.1  (cached)
-> retrieved cppo.1.8.0  (cached)
-> retrieved crunch.4.0.0  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved fpath.0.7.3  (cached)
-> retrieved tyxml.4.6.0  (cached)
-> installed camlp-streams.5.0.1
-> retrieved odoc.3.2.1, odoc-parser.3.2.1  (cached)
-> installed cppo.1.8.0
-> installed crunch.4.0.0
-> installed fpath.0.7.3
-> installed odoc-parser.3.2.1
-> installed tyxml.4.6.0
-> installed odoc.3.2.1
Done.
# Run eval $(opam env) to update the current shell environment
2026-05-22 09:58.45 ---> saved as "c72fe14fe78fa60d40ba48f608944fafc0d77eef33ab4a8101cf0c54e2fcf556"


/src: (copy (src .) (dst /src/))
2026-05-22 09:58.45 ---> saved as "cd13ec78a4f850c9efeda0a1f4540d68b98fa477bf6565cd0199296340dfc5d6"


/src: (run (shell "ODOC_WARN_ERROR=false opam exec -- dune build @doc || (echo \"dune build @doc failed\"; exit 2)"))
2026-05-22 09:58.45 ---> saved as "f50c6f72821140a67edde2d9bf429d04b9c1fe1b934f968f32b9b985a62b4af4"
Job succeeded
2026-05-22 09:58.46: Job succeeded