Organisationsmbarbindunolint0fc89b ()alpine-3.22-4.14_opam-2.4

alpine-3.22-4.14_opam-2.4

Logs

Show full 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:alpine-3.22-4.14_opam-2.4)
Base: ocaml/opam:alpine-3.22-ocaml-4.14@sha256:a0c1723a110c08defb88eb348da408dda1e97cc67f7b5978091a31df7eb5720a
Opam project build

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.4 /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.4 --depext-only -y dunolint-lib.dev dunolint-lib-base.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . /src
RUN opam exec -- dune build --only-packages=dunolint-lib,dunolint-lib-base @install @check @runtest && rm -rf _build

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.4 /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.4 --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"))
 (copy (src .) (dst /src))
 (run (shell "opam exec -- dune build --only-packages=dunolint-lib,dunolint-lib-base @install @check @runtest && rm -rf _build"))
)

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 asteria.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.51 ---> 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.4 /usr/bin/opam"))
2026-01-03 08:04.51 ---> saved as "dda4696ac7a5e31bf29d526350434b13e503d5c491a5b0cf2e4bc1fff35d44cb"

/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 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
2026-01-03 08:05.16 ---> saved as "37ca230ba1864c9d79e01c4f48df3af0e01feed06c57b393b4c9f0f55cfa507b"

/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.4.1
2026-01-03 08:05.17 ---> saved as "fa814ec747896a639c30854ad4a06b874cd3d7fd41fe5f908a3929d463caebb8"

/src: (workdir /src)

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

/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