Organisationsmbarbindunolint5746b1 ()ubuntu-22.04-4.14_opam-2.4

ubuntu-22.04-4.14_opam-2.4

Logs

Show full logs
2025-12-15 15:43.53: New job: test mbarbin/dunolint https://github.com/mbarbin/dunolint.git#refs/heads/main (5746b1d90d45cde45d51fc6597c319ad4c53f853) (linux-x86_64:ubuntu-22.04-4.14_opam-2.4)
Base: ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:b3b71c61254cb49599db5af743cc91ca8a6ed2839fa3800e9d205829afe55723
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/mbarbin/dunolint.git" -b "main" && cd "dunolint" && git reset --hard 5746b1d9
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:b3b71c61254cb49599db5af743cc91ca8a6ed2839fa3800e9d205829afe55723
# 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 c65fcb116531ae66ad3316b265e233443ef25044 || git fetch origin master) && git reset -q --hard c65fcb116531ae66ad3316b265e233443ef25044 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 dunolint.opam dunolint-tests.opam dunolint-lib.opam dunolint-lib-base.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-lib-base.dev './' && \
    opam pin add -yn dunolint-dev.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="base.v0.16.4 base-bigarray.base base-threads.base base-unix.base csexp.1.5.2 dune.3.20.2 dune-configurator.3.20.2 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 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.14.0 sexplib0.v0.16.0 stdlib-shims.0.3.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.4 --depext-only -y dunolint-lib.dev dunolint-lib-base.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . /src
RUN opam exec -- dune build --only-packages=dunolint-lib,dunolint-lib-base @install @check @runtest && rm -rf _build

END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK

2025-12-15 15:43.53: Using cache hint "mbarbin/dunolint-ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:b3b71c61254cb49599db5af743cc91ca8a6ed2839fa3800e9d205829afe55723-ubuntu-22.04-4.14_opam-2.4-1cea2bf6dfe0f5cb5173296b62d7e9fd"
2025-12-15 15:43.53: Using OBuilder spec:
((from ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:b3b71c61254cb49599db5af743cc91ca8a6ed2839fa3800e9d205829afe55723)
 (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 c65fcb116531ae66ad3316b265e233443ef25044 || git fetch origin master) && git reset -q --hard c65fcb116531ae66ad3316b265e233443ef25044 && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src dunolint.opam dunolint-tests.opam dunolint-lib.opam dunolint-lib-base.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-lib-base.dev './' && \
             \nopam pin add -yn dunolint-dev.dev './'"))
 (run (network host)
      (shell "echo '(lang dune 3.0)' > './dune-project'"))
 (env DEPS "base.v0.16.4 base-bigarray.base base-threads.base base-unix.base csexp.1.5.2 dune.3.20.2 dune-configurator.3.20.2 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 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.14.0 sexplib0.v0.16.0 stdlib-shims.0.3.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 dunolint-lib-base.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,dunolint-lib-base @install @check @runtest && rm -rf _build"))
)

2025-12-15 15:43.53: Waiting for resource in pool OCluster
2025-12-15 15:43.53: Waiting for worker…
2025-12-15 15:46.44: Got resource from pool OCluster
Building on laodoke.caelum.ci.dev
HEAD is now at dbe0015 Remove unused path condition (removed)
HEAD is now at 5746b1d Merge pull request #142 from mbarbin/remove-path-dep

(from ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:b3b71c61254cb49599db5af743cc91ca8a6ed2839fa3800e9d205829afe55723)
2025-12-15 15:46.46 ---> using "f95cadcefb5e76597def8103e41424f6cfa5e7a6b6fbe8791fb2ec4d52cc7f31" 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-12-15 15:46.46 ---> using "ecaf949f7f0c49479f68dcf7a0a93af6b081cf5e43ab8924da88ee2c326b8000" 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-12-15 15:46.46 ---> using "3e463ffa8d2750faae2bd1466ef2e647ef1ce14012a29a17f940b7fdd1ed7887" from cache

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-86-generic
The OCaml toplevel, version 4.14.2
2.4.1
2025-12-15 15:46.46 ---> using "86edd9fdfe9ac6b29d2e8a9e922daaa2f3fa65895a6ec19a54578d744ec47597" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2025-12-15 15:46.46 ---> using "05115033ccbb7ac23081a7824108c5f0060c49fd7c1355f6c7b022f39090ffea" from cache

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e c65fcb116531ae66ad3316b265e233443ef25044 || git fetch origin master) && git reset -q --hard c65fcb116531ae66ad3316b265e233443ef25044 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   ee3428377a..c65fcb1165  master     -> origin/master
c65fcb1165 Merge pull request #29080 from dra27/ocaml-config-urls

