Organisationsocsigenlwt8baa61 (master)(lint-opam)

(lint-opam)

Link Copied
Code Copied

Logs

2025-11-25 02:34.22: New job: test ocsigen/lwt https://github.com/ocsigen/lwt.git#refs/heads/master (8baa610a49f7cbc9a1834791809ab1feb3cef202) (linux-x86_64:(lint-opam))
Base: ocaml/opam:debian-13-ocaml-5.0@sha256:a0cf5c5cb1f8ca4efebab87b6c14f9310ef972c73f209901227e88810a32ae28
Opam files lint


To reproduce locally:


git clone --recursive "https://github.com/ocsigen/lwt.git" -b "master" && cd "lwt" && git reset --hard 8baa610a
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-5.0@sha256:a0cf5c5cb1f8ca4efebab87b6c14f9310ef972c73f209901227e88810a32ae28
# 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 d47c23cc20f87a07f45669f51840a1718e180264 || git fetch origin master) && git reset -q --hard d47c23cc20f87a07f45669f51840a1718e180264 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 lwt_retry.opam lwt_react.opam lwt_ppx__ppx_let_tests.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__ppx_let_tests.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.10.0 menhir.20250912 menhirCST.20250912 menhirLib.20250912 menhirSdk.20250912 num.1.6 ocaml.5.0.0 ocaml-base-compiler.5.0.0 ocaml-compiler-libs.v0.12.4 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.1.0 pp.2.0.0 ppx_derivers.1.2.1 ppxlib.0.37.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.1 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_ppx.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-11-25 02:34.22: Using cache hint "ocsigen/lwt-ocaml/opam:debian-13-ocaml-5.0@sha256:a0cf5c5cb1f8ca4efebab87b6c14f9310ef972c73f209901227e88810a32ae28-debian-13-5.0_opam-2.4-e1ea269e3ac8a0e3e8b2f02ccf52e279"
2025-11-25 02:34.22: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.0@sha256:a0cf5c5cb1f8ca4efebab87b6c14f9310ef972c73f209901227e88810a32ae28)
(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 d47c23cc20f87a07f45669f51840a1718e180264 || git fetch origin master) && git reset -q --hard d47c23cc20f87a07f45669f51840a1718e180264 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src lwt_retry.opam lwt_react.opam lwt_ppx__ppx_let_tests.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__ppx_let_tests.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.10.0 menhir.20250912 menhirCST.20250912 menhirLib.20250912 menhirSdk.20250912 num.1.6 ocaml.5.0.0 ocaml-base-compiler.5.0.0 ocaml-compiler-libs.v0.12.4 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.1.0 pp.2.0.0 ppx_derivers.1.2.1 ppxlib.0.37.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.1 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_ppx.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-11-25 02:34.22: Waiting for resource in pool OCluster
2025-11-25 02:34.22: Waiting for worker…
2025-11-25 02:34.23: Got resource from pool OCluster
Building on clete
All commits already cached
HEAD is now at 8baa610a4 Merge pull request #1086 from ocsigen/dependabot/github_actions/actions/checkout-6


