(for PR #28894)
2025-11-14 15:11.17: New job: test vhd-format-lwt.0.12.1 with lwt.6.0.0-beta01, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/28894/head (b3a6ad64ea3115b9993ddd431f777dde4e6ec63f)
on debian-13-ocaml-4.14/amd64
To reproduce locally:
cd $(mktemp -d)
git clone --recursive "https://github.com/ocaml/opam-repository.git" && cd "opam-repository" && git fetch origin "refs/pull/28894/head" && git reset --hard b3a6ad64
git fetch origin master
git merge --no-edit 2ec6d6cc9216d1f4ec93aec16f34d7a35a7ef543
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-4.14@sha256:00ac8d2b32d98ee2c476e540a2ee462e24f50f003f31c05c8e412147e16c039e
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-dev /usr/bin/opam
RUN opam init --reinit -ni
RUN opam option solver=builtin-0install && opam config report
ENV OPAMDOWNLOADJOBS="1"
ENV OPAMERRLOGLEN="0"
ENV OPAMPRECISETRACKING="1"
ENV CI="true"
ENV OPAM_REPO_CI="true"
RUN rm -rf opam-repository/
COPY --chown=1000:1000 . opam-repository/
RUN opam repository set-url --strict default opam-repository/
RUN opam update --depexts || true
RUN opam pin add -k version -yn lwt.6.0.0-beta01 6.0.0-beta01
RUN opam reinstall lwt.6.0.0-beta01; \
res=$?; \
test "$res" != 31 && exit "$res"; \
export OPAMCLI=2.0; \
build_dir=$(opam var prefix)/.opam-switch/build; \
failed=$(ls "$build_dir"); \
partial_fails=""; \
for pkg in $failed; do \
if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-13\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'lwt.6.0.0-beta01' && partial_fails="$partial_fails $pkg"; \
done; \
test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
exit 1
RUN opam reinstall vhd-format-lwt.0.12.1; \
res=$?; \
test "$res" != 31 && exit "$res"; \
export OPAMCLI=2.0; \
build_dir=$(opam var prefix)/.opam-switch/build; \
failed=$(ls "$build_dir"); \
partial_fails=""; \
for pkg in $failed; do \
if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-13\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'vhd-format-lwt.0.12.1' && partial_fails="$partial_fails $pkg"; \
done; \
test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
exit 1
RUN (opam reinstall --with-test vhd-format-lwt.0.12.1) || true
RUN opam reinstall --with-test --verbose vhd-format-lwt.0.12.1; \
res=$?; \
test "$res" != 31 && exit "$res"; \
export OPAMCLI=2.0; \
build_dir=$(opam var prefix)/.opam-switch/build; \
failed=$(ls "$build_dir"); \
partial_fails=""; \
for pkg in $failed; do \
if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-13\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'vhd-format-lwt.0.12.1' && partial_fails="$partial_fails $pkg"; \
done; \
test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
exit 1
END-OF-DOCKERFILE
docker build -f ../Dockerfile .
2025-11-14 15:11.17: Using cache hint "ocaml/opam:debian-13-ocaml-4.14@sha256:00ac8d2b32d98ee2c476e540a2ee462e24f50f003f31c05c8e412147e16c039e-lwt.6.0.0-beta01-vhd-format-lwt.0.12.1-b3a6ad64ea3115b9993ddd431f777dde4e6ec63f"
2025-11-14 15:11.17: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.14@sha256:00ac8d2b32d98ee2c476e540a2ee462e24f50f003f31c05c8e412147e16c039e)
(user (uid 1000) (gid 1000))
(workdir /home/opam)
(run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
(run (network host)
(shell "opam init --reinit --config .opamrc-sandbox -ni"))
(run (shell "opam option solver=builtin-0install && opam config report"))
(env OPAMDOWNLOADJOBS 1)
(env OPAMERRLOGLEN 0)
(env OPAMPRECISETRACKING 1)
(env CI true)
(env OPAM_REPO_CI true)
(run (shell "rm -rf opam-repository/"))
(copy (src .) (dst opam-repository/))
(run (shell "opam repository set-url --strict default opam-repository/"))
(run (network host)
(shell "opam update --depexts || true"))
(run (shell "opam pin add -k version -yn lwt.6.0.0-beta01 6.0.0-beta01"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall lwt.6.0.0-beta01;\
\n res=$?;\
\n test \"$res\" != 31 && exit \"$res\";\
\n export OPAMCLI=2.0;\
\n build_dir=$(opam var prefix)/.opam-switch/build;\
\n failed=$(ls \"$build_dir\");\
\n partial_fails=\"\";\
\n for pkg in $failed; do\
\n if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-13\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'lwt.6.0.0-beta01' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall vhd-format-lwt.0.12.1;\
\n res=$?;\
\n test \"$res\" != 31 && exit \"$res\";\
\n export OPAMCLI=2.0;\
\n build_dir=$(opam var prefix)/.opam-switch/build;\
\n failed=$(ls \"$build_dir\");\
\n partial_fails=\"\";\
\n for pkg in $failed; do\
\n if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-13\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'vhd-format-lwt.0.12.1' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
(run (network host)
(shell "(opam reinstall --with-test vhd-format-lwt.0.12.1) || true"))
(run (shell "opam reinstall --with-test --verbose vhd-format-lwt.0.12.1;\
\n res=$?;\
\n test \"$res\" != 31 && exit \"$res\";\
\n export OPAMCLI=2.0;\
\n build_dir=$(opam var prefix)/.opam-switch/build;\
\n failed=$(ls \"$build_dir\");\
\n partial_fails=\"\";\
\n for pkg in $failed; do\
\n if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-13\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'vhd-format-lwt.0.12.1' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2025-11-14 15:11.17: Waiting for resource in pool OCluster
2025-11-14 15:47.10: Waiting for worker…
2025-11-14 15:53.38: Got resource from pool OCluster
Building on laodoke.caelum.ci.dev
All commits already cached
Updating files: 97% (18249/18769)
Updating files: 98% (18394/18769)
Updating files: 99% (18582/18769)
Updating files: 100% (18769/18769)
Updating files: 100% (18769/18769), done.
HEAD is now at 2ec6d6cc92 Merge pull request #28891 from c-cube/release-moonpool-v0.10
Updating 2ec6d6cc92..b3a6ad64ea
Fast-forward
packages/lwt/lwt.6.0.0-beta01/opam | 66 ++++++++++++++++++++++
packages/lwt_direct/lwt_direct.6.0.0-beta01/opam | 42 ++++++++++++++
packages/lwt_ppx/lwt_ppx.6.0.0-beta01/opam | 43 ++++++++++++++
.../lwt_runtime_events.6.0.0-beta01/opam | 40 +++++++++++++
4 files changed, 191 insertions(+)
create mode 100644 packages/lwt/lwt.6.0.0-beta01/opam
create mode 100644 packages/lwt_direct/lwt_direct.6.0.0-beta01/opam
create mode 100644 packages/lwt_ppx/lwt_ppx.6.0.0-beta01/opam
create mode 100644 packages/lwt_runtime_events/lwt_runtime_events.6.0.0-beta01/opam
(from ocaml/opam:debian-13-ocaml-4.14@sha256:00ac8d2b32d98ee2c476e540a2ee462e24f50f003f31c05c8e412147e16c039e)
2025-11-14 15:53.41 ---> using "0a7782df646ba17c4c91deb7545267f63c19555df9b225a0640862ce540c1383" from cache
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2025-11-14 15:53.41 ---> using "e3cc97f3c946abac4036e9918a15af8cd2359775cb282137405852a83e5e4ac5" from cache
/home/opam: (run (network host)
(shell "opam init --reinit --config .opamrc-sandbox -ni"))
Configuring from /home/opam/.opamrc-sandbox, then /home/opam/.opamrc, and finally 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-11-14 15:53.41 ---> using "b3771c9b2a97061bcd39a540eb46c8c9391a701a6a2417777709d0e8bcafecec" from cache
/home/opam: (run (shell "opam option solver=builtin-0install && opam config report"))
Set to 'builtin-0install' the field solver in global configuration
# opam config report
# opam-version 2.5.0~alpha1
# self-upgrade no
# system arch=x86_64 os=linux os-distribution=debian os-version=13
# solver builtin-0install
# install-criteria -changed,-count[avoid-version,solution]
# upgrade-criteria -count[avoid-version,solution]
# jobs 71
# repositories 1 (version-controlled)
# pinned 1 (version)
# current-switch 4.14
# invariant ["ocaml-base-compiler" {= "4.14.2"}]
# compiler-packages ocaml-base-compiler.4.14.2, ocaml-options-vanilla.1
# ocaml:native true
# ocaml:native-tools true
# ocaml:native-dynlink true
# ocaml:stubsdir /home/opam/.opam/4.14/lib/ocaml/stublibs:/home/opam/.opam/4.14/lib/ocaml
# ocaml:preinstalled false
# ocaml:compiler 4.14.2
2025-11-14 15:53.41 ---> using "8b9250364ffb330fc85473d01676fcba0e45f4a15f62098ec06ae23bfca0fd04" from cache
/home/opam: (env OPAMDOWNLOADJOBS 1)
/home/opam: (env OPAMERRLOGLEN 0)
/home/opam: (env OPAMPRECISETRACKING 1)
/home/opam: (env CI true)
/home/opam: (env OPAM_REPO_CI true)
/home/opam: (run (shell "rm -rf opam-repository/"))
2025-11-14 15:53.41 ---> using "324936077a47671067794cc83def947ee8a01c92aab91da2d8bb3576676449b4" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-11-14 15:53.43 ---> using "30dc30ac1b4f48124c0de509329559f55130f5df01b33ff3908a7bc236663dce" from cache
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-11-14 15:53.43 ---> using "ee09d2afa8da6f5f6af77d0216b2a5b52af357966d838d421021879b57c2f37a" from cache
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian trixie InRelease
- Get:2 http://deb.debian.org/debian trixie-updates InRelease [47.3 kB]
- Get:3 http://deb.debian.org/debian-security trixie-security InRelease [43.4 kB]
- Get:4 http://deb.debian.org/debian-security trixie-security/main amd64 Packages [71.4 kB]
- Fetched 162 kB in 0s (1671 kB/s)
- Reading package lists...
-
2025-11-14 15:53.43 ---> using "2137eb5b3aecf5224e61e37ff834a4c90be62ce1fb178139730ee66a2b359eb2" from cache
/home/opam: (run (shell "opam pin add -k version -yn lwt.6.0.0-beta01 6.0.0-beta01"))
lwt is now pinned to version 6.0.0-beta01
2025-11-14 15:53.43 ---> using "d255c6a4cefc3406938875936573a442584f6bdd7c49c5eca2ccb30f2beaf77b" from cache
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall lwt.6.0.0-beta01;\
\n res=$?;\
\n test \"$res\" != 31 && exit \"$res\";\
\n export OPAMCLI=2.0;\
\n build_dir=$(opam var prefix)/.opam-switch/build;\
\n failed=$(ls \"$build_dir\");\
\n partial_fails=\"\";\
\n for pkg in $failed; do\
\n if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-13\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'lwt.6.0.0-beta01' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
lwt.6.0.0-beta01 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 8 packages
- install base-bytes base [required by ocplib-endian]
- install cppo 1.8.0 [required by lwt]
- install csexp 1.5.2 [required by dune-configurator]
- install dune 3.20.2 [required by lwt]
- install dune-configurator 3.20.2 [required by lwt]
- install lwt 6.0.0-beta01 (pinned)
- install ocamlfind 1.9.8 [required by base-bytes]
- install ocplib-endian 1.2 [required by lwt]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cppo.1.8.0 (cached)
-> retrieved csexp.1.5.2 (cached)
-> retrieved dune.3.20.2, dune-configurator.3.20.2 (cached)
-> retrieved lwt.6.0.0-beta01 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved ocplib-endian.1.2 (cached)
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed dune.3.20.2
-> installed csexp.1.5.2
-> installed cppo.1.8.0
-> installed ocplib-endian.1.2
-> installed dune-configurator.3.20.2
-> installed lwt.6.0.0-beta01
Done.
# To update the current shell environment, run: eval $(opam env)
2025-11-14 15:53.43 ---> using "bd6fe0f663df2d2003d87a5d00e89c4f2a244d2bb5d1000424fa6ec0d002f686" from cache
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall vhd-format-lwt.0.12.1;\
\n res=$?;\
\n test \"$res\" != 31 && exit \"$res\";\
\n export OPAMCLI=2.0;\
\n build_dir=$(opam var prefix)/.opam-switch/build;\
\n failed=$(ls \"$build_dir\");\
\n partial_fails=\"\";\
\n for pkg in $failed; do\
\n if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-13\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'vhd-format-lwt.0.12.1' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
vhd-format-lwt.0.12.1 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 22 packages
- install bigarray-compat 1.1.0 [required by cstruct, vhd-format]
- install conf-pkg-config 4 [required by io-page]
- install cstruct 6.0.1 [required by vhd-format-lwt]
- install fmt 0.11.0 [required by mirage-block]
- install io-page 3.0.0 [required by vhd-format]
- install mirage-block 3.0.2 [required by vhd-format-lwt]
- install num 1.6 [required by sexplib]
- install ocaml-compiler-libs v0.12.4 [required by ppxlib]
- install ocamlbuild 0.16.1 [required by rresult, fmt, uuidm]
- install parsexp v0.16.0 [required by sexplib]
- install ppx_cstruct 6.0.1 [required by vhd-format]
- install ppx_derivers 1.2.1 [required by ppxlib]
- install ppxlib 0.37.0 [required by ppx_cstruct]
- install result 1.5 [required by vhd-format]
- install rresult 0.7.0 [required by vhd-format]
- install sexplib v0.16.0 [required by ppx_cstruct]
- install sexplib0 v0.16.0 [required by ppxlib, sexplib]
- install stdlib-shims 0.3.0 [required by vhd-format]
- install topkg 1.1.1 [required by rresult, fmt, uuidm]
- install uuidm 0.9.10 [required by vhd-format]
- install vhd-format 0.13.0 [required by vhd-format-lwt]
- install vhd-format-lwt 0.12.1
The following system packages will first need to be installed:
pkg-config
<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
opam believes some required external dependencies are missing. opam can:
> 1. Run apt-get to install them (may need root/sudo access)
2. Display the recommended apt-get command and wait while you run it manually (e.g. in another terminal)
3. Continue anyway, and, upon success, permanently register that this external dependency is present, but not detectable
4. Abort the installation
[1/2/3/4] 1
+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "pkg-config"
- Selecting previously unselected package libpkgconf3:amd64.
- (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 ... 20622 files and directories currently installed.)
- Preparing to unpack .../libpkgconf3_1.8.1-4_amd64.deb ...
- Unpacking libpkgconf3:amd64 (1.8.1-4) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../pkgconf-bin_1.8.1-4_amd64.deb ...
- Unpacking pkgconf-bin (1.8.1-4) ...
- Selecting previously unselected package pkgconf:amd64.
- Preparing to unpack .../pkgconf_1.8.1-4_amd64.deb ...
- Unpacking pkgconf:amd64 (1.8.1-4) ...
- Selecting previously unselected package pkg-config:amd64.
- Preparing to unpack .../pkg-config_1.8.1-4_amd64.deb ...
- Unpacking pkg-config:amd64 (1.8.1-4) ...
- Setting up libpkgconf3:amd64 (1.8.1-4) ...
- Setting up pkgconf-bin (1.8.1-4) ...
- Setting up pkgconf:amd64 (1.8.1-4) ...
- Setting up pkg-config:amd64 (1.8.1-4) ...
- Processing triggers for libc-bin (2.41-12) ...
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved bigarray-compat.1.1.0 (cached)
-> retrieved cstruct.6.0.1, ppx_cstruct.6.0.1 (cached)
-> installed conf-pkg-config.4
-> retrieved fmt.0.11.0 (cached)
-> retrieved io-page.3.0.0 (cached)
-> retrieved mirage-block.3.0.2 (cached)
-> retrieved num.1.6 (cached)
-> retrieved ocaml-compiler-libs.v0.12.4 (cached)
-> retrieved ocamlbuild.0.16.1 (cached)
-> retrieved parsexp.v0.16.0 (cached)
-> installed bigarray-compat.1.1.0
-> retrieved ppx_derivers.1.2.1 (cached)
-> installed ppx_derivers.1.2.1
-> retrieved ppxlib.0.37.0 (cached)
-> retrieved result.1.5 (cached)
-> retrieved rresult.0.7.0 (cached)
-> retrieved sexplib.v0.16.0 (cached)
-> retrieved sexplib0.v0.16.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved topkg.1.1.1 (cached)
-> retrieved uuidm.0.9.10 (cached)
-> retrieved vhd-format.0.13.0 (cached)
-> installed cstruct.6.0.1
-> installed result.1.5
-> retrieved vhd-format-lwt.0.12.1 (https://opam.ocaml.org/cache)
-> installed stdlib-shims.0.3.0
-> installed io-page.3.0.0
-> installed sexplib0.v0.16.0
-> installed ocaml-compiler-libs.v0.12.4
-> installed num.1.6
-> installed parsexp.v0.16.0
-> installed sexplib.v0.16.0
-> installed ocamlbuild.0.16.1
-> installed topkg.1.1.1
-> installed uuidm.0.9.10
-> installed rresult.0.7.0
-> installed fmt.0.11.0
-> installed mirage-block.3.0.2
-> installed ppxlib.0.37.0
-> installed ppx_cstruct.6.0.1
-> installed vhd-format.0.13.0
-> installed vhd-format-lwt.0.12.1
Done.
# To update the current shell environment, run: eval $(opam env)
2025-11-14 15:54.33 ---> saved as "d03ff69432eb493d45d41dd2f22c83330c81015c5d22b5b6a3397f92428c2fd8"
/home/opam: (run (network host)
(shell "(opam reinstall --with-test vhd-format-lwt.0.12.1) || true"))
The following actions will be performed:
=== downgrade 1 package
- downgrade io-page 3.0.0 to 2.4.0 [required by vhd-format-lwt]
=== recompile 2 packages
- recompile vhd-format 0.13.0 [uses io-page]
- recompile vhd-format-lwt 0.12.1
=== install 4 packages
- install io-page-unix 2.1.0 (deprecated) [required by vhd-format-lwt]
- install ounit 2.2.7 [required by vhd-format-lwt]
- install ounit2 2.2.7 [required by ounit]
- install seq base [required by ounit2]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved io-page.2.4.0 (https://opam.ocaml.org/cache)
-> retrieved io-page-unix.2.1.0 (https://opam.ocaml.org/cache)
-> retrieved ounit.2.2.7, ounit2.2.2.7 (https://opam.ocaml.org/cache)
-> retrieved seq.base (2 extra sources)
-> retrieved seq.base (2 extra sources)
-> installed seq.base
-> retrieved vhd-format.0.13.0 (https://opam.ocaml.org/cache)
-> retrieved vhd-format-lwt.0.12.1 (https://opam.ocaml.org/cache)
-> removed vhd-format-lwt.0.12.1
-> removed vhd-format.0.13.0
-> removed io-page.3.0.0
-> installed io-page.2.4.0
-> installed io-page-unix.2.1.0
-> installed ounit2.2.2.7
-> installed ounit.2.2.7
-> installed vhd-format.0.13.0
-> installed vhd-format-lwt.0.12.1
Done.
<><> io-page-unix.2.1.0 installed successfully ><><><><><><><><><><><><><><><><>
=> Note: This package is deprecated.
# To update the current shell environment, run: eval $(opam env)
2025-11-14 15:56.30 ---> saved as "e64f8fa70ed3831739e59a974867e5dd2a93e247c1ccfd99c4aa056ad0c997b1"
/home/opam: (run (shell "opam reinstall --with-test --verbose vhd-format-lwt.0.12.1;\
\n res=$?;\
\n test \"$res\" != 31 && exit \"$res\";\
\n export OPAMCLI=2.0;\
\n build_dir=$(opam var prefix)/.opam-switch/build;\
\n failed=$(ls \"$build_dir\");\
\n partial_fails=\"\";\
\n for pkg in $failed; do\
\n if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-13\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'vhd-format-lwt.0.12.1' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
The following actions will be performed:
=== recompile 1 package
- recompile vhd-format-lwt 0.12.1
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing 1/4: [vhd-format-lwt.0.12.1: extract]
-> retrieved vhd-format-lwt.0.12.1 (cached)
Processing 2/4: [vhd-format-lwt: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "vhd-format-lwt" "-j" "71" (CWD=/home/opam/.opam/4.14/.opam-switch/build/vhd-format-lwt.0.12.1)
- (cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w -40 -g -bin-annot -I disk/.disk.objs/byte -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/bytes -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/lwt -I /home/opam/.opam/4.14/lib/lwt/unix -I /home/opam/.opam/4.14/lib/ocaml/threads -I /home/opam/.opam/4.14/lib/ocplib-endian -I /home/opam/.opam/4.14/lib/ocplib-endian/bigstring -no-alias-deps -o disk/.disk.objs/byte/disk.cmo -c -impl disk/disk.ml)
- File "disk/disk.ml", line 56, characters 28-39:
- 56 | let buf = Bytes.make (Cstruct.len cstr) '\000' in
- ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "disk/disk.ml", line 57, characters 42-53:
- 57 | Cstruct.blit_to_bytes cstr 0 buf 0 (Cstruct.len cstr);
- ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- (cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w -40 -g -bin-annot -I vhd_format_lwt/.vhd_format_lwt.objs/byte -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/bytes -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/fmt -I /home/opam/.opam/4.14/lib/io-page -I /home/opam/.opam/4.14/lib/lwt -I /home/opam/.opam/4.14/lib/lwt/unix -I /home/opam/.opam/4.14/lib/mirage-block -I /home/opam/.opam/4.14/lib/ocaml/threads -I /home/opam/.opam/4.14/lib/ocplib-endian -I /home/opam/.opam/4.14/lib/ocplib-endian/bigstring -I /home/opam/.opam/4.14/lib/rresult -I /home/opam/.opam/4.14/lib/stdlib-shims -I /home/opam/.opam/4.14/lib/uuidm -I /home/opam/.opam/4.14/lib/vhd-format -intf-suffix .ml -no-alias-deps -open Vhd_format_lwt -o vhd_format_lwt/.vhd_format_lwt.objs/byte/vhd_format_lwt__Block.cmo -c -impl vhd_format_lwt/block.ml)
- File "vhd_format_lwt/block.ml", line 60, characters 7-18:
- 60 | if Cstruct.len remaining = 0 then List.rev acc else
- ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "vhd_format_lwt/block.ml", line 61, characters 29-40:
- 61 | let available = min 512 (Cstruct.len remaining) in
- ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "vhd_format_lwt/block.ml", line 73, characters 15-26:
- 73 | for i = 0 to Cstruct.len buf - 1 do
- ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- (cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w -40 -g -bin-annot -I vhd_format_lwt/.vhd_format_lwt.objs/byte -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/bytes -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/fmt -I /home/opam/.opam/4.14/lib/io-page -I /home/opam/.opam/4.14/lib/lwt -I /home/opam/.opam/4.14/lib/lwt/unix -I /home/opam/.opam/4.14/lib/mirage-block -I /home/opam/.opam/4.14/lib/ocaml/threads -I /home/opam/.opam/4.14/lib/ocplib-endian -I /home/opam/.opam/4.14/lib/ocplib-endian/bigstring -I /home/opam/.opam/4.14/lib/rresult -I /home/opam/.opam/4.14/lib/stdlib-shims -I /home/opam/.opam/4.14/lib/uuidm -I /home/opam/.opam/4.14/lib/vhd-format -intf-suffix .ml -no-alias-deps -open Vhd_format_lwt -o vhd_format_lwt/.vhd_format_lwt.objs/byte/vhd_format_lwt__IO.cmo -c -impl vhd_format_lwt/iO.ml)
- File "vhd_format_lwt/iO.ml", line 33, characters 8-19:
- 33 | (if Cstruct.len buffer > 16
- ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "vhd_format_lwt/iO.ml", line 36, characters 5-16:
- 36 | (Cstruct.len buffer);
- ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "vhd_format_lwt/iO.ml", line 85, characters 41-52:
- 85 | assert_sector_aligned (Int64.of_int (Cstruct.len buf));
- ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "vhd_format_lwt/iO.ml", line 94, characters 101-112:
- 94 | Printf.fprintf stderr "really_read offset = %Ld len = %d: EINVAL (alignment?)\n%!" offset (Cstruct.len buf);
- ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "vhd_format_lwt/iO.ml", line 97, characters 93-104:
- 97 | Printf.fprintf stderr "really_read offset = %Ld len = %d: End_of_file\n%!" offset (Cstruct.len buf);
- ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "vhd_format_lwt/iO.ml", line 101, characters 20-31:
- 101 | offset (Cstruct.len buf) (Printexc.to_string e);
- ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "vhd_format_lwt/iO.ml", line 110, characters 41-52:
- 110 | assert_sector_aligned (Int64.of_int (Cstruct.len buf));
- ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "vhd_format_lwt/iO.ml", line 119, characters 102-113:
- 119 | Printf.fprintf stderr "really_write offset = %Ld len = %d: EINVAL (alignment?)\n%!" offset (Cstruct.len buf);
- ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "vhd_format_lwt/iO.ml", line 122, characters 94-105:
- 122 | Printf.fprintf stderr "really_write offset = %Ld len = %d: End_of_file\n%!" offset (Cstruct.len buf);
- ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "vhd_format_lwt/iO.ml", line 126, characters 20-31:
- 126 | offset (Cstruct.len buf) (Printexc.to_string e);
- ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- (cd _build/default/vhd_format_lwt && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -g -I /home/opam/.opam/4.14/lib/ocaml -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/bytes -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/fmt -I /home/opam/.opam/4.14/lib/io-page -I /home/opam/.opam/4.14/lib/lwt -I /home/opam/.opam/4.14/lib/lwt/unix -I /home/opam/.opam/4.14/lib/mirage-block -I /home/opam/.opam/4.14/lib/ocaml/threads -I /home/opam/.opam/4.14/lib/ocplib-endian -I /home/opam/.opam/4.14/lib/ocplib-endian/bigstring -I /home/opam/.opam/4.14/lib/rresult -I /home/opam/.opam/4.14/lib/stdlib-shims -I /home/opam/.opam/4.14/lib/uuidm -I /home/opam/.opam/4.14/lib/vhd-format -o blkgetsize64_stubs.o -c blkgetsize64_stubs.c)
- blkgetsize64_stubs.c: In function 'stub_blkgetsize64':
- blkgetsize64_stubs.c:60:13: warning: "enter_blocking_section" is deprecated: use "caml_enter_blocking_section" instead
- 60 | enter_blocking_section();
- | ^~~~~~~~~~~~~~~
- blkgetsize64_stubs.c:76:13: warning: "leave_blocking_section" is deprecated: use "caml_leave_blocking_section" instead
- 76 | leave_blocking_section();
- | ^~~~~~~~~~~~~~~
- (cd _build/default && /home/opam/.opam/4.14/bin/ocamlopt.opt -w -40 -g -I disk/.disk.objs/byte -I disk/.disk.objs/native -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/bytes -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/lwt -I /home/opam/.opam/4.14/lib/lwt/unix -I /home/opam/.opam/4.14/lib/ocaml/threads -I /home/opam/.opam/4.14/lib/ocplib-endian -I /home/opam/.opam/4.14/lib/ocplib-endian/bigstring -intf-suffix .ml -no-alias-deps -o disk/.disk.objs/native/disk.cmx -c -impl disk/disk.ml)
- File "disk/disk.ml", line 56, characters 28-39:
- 56 | let buf = Bytes.make (Cstruct.len cstr) '\000' in
- ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "disk/disk.ml", line 57, characters 42-53:
- 57 | Cstruct.blit_to_bytes cstr 0 buf 0 (Cstruct.len cstr);
- ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- (cd _build/default/vhd_format_lwt && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -g -I /home/opam/.opam/4.14/lib/ocaml -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/bytes -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/fmt -I /home/opam/.opam/4.14/lib/io-page -I /home/opam/.opam/4.14/lib/lwt -I /home/opam/.opam/4.14/lib/lwt/unix -I /home/opam/.opam/4.14/lib/mirage-block -I /home/opam/.opam/4.14/lib/ocaml/threads -I /home/opam/.opam/4.14/lib/ocplib-endian -I /home/opam/.opam/4.14/lib/ocplib-endian/bigstring -I /home/opam/.opam/4.14/lib/rresult -I /home/opam/.opam/4.14/lib/stdlib-shims -I /home/opam/.opam/4.14/lib/uuidm -I /home/opam/.opam/4.14/lib/vhd-format -o odirect_stubs.o -c odirect_stubs.c)
- odirect_stubs.c: In function 'stub_openfile_direct':
- odirect_stubs.c:42:13: warning: "enter_blocking_section" is deprecated: use "caml_enter_blocking_section" instead
- 42 | enter_blocking_section();
- | ^~~~~~~~~~~~~~~
- odirect_stubs.c:53:13: warning: "leave_blocking_section" is deprecated: use "caml_leave_blocking_section" instead
- 53 | leave_blocking_section();
- | ^~~~~~~~~~~~~~~
- (cd _build/default && /home/opam/.opam/4.14/bin/ocamlopt.opt -w -40 -g -I vhd_format_lwt/.vhd_format_lwt.objs/byte -I vhd_format_lwt/.vhd_format_lwt.objs/native -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/bytes -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/fmt -I /home/opam/.opam/4.14/lib/io-page -I /home/opam/.opam/4.14/lib/lwt -I /home/opam/.opam/4.14/lib/lwt/unix -I /home/opam/.opam/4.14/lib/mirage-block -I /home/opam/.opam/4.14/lib/ocaml/threads -I /home/opam/.opam/4.14/lib/ocplib-endian -I /home/opam/.opam/4.14/lib/ocplib-endian/bigstring -I /home/opam/.opam/4.14/lib/rresult -I /home/opam/.opam/4.14/lib/stdlib-shims -I /home/opam/.opam/4.14/lib/uuidm -I /home/opam/.opam/4.14/lib/vhd-format -intf-suffix .ml -no-alias-deps -open Vhd_format_lwt -o vhd_format_lwt/.vhd_format_lwt.objs/native/vhd_format_lwt__IO.cmx -c -impl vhd_format_lwt/iO.ml)
- File "vhd_format_lwt/iO.ml", line 33, characters 8-19:
- 33 | (if Cstruct.len buffer > 16
- ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "vhd_format_lwt/iO.ml", line 36, characters 5-16:
- 36 | (Cstruct.len buffer);
- ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "vhd_format_lwt/iO.ml", line 85, characters 41-52:
- 85 | assert_sector_aligned (Int64.of_int (Cstruct.len buf));
- ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "vhd_format_lwt/iO.ml", line 94, characters 101-112:
- 94 | Printf.fprintf stderr "really_read offset = %Ld len = %d: EINVAL (alignment?)\n%!" offset (Cstruct.len buf);
- ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "vhd_format_lwt/iO.ml", line 97, characters 93-104:
- 97 | Printf.fprintf stderr "really_read offset = %Ld len = %d: End_of_file\n%!" offset (Cstruct.len buf);
- ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "vhd_format_lwt/iO.ml", line 101, characters 20-31:
- 101 | offset (Cstruct.len buf) (Printexc.to_string e);
- ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "vhd_format_lwt/iO.ml", line 110, characters 41-52:
- 110 | assert_sector_aligned (Int64.of_int (Cstruct.len buf));
- ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "vhd_format_lwt/iO.ml", line 119, characters 102-113:
- 119 | Printf.fprintf stderr "really_write offset = %Ld len = %d: EINVAL (alignment?)\n%!" offset (Cstruct.len buf);
- ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "vhd_format_lwt/iO.ml", line 122, characters 94-105:
- 122 | Printf.fprintf stderr "really_write offset = %Ld len = %d: End_of_file\n%!" offset (Cstruct.len buf);
- ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "vhd_format_lwt/iO.ml", line 126, characters 20-31:
- 126 | offset (Cstruct.len buf) (Printexc.to_string e);
- ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- (cd _build/default && /home/opam/.opam/4.14/bin/ocamlopt.opt -w -40 -g -I vhd_format_lwt/.vhd_format_lwt.objs/byte -I vhd_format_lwt/.vhd_format_lwt.objs/native -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/bytes -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/fmt -I /home/opam/.opam/4.14/lib/io-page -I /home/opam/.opam/4.14/lib/lwt -I /home/opam/.opam/4.14/lib/lwt/unix -I /home/opam/.opam/4.14/lib/mirage-block -I /home/opam/.opam/4.14/lib/ocaml/threads -I /home/opam/.opam/4.14/lib/ocplib-endian -I /home/opam/.opam/4.14/lib/ocplib-endian/bigstring -I /home/opam/.opam/4.14/lib/rresult -I /home/opam/.opam/4.14/lib/stdlib-shims -I /home/opam/.opam/4.14/lib/uuidm -I /home/opam/.opam/4.14/lib/vhd-format -intf-suffix .ml -no-alias-deps -open Vhd_format_lwt -o vhd_format_lwt/.vhd_format_lwt.objs/native/vhd_format_lwt__Block.cmx -c -impl vhd_format_lwt/block.ml)
- File "vhd_format_lwt/block.ml", line 60, characters 7-18:
- 60 | if Cstruct.len remaining = 0 then List.rev acc else
- ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "vhd_format_lwt/block.ml", line 61, characters 29-40:
- 61 | let available = min 512 (Cstruct.len remaining) in
- ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "vhd_format_lwt/block.ml", line 73, characters 15-26:
- 73 | for i = 0 to Cstruct.len buf - 1 do
- ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
Processing 2/4: [vhd-format-lwt: dune runtest]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "runtest" "-p" "vhd-format-lwt" "-j" "71" (CWD=/home/opam/.opam/4.14/.opam-switch/build/vhd-format-lwt.0.12.1)
- (cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w -40 -g -bin-annot -I vhd_format_lwt_test/.parse_test.eobjs/byte -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/bytes -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/fmt -I /home/opam/.opam/4.14/lib/io-page -I /home/opam/.opam/4.14/lib/io-page/unix -I /home/opam/.opam/4.14/lib/lwt -I /home/opam/.opam/4.14/lib/lwt/unix -I /home/opam/.opam/4.14/lib/mirage-block -I /home/opam/.opam/4.14/lib/oUnit -I /home/opam/.opam/4.14/lib/ocaml/threads -I /home/opam/.opam/4.14/lib/ocplib-endian -I /home/opam/.opam/4.14/lib/ocplib-endian/bigstring -I /home/opam/.opam/4.14/lib/ounit2 -I /home/opam/.opam/4.14/lib/ounit2/advanced -I /home/opam/.opam/4.14/lib/rresult -I /home/opam/.opam/4.14/lib/seq -I /home/opam/.opam/4.14/lib/stdlib-shims -I /home/opam/.opam/4.14/lib/uuidm -I /home/opam/.opam/4.14/lib/vhd-format -I disk/.disk.objs/byte -I vhd_format_lwt/.vhd_format_lwt.objs/byte -no-alias-deps -o vhd_format_lwt_test/.parse_test.eobjs/byte/input.cmo -c -impl vhd_format_lwt_test/input.ml)
- File "vhd_format_lwt_test/input.ml", line 32, characters 129-140:
- 32 | then Printf.fprintf stderr "%s offset=%s length=%d\n%!" name (match offset with Some x -> Int64.to_string x | None -> "None") (Cstruct.len buffer);
- ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "vhd_format_lwt_test/input.ml", line 51, characters 45-56:
- 51 | fd.offset <- Int64.(add fd.offset (of_int (Cstruct.len buf)));
- ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "vhd_format_lwt_test/input.ml", line 60, characters 55-66:
- 60 | let this = Int64.(to_int (min remaining (of_int (Cstruct.len buf)))) in
- ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- (cd _build/default && /home/opam/.opam/4.14/bin/ocamlopt.opt -w -40 -g -I vhd_format_lwt_test/.parse_test.eobjs/byte -I vhd_format_lwt_test/.parse_test.eobjs/native -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/bytes -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/fmt -I /home/opam/.opam/4.14/lib/io-page -I /home/opam/.opam/4.14/lib/io-page/unix -I /home/opam/.opam/4.14/lib/lwt -I /home/opam/.opam/4.14/lib/lwt/unix -I /home/opam/.opam/4.14/lib/mirage-block -I /home/opam/.opam/4.14/lib/oUnit -I /home/opam/.opam/4.14/lib/ocaml/threads -I /home/opam/.opam/4.14/lib/ocplib-endian -I /home/opam/.opam/4.14/lib/ocplib-endian/bigstring -I /home/opam/.opam/4.14/lib/ounit2 -I /home/opam/.opam/4.14/lib/ounit2/advanced -I /home/opam/.opam/4.14/lib/rresult -I /home/opam/.opam/4.14/lib/seq -I /home/opam/.opam/4.14/lib/stdlib-shims -I /home/opam/.opam/4.14/lib/uuidm -I /home/opam/.opam/4.14/lib/vhd-format -I disk/.disk.objs/byte -I disk/.disk.objs/native -I vhd_format_lwt/.vhd_format_lwt.objs/byte -I vhd_format_lwt/.vhd_format_lwt.objs/native -intf-suffix .ml -no-alias-deps -o vhd_format_lwt_test/.parse_test.eobjs/native/input.cmx -c -impl vhd_format_lwt_test/input.ml)
- File "vhd_format_lwt_test/input.ml", line 32, characters 129-140:
- 32 | then Printf.fprintf stderr "%s offset=%s length=%d\n%!" name (match offset with Some x -> Int64.to_string x | None -> "None") (Cstruct.len buffer);
- ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "vhd_format_lwt_test/input.ml", line 51, characters 45-56:
- 51 | fd.offset <- Int64.(add fd.offset (of_int (Cstruct.len buf)));
- ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "vhd_format_lwt_test/input.ml", line 60, characters 55-66:
- 60 | let this = Int64.(to_int (min remaining (of_int (Cstruct.len buf)))) in
- ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- (cd _build/default && /home/opam/.opam/4.14/bin/ocamlopt.opt -w -40 -g -I vhd_format_lwt_test/.parse_test.eobjs/byte -I vhd_format_lwt_test/.parse_test.eobjs/native -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/bytes -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/fmt -I /home/opam/.opam/4.14/lib/io-page -I /home/opam/.opam/4.14/lib/io-page/unix -I /home/opam/.opam/4.14/lib/lwt -I /home/opam/.opam/4.14/lib/lwt/unix -I /home/opam/.opam/4.14/lib/mirage-block -I /home/opam/.opam/4.14/lib/oUnit -I /home/opam/.opam/4.14/lib/ocaml/threads -I /home/opam/.opam/4.14/lib/ocplib-endian -I /home/opam/.opam/4.14/lib/ocplib-endian/bigstring -I /home/opam/.opam/4.14/lib/ounit2 -I /home/opam/.opam/4.14/lib/ounit2/advanced -I /home/opam/.opam/4.14/lib/rresult -I /home/opam/.opam/4.14/lib/seq -I /home/opam/.opam/4.14/lib/stdlib-shims -I /home/opam/.opam/4.14/lib/uuidm -I /home/opam/.opam/4.14/lib/vhd-format -I disk/.disk.objs/byte -I disk/.disk.objs/native -I vhd_format_lwt/.vhd_format_lwt.objs/byte -I vhd_format_lwt/.vhd_format_lwt.objs/native -intf-suffix .ml -no-alias-deps -o vhd_format_lwt_test/.parse_test.eobjs/native/patterns_lwt.cmx -c -impl vhd_format_lwt_test/patterns_lwt.ml)
- File "vhd_format_lwt_test/patterns_lwt.ml", line 119, characters 11-22:
- 119 | if Cstruct.len remaining = 0
- ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "vhd_format_lwt_test/patterns_lwt.ml", line 152, characters 45-56:
- 152 | return (Int64.(add offset (of_int (Cstruct.len data))))
- ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "vhd_format_lwt_test/patterns_lwt.ml", line 157, characters 45-56:
- 157 | return (Int64.(add offset (of_int (Cstruct.len buf))))
- ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- (cd _build/default/vhd_format_lwt_test && ./parse_test.exe)
- ..E..............................................................................................
- ==============================================================================
- Error: vhd:2:check_readonly
-
- Unix.Unix_error(Unix.EACCES, "open", "/tmp/parse_test.1.vhd")
- ------------------------------------------------------------------------------
- Ran: 97 tests in: 103.39 seconds.
- FAILED: Cases: 97 Tried: 97 Errors: 1 Failures: 0 Skip: 0 Todo: 0 Timeouts: 0.
- WARNING: failed to setuid to a non-priviledged user, access control tests will pass spuriously (Unix.Unix_error(Unix.EINVAL, "setuid", ""))
-> compiled vhd-format-lwt.0.12.1
-> removed vhd-format-lwt.0.12.1
-> installed vhd-format-lwt.0.12.1
Done.
# To update the current shell environment, run: eval $(opam env)
2025-11-14 15:58.23 ---> saved as "930d06355572bf97df2a38858638df43777be2c602bbc61972fdee2b2ce273bc"
Job succeeded
2025-11-14 15:58.38: Job succeeded