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

alpine-3.22-5.3_opam-2.4

Logs

Show full logs
2025-09-22 12:29.27: 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.3_opam-2.4)
Base: ocaml/opam:alpine-3.22-ocaml-5.3@sha256:f501424e898b9ffd369a23e97280207e9a7234cff46e3a314f30c7826d92accb
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.3@sha256:f501424e898b9ffd369a23e97280207e9a7234cff46e3a314f30c7826d92accb
# alpine-3.22-5.3_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 3f21ebe342ce440d9c9142ffe1185d8e5a326085 || git fetch origin master) && git reset -q --hard 3f21ebe342ce440d9c9142ffe1185d8e5a326085 && 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.0 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.1.3.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.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.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-09-22 12:29.27: Using cache hint "dune-universe/duniverse-lint-ocaml/opam:alpine-3.22-ocaml-5.3@sha256:f501424e898b9ffd369a23e97280207e9a7234cff46e3a314f30c7826d92accb-alpine-3.22-5.3_opam-2.4-eef40fbf53bff3a457f0c0d6a04bd8b1"
2025-09-22 12:29.27: Using OBuilder spec:
((from ocaml/opam:alpine-3.22-ocaml-5.3@sha256:f501424e898b9ffd369a23e97280207e9a7234cff46e3a314f30c7826d92accb)
 (comment alpine-3.22-5.3_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 3f21ebe342ce440d9c9142ffe1185d8e5a326085 || git fetch origin master) && git reset -q --hard 3f21ebe342ce440d9c9142ffe1185d8e5a326085 && 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.0 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.1.3.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.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.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-09-22 12:29.27: Waiting for resource in pool OCluster
2025-09-22 14:50.38: Waiting for worker…
2025-09-22 14:53.48: Got resource from pool OCluster
Building on toxis.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.3@sha256:f501424e898b9ffd369a23e97280207e9a7234cff46e3a314f30c7826d92accb)
2025-09-22 14:53.50 ---> using "8f6725b8b163d90d30de9c8c5e177342b07667db3354753a70bac272bfe2db9a" from cache

/: (comment alpine-3.22-5.3_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-09-22 14:53.50 ---> using "60019b56f0ac74bc487e6a10b94f217078fa011d487a7997fa89d230b8fe3f32" 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
[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
2025-09-22 14:53.50 ---> using "c7cb638e7bebf3467944086dced2eb9f0c9b58d22b77655b91aec66202bcf666" from cache

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-134-generic
The OCaml toplevel, version 5.3.0
2.4.1
2025-09-22 14:53.50 ---> using "5af03bae8557c8c98fd3e2ecd3885ecd1490b81dcd2aa79041a221f15d3c966b" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2025-09-22 14:53.50 ---> using "5bd0e598f405f99fe9f4df6e79f9f9a0efe772994aa367852a5bf2612bd3eb66" from cache

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e 3f21ebe342ce440d9c9142ffe1185d8e5a326085 || git fetch origin master) && git reset -q --hard 3f21ebe342ce440d9c9142ffe1185d8e5a326085 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   bcac5d1731..3f21ebe342  master     -> origin/master
3f21ebe342 Merge pull request #28544 from vouillon/opam-publish-re.1.14.0

<><> 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-09-22 14:53.50 ---> using "63cd97474df9ea02d646c637b2697cc0b4410540746aeaf1cb4ca07fd55959c9" from cache

/src: (copy (src duniverse-lint.opam) (dst ./))
2025-09-22 14:53.50 ---> saved as "d8c83e557f1750dfc5cc49d6a9fd785e21b26215be06b37dd397e7a1774221ae"

/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-09-22 14:53.55 ---> saved as "3e5201f2e8f33b4596ea410938545c775b133616fdc49c5fcb33523bd346e8a0"

/src: (run (network host)
           (shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-09-22 14:53.55 ---> saved as "9214c2ef956d9a92046a40379dddcb0da482a12b869433dd4c3733cab08c9050"

/src: (env DEPS "alcotest.1.9.0 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.1.3.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.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.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.1-460-gbde249becf8 [https://dl-cdn.alpinelinux.org/alpine/v3.22/main]
- v3.22.1-459-g13e93d3afc5 [https://dl-cdn.alpinelinux.org/alpine/v3.22/community]
- v3.23.0_alpha20250612-6774-g7398231b648 [https://dl-cdn.alpinelinux.org/alpine/edge/main]
- v3.23.0_alpha20250612-6789-g839978f52fd [https://dl-cdn.alpinelinux.org/alpine/edge/community]
- v3.23.0_alpha20250612-6787-g059b92c6ce6 [https://dl-cdn.alpinelinux.org/alpine/edge/testing]
- OK: 59248 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.3.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.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-09-22 14:54.20 ---> saved as "41d7433afa6aac3a259f892a9d850d9274d18371a6c95a8122d0ed1e52e59509"

/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.3.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.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.0
  - install astring                 0.8.5
  - install base                    v0.17.3
  - install cmdliner                1.3.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.0  (cached)
-> retrieved astring.0.8.5  (cached)
-> retrieved base.v0.17.3  (cached)
-> retrieved cmdliner.1.3.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 menhir.20250912, menhirCST.20250912, menhirLib.20250912, menhirSdk.20250912  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved ocaml_intrinsics_kernel.v0.17.1  (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 dune.3.20.2, dune-configurator.3.20.2  (cached)
-> installed num.1.6
-> retrieved opam-file-format.2.2.0  (cached)
-> retrieved parsexp.v0.17.0  (cached)
-> 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 cmdliner.1.3.0
-> 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 sexplib0.v0.17.0
-> installed stdlib-shims.0.3.0
-> installed swhid_core.0.1
-> installed re.1.14.0
-> installed ocamlgraph.2.2.0
-> installed sha.1.15.4
-> installed alcotest.1.9.0
-> 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-09-22 14:58.26 ---> saved as "7a3b3f40cd274d2e503007bfd0682e2f80083d6ba8970c60a8392d894a11b394"

/src: (copy (src .) (dst /src))
2025-09-22 14:58.26 ---> saved as "08b4229c30ec64bd132049ec09f2c456e77d3c1aa2027e0442709276dddfff43"

/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 `OFBHXLCK'.

  [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.004s. 8 tests run.
2025-09-22 14:58.29 ---> saved as "9ab77aa9dd5b9a8427d8a627a351d2e4db4cb8792ca3db488d11170de417cca0"
Job succeeded
2025-09-22 14:58.30: Job succeeded