Organisationsdune-universeduniverse-lint635a6c (main)alpine-3.21-4.14_opam-2.3

alpine-3.21-4.14_opam-2.3

Logs

Show full logs
2025-07-09 12:32.40: New job: test dune-universe/duniverse-lint https://github.com/dune-universe/duniverse-lint.git#refs/heads/main (635a6cdf7f4ea838c061009c63771f62a28082fb) (linux-x86_64:alpine-3.21-4.14_opam-2.3)
Base: ocaml/opam:alpine-3.21-ocaml-4.14@sha256:ce7c521de2e50e6ba02ecb769afb8f518fd84aef8447affa8b443c3175d9dc33
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.21-ocaml-4.14@sha256:ce7c521de2e50e6ba02ecb769afb8f518fd84aef8447affa8b443c3175d9dc33
# alpine-3.21-4.14_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.3 /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 382e02b4c17b5b59d503254784ac3a5d78916d5a || git fetch origin master) && git reset -q --hard 382e02b4c17b5b59d503254784ac3a5d78916d5a && 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.16.4 base-bigarray.base base-threads.base base-unix.base cmdliner.1.3.0 csexp.1.5.2 dune.3.19.1 dune-configurator.3.19.1 fmt.0.10.0 jsonm.1.0.2 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 num.1.6 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocamlgraph.2.2.0 opam-core.2.3.0 opam-file-format.2.2.0 opam-format.2.3.0 parsexp.v0.16.0 re.1.13.2 seq.base sexplib.v0.16.0 sexplib0.v0.16.0 sha.1.15.4 stdio.v0.16.0 stdlib-shims.0.3.0 swhid_core.0.1 topkg.1.0.8 uutf.1.0.4"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --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-07-09 12:32.40: Using cache hint "dune-universe/duniverse-lint-ocaml/opam:alpine-3.21-ocaml-4.14@sha256:ce7c521de2e50e6ba02ecb769afb8f518fd84aef8447affa8b443c3175d9dc33-alpine-3.21-4.14_opam-2.3-d74e8c874cc6e7f701f6841509f1085d"
2025-07-09 12:32.40: Using OBuilder spec:
((from ocaml/opam:alpine-3.21-ocaml-4.14@sha256:ce7c521de2e50e6ba02ecb769afb8f518fd84aef8447affa8b443c3175d9dc33)
 (comment alpine-3.21-4.14_opam-2.3)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (workdir /src)
 (run (shell "sudo ln -f /usr/bin/opam-2.3 /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 382e02b4c17b5b59d503254784ac3a5d78916d5a || git fetch origin master) && git reset -q --hard 382e02b4c17b5b59d503254784ac3a5d78916d5a && 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.16.4 base-bigarray.base base-threads.base base-unix.base cmdliner.1.3.0 csexp.1.5.2 dune.3.19.1 dune-configurator.3.19.1 fmt.0.10.0 jsonm.1.0.2 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 num.1.6 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocamlgraph.2.2.0 opam-core.2.3.0 opam-file-format.2.2.0 opam-format.2.3.0 parsexp.v0.16.0 re.1.13.2 seq.base sexplib.v0.16.0 sexplib0.v0.16.0 sha.1.15.4 stdio.v0.16.0 stdlib-shims.0.3.0 swhid_core.0.1 topkg.1.0.8 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.3 --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-07-09 12:32.40: Waiting for resource in pool OCluster
2025-07-09 18:27.20: Waiting for worker…
2025-07-09 18:31.45: 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.21-ocaml-4.14@sha256:ce7c521de2e50e6ba02ecb769afb8f518fd84aef8447affa8b443c3175d9dc33)
2025-07-09 19:00.50 ---> using "55d202f7fecfb1870e4e5ff40a2bf370c1ccb0b90b65ea9e954fa8fcf7fc2c95" from cache

/: (comment alpine-3.21-4.14_opam-2.3)

/: (user (uid 1000) (gid 1000))

/: (env CLICOLOR_FORCE 1)

/: (env OPAMCOLOR always)

/: (workdir /src)

/src: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-07-09 19:00.50 ---> using "57b9ec26c9d793b9841d4b9b0806229705a50fa368e146f4bfa780c65be697a9" 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 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
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-07-09 19:00.50 ---> using "c5fb68b3751ecc9278ff2d149fb1343dcef6f7d8470fcb0193da697334885f4e" from cache

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-142-generic
The OCaml toplevel, version 4.14.2
2.3.0
2025-07-09 19:00.50 ---> using "c71ebc92fba988860b9c156257f28c79e1408d4794c998911176c5ddf483c859" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2025-07-09 19:00.50 ---> using "0de77c75cb625e4c58667571d1f22ce917bcfd7afcc95609af2c00442f4db95b" from cache

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e 382e02b4c17b5b59d503254784ac3a5d78916d5a || git fetch origin master) && git reset -q --hard 382e02b4c17b5b59d503254784ac3a5d78916d5a && git log --no-decorate -n1 --oneline && opam update -u"))
382e02b4c1 Merge pull request #28124 from kit-ty-kate/opam-publish-re.1.13.2

<><> 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, which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2025-07-09 19:00.50 ---> using "5fc9b95c93bdf9e7830ab38e3ab8fbbc71590a14ca9ae5607492822f3631e3a4" from cache

/src: (copy (src duniverse-lint.opam) (dst ./))
2025-07-09 19:00.51 ---> saved as "c9e20b665d9a69ad1f32856c25624f5478b758cb65f3d568854f1fd6fd27937b"

/src: (run (network host)
           (shell "opam pin add -yn duniverse-lint.dev './'"))
Package duniverse-lint does not exist, create as a NEW package? [y/n] y
[duniverse-lint.dev] synchronised (file:///src)
duniverse-lint is now pinned to file:///src (version dev)
2025-07-09 19:00.53 ---> saved as "fa34bc7ac11ad5dd6b784f79834dedd98468b8ea5d9ab844a957409037a5c3ea"

/src: (run (network host)
           (shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-07-09 19:00.53 ---> saved as "7cf10ab914aaef66bf8a870e505c8f5b63dcf76c0308cf3d5ed12fc6ed7ed8db"

/src: (env DEPS "alcotest.1.9.0 astring.0.8.5 base.v0.16.4 base-bigarray.base base-threads.base base-unix.base cmdliner.1.3.0 csexp.1.5.2 dune.3.19.1 dune-configurator.3.19.1 fmt.0.10.0 jsonm.1.0.2 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 num.1.6 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocamlgraph.2.2.0 opam-core.2.3.0 opam-file-format.2.2.0 opam-format.2.3.0 parsexp.v0.16.0 re.1.13.2 seq.base sexplib.v0.16.0 sexplib0.v0.16.0 sha.1.15.4 stdio.v0.16.0 stdlib-shims.0.3.0 swhid_core.0.1 topkg.1.0.8 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.3 --depext-only -y duniverse-lint.dev $DEPS"))
+ /usr/bin/sudo "apk" "update"
- fetch https://dl-cdn.alpinelinux.org/alpine/v3.21/main/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/v3.21/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.21.3-636-gf2ab6ba0e70 [https://dl-cdn.alpinelinux.org/alpine/v3.21/main]
- v3.21.3-634-g4638c219547 [https://dl-cdn.alpinelinux.org/alpine/v3.21/community]
- v3.23.0_alpha20250612-1934-ge4be22feafc [https://dl-cdn.alpinelinux.org/alpine/edge/main]
- v3.23.0_alpha20250612-1934-ge4be22feafc [https://dl-cdn.alpinelinux.org/alpine/edge/community]
- v3.23.0_alpha20250612-1903-g4c882391b17 [https://dl-cdn.alpinelinux.org/alpine/edge/testing]
- OK: 59035 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 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).
2025-07-09 19:01.02 ---> saved as "a5ac32b85a7c1ddd03fc4a297c09c5a3bb64de5b1accfb43e34d26016fcda3fc"

/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 32 packages
  - install alcotest           1.9.0
  - install astring            0.8.5
  - install base               v0.16.4
  - install cmdliner           1.3.0
  - install csexp              1.5.2
  - install dune               3.19.1
  - install dune-configurator  3.19.1
  - install fmt                0.10.0
  - install jsonm              1.0.2
  - install menhir             20240715
  - install menhirCST          20240715
  - install menhirLib          20240715
  - install menhirSdk          20240715
  - install num                1.6
  - install ocaml-syntax-shims 1.0.0
  - install ocamlbuild         0.16.1
  - install ocamlfind          1.9.8
  - install ocamlgraph         2.2.0
  - install opam-core          2.3.0
  - install opam-file-format   2.2.0
  - install opam-format        2.3.0
  - install parsexp            v0.16.0
  - install re                 1.13.2
  - install seq                base
  - install sexplib            v0.16.0
  - install sexplib0           v0.16.0
  - install sha                1.15.4
  - install stdio              v0.16.0
  - install stdlib-shims       0.3.0
  - install swhid_core         0.1
  - install topkg              1.0.8
  - install uutf               1.0.4

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved astring.0.8.5  (cached)
-> retrieved base.v0.16.4  (cached)
-> retrieved alcotest.1.9.0  (cached)
-> retrieved cmdliner.1.3.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved fmt.0.10.0  (cached)
-> retrieved jsonm.1.0.2  (cached)
-> retrieved num.1.6  (cached)
-> retrieved menhir.20240715, menhirCST.20240715, menhirLib.20240715, menhirSdk.20240715  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved dune.3.19.1, dune-configurator.3.19.1  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ocamlgraph.2.2.0  (cached)
-> retrieved opam-core.2.3.0, opam-format.2.3.0  (cached)
-> retrieved opam-file-format.2.2.0  (cached)
-> retrieved seq.base  (cached)
-> retrieved parsexp.v0.16.0  (cached)
-> retrieved re.1.13.2  (cached)
-> installed cmdliner.1.3.0
-> installed num.1.6
-> installed seq.base
-> retrieved sexplib.v0.16.0  (cached)
-> retrieved sexplib0.v0.16.0  (cached)
-> retrieved sha.1.15.4  (cached)
-> retrieved stdio.v0.16.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved swhid_core.0.1  (cached)
-> retrieved uutf.1.0.4  (cached)
-> retrieved topkg.1.0.8  (cached)
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.16.1
-> installed topkg.1.0.8
-> installed uutf.1.0.4
-> installed fmt.0.10.0
-> installed astring.0.8.5
-> installed jsonm.1.0.2
-> installed dune.3.19.1
-> installed csexp.1.5.2
-> installed menhirCST.20240715
-> installed menhirLib.20240715
-> installed menhirSdk.20240715
-> installed ocaml-syntax-shims.1.0.0
-> installed re.1.13.2
-> installed sexplib0.v0.16.0
-> installed stdlib-shims.0.3.0
-> installed swhid_core.0.1
-> installed ocamlgraph.2.2.0
-> installed alcotest.1.9.0
-> installed sha.1.15.4
-> installed parsexp.v0.16.0
-> installed dune-configurator.3.19.1
-> installed sexplib.v0.16.0
-> installed opam-core.2.3.0
-> installed base.v0.16.4
-> installed stdio.v0.16.0
-> installed menhir.20240715
-> installed opam-file-format.2.2.0
-> installed opam-format.2.3.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-07-09 19:01.57 ---> saved as "9731a19c4bd893ee40b21e3c360bfc19673072449a7b6f235a07d751c97b1f37"

/src: (copy (src .) (dst /src))
2025-07-09 19:01.57 ---> saved as "2b966ca15a2cb81b25a6d419f205afeb124eba085f00a558fe2910c15914da8f"

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

  [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.001s. 8 tests run.
2025-07-09 19:01.59 ---> saved as "ead41ba8a4add4165c8d05b4c4d31673ef5336c92446da8bd7c7def8d5ca3fcd"
Job succeeded
2025-07-09 19:01.59: Job succeeded