Organisationsmirageocaml-tarbbb199 ()alpine-3.22-5.4_opam-2.5

alpine-3.22-5.4_opam-2.5

Logs

Show full logs
2026-01-24 22:45.52: New job: test mirage/ocaml-tar https://github.com/mirage/ocaml-tar.git#refs/heads/main (bbb19985822cae634319f9eb1ff16f236e97d206) (linux-x86_64:alpine-3.22-5.4_opam-2.5)
Base: ocaml/opam:alpine-3.22-ocaml-5.4@sha256:7d7dd1f15b5b094a8c6ec589b462e81fe5f982c5d6f2ac4af2e5e3dcdc1525e5
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/mirage/ocaml-tar.git" -b "main" && cd "ocaml-tar" && git reset --hard bbb19985
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:alpine-3.22-ocaml-5.4@sha256:7d7dd1f15b5b094a8c6ec589b462e81fe5f982c5d6f2ac4af2e5e3dcdc1525e5
# alpine-3.22-5.4_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 tar.opam tar-eio.opam ./
RUN opam pin add -yn tar.dev './' && \
    opam pin add -yn tar-eio.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base bigstringaf.0.10.0 checkseum.0.5.2 cmdliner.2.1.0 csexp.1.5.2 cstruct.6.2.0 decompress.1.5.3 domain-local-await.1.0.1 dune.3.21.0 dune-configurator.3.21.0 eio.1.3 fmt.0.11.0 hmap.0.8.1 lwt-dllist.1.1.0 mtime.2.1.0 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 optint.0.3.0 psq.0.2.1 seq.base thread-table.1.0.0 topkg.1.1.1"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.5 --depext-only -y tar.dev tar-eio.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-24 22:45.52: Using cache hint "mirage/ocaml-tar-ocaml/opam:alpine-3.22-ocaml-5.4@sha256:7d7dd1f15b5b094a8c6ec589b462e81fe5f982c5d6f2ac4af2e5e3dcdc1525e5-alpine-3.22-5.4_opam-2.5-05cb83e768ba8d83ae6550d818decb99"
