Organisationsocsigenlwt06449c (better-ci-test-ppx)(lint-opam)

(lint-opam)

Link Copied
Code Copied

Logs

2025-10-15 10:19.42: New job: test ocsigen/lwt https://github.com/ocsigen/lwt.git#refs/heads/better-ci-test-ppx (06449cc7530261c49e509a3f740a950a7e42a606) (linux-x86_64:(lint-opam))
Base: ocaml/opam:debian-13-ocaml-5.0@sha256:cb4e7c7acf31c133eba31f661e1424c5f0ae1f09190e20c2c7ecf5f747759359
Opam files lint


To reproduce locally:


git clone --recursive "https://github.com/ocsigen/lwt.git" -b "better-ci-test-ppx" && cd "lwt" && git reset --hard 06449cc7
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-5.0@sha256:cb4e7c7acf31c133eba31f661e1424c5f0ae1f09190e20c2c7ecf5f747759359
# debian-13-5.0_opam-2.4
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.2 /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 lwt_retry.opam lwt_react.opam lwt_ppx.opam lwt.opam ./
RUN opam pin add -yn lwt_retry.dev './' && \
opam pin add -yn lwt_react.dev './' && \
opam pin add -yn lwt_ppx.dev './' && \
opam pin add -yn lwt.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="astring.0.8.5 base-bigarray.base base-bytes.base base-domains.base base-nnp.base base-threads.base base-unix.base bos.0.2.1 cmdliner.2.0.0 cppo.1.8.0 csexp.1.5.2 dune.3.20.2 dune-configurator.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.5.0.0 ocaml-base-compiler.5.0.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocamlgraph.2.2.0 ocplib-endian.1.2 opam-core.2.4.1 opam-dune-lint.0.6 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 react.1.2.2 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.2 --depext-only -y deps_for_opam_dune_lint.opam lwt_retry.dev lwt_react.dev lwt.dev $DEPS
RUN opam install $DEPS
ENV CI="true"
ENV OCAMLCI="true"
WORKDIR /src
COPY --chown=1000:1000 . /src/
RUN opam lint
RUN opam exec -- opam-dune-lint


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


