Organisationsmbarbindunolint84a844 ()(lint-opam)

(lint-opam)

Link Copied
Code Copied

Logs

2025-07-30 10:23.16: New job: test mbarbin/dunolint https://github.com/mbarbin/dunolint.git#refs/heads/main (84a844dbaad62f550a6e2e623c124257ecdf181b) (linux-x86_64:(lint-opam))
Base: ocaml/opam:debian-12-ocaml-5.0@sha256:6d203d213ec8fdb5074b28177992b3d4f49dfd6296c882c614c25b680c981885
Opam files lint


To reproduce locally:


git clone --recursive "https://github.com/mbarbin/dunolint.git" -b "main" && cd "dunolint" && git reset --hard 84a844db
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.0@sha256:6d203d213ec8fdb5074b28177992b3d4f49dfd6296c882c614c25b680c981885
# debian-12-5.0_opam-2.3
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 e77940d8ff8706305602d0d643bf01c77beef2e7 || git fetch origin master) && git reset -q --hard e77940d8ff8706305602d0d643bf01c77beef2e7 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 dunolint.opam dunolint-tests.opam dunolint-lib.opam dunolint-dev.opam ./
RUN opam pin add -yn dunolint.dev './' && \
opam pin add -yn dunolint-tests.dev './' && \
opam pin add -yn dunolint-lib.dev './' && \
opam pin add -yn dunolint-dev.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="astring.0.8.5 base.v0.16.4 base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base bos.0.2.1 cmdliner.1.3.0 csexp.1.5.2 dune.3.19.1 dune-configurator.3.19.1 dyn.3.19.1 fmt.0.11.0 fpath.0.7.3 fpath-sexp0.0.3.1 jsonm.1.0.2 logs.0.9.0 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 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 opam-core.2.4.0 opam-dune-lint.0.6 opam-file-format.2.2.0 opam-format.2.4.0 opam-repository.2.4.0 opam-state.2.4.0 ordering.3.19.1 parsexp.v0.16.0 patch.3.0.0 pp.2.0.0 ppx_compare.v0.16.0 ppx_derivers.1.2.1 ppx_enumerate.v0.16.0 ppx_sexp_conv.v0.16.0 ppxlib.0.35.0 re.1.13.2 rresult.0.7.0 seq.base sexplib.v0.16.0 sexplib0.v0.16.0 sha.1.15.4 spdx_licenses.1.4.0 stdlib-shims.0.3.0 stdune.3.19.1 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 dunolint-lib.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-07-30 10:23.16: Using cache hint "mbarbin/dunolint-ocaml/opam:debian-12-ocaml-5.0@sha256:6d203d213ec8fdb5074b28177992b3d4f49dfd6296c882c614c25b680c981885-debian-12-5.0_opam-2.3-cee96d16adcb0a37a7d2757f33b124f9"
2025-07-30 10:23.16: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.0@sha256:6d203d213ec8fdb5074b28177992b3d4f49dfd6296c882c614c25b680c981885)
(comment debian-12-5.0_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.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 e77940d8ff8706305602d0d643bf01c77beef2e7 || git fetch origin master) && git reset -q --hard e77940d8ff8706305602d0d643bf01c77beef2e7 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src dunolint.opam dunolint-tests.opam dunolint-lib.opam dunolint-dev.opam)
(dst ./))
(run (network host)
(shell  "opam pin add -yn dunolint.dev './' && \
\nopam pin add -yn dunolint-tests.dev './' && \
\nopam pin add -yn dunolint-lib.dev './' && \
\nopam pin add -yn dunolint-dev.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "astring.0.8.5 base.v0.16.4 base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base bos.0.2.1 cmdliner.1.3.0 csexp.1.5.2 dune.3.19.1 dune-configurator.3.19.1 dyn.3.19.1 fmt.0.11.0 fpath.0.7.3 fpath-sexp0.0.3.1 jsonm.1.0.2 logs.0.9.0 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 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 opam-core.2.4.0 opam-dune-lint.0.6 opam-file-format.2.2.0 opam-format.2.4.0 opam-repository.2.4.0 opam-state.2.4.0 ordering.3.19.1 parsexp.v0.16.0 patch.3.0.0 pp.2.0.0 ppx_compare.v0.16.0 ppx_derivers.1.2.1 ppx_enumerate.v0.16.0 ppx_sexp_conv.v0.16.0 ppxlib.0.35.0 re.1.13.2 rresult.0.7.0 seq.base sexplib.v0.16.0 sexplib0.v0.16.0 sha.1.15.4 spdx_licenses.1.4.0 stdlib-shims.0.3.0 stdune.3.19.1 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 dunolint-lib.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-07-30 10:23.16: Waiting for resource in pool OCluster
2025-07-30 10:23.16: Waiting for worker…
2025-07-30 10:23.16: Got resource from pool OCluster
Building on laodoke.caelum.ci.dev
All commits already cached
HEAD is now at 84a844d Prepare changelog


(from ocaml/opam:debian-12-ocaml-5.0@sha256:6d203d213ec8fdb5074b28177992b3d4f49dfd6296c882c614c25b680c981885)
2025-07-30 10:23.17 ---> using "eb554071cf3bb1097d63dadc1e86b12da0699d57db7ad9748f3092ab4cdcacf5" from cache


/: (comment debian-12-5.0_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.2 /usr/bin/opam"))
2025-07-30 10:23.17 ---> using "c5d8ad914d7d70841f2a0f917b2afd9de2aec2e86a81448c35033f28a17efd94" 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-07-30 10:23.17 ---> using "5db851d7bd0be5b6bca27e688c80d53704bdf124f34c08c4f151da9547ec89d9" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-142-generic
The OCaml toplevel, version 5.0.0
2.2.1
2025-07-30 10:23.17 ---> using "946d18c677aa0a0b6c6d32c1bea0bfd9e1a200eca0b553946d45e98a9dc67c66" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-07-30 10:23.17 ---> using "2886449f3a6603070fc7f96610cb916899434acc9355afe5ec308df59360059a" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e e77940d8ff8706305602d0d643bf01c77beef2e7 || git fetch origin master) && git reset -q --hard e77940d8ff8706305602d0d643bf01c77beef2e7 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
0094db1438..f6368c68f9  master     -> origin/master
e77940d8ff Merge pull request #28255 from dbuenzli/b0-publish-fmt.0.11.0


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+file:///home/opam/opam-repository


The following actions will be performed:
=== recompile 4 packages
- recompile base-domains base  [uses ocaml]
- recompile base-nnp     base  [uses base-domains]
- recompile ocaml        5.0.0 [upstream or system changes]
- recompile opam-depext  1.2.3 [uses ocaml]


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved opam-depext.1.2.3  (cached)
-> removed   base-nnp.base
-> removed   base-domains.base
-> removed   opam-depext.1.2.3
-> removed   ocaml.5.0.0
-> installed ocaml.5.0.0
-> installed base-domains.base
-> installed base-nnp.base
-> installed opam-depext.1.2.3
Done.


<><> opam-depext.1.2.3 installed successfully <><><><><><><><><><><><><><><><><>
=> opam-depext is unnecessary when used with opam >= 2.1. Please use opam install directly instead
# Run eval $(opam env) to update the current shell environment
2025-07-30 10:23.17 ---> using "5b2767adb13b382fdf4a8c0d94aa1b6e60f0339fa367b8a027000ce4d2aab31c" from cache


/src: (copy (src dunolint.opam dunolint-tests.opam dunolint-lib.opam dunolint-dev.opam)
(dst ./))
2025-07-30 10:23.17 ---> using "21a2983eed3b8afd32d47cfc25ee33fbbd86edf501c8f65c44cf47bc8f8bbd0e" from cache


/src: (run (network host)
(shell  "opam pin add -yn dunolint.dev './' && \
\nopam pin add -yn dunolint-tests.dev './' && \
\nopam pin add -yn dunolint-lib.dev './' && \
\nopam pin add -yn dunolint-dev.dev './'"))
[dunolint.dev] synchronised (file:///src)
dunolint is now pinned to file:///src (version dev)
Package dunolint-tests does not exist, create as a NEW package? [y/n] y
[dunolint-tests.dev] synchronised (file:///src)
dunolint-tests is now pinned to file:///src (version dev)
[dunolint-lib.dev] synchronised (file:///src)
dunolint-lib is now pinned to file:///src (version dev)
Package dunolint-dev does not exist, create as a NEW package? [y/n] y
[dunolint-dev.dev] synchronised (file:///src)
dunolint-dev is now pinned to file:///src (version dev)
2025-07-30 10:23.17 ---> using "b9b92395df78ff08359d817efe5cc0d04536cd6fdf915b1d29bfd6bbfbac8fcd" from cache


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-07-30 10:23.17 ---> using "42cc7f8b972d66a75daf3192f8cecf2a4ee97a7ae5185d3172dd5905c7a59474" from cache


/src: (env DEPS "astring.0.8.5 base.v0.16.4 base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base bos.0.2.1 cmdliner.1.3.0 csexp.1.5.2 dune.3.19.1 dune-configurator.3.19.1 dyn.3.19.1 fmt.0.11.0 fpath.0.7.3 fpath-sexp0.0.3.1 jsonm.1.0.2 logs.0.9.0 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 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 opam-core.2.4.0 opam-dune-lint.0.6 opam-file-format.2.2.0 opam-format.2.4.0 opam-repository.2.4.0 opam-state.2.4.0 ordering.3.19.1 parsexp.v0.16.0 patch.3.0.0 pp.2.0.0 ppx_compare.v0.16.0 ppx_derivers.1.2.1 ppx_enumerate.v0.16.0 ppx_sexp_conv.v0.16.0 ppxlib.0.35.0 re.1.13.2 rresult.0.7.0 seq.base sexplib.v0.16.0 sexplib0.v0.16.0 sha.1.15.4 spdx_licenses.1.4.0 stdlib-shims.0.3.0 stdune.3.19.1 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 dunolint-lib.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian bookworm InRelease
- Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
- Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
- Get:4 http://deb.debian.org/debian bookworm-updates/main amd64 Packages.diff/Index [18.5 kB]
- Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages T-2025-07-29-2006.47-F-2025-07-29-2006.47.pdiff [5110 B]
- Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages T-2025-07-29-2006.47-F-2025-07-29-2006.47.pdiff [5110 B]
- Get:6 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [272 kB]
- Fetched 399 kB in 1s (687 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 dunolint-lib.dev $DEPS" failed with exit status 5
2025-07-30 10:23.20: Job failed: Failed: Build failed