Organisationsmirageirmin-watcherefe1a9 (master)alpine-3.22-4.14_opam-2.5

alpine-3.22-4.14_opam-2.5

Logs

Show full logs
2026-01-16 11:41.26: New job: test mirage/irmin-watcher https://github.com/mirage/irmin-watcher.git#refs/heads/master (efe1a9e240dfdb660f6e5022ecf6cea70d003e26) (linux-x86_64:alpine-3.22-4.14_opam-2.5)
Base: ocaml/opam:alpine-3.22-ocaml-4.14@sha256:1c3a5ef9216cc43d14bea2bc9b42f4b1ee30cd78bf2e6993672b4c0c52909216
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/mirage/irmin-watcher.git" -b "master" && cd "irmin-watcher" && git reset --hard efe1a9e2
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:alpine-3.22-ocaml-4.14@sha256:1c3a5ef9216cc43d14bea2bc9b42f4b1ee30cd78bf2e6993672b4c0c52909216
# alpine-3.22-4.14_opam-2.5
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.5 /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 873cb18c37b308713d11ad3894c4bb78d73fb3e7 || git fetch origin master) && git reset -q --hard 873cb18c37b308713d11ad3894c4bb78d73fb3e7 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 irmin-watcher.opam ./
RUN opam pin add -yn irmin-watcher.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="alcotest.1.9.1 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base cf.0.5.0 cf-lwt.0.5.0 cmdliner.1.3.0 conf-libffi.2.0.0 conf-pkg-config.4 cppo.1.8.0 csexp.1.5.2 ctypes.0.24.0 ctypes-foreign.0.24.0 dune.3.21.0 dune-configurator.3.21.0 fmt.0.11.0 fsevents.0.3.0 fsevents-lwt.0.3.0 inotify.2.6 integers.0.7.0 logs.0.10.0 lwt.6.0.0 mtime.2.1.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 re.1.14.0 stdlib-shims.0.3.0 topkg.1.1.1 uutf.1.0.4"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.5 --depext-only -y irmin-watcher.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . /src
RUN opam exec -- dune build @install @check @runtest && rm -rf _build

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

