Organisationsmbarbindunolint8c45ff ()alpine-3.22-4.14_opam-2.5

alpine-3.22-4.14_opam-2.5

Logs

Show full logs
2026-01-27 12:09.14: New job: test mbarbin/dunolint https://github.com/mbarbin/dunolint.git#refs/heads/main (8c45ff06a0f77cad55c479a53a2b9792d433ef04) (linux-x86_64:alpine-3.22-4.14_opam-2.5)
Base: ocaml/opam:alpine-3.22-ocaml-4.14@sha256:1c3a5ef9216cc43d14bea2bc9b42f4b1ee30cd78bf2e6993672b4c0c52909216
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/mbarbin/dunolint.git" -b "main" && cd "dunolint" && git reset --hard 8c45ff06
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:alpine-3.22-ocaml-4.14@sha256:1c3a5ef9216cc43d14bea2bc9b42f4b1ee30cd78bf2e6993672b4c0c52909216
# alpine-3.22-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.5 /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 873cb18c37b308713d11ad3894c4bb78d73fb3e7 || git fetch origin master) && git reset -q --hard 873cb18c37b308713d11ad3894c4bb78d73fb3e7 && 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.21.0 dune-configurator.3.21.0 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.5 --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-27 12:09.14: Using cache hint "mbarbin/dunolint-ocaml/opam:alpine-3.22-ocaml-4.14@sha256:1c3a5ef9216cc43d14bea2bc9b42f4b1ee30cd78bf2e6993672b4c0c52909216-alpine-3.22-4.14_opam-2.5-b197a0bec13f87d2e6b6c3cf0602f2d2"
2026-01-27 12:09.14: Using OBuilder spec:
((from ocaml/opam:alpine-3.22-ocaml-4.14@sha256:1c3a5ef9216cc43d14bea2bc9b42f4b1ee30cd78bf2e6993672b4c0c52909216)
 (comment alpine-3.22-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.5 /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 873cb18c37b308713d11ad3894c4bb78d73fb3e7 || git fetch origin master) && git reset -q --hard 873cb18c37b308713d11ad3894c4bb78d73fb3e7 && 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.21.0 dune-configurator.3.21.0 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.5 --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-27 12:09.14: Waiting for resource in pool OCluster
2026-01-27 12:09.14: Waiting for worker…
2026-01-27 12:09.14: Got resource from pool OCluster
Building on odawa.caelum.ci.dev
HEAD is now at b52c518 Merge pull request #167 from mbarbin/upgrades-for-dune-3.21
HEAD is now at 8c45ff0 Remove root dune-workspace

(from ocaml/opam:alpine-3.22-ocaml-4.14@sha256:1c3a5ef9216cc43d14bea2bc9b42f4b1ee30cd78bf2e6993672b4c0c52909216)
Unable to find image 'ocaml/opam:alpine-3.22-ocaml-4.14@sha256:1c3a5ef9216cc43d14bea2bc9b42f4b1ee30cd78bf2e6993672b4c0c52909216' locally
docker.io/ocaml/opam@sha256:1c3a5ef9216cc43d14bea2bc9b42f4b1ee30cd78bf2e6993672b4c0c52909216: Pulling from ocaml/opam
2d35ebdb57d9: Already exists
adfc86c1accf: Already exists
d09377907434: Already exists
a699cf44908b: Already exists
c088e74f1f31: Already exists
7e99e6eaa847: Already exists
db4b89a22482: Already exists
f1f17593da04: Already exists
bb79fbf72548: Already exists
cf69890848e3: Already exists
80e325d6146c: Already exists
66a526c41d4c: Already exists
347d38b311ac: Already exists
984612fde4c4: Already exists
0ac0da982daa: Already exists
209c9bca9b0e: Already exists
3d3356d548ff: Already exists
c072da09f122: Already exists
4f4fb700ef54: Already exists
eff3d806a4a8: Already exists
f5c413f5234b: Already exists
09ddc5430e22: Already exists
2c7c283b1afc: Already exists
4af9a971b585: Already exists
df8d9be3e30d: Already exists
5e55ae3325a7: Already exists
635cb27b4304: Already exists
898fbde8ad42: Already exists
66c0ffc92413: Already exists
c8cca855638d: Already exists
45d2501a899c: Already exists
10b0fe6926c2: Already exists
0a1d7b83a687: Already exists
2c3441915309: Already exists
3d1a575b1bb0: Already exists
6e5fa830b59d: Already exists
72225f5a6449: Already exists
5a8b6a59afe3: Pulling fs layer
81299dd100ce: Pulling fs layer
ad267db4d3a7: Pulling fs layer
de32f8de692b: Pulling fs layer
de32f8de692b: Waiting
81299dd100ce: Verifying Checksum
81299dd100ce: Download complete
ad267db4d3a7: Verifying Checksum
ad267db4d3a7: Download complete
de32f8de692b: Verifying Checksum
de32f8de692b: Download complete
5a8b6a59afe3: Verifying Checksum
5a8b6a59afe3: Download complete
5a8b6a59afe3: Pull complete
81299dd100ce: Pull complete
ad267db4d3a7: Pull complete
de32f8de692b: Pull complete
Digest: sha256:1c3a5ef9216cc43d14bea2bc9b42f4b1ee30cd78bf2e6993672b4c0c52909216
Status: Downloaded newer image for ocaml/opam@sha256:1c3a5ef9216cc43d14bea2bc9b42f4b1ee30cd78bf2e6993672b4c0c52909216
2026-01-27 12:09.56 ---> saved as "d1cef22083ba59d6db4e2f107091c68dd70ebdcc64c3894ad7db7be62ad17f4a"

/: (comment alpine-3.22-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.5 /usr/bin/opam"))
2026-01-27 12:09.56 ---> saved as "7c7cce50f5e947565c3d5dbad3ac3b61d12cac1cb4c13b6c802d6a8bb10d1345"

/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-27 12:10.19 ---> saved as "d95bbd73a24778f1321e62f69802692f647c727b93c3a5bbd318b81d4a471a07"

/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.5.0
2026-01-27 12:10.19 ---> saved as "0946bc50f9a71a954b4e3169058449c50f765d27decff1e10b17d7843ccd9459"

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2026-01-27 12:10.19 ---> saved as "f598dcec640aed1c1320fd535f3be224f496aae5fd076bc0ab3a32f9d65fd942"

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e 873cb18c37b308713d11ad3894c4bb78d73fb3e7 || git fetch origin master) && git reset -q --hard 873cb18c37b308713d11ad3894c4bb78d73fb3e7 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   a6b2f19780..e4bc1b0e55  master     -> origin/master
873cb18c37 Merge pull request #29216 from shonfeder/release-dune-3.21.0

<><> 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 at these versions (e.g. "opam upgrade ocaml.5.4.0"), which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2026-01-27 12:10.34 ---> saved as "d27dbf5e08e72fb1a17daaf34a00974b8055113683999092101fdecccdb87fe1"

/src: (copy (src dunolint.opam dunolint-tests.opam dunolint-lib.opam dunolint-lib-base.opam dunolint-dev.opam)
            (dst ./))
2026-01-27 12:10.34 ---> saved as "ebc4270fc858da22bdea603d0f3776f2d1be1f9677c4a1714f6ed2f7faafeb22"

/src: (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 './'"))
[dunolint.dev] synchronised (file:///src)
dunolint is now pinned to file:///src (version dev)
[NOTE] Package dunolint-tests does not exist in opam repositories registered in the current switch.
[dunolint-tests.dev] synchronised (file:///src)
dunolint-tests is now pinned to file:///src (version dev)
[dunolint-lib.dev] synchronised (file:///src)
dunolint-lib is now pinned to file:///src (version dev)
[dunolint-lib-base.dev] synchronised (file:///src)
dunolint-lib-base is now pinned to file:///src (version dev)
[NOTE] Package dunolint-dev does not exist in opam repositories registered in the current switch.
[dunolint-dev.dev] synchronised (file:///src)
dunolint-dev is now pinned to file:///src (version dev)
2026-01-27 12:10.44 ---> saved as "1d2d4b6376fcfffb7144bd57b885d37393535e23f6dfbaba4e6d855a30f3c118"

/src: (run (network host)
           (shell "echo '(lang dune 3.0)' > './dune-project'"))
2026-01-27 12:10.44 ---> saved as "801ddfa9e30ff09cd8e13aeddd8377eebaaa975e147cfe565feb27bc6b7dbc22"

/src: (env DEPS "base.v0.16.4 base-bigarray.base base-threads.base base-unix.base csexp.1.5.2 dune.3.21.0 dune-configurator.3.21.0 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")

/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.5 --depext-only -y dunolint-lib.dev dunolint-lib-base.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-370-g158b6483089 [https://dl-cdn.alpinelinux.org/alpine/v3.22/main]
- v3.22.2-370-g158b6483089 [https://dl-cdn.alpinelinux.org/alpine/v3.22/community]
- v20251224-2205-g1eff03395e9 [https://dl-cdn.alpinelinux.org/alpine/edge/main]
- v20251224-2213-gf9232c83526 [https://dl-cdn.alpinelinux.org/alpine/edge/community]
- v20251224-2213-gf9232c83526 [https://dl-cdn.alpinelinux.org/alpine/edge/testing]
- OK: 60821 distinct packages available

<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[dunolint-lib.dev] synchronised (file:///src)
[dunolint-lib-base.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).
# To update the current shell environment, run: eval $(opam env)
2026-01-27 12:10.53 ---> saved as "c3b7207c1c4b01c1ab1ac56f3b5048e25b48a6c6be37372f113347fdb8113773"

/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 13 packages
  - install base                v0.16.4
  - install csexp               1.5.2
  - install dune                3.21.0
  - install dune-configurator   3.21.0
  - install ocaml-compiler-libs v0.12.4
  - install ppx_compare         v0.16.0
  - install ppx_derivers        1.2.1
  - install ppx_enumerate       v0.16.0
  - install ppx_sexp_conv       v0.16.0
  - install ppxlib              0.35.0
  - install re                  1.14.0
  - install sexplib0            v0.16.0
  - install stdlib-shims        0.3.0

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved base.v0.16.4  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved ocaml-compiler-libs.v0.12.4  (cached)
-> retrieved ppx_compare.v0.16.0  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved ppx_enumerate.v0.16.0  (cached)
-> retrieved ppx_sexp_conv.v0.16.0  (cached)
-> retrieved re.1.14.0  (cached)
-> retrieved sexplib0.v0.16.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved ppxlib.0.35.0  (cached)
-> retrieved dune.3.21.0, dune-configurator.3.21.0  (cached)
-> installed dune.3.21.0
-> installed ppx_derivers.1.2.1
-> installed csexp.1.5.2
-> installed ocaml-compiler-libs.v0.12.4
-> installed re.1.14.0
-> installed sexplib0.v0.16.0
-> installed stdlib-shims.0.3.0
-> installed dune-configurator.3.21.0
-> installed base.v0.16.4
-> installed ppxlib.0.35.0
-> installed ppx_enumerate.v0.16.0
-> installed ppx_compare.v0.16.0
-> installed ppx_sexp_conv.v0.16.0
Done.
# To update the current shell environment, run: eval $(opam env)
2026-01-27 12:11.38 ---> saved as "1503bafe8b80545fb405d97326012da70960fb506cb32efbc4f02d3963a33697"

/src: (copy (src .) (dst /src))
2026-01-27 12:11.38 ---> saved as "7f751ac0bf2c7b3acff5478d68d656c376b2da713f31eee0f6ee54e6b820f0f4"

/src: (run (shell "opam exec -- dune build --only-packages=dunolint-lib,dunolint-lib-base @install @check @runtest && rm -rf _build"))
2026-01-27 12:11.40 ---> saved as "1ac0506d7d8195e5fa47ec5e292c2f49d51cd72cd66434967fc5bff6e57aa4e3"
Job succeeded
2026-01-27 12:11.40: Job succeeded