(not at the head of any monitored branch or PR)
2026-04-30 02:04.30: New job: test xen-gnt-unix.4.0.2 with dune.3.23.0~alpha2, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29824/head (89a6ae888498500bf7c0fc05361da936fc6acacf)
                              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/29824/head" && git reset --hard 89a6ae88
git fetch origin master
git merge --no-edit d1c56642b8ca7e1166c90bfe0c74f38007bbad58
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-4.14@sha256:9fe84ffeeaa92507d198c7af8adb382726e06ae36c031f5ef645a3241cac0353
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 dune.3.23.0~alpha2 3.23.0~alpha2
RUN opam reinstall dune.3.23.0~alpha2; \
    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" != 'dune.3.23.0~alpha2' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1
RUN opam reinstall xen-gnt-unix.4.0.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" != 'xen-gnt-unix.4.0.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 xen-gnt-unix.4.0.2) || true
RUN opam reinstall --with-test --verbose xen-gnt-unix.4.0.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" != 'xen-gnt-unix.4.0.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 .

2026-04-30 02:04.30: Using cache hint "ocaml/opam:debian-13-ocaml-4.14@sha256:9fe84ffeeaa92507d198c7af8adb382726e06ae36c031f5ef645a3241cac0353-dune.3.23.0~alpha2-xen-gnt-unix.4.0.2-89a6ae888498500bf7c0fc05361da936fc6acacf"
2026-04-30 02:04.30: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.14@sha256:9fe84ffeeaa92507d198c7af8adb382726e06ae36c031f5ef645a3241cac0353)
 (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 dune.3.23.0~alpha2 3.23.0~alpha2"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall dune.3.23.0~alpha2;\
             \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\" != 'dune.3.23.0~alpha2' && 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 xen-gnt-unix.4.0.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\" != 'xen-gnt-unix.4.0.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 xen-gnt-unix.4.0.2) || true"))
 (run (shell  "opam reinstall --with-test --verbose xen-gnt-unix.4.0.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\" != 'xen-gnt-unix.4.0.2' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2026-04-30 02:04.30: Waiting for resource in pool OCluster
2026-04-30 06:51.26: Waiting for worker…
2026-04-30 06:55.08: Got resource from pool OCluster
Building on clete.caelum.ci.dev
All commits already cached
Updating files:  74% (13987/18887)
Updating files:  75% (14166/18887)
Updating files:  76% (14355/18887)
Updating files:  77% (14543/18887)
Updating files:  78% (14732/18887)
Updating files:  79% (14921/18887)
Updating files:  80% (15110/18887)
Updating files:  81% (15299/18887)
Updating files:  82% (15488/18887)
Updating files:  83% (15677/18887)
Updating files:  84% (15866/18887)
Updating files:  85% (16054/18887)
Updating files:  86% (16243/18887)
Updating files:  87% (16432/18887)
Updating files:  88% (16621/18887)
Updating files:  89% (16810/18887)
Updating files:  90% (16999/18887)
Updating files:  91% (17188/18887)
Updating files:  92% (17377/18887)
Updating files:  93% (17565/18887)
Updating files:  94% (17754/18887)
Updating files:  95% (17943/18887)
Updating files:  96% (18132/18887)
Updating files:  97% (18321/18887)
Updating files:  98% (18510/18887)
Updating files:  99% (18699/18887)
Updating files: 100% (18887/18887)
Updating files: 100% (18887/18887), done.
HEAD is now at d1c56642b8 Merge pull request #29820 from jmid/core-0.17.1-bound
Merge made by the 'ort' strategy.
 .../chrome-trace/chrome-trace.3.23.0~alpha2/opam   | 39 +++++++++++
 .../dune-action-plugin.3.23.0~alpha2/opam          | 52 ++++++++++++++
 .../dune-action-trace.3.23.0~alpha2/opam           | 39 +++++++++++
 .../dune-build-info.3.23.0~alpha2/opam             | 45 ++++++++++++
 .../dune-configurator.3.23.0~alpha2/opam           | 49 +++++++++++++
 packages/dune-glob/dune-glob.3.23.0~alpha2/opam    | 42 ++++++++++++
 .../dune-private-libs.3.23.0~alpha2/opam           | 50 ++++++++++++++
 .../dune-rpc-lwt/dune-rpc-lwt.3.23.0~alpha2/opam   | 41 +++++++++++
 packages/dune-rpc/dune-rpc.3.23.0~alpha2/opam      | 44 ++++++++++++
 packages/dune-site/dune-site.3.23.0~alpha2/opam    | 37 ++++++++++
 packages/dune/dune.3.23.0~alpha2/opam              | 80 ++++++++++++++++++++++
 packages/dyn/dyn.3.23.0~alpha2/opam                | 40 +++++++++++
 packages/fs-io/fs-io.3.23.0~alpha2/opam            | 39 +++++++++++
 packages/ocamlc-loc/ocamlc-loc.3.23.0~alpha2/opam  | 43 ++++++++++++
 packages/ordering/ordering.3.23.0~alpha2/opam      | 38 ++++++++++
 packages/stdune/stdune.3.23.0~alpha2/opam          | 46 +++++++++++++
 .../top-closure/top-closure.3.23.0~alpha2/opam     | 38 ++++++++++
 packages/xdg/xdg.3.23.0~alpha2/opam                | 39 +++++++++++
 18 files changed, 801 insertions(+)
 create mode 100644 packages/chrome-trace/chrome-trace.3.23.0~alpha2/opam
 create mode 100644 packages/dune-action-plugin/dune-action-plugin.3.23.0~alpha2/opam
 create mode 100644 packages/dune-action-trace/dune-action-trace.3.23.0~alpha2/opam
 create mode 100644 packages/dune-build-info/dune-build-info.3.23.0~alpha2/opam
 create mode 100644 packages/dune-configurator/dune-configurator.3.23.0~alpha2/opam
 create mode 100644 packages/dune-glob/dune-glob.3.23.0~alpha2/opam
 create mode 100644 packages/dune-private-libs/dune-private-libs.3.23.0~alpha2/opam
 create mode 100644 packages/dune-rpc-lwt/dune-rpc-lwt.3.23.0~alpha2/opam
 create mode 100644 packages/dune-rpc/dune-rpc.3.23.0~alpha2/opam
 create mode 100644 packages/dune-site/dune-site.3.23.0~alpha2/opam
 create mode 100644 packages/dune/dune.3.23.0~alpha2/opam
 create mode 100644 packages/dyn/dyn.3.23.0~alpha2/opam
 create mode 100644 packages/fs-io/fs-io.3.23.0~alpha2/opam
 create mode 100644 packages/ocamlc-loc/ocamlc-loc.3.23.0~alpha2/opam
 create mode 100644 packages/ordering/ordering.3.23.0~alpha2/opam
 create mode 100644 packages/stdune/stdune.3.23.0~alpha2/opam
 create mode 100644 packages/top-closure/top-closure.3.23.0~alpha2/opam
 create mode 100644 packages/xdg/xdg.3.23.0~alpha2/opam

(from ocaml/opam:debian-13-ocaml-4.14@sha256:9fe84ffeeaa92507d198c7af8adb382726e06ae36c031f5ef645a3241cac0353)
2026-04-30 06:55.12 ---> using "59750879172620501422dd230c4db220684ca7fe3e97409754eb72dcd3390183" from cache

/: (user (uid 1000) (gid 1000))

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2026-04-30 06:55.12 ---> using "b9ebb375f27da820f646269f579489455309b96c19083cd92f7f6ddd05a4b5f2" 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
2026-04-30 06:55.12 ---> using "a861010f9e8d58738e62217a8c0fc067b85ae67b915e1ef93e08d814bb3c914c" 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.1
# 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.3"}]
# compiler-packages    ocaml-base-compiler.4.14.3, 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.3
2026-04-30 06:55.12 ---> using "a880c606232c92d84d818c349c45696fe9be139917bfa5f7b1065b497e8df441" 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/"))
2026-04-30 06:55.12 ---> using "47c085e53aa5880966ff9fc1e1e12a4661255166181f7931a397db06034201cf" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2026-04-30 06:55.14 ---> using "4f46738dfb91aa0cd6670022d574de26b7ba05050d8f85957ea4872d96399e01" from cache

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-04-30 06:55.14 ---> using "f445e8c26fbca2dd0e343fb9cad949aab8e50ebe8f19361a10c799b6322ab39c" 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 [129 kB]
- Fetched 219 kB in 0s (456 kB/s)
- Reading package lists...
- 
2026-04-30 06:55.14 ---> using "b966a5b49a15ba3eb63ca44315c18e89b0e8b1ab5327a74622eb8f27705503f7" from cache

/home/opam: (run (shell "opam pin add -k version -yn dune.3.23.0~alpha2 3.23.0~alpha2"))
dune is now pinned to version 3.23.0~alpha2
2026-04-30 06:55.14 ---> using "25765793fc7cef20054e052a9de3d7d38466f3811e35fee48d28bad9710db3b2" from cache

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall dune.3.23.0~alpha2;\
                        \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\" != 'dune.3.23.0~alpha2' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
dune.3.23.0~alpha2 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 1 package
  - install dune 3.23.0~alpha2 (pinned)

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.3.23.0~alpha2  (cached)
-> installed dune.3.23.0~alpha2
Done.
# To update the current shell environment, run: eval $(opam env)
2026-04-30 06:55.14 ---> using "8638839e5ae5cf3f1965d4f7cf42b88935780d5bcff7e41a79deffdd572bdcbf" from cache

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall xen-gnt-unix.4.0.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\" != 'xen-gnt-unix.4.0.2' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
xen-gnt-unix.4.0.2 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 18 packages
  - install base-bytes        base          [required by ocplib-endian]
  - install cmdliner          2.1.1         [required by xen-gnt]
  - install conf-pkg-config   4             [required by io-page]
  - install conf-xen          1             [required by xen-gnt-unix]
  - install cppo              1.8.0         [required by lwt]
  - install csexp             1.5.2         [required by dune-configurator]
  - install cstruct           6.2.0         [required by xen-gnt]
  - install dune-configurator 3.23.0~alpha2 [required by lwt]
  - install fmt               0.11.0        [required by cstruct]
  - install io-page           3.0.0         [required by xen-gnt]
  - install lwt               6.1.2         [required by xen-gnt-unix]
  - install lwt-dllist        1.1.0         [required by xen-gnt]
  - install ocamlbuild        0.16.1        [required by fmt]
  - install ocamlfind         1.9.8         [required by base-bytes, fmt]
  - install ocplib-endian     1.2           [required by lwt]
  - install topkg             1.1.1         [required by fmt]
  - install xen-gnt           4.0.2         [required by xen-gnt-unix]
  - install xen-gnt-unix      4.0.2

The following system packages will first need to be installed:
    libxen-dev 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" "libxen-dev" "pkg-config"
- Selecting previously unselected package libext2fs2t64: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 ... 20623 files and directories currently installed.)
- Preparing to unpack .../00-libext2fs2t64_1.47.2-3+b10_amd64.deb ...
- Adding 'diversion of /lib/x86_64-linux-gnu/libe2p.so.2 to /lib/x86_64-linux-gnu/libe2p.so.2.usr-is-merged by libext2fs2t64'
- Adding 'diversion of /lib/x86_64-linux-gnu/libe2p.so.2.3 to /lib/x86_64-linux-gnu/libe2p.so.2.3.usr-is-merged by libext2fs2t64'
- Adding 'diversion of /lib/x86_64-linux-gnu/libext2fs.so.2 to /lib/x86_64-linux-gnu/libext2fs.so.2.usr-is-merged by libext2fs2t64'
- Adding 'diversion of /lib/x86_64-linux-gnu/libext2fs.so.2.4 to /lib/x86_64-linux-gnu/libext2fs.so.2.4.usr-is-merged by libext2fs2t64'
- Unpacking libext2fs2t64:amd64 (1.47.2-3+b10) ...
- Selecting previously unselected package libpkgconf3:amd64.
- Preparing to unpack .../01-libpkgconf3_1.8.1-4_amd64.deb ...
- Unpacking libpkgconf3:amd64 (1.8.1-4) ...
- Selecting previously unselected package libxentoolcore1:amd64.
- Preparing to unpack .../02-libxentoolcore1_4.20.2+37-g61ff35323e-0+deb13u1_amd64.deb ...
- Unpacking libxentoolcore1:amd64 (4.20.2+37-g61ff35323e-0+deb13u1) ...
- Selecting previously unselected package libxentoollog1:amd64.
- Preparing to unpack .../03-libxentoollog1_4.20.2+37-g61ff35323e-0+deb13u1_amd64.deb ...
- Unpacking libxentoollog1:amd64 (4.20.2+37-g61ff35323e-0+deb13u1) ...
- Selecting previously unselected package libxencall1:amd64.
- Preparing to unpack .../04-libxencall1_4.20.2+37-g61ff35323e-0+deb13u1_amd64.deb ...
- Unpacking libxencall1:amd64 (4.20.2+37-g61ff35323e-0+deb13u1) ...
- Selecting previously unselected package libxendevicemodel1:amd64.
- Preparing to unpack .../05-libxendevicemodel1_4.20.2+37-g61ff35323e-0+deb13u1_amd64.deb ...
- Unpacking libxendevicemodel1:amd64 (4.20.2+37-g61ff35323e-0+deb13u1) ...
- Selecting previously unselected package libxenevtchn1:amd64.
- Preparing to unpack .../06-libxenevtchn1_4.20.2+37-g61ff35323e-0+deb13u1_amd64.deb ...
- Unpacking libxenevtchn1:amd64 (4.20.2+37-g61ff35323e-0+deb13u1) ...
- Selecting previously unselected package libxenforeignmemory1:amd64.
- Preparing to unpack .../07-libxenforeignmemory1_4.20.2+37-g61ff35323e-0+deb13u1_amd64.deb ...
- Unpacking libxenforeignmemory1:amd64 (4.20.2+37-g61ff35323e-0+deb13u1) ...
- Selecting previously unselected package libxengnttab1:amd64.
- Preparing to unpack .../08-libxengnttab1_4.20.2+37-g61ff35323e-0+deb13u1_amd64.deb ...
- Unpacking libxengnttab1:amd64 (4.20.2+37-g61ff35323e-0+deb13u1) ...
- Selecting previously unselected package libxenhypfs1:amd64.
- Preparing to unpack .../09-libxenhypfs1_4.20.2+37-g61ff35323e-0+deb13u1_amd64.deb ...
- Unpacking libxenhypfs1:amd64 (4.20.2+37-g61ff35323e-0+deb13u1) ...
- Selecting previously unselected package libxenstore4:amd64.
- Preparing to unpack .../10-libxenstore4_4.20.2+37-g61ff35323e-0+deb13u1_amd64.deb ...
- Unpacking libxenstore4:amd64 (4.20.2+37-g61ff35323e-0+deb13u1) ...
- Selecting previously unselected package libyajl2:amd64.
- Preparing to unpack .../11-libyajl2_2.1.0-5+b2_amd64.deb ...
- Unpacking libyajl2:amd64 (2.1.0-5+b2) ...
- Selecting previously unselected package libxenmisc4.20:amd64.
- Preparing to unpack .../12-libxenmisc4.20_4.20.2+37-g61ff35323e-0+deb13u1_amd64.deb ...
- Unpacking libxenmisc4.20:amd64 (4.20.2+37-g61ff35323e-0+deb13u1) ...
- Selecting previously unselected package libxen-dev:amd64.
- Preparing to unpack .../13-libxen-dev_4.20.2+37-g61ff35323e-0+deb13u1_amd64.deb ...
- Unpacking libxen-dev:amd64 (4.20.2+37-g61ff35323e-0+deb13u1) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../14-pkgconf-bin_1.8.1-4_amd64.deb ...
- Unpacking pkgconf-bin (1.8.1-4) ...
- Selecting previously unselected package pkgconf:amd64.
- Preparing to unpack .../15-pkgconf_1.8.1-4_amd64.deb ...
- Unpacking pkgconf:amd64 (1.8.1-4) ...
- Selecting previously unselected package pkg-config:amd64.
- Preparing to unpack .../16-pkg-config_1.8.1-4_amd64.deb ...
- Unpacking pkg-config:amd64 (1.8.1-4) ...
- Setting up libxentoollog1:amd64 (4.20.2+37-g61ff35323e-0+deb13u1) ...
- Setting up libxentoolcore1:amd64 (4.20.2+37-g61ff35323e-0+deb13u1) ...
- Setting up libxencall1:amd64 (4.20.2+37-g61ff35323e-0+deb13u1) ...
- Setting up libyajl2:amd64 (2.1.0-5+b2) ...
- Setting up libxenforeignmemory1:amd64 (4.20.2+37-g61ff35323e-0+deb13u1) ...
- Setting up libpkgconf3:amd64 (1.8.1-4) ...
- Setting up pkgconf-bin (1.8.1-4) ...
- Setting up libxenstore4:amd64 (4.20.2+37-g61ff35323e-0+deb13u1) ...
- Setting up libxengnttab1:amd64 (4.20.2+37-g61ff35323e-0+deb13u1) ...
- Setting up libxenevtchn1:amd64 (4.20.2+37-g61ff35323e-0+deb13u1) ...
- Setting up libext2fs2t64:amd64 (1.47.2-3+b10) ...
- Setting up libxendevicemodel1:amd64 (4.20.2+37-g61ff35323e-0+deb13u1) ...
- Setting up libxenhypfs1:amd64 (4.20.2+37-g61ff35323e-0+deb13u1) ...
- Setting up pkgconf:amd64 (1.8.1-4) ...
- Setting up libxenmisc4.20:amd64 (4.20.2+37-g61ff35323e-0+deb13u1) ...
- Setting up pkg-config:amd64 (1.8.1-4) ...
- Setting up libxen-dev:amd64 (4.20.2+37-g61ff35323e-0+deb13u1) ...
- Processing triggers for libc-bin (2.41-12+deb13u2) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cmdliner.2.1.1  (cached)
-> retrieved conf-xen.1  (cached)
-> retrieved cppo.1.8.0  (cached)
-> installed conf-pkg-config.4
-> installed conf-xen.1
-> retrieved csexp.1.5.2  (cached)
-> retrieved cstruct.6.2.0  (cached)
-> installed csexp.1.5.2
-> installed cppo.1.8.0
-> retrieved dune-configurator.3.23.0~alpha2  (cached)
-> retrieved fmt.0.11.0  (cached)
-> retrieved io-page.3.0.0  (cached)
-> retrieved lwt.6.1.2  (cached)
-> retrieved lwt-dllist.1.1.0  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved topkg.1.1.1  (cached)
-> retrieved xen-gnt.4.0.2, xen-gnt-unix.4.0.2  (cached)
-> installed cmdliner.2.1.1
-> installed dune-configurator.3.23.0~alpha2
-> installed lwt-dllist.1.1.0
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed ocplib-endian.1.2
-> installed ocamlbuild.0.16.1
-> installed lwt.6.1.2
-> installed topkg.1.1.1
-> installed fmt.0.11.0
-> installed cstruct.6.2.0
-> installed io-page.3.0.0
-> installed xen-gnt.4.0.2
[ERROR] The compilation of xen-gnt-unix.4.0.2 failed at "dune build -p xen-gnt-unix -j 71".

#=== ERROR while compiling xen-gnt-unix.4.0.2 =================================#
# context              2.5.1 | linux/x86_64 | ocaml-base-compiler.4.14.3 | file:///home/opam/opam-repository
# path                 ~/.opam/4.14/.opam-switch/build/xen-gnt-unix.4.0.2
# command              ~/.opam/opam-init/hooks/sandbox.sh build dune build -p xen-gnt-unix -j 71
# exit-code            1
# env-file             ~/.opam/log/xen-gnt-unix-7-025a27.env
# output-file          ~/.opam/log/xen-gnt-unix-7-025a27.out
### output ###
# File "lib/dune", line 12, characters 10-22:
# 12 |  (c_names gntshr_stubs gnttab_stubs)
#                ^^^^^^^^^^^^
# (cd _build/default/lib && /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/bytes -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 -o gntshr_stubs.o -c gntshr_stubs.c)
# gntshr_stubs.c: In function 'gntshr_missing':
# gntshr_stubs.c:47:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
#    47 |         value *v = caml_named_value("gntshr.missing");
#       |                    ^~~~~~~~~~~~~~~~
# gntshr_stubs.c: In function 'stub_gntshr_share_pages_batched':
# gntshr_stubs.c:54:18: error: passing argument 1 of 'failwith_xc' from incompatible pointer type [-Wincompatible-pointer-types]
#    54 | #define _G(__g) ((xc_gntshr *)(__g))
#       |                 ~^~~~~~~~~~~~~~~~~~~
#       |                  |
#       |                  xc_gntshr * {aka struct xengntdev_handle *}
# gntshr_stubs.c:133:29: note: in expansion of macro '_G'
#   133 |                 failwith_xc(_G(xgh));
#       |                             ^~
# gntshr_stubs.c:60:39: note: expected 'xc_interface *' {aka 'struct xc_interface_core *'} but argument is of type 'xc_gntshr *' {aka 'struct xengntdev_handle *'}
#    60 | static void failwith_xc(xc_interface *xch)
#       |                         ~~~~~~~~~~~~~~^~~
# gntshr_stubs.c:147:20: warning: "alloc_bigarray_dims" is deprecated: use "caml_ba_alloc_dims" instead
#   147 |         ml_map = alloc_bigarray_dims(XC_GNTTAB_BIGARRAY, 1,
#       |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                   
# gntshr_stubs.c: In function 'stub_gntshr_munmap_batched':
# gntshr_stubs.c:166:20: warning: "Bigarray_val" is deprecated: use "Caml_ba_array_val" instead
#   166 |         int size = Bigarray_val(ml_map)->dim[0];
#       |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                      
# gntshr_stubs.c:171:20: warning: "Data_bigarray_val" is deprecated: use "Caml_ba_data_val" instead
#   171 |         int result = munmap(Data_bigarray_val(ml_map), size);
#       |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                             
# gntshr_stubs.c:54:18: error: passing argument 1 of 'failwith_xc' from incompatible pointer type [-Wincompatible-pointer-types]
#    54 | #define _G(__g) ((xc_gntshr *)(__g))
#       |                 ~^~~~~~~~~~~~~~~~~~~
#       |                  |
#       |                  xc_gntshr * {aka struct xengntdev_handle *}
# gntshr_stubs.c:176:29: note: in expansion of macro '_G'
#   176 |                 failwith_xc(_G(xgh));
#       |                             ^~
# gntshr_stubs.c:60:39: note: expected 'xc_interface *' {aka 'struct xc_interface_core *'} but argument is of type 'xc_gntshr *' {aka 'struct xengntdev_handle *'}
#    60 | static void failwith_xc(xc_interface *xch)
#       |                         ~~~~~~~~~~~~~~^~~


The former state can be restored with:
    /usr/bin/opam switch import "/home/opam/.opam/4.14/.opam-switch/backup/state-20260430065516.export"


<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build xen-gnt-unix 4.0.2
+- 
+- The following changes have been performed
| - install base-bytes        base
| - install cmdliner          2.1.1
| - install conf-pkg-config   4
| - install conf-xen          1
| - install cppo              1.8.0
| - install csexp             1.5.2
| - install cstruct           6.2.0
| - install dune-configurator 3.23.0~alpha2
| - install fmt               0.11.0
| - install io-page           3.0.0
| - install lwt               6.1.2
| - install lwt-dllist        1.1.0
| - install ocamlbuild        0.16.1
| - install ocamlfind         1.9.8
| - install ocplib-endian     1.2
| - install topkg             1.1.1
| - install xen-gnt           4.0.2
+- 
# 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 xen-gnt-unix.4.0.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" != 'xen-gnt-unix.4.0.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
2026-04-30 06:56.17: Job failed: Failed: Build failed
2026-04-30 06:56.17: Log analysis:
2026-04-30 06:56.17: >>> 
[ERROR] The compilation of xen-gnt-unix.4.0.2 failed at "dune build -p xen-gnt-unix -j 71".
 (score = 20)
2026-04-30 06:56.17: >>> 
# gntshr_stubs.c:54:18: error: passing argument 1 of 'failwith_xc' from incompatible pointer type [-Wincompatible-pointer-types]
 (score = 30)
2026-04-30 06:56.17: >>> 
# gntshr_stubs.c:54:18: error: passing argument 1 of 'failwith_xc' from incompatible pointer type [-Wincompatible-pointer-types]
 (score = 30)
2026-04-30 06:56.17: passing argument 1 of 'failwith_xc' from incompatible pointer type [-Wincompatible-pointer-types]