(from ocaml/opam:debian-13-ocaml-5.0@sha256:a0cf5c5cb1f8ca4efebab87b6c14f9310ef972c73f209901227e88810a32ae28)
Unable to find image 'ocaml/opam:debian-13-ocaml-5.0@sha256:a0cf5c5cb1f8ca4efebab87b6c14f9310ef972c73f209901227e88810a32ae28' locally
docker.io/ocaml/opam@sha256:a0cf5c5cb1f8ca4efebab87b6c14f9310ef972c73f209901227e88810a32ae28: Pulling from ocaml/opam
13cc39f8244a: Already exists
b27d53669817: Already exists
062c909e206e: Already exists
265baae72087: Already exists
b6b7b385247c: Already exists
bfb7bf5b7c6d: Already exists
b18c76fc18f2: Already exists
6bdbb37ee35f: Already exists
84035aa4da2d: Already exists
0c3307e14207: Already exists
30b92d637d72: Already exists
991b07583706: Already exists
e1d7a79a1495: Already exists
6b08d63c6214: Already exists
4c7236344711: Already exists
12506f41e8b0: Already exists
12506f41e8b0: Already exists
2330d596aec1: Already exists
a48299f5ec62: Already exists
04618a577568: Already exists
8c4b002d072b: Already exists
4f4fb700ef54: Already exists
ff68f05e2976: Already exists
d5543b560a3e: Already exists
4a9030bbb1ef: Already exists
c59b3bec3411: Already exists
85a7c9be9495: Already exists
dbc6bd8f2e44: Already exists
6680a5133ca2: Already exists
470c0056084c: Already exists
6b9af56b67cf: Already exists
c572cde25fb3: Already exists
033b2d405acf: Already exists
663cc5b3d424: Already exists
840bbd47fded: Already exists
fb8f644ba010: Already exists
66735543f230: Already exists
7896354b8c11: Already exists
a0063722d8c2: Already exists
7018e4a5881b: Already exists
06436fd7f62d: Already exists
cde927a0d81e: Already exists
4199a76c0c74: Already exists
4729d62cb70e: Already exists
Digest: sha256:a0cf5c5cb1f8ca4efebab87b6c14f9310ef972c73f209901227e88810a32ae28
Status: Downloaded newer image for ocaml/opam@sha256:a0cf5c5cb1f8ca4efebab87b6c14f9310ef972c73f209901227e88810a32ae28
2025-11-25 02:34.24 ---> using "7ab6011a357d375af0d8162f2ea16d9122504ea3adf94e8562c73e2e151b67be" 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-11-25 02:34.24 ---> using "d170a22d07787e60664687dd32b2af5a435a96aebbb3cd3d54c36cb6e659e1b4" 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-11-25 02:34.24 ---> using "cf87cad028e6bd050ea52fa27caaeaa2214f107a7d04293f0270f2b105606c07" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-84-generic
The OCaml toplevel, version 5.0.0
2.2.1
2025-11-25 02:34.24 ---> using "9c8bd9253ccdab80263cf6d30ae25308f68342fe920a8446c0901c2eb35eaa05" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-11-25 02:34.24 ---> using "53612552b08bab28c2decf9d62b776367e02910661f7561f808470f517ebea14" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e d47c23cc20f87a07f45669f51840a1718e180264 || git fetch origin master) && git reset -q --hard d47c23cc20f87a07f45669f51840a1718e180264 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
21f97b2e6d..96657e4dc7  master     -> origin/master
d47c23cc20 Merge pull request #28908 from redianthus/master


<><> 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-11-25 02:34.24 ---> using "19d28d1adbf9435c9c40b577caf0fa54181eacf345fd81c5b23fc6ce55c3e749" from cache


/src: (copy (src lwt_retry.opam lwt_react.opam lwt_ppx__ppx_let_tests.opam lwt_ppx.opam lwt.opam)
(dst ./))
2025-11-25 02:34.25 ---> saved as "869e277d22ae2942714dbdb4d16ede5b9e7b8663322cdfa43a423838514543f6"


/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__ppx_let_tests.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)
Package lwt_ppx__ppx_let_tests does not exist, create as a NEW package? [y/n] y
[lwt_ppx__ppx_let_tests.dev] synchronised (file:///src)
[WARNING] Failed checks on lwt_ppx__ppx_let_tests package definition from source at file:///src:
warning 62: License doesn't adhere to the SPDX standard, see https://spdx.org/licenses/ : "NOTFORRELEASE"
lwt_ppx__ppx_let_tests 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-11-25 02:34.32 ---> saved as "2712341d12e7a0ed8ebdad46dc86b883d56f0f81123808f4481b91a8768f58f0"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-11-25 02:34.32 ---> saved as "34237451125af9e8e99a720c210f24f098485474d91886c078b1571a1e11f3ab"


/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.10.0 menhir.20250912 menhirCST.20250912 menhirLib.20250912 menhirSdk.20250912 num.1.6 ocaml.5.0.0 ocaml-base-compiler.5.0.0 ocaml-compiler-libs.v0.12.4 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.1.0 pp.2.0.0 ppx_derivers.1.2.1 ppxlib.0.37.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.1 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_ppx.dev lwt.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian trixie InRelease [140 kB]
- 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 trixie/main amd64 Packages [9670 kB]
- Get:5 http://deb.debian.org/debian-security trixie-security/main amd64 Packages [71.8 kB]
- Fetched 9973 kB in 1s (7862 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_ppx.dev lwt.dev $DEPS" failed with exit status 5
2025-11-25 02:34.36: Job failed: Failed: Build failed