2025-06-30 20:45.41: New job: test mbarbin/dunolint https://github.com/mbarbin/dunolint.git#refs/heads/main (70581288259f487fa80de6752d3b04bf0017d2f3) (linux-x86_64:debian-12-4.14_opam-2.3)
Base: ocaml/opam:debian-12-ocaml-4.14@sha256:fce20b65df3420e55e551e5e511d6e043f8c2fab25d7bc07171e2995fe38adc1
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/mbarbin/dunolint.git" -b "main" && cd "dunolint" && git reset --hard 70581288
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.14@sha256:fce20b65df3420e55e551e5e511d6e043f8c2fab25d7bc07171e2995fe38adc1
# debian-12-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 a28eb8a148feb4fbc6466fa0791668993513dbde || git fetch origin master) && git reset -q --hard a28eb8a148feb4fbc6466fa0791668993513dbde && 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-threads.base base-unix.base csexp.1.5.2 dune.3.19.1 dune-configurator.3.19.1 fpath.0.7.3 fpath-sexp0.0.3.1 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 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.12.0 seq.base sexplib0.v0.16.0 stdlib-shims.0.3.0 topkg.1.0.8"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y dunolint-lib.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . /src
RUN opam exec -- dune build --only-packages=dunolint-lib @install @check @runtest && rm -rf _build
END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK
2025-06-30 20:45.41: Using cache hint "mbarbin/dunolint-ocaml/opam:debian-12-ocaml-4.14@sha256:fce20b65df3420e55e551e5e511d6e043f8c2fab25d7bc07171e2995fe38adc1-debian-12-4.14_opam-2.3-281ffcc661278dde12c3aa8df409da17"
2025-06-30 20:45.41: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.14@sha256:fce20b65df3420e55e551e5e511d6e043f8c2fab25d7bc07171e2995fe38adc1)
(comment debian-12-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 a28eb8a148feb4fbc6466fa0791668993513dbde || git fetch origin master) && git reset -q --hard a28eb8a148feb4fbc6466fa0791668993513dbde && 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-threads.base base-unix.base csexp.1.5.2 dune.3.19.1 dune-configurator.3.19.1 fpath.0.7.3 fpath-sexp0.0.3.1 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 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.12.0 seq.base sexplib0.v0.16.0 stdlib-shims.0.3.0 topkg.1.0.8")
(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 dunolint-lib.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 --only-packages=dunolint-lib @install @check @runtest && rm -rf _build"))
)
2025-06-30 20:45.41: Waiting for resource in pool OCluster
2025-06-30 20:45.42: Waiting for worker…
2025-06-30 20:45.42: Got resource from pool OCluster
Building on bremusa.ocamllabs.io
All commits already cached
HEAD is now at 7058128 Merge branch 'subrepo' pull request #76
(from ocaml/opam:debian-12-ocaml-4.14@sha256:fce20b65df3420e55e551e5e511d6e043f8c2fab25d7bc07171e2995fe38adc1)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.14@sha256:fce20b65df3420e55e551e5e511d6e043f8c2fab25d7bc07171e2995fe38adc1' locally
docker.io/ocaml/opam@sha256:fce20b65df3420e55e551e5e511d6e043f8c2fab25d7bc07171e2995fe38adc1: Pulling from ocaml/opam
60046a54970b: Already exists
Digest: sha256:fce20b65df3420e55e551e5e511d6e043f8c2fab25d7bc07171e2995fe38adc1
Status: Downloaded newer image for ocaml/opam@sha256:fce20b65df3420e55e551e5e511d6e043f8c2fab25d7bc07171e2995fe38adc1
2025-06-30 20:45.44 ---> using "e0b6b42c8d38d9348dfef46f8898d95202a2f66c4a54682abc09332d121e9399" from cache
/: (comment debian-12-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-06-30 20:45.44 ---> using "087e08b165a4c96e5651843463842a95f76d0840a59aa7a384c29ebd289028aa" 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-06-30 20:45.44 ---> using "1fc90f758c2a9c5a702116c42b73f4d00ed4c97867bb8f33e39732c915533175" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-59-generic
The OCaml toplevel, version 4.14.2
2.3.0
2025-06-30 20:45.44 ---> using "907d9d16d8ee77c0c5555113122dd0c6e70daaa557fdf4c491949956707acf69" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-06-30 20:45.44 ---> using "2d576fc7dcae21eaff29797780d6d1b4d59f570977e957d814c1084a3ed8a1f4" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e a28eb8a148feb4fbc6466fa0791668993513dbde || git fetch origin master) && git reset -q --hard a28eb8a148feb4fbc6466fa0791668993513dbde && git log --no-decorate -n1 --oneline && opam update -u"))
a28eb8a148 Merge pull request #28017 from maiste/release-dune-3.19.1
<><> 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-06-30 20:45.44 ---> using "0599b6458a70016dacefe2329b39fb7f1ccd8e9635f954db2bef750a7802a1c6" from cache
/src: (copy (src dunolint.opam dunolint-tests.opam dunolint-lib.opam dunolint-dev.opam)
(dst ./))
2025-06-30 20:45.44 ---> using "74613c0e7da2c16c1e639206eca554927d21696eec350176759a5213cbbc228c" 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-06-30 20:45.44 ---> using "23014ce43a546d1ac2e667615c1cceeecfe8e63433f376ecce8d42ddc933941f" from cache
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-06-30 20:45.44 ---> using "227650b9ba2222108d86c1c81cfa5ac037a8e9a0666291b115557776afdef523" from cache
/src: (env DEPS "astring.0.8.5 base.v0.16.4 base-bigarray.base base-threads.base base-unix.base csexp.1.5.2 dune.3.19.1 dune-configurator.3.19.1 fpath.0.7.3 fpath-sexp0.0.3.1 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 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.12.0 seq.base sexplib0.v0.16.0 stdlib-shims.0.3.0 topkg.1.0.8")
/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 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-security bookworm-security/main amd64 Packages [270 kB]
- Fetched 373 kB in 0s (959 kB/s)
- Reading package lists...
-
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[dunolint-lib.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-06-30 20:45.44 ---> using "42cdb6f295c8e148f1cfd4ab7692aa6a6337c96958b2c1b1b896c6a6cb2ac5dd" from cache
/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 20 packages
- install astring 0.8.5
- install base v0.16.4
- install csexp 1.5.2
- install dune 3.19.1
- install dune-configurator 3.19.1
- install fpath 0.7.3
- install fpath-sexp0 0.3.1
- install ocaml-compiler-libs v0.12.4
- install ocamlbuild 0.16.1
- install ocamlfind 1.9.8
- install ppx_compare v0.16.0
- install ppx_derivers 1.2.1
- install ppx_enumerate v0.16.0
- install ppx_sexp_conv v0.16.0
- install ppxlib 0.35.0
- install re 1.12.0
- install seq base
- install sexplib0 v0.16.0
- install stdlib-shims 0.3.0
- install topkg 1.0.8
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved csexp.1.5.2 (cached)
-> retrieved astring.0.8.5 (cached)
-> retrieved base.v0.16.4 (cached)
-> retrieved fpath.0.7.3 (cached)
-> retrieved fpath-sexp0.0.3.1 (cached)
-> retrieved ocaml-compiler-libs.v0.12.4 (cached)
-> retrieved ocamlbuild.0.16.1 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved ppx_compare.v0.16.0 (cached)
-> retrieved ppx_derivers.1.2.1 (cached)
-> retrieved ppx_enumerate.v0.16.0 (cached)
-> retrieved ppx_sexp_conv.v0.16.0 (cached)
-> retrieved re.1.12.0 (cached)
-> retrieved seq.base (cached)
-> installed seq.base
-> retrieved sexplib0.v0.16.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved topkg.1.0.8 (cached)
-> retrieved ppxlib.0.35.0 (cached)
-> retrieved dune.3.19.1, dune-configurator.3.19.1 (cached)
-> installed ocamlbuild.0.16.1
-> installed ocamlfind.1.9.8
-> installed topkg.1.0.8
-> installed astring.0.8.5
-> installed fpath.0.7.3
-> installed dune.3.19.1
-> installed ppx_derivers.1.2.1
-> installed stdlib-shims.0.3.0
-> installed csexp.1.5.2
-> installed ocaml-compiler-libs.v0.12.4
-> installed re.1.12.0
-> installed sexplib0.v0.16.0
-> installed fpath-sexp0.0.3.1
-> installed dune-configurator.3.19.1
-> installed base.v0.16.4
-> installed ppxlib.0.35.0
-> installed ppx_enumerate.v0.16.0
-> installed ppx_compare.v0.16.0
-> installed ppx_sexp_conv.v0.16.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-06-30 20:45.44 ---> using "3d297155a5cc04f731bbf914c807e0f6f3996d345a8c25d87f124de9c3e39fe4" from cache
/src: (copy (src .) (dst /src))
2025-06-30 20:45.45 ---> saved as "c55fcf5be1b1ce6a74d44ddd9baf30976cebedb85601d8bc43f33ef16062f5f1"
/src: (run (shell "opam exec -- dune build --only-packages=dunolint-lib @install @check @runtest && rm -rf _build"))
2025-06-30 20:45.48 ---> saved as "0a6e7f6089011924b3f1b9a118e0aefdf8149305bbcd199173e8027c353f6b11"
Job succeeded
2025-06-30 20:45.48: Job succeeded