2025-10-15 18:31.58: New job: test ocurrent/opam-dune-lint https://github.com/ocurrent/opam-dune-lint.git#refs/heads/master (04aed0bd0e3e766f8e45c4af55a2051afd0b3b36) (linux-x86_64:alpine-3.22-4.14_opam-2.4)
Base: ocaml/opam:alpine-3.22-ocaml-4.14@sha256:7061e4d210c551f55328c75cfe57a1297de774a191b5ef915d0cd2547319e29e
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/ocurrent/opam-dune-lint.git" -b "master" && cd "opam-dune-lint" && git reset --hard 04aed0bd
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:alpine-3.22-ocaml-4.14@sha256:7061e4d210c551f55328c75cfe57a1297de774a191b5ef915d0cd2547319e29e
# 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 dfe27d924d3f2d9d3045aa994e54a6172a669ecb || git fetch origin master) && git reset -q --hard dfe27d924d3f2d9d3045aa994e54a6172a669ecb && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 opam-dune-lint.opam ./
RUN opam pin add -yn opam-dune-lint.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="astring.0.8.5 base-bigarray.base base-threads.base base-unix.base bos.0.2.1 cmdliner.2.0.0 csexp.1.5.2 dune.3.20.2 dyn.3.20.2 fmt.0.11.0 fpath.0.7.3 jsonm.1.0.2 logs.0.9.0 menhir.20250912 menhirCST.20250912 menhirLib.20250912 menhirSdk.20250912 num.1.6 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.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 opam-repository.2.4.1 opam-state.2.4.1 ordering.3.20.2 parsexp.v0.16.0 patch.3.0.0 pp.2.0.0 re.1.14.0 rresult.0.7.0 sexplib.v0.16.0 sexplib0.v0.16.0 sha.1.15.4 spdx_licenses.1.4.0 stdlib-shims.0.3.0 stdune.3.20.2 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 opam-dune-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-15 18:31.58: Using cache hint "ocurrent/opam-dune-lint-ocaml/opam:alpine-3.22-ocaml-4.14@sha256:7061e4d210c551f55328c75cfe57a1297de774a191b5ef915d0cd2547319e29e-alpine-3.22-4.14_opam-2.4-710d10f3983acede17550225dfe6798b"
2025-10-15 18:31.58: Using OBuilder spec:
((from ocaml/opam:alpine-3.22-ocaml-4.14@sha256:7061e4d210c551f55328c75cfe57a1297de774a191b5ef915d0cd2547319e29e)
(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 dfe27d924d3f2d9d3045aa994e54a6172a669ecb || git fetch origin master) && git reset -q --hard dfe27d924d3f2d9d3045aa994e54a6172a669ecb && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src opam-dune-lint.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn opam-dune-lint.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "astring.0.8.5 base-bigarray.base base-threads.base base-unix.base bos.0.2.1 cmdliner.2.0.0 csexp.1.5.2 dune.3.20.2 dyn.3.20.2 fmt.0.11.0 fpath.0.7.3 jsonm.1.0.2 logs.0.9.0 menhir.20250912 menhirCST.20250912 menhirLib.20250912 menhirSdk.20250912 num.1.6 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.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 opam-repository.2.4.1 opam-state.2.4.1 ordering.3.20.2 parsexp.v0.16.0 patch.3.0.0 pp.2.0.0 re.1.14.0 rresult.0.7.0 sexplib.v0.16.0 sexplib0.v0.16.0 sha.1.15.4 spdx_licenses.1.4.0 stdlib-shims.0.3.0 stdune.3.20.2 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 opam-dune-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-15 18:31.58: Waiting for resource in pool OCluster
2025-10-15 18:38.42: Waiting for worker…
2025-10-15 18:40.26: Got resource from pool OCluster
Building on bremusa.ocamllabs.io
All commits already cached
HEAD is now at 04aed0b Merge pull request #72 from amongonz/newline-patch
(from ocaml/opam:alpine-3.22-ocaml-4.14@sha256:7061e4d210c551f55328c75cfe57a1297de774a191b5ef915d0cd2547319e29e)
Unable to find image 'ocaml/opam:alpine-3.22-ocaml-4.14@sha256:7061e4d210c551f55328c75cfe57a1297de774a191b5ef915d0cd2547319e29e' locally
docker.io/ocaml/opam@sha256:7061e4d210c551f55328c75cfe57a1297de774a191b5ef915d0cd2547319e29e: 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
3b6068bfc654: Pulling fs layer
e91a772be517: Pulling fs layer
7ab96ec90fc2: Pulling fs layer
9da6f0039b9b: Pulling fs layer
9da6f0039b9b: Waiting
7ab96ec90fc2: Verifying Checksum
7ab96ec90fc2: Download complete
e91a772be517: Verifying Checksum
e91a772be517: Download complete
9da6f0039b9b: Verifying Checksum
9da6f0039b9b: Download complete
3b6068bfc654: Verifying Checksum
3b6068bfc654: Download complete
3b6068bfc654: Pull complete
e91a772be517: Pull complete
7ab96ec90fc2: Pull complete
9da6f0039b9b: Pull complete
Digest: sha256:7061e4d210c551f55328c75cfe57a1297de774a191b5ef915d0cd2547319e29e
Status: Downloaded newer image for ocaml/opam@sha256:7061e4d210c551f55328c75cfe57a1297de774a191b5ef915d0cd2547319e29e
2025-10-15 18:40.26 ---> using "764276640f5b3f4ce6b610321003cb55f6545c42846dc0b360f6be7a346afe65" 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"))
2025-10-15 18:40.26 ---> using "8d3a3f91c34bcb4a3c2c41af677916db1b1aeb69f4124523420d860741206e81" 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-10-15 18:40.26 ---> using "80cc2d73a3cce579a5d41018a065c4344586f5bbd715aef5b9c0e18667e50085" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-84-generic
The OCaml toplevel, version 4.14.2
2.4.1
2025-10-15 18:40.26 ---> using "6bcb34e5b8215558e18e4bcc0f747b6abee4482cbfcaa14a458779d5d7d78fd1" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-10-15 18:40.26 ---> using "81df4a8c79746f89d234d628dd1ccfdec8212bedc95c89d950498203e2c8b140" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e dfe27d924d3f2d9d3045aa994e54a6172a669ecb || git fetch origin master) && git reset -q --hard dfe27d924d3f2d9d3045aa994e54a6172a669ecb && git log --no-decorate -n1 --oneline && opam update -u"))
dfe27d924d Merge pull request #28613 from kit-ty-kate/opam-2.4-stable-patch
<><> 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.3.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)
2025-10-15 18:40.52 ---> saved as "ed43e836e146fc151fa788bb7aa1298ec3155f320ae08d76d2966265e816ad9f"
/src: (copy (src opam-dune-lint.opam) (dst ./))
2025-10-15 18:40.52 ---> saved as "4decd39b4fe1fa618cdfe111744b1331a455b65c392bb09a3b356cfd34c0b680"
/src: (run (network host)
(shell "opam pin add -yn opam-dune-lint.dev './'"))
[opam-dune-lint.dev] synchronised (file:///src)
opam-dune-lint is now pinned to file:///src (version dev)
2025-10-15 18:40.56 ---> saved as "b6a20b2a3e193649c114742688d44f13778546b06a25441be0c077750ca5bde7"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-10-15 18:40.57 ---> saved as "93bc206659c912508db076f27d336130330f8cf9f02d0ebadb1b85eb1f7988c0"
/src: (env DEPS "astring.0.8.5 base-bigarray.base base-threads.base base-unix.base bos.0.2.1 cmdliner.2.0.0 csexp.1.5.2 dune.3.20.2 dyn.3.20.2 fmt.0.11.0 fpath.0.7.3 jsonm.1.0.2 logs.0.9.0 menhir.20250912 menhirCST.20250912 menhirLib.20250912 menhirSdk.20250912 num.1.6 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.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 opam-repository.2.4.1 opam-state.2.4.1 ordering.3.20.2 parsexp.v0.16.0 patch.3.0.0 pp.2.0.0 re.1.14.0 rresult.0.7.0 sexplib.v0.16.0 sexplib0.v0.16.0 sha.1.15.4 spdx_licenses.1.4.0 stdlib-shims.0.3.0 stdune.3.20.2 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 opam-dune-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-33-g117b503544a [https://dl-cdn.alpinelinux.org/alpine/v3.22/main]
- v3.22.2-38-g69132b0c9b4 [https://dl-cdn.alpinelinux.org/alpine/v3.22/community]
- v3.23.0_alpha20250612-8269-gfe44dcd9829 [https://dl-cdn.alpinelinux.org/alpine/edge/main]
- v3.23.0_alpha20250612-8294-g0b869b460ac [https://dl-cdn.alpinelinux.org/alpine/edge/community]
- v3.23.0_alpha20250612-8295-g1cafec2f0fe [https://dl-cdn.alpinelinux.org/alpine/edge/testing]
- OK: 59568 distinct packages available
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[opam-dune-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-10-15 18:41.11 ---> saved as "6276a17d24d200abbc69e47c9afa03525034a6ec9ac817190bfc0c29aafbcab6"
/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 38 packages
- install astring 0.8.5
- install bos 0.2.1
- install cmdliner 2.0.0
- install csexp 1.5.2
- install dune 3.20.2
- install dyn 3.20.2
- install fmt 0.11.0
- install fpath 0.7.3
- install jsonm 1.0.2
- install logs 0.9.0
- install menhir 20250912
- install menhirCST 20250912
- install menhirLib 20250912
- install menhirSdk 20250912
- install num 1.6
- 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 opam-repository 2.4.1
- install opam-state 2.4.1
- install ordering 3.20.2
- install parsexp v0.16.0
- install patch 3.0.0
- install pp 2.0.0
- install re 1.14.0
- install rresult 0.7.0
- install sexplib v0.16.0
- install sexplib0 v0.16.0
- install sha 1.15.4
- install spdx_licenses 1.4.0
- install stdlib-shims 0.3.0
- install stdune 3.20.2
- install swhid_core 0.1
- install topkg 1.1.0
- install uutf 1.0.4
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved astring.0.8.5 (cached)
-> retrieved bos.0.2.1 (cached)
-> retrieved cmdliner.2.0.0 (cached)
-> retrieved csexp.1.5.2 (cached)
-> retrieved fmt.0.11.0 (cached)
-> retrieved fpath.0.7.3 (cached)
-> retrieved jsonm.1.0.2 (cached)
-> retrieved logs.0.9.0 (cached)
-> retrieved num.1.6 (cached)
-> retrieved ocamlbuild.0.16.1 (cached)
-> retrieved menhir.20250912, menhirCST.20250912, menhirLib.20250912, menhirSdk.20250912 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved opam-core.2.4.1, opam-format.2.4.1, opam-repository.2.4.1, opam-state.2.4.1 (cached)
-> retrieved dune.3.20.2, dyn.3.20.2, ordering.3.20.2, stdune.3.20.2 (cached)
-> retrieved ocamlgraph.2.2.0 (cached)
-> retrieved opam-file-format.2.2.0 (cached)
-> retrieved parsexp.v0.16.0 (cached)
-> retrieved patch.3.0.0 (cached)
-> retrieved pp.2.0.0 (cached)
-> retrieved re.1.14.0 (cached)
-> retrieved rresult.0.7.0 (cached)
-> retrieved sexplib.v0.16.0 (cached)
-> installed cmdliner.2.0.0
-> installed num.1.6
-> installed ocamlbuild.0.16.1
-> retrieved sexplib0.v0.16.0 (cached)
-> retrieved sha.1.15.4 (cached)
-> retrieved spdx_licenses.1.4.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 topkg.1.1.0
-> installed rresult.0.7.0
-> installed uutf.1.0.4
-> installed fmt.0.11.0
-> installed astring.0.8.5
-> installed jsonm.1.0.2
-> installed logs.0.9.0
-> installed fpath.0.7.3
-> installed bos.0.2.1
-> installed dune.3.20.2
-> installed csexp.1.5.2
-> installed menhirCST.20250912
-> installed menhirLib.20250912
-> installed menhirSdk.20250912
-> installed stdlib-shims.0.3.0
-> installed pp.2.0.0
-> installed spdx_licenses.1.4.0
-> installed patch.3.0.0
-> installed swhid_core.0.1
-> installed sexplib0.v0.16.0
-> installed ordering.3.20.2
-> installed ocamlgraph.2.2.0
-> installed re.1.14.0
-> installed parsexp.v0.16.0
-> installed sha.1.15.4
-> installed dyn.3.20.2
-> installed sexplib.v0.16.0
-> installed stdune.3.20.2
-> installed opam-core.2.4.1
-> installed menhir.20250912
-> installed opam-file-format.2.2.0
-> installed opam-format.2.4.1
-> installed opam-repository.2.4.1
-> installed opam-state.2.4.1
Done.
# To update the current shell environment, run: eval $(opam env)
2025-10-15 18:43.49 ---> saved as "61aba24eea04e6cc4386b18847990a2c8bbca07ac0a95c47a045181e7fca269e"
/src: (copy (src .) (dst /src))
2025-10-15 18:43.50 ---> saved as "92d0a13894b8f0a028ec4394b52faded8de22f5e8136ee5c0c9157c9bb45a803"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
2025-10-15 18:44.03 ---> saved as "dbc73f305580f771814baceae4dd51cbd44d43b854cf04cc72783f0a2ecbe0bc"
Job succeeded
2025-10-15 18:44.03: Job succeeded