2025-04-18 18:23.27: New job: test mirage/mirage-flow https://github.com/mirage/mirage-flow.git#refs/heads/main (c0efad0f73f95daba1736fb8631708da41ef5f3f) (linux-x86_64:(lower-bound))
Base: ocaml/opam:debian-12-ocaml-4.08@sha256:23c85daf4eb9a91d154cf2f9fed47f4f9b9fa788adc9c1fc7f0802e3dc06d7c4
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:debian-12-ocaml-4.08@sha256:23c85daf4eb9a91d154cf2f9fed47f4f9b9fa788adc9c1fc7f0802e3dc06d7c4
# debian-12-4.08_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.3 /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 cb8df6db0195538a02cc2b2eb20e468f22c475a7 || git fetch origin master) && git reset -q --hard cb8df6db0195538a02cc2b2eb20e468f22c475a7 && 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.0.0 astring.0.8.2 base-bigarray.base base-bytes.base base-threads.base base-unix.base bigarray-compat.1.0.0 cmdliner.1.0.3 conf-m4.1 cppo.1.6.1 cstruct.6.0.0 dune.2.8.0 fmt.0.8.7 jbuilder.1.0+beta20.1 logs.0.6.3 lwt.4.2.0 mirage-mtime.5.0.0 mmap.1.0.2 mtime.2.0.0 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocamlbuild.0.14.0 ocamlfind.1.8.0 re.1.7.2 result.1.5 seq.0.3 stdlib-shims.0.1.0 topkg.1.0.3 uuidm.0.9.6"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --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-04-18 18:23.27: Using cache hint "mirage/mirage-flow-ocaml/opam:debian-12-ocaml-4.08@sha256:23c85daf4eb9a91d154cf2f9fed47f4f9b9fa788adc9c1fc7f0802e3dc06d7c4-debian-12-4.08_opam-2.3-ef52dde815c58d15c0c56f1b36182675"
2025-04-18 18:23.27: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.08@sha256:23c85daf4eb9a91d154cf2f9fed47f4f9b9fa788adc9c1fc7f0802e3dc06d7c4)
(comment debian-12-4.08_opam-2.3)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/bin/opam-2.3 /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 cb8df6db0195538a02cc2b2eb20e468f22c475a7 || git fetch origin master) && git reset -q --hard cb8df6db0195538a02cc2b2eb20e468f22c475a7 && 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.0.0 astring.0.8.2 base-bigarray.base base-bytes.base base-threads.base base-unix.base bigarray-compat.1.0.0 cmdliner.1.0.3 conf-m4.1 cppo.1.6.1 cstruct.6.0.0 dune.2.8.0 fmt.0.8.7 jbuilder.1.0+beta20.1 logs.0.6.3 lwt.4.2.0 mirage-mtime.5.0.0 mmap.1.0.2 mtime.2.0.0 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocamlbuild.0.14.0 ocamlfind.1.8.0 re.1.7.2 result.1.5 seq.0.3 stdlib-shims.0.1.0 topkg.1.0.3 uuidm.0.9.6")
(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.3 --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-04-18 18:23.27: Waiting for resource in pool OCluster
2025-04-18 18:31.20: Waiting for worker…
2025-04-18 18:33.01: Got resource from pool OCluster
Building on x86-bm-c7.sw.ocaml.org
All commits already cached
HEAD is now at c0efad0 Merge pull request #53 from hannesm/variants
(from ocaml/opam:debian-12-ocaml-4.08@sha256:23c85daf4eb9a91d154cf2f9fed47f4f9b9fa788adc9c1fc7f0802e3dc06d7c4)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.08@sha256:23c85daf4eb9a91d154cf2f9fed47f4f9b9fa788adc9c1fc7f0802e3dc06d7c4' locally
docker.io/ocaml/opam@sha256:23c85daf4eb9a91d154cf2f9fed47f4f9b9fa788adc9c1fc7f0802e3dc06d7c4: Pulling from ocaml/opam
031dfd3a3b8c: Pulling fs layer
031dfd3a3b8c: Verifying Checksum
031dfd3a3b8c: Download complete
031dfd3a3b8c: Pull complete
Digest: sha256:23c85daf4eb9a91d154cf2f9fed47f4f9b9fa788adc9c1fc7f0802e3dc06d7c4
Status: Downloaded newer image for ocaml/opam@sha256:23c85daf4eb9a91d154cf2f9fed47f4f9b9fa788adc9c1fc7f0802e3dc06d7c4
2025-04-18 18:33.01 ---> using "44ab722c6d76cc4aa083f99994b6eb04bd97004720a37e6316ca14ec9a9ee4aa" from cache
/: (comment debian-12-4.08_opam-2.3)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (workdir /src)
/src: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-04-18 18:33.01 ---> using "c92368b99d7a8aac74c485226681652fcd662260dce44637b5995f38210c2495" 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 development 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
[NOTE] The 'jobs' option was reset, its value was 39 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
opam option jobs=39 --global
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-04-18 18:33.01 ---> using "e3d3ee8b007116cd79c60bf538c2c74d2d80289efa5ca49e098d0531ea8042f0" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-134-generic
The OCaml toplevel, version 4.08.1
2.3.0
2025-04-18 18:33.01 ---> using "5cfb075ae25d89e75090403e89f47e02bbc634ff0c723fdf6c2641f09eb044e0" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-04-18 18:33.01 ---> using "adc7a03170ff41164ae76112dd88b84acb11e5f18778a3735ca88eb438473c97" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e cb8df6db0195538a02cc2b2eb20e468f22c475a7 || git fetch origin master) && git reset -q --hard cb8df6db0195538a02cc2b2eb20e468f22c475a7 && git log --no-decorate -n1 --oneline && opam update -u"))
cb8df6db01 Merge pull request #27631 from dbuenzli/incompatible-cmdliner2
<><> 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, 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-04-18 18:33.01 ---> using "3c31c7e8fedecc18c5b8cab245c926e1bdd1b79c3c558f355008597c4267c1be" from cache
/src: (copy (src mirage-flow.opam mirage-flow-unix.opam mirage-flow-combinators.opam)
(dst ./))
2025-04-18 18:33.01 ---> saved as "6efc379852073354ad9b1e2b2ddb5aa1f26d6d169cedf6269eca2074f6d6c010"
/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-04-18 18:33.09 ---> saved as "8325db58e71e899779db820a21922fc4d2c76332a4bc42ebeb6e9613918d6f4a"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-04-18 18:33.09 ---> saved as "83bb0c76a8c3967886738db8d537916227b0caa16c6590e55ae511881013ea29"
/src: (env DEPS "alcotest.1.0.0 astring.0.8.2 base-bigarray.base base-bytes.base base-threads.base base-unix.base bigarray-compat.1.0.0 cmdliner.1.0.3 conf-m4.1 cppo.1.6.1 cstruct.6.0.0 dune.2.8.0 fmt.0.8.7 jbuilder.1.0+beta20.1 logs.0.6.3 lwt.4.2.0 mirage-mtime.5.0.0 mmap.1.0.2 mtime.2.0.0 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocamlbuild.0.14.0 ocamlfind.1.8.0 re.1.7.2 result.1.5 seq.0.3 stdlib-shims.0.1.0 topkg.1.0.3 uuidm.0.9.6")
/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.3 --depext-only -y mirage-flow.dev mirage-flow-unix.dev mirage-flow-combinators.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian bookworm InRelease
- Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
- Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
- Get:4 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [255 kB]
- Fetched 359 kB in 0s (871 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-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.08.1).
[NOTE] Package ocaml is already installed (current version is 4.08.1).
[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:
m4
<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "m4"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package m4.
- (Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 18747 files and directories currently installed.)
- Preparing to unpack .../archives/m4_1.4.19-3_amd64.deb ...
- Unpacking m4 (1.4.19-3) ...
- Setting up m4 (1.4.19-3) ...
2025-04-18 18:33.27 ---> saved as "c846e97ae04650414c330405f0a5be044bfd2512e7f38d8c5d7cc4313fe2f8b0"
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.08.1).
[NOTE] Package ocaml is already installed (current version is 4.08.1).
[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 24 packages
- install alcotest 1.0.0
- install astring 0.8.2
- install base-bytes base
- install bigarray-compat 1.0.0
- install cmdliner 1.0.3
- install conf-m4 1
- install cppo 1.6.1
- install cstruct 6.0.0
- install dune 2.8.0
- install fmt 0.8.7
- install jbuilder 1.0+beta20.1 (deprecated)
- install logs 0.6.3
- install lwt 4.2.0
- install mirage-mtime 5.0.0
- install mmap 1.0.2
- install mtime 2.0.0
- install ocamlbuild 0.14.0
- install ocamlfind 1.8.0
- install re 1.7.2
- install result 1.5
- install seq 0.3
- install stdlib-shims 0.1.0
- install topkg 1.0.3
- install uuidm 0.9.6
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved bigarray-compat.1.0.0 (cached)
-> retrieved astring.0.8.2 (cached)
-> installed conf-m4.1
-> retrieved cmdliner.1.0.3 (cached)
-> retrieved cppo.1.6.1 (cached)
-> retrieved cstruct.6.0.0 (cached)
-> retrieved fmt.0.8.7 (cached)
-> retrieved jbuilder.1.0+beta20.1 (cached)
-> retrieved alcotest.1.0.0 (cached)
-> retrieved dune.2.8.0 (cached)
-> retrieved logs.0.6.3 (cached)
-> retrieved lwt.4.2.0 (cached)
-> retrieved mirage-mtime.5.0.0 (cached)
-> retrieved mmap.1.0.2 (cached)
-> retrieved mtime.2.0.0 (cached)
-> retrieved ocamlbuild.0.14.0 (cached)
-> retrieved ocamlfind.1.8.0 (cached)
-> retrieved re.1.7.2 (cached)
-> retrieved result.1.5 (cached)
-> retrieved seq.0.3 (cached)
-> retrieved stdlib-shims.0.1.0 (cached)
-> retrieved uuidm.0.9.6 (cached)
-> retrieved topkg.1.0.3 (cached)
-> installed cmdliner.1.0.3
-> installed ocamlfind.1.8.0
-> installed base-bytes.base
-> installed ocamlbuild.0.14.0
-> installed jbuilder.1.0+beta20.1
-> installed cppo.1.6.1
-> installed re.1.7.2
-> installed topkg.1.0.3
-> installed uuidm.0.9.6
-> installed dune.2.8.0
-> installed seq.0.3
-> installed mmap.1.0.2
-> installed result.1.5
-> installed stdlib-shims.0.1.0
-> installed mtime.2.0.0
-> installed bigarray-compat.1.0.0
-> installed mirage-mtime.5.0.0
-> installed astring.0.8.2
-> installed cstruct.6.0.0
-> installed fmt.0.8.7
-> installed alcotest.1.0.0
-> installed lwt.4.2.0
-> installed logs.0.6.3
Done.
<><> jbuilder.1.0+beta20.1 installed successfully <><><><><><><><><><><><><><><>
=> Note: This package is deprecated.
# To update the current shell environment, run: eval $(opam env)
2025-04-18 18:34.09 ---> saved as "6ae50dd1b1551069558b4b4c0efa3e7829c4c03ede0d46d78b446bce5dcb43b8"
/src: (copy (src .) (dst /src))
2025-04-18 18:34.09 ---> saved as "2294adac89e6f545160ab8be3bb6c20a416ab395fbebc9918d994267bb73741c"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
File "/home/opam/.opam/4.08/lib/re/re.dune", line 1, characters 0-0:
Warning: .dune files are ignored since 2.0. Reinstall the library with dune
>= 2.0 to get rid of this warning and enable support for the subsystem this
library provides.
File "/home/opam/.opam/4.08/lib/re/emacs/re.emacs.dune", line 1, characters 0-0:
Warning: .dune files are ignored since 2.0. Reinstall the library with dune
>= 2.0 to get rid of this warning and enable support for the subsystem this
library provides.
File "/home/opam/.opam/4.08/lib/re/glob/re.glob.dune", line 1, characters 0-0:
Warning: .dune files are ignored since 2.0. Reinstall the library with dune
>= 2.0 to get rid of this warning and enable support for the subsystem this
library provides.
File "/home/opam/.opam/4.08/lib/re/pcre/re.pcre.dune", line 1, characters 0-0:
Warning: .dune files are ignored since 2.0. Reinstall the library with dune
>= 2.0 to get rid of this warning and enable support for the subsystem this
library provides.
File "/home/opam/.opam/4.08/lib/re/perl/re.perl.dune", line 1, characters 0-0:
Warning: .dune files are ignored since 2.0. Reinstall the library with dune
>= 2.0 to get rid of this warning and enable support for the subsystem this
library provides.
File "/home/opam/.opam/4.08/lib/re/posix/re.posix.dune", line 1, characters 0-0:
Warning: .dune files are ignored since 2.0. Reinstall the library with dune
>= 2.0 to get rid of this warning and enable support for the subsystem this
library provides.
File "/home/opam/.opam/4.08/lib/re/str/re.str.dune", line 1, characters 0-0:
Warning: .dune files are ignored since 2.0. Reinstall the library with dune
>= 2.0 to get rid of this warning and enable support for the subsystem this
library provides.
test alias test/runtest
Testing mirage-flow.
This run has ID `97692C7D-C279-450E-A0FE-CEE41C514FFD`.
... string 0 input.
[OK] string 0 input.
... string 1 output.
[OK] string 1 output.
... strings 0 input.
[OK] strings 0 input.
... strings 1 output.
[OK] strings 1 output.
... cstruct 0 input.
[OK] cstruct 0 input.
... cstruct 1 output.
[OK] cstruct 1 output.
... cstructs 0 input.
[OK] cstructs 0 input.
... cstructs 1 output.
[OK] cstructs 1 output.
... lwt-io 0 input.
[OK] lwt-io 0 input.
... lwt-io 1 output.
[OK] lwt-io 1 output.
The full test results are available in `/src/_build/default/test/_build/_tests/97692C7D-C279-450E-A0FE-CEE41C514FFD`.
Test Successful in 0.000s. 10 tests run.
2025-04-18 18:34.10 ---> saved as "196896c4fe2e7b03f736bf899bcddd7002cbf857c07c458c6022a6022d6ec367"
Job succeeded
2025-04-18 18:34.10: Job succeeded