Organisationsmirageocaml-tarbbb199 ()ubuntu-22.04-4.14_opam-2.5

ubuntu-22.04-4.14_opam-2.5

Link Copied
Code Copied

Logs

2026-01-27 07:25.15: New job: test mirage/ocaml-tar https://github.com/mirage/ocaml-tar.git#refs/heads/main (bbb19985822cae634319f9eb1ff16f236e97d206) (linux-x86_64:ubuntu-22.04-4.14_opam-2.5)
Base: ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:256ee90ca6270ef7e44931992e85d66b20c94b1f2e3fe70ad42e97ed1d5cca08
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:ubuntu-22.04-ocaml-4.14@sha256:256ee90ca6270ef7e44931992e85d66b20c94b1f2e3fe70ad42e97ed1d5cca08
# ubuntu-22.04-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 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-threads.base base-unix.base checkseum.0.5.2 cmdliner.2.1.0 csexp.1.5.2 decompress.1.5.3 dune.3.21.0 dune-configurator.3.21.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 optint.0.3.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.5 --depext-only -y tar.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . /src
RUN opam exec -- dune build --only-packages=tar @install @check @runtest && rm -rf _build


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


2026-01-27 07:25.15: Using cache hint "mirage/ocaml-tar-ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:256ee90ca6270ef7e44931992e85d66b20c94b1f2e3fe70ad42e97ed1d5cca08-ubuntu-22.04-4.14_opam-2.5-bd538eed072c29d880783792e9cf5e0b"
2026-01-27 07:25.15: Using OBuilder spec:
((from ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:256ee90ca6270ef7e44931992e85d66b20c94b1f2e3fe70ad42e97ed1d5cca08)
(comment ubuntu-22.04-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 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-threads.base base-unix.base checkseum.0.5.2 cmdliner.2.1.0 csexp.1.5.2 decompress.1.5.3 dune.3.21.0 dune-configurator.3.21.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 optint.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.5 --depext-only -y tar.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=tar @install @check @runtest && rm -rf _build"))
)


2026-01-27 07:25.15: Waiting for resource in pool OCluster
2026-01-27 07:58.38: Waiting for worker…
2026-01-27 08:02.01: Got resource from pool OCluster
Building on toxis.caelum.ci.dev
All commits already cached
HEAD is now at bbb1998 Apply formatting and sync changes


(from ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:256ee90ca6270ef7e44931992e85d66b20c94b1f2e3fe70ad42e97ed1d5cca08)
Unable to find image 'ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:256ee90ca6270ef7e44931992e85d66b20c94b1f2e3fe70ad42e97ed1d5cca08' locally
docker.io/ocaml/opam@sha256:256ee90ca6270ef7e44931992e85d66b20c94b1f2e3fe70ad42e97ed1d5cca08: Pulling from ocaml/opam
fbe89d1f4c16: Pulling fs layer
fbe89d1f4c16: Verifying Checksum
fbe89d1f4c16: Download complete
fbe89d1f4c16: Pull complete
Digest: sha256:256ee90ca6270ef7e44931992e85d66b20c94b1f2e3fe70ad42e97ed1d5cca08
Status: Downloaded newer image for ocaml/opam@sha256:256ee90ca6270ef7e44931992e85d66b20c94b1f2e3fe70ad42e97ed1d5cca08
2026-01-27 08:02.02 ---> using "82c50a0cbf04f29b81010c51cd3ec548d69ed37c97c76d03cc86a5cf2c47a5d5" from cache


/: (comment ubuntu-22.04-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-27 08:02.02 ---> using "d8d96c87b6227f5242abf545502bad6a75c73eae7d79b373871ad3a7d8c45228" 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-27 08:02.02 ---> using "d811c351465aee87f56e66bdf4ea1af2b8288714d1ea59d69c4f2cd442eda9e1" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-134-generic
The OCaml toplevel, version 4.14.2
2.5.0
2026-01-27 08:02.02 ---> using "635afcb073603434110c0b39c7baaa419ac6a3035cc12f4d7f2f0d922391170a" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2026-01-27 08:02.02 ---> using "e5b890cff0e1c742768a821ee6181eea03a625ad0cfd3ba68cc397ded410473e" 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"))
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-27 08:02.02 ---> using "5573eefe0e769047d2e1640997e3f6938e3df9736116e7033eef44e6cccf8ae3" from cache


/src: (copy (src tar.opam tar-eio.opam) (dst ./))
2026-01-27 08:02.02 ---> saved as "c7334e98ded3fd5089fe2cad86cc3ec45a9cec5a769a4f620eedd4f707e68d7b"


/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-27 08:02.10 ---> saved as "d361413f0c224d9334c5582763259ec8be3062c4152f34c1215dcf01d4cf2c4a"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2026-01-27 08:02.11 ---> saved as "f1afab40cec960e4eccdda1baaa86608f1dd503ccc138c035dd3a474a2996c41"


/src: (env DEPS "base-bigarray.base base-threads.base base-unix.base checkseum.0.5.2 cmdliner.2.1.0 csexp.1.5.2 decompress.1.5.3 dune.3.21.0 dune-configurator.3.21.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 optint.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.5 --depext-only -y tar.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://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages [3640 kB]
- Get:5 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [127 kB]
- Get:6 http://security.ubuntu.com/ubuntu jammy-security/multiverse amd64 Packages [61.5 kB]
- Get:7 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [1293 kB]
- Get:8 http://archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages [6498 kB]
- Get:9 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1604 kB]
- Get:10 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [3971 kB]
- Get:11 http://archive.ubuntu.com/ubuntu jammy-updates/multiverse amd64 Packages [70.9 kB]
- Fetched 17.5 MB in 3s (6347 kB/s)
- Reading package lists...
- 


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[tar.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).
# To update the current shell environment, run: eval $(opam env)
2026-01-27 08:02.39 ---> saved as "0965b70c4aa13d674bff380840ec45047a01b1afec31d7f3d78f57b87d3eb2e8"


/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 7 packages
- install checkseum         0.5.2
- install cmdliner          2.1.0
- install csexp             1.5.2
- install decompress        1.5.3
- install dune              3.21.0
- install dune-configurator 3.21.0
- install optint            0.3.0


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved checkseum.0.5.2  (cached)
-> retrieved cmdliner.2.1.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved optint.0.3.0  (cached)
-> retrieved decompress.1.5.3  (cached)
-> retrieved dune.3.21.0, dune-configurator.3.21.0  (cached)
-> installed cmdliner.2.1.0
-> installed dune.3.21.0
-> installed csexp.1.5.2
-> installed optint.0.3.0
-> installed dune-configurator.3.21.0
-> installed checkseum.0.5.2
-> installed decompress.1.5.3
Done.
# To update the current shell environment, run: eval $(opam env)
2026-01-27 08:04.06 ---> saved as "5686113f177bf85fa02b3d6fead97da5ee4b785521084e6841e537328de77a91"


/src: (copy (src .) (dst /src))
2026-01-27 08:04.07 ---> saved as "7bdd2e010b6a443b56ce32966a631a8f85322a5f3ec8b7d96e85e3bc151f6a21"


/src: (run (shell "opam exec -- dune build --only-packages=tar @install @check @runtest && rm -rf _build"))
(cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -bin-annot -I lib/.tar.objs/byte -intf-suffix .ml -no-alias-deps -opaque -o lib/.tar.objs/byte/tar.cmo -c -impl lib/tar.ml)
File "lib/tar.ml", line 30, characters 5-18:
30 | open Result.Syntax
^^^^^^^^^^^^^
Error: Unbound module Result.Syntax
(cd _build/default && /home/opam/.opam/4.14/bin/ocamlopt.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -I lib/.tar.objs/byte -I lib/.tar.objs/native -intf-suffix .ml -no-alias-deps -opaque -o lib/.tar.objs/native/tar.cmx -c -impl lib/tar.ml)
File "lib/tar.ml", line 30, characters 5-18:
30 | open Result.Syntax
^^^^^^^^^^^^^
Error: Unbound module Result.Syntax
"/usr/bin/env" "bash" "-c" "opam exec -- dune build --only-packages=tar @install @check @runtest && rm -rf _build" failed with exit status 1
2026-01-27 08:04.08: Job failed: Failed: Build failed