Build:
  1. 0
2026-01-27 19:25.32: New job: test x509.0.6.3 with mirage-runtime.4.9.0, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29297/head (bec96dd4b29b0e3eb148af9966895e70442e68e2)
                              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/29297/head" && git reset --hard bec96dd4
git fetch origin master
git merge --no-edit 88150787b3c9df767fd8dadf5d416641f8ee58f8
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-4.14@sha256:b77f64f7a162903a6fb8a0d50071a7eb7a4a9bc4421699c19d2ab9050981c012
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 mirage-runtime.4.9.0 4.9.0
RUN opam reinstall mirage-runtime.4.9.0; \
    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" != 'mirage-runtime.4.9.0' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1
RUN opam reinstall x509.0.6.3; \
    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" != 'x509.0.6.3' && 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 x509.0.6.3) || true
RUN opam reinstall --with-test --verbose x509.0.6.3; \
    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" != 'x509.0.6.3' && 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-01-27 19:25.32: Using cache hint "ocaml/opam:debian-13-ocaml-4.14@sha256:b77f64f7a162903a6fb8a0d50071a7eb7a4a9bc4421699c19d2ab9050981c012-mirage-runtime.4.9.0-x509.0.6.3-bec96dd4b29b0e3eb148af9966895e70442e68e2"