2025-10-15 10:19.42: Using cache hint "ocsigen/lwt-ocaml/opam:debian-13-ocaml-5.0@sha256:cb4e7c7acf31c133eba31f661e1424c5f0ae1f09190e20c2c7ecf5f747759359-debian-13-5.0_opam-2.4-739b491ff80ba566aca702f51027a3cb"
2025-10-15 10:19.42: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.0@sha256:cb4e7c7acf31c133eba31f661e1424c5f0ae1f09190e20c2c7ecf5f747759359)
(comment debian-13-5.0_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.2 /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 lwt_retry.opam lwt_react.opam lwt_ppx.opam lwt.opam) (dst ./))
(run (network host)
(shell  "opam pin add -yn lwt_retry.dev './' && \
\nopam pin add -yn lwt_react.dev './' && \
\nopam pin add -yn lwt_ppx.dev './' && \
\nopam pin add -yn lwt.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "astring.0.8.5 base-bigarray.base base-bytes.base base-domains.base base-nnp.base base-threads.base base-unix.base bos.0.2.1 cmdliner.2.0.0 cppo.1.8.0 csexp.1.5.2 dune.3.20.2 dune-configurator.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.5.0.0 ocaml-base-compiler.5.0.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocamlgraph.2.2.0 ocplib-endian.1.2 opam-core.2.4.1 opam-dune-lint.0.6 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 react.1.2.2 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.2 --depext-only -y deps_for_opam_dune_lint.opam lwt_retry.dev lwt_react.dev lwt.dev $DEPS"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
(env CI true)
(env OCAMLCI true)
(workdir /src)
(copy (src .) (dst /src/))
(run (shell "opam lint"))
(run (shell "opam exec -- opam-dune-lint"))
)


2025-10-15 10:19.42: Waiting for resource in pool OCluster
2025-10-15 12:01.06: Waiting for worker…
2025-10-15 12:03.49: Got resource from pool OCluster
Building on eumache
All commits already cached
HEAD is now at 06449cc75 improve maintainability of github action


(from ocaml/opam:debian-13-ocaml-5.0@sha256:cb4e7c7acf31c133eba31f661e1424c5f0ae1f09190e20c2c7ecf5f747759359)
Unable to find image 'ocaml/opam:debian-13-ocaml-5.0@sha256:cb4e7c7acf31c133eba31f661e1424c5f0ae1f09190e20c2c7ecf5f747759359' locally
docker.io/ocaml/opam@sha256:cb4e7c7acf31c133eba31f661e1424c5f0ae1f09190e20c2c7ecf5f747759359: Pulling from ocaml/opam
cae3b572364a: Already exists
820d433882fc: Already exists
8f6112f72fa5: Already exists
f06108004adb: Already exists
f34ea90e6bf7: Already exists
b44a65709156: Pulling fs layer
4c25908bbac9: Pulling fs layer
f76df728146d: Pulling fs layer
1fee769dfcf3: Pulling fs layer
9089a7f69af3: Pulling fs layer
6f758b47b2a0: Pulling fs layer
16b225bbb395: Pulling fs layer
abbf3ec39b68: Pulling fs layer
1a61521655a9: Pulling fs layer
6a8565a9e443: Pulling fs layer
1fee769dfcf3: Download complete
4c25908bbac9: Download complete
c059a4cbd7b9: Pulling fs layer
f76df728146d: Download complete
16b225bbb395: Download complete
3a00fdc9e291: Pulling fs layer
9089a7f69af3: Download complete
6f758b47b2a0: Download complete
a0b62589bd38: Pulling fs layer
1a61521655a9: Download complete
abbf3ec39b68: Download complete
6a8565a9e443: Download complete
c059a4cbd7b9: Waiting
6e8d713bf843: Pulling fs layer
3a00fdc9e291: Waiting
a0b62589bd38: Waiting
bca1fd5341ba: Pulling fs layer
34b9849c2772: Pulling fs layer
6e8d713bf843: Waiting
4f4fb700ef54: Pulling fs layer
bca1fd5341ba: Waiting
d8d3d0744e38: Pulling fs layer
34b9849c2772: Waiting
4f4fb700ef54: Waiting
788c7ce0e0e5: Pulling fs layer
a297eab0ca3b: Pulling fs layer
d8d3d0744e38: Waiting
788c7ce0e0e5: Waiting
2e79af39acdb: Pulling fs layer
a297eab0ca3b: Waiting
8858e600236c: Pulling fs layer
9efe23d1fe7d: Pulling fs layer
2e79af39acdb: Waiting
8858e600236c: Waiting
47d185934312: Pulling fs layer
9efe23d1fe7d: Waiting
64a949a6caff: Pulling fs layer
c9d6a7c18bb1: Pulling fs layer
e4fde4815f0c: Pulling fs layer
d1f759c16950: Pulling fs layer
64a949a6caff: Waiting
f3dd45bf195f: Pulling fs layer
47d185934312: Waiting
c9d6a7c18bb1: Waiting
3985a6049101: Pulling fs layer
e4fde4815f0c: Waiting
aae849592418: Pulling fs layer
d1f759c16950: Waiting
f3dd45bf195f: Waiting
6173459dc6b2: Pulling fs layer
3985a6049101: Waiting
aae849592418: Waiting
7f16ef63bee0: Pulling fs layer
fe355de6a899: Pulling fs layer
6173459dc6b2: Waiting
b0bc5a15bc9d: Pulling fs layer
7f16ef63bee0: Waiting
fe355de6a899: Waiting
321ac08ae5a9: Pulling fs layer
8c34166b5383: Pulling fs layer
b0bc5a15bc9d: Waiting
96b5f593814f: Pulling fs layer
852686949168: Pulling fs layer
321ac08ae5a9: Waiting
8c34166b5383: Waiting
96b5f593814f: Waiting
852686949168: Waiting
3a00fdc9e291: Download complete
a0b62589bd38: Verifying Checksum
a0b62589bd38: Download complete
c059a4cbd7b9: Download complete
6e8d713bf843: Download complete
bca1fd5341ba: Verifying Checksum
bca1fd5341ba: Download complete
34b9849c2772: Verifying Checksum
34b9849c2772: Download complete
4f4fb700ef54: Download complete
d8d3d0744e38: Download complete
a297eab0ca3b: Download complete
788c7ce0e0e5: Download complete
2e79af39acdb: Verifying Checksum
2e79af39acdb: Download complete
8858e600236c: Verifying Checksum
8858e600236c: Download complete
9efe23d1fe7d: Download complete
47d185934312: Download complete
c9d6a7c18bb1: Verifying Checksum
c9d6a7c18bb1: Download complete
64a949a6caff: Verifying Checksum
64a949a6caff: Download complete
e4fde4815f0c: Download complete
f3dd45bf195f: Download complete
d1f759c16950: Verifying Checksum
d1f759c16950: Download complete
aae849592418: Verifying Checksum
aae849592418: Download complete
b44a65709156: Download complete
7f16ef63bee0: Download complete
fe355de6a899: Verifying Checksum
fe355de6a899: Download complete
b0bc5a15bc9d: Download complete
3985a6049101: Verifying Checksum
3985a6049101: Download complete
b44a65709156: Pull complete
4c25908bbac9: Pull complete
f76df728146d: Pull complete
1fee769dfcf3: Pull complete
9089a7f69af3: Pull complete
6f758b47b2a0: Pull complete
16b225bbb395: Pull complete
abbf3ec39b68: Pull complete
1a61521655a9: Pull complete
6a8565a9e443: Pull complete
c059a4cbd7b9: Pull complete
3a00fdc9e291: Pull complete
a0b62589bd38: Pull complete
6e8d713bf843: Pull complete
bca1fd5341ba: Pull complete
34b9849c2772: Pull complete
4f4fb700ef54: Pull complete
d8d3d0744e38: Pull complete
788c7ce0e0e5: Pull complete
a297eab0ca3b: Pull complete
2e79af39acdb: Pull complete
8858e600236c: Pull complete
9efe23d1fe7d: Pull complete
47d185934312: Pull complete
64a949a6caff: Pull complete
c9d6a7c18bb1: Pull complete
e4fde4815f0c: Pull complete
d1f759c16950: Pull complete
f3dd45bf195f: Pull complete
321ac08ae5a9: Verifying Checksum
321ac08ae5a9: Download complete
8c34166b5383: Verifying Checksum
8c34166b5383: Download complete
96b5f593814f: Verifying Checksum
96b5f593814f: Download complete
852686949168: Verifying Checksum
852686949168: Download complete
3985a6049101: Pull complete
aae849592418: Pull complete
6173459dc6b2: Verifying Checksum
6173459dc6b2: Download complete
6173459dc6b2: Pull complete
7f16ef63bee0: Pull complete
fe355de6a899: Pull complete
b0bc5a15bc9d: Pull complete
321ac08ae5a9: Pull complete
8c34166b5383: Pull complete
96b5f593814f: Pull complete
852686949168: Pull complete
Digest: sha256:cb4e7c7acf31c133eba31f661e1424c5f0ae1f09190e20c2c7ecf5f747759359
Status: Downloaded newer image for ocaml/opam@sha256:cb4e7c7acf31c133eba31f661e1424c5f0ae1f09190e20c2c7ecf5f747759359
2025-10-15 12:03.49 ---> using "0efc5e572123afcb90589b9e29b4c3d31a81288e8543daf93caecc43d92a2ed8" from cache


/: (comment debian-13-5.0_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.2 /usr/bin/opam"))
2025-10-15 12:03.50 ---> using "9083e2e1e073c552e720125ed481b33c2a07876ea21c5bfe4a1c5b2e2a4c8690" 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.


Continue? [y/n] y
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.


Format upgrade done.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-10-15 12:03.50 ---> using "4d5485d14166947a5128afd248fbebe3080736eed478fe9e260702945072921b" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-131-generic
The OCaml toplevel, version 5.0.0
2.2.1
2025-10-15 12:03.50 ---> using "94f1c3ac0da2d559b49120da5ecde10bba7c68930786cf37c9673ae6a7312d48" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-10-15 12:03.50 ---> using "39b92f31b6bcf59f115594882385b5a882ec61c817ced22af66916d86b239231" 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, which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
# Run eval $(opam env) to update the current shell environment
2025-10-15 12:03.50 ---> using "cb8487f4fb4da806b0982d25b61b0f03f4fdadb8333856006567d2cb431b53d8" from cache


/src: (copy (src lwt_retry.opam lwt_react.opam lwt_ppx.opam lwt.opam)
(dst ./))
2025-10-15 12:03.50 ---> saved as "c5498c7f9871ebfba814de43341b80a62cd6a3174b9588ef8722e2cd4d61d840"


/src: (run (network host)
(shell  "opam pin add -yn lwt_retry.dev './' && \
\nopam pin add -yn lwt_react.dev './' && \
\nopam pin add -yn lwt_ppx.dev './' && \
\nopam pin add -yn lwt.dev './'"))
[lwt_retry.dev] synchronised (file:///src)
lwt_retry is now pinned to file:///src (version dev)
[lwt_react.dev] synchronised (file:///src)
lwt_react is now pinned to file:///src (version dev)
[lwt_ppx.dev] synchronised (file:///src)
lwt_ppx is now pinned to file:///src (version dev)
[lwt.dev] synchronised (file:///src)
lwt is now pinned to file:///src (version dev)
2025-10-15 12:04.00 ---> saved as "a284785dcd04ceba994b7399b5ab5fe80f10748508f5c10967e3c62430d6a989"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-10-15 12:04.00 ---> saved as "421e0722a2f0ac5c40884c1bb28a7c597589cc9f7ccc80882f1b816db5270f4e"


/src: (env DEPS "astring.0.8.5 base-bigarray.base base-bytes.base base-domains.base base-nnp.base base-threads.base base-unix.base bos.0.2.1 cmdliner.2.0.0 cppo.1.8.0 csexp.1.5.2 dune.3.20.2 dune-configurator.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.5.0.0 ocaml-base-compiler.5.0.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocamlgraph.2.2.0 ocplib-endian.1.2 opam-core.2.4.1 opam-dune-lint.0.6 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 react.1.2.2 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.2 --depext-only -y deps_for_opam_dune_lint.opam lwt_retry.dev lwt_react.dev lwt.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian trixie InRelease
- Get:2 http://deb.debian.org/debian trixie-updates InRelease [47.3 kB]
- Get:3 http://deb.debian.org/debian-security trixie-security InRelease [43.4 kB]
- Get:4 http://deb.debian.org/debian-security trixie-security/main amd64 Packages [53.8 kB]
- Fetched 145 kB in 0s (1251 kB/s)
- Reading package lists...
- 
[ERROR] No package named deps_for_opam_dune_lint found.
"/usr/bin/env" "bash" "-c" "opam update --depexts && opam install --cli=2.2 --depext-only -y deps_for_opam_dune_lint.opam lwt_retry.dev lwt_react.dev lwt.dev $DEPS" failed with exit status 5
2025-10-15 12:04.04: Job failed: Failed: Build failed