Organisationsdune-universeduniverse-lint635a6c (main)alpine-3.22-5.4_opam-2.4

alpine-3.22-5.4_opam-2.4

Logs

Show full logs
2025-10-27 22:42.29: New job: test dune-universe/duniverse-lint https://github.com/dune-universe/duniverse-lint.git#refs/heads/main (635a6cdf7f4ea838c061009c63771f62a28082fb) (linux-x86_64:alpine-3.22-5.4_opam-2.4)
Base: ocaml/opam:alpine-3.22-ocaml-5.4@sha256:27e2909a2a30c05b9fb5696467f60c5bf3c31b41ea2e3088cc8d9cabbdf2f1a1
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/dune-universe/duniverse-lint.git" -b "main" && cd "duniverse-lint" && git reset --hard 635a6cdf
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:alpine-3.22-ocaml-5.4@sha256:27e2909a2a30c05b9fb5696467f60c5bf3c31b41ea2e3088cc8d9cabbdf2f1a1
# alpine-3.22-5.4_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 7f9c784b97b368cd82ee80890d9866b8e66b7c1b || git fetch origin master) && git reset -q --hard 7f9c784b97b368cd82ee80890d9866b8e66b7c1b && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 duniverse-lint.opam ./
RUN opam pin add -yn duniverse-lint.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="alcotest.1.9.1 astring.0.8.5 base.v0.17.3 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cmdliner.2.0.0 csexp.1.5.2 dune.3.20.2 dune-configurator.3.20.2 fmt.0.11.0 jsonm.1.0.2 menhir.20250912 menhirCST.20250912 menhirLib.20250912 menhirSdk.20250912 num.1.6 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml_intrinsics_kernel.v0.17.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocamlgraph.2.2.0 opam-core.2.4.1 opam-file-format.2.2.0 opam-format.2.4.1 parsexp.v0.17.0 patch.3.0.0 re.1.14.0 sexplib.v0.17.0 sexplib0.v0.17.0 sha.1.15.4 stdio.v0.17.0 stdlib-shims.0.3.0 swhid_core.0.1 topkg.1.1.0 uutf.1.0.4"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.4 --depext-only -y duniverse-lint.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . /src
RUN opam exec -- dune build @install @check @runtest && rm -rf _build

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

2025-10-27 22:42.29: Using cache hint "dune-universe/duniverse-lint-ocaml/opam:alpine-3.22-ocaml-5.4@sha256:27e2909a2a30c05b9fb5696467f60c5bf3c31b41ea2e3088cc8d9cabbdf2f1a1-alpine-3.22-5.4_opam-2.4-b232e68db0304e96fceb0e195ad75c3e"
2025-10-27 22:42.29: Using OBuilder spec:
((from ocaml/opam:alpine-3.22-ocaml-5.4@sha256:27e2909a2a30c05b9fb5696467f60c5bf3c31b41ea2e3088cc8d9cabbdf2f1a1)
 (comment alpine-3.22-5.4_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 7f9c784b97b368cd82ee80890d9866b8e66b7c1b || git fetch origin master) && git reset -q --hard 7f9c784b97b368cd82ee80890d9866b8e66b7c1b && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src duniverse-lint.opam) (dst ./))
 (run (network host)
      (shell "opam pin add -yn duniverse-lint.dev './'"))
 (run (network host)
      (shell "echo '(lang dune 3.0)' > './dune-project'"))
 (env DEPS "alcotest.1.9.1 astring.0.8.5 base.v0.17.3 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cmdliner.2.0.0 csexp.1.5.2 dune.3.20.2 dune-configurator.3.20.2 fmt.0.11.0 jsonm.1.0.2 menhir.20250912 menhirCST.20250912 menhirLib.20250912 menhirSdk.20250912 num.1.6 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml_intrinsics_kernel.v0.17.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocamlgraph.2.2.0 opam-core.2.4.1 opam-file-format.2.2.0 opam-format.2.4.1 parsexp.v0.17.0 patch.3.0.0 re.1.14.0 sexplib.v0.17.0 sexplib0.v0.17.0 sha.1.15.4 stdio.v0.17.0 stdlib-shims.0.3.0 swhid_core.0.1 topkg.1.1.0 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.4 --depext-only -y duniverse-lint.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 @install @check @runtest && rm -rf _build"))
)

