2025-08-31 12:49.49: New job: test mbarbin/dunolint https://github.com/mbarbin/dunolint.git#refs/heads/main (699379579e2e95369fac2040650a30314b7ffa34) (linux-x86_64:debian-12-5.1_opam-2.4)
Base: ocaml/opam:debian-12-ocaml-5.1@sha256:485d9ec2767d5767028a6f17091a19b7b2002fa3c16baf79a587aa0dff055a67
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/mbarbin/dunolint.git" -b "main" && cd "dunolint" && git reset --hard 69937957
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.1@sha256:485d9ec2767d5767028a6f17091a19b7b2002fa3c16baf79a587aa0dff055a67
# debian-12-5.1_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 4c972ba0fc24bcf3f84a30d19f8d725f7ce382a4 || git fetch origin master) && git reset -q --hard 4c972ba0fc24bcf3f84a30d19f8d725f7ce382a4 && 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.17.3 base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base csexp.1.5.2 dune.3.20.1 dune-configurator.3.20.1 fpath.0.7.3 fpath-sexp0.0.3.1 ocaml.5.1.1 ocaml-base-compiler.5.1.1 ocaml-compiler-libs.v0.12.4 ocaml-config.3 ocaml-options-vanilla.1 ocaml_intrinsics_kernel.v0.17.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ppx_compare.v0.17.0 ppx_derivers.1.2.1 ppx_enumerate.v0.17.0 ppx_sexp_conv.v0.17.0 ppxlib.0.35.0 ppxlib_jane.v0.17.0 re.1.13.2 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 topkg.1.1.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.4 --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-08-31 12:49.49: Using cache hint "mbarbin/dunolint-ocaml/opam:debian-12-ocaml-5.1@sha256:485d9ec2767d5767028a6f17091a19b7b2002fa3c16baf79a587aa0dff055a67-debian-12-5.1_opam-2.4-1afcf93cd8eb5a6f41b5adecb5fc9c7b"
2025-08-31 12:49.49: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.1@sha256:485d9ec2767d5767028a6f17091a19b7b2002fa3c16baf79a587aa0dff055a67)
(comment debian-12-5.1_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 4c972ba0fc24bcf3f84a30d19f8d725f7ce382a4 || git fetch origin master) && git reset -q --hard 4c972ba0fc24bcf3f84a30d19f8d725f7ce382a4 && 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.17.3 base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base csexp.1.5.2 dune.3.20.1 dune-configurator.3.20.1 fpath.0.7.3 fpath-sexp0.0.3.1 ocaml.5.1.1 ocaml-base-compiler.5.1.1 ocaml-compiler-libs.v0.12.4 ocaml-config.3 ocaml-options-vanilla.1 ocaml_intrinsics_kernel.v0.17.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ppx_compare.v0.17.0 ppx_derivers.1.2.1 ppx_enumerate.v0.17.0 ppx_sexp_conv.v0.17.0 ppxlib.0.35.0 ppxlib_jane.v0.17.0 re.1.13.2 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 topkg.1.1.0")
(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 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-08-31 12:49.49: Waiting for resource in pool OCluster
2025-08-31 12:49.49: Waiting for worker…
2025-08-31 12:49.49: Got resource from pool OCluster
Building on bremusa.ocamllabs.io
All commits already cached
HEAD is now at 6993795 Merge pull request #91 from mbarbin/increase-coverage
(from ocaml/opam:debian-12-ocaml-5.1@sha256:485d9ec2767d5767028a6f17091a19b7b2002fa3c16baf79a587aa0dff055a67)
Unable to find image 'ocaml/opam:debian-12-ocaml-5.1@sha256:485d9ec2767d5767028a6f17091a19b7b2002fa3c16baf79a587aa0dff055a67' locally
docker.io/ocaml/opam@sha256:485d9ec2767d5767028a6f17091a19b7b2002fa3c16baf79a587aa0dff055a67: Pulling from ocaml/opam
bbd0d7f7db1c: Already exists
a463d0af0fb4: Already exists
ecd35c580d88: Already exists
93aa25af2db9: Already exists
de87af896449: Already exists
3967c81781c0: Already exists
6dd4e4df1ce4: Already exists
e365069f10a2: Already exists
Digest: sha256:485d9ec2767d5767028a6f17091a19b7b2002fa3c16baf79a587aa0dff055a67
Status: Downloaded newer image for ocaml/opam@sha256:485d9ec2767d5767028a6f17091a19b7b2002fa3c16baf79a587aa0dff055a67
2025-08-31 12:49.51 ---> using "e04418b49c4cdf86afdceb5a2e052d7255cd9587255769d7fb1a09a892f8406f" from cache
/: (comment debian-12-5.1_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-08-31 12:49.51 ---> using "6f075a54de880290edc273580e4a76ad8773f86419aada208c9dddcdccd3b35d" 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
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-08-31 12:49.51 ---> using "f1c1d0aac06504f8da7db5beb5abcf449a90d5f4251a65f269df62c9532a800e" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-63-generic
The OCaml toplevel, version 5.1.1
2.4.1
2025-08-31 12:49.51 ---> using "506e611e8392c37807f2dcfe26d625b2532fed02c7162c7c67db73f50f3fb99c" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-08-31 12:49.51 ---> using "bf95fe1bcb6044bdcc444cbeda7f43541911b1a7889f39550f6e0d9faa44b80a" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 4c972ba0fc24bcf3f84a30d19f8d725f7ce382a4 || git fetch origin master) && git reset -q --hard 4c972ba0fc24bcf3f84a30d19f8d725f7ce382a4 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
ee24528071..f2cd184cfc master -> origin/master
4c972ba0fc Merge pull request #28397 from maiste/release-dune-3.20.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 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-08-31 12:49.51 ---> using "e2675f42323b605ff85e3671c725e42d9f4bff85f926664341f96635cca2d889" from cache
/src: (copy (src dunolint.opam dunolint-tests.opam dunolint-lib.opam dunolint-dev.opam)
(dst ./))
2025-08-31 12:49.51 ---> using "a53c33b9ad2f580036b3c0516236c810a5a92c909a3bb6a0339473d53de93a46" 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)
[NOTE] Package dunolint-tests does not exist in opam repositories registered in the current switch.
[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)
[NOTE] Package dunolint-dev does not exist in opam repositories registered in the current switch.
[dunolint-dev.dev] synchronised (file:///src)
dunolint-dev is now pinned to file:///src (version dev)
2025-08-31 12:49.51 ---> using "7a927834c2b8029761363d1e6de09fb2c085219df3826f58fdd50bc0ef0c3168" from cache
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-08-31 12:49.51 ---> using "eea13257cf47e2c6c75ddffac869268cb1b7ee1a1169a9ffe714b7358aeef900" from cache
/src: (env DEPS "astring.0.8.5 base.v0.17.3 base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base csexp.1.5.2 dune.3.20.1 dune-configurator.3.20.1 fpath.0.7.3 fpath-sexp0.0.3.1 ocaml.5.1.1 ocaml-base-compiler.5.1.1 ocaml-compiler-libs.v0.12.4 ocaml-config.3 ocaml-options-vanilla.1 ocaml_intrinsics_kernel.v0.17.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ppx_compare.v0.17.0 ppx_derivers.1.2.1 ppx_enumerate.v0.17.0 ppx_sexp_conv.v0.17.0 ppxlib.0.35.0 ppxlib_jane.v0.17.0 re.1.13.2 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 topkg.1.1.0")
/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 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 [277 kB]
- Fetched 380 kB in 1s (760 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 3).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.1.1).
[NOTE] Package ocaml is already installed (current version is 5.1.1).
[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-nnp is already installed (current version is base).
[NOTE] Package base-domains is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
2025-08-31 12:49.51 ---> using "eff9ab2ad46f9f6b777a95d7d44b0fb989baf2243f857567864d35f0bc8777e3" 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 3).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.1.1).
[NOTE] Package ocaml is already installed (current version is 5.1.1).
[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-nnp is already installed (current version is base).
[NOTE] Package base-domains 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 22 packages
- install astring 0.8.5
- install base v0.17.3
- install csexp 1.5.2
- install dune 3.20.1
- install dune-configurator 3.20.1
- install fpath 0.7.3
- install fpath-sexp0 0.3.1
- install ocaml-compiler-libs v0.12.4
- install ocaml_intrinsics_kernel v0.17.1
- install ocamlbuild 0.16.1
- install ocamlfind 1.9.8
- install ppx_compare v0.17.0
- install ppx_derivers 1.2.1
- install ppx_enumerate v0.17.0
- install ppx_sexp_conv v0.17.0
- install ppxlib 0.35.0
- install ppxlib_jane v0.17.0
- install re 1.13.2
- install seq base
- install sexplib0 v0.17.0
- install stdlib-shims 0.3.0
- install topkg 1.1.0
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved astring.0.8.5 (cached)
-> retrieved base.v0.17.3 (cached)
-> retrieved csexp.1.5.2 (cached)
-> retrieved fpath.0.7.3 (cached)
-> retrieved fpath-sexp0.0.3.1 (cached)
-> retrieved ocaml-compiler-libs.v0.12.4 (cached)
-> retrieved ocaml_intrinsics_kernel.v0.17.1 (cached)
-> retrieved ocamlbuild.0.16.1 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved ppx_compare.v0.17.0 (cached)
-> retrieved ppx_derivers.1.2.1 (cached)
-> retrieved ppx_enumerate.v0.17.0 (cached)
-> retrieved ppx_sexp_conv.v0.17.0 (cached)
-> retrieved ppxlib_jane.v0.17.0 (cached)
-> retrieved re.1.13.2 (cached)
-> retrieved seq.base (cached)
-> installed seq.base
-> retrieved sexplib0.v0.17.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved topkg.1.1.0 (cached)
-> retrieved ppxlib.0.35.0 (cached)
-> retrieved dune.3.20.1, dune-configurator.3.20.1 (cached)
-> installed ocamlbuild.0.16.1
-> installed ocamlfind.1.9.8
-> installed topkg.1.1.0
-> installed astring.0.8.5
-> installed fpath.0.7.3
-> installed dune.3.20.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 ocaml_intrinsics_kernel.v0.17.1
-> installed re.1.13.2
-> installed sexplib0.v0.17.0
-> installed fpath-sexp0.0.3.1
-> installed dune-configurator.3.20.1
-> installed base.v0.17.3
-> installed ppxlib.0.35.0
-> installed ppxlib_jane.v0.17.0
-> installed ppx_enumerate.v0.17.0
-> installed ppx_compare.v0.17.0
-> installed ppx_sexp_conv.v0.17.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-08-31 12:49.51 ---> using "e402c99ffd3214ed6de5e0730b7882e8989190b75ec724e9fb1857a990d6b984" from cache
/src: (copy (src .) (dst /src))
2025-08-31 12:49.51 ---> using "5e93b036149085020a31bf379cd0ded70d89e44f308d8e82f3e47b0601586934" from cache
/src: (run (shell "opam exec -- dune build --only-packages=dunolint-lib @install @check @runtest && rm -rf _build"))
2025-08-31 12:49.51 ---> using "787ff9f2a3f20db3bdc748d3827378438e7a4dddc2693e2126760e3d63021ba3" from cache
Job succeeded
2025-08-31 12:49.52: Job succeeded