Organisationsmiragemirage-flowc0efad (main)ubuntu-25.10-5.4_opam-2.4

ubuntu-25.10-5.4_opam-2.4

Logs

Show full logs
2025-10-18 16:36.41: New job: test mirage/mirage-flow https://github.com/mirage/mirage-flow.git#refs/heads/main (c0efad0f73f95daba1736fb8631708da41ef5f3f) (linux-x86_64:ubuntu-25.10-5.4_opam-2.4)
Base: ocaml/opam:ubuntu-25.10-ocaml-5.4@sha256:1193b97b1fb681f2d335587f7d0f746174fef9b1dfb77984932b8f3ea440c840
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/mirage/mirage-flow.git" -b "main" && cd "mirage-flow" && git reset --hard c0efad0f
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-25.10-ocaml-5.4@sha256:1193b97b1fb681f2d335587f7d0f746174fef9b1dfb77984932b8f3ea440c840
# ubuntu-25.10-5.4_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 c603e596bfaf195a5c1a3baf992b11c1de5ad35b || git fetch origin master) && git reset -q --hard c603e596bfaf195a5c1a3baf992b11c1de5ad35b && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 mirage-flow.opam mirage-flow-unix.opam mirage-flow-combinators.opam ./
RUN opam pin add -yn mirage-flow.dev './' && \
    opam pin add -yn mirage-flow-unix.dev './' && \
    opam pin add -yn mirage-flow-combinators.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-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cmdliner.2.0.0 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 dune.3.20.2 dune-configurator.3.20.2 fmt.0.11.0 logs.0.9.0 lwt.5.9.2 mirage-mtime.5.2.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 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.0 uutf.1.0.4"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.4 --depext-only -y mirage-flow.dev mirage-flow-unix.dev mirage-flow-combinators.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

2025-10-18 16:36.41: Using cache hint "mirage/mirage-flow-ocaml/opam:ubuntu-25.10-ocaml-5.4@sha256:1193b97b1fb681f2d335587f7d0f746174fef9b1dfb77984932b8f3ea440c840-ubuntu-25.10-5.4_opam-2.4-6d94627867b424a49c73fb2c28d2bd5a"
2025-10-18 16:36.41: Using OBuilder spec:
((from ocaml/opam:ubuntu-25.10-ocaml-5.4@sha256:1193b97b1fb681f2d335587f7d0f746174fef9b1dfb77984932b8f3ea440c840)
 (comment ubuntu-25.10-5.4_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 c603e596bfaf195a5c1a3baf992b11c1de5ad35b || git fetch origin master) && git reset -q --hard c603e596bfaf195a5c1a3baf992b11c1de5ad35b && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src mirage-flow.opam mirage-flow-unix.opam mirage-flow-combinators.opam)
       (dst ./))
 (run (network host)
      (shell  "opam pin add -yn mirage-flow.dev './' && \
             \nopam pin add -yn mirage-flow-unix.dev './' && \
             \nopam pin add -yn mirage-flow-combinators.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-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cmdliner.2.0.0 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 dune.3.20.2 dune-configurator.3.20.2 fmt.0.11.0 logs.0.9.0 lwt.5.9.2 mirage-mtime.5.2.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 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.0 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.4 --depext-only -y mirage-flow.dev mirage-flow-unix.dev mirage-flow-combinators.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"))
)

2025-10-18 16:36.41: Waiting for resource in pool OCluster
2025-10-18 18:01.42: Waiting for worker…
2025-10-18 18:04.31: Got resource from pool OCluster
Building on phoebe
All commits already cached
HEAD is now at c0efad0 Merge pull request #53 from hannesm/variants