<><> 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.4.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-12-15 15:46.46 ---> using "0f89c8219b312271816bc4dfc3a99e3744ea54dd1d72d93da163818911305102" from cache

/src: (copy (src dunolint.opam dunolint-tests.opam dunolint-lib.opam dunolint-lib-base.opam dunolint-dev.opam)
            (dst ./))
2025-12-15 15:46.46 ---> using "e54b179bdbc1ccdcde1eada628ed0577d56fced1d99f95527f70d3a2ce455469" 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-lib-base.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)
[dunolint-lib-base.dev] synchronised (file:///src)
dunolint-lib-base 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-12-15 15:46.46 ---> using "261bf2c55e600e894117f3ab2ab3945708b7ea02a081d0539dbd754c88b7d230" from cache

/src: (run (network host)
           (shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-12-15 15:46.46 ---> using "7c0511192a8bf71008ad561e560a2f8bdc6726cc86a8156a608dd0739ccf647a" from cache

/src: (env DEPS "base.v0.16.4 base-bigarray.base base-threads.base base-unix.base csexp.1.5.2 dune.3.20.2 dune-configurator.3.20.2 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 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.14.0 sexplib0.v0.16.0 stdlib-shims.0.3.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 dunolint-lib-base.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://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [1287 kB]
- Get:4 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [128 kB]
- Get:5 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages [3631 kB]
- Get:6 http://security.ubuntu.com/ubuntu jammy-security/restricted amd64 Packages [6205 kB]
- Get:7 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [127 kB]
- Get:8 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [3963 kB]
- Get:9 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1598 kB]
- Get:10 http://archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages [6410 kB]
- Fetched 23.5 MB in 3s (9331 kB/s)
- Reading package lists...
- 

<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[dunolint-lib.dev] synchronised (file:///src)
[dunolint-lib-base.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-12-15 15:46.46 ---> using "d567b995a5d3007f4b50319289ae31729478b8fac421af59a9c40e240235d0c1" 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 13 packages
  - install base                v0.16.4
  - install csexp               1.5.2
  - install dune                3.20.2
  - install dune-configurator   3.20.2
  - install ocaml-compiler-libs v0.12.4
  - 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.14.0
  - install sexplib0            v0.16.0
  - install stdlib-shims        0.3.0

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved base.v0.16.4  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved ocaml-compiler-libs.v0.12.4  (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.14.0  (cached)
-> retrieved sexplib0.v0.16.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved ppxlib.0.35.0  (cached)
-> retrieved dune.3.20.2, dune-configurator.3.20.2  (cached)
-> installed dune.3.20.2
-> installed ppx_derivers.1.2.1
-> installed stdlib-shims.0.3.0
-> installed csexp.1.5.2
-> installed sexplib0.v0.16.0
-> installed ocaml-compiler-libs.v0.12.4
-> installed re.1.14.0
-> installed dune-configurator.3.20.2
-> 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-12-15 15:46.46 ---> using "477155cd30b53b4c7e73cd61b02f73c8710913cdcbd698c4ba2ef5f897243433" from cache

/src: (copy (src .) (dst /src))
2025-12-15 15:46.46 ---> using "7986e0dc26ebe4764efd3a1fb0d316255ae2ab1e3c085de805fe779f50294e42" from cache

/src: (run (shell "opam exec -- dune build --only-packages=dunolint-lib,dunolint-lib-base @install @check @runtest && rm -rf _build"))
2025-12-15 15:46.46 ---> using "1281de8ec9c74fd09fc3daf5cd53a01d16d8522c811a05947fd40225d146a506" from cache
Job succeeded
2025-12-15 15:46.47: Job succeeded