2026-01-24 22:45.52: Using OBuilder spec:
((from ocaml/opam:alpine-3.22-ocaml-5.4@sha256:7d7dd1f15b5b094a8c6ec589b462e81fe5f982c5d6f2ac4af2e5e3dcdc1525e5)
 (comment alpine-3.22-5.4_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 tar.opam tar-eio.opam) (dst ./))
 (run (network host)
      (shell  "opam pin add -yn tar.dev './' && \
             \nopam pin add -yn tar-eio.dev './'"))
 (run (network host)
      (shell "echo '(lang dune 3.0)' > './dune-project'"))
 (env DEPS "base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base bigstringaf.0.10.0 checkseum.0.5.2 cmdliner.2.1.0 csexp.1.5.2 cstruct.6.2.0 decompress.1.5.3 domain-local-await.1.0.1 dune.3.21.0 dune-configurator.3.21.0 eio.1.3 fmt.0.11.0 hmap.0.8.1 lwt-dllist.1.1.0 mtime.2.1.0 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 optint.0.3.0 psq.0.2.1 seq.base thread-table.1.0.0 topkg.1.1.1")
 (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 tar.dev tar-eio.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-24 22:45.52: Waiting for resource in pool OCluster
2026-01-24 22:45.52: Waiting for worker…
2026-01-24 22:45.53: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
HEAD is now at bbb1998 Apply formatting and sync changes

(from ocaml/opam:alpine-3.22-ocaml-5.4@sha256:7d7dd1f15b5b094a8c6ec589b462e81fe5f982c5d6f2ac4af2e5e3dcdc1525e5)
2026-01-24 22:45.55 ---> using "8e7368a35b514e2f693b7ef97549c85525e506baecfd9cb71dfa7c1285b9bf9e" from cache

/: (comment alpine-3.22-5.4_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-24 22:45.55 ---> using "5de1607ed24a4d9a94f038b30a5d26051019ad9d567bd9b920207c8a8790958e" 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-24 22:45.55 ---> using "9a9c4e5cee84ea1f4dd03ef20c73db2f8677135dce421b26bfc6a84a6e4cec86" from cache

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-87-generic
The OCaml toplevel, version 5.4.0
2.5.0
2026-01-24 22:45.55 ---> using "667074f5be2334a92415ceab74ec15bb59d47bdf0e2beb825eaa389555f40c78" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2026-01-24 22:45.55 ---> using "33c7b91e3a3fd17dd0b670dfb64c2fe390ea331270d4439429317512d6a40df2" 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..8e1b9a49e8  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

Already up-to-date.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2026-01-24 22:45.55 ---> using "4184b41a9a82b3669f30a95932bd76a185cc6536c8f133518b5ae3e7d0ad06aa" from cache

/src: (copy (src tar.opam tar-eio.opam) (dst ./))
2026-01-24 22:45.55 ---> saved as "b5ca4a1c01da7df9dc8242a4442123b4555994e73943f37f84809e4121e3e72e"

/src: (run (network host)
           (shell  "opam pin add -yn tar.dev './' && \
                  \nopam pin add -yn tar-eio.dev './'"))
[tar.dev] synchronised (file:///src)
tar is now pinned to file:///src (version dev)
[tar-eio.dev] synchronised (file:///src)
tar-eio is now pinned to file:///src (version dev)
2026-01-24 22:46.00 ---> saved as "a387c41579ea8db33cc8a4a444ec93e75f8e6c7b2705a64af74f41cb89d37b51"

/src: (run (network host)
           (shell "echo '(lang dune 3.0)' > './dune-project'"))
2026-01-24 22:46.00 ---> saved as "d34dcac7c12ef08871e3c1a67e1b860ea6022f05a8cef4ac4497563de6e9bc20"

/src: (env DEPS "base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base bigstringaf.0.10.0 checkseum.0.5.2 cmdliner.2.1.0 csexp.1.5.2 cstruct.6.2.0 decompress.1.5.3 domain-local-await.1.0.1 dune.3.21.0 dune-configurator.3.21.0 eio.1.3 fmt.0.11.0 hmap.0.8.1 lwt-dllist.1.1.0 mtime.2.1.0 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 optint.0.3.0 psq.0.2.1 seq.base thread-table.1.0.0 topkg.1.1.1")

/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 tar.dev tar-eio.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-359-g43fdb3472ad [https://dl-cdn.alpinelinux.org/alpine/v3.22/main]
- v3.22.2-361-gcc6fd8e731f [https://dl-cdn.alpinelinux.org/alpine/v3.22/community]
- v20251224-2079-gd976c8489a9 [https://dl-cdn.alpinelinux.org/alpine/edge/main]
- v20251224-2078-g92bd6f679e2 [https://dl-cdn.alpinelinux.org/alpine/edge/community]
- v20251224-2078-g92bd6f679e2 [https://dl-cdn.alpinelinux.org/alpine/edge/testing]
- OK: 60785 distinct packages available

<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[tar.dev] synchronised (file:///src)
[tar-eio.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-compiler is already installed (current version is 5.4.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.4.0).
[NOTE] Package ocaml is already installed (current version is 5.4.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-effects 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).
# To update the current shell environment, run: eval $(opam env)
2026-01-24 22:46.10 ---> saved as "164ad0c5916b9c643e0cc9673f17f3a2cf14ff89b6afddbbbcf8de8281c8a6be"

/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-compiler is already installed (current version is 5.4.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.4.0).
[NOTE] Package ocaml is already installed (current version is 5.4.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-effects 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 21 packages
  - install bigstringaf        0.10.0
  - install checkseum          0.5.2
  - install cmdliner           2.1.0
  - install csexp              1.5.2
  - install cstruct            6.2.0
  - install decompress         1.5.3
  - install domain-local-await 1.0.1
  - install dune               3.21.0
  - install dune-configurator  3.21.0
  - install eio                1.3
  - install fmt                0.11.0
  - install hmap               0.8.1
  - install lwt-dllist         1.1.0
  - install mtime              2.1.0
  - install ocamlbuild         0.16.1
  - install ocamlfind          1.9.8
  - install optint             0.3.0
  - install psq                0.2.1
  - install seq                base
  - install thread-table       1.0.0
  - install topkg              1.1.1

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved bigstringaf.0.10.0  (cached)
-> retrieved checkseum.0.5.2  (cached)
-> retrieved cmdliner.2.1.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved cstruct.6.2.0  (cached)
-> retrieved domain-local-await.1.0.1  (cached)
-> retrieved decompress.1.5.3  (cached)
-> retrieved eio.1.3  (cached)
-> retrieved fmt.0.11.0  (cached)
-> retrieved hmap.0.8.1  (cached)
-> retrieved lwt-dllist.1.1.0  (cached)
-> retrieved mtime.2.1.0  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved optint.0.3.0  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved psq.0.2.1  (cached)
-> retrieved thread-table.1.0.0  (cached)
-> retrieved topkg.1.1.1  (cached)
-> retrieved dune.3.21.0, dune-configurator.3.21.0  (cached)
-> installed cmdliner.2.1.0
-> installed ocamlbuild.0.16.1
-> installed ocamlfind.1.9.8
-> installed topkg.1.1.1
-> installed hmap.0.8.1
-> installed fmt.0.11.0
-> installed mtime.2.1.0
-> installed dune.3.21.0
-> installed lwt-dllist.1.1.0
-> installed csexp.1.5.2
-> installed cstruct.6.2.0
-> installed optint.0.3.0
-> installed psq.0.2.1
-> installed thread-table.1.0.0
-> installed domain-local-await.1.0.1
-> installed dune-configurator.3.21.0
-> installed bigstringaf.0.10.0
-> installed checkseum.0.5.2
-> installed decompress.1.5.3
-> installed eio.1.3
Done.
# To update the current shell environment, run: eval $(opam env)
2026-01-24 22:46.51 ---> saved as "b968ef0c006d7c4bd13b23c0b1934a2aba2400d29a6fa94e8ec3935e8302fe93"

/src: (copy (src .) (dst /src))
2026-01-24 22:46.51 ---> saved as "07621d341d9f6d4f74462afabbd136e49704bd50b29c5df85f641196e4b89f68"

/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
2026-01-24 22:46.52 ---> saved as "bbdc40280709d958104de83d2b23f9fca53fb853d202d150a4df19a672b11c1f"
Job succeeded
2026-01-24 22:46.52: Job succeeded