2025-10-27 22:42.29: Waiting for resource in pool OCluster
2025-10-27 23:44.15: Waiting for worker…
2025-10-27 23:46.42: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
HEAD is now at 635a6cd Merge pull request #11 from dune-universe/cmdliner-ffs

(from ocaml/opam:alpine-3.22-ocaml-5.4@sha256:27e2909a2a30c05b9fb5696467f60c5bf3c31b41ea2e3088cc8d9cabbdf2f1a1)
Unable to find image 'ocaml/opam:alpine-3.22-ocaml-5.4@sha256:27e2909a2a30c05b9fb5696467f60c5bf3c31b41ea2e3088cc8d9cabbdf2f1a1' locally
docker.io/ocaml/opam@sha256:27e2909a2a30c05b9fb5696467f60c5bf3c31b41ea2e3088cc8d9cabbdf2f1a1: Pulling from ocaml/opam
2d35ebdb57d9: Already exists
4eef589852a3: Already exists
9bcbf19aa70e: Already exists
c27157cc8c0d: Already exists
8eb40fc9ec7b: Already exists
cf28fbda269d: Already exists
bdb05ad1bb03: Already exists
14b089059d7b: Already exists
8fba92877dbb: Already exists
b46b8c2b2e76: Already exists
c5fe84151a2d: Already exists
d69ebb2cea14: Already exists
8987930d7936: Already exists
07e0ebe0bb32: Already exists
a8a8cd8bbc43: Already exists
0eee052a54e0: Already exists
9d0f02e69e08: Already exists
4f4fb700ef54: Already exists
a90897db75ef: Already exists
678b7f997d9a: Already exists
55a17ca9d235: Already exists
b0fc237f6c26: Already exists
4a9f9668ab4a: Already exists
f4048786242d: Already exists
322480b4b1d3: Already exists
eda2d7da1b04: Already exists
83325a5b2b26: Already exists
09b67e1d956f: Already exists
2adafa4b73e4: Already exists
8e04b3ec100b: Already exists
7eac41d73ac6: Already exists
477769be07d7: Already exists
1121e0452bac: Already exists
a7433c286e2f: Already exists
d11ef3af080f: Already exists
595e38b8edfd: Already exists
f15368aa3240: Pulling fs layer
772205525b1c: Pulling fs layer
4b2a438a134b: Pulling fs layer
ce88c0406b4f: Pulling fs layer
30e6e4c7d9f2: Pulling fs layer
f15368aa3240: Waiting
44ebb4aa5e2d: Pulling fs layer
772205525b1c: Waiting
ce88c0406b4f: Waiting
4b2a438a134b: Waiting
44ebb4aa5e2d: Waiting
30e6e4c7d9f2: Waiting
f15368aa3240: Download complete
f15368aa3240: Pull complete
772205525b1c: Download complete
772205525b1c: Pull complete
ce88c0406b4f: Download complete
30e6e4c7d9f2: Verifying Checksum
30e6e4c7d9f2: Download complete
44ebb4aa5e2d: Verifying Checksum
44ebb4aa5e2d: Download complete
4b2a438a134b: Verifying Checksum
4b2a438a134b: Download complete
4b2a438a134b: Pull complete
ce88c0406b4f: Pull complete
30e6e4c7d9f2: Pull complete
44ebb4aa5e2d: Pull complete
Digest: sha256:27e2909a2a30c05b9fb5696467f60c5bf3c31b41ea2e3088cc8d9cabbdf2f1a1
Status: Downloaded newer image for ocaml/opam@sha256:27e2909a2a30c05b9fb5696467f60c5bf3c31b41ea2e3088cc8d9cabbdf2f1a1
2025-10-27 23:46.42 ---> using "e5ab524290e505ed5240c7136106572c90f8627d7370b4a892c6d0542a73b860" from cache

/: (comment alpine-3.22-5.4_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"))
2025-10-27 23:46.42 ---> using "842aabfb8075585c58dd3796ad7f10d9759a3a2fd2b99532aad6c3213b54374d" 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 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-10-27 23:46.42 ---> using "839d7f09fa9959b49dee54923b64533e1cf0fc0921fb751f1c302a1676d84f63" from cache

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-157-generic
The OCaml toplevel, version 5.4.0
2.4.1
2025-10-27 23:46.42 ---> using "c457e564a54f7ef45dc343abb0d249c5401278994a0a39530e666d61e6f08283" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2025-10-27 23:46.42 ---> using "29f1940b2be9f0ffecc71b1311abbbd03369d83e42a8c265638038c10eef5a91" from cache

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e 7f9c784b97b368cd82ee80890d9866b8e66b7c1b || git fetch origin master) && git reset -q --hard 7f9c784b97b368cd82ee80890d9866b8e66b7c1b && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   1abfcdbf14..7f9c784b97  master     -> origin/master
7f9c784b97 Merge pull request #28787 from ocaml/mseri-patch-1

