Organisationsmbarbindunolintc6a33b ()ubuntu-22.04-4.14_opam-2.4

ubuntu-22.04-4.14_opam-2.4

Logs

Show full logs
2025-08-31 14:22.30: New job: test mbarbin/dunolint https://github.com/mbarbin/dunolint.git#refs/heads/main (c6a33bd7c68711f995b0e2b473f193eff6f844c3) (linux-x86_64:ubuntu-22.04-4.14_opam-2.4)
Base: ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:5eaf5a903aaa2a66335cabea8fb368b38b20a9302f80e8ed72d5711e05f927f0
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/mbarbin/dunolint.git" -b "main" && cd "dunolint" && git reset --hard c6a33bd7
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:5eaf5a903aaa2a66335cabea8fb368b38b20a9302f80e8ed72d5711e05f927f0
# ubuntu-22.04-4.14_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-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.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.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-08-31 14:22.30: Using cache hint "mbarbin/dunolint-ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:5eaf5a903aaa2a66335cabea8fb368b38b20a9302f80e8ed72d5711e05f927f0-ubuntu-22.04-4.14_opam-2.4-97a499e6e09245fd9cbb7d3729476796"
2025-08-31 14:22.30: Using OBuilder spec:
((from ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:5eaf5a903aaa2a66335cabea8fb368b38b20a9302f80e8ed72d5711e05f927f0)
 (comment ubuntu-22.04-4.14_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-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.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.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-08-31 14:22.30: Waiting for resource in pool OCluster
2025-08-31 14:22.30: Waiting for worker…
2025-08-31 14:22.30: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
HEAD is now at c6a33bd Merge pull request #92 from mbarbin/support-false-hidden-includes

(from ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:5eaf5a903aaa2a66335cabea8fb368b38b20a9302f80e8ed72d5711e05f927f0)
Unable to find image 'ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:5eaf5a903aaa2a66335cabea8fb368b38b20a9302f80e8ed72d5711e05f927f0' locally
docker.io/ocaml/opam@sha256:5eaf5a903aaa2a66335cabea8fb368b38b20a9302f80e8ed72d5711e05f927f0: Pulling from ocaml/opam
2bf01afabfb3: Pulling fs layer
0c4c73378cbb: Pulling fs layer
32ff58dcdf62: Pulling fs layer
1fdc92e78b50: Pulling fs layer
3a95fa8fb957: Pulling fs layer
1fdc92e78b50: Waiting
32ff58dcdf62: Download complete
1fdc92e78b50: Download complete
3a95fa8fb957: Download complete
0c4c73378cbb: Verifying Checksum
0c4c73378cbb: Download complete
2bf01afabfb3: Verifying Checksum
2bf01afabfb3: Download complete
2bf01afabfb3: Pull complete
0c4c73378cbb: Pull complete
32ff58dcdf62: Pull complete
1fdc92e78b50: Pull complete
3a95fa8fb957: Pull complete
Digest: sha256:5eaf5a903aaa2a66335cabea8fb368b38b20a9302f80e8ed72d5711e05f927f0
Status: Downloaded newer image for ocaml/opam@sha256:5eaf5a903aaa2a66335cabea8fb368b38b20a9302f80e8ed72d5711e05f927f0
2025-08-31 14:22.32 ---> using "9788e33ef607d2b7d16da1da8c9768e17c160a2726ede1f146b519665e9cf0d1" from cache

/: (comment ubuntu-22.04-4.14_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 14:22.32 ---> using "36309014802b5585a47bd941a41e09e7bccd90cf2b9c5e55446ac06000110e29" 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 14:22.32 ---> using "367fe7bbb11f9e19633334a09f69b69b2e93cd97a20ba7b1a5418f08fd1b587c" from cache

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-142-generic
The OCaml toplevel, version 4.14.2
2.4.1
2025-08-31 14:22.32 ---> using "a63d95c5e399e3449ec90f817a72a36dd76b8b3aacf2c62fbcb73512facb171a" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2025-08-31 14:22.32 ---> using "e52c3de1fb615b52180169c08dfe256d7833f99199c243c0acfbb71c9b3b81c4" 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 14:22.32 ---> using "317f2038556c89fab331bf6f64e290c555220e7faafb555149bc21dc153d3e88" from cache

/src: (copy (src dunolint.opam dunolint-tests.opam dunolint-lib.opam dunolint-dev.opam)
            (dst ./))
2025-08-31 14:22.32 ---> using "9b28c3a4fdb9f90f5886bbb6e7f2356bbf5ee2fd915097a1a4a03a69bfbaf185" 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 14:22.32 ---> using "23fb8fb46a010d37c80ea85ab69478f3ad7b1ca179834800e9533a0c9a6d6f20" from cache

/src: (run (network host)
           (shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-08-31 14:22.32 ---> using "5ce54ee4c1aeaed7f9760649ec1e0a79102168e887809830e239faf7f1932629" 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.20.1 dune-configurator.3.20.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.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://security.ubuntu.com/ubuntu jammy-security InRelease [129 kB]
- Hit:2 http://archive.ubuntu.com/ubuntu jammy InRelease
- Get:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [128 kB]
- Get:4 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [127 kB]
- Get:5 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages [3297 kB]
- Get:6 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [3617 kB]
- Get:7 http://security.ubuntu.com/ubuntu jammy-security/restricted amd64 Packages [5340 kB]
- Get:8 http://archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages [5543 kB]
- Get:9 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [1272 kB]
- Get:10 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1576 kB]
- Fetched 21.0 MB in 3s (7878 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-08-31 14:22.32 ---> using "ccf12671171f723bc14f41740fa7a03b24a4b7bd40f7e1fe480898568fd39a5b" 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.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 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.13.2  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved sexplib0.v0.16.0  (cached)
-> retrieved ppxlib.0.35.0  (cached)
-> retrieved stdlib-shims.0.3.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-08-31 14:22.32 ---> using "bb92e38626ab3075161f82c6c9a01e0cc4a6c9366c6b03d51e8a74903adb6ab6" from cache

/src: (copy (src .) (dst /src))
2025-08-31 14:22.32 ---> using "2be627b8685451bcee750890fff97eba85c4815d88a5ea1141869b9efd39cd44" from cache

/src: (run (shell "opam exec -- dune build --only-packages=dunolint-lib @install @check @runtest && rm -rf _build"))
2025-08-31 14:22.32 ---> using "5c7156c0eed1f4715e557dab8182877761e0913247b068d019878f812d603c10" from cache
Job succeeded
2025-08-31 14:22.32: Job succeeded