(not at the head of any monitored branch or PR)
2025-11-10 14:56.13: New job: test vhd-format-lwt.0.12.2 with lwt.6.0.0~beta00, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/28558/head (db50ce02bd0238ef1431a20de40a98e9f360a8c0)
                              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/28558/head" && git reset --hard db50ce02
git fetch origin master
git merge --no-edit 21f97b2e6d7c617fc0a79cc8e59b2e10690960e1
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~beta00 6.0.0~beta00
RUN opam reinstall lwt.6.0.0~beta00; \
    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~beta00' && 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.2; \
    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.2' && 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.2) || true
RUN opam reinstall --with-test --verbose vhd-format-lwt.0.12.2; \
    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.2' && 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-10 14:56.13: Using cache hint "ocaml/opam:debian-13-ocaml-4.14@sha256:00ac8d2b32d98ee2c476e540a2ee462e24f50f003f31c05c8e412147e16c039e-lwt.6.0.0~beta00-vhd-format-lwt.0.12.2-db50ce02bd0238ef1431a20de40a98e9f360a8c0"
2025-11-10 14:56.13: 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~beta00 6.0.0~beta00"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall lwt.6.0.0~beta00;\
             \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~beta00' && 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.2;\
             \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.2' && 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.2) || true"))
 (run (shell  "opam reinstall --with-test --verbose vhd-format-lwt.0.12.2;\
             \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.2' && 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-10 14:56.13: Waiting for resource in pool OCluster
2025-11-10 19:08.54: Waiting for worker…
2025-11-10 19:15.55: Got resource from pool OCluster
Building on clete
All commits already cached
Updating files:  69% (12935/18704)
Updating files:  70% (13093/18704)
Updating files:  71% (13280/18704)
Updating files:  72% (13467/18704)
Updating files:  73% (13654/18704)
Updating files:  74% (13841/18704)
Updating files:  75% (14028/18704)
Updating files:  76% (14216/18704)
Updating files:  77% (14403/18704)
Updating files:  78% (14590/18704)
Updating files:  79% (14777/18704)
Updating files:  80% (14964/18704)
Updating files:  81% (15151/18704)
Updating files:  82% (15338/18704)
Updating files:  83% (15525/18704)
Updating files:  84% (15712/18704)
Updating files:  85% (15899/18704)
Updating files:  86% (16086/18704)
Updating files:  87% (16273/18704)
Updating files:  88% (16460/18704)
Updating files:  89% (16647/18704)
Updating files:  90% (16834/18704)
Updating files:  91% (17021/18704)
Updating files:  92% (17208/18704)
Updating files:  93% (17395/18704)
Updating files:  94% (17582/18704)
Updating files:  95% (17769/18704)
Updating files:  96% (17956/18704)
Updating files:  97% (18143/18704)
Updating files:  98% (18330/18704)
Updating files:  99% (18517/18704)
Updating files: 100% (18704/18704)
Updating files: 100% (18704/18704), done.
HEAD is now at 21f97b2e6d Merge pull request #28836 from dbuenzli/b0-publish-bytesrw.0.3.0
Merge made by the 'ort' strategy.
 packages/lwt/lwt.6.0.0~beta00/opam               | 67 ++++++++++++++++++++++++
 packages/lwt_direct/lwt_direct.6.0.0~beta00/opam | 42 +++++++++++++++
 2 files changed, 109 insertions(+)
 create mode 100644 packages/lwt/lwt.6.0.0~beta00/opam
 create mode 100644 packages/lwt_direct/lwt_direct.6.0.0~beta00/opam

(from ocaml/opam:debian-13-ocaml-4.14@sha256:00ac8d2b32d98ee2c476e540a2ee462e24f50f003f31c05c8e412147e16c039e)
Unable to find image 'ocaml/opam:debian-13-ocaml-4.14@sha256:00ac8d2b32d98ee2c476e540a2ee462e24f50f003f31c05c8e412147e16c039e' locally
docker.io/ocaml/opam@sha256:00ac8d2b32d98ee2c476e540a2ee462e24f50f003f31c05c8e412147e16c039e: Pulling from ocaml/opam
13cc39f8244a: Already exists
b27d53669817: Already exists
062c909e206e: Already exists
265baae72087: Already exists
b6b7b385247c: Already exists
bfb7bf5b7c6d: Already exists
b18c76fc18f2: Already exists
6bdbb37ee35f: Already exists
84035aa4da2d: Already exists
0c3307e14207: Already exists
30b92d637d72: Already exists
991b07583706: Already exists
e1d7a79a1495: Already exists
6b08d63c6214: Already exists
4c7236344711: Already exists
12506f41e8b0: Already exists
12506f41e8b0: Already exists
2330d596aec1: Already exists
a48299f5ec62: Already exists
04618a577568: Already exists
8c4b002d072b: Already exists
4f4fb700ef54: Already exists
ff68f05e2976: Already exists
d5543b560a3e: Already exists
4a9030bbb1ef: Already exists
c59b3bec3411: Already exists
85a7c9be9495: Already exists
dbc6bd8f2e44: Already exists
6680a5133ca2: Already exists
470c0056084c: Already exists
6b9af56b67cf: Already exists
c572cde25fb3: Already exists
033b2d405acf: Already exists
663cc5b3d424: Already exists
840bbd47fded: Already exists
fb8f644ba010: Already exists
66735543f230: Already exists
7896354b8c11: Already exists
a0063722d8c2: Already exists
7018e4a5881b: Already exists
68cdbf191334: Pulling fs layer
32f4eb11e5dc: Pulling fs layer
eeb0425dd47f: Pulling fs layer
12428cddc61a: Pulling fs layer
12428cddc61a: Waiting
eeb0425dd47f: Verifying Checksum
eeb0425dd47f: Download complete
32f4eb11e5dc: Verifying Checksum
12428cddc61a: Verifying Checksum
12428cddc61a: Download complete
68cdbf191334: Verifying Checksum
68cdbf191334: Download complete
68cdbf191334: Pull complete
32f4eb11e5dc: Pull complete
eeb0425dd47f: Pull complete
12428cddc61a: Pull complete
Digest: sha256:00ac8d2b32d98ee2c476e540a2ee462e24f50f003f31c05c8e412147e16c039e
Status: Downloaded newer image for ocaml/opam@sha256:00ac8d2b32d98ee2c476e540a2ee462e24f50f003f31c05c8e412147e16c039e
2025-11-10 19:15.59 ---> 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-10 19:15.59 ---> 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-10 19:15.59 ---> 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-10 19:15.59 ---> 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-10 19:15.59 ---> using "324936077a47671067794cc83def947ee8a01c92aab91da2d8bb3576676449b4" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2025-11-10 19:16.00 ---> using "bcf068effe295b4e2ae5412d97f5268f38e57b3249714878d2948254ecb5f2c7" from cache

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-11-10 19:16.17 ---> saved as "813792ae16d609ebed0f1530d892d292b58cbab36cb2032af0e286b7a39a5972"

/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]
- Fetched 90.7 kB in 0s (915 kB/s)
- Reading package lists...
- 
2025-11-10 19:16.19 ---> saved as "213a9304ddfdbe005d8eeb63b04bbfeb84eb275e3032a7ea485ba9ea7eef3763"

/home/opam: (run (shell "opam pin add -k version -yn lwt.6.0.0~beta00 6.0.0~beta00"))
lwt is now pinned to version 6.0.0~beta00
2025-11-10 19:16.20 ---> saved as "d06a4202083f837dc1b56ee2da6303314c1e4c290f5ae07ef997ea318da4701f"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall lwt.6.0.0~beta00;\
                        \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~beta00' && 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~beta00 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 9 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 domain_shims      0.1.0                 [required by lwt]
  - install dune              3.20.2                [required by lwt]
  - install dune-configurator 3.20.2                [required by lwt]
  - install lwt               6.0.0~beta00 (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 domain_shims.0.1.0  (cached)
-> retrieved dune.3.20.2, dune-configurator.3.20.2  (cached)
-> retrieved lwt.6.0.0~beta00  (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 domain_shims.0.1.0
-> 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~beta00
Done.
# To update the current shell environment, run: eval $(opam env)
2025-11-10 19:17.18 ---> saved as "ed448efba804a737f6147e5850a455384ec4f932daa531d6f7c6cb77598f4fd4"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall vhd-format-lwt.0.12.2;\
                        \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.2' && 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.2 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.2

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)
-> installed conf-pkg-config.4
-> retrieved cstruct.6.0.1, ppx_cstruct.6.0.1  (cached)
-> 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)
-> installed bigarray-compat.1.1.0
-> retrieved parsexp.v0.16.0  (cached)
-> 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.2  (cached)
-> installed stdlib-shims.0.3.0
-> installed io-page.3.0.0
-> installed ocaml-compiler-libs.v0.12.4
-> installed sexplib0.v0.16.0
-> 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.2
Done.
# To update the current shell environment, run: eval $(opam env)
2025-11-10 19:18.01 ---> saved as "1fb567502eab306f39a795ae5c5f98a03b6edffd65202aa012701ec0db04ff05"

/home/opam: (run (network host)
                 (shell "(opam reinstall --with-test vhd-format-lwt.0.12.2) || 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.2
=== 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.2  (https://opam.ocaml.org/cache)
-> removed   vhd-format-lwt.0.12.2
-> 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
[ERROR] The compilation of vhd-format-lwt.0.12.2 failed at "dune runtest -p vhd-format-lwt -j 71".

#=== ERROR while compiling vhd-format-lwt.0.12.2 ==============================#
# context              2.5.0~alpha1 | linux/x86_64 | ocaml-base-compiler.4.14.2 | file:///home/opam/opam-repository
# path                 ~/.opam/4.14/.opam-switch/build/vhd-format-lwt.0.12.2
# command              ~/.opam/opam-init/hooks/sandbox.sh build dune runtest -p vhd-format-lwt -j 71
# exit-code            1
# env-file             ~/.opam/log/vhd-format-lwt-7-48772e.env
# output-file          ~/.opam/log/vhd-format-lwt-7-48772e.out
### output ###
# (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/domain_shims -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/domain_shims -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/domain_shims -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.
# File "vhd_format_lwt_test/dune", lines 6-12, characters 0-102:
#  6 | (alias
#  7 |  (name runtest)
#  8 |  (package vhd-format-lwt)
#  9 |  (deps
# 10 |   (:< parse_test.exe))
# 11 |  (action
# 12 |   (run %{<})))
# (cd _build/default/vhd_format_lwt_test && ./parse_test.exe)
# .WARNING: failed to setuid to a non-priviledged user, access control tests will pass spuriously (Unix.Unix_error(Unix.EINVAL, "setuid", ""))



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build vhd-format-lwt 0.12.2
+- 
+- The following changes have been performed
| - remove    vhd-format-lwt 0.12.2
| - downgrade io-page        3.0.0 to 2.4.0
| - recompile vhd-format     0.13.0
| - install   io-page-unix   2.1.0
| - install   ounit          2.2.7
| - install   ounit2         2.2.7
| - install   seq            base
+- 

<><> io-page-unix.2.1.0 installed successfully ><><><><><><><><><><><><><><><><>
=> Note: This package is deprecated.
# To update the current shell environment, run: eval $(opam env)

The former state can be restored with:
    /usr/bin/opam switch import "/home/opam/.opam/4.14/.opam-switch/backup/state-20251110191802.export"
Or you can retry to install your package selection with:
    /usr/bin/opam install --restore
2025-11-10 19:18.16 ---> saved as "56e760abfd00f01a5f353fe18bab522e5128cdde6d6cb957bebd6ef3b43e2414"

/home/opam: (run (shell  "opam reinstall --with-test --verbose vhd-format-lwt.0.12.2;\
                        \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.2' && 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.2 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 1 package
  - install vhd-format-lwt 0.12.2

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/3: [vhd-format-lwt.0.12.2: extract]
-> retrieved vhd-format-lwt.0.12.2  (cached)
Processing  2/3: [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.2)
- (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/domain_shims -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/domain_shims -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/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/domain_shims -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/domain_shims -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 && /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/domain_shims -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/domain_shims -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/domain_shims -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/domain_shims -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/3: [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.2)
- (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/domain_shims -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/domain_shims -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/domain_shims -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.
[ERROR] The compilation of vhd-format-lwt.0.12.2 failed at "dune runtest -p vhd-format-lwt -j 71".

#=== ERROR while compiling vhd-format-lwt.0.12.2 ==============================#
# context              2.5.0~alpha1 | linux/x86_64 | ocaml-base-compiler.4.14.2 | file:///home/opam/opam-repository
# path                 ~/.opam/4.14/.opam-switch/build/vhd-format-lwt.0.12.2
# command              ~/.opam/opam-init/hooks/sandbox.sh build dune runtest -p vhd-format-lwt -j 71
# exit-code            1
# env-file             ~/.opam/log/vhd-format-lwt-7-902b5e.env
# output-file          ~/.opam/log/vhd-format-lwt-7-902b5e.out
### output ###
# (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/domain_shims -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/domain_shims -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/domain_shims -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.
# File "vhd_format_lwt_test/dune", lines 6-12, characters 0-102:
#  6 | (alias
#  7 |  (name runtest)
#  8 |  (package vhd-format-lwt)
#  9 |  (deps
# 10 |   (:< parse_test.exe))
# 11 |  (action
# 12 |   (run %{<})))
# (cd _build/default/vhd_format_lwt_test && ./parse_test.exe)
# .WARNING: failed to setuid to a non-priviledged user, access control tests will pass spuriously (Unix.Unix_error(Unix.EINVAL, "setuid", ""))

- File "vhd_format_lwt_test/dune", lines 6-12, characters 0-102:
-  6 | (alias
-  7 |  (name runtest)
-  8 |  (package vhd-format-lwt)
-  9 |  (deps
- 10 |   (:< parse_test.exe))
- 11 |  (action
- 12 |   (run %{<})))
- (cd _build/default/vhd_format_lwt_test && ./parse_test.exe)
- .WARNING: failed to setuid to a non-priviledged user, access control tests will pass spuriously (Unix.Unix_error(Unix.EINVAL, "setuid", ""))
'opam reinstall --with-test --verbose vhd-format-lwt.0.12.2' failed.


<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build vhd-format-lwt 0.12.2
+- 
- No changes have been performed
# To update the current shell environment, run: eval $(opam env)
[WARNING] OPAMCONFIRMLEVEL was ignored because CLI 2.0 was requested and it was introduced in 2.1.
[WARNING] OPAMCONFIRMLEVEL was ignored because CLI 2.0 was requested and it was introduced in 2.1.
"/usr/bin/env" "bash" "-c" "opam reinstall --with-test --verbose vhd-format-lwt.0.12.2;
        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.2' && partial_fails="$partial_fails $pkg";
        done;
        test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}";
        exit 1" failed with exit status 1
2025-11-10 19:18.40: Job failed: Failed: Build failed
2025-11-10 19:18.40: Log analysis:
2025-11-10 19:18.40: >>> 
[ERROR] The compilation of vhd-format-lwt.0.12.2 failed at "dune runtest -p vhd-format-lwt -j 71".
 (score = 20)
2025-11-10 19:18.40: >>> 
[ERROR] The compilation of vhd-format-lwt.0.12.2 failed at "dune runtest -p vhd-format-lwt -j 71".
 (score = 20)
2025-11-10 19:18.40: The compilation of vhd-format-lwt.0.12.2 failed at "dune runtest -p vhd-format-lwt -j 71".