(from ocaml/opam:ubuntu-25.10-ocaml-5.4@sha256:1193b97b1fb681f2d335587f7d0f746174fef9b1dfb77984932b8f3ea440c840)
Unable to find image 'ocaml/opam:ubuntu-25.10-ocaml-5.4@sha256:1193b97b1fb681f2d335587f7d0f746174fef9b1dfb77984932b8f3ea440c840' locally
docker.io/ocaml/opam@sha256:1193b97b1fb681f2d335587f7d0f746174fef9b1dfb77984932b8f3ea440c840: Pulling from ocaml/opam
9b965cd35928: Already exists
8c34d5cb1909: Already exists
8f3d0e888f94: Already exists
75914a58b59d: Already exists
00c83499f5f8: Already exists
96557828c72d: Already exists
e04c74427b07: Already exists
0b5b736f6f8b: Already exists
01ddd8730c9d: Already exists
f367de3c6ef3: Already exists
8ea485ed8d07: Already exists
311ea7e25f3b: Already exists
2c44554f2c1d: Already exists
4b37f74f2fcf: Already exists
4c53b5e197d1: Already exists
ae54a0cbaf07: Already exists
ae54a0cbaf07: Already exists
fbfa20dfc58f: Already exists
7a5fbf99492d: Already exists
55f27f5aae25: Already exists
e5dc741ba80e: Already exists
4f4fb700ef54: Already exists
ea4deec7b9ed: Already exists
575dd3f40a50: Already exists
23d3a726bc1c: Already exists
9c808f81626e: Already exists
6015bb64a01e: Already exists
c8b90fbcd33e: Already exists
1b226c214b9a: Already exists
c3f2fe2e9a34: Already exists
09907f66bdda: Already exists
ac9b7119d067: Already exists
c3c8c52036b2: Already exists
09d46cfd46ca: Already exists
a93091442c09: Already exists
74daf3d638c4: Already exists
2ad878d09679: Already exists
4f990f691d95: Already exists
b2d8c9546556: Already exists
fc9e5ff183af: Already exists
1420c7e28df9: Pulling fs layer
0aa76275f3e3: Pulling fs layer
93d3fe1ef530: Pulling fs layer
8141b93c2100: Pulling fs layer
99dd02af1531: Pulling fs layer
ed19dfeb135d: Pulling fs layer
8141b93c2100: Waiting
99dd02af1531: Waiting
400c4009ccf8: Pulling fs layer
ed19dfeb135d: Waiting
400c4009ccf8: Waiting
0aa76275f3e3: Download complete
1420c7e28df9: Verifying Checksum
1420c7e28df9: Download complete
93d3fe1ef530: Verifying Checksum
93d3fe1ef530: Download complete
1420c7e28df9: Pull complete
0aa76275f3e3: Pull complete
93d3fe1ef530: Pull complete
99dd02af1531: Verifying Checksum
99dd02af1531: Download complete
ed19dfeb135d: Verifying Checksum
ed19dfeb135d: Download complete
400c4009ccf8: Verifying Checksum
400c4009ccf8: Download complete
8141b93c2100: Verifying Checksum
8141b93c2100: Download complete
8141b93c2100: Pull complete
99dd02af1531: Pull complete
ed19dfeb135d: Pull complete
400c4009ccf8: Pull complete
Digest: sha256:1193b97b1fb681f2d335587f7d0f746174fef9b1dfb77984932b8f3ea440c840
Status: Downloaded newer image for ocaml/opam@sha256:1193b97b1fb681f2d335587f7d0f746174fef9b1dfb77984932b8f3ea440c840
2025-10-18 18:04.32 ---> using "3be20ed9bde11478d710180884f722280dfc08d0ee382a0870797929c1d03cd4" from cache

/: (comment ubuntu-25.10-5.4_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-10-18 18:04.32 ---> using "da6960692231a059dab52bacd68875d42b6b35b205939a28c7e327c1c48fb166" 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-10-18 18:04.32 ---> using "e9b0ecbad3beb2e452151c1169527a8879012a89c3350bb7b46eace3adcd6aea" from cache

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-84-generic
The OCaml toplevel, version 5.4.0
2.4.1
2025-10-18 18:04.32 ---> using "77ec95f59e260ec6798c95d067d0fb48d4d663c0eb249c2e29ab7e2bbb0a15a8" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2025-10-18 18:04.32 ---> using "112fb3f58706e2a934d242f81fc30ccd1722e38dcf8fa9411a64fe043420055b" from cache

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e c603e596bfaf195a5c1a3baf992b11c1de5ad35b || git fetch origin master) && git reset -q --hard c603e596bfaf195a5c1a3baf992b11c1de5ad35b && git log --no-decorate -n1 --oneline && opam update -u"))
c603e596bf Merge pull request #28683 from Octachron/OCaml_5.4.0_release

<><> 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)
2025-10-18 18:04.32 ---> using "10ebcea5a136997bb3d25fe8f52145c5fa29bb5dfd035f08bc3c6234649165e8" from cache

/src: (copy (src mirage-flow.opam mirage-flow-unix.opam mirage-flow-combinators.opam)
            (dst ./))
2025-10-18 18:04.32 ---> saved as "b75fff7c4f0d66da2a2aebbbf3fb02f00bcc6aa4615a1b66874924ba0a9d574e"

/src: (run (network host)
           (shell  "opam pin add -yn mirage-flow.dev './' && \
                  \nopam pin add -yn mirage-flow-unix.dev './' && \
                  \nopam pin add -yn mirage-flow-combinators.dev './'"))