2026-01-16 11:41.26: Using cache hint "mirage/irmin-watcher-ocaml/opam:alpine-3.22-ocaml-4.14@sha256:1c3a5ef9216cc43d14bea2bc9b42f4b1ee30cd78bf2e6993672b4c0c52909216-alpine-3.22-4.14_opam-2.5-921f994d1791a75b898129b26025d167"
2026-01-16 11:41.26: Using OBuilder spec:
((from ocaml/opam:alpine-3.22-ocaml-4.14@sha256:1c3a5ef9216cc43d14bea2bc9b42f4b1ee30cd78bf2e6993672b4c0c52909216)
 (comment alpine-3.22-4.14_opam-2.5)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (workdir /src)
 (run (shell "sudo ln -f /usr/bin/opam-2.5 /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 873cb18c37b308713d11ad3894c4bb78d73fb3e7 || git fetch origin master) && git reset -q --hard 873cb18c37b308713d11ad3894c4bb78d73fb3e7 && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src irmin-watcher.opam) (dst ./))
 (run (network host)
      (shell "opam pin add -yn irmin-watcher.dev './'"))
 (run (network host)
      (shell "echo '(lang dune 3.0)' > './dune-project'"))
 (env DEPS "alcotest.1.9.1 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base cf.0.5.0 cf-lwt.0.5.0 cmdliner.1.3.0 conf-libffi.2.0.0 conf-pkg-config.4 cppo.1.8.0 csexp.1.5.2 ctypes.0.24.0 ctypes-foreign.0.24.0 dune.3.21.0 dune-configurator.3.21.0 fmt.0.11.0 fsevents.0.3.0 fsevents-lwt.0.3.0 inotify.2.6 integers.0.7.0 logs.0.10.0 lwt.6.0.0 mtime.2.1.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 re.1.14.0 stdlib-shims.0.3.0 topkg.1.1.1 uutf.1.0.4")
 (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.5 --depext-only -y irmin-watcher.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 @install @check @runtest && rm -rf _build"))
)

2026-01-16 11:41.26: Waiting for resource in pool OCluster
2026-01-16 16:08.53: Waiting for worker…
2026-01-16 16:11.26: Got resource from pool OCluster
Building on odawa.caelum.ci.dev
All commits already cached
HEAD is now at efe1a9e Merge pull request #45 from ElectreAAS/master

(from ocaml/opam:alpine-3.22-ocaml-4.14@sha256:1c3a5ef9216cc43d14bea2bc9b42f4b1ee30cd78bf2e6993672b4c0c52909216)
2026-01-16 16:11.27 ---> using "d1cef22083ba59d6db4e2f107091c68dd70ebdcc64c3894ad7db7be62ad17f4a" from cache

/: (comment alpine-3.22-4.14_opam-2.5)

/: (user (uid 1000) (gid 1000))

/: (env CLICOLOR_FORCE 1)

/: (env OPAMCOLOR always)

/: (workdir /src)

/src: (run (shell "sudo ln -f /usr/bin/opam-2.5 /usr/bin/opam"))
2026-01-16 16:11.27 ---> using "7c7cce50f5e947565c3d5dbad3ac3b61d12cac1cb4c13b6c802d6a8bb10d1345" 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
2026-01-16 16:11.27 ---> using "d95bbd73a24778f1321e62f69802692f647c727b93c3a5bbd318b81d4a471a07" from cache

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-87-generic
The OCaml toplevel, version 4.14.2
2.5.0
2026-01-16 16:11.27 ---> using "0946bc50f9a71a954b4e3169058449c50f765d27decff1e10b17d7843ccd9459" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2026-01-16 16:11.27 ---> using "f598dcec640aed1c1320fd535f3be224f496aae5fd076bc0ab3a32f9d65fd942" from cache

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e 873cb18c37b308713d11ad3894c4bb78d73fb3e7 || git fetch origin master) && git reset -q --hard 873cb18c37b308713d11ad3894c4bb78d73fb3e7 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   a6b2f19780..92679ed614  master     -> origin/master
873cb18c37 Merge pull request #29216 from shonfeder/release-dune-3.21.0

<><> 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)
2026-01-16 16:11.27 ---> using "d27dbf5e08e72fb1a17daaf34a00974b8055113683999092101fdecccdb87fe1" from cache

/src: (copy (src irmin-watcher.opam) (dst ./))
2026-01-16 16:11.27 ---> saved as "e0fb98348ef95693695d4d23bb8e6605ca0816524235fdc5af971bb97554b174"

/src: (run (network host)
           (shell "opam pin add -yn irmin-watcher.dev './'"))
[irmin-watcher.dev] synchronised (file:///src)
irmin-watcher is now pinned to file:///src (version dev)
2026-01-16 16:11.29 ---> saved as "d90be189fb278338636fb67ebd3aaec5d7f3d91155330788b1ab52f794d888d4"

/src: (run (network host)
           (shell "echo '(lang dune 3.0)' > './dune-project'"))
2026-01-16 16:11.29 ---> saved as "afd27a002ef6425e86cef4cdeb8fcc33014e809fa3444908c20061991551d456"

/src: (env DEPS "alcotest.1.9.1 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base cf.0.5.0 cf-lwt.0.5.0 cmdliner.1.3.0 conf-libffi.2.0.0 conf-pkg-config.4 cppo.1.8.0 csexp.1.5.2 ctypes.0.24.0 ctypes-foreign.0.24.0 dune.3.21.0 dune-configurator.3.21.0 fmt.0.11.0 fsevents.0.3.0 fsevents-lwt.0.3.0 inotify.2.6 integers.0.7.0 logs.0.10.0 lwt.6.0.0 mtime.2.1.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 re.1.14.0 stdlib-shims.0.3.0 topkg.1.1.1 uutf.1.0.4")

/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.5 --depext-only -y irmin-watcher.dev $DEPS"))
+ /usr/bin/sudo "apk" "update"
- fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/main/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/community/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
- v3.22.2-345-g80278e42c54 [https://dl-cdn.alpinelinux.org/alpine/v3.22/main]
- v3.22.2-350-ga346423740a [https://dl-cdn.alpinelinux.org/alpine/v3.22/community]
- v20251224-1517-g76c24b64e20 [https://dl-cdn.alpinelinux.org/alpine/edge/main]
- v20251224-1496-g03a612442a1 [https://dl-cdn.alpinelinux.org/alpine/edge/community]
- v20251224-1495-g0eba70fbcb6 [https://dl-cdn.alpinelinux.org/alpine/edge/testing]
- OK: 60721 distinct packages available

<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[irmin-watcher.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).

The following system packages will first need to be installed:
    libffi-dev

<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>

+ /usr/bin/sudo "apk" "add" "libffi-dev"
- (1/2) Installing linux-headers (6.14.2-r0)
- (2/2) Installing libffi-dev (3.4.8-r0)
- OK: 313 MiB in 104 packages
# To update the current shell environment, run: eval $(opam env)
2026-01-16 16:11.40 ---> saved as "2639bc673c5682f9c1c8c19110822312669a8c26ff72530cea2a38b0a0c3e603"

/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 30 packages
  - install alcotest           1.9.1
  - install astring            0.8.5
  - install base-bytes         base
  - install cf                 0.5.0
  - install cf-lwt             0.5.0
  - install cmdliner           1.3.0
  - install conf-libffi        2.0.0
  - install conf-pkg-config    4
  - install cppo               1.8.0
  - install csexp              1.5.2
  - install ctypes             0.24.0
  - install ctypes-foreign     0.24.0
  - install dune               3.21.0
  - install dune-configurator  3.21.0
  - install fmt                0.11.0
  - install fsevents           0.3.0
  - install fsevents-lwt       0.3.0
  - install inotify            2.6
  - install integers           0.7.0
  - install logs               0.10.0
  - install lwt                6.0.0
  - install mtime              2.1.0
  - install ocaml-syntax-shims 1.0.0
  - install ocamlbuild         0.16.1
  - install ocamlfind          1.9.8
  - install ocplib-endian      1.2
  - install re                 1.14.0
  - install stdlib-shims       0.3.0
  - install topkg              1.1.1
  - install uutf               1.0.4

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved alcotest.1.9.1  (cached)
-> retrieved astring.0.8.5  (cached)
-> retrieved cf.0.5.0, cf-lwt.0.5.0  (cached)
-> retrieved cmdliner.1.3.0  (cached)
-> retrieved cppo.1.8.0  (cached)
-> installed conf-pkg-config.4
-> retrieved csexp.1.5.2  (cached)
-> retrieved ctypes.0.24.0, ctypes-foreign.0.24.0  (cached)
-> installed conf-libffi.2.0.0
-> retrieved fmt.0.11.0  (cached)
-> retrieved fsevents.0.3.0, fsevents-lwt.0.3.0  (cached)
-> retrieved inotify.2.6  (cached)
-> retrieved integers.0.7.0  (cached)
-> retrieved logs.0.10.0  (cached)
-> retrieved lwt.6.0.0  (cached)
-> retrieved mtime.2.1.0  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved re.1.14.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved uutf.1.0.4  (cached)
-> retrieved topkg.1.1.1  (cached)
-> retrieved dune.3.21.0, dune-configurator.3.21.0  (cached)
-> installed cmdliner.1.3.0
-> installed ocamlbuild.0.16.1
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed topkg.1.1.1
-> installed uutf.1.0.4
-> installed mtime.2.1.0
-> installed fmt.0.11.0
-> installed astring.0.8.5
-> installed dune.3.21.0
-> installed csexp.1.5.2
-> installed cppo.1.8.0
-> installed ocaml-syntax-shims.1.0.0
-> installed re.1.14.0
-> installed stdlib-shims.0.3.0
-> installed ocplib-endian.1.2
-> installed alcotest.1.9.1
-> installed integers.0.7.0
-> installed dune-configurator.3.21.0
-> installed lwt.6.0.0
-> installed inotify.2.6
-> installed logs.0.10.0
-> installed ctypes.0.24.0
-> installed ctypes-foreign.0.24.0
-> installed cf.0.5.0
-> installed fsevents.0.3.0
-> installed cf-lwt.0.5.0
-> installed fsevents-lwt.0.3.0
Done.
# To update the current shell environment, run: eval $(opam env)
2026-01-16 16:12.18 ---> saved as "ed9206cc1fb1a2c83dbd08358c375a4d24645b5987320629743424c86b87f335"

/src: (copy (src .) (dst /src))
2026-01-16 16:12.19 ---> saved as "83f6493e00f6b5254fef315da187786f32a25f1cf6a2c8101c747f2e390b5e71"

/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/test && ./test.exe -q --color=always)
Testing `irmin-watch'.
This run has ID `8LSRL29O'.

  [OK]          inotify          0   enoent.
  [OK]          inotify          1   basic.
  [OK]          inotify          2   100s.
  [SKIP]        inotify          3   1000s.

Full test results in `/src/_build/default/test/_build/_tests/irmin-watch'.
Test Successful in 4.876s. 3 tests run.
2026-01-16 16:12.24 ---> saved as "2e0444b77abc4d084b2ec55b2c66538dbfe07cbfef032e9eb1b9db3bd51d0f0e"
Job succeeded
2026-01-16 16:12.25: Job succeeded