<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+file:///home/opam/opam-repository

Already up-to-date.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2025-10-27 23:46.42 ---> using "9d97b0eac618ccb0580aa40bed242febc7c4b2e92cbf9f13e5431c16c94ea796" from cache

/src: (copy (src duniverse-lint.opam) (dst ./))
2025-10-27 23:46.42 ---> saved as "c2268867450285229b4cd22ee13c12646dd548af35cfca963e2259052272d430"

/src: (run (network host)
           (shell "opam pin add -yn duniverse-lint.dev './'"))
[NOTE] Package duniverse-lint does not exist in opam repositories registered in the current switch.
[duniverse-lint.dev] synchronised (file:///src)
duniverse-lint is now pinned to file:///src (version dev)
2025-10-27 23:46.45 ---> saved as "4ae383e6ac74dc7425673f3a2240d64283c05015fb47362fc3e2a088b89425e4"

/src: (run (network host)
           (shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-10-27 23:46.45 ---> saved as "ea491862d1bd916a2447940fb6612e29ed467b1749e297a9ebed0cdf811ab484"

/src: (env DEPS "alcotest.1.9.1 astring.0.8.5 base.v0.17.3 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cmdliner.2.0.0 csexp.1.5.2 dune.3.20.2 dune-configurator.3.20.2 fmt.0.11.0 jsonm.1.0.2 menhir.20250912 menhirCST.20250912 menhirLib.20250912 menhirSdk.20250912 num.1.6 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml_intrinsics_kernel.v0.17.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocamlgraph.2.2.0 opam-core.2.4.1 opam-file-format.2.2.0 opam-format.2.4.1 parsexp.v0.17.0 patch.3.0.0 re.1.14.0 sexplib.v0.17.0 sexplib0.v0.17.0 sha.1.15.4 stdio.v0.17.0 stdlib-shims.0.3.0 swhid_core.0.1 topkg.1.1.0 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.4 --depext-only -y duniverse-lint.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-97-gec2f6022027 [https://dl-cdn.alpinelinux.org/alpine/v3.22/main]
- v3.22.2-100-g7c62722e5bc [https://dl-cdn.alpinelinux.org/alpine/v3.22/community]
- v20251016-1028-g66c66c995b2 [https://dl-cdn.alpinelinux.org/alpine/edge/main]
- v20251016-1035-g7e9a78ffdab [https://dl-cdn.alpinelinux.org/alpine/edge/community]
- v20251016-1024-g21bc28f18e8 [https://dl-cdn.alpinelinux.org/alpine/edge/testing]
- OK: 59804 distinct packages available

<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[duniverse-lint.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 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.4.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.4.0).
[NOTE] Package ocaml is already installed (current version is 5.4.0).
[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-nnp is already installed (current version is base).
[NOTE] Package base-effects is already installed (current version is base).
[NOTE] Package base-domains is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
2025-10-27 23:46.59 ---> saved as "af602316d26f070196b68c6ec0e96947948df37d2ba6b421b19d6e6667c3b1e8"

/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 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.4.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.4.0).
[NOTE] Package ocaml is already installed (current version is 5.4.0).
[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-nnp is already installed (current version is base).
[NOTE] Package base-effects is already installed (current version is base).
[NOTE] Package base-domains 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 33 packages
  - install alcotest                1.9.1
  - install astring                 0.8.5
  - install base                    v0.17.3
  - install cmdliner                2.0.0
  - install csexp                   1.5.2
  - install dune                    3.20.2
  - install dune-configurator       3.20.2
  - install fmt                     0.11.0
  - install jsonm                   1.0.2
  - install menhir                  20250912
  - install menhirCST               20250912
  - install menhirLib               20250912
  - install menhirSdk               20250912
  - install num                     1.6
  - install ocaml-syntax-shims      1.0.0
  - install ocaml_intrinsics_kernel v0.17.1
  - install ocamlbuild              0.16.1
  - install ocamlfind               1.9.8
  - install ocamlgraph              2.2.0
  - install opam-core               2.4.1
  - install opam-file-format        2.2.0
  - install opam-format             2.4.1
  - install parsexp                 v0.17.0
  - install patch                   3.0.0
  - install re                      1.14.0
  - install sexplib                 v0.17.0
  - install sexplib0                v0.17.0
  - install sha                     1.15.4
  - install stdio                   v0.17.0
  - install stdlib-shims            0.3.0
  - install swhid_core              0.1
  - install topkg                   1.1.0
  - install uutf                    1.0.4

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved alcotest.1.9.1  (cached)
-> retrieved astring.0.8.5  (cached)
-> retrieved base.v0.17.3  (cached)
-> retrieved cmdliner.2.0.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved fmt.0.11.0  (cached)
-> retrieved jsonm.1.0.2  (cached)
-> retrieved num.1.6  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved ocaml_intrinsics_kernel.v0.17.1  (cached)
-> retrieved menhir.20250912, menhirCST.20250912, menhirLib.20250912, menhirSdk.20250912  (cached)
-> retrieved dune.3.20.2, dune-configurator.3.20.2  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ocamlgraph.2.2.0  (cached)
-> retrieved opam-core.2.4.1, opam-format.2.4.1  (cached)
-> retrieved opam-file-format.2.2.0  (cached)
-> retrieved parsexp.v0.17.0  (cached)
-> installed cmdliner.2.0.0
-> installed num.1.6
-> retrieved patch.3.0.0  (cached)
-> retrieved re.1.14.0  (cached)
-> retrieved sexplib.v0.17.0  (cached)
-> retrieved sexplib0.v0.17.0  (cached)
-> retrieved sha.1.15.4  (cached)
-> retrieved stdio.v0.17.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved swhid_core.0.1  (cached)
-> retrieved uutf.1.0.4  (cached)
-> retrieved topkg.1.1.0  (cached)
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.16.1
-> installed topkg.1.1.0
-> installed uutf.1.0.4
-> installed fmt.0.11.0
-> installed astring.0.8.5
-> installed jsonm.1.0.2
-> installed dune.3.20.2
-> installed csexp.1.5.2
-> installed menhirCST.20250912
-> installed menhirLib.20250912
-> installed menhirSdk.20250912
-> installed ocaml-syntax-shims.1.0.0
-> installed ocaml_intrinsics_kernel.v0.17.1
-> installed patch.3.0.0
-> installed re.1.14.0
-> installed sexplib0.v0.17.0
-> installed stdlib-shims.0.3.0
-> installed swhid_core.0.1
-> installed ocamlgraph.2.2.0
-> installed alcotest.1.9.1
-> installed sha.1.15.4
-> installed parsexp.v0.17.0
-> installed dune-configurator.3.20.2
-> installed sexplib.v0.17.0
-> installed opam-core.2.4.1
-> installed base.v0.17.3
-> installed stdio.v0.17.0
-> installed menhir.20250912
-> installed opam-file-format.2.2.0
-> installed opam-format.2.4.1
Done.
# To update the current shell environment, run: eval $(opam env)
2025-10-27 23:48.20 ---> saved as "315715a5d43c03ed086f4006de3113d13b6edf4e4c6128f78c064a762806ffb0"

/src: (copy (src .) (dst /src))
2025-10-27 23:48.20 ---> saved as "6f634348dc86ccbc53240d1fa8b9dcf674588f85e11ff62254b623e28b55dd94"

/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/test && ./test.exe)
Testing `Lint'.
This run has ID `EUKUZA3C'.

  [OK]          version          0   Regular valid.
  [OK]          version          1   Revised valid.
  [OK]          version          2   Multiple suffixes.
  [OK]          version          3   Multiple identical suffixes.
  [OK]          version          4   Non-alphanumeric revised.
  [OK]          version          5   Missing suffix.
  [OK]          version          6   Not a suffix.
  [OK]          version          7   Whitespace suffix.

Full test results in `/src/_build/default/test/_build/_tests/Lint'.
Test Successful in 0.002s. 8 tests run.
2025-10-27 23:48.22 ---> saved as "6ac9855a6deaeb05b95ed67fe45960f151a9a8aff5fad3c66f88371172397b0a"
Job succeeded
2025-10-27 23:48.22: Job succeeded