Organisationsmbarbindunolint0fc89b ()(lint-doc)

(lint-doc)

Link Copied
Code Copied

Logs

2026-01-03 08:04.48: New job: test mbarbin/dunolint https://github.com/mbarbin/dunolint.git#refs/heads/main (0fc89bdc607cbe6fa91d673f9d8c814ca4c3beb1) (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/dunolint.git" -b "main" && cd "dunolint" && git reset --hard 0fc89bdc
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 dunolint.opam dunolint-tests.opam dunolint-lib.opam dunolint-lib-base.opam dunolint-dev.opam ./
RUN opam pin add -yn dunolint.dev './' && \
opam pin add -yn dunolint-tests.dev './' && \
opam pin add -yn dunolint-lib.dev './' && \
opam pin add -yn dunolint-lib-base.dev './' && \
opam pin add -yn dunolint-dev.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="base.v0.16.4 base-bigarray.base base-threads.base base-unix.base csexp.1.5.2 dune.3.20.2 dune-configurator.3.20.2 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ppx_compare.v0.16.0 ppx_derivers.1.2.1 ppx_enumerate.v0.16.0 ppx_sexp_conv.v0.16.0 ppxlib.0.35.0 re.1.14.0 sexplib0.v0.16.0 stdlib-shims.0.3.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.2 --depext-only -y dunolint-lib.dev dunolint-lib-base.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=dunolint-lib,dunolint-lib-base @doc || (echo "dune build @doc failed"; exit 2)


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


2026-01-03 08:04.48: Using cache hint "mbarbin/dunolint-ocaml/opam:alpine-3.22-ocaml-4.14@sha256:a0c1723a110c08defb88eb348da408dda1e97cc67f7b5978091a31df7eb5720a-alpine-3.22-4.14_opam-2.4-1cea2bf6dfe0f5cb5173296b62d7e9fd"
2026-01-03 08:04.48: 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 dunolint.opam dunolint-tests.opam dunolint-lib.opam dunolint-lib-base.opam dunolint-dev.opam)
(dst ./))
(run (network host)
(shell  "opam pin add -yn dunolint.dev './' && \
\nopam pin add -yn dunolint-tests.dev './' && \
\nopam pin add -yn dunolint-lib.dev './' && \
\nopam pin add -yn dunolint-lib-base.dev './' && \
\nopam pin add -yn dunolint-dev.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "base.v0.16.4 base-bigarray.base base-threads.base base-unix.base csexp.1.5.2 dune.3.20.2 dune-configurator.3.20.2 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ppx_compare.v0.16.0 ppx_derivers.1.2.1 ppx_enumerate.v0.16.0 ppx_sexp_conv.v0.16.0 ppxlib.0.35.0 re.1.14.0 sexplib0.v0.16.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 dunolint-lib.dev dunolint-lib-base.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=dunolint-lib,dunolint-lib-base @doc || (echo \"dune build @doc failed\"; exit 2)"))
)


2026-01-03 08:04.48: Waiting for resource in pool OCluster
2026-01-03 08:04.48: Waiting for worker…
2026-01-03 08:04.49: Got resource from pool OCluster
Building on laodoke.caelum.ci.dev
All commits already cached
HEAD is now at 0fc89bd Various doc updates


(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:04.50 ---> 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:04.51 ---> saved as "dc259fae3b6e8c59e91deb1a68cb33d41f4df7a2c13f42069a7f9aa8e4f051e3"


/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:05.17 ---> saved as "5ffd5788c0b473ccc5f03a0ae6600ec644a52df609d8a36c0001876446882986"


/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:05.17 ---> saved as "f226fa52ad75e888c3b73dc96140dc55558bada0d1c05f108027f6a0be7510b4"


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2026-01-03 08:05.17 ---> saved as "3b32ee39ea453a7dabfa5538f7674f5c85b56e134cd347f0b6af0cf269d8fbc0"


/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


2026-01-03 08:05.35: Cancelling: Auto-cancelling job because it is no longer needed
Job cancelled