2026-01-27 19:25.32: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.14@sha256:b77f64f7a162903a6fb8a0d50071a7eb7a4a9bc4421699c19d2ab9050981c012)
 (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 mirage-runtime.4.9.0 4.9.0"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall mirage-runtime.4.9.0;\
             \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\" != 'mirage-runtime.4.9.0' && 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 x509.0.6.3;\
             \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\" != 'x509.0.6.3' && 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 x509.0.6.3) || true"))
 (run (shell  "opam reinstall --with-test --verbose x509.0.6.3;\
             \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\" != 'x509.0.6.3' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2026-01-27 19:25.32: Waiting for resource in pool OCluster
2026-01-28 01:24.52: Waiting for worker…
2026-01-28 01:27.52: Got resource from pool OCluster
Building on clete
All commits already cached
Updating files:  65% (12590/19285)
Updating files:  66% (12729/19285)
Updating files:  67% (12921/19285)
Updating files:  68% (13114/19285)
Updating files:  69% (13307/19285)
Updating files:  70% (13500/19285)
Updating files:  71% (13693/19285)
Updating files:  72% (13886/19285)
Updating files:  73% (14079/19285)
Updating files:  74% (14271/19285)
Updating files:  75% (14464/19285)
Updating files:  76% (14657/19285)
Updating files:  77% (14850/19285)
Updating files:  78% (15043/19285)
Updating files:  79% (15236/19285)
Updating files:  80% (15428/19285)
Updating files:  81% (15621/19285)
Updating files:  82% (15814/19285)
Updating files:  83% (16007/19285)
Updating files:  84% (16200/19285)
Updating files:  85% (16393/19285)
Updating files:  86% (16586/19285)
Updating files:  87% (16778/19285)
Updating files:  88% (16971/19285)
Updating files:  89% (17164/19285)
Updating files:  90% (17357/19285)
Updating files:  91% (17550/19285)
Updating files:  92% (17743/19285)
Updating files:  93% (17936/19285)
Updating files:  94% (18128/19285)
Updating files:  95% (18321/19285)
Updating files:  96% (18514/19285)
Updating files:  97% (18707/19285)
Updating files:  98% (18900/19285)
Updating files:  99% (19093/19285)
Updating files: 100% (19285/19285)
Updating files: 100% (19285/19285), done.
HEAD is now at 88150787b3 Merge pull request #29287 from dinosaure/release-git-kv-v0.2.1
Merge made by the 'ort' strategy.
 packages/mirage-runtime/mirage-runtime.4.0.0/opam       | 2 +-
 packages/mirage-runtime/mirage-runtime.4.0.0~beta3/opam | 2 +-
 packages/mirage-runtime/mirage-runtime.4.10.0/opam      | 2 +-
 packages/mirage-runtime/mirage-runtime.4.10.1/opam      | 2 +-
 packages/mirage-runtime/mirage-runtime.4.10.2/opam      | 2 +-
 packages/mirage-runtime/mirage-runtime.4.10.3/opam      | 2 +-
 packages/mirage-runtime/mirage-runtime.4.10.4/opam      | 2 +-
 packages/mirage-runtime/mirage-runtime.4.7.0/opam       | 2 +-
 packages/mirage-runtime/mirage-runtime.4.9.0/opam       | 2 +-
 9 files changed, 9 insertions(+), 9 deletions(-)

(from ocaml/opam:debian-13-ocaml-4.14@sha256:b77f64f7a162903a6fb8a0d50071a7eb7a4a9bc4421699c19d2ab9050981c012)
2026-01-28 01:28.10 ---> using "3fd264bad5105e854dbd96d70e0cfc1d39526afdd30eb5071f64946db0e5017f" 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-01-28 01:28.10 ---> using "c3cd77d504ddaf309a58ec97d6990fbd674dfde7b2abb842e8428debfcc0578e" 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.

Continue? [Y/n] y
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.

Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2026-01-28 01:28.10 ---> using "465a85423ed866bf442b5d4ea44e6d67ced29e9b9e842e1931d4e6d88019fbd3" 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
# 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
2026-01-28 01:28.10 ---> using "600a99cbfa8eb664d95037ff02fc36b5d64190bc45ec2fd4792c21267b01f885" 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-01-28 01:28.10 ---> using "7a36498140d9470d1651f2f43060608bb30c70da80a143f96ae11f513ef0d2f1" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2026-01-28 01:28.12 ---> using "c9c281874add8ec6f824059ed6bc4b1cfa517948ec5e9031033d3104a09c31cb" from cache

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-01-28 01:28.12 ---> using "53502e89c855ed9f94e21d4f7bd4f9f40b749d1356523774f70e07d214514475" 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 [97.9 kB]
- Fetched 189 kB in 0s (755 kB/s)
- Reading package lists...
- 
2026-01-28 01:28.12 ---> using "fd9c746d3f7a0ef758e388fb04e10d9013e6617bfbced5cd67effbd293bab80d" from cache

/home/opam: (run (shell "opam pin add -k version -yn mirage-runtime.4.9.0 4.9.0"))
mirage-runtime is now pinned to version 4.9.0
2026-01-28 01:28.12 ---> using "779e486b013a05e0231cd6dcbeda26de945c782c6706923f85208bfac107cc54" from cache

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall mirage-runtime.4.9.0;\
                        \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\" != 'mirage-runtime.4.9.0' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
mirage-runtime.4.9.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 16 packages
  - install base-bytes        base           [required by ocplib-endian]
  - install cmdliner          2.1.0          [required by mirage-runtime]
  - install cppo              1.8.0          [required by lwt]
  - install csexp             1.5.2          [required by dune-configurator]
  - install domain-name       0.5.0          [required by ipaddr]
  - install dune              3.21.0         [required by mirage-runtime]
  - install dune-configurator 3.21.0         [required by lwt]
  - install ipaddr            5.6.1          [required by mirage-runtime]
  - install logs              0.10.0         [required by mirage-runtime]
  - install lwt               5.9.2          [required by mirage-runtime]
  - install macaddr           5.6.1          [required by ipaddr]
  - install mirage-runtime    4.9.0 (pinned)
  - install ocamlbuild        0.16.1         [required by logs]
  - install ocamlfind         1.9.8          [required by logs]
  - install ocplib-endian     1.2            [required by lwt]
  - install topkg             1.1.1          [required by logs]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cmdliner.2.1.0  (cached)
-> retrieved cppo.1.8.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved domain-name.0.5.0  (cached)
-> retrieved dune.3.21.0, dune-configurator.3.21.0  (cached)
-> retrieved ipaddr.5.6.1, macaddr.5.6.1  (cached)
-> retrieved logs.0.10.0  (cached)
-> retrieved lwt.5.9.2  (cached)
-> retrieved mirage-runtime.4.9.0  (cached)
-> installed cmdliner.2.1.0
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved topkg.1.1.1  (cached)
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed ocamlbuild.0.16.1
-> installed topkg.1.1.1
-> installed dune.3.21.0
-> installed csexp.1.5.2
-> installed cppo.1.8.0
-> installed domain-name.0.5.0
-> installed macaddr.5.6.1
-> installed ocplib-endian.1.2
-> installed ipaddr.5.6.1
-> installed dune-configurator.3.21.0
-> installed lwt.5.9.2
-> installed logs.0.10.0
-> installed mirage-runtime.4.9.0
Done.
# To update the current shell environment, run: eval $(opam env)
2026-01-28 01:29.19 ---> saved as "d8bce516323d5742df032344b4c92d182d9a4a4f363fdaf31c20cce37568f3f7"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall x509.0.6.3;\
                        \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\" != 'x509.0.6.3' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
x509.0.6.3 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 27 packages
  - install asn1-combinators    0.2.6          [required by x509]
  - install astring             0.8.5          [required by x509]
  - install base                v0.16.4        [required by ppx_sexp_conv]
  - install bigarray-compat     1.1.0          [required by cstruct]
  - install conf-gmp            5              [required by zarith]
  - install conf-pkg-config     4              [required by zarith]
  - install cpuid               0.1.2          [required by nocrypto]
  - install cstruct             6.0.1          [required by x509]
  - install cstruct-lwt         6.0.1          [required by nocrypto]
  - install cstruct-sexp        6.0.1          [required by x509]
  - install mirage-no-solo5     1 (deprecated) [required by nocrypto]
  - install mirage-no-xen       1 (deprecated) [required by nocrypto]
  - install nocrypto            0.5.4-2        [required by x509]
  - install num                 1.6            [required by sexplib]
  - install ocaml-compiler-libs v0.12.4        [required by ppxlib]
  - install ocb-stubblr         0.1.1-1        [required by nocrypto]
  - install parsexp             v0.16.0        [required by sexplib]
  - install ppx_derivers        1.2.1          [required by ppx_deriving]
  - install ppx_deriving        6.0.3          [required by nocrypto]
  - install ppx_sexp_conv       v0.16.0        [required by x509]
  - install ppxlib              0.35.0         [required by ppx_deriving, ppx_sexp_conv]
  - install ptime               1.2.0          [required by x509]
  - install sexplib             v0.16.0        [required by x509]
  - install sexplib0            v0.16.0        [required by sexplib, ppx_sexp_conv]
  - install stdlib-shims        0.3.0          [required by ppxlib]
  - install x509                0.6.3
  - install zarith              1.14           [required by asn1-combinators, nocrypto]

The following system packages will first need to be installed:
    libgmp-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" "libgmp-dev" "pkg-config"
- Selecting previously unselected package libgmpxx4ldbl: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 .../0-libgmpxx4ldbl_2%3a6.3.0+dfsg-3_amd64.deb ...
- Unpacking libgmpxx4ldbl:amd64 (2:6.3.0+dfsg-3) ...
- Selecting previously unselected package libgmp-dev:amd64.
- Preparing to unpack .../1-libgmp-dev_2%3a6.3.0+dfsg-3_amd64.deb ...
- Unpacking libgmp-dev:amd64 (2:6.3.0+dfsg-3) ...
- Selecting previously unselected package libpkgconf3:amd64.
- Preparing to unpack .../2-libpkgconf3_1.8.1-4_amd64.deb ...
- Unpacking libpkgconf3:amd64 (1.8.1-4) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../3-pkgconf-bin_1.8.1-4_amd64.deb ...
- Unpacking pkgconf-bin (1.8.1-4) ...
- Selecting previously unselected package pkgconf:amd64.
- Preparing to unpack .../4-pkgconf_1.8.1-4_amd64.deb ...
- Unpacking pkgconf:amd64 (1.8.1-4) ...
- Selecting previously unselected package pkg-config:amd64.
- Preparing to unpack .../5-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 libgmpxx4ldbl:amd64 (2:6.3.0+dfsg-3) ...
- Setting up pkgconf-bin (1.8.1-4) ...
- Setting up libgmp-dev:amd64 (2:6.3.0+dfsg-3) ...
- 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+deb13u1) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved asn1-combinators.0.2.6  (cached)
-> retrieved astring.0.8.5  (cached)
-> retrieved base.v0.16.4  (cached)
-> retrieved bigarray-compat.1.1.0  (cached)
-> retrieved conf-gmp.5  (cached)
-> retrieved cpuid.0.1.2  (cached)
-> retrieved cstruct.6.0.1, cstruct-lwt.6.0.1, cstruct-sexp.6.0.1  (cached)
-> installed mirage-no-solo5.1
-> installed mirage-no-xen.1
-> installed conf-gmp.5
-> installed conf-pkg-config.4
-> installed cpuid.0.1.2
-> installed bigarray-compat.1.1.0
-> retrieved nocrypto.0.5.4-2  (cached)
-> retrieved num.1.6  (cached)
-> retrieved ocaml-compiler-libs.v0.12.4  (cached)
-> retrieved ocb-stubblr.0.1.1-1  (cached)
-> retrieved parsexp.v0.16.0  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved ppx_deriving.6.0.3  (cached)
-> retrieved ppx_sexp_conv.v0.16.0  (cached)
-> installed ppx_derivers.1.2.1
-> installed cstruct.6.0.1
-> retrieved ppxlib.0.35.0  (cached)
-> retrieved ptime.1.2.0  (cached)
-> retrieved sexplib.v0.16.0  (cached)
-> retrieved sexplib0.v0.16.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved x509.0.6.3  (cached)
-> retrieved zarith.1.14  (cached)
-> installed cstruct-lwt.6.0.1
-> installed stdlib-shims.0.3.0
-> installed astring.0.8.5
-> installed sexplib0.v0.16.0
-> installed ocaml-compiler-libs.v0.12.4
-> installed ocb-stubblr.0.1.1-1
-> installed num.1.6
-> installed ptime.1.2.0
-> installed parsexp.v0.16.0
-> installed sexplib.v0.16.0
-> installed zarith.1.14
-> installed cstruct-sexp.6.0.1
-> installed asn1-combinators.0.2.6
-> installed base.v0.16.4
-> installed ppxlib.0.35.0
-> installed ppx_sexp_conv.v0.16.0
-> installed ppx_deriving.6.0.3
-> installed nocrypto.0.5.4-2
-> installed x509.0.6.3
Done.

<><> mirage-no-xen.1 installed successfully <><><><><><><><><><><><><><><><><><>
=> Note: This package is deprecated.

<><> mirage-no-solo5.1 installed successfully <><><><><><><><><><><><><><><><><>
=> Note: This package is deprecated.
# To update the current shell environment, run: eval $(opam env)
2026-01-28 01:30.25 ---> saved as "10a76be7db552b548d0631496848d16de24c43de30de937b76c8af7c9c27c162"

/home/opam: (run (network host)
                 (shell "(opam reinstall --with-test x509.0.6.3) || true"))
The following actions will be performed:
=== recompile 1 package
  - recompile x509         0.6.3
=== install 4 packages
  - install   cstruct-unix 6.0.1 [required by x509]
  - install   ounit        2.2.7 [required by x509]
  - install   ounit2       2.2.7 [required by ounit]
  - install   seq          base  [required by ounit2]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cstruct-unix.6.0.1  (https://opam.ocaml.org/cache)
-> installed cstruct-unix.6.0.1
-> 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 x509.0.6.3  (https://opam.ocaml.org/cache)
-> removed   x509.0.6.3
-> installed ounit2.2.2.7
-> installed ounit.2.2.7
-> installed x509.0.6.3
Done.
# To update the current shell environment, run: eval $(opam env)
2026-01-28 01:30.43 ---> saved as "4436f42704c0fd0fc97b472673e765b35cfdd08a05a5fe292b00009f98051381"

/home/opam: (run (shell  "opam reinstall --with-test --verbose x509.0.6.3;\
                        \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\" != 'x509.0.6.3' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
The following actions will be performed:
=== recompile 1 package
  - recompile x509 0.6.3

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/4: [x509.0.6.3: extract]
-> retrieved x509.0.6.3  (cached)
Processing  2/4: [x509: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "x509" "-j" "71" (CWD=/home/opam/.opam/4.14/.opam-switch/build/x509.0.6.3)
- (cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w -40 -safe-string -g -bin-annot -I lib/.x509.objs/byte -I lib/.x509.objs/public_cmi -I /home/opam/.opam/4.14/lib/asn1-combinators -I /home/opam/.opam/4.14/lib/astring -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/cstruct-sexp -I /home/opam/.opam/4.14/lib/nocrypto -I /home/opam/.opam/4.14/lib/parsexp -I /home/opam/.opam/4.14/lib/ppx_deriving/runtime -I /home/opam/.opam/4.14/lib/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/4.14/lib/ptime -I /home/opam/.opam/4.14/lib/sexplib -I /home/opam/.opam/4.14/lib/sexplib0 -I /home/opam/.opam/4.14/lib/zarith -no-alias-deps -o lib/.x509.objs/byte/asn_grammars.cmo -c -impl lib/asn_grammars.pp.ml)
- File "lib/asn_grammars.ml", line 11, characters 9-20:
- 11 |       if Cstruct.len cs = 0 then Ok a else Error (`Parse "Leftovers")
-               ^^^^^^^^^^^
- 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 -safe-string -g -bin-annot -I lib/.x509.objs/byte -I lib/.x509.objs/public_cmi -I /home/opam/.opam/4.14/lib/asn1-combinators -I /home/opam/.opam/4.14/lib/astring -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/cstruct-sexp -I /home/opam/.opam/4.14/lib/nocrypto -I /home/opam/.opam/4.14/lib/parsexp -I /home/opam/.opam/4.14/lib/ppx_deriving/runtime -I /home/opam/.opam/4.14/lib/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/4.14/lib/ptime -I /home/opam/.opam/4.14/lib/sexplib -I /home/opam/.opam/4.14/lib/sexplib0 -I /home/opam/.opam/4.14/lib/zarith -no-alias-deps -o lib/.x509.objs/byte/x509_certificate.cmo -c -impl lib/x509_certificate.pp.ml)
- File "lib/x509_certificate.ml", line 57, characters 22-33:
- 57 |   let s = Bytes.make (Cstruct.len cs * 3 - 1) ':' in
-                            ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "lib/x509_certificate.ml", line 58, characters 21-32:
- 58 |   for i = 0 to pred (Cstruct.len cs) do
-                           ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "lib/x509_certificate.ml", line 176, characters 15-26:
- 176 |   let siglen = Cstruct.len signature in
-                      ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "lib/x509_certificate.ml", line 180, characters 25-28:
- 180 |   Cstruct.(sub raw lenl (len raw - (siglen + lenl + 19 + off)))
-                                ^^^
- 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 -safe-string -g -bin-annot -I lib/.x509.objs/byte -I lib/.x509.objs/public_cmi -I /home/opam/.opam/4.14/lib/asn1-combinators -I /home/opam/.opam/4.14/lib/astring -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/cstruct-sexp -I /home/opam/.opam/4.14/lib/nocrypto -I /home/opam/.opam/4.14/lib/parsexp -I /home/opam/.opam/4.14/lib/ppx_deriving/runtime -I /home/opam/.opam/4.14/lib/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/4.14/lib/ptime -I /home/opam/.opam/4.14/lib/sexplib -I /home/opam/.opam/4.14/lib/sexplib0 -I /home/opam/.opam/4.14/lib/zarith -no-alias-deps -o lib/.x509.objs/byte/x509_pem.cmo -c -impl lib/x509_pem.pp.ml)
- File "lib/x509_pem.ml", line 11, characters 13-16:
- 11 |     let l1 = len cs and l2 = len target in
-                   ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "lib/x509_pem.ml", line 11, characters 29-32:
- 11 |     let l1 = len cs and l2 = len target in
-                                   ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "lib/x509_pem.ml", line 15, characters 13-16:
- 15 |     let l1 = len cs and l2 = len target in
-                   ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "lib/x509_pem.ml", line 15, characters 29-32:
- 15 |     let l1 = len cs and l2 = len target in
-                                   ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "lib/x509_pem.ml", line 19, characters 14-25:
- 19 | let null cs = Cstruct.len cs = 0
-                    ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "lib/x509_pem.ml", line 36, characters 38-41:
- 36 |       `Begin (to_string @@ sub cs 11 (len cs - 16)) else
-                                            ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "lib/x509_pem.ml", line 39, characters 35-38:
- 39 |       `End (to_string @@ sub cs 9 (len cs - 14)) else
-                                         ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "lib/x509_pem.ml", line 85, characters 13-16:
- 85 |     | x when len x <= 64 -> List.rev (x :: acc)
-                   ^^^
- 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 -safe-string -g -I lib/.x509.objs/byte -I lib/.x509.objs/native -I lib/.x509.objs/public_cmi -I /home/opam/.opam/4.14/lib/asn1-combinators -I /home/opam/.opam/4.14/lib/astring -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/cstruct-sexp -I /home/opam/.opam/4.14/lib/nocrypto -I /home/opam/.opam/4.14/lib/parsexp -I /home/opam/.opam/4.14/lib/ppx_deriving/runtime -I /home/opam/.opam/4.14/lib/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/4.14/lib/ptime -I /home/opam/.opam/4.14/lib/sexplib -I /home/opam/.opam/4.14/lib/sexplib0 -I /home/opam/.opam/4.14/lib/zarith -intf-suffix .ml -no-alias-deps -o lib/.x509.objs/native/asn_grammars.cmx -c -impl lib/asn_grammars.pp.ml)
- File "lib/asn_grammars.ml", line 11, characters 9-20:
- 11 |       if Cstruct.len cs = 0 then Ok a else Error (`Parse "Leftovers")
-               ^^^^^^^^^^^
- 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 -safe-string -g -I lib/.x509.objs/byte -I lib/.x509.objs/native -I lib/.x509.objs/public_cmi -I /home/opam/.opam/4.14/lib/asn1-combinators -I /home/opam/.opam/4.14/lib/astring -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/cstruct-sexp -I /home/opam/.opam/4.14/lib/nocrypto -I /home/opam/.opam/4.14/lib/parsexp -I /home/opam/.opam/4.14/lib/ppx_deriving/runtime -I /home/opam/.opam/4.14/lib/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/4.14/lib/ptime -I /home/opam/.opam/4.14/lib/sexplib -I /home/opam/.opam/4.14/lib/sexplib0 -I /home/opam/.opam/4.14/lib/zarith -intf-suffix .ml -no-alias-deps -o lib/.x509.objs/native/x509_certificate.cmx -c -impl lib/x509_certificate.pp.ml)
- File "lib/x509_certificate.ml", line 57, characters 22-33:
- 57 |   let s = Bytes.make (Cstruct.len cs * 3 - 1) ':' in
-                            ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "lib/x509_certificate.ml", line 58, characters 21-32:
- 58 |   for i = 0 to pred (Cstruct.len cs) do
-                           ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "lib/x509_certificate.ml", line 176, characters 15-26:
- 176 |   let siglen = Cstruct.len signature in
-                      ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "lib/x509_certificate.ml", line 180, characters 25-28:
- 180 |   Cstruct.(sub raw lenl (len raw - (siglen + lenl + 19 + off)))
-                                ^^^
- 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 -safe-string -g -I lib/.x509.objs/byte -I lib/.x509.objs/native -I lib/.x509.objs/public_cmi -I /home/opam/.opam/4.14/lib/asn1-combinators -I /home/opam/.opam/4.14/lib/astring -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/cstruct-sexp -I /home/opam/.opam/4.14/lib/nocrypto -I /home/opam/.opam/4.14/lib/parsexp -I /home/opam/.opam/4.14/lib/ppx_deriving/runtime -I /home/opam/.opam/4.14/lib/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/4.14/lib/ptime -I /home/opam/.opam/4.14/lib/sexplib -I /home/opam/.opam/4.14/lib/sexplib0 -I /home/opam/.opam/4.14/lib/zarith -intf-suffix .ml -no-alias-deps -o lib/.x509.objs/native/x509_pem.cmx -c -impl lib/x509_pem.pp.ml)
- File "lib/x509_pem.ml", line 11, characters 13-16:
- 11 |     let l1 = len cs and l2 = len target in
-                   ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "lib/x509_pem.ml", line 11, characters 29-32:
- 11 |     let l1 = len cs and l2 = len target in
-                                   ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "lib/x509_pem.ml", line 15, characters 13-16:
- 15 |     let l1 = len cs and l2 = len target in
-                   ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "lib/x509_pem.ml", line 15, characters 29-32:
- 15 |     let l1 = len cs and l2 = len target in
-                                   ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "lib/x509_pem.ml", line 19, characters 14-25:
- 19 | let null cs = Cstruct.len cs = 0
-                    ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "lib/x509_pem.ml", line 36, characters 38-41:
- 36 |       `Begin (to_string @@ sub cs 11 (len cs - 16)) else
-                                            ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "lib/x509_pem.ml", line 39, characters 35-38:
- 39 |       `End (to_string @@ sub cs 9 (len cs - 14)) else
-                                         ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "lib/x509_pem.ml", line 85, characters 13-16:
- 85 |     | x when len x <= 64 -> List.rev (x :: acc)
-                   ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
Processing  2/4: [x509: dune runtest]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "runtest" "-p" "x509" "-j" "71" (CWD=/home/opam/.opam/4.14/.opam-switch/build/x509.0.6.3)
- (cd _build/default/tests && ./unittestrunner.exe)
- .............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
- Ran: 3309 tests in: 3.12 seconds.
- OK
-> compiled  x509.0.6.3
-> removed   x509.0.6.3
-> installed x509.0.6.3
Done.
# To update the current shell environment, run: eval $(opam env)
2026-01-28 01:30.56 ---> saved as "765d5cde0b240edbc2e763a4e7df263a4c9da42fa93889d6e8d0262d7e395bb8"
Job succeeded
2026-01-28 01:31.03: Job succeeded