Organisationsmbarbindunolint15e352 ()debian-12-5.0_opam-2.4

debian-12-5.0_opam-2.4

Logs

Show full logs
2025-09-08 08:11.38: New job: test mbarbin/dunolint https://github.com/mbarbin/dunolint.git#refs/heads/main (15e352cf54fa73703c1c48d7e4b3ff8f629f1ffb) (linux-x86_64:debian-12-5.0_opam-2.4)
Base: ocaml/opam:debian-12-ocaml-5.0@sha256:124f347f91e67bbee17e253ff93ee3b3dc82ad2b4429aaae0ec31e2d2f084723
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/mbarbin/dunolint.git" -b "main" && cd "dunolint" && git reset --hard 15e352cf
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.0@sha256:124f347f91e67bbee17e253ff93ee3b3dc82ad2b4429aaae0ec31e2d2f084723
# debian-12-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.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.16.4 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.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 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 seq.base sexplib0.v0.16.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-09-08 08:11.38: Using cache hint "mbarbin/dunolint-ocaml/opam:debian-12-ocaml-5.0@sha256:124f347f91e67bbee17e253ff93ee3b3dc82ad2b4429aaae0ec31e2d2f084723-debian-12-5.0_opam-2.4-caa0156dfdf81c82c85b38f0a696894d"
2025-09-08 08:11.38: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.0@sha256:124f347f91e67bbee17e253ff93ee3b3dc82ad2b4429aaae0ec31e2d2f084723)
 (comment debian-12-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.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.16.4 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.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 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 seq.base sexplib0.v0.16.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-09-08 08:11.38: Waiting for resource in pool OCluster
2025-09-08 08:11.38: Waiting for worker…
2025-09-08 08:11.38: Got resource from pool OCluster
Building on eumache
All commits already cached
HEAD is now at 15e352c Merge pull request #97 from mbarbin/improve-load-config-errors

(from ocaml/opam:debian-12-ocaml-5.0@sha256:124f347f91e67bbee17e253ff93ee3b3dc82ad2b4429aaae0ec31e2d2f084723)
Unable to find image 'ocaml/opam:debian-12-ocaml-5.0@sha256:124f347f91e67bbee17e253ff93ee3b3dc82ad2b4429aaae0ec31e2d2f084723' locally
docker.io/ocaml/opam@sha256:124f347f91e67bbee17e253ff93ee3b3dc82ad2b4429aaae0ec31e2d2f084723: Pulling from ocaml/opam
bbd0d7f7db1c: Already exists
977a790bb8ec: Already exists
f3ee9fde5c65: Already exists
0527b47d128f: Already exists
265ba04f76d8: Already exists
Digest: sha256:124f347f91e67bbee17e253ff93ee3b3dc82ad2b4429aaae0ec31e2d2f084723
Status: Downloaded newer image for ocaml/opam@sha256:124f347f91e67bbee17e253ff93ee3b3dc82ad2b4429aaae0ec31e2d2f084723
2025-09-08 08:11.39 ---> using "724cc3077250e8fe6f5c0e7d73a17b3076772e78814e1ca4ca8477b85b4ec558" from cache

/: (comment debian-12-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.4 /usr/bin/opam"))
2025-09-08 08:11.39 ---> using "ad6a569d2cf4c021cbad01545ccf2791ddde90397f012340093bba6e63632865" 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-09-08 08:11.39 ---> using "7bb8d5fc673c922740661844b7756373072c93dd78e85344029a4c581146f39a" 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.4.1
2025-09-08 08:11.39 ---> using "3928b5de8f76e1c7ae5a3190c8c54e955daa10913dcdee873cc620646e673b22" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2025-09-08 08:11.39 ---> using "114feba4a2d2aa5956eeab39d4384970ec31c0997439ba076bdccf0667d9a05b" 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..f88238ad19  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-09-08 08:11.39 ---> using "bdaed62234c2161bfcd27ba8755455391978b5aff6fd9737be8aefebd916c6d7" from cache

/src: (copy (src dunolint.opam dunolint-tests.opam dunolint-lib.opam dunolint-dev.opam)
            (dst ./))
2025-09-08 08:11.39 ---> using "b3eb06aa0fc8b890552f28c663d97b66b1dc31bc77e80918d96f5c787b31b099" 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-09-08 08:11.39 ---> using "c3861c56e9655cdcecdd5e13faa0d90d7330abbd2c07710a2c71bfc198b8cf19" from cache

/src: (run (network host)
           (shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-09-08 08:11.39 ---> using "9366e160a86a1042900739e7bebb1eaa94adaad068a3d511394a69288b5f482d" 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 csexp.1.5.2 dune.3.20.1 dune-configurator.3.20.1 fpath.0.7.3 fpath-sexp0.0.3.1 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 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 seq.base sexplib0.v0.16.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"
- Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB]
- 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/main amd64 Packages [8791 kB]
- Get:5 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [277 kB]
- Fetched 9323 kB in 3s (2810 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.0.0).
[NOTE] Package ocaml is already installed (current version is 5.0.0).
[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-09-08 08:11.39 ---> using "095f2b27884f97e75bc6c2854da3fd9f0700fae7cb08d61c1bef2cf06b5368c5" 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.0.0).
[NOTE] Package ocaml is already installed (current version is 5.0.0).
[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 20 packages
  - install astring             0.8.5
  - install base                v0.16.4
  - 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 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.13.2
  - install seq                 base
  - install sexplib0            v0.16.0
  - install stdlib-shims        0.3.0
  - install topkg               1.1.0

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved astring.0.8.5  (cached)
-> retrieved base.v0.16.4  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved fpath.0.7.3  (cached)
-> retrieved ocaml-compiler-libs.v0.12.4  (cached)
-> retrieved fpath-sexp0.0.3.1  (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.13.2  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved sexplib0.v0.16.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved ppxlib.0.35.0  (cached)
-> retrieved topkg.1.1.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 csexp.1.5.2
-> installed ocaml-compiler-libs.v0.12.4
-> installed re.1.13.2
-> installed sexplib0.v0.16.0
-> installed stdlib-shims.0.3.0
-> installed fpath-sexp0.0.3.1
-> installed dune-configurator.3.20.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-09-08 08:11.39 ---> using "997308fc92eaf72a6b054704d9e1c39c57f6e7ebe9ab8cd0c9607e8a41770207" from cache

/src: (copy (src .) (dst /src))
2025-09-08 08:11.39 ---> using "d4ff5016be6e2cb64abb6e9b41af7f0646108e593db9e752231e305fdaa30ca0" from cache

/src: (run (shell "opam exec -- dune build --only-packages=dunolint-lib @install @check @runtest && rm -rf _build"))
2025-09-08 08:11.39 ---> using "0cf83b3a5faefca06a3516564005e8d0513b34654714db55800979c33037bb76" from cache
Job succeeded
2025-09-08 08:11.39: Job succeeded