[mirage-flow.dev] synchronised (file:///src)
mirage-flow is now pinned to file:///src (version dev)
[mirage-flow-unix.dev] synchronised (file:///src)
mirage-flow-unix is now pinned to file:///src (version dev)
[mirage-flow-combinators.dev] synchronised (file:///src)
mirage-flow-combinators is now pinned to file:///src (version dev)
2025-10-18 18:04.43 ---> saved as "50379913128f4b893fbfe8f034f513da53cdb20dedc11fed30af28ec5ec7bcda"

/src: (run (network host)
           (shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-10-18 18:04.44 ---> saved as "c823d1012cc400d664c98301a0ff9d0a55b38f0bbf4bc59c74753e8041cf01ba"

/src: (env DEPS "alcotest.1.9.1 astring.0.8.5 base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cmdliner.2.0.0 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 dune.3.20.2 dune-configurator.3.20.2 fmt.0.11.0 logs.0.9.0 lwt.5.9.2 mirage-mtime.5.2.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 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.0 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.4 --depext-only -y mirage-flow.dev mirage-flow-unix.dev mirage-flow-combinators.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://archive.ubuntu.com/ubuntu questing InRelease
- Get:2 http://archive.ubuntu.com/ubuntu questing-updates InRelease [136 kB]
- Get:3 http://archive.ubuntu.com/ubuntu questing-backports InRelease [133 kB]
- Get:4 http://security.ubuntu.com/ubuntu questing-security InRelease [136 kB]
- Fetched 404 kB in 0s (1147 kB/s)
- Reading package lists...
- 

<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[mirage-flow.dev] synchronised (file:///src)
[mirage-flow-combinators.dev] synchronised (file:///src)
[mirage-flow-unix.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).
2025-10-18 18:05.08 ---> saved as "d381ff8ff267cb52c04cb8edd81dbb146e642be24fe8a0adf599a3033fbbc9e5"

/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 22 packages
  - install alcotest           1.9.1
  - install astring            0.8.5
  - install base-bytes         base
  - install cmdliner           2.0.0
  - install cppo               1.8.0
  - install csexp              1.5.2
  - install cstruct            6.2.0
  - install dune               3.20.2
  - install dune-configurator  3.20.2
  - install fmt                0.11.0
  - install logs               0.9.0
  - install lwt                5.9.2
  - install mirage-mtime       5.2.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.0
  - install uutf               1.0.4

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved alcotest.1.9.1  (cached)
-> retrieved astring.0.8.5  (cached)
-> retrieved cmdliner.2.0.0  (cached)
-> retrieved cppo.1.8.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved cstruct.6.2.0  (cached)
-> retrieved fmt.0.11.0  (cached)
-> retrieved logs.0.9.0  (cached)
-> retrieved mirage-mtime.5.2.0  (cached)
-> retrieved lwt.5.9.2  (cached)
-> retrieved mtime.2.1.0  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ocamlfind.1.9.8  (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.0  (cached)
-> retrieved dune.3.20.2, dune-configurator.3.20.2  (cached)
-> installed cmdliner.2.0.0
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed ocamlbuild.0.16.1
-> installed topkg.1.1.0
-> installed uutf.1.0.4
-> installed mtime.2.1.0
-> installed fmt.0.11.0
-> installed astring.0.8.5
-> installed dune.3.20.2
-> installed csexp.1.5.2
-> installed cstruct.6.2.0
-> installed mirage-mtime.5.2.0
-> installed stdlib-shims.0.3.0
-> installed re.1.14.0
-> installed cppo.1.8.0
-> installed ocaml-syntax-shims.1.0.0
-> installed ocplib-endian.1.2
-> installed alcotest.1.9.1
-> installed dune-configurator.3.20.2
-> installed lwt.5.9.2
-> installed logs.0.9.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-10-18 18:08.17 ---> saved as "3ef5236e56b220f9e6e763646b12393f2ccc8508754388e99c30e65975fab78e"

/src: (copy (src .) (dst /src))
2025-10-18 18:08.18 ---> saved as "c440663059f015c97cf9cabd4fe23cb513659c446275e0580b8b8a4a074c973b"

/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/test && ./test.exe)
Testing `mirage-flow'.
This run has ID `P7PJ0VDL'.

  [OK]          string            0   input.
  [OK]          string            1   output.
  [OK]          strings           0   input.
  [OK]          strings           1   output.
  [OK]          cstruct           0   input.
  [OK]          cstruct           1   output.
  [OK]          cstructs          0   input.
  [OK]          cstructs          1   output.
  [OK]          lwt-io            0   input.
  [OK]          lwt-io            1   output.

Full test results in `/src/_build/default/test/_build/_tests/mirage-flow'.
Test Successful in 0.002s. 10 tests run.
2025-10-18 18:08.21 ---> saved as "49d7a87b1a8e86c25736e051932928d898ddbd4db3820e3e78469c1f51b237a0"
Job succeeded
2025-10-18 18:08.21: Job succeeded