(for PR #28222)

2025-08-21 14:30.34: New job: test jose.0.8.2 with lwt.6.0.0~alpha01, using opam 2.3
                              from https://github.com/ocaml/opam-repository.git#refs/pull/28222/head (a14b2680809606d7e55ae7ed410b73438cb77bd0)
                              on debian-12-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/28222/head" && git reset --hard a14b2680
git fetch origin master
git merge --no-edit 4bae7ec4df49df4454ea492c8d7a1196aeae04e0
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.14@sha256:30169b3ce5a84172c049cfc64621b66e9a02a7b0431076f872278354c85107fe
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-2.3 /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~alpha01 6.0.0~alpha01
RUN opam reinstall lwt.6.0.0~alpha01; \
    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-12\""; 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~alpha01' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1
RUN opam reinstall jose.0.8.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-12\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'jose.0.8.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 jose.0.8.2) || true
RUN opam reinstall --with-test --verbose jose.0.8.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-12\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'jose.0.8.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-08-21 14:30.34: Using cache hint "ocaml/opam:debian-12-ocaml-4.14@sha256:30169b3ce5a84172c049cfc64621b66e9a02a7b0431076f872278354c85107fe-lwt.6.0.0~alpha01-jose.0.8.2-a14b2680809606d7e55ae7ed410b73438cb77bd0"
2025-08-21 14:30.34: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.14@sha256:30169b3ce5a84172c049cfc64621b66e9a02a7b0431076f872278354c85107fe)
 (user (uid 1000) (gid 1000))
 (workdir /home/opam)
 (run (shell "sudo ln -f /usr/bin/opam-2.3 /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~alpha01 6.0.0~alpha01"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall lwt.6.0.0~alpha01;\
             \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-12\\\"\"; 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~alpha01' && 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 jose.0.8.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-12\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'jose.0.8.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 jose.0.8.2) || true"))
 (run (shell  "opam reinstall --with-test --verbose jose.0.8.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-12\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'jose.0.8.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-08-21 14:30.34: Waiting for resource in pool OCluster
2025-08-21 16:07.52: Waiting for worker…
2025-08-21 16:09.37: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
HEAD is now at 4bae7ec4df Merge pull request #28375 from jmid/opam-compiler-re-bounds
Merge made by the 'ort' strategy.
 packages/curl_lwt/curl_lwt.0.10.0/opam            |  2 +-
 packages/lwt/lwt.6.0.0~alpha01/opam               | 69 +++++++++++++++++++++++
 packages/lwt_direct/lwt_direct.6.0.0~alpha01/opam | 44 +++++++++++++++
 packages/lwt_glib/lwt_glib.1.0.1/opam             |  2 +-
 packages/lwt_glib/lwt_glib.1.1.0/opam             |  2 +-
 packages/lwt_glib/lwt_glib.1.1.1/opam             |  2 +-
 packages/lwt_log/lwt_log.1.1.0/opam               |  2 +-
 packages/lwt_log/lwt_log.1.1.1/opam               |  2 +-
 packages/lwt_log/lwt_log.1.1.2/opam               |  2 +-
 packages/ocurl/ocurl.0.7.6/opam                   |  1 +
 packages/ocurl/ocurl.0.7.7/opam                   |  1 +
 packages/ocurl/ocurl.0.7.8/opam                   |  1 +
 packages/ocurl/ocurl.0.7.9/opam                   |  1 +
 packages/ocurl/ocurl.0.8.1/opam                   |  1 +
 packages/ocurl/ocurl.0.8.2/opam                   |  1 +
 packages/ocurl/ocurl.0.9.0/opam                   |  1 +
 packages/ocurl/ocurl.0.9.1/opam                   |  1 +
 packages/ocurl/ocurl.0.9.2/opam                   |  1 +
 18 files changed, 129 insertions(+), 7 deletions(-)
 create mode 100644 packages/lwt/lwt.6.0.0~alpha01/opam
 create mode 100644 packages/lwt_direct/lwt_direct.6.0.0~alpha01/opam

(from ocaml/opam:debian-12-ocaml-4.14@sha256:30169b3ce5a84172c049cfc64621b66e9a02a7b0431076f872278354c85107fe)
2025-08-21 16:11.16 ---> using "537aca729d05de45d9ac09e3b93ccdc5b8c76937ce3b719ce3df0f2d2da0c7bf" from cache

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-08-21 16:11.16 ---> using "400a87454d6dc7d86051874c3a4a0949638ee09ac6e41621fffb338590d67d99" 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 development version of opam requires an update to the layout of /home/opam/.opam from version 2.0 to version 2.2, which can't be reverted.
You may want to back it up before going further.

Continue? [y/n] y
[NOTE] The 'jobs' option was reset, its value was 71 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
           opam option jobs=71 --global
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-08-21 16:11.16 ---> using "10ebaa77c3950afde6ae5e5ee3d298575b2bb9dd2df8ed8f5a28d586868d5812" 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.3.0 (35acd0c5abc5e66cdbd5be16ba77aa6c33a4c724)
# self-upgrade         no
# system               arch=x86_64 os=linux os-distribution=debian os-version=12
# solver               builtin-0install
# install-criteria     -changed,-count[avoid-version,solution]
# upgrade-criteria     -count[avoid-version,solution]
# jobs                 255
# 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-08-21 16:11.16 ---> using "16e0ae132f82e09edc14f39675e45d96c9ea8daab8bb96f94565b25722def473" 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-08-21 16:11.16 ---> using "bb53264e2707ffa34eacebecb828aa1016b7cdf5858e170c6a5766753d7c944d" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2025-08-21 16:11.18 ---> using "131cdfa10de182f1db126a147d6d05c7348d7b43be298cc32b2ea8afd7638c93" from cache

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-08-21 16:11.18 ---> using "1e7b093d43c65b2105be8b3d73a27d040f99726cb29e8f3f3b73aadc2004f951" 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 bookworm InRelease
- Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
- Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
- Get:4 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [274 kB]
- Fetched 378 kB in 0s (1179 kB/s)
- Reading package lists...
2025-08-21 16:11.18 ---> using "5693e3d4c22ec04d3f3cd4d0285f9041558b0630d77655a1d7b2589182db92b7" from cache

/home/opam: (run (shell "opam pin add -k version -yn lwt.6.0.0~alpha01 6.0.0~alpha01"))
lwt is now pinned to version 6.0.0~alpha01
2025-08-21 16:11.18 ---> using "90b21a1ea0f140f38b0a9a995533f3297d4781b171d59ab944220620e9050658" from cache

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall lwt.6.0.0~alpha01;\
                        \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-12\\\"\"; 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~alpha01' && 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~alpha01 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.0                 [required by lwt]
  - install dune-configurator 3.20.0                 [required by lwt]
  - install lwt               6.0.0~alpha01 (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.0, dune-configurator.3.20.0  (cached)
-> retrieved lwt.6.0.0~alpha01  (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.0
-> 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.0
-> installed lwt.6.0.0~alpha01
Done.
# To update the current shell environment, run: eval $(opam env)
2025-08-21 16:11.18 ---> using "8f8cf70dca052d83d117d7d2c3ba415138f04f9804c7170ba0d9654151ac3770" from cache

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall jose.0.8.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-12\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'jose.0.8.2' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
jose.0.8.2 is not installed. Install it? [y/n] y
The following actions will be performed:
=== install 28 packages
  - install asn1-combinators  0.2.6   [required by x509]
  - install astring           0.8.5   [required by jose]
  - install base64            3.5.1   [required by jose]
  - install conf-gmp          5       [required by zarith, conf-gmp-powm-sec]
  - install conf-gmp-powm-sec 4       [required by mirage-crypto-pk]
  - install conf-pkg-config   4       [required by zarith]
  - install cstruct           6.2.0   [required by jose]
  - install domain-name       0.4.1   [required by x509]
  - install duration          0.2.1   [required by mirage-crypto-rng]
  - install eqaf              0.9     [required by jose]
  - install fmt               0.11.0  [required by cstruct, x509]
  - install gmap              0.3.0   [required by x509]
  - install ipaddr            5.6.1   [required by x509]
  - install jose              0.8.2
  - install logs              0.9.0   [required by x509]
  - install macaddr           5.6.1   [required by ipaddr]
  - install mirage-crypto     0.11.3  [required by jose]
  - install mirage-crypto-ec  0.11.3  [required by x509]
  - install mirage-crypto-pk  0.11.3  [required by x509]
  - install mirage-crypto-rng 0.11.3  [required by x509]
  - install ocamlbuild        0.16.1  [required by astring]
  - install pbkdf             1.2.0   [required by x509]
  - install ptime             1.2.0   [required by x509]
  - install sexplib0          v0.17.0 [required by mirage-crypto-pk]
  - install topkg             1.1.0   [required by astring]
  - install x509              0.16.5  [required by jose]
  - install yojson            3.0.0   [required by jose]
  - install zarith            1.14    [required by jose]

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"
- debconf: delaying package configuration, since apt-utils is not installed
- 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 ... 18747 files and directories currently installed.)
- Preparing to unpack .../0-libgmpxx4ldbl_2%3a6.2.1+dfsg1-1.1_amd64.deb ...
- Unpacking libgmpxx4ldbl:amd64 (2:6.2.1+dfsg1-1.1) ...
- Selecting previously unselected package libgmp-dev:amd64.
- Preparing to unpack .../1-libgmp-dev_2%3a6.2.1+dfsg1-1.1_amd64.deb ...
- Unpacking libgmp-dev:amd64 (2:6.2.1+dfsg1-1.1) ...
- Selecting previously unselected package libpkgconf3:amd64.
- Preparing to unpack .../2-libpkgconf3_1.8.1-1_amd64.deb ...
- Unpacking libpkgconf3:amd64 (1.8.1-1) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../3-pkgconf-bin_1.8.1-1_amd64.deb ...
- Unpacking pkgconf-bin (1.8.1-1) ...
- Selecting previously unselected package pkgconf:amd64.
- Preparing to unpack .../4-pkgconf_1.8.1-1_amd64.deb ...
- Unpacking pkgconf:amd64 (1.8.1-1) ...
- Selecting previously unselected package pkg-config:amd64.
- Preparing to unpack .../5-pkg-config_1.8.1-1_amd64.deb ...
- Unpacking pkg-config:amd64 (1.8.1-1) ...
- Setting up libpkgconf3:amd64 (1.8.1-1) ...
- Setting up libgmpxx4ldbl:amd64 (2:6.2.1+dfsg1-1.1) ...
- Setting up pkgconf-bin (1.8.1-1) ...
- Setting up libgmp-dev:amd64 (2:6.2.1+dfsg1-1.1) ...
- Setting up pkgconf:amd64 (1.8.1-1) ...
- Setting up pkg-config:amd64 (1.8.1-1) ...
- Processing triggers for libc-bin (2.36-9+deb12u10) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved asn1-combinators.0.2.6  (cached)
-> retrieved astring.0.8.5  (cached)
-> retrieved base64.3.5.1  (cached)
-> retrieved conf-gmp.5  (cached)
-> retrieved conf-gmp-powm-sec.4  (cached)
-> retrieved cstruct.6.2.0  (cached)
-> retrieved domain-name.0.4.1  (cached)
-> installed conf-gmp.5
-> installed conf-pkg-config.4
-> retrieved duration.0.2.1  (cached)
-> retrieved eqaf.0.9  (cached)
-> retrieved fmt.0.11.0  (cached)
-> retrieved gmap.0.3.0  (cached)
-> retrieved ipaddr.5.6.1, macaddr.5.6.1  (cached)
-> installed conf-gmp-powm-sec.4
-> retrieved jose.0.8.2  (cached)
-> retrieved logs.0.9.0  (cached)
-> installed duration.0.2.1
-> installed domain-name.0.4.1
-> installed gmap.0.3.0
-> installed base64.3.5.1
-> installed macaddr.5.6.1
-> retrieved mirage-crypto.0.11.3, mirage-crypto-ec.0.11.3, mirage-crypto-pk.0.11.3, mirage-crypto-rng.0.11.3  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> installed ipaddr.5.6.1
-> retrieved pbkdf.1.2.0  (cached)
-> retrieved ptime.1.2.0  (cached)
-> retrieved sexplib0.v0.17.0  (cached)
-> retrieved topkg.1.1.0  (cached)
-> retrieved x509.0.16.5  (cached)
-> retrieved yojson.3.0.0  (cached)
-> retrieved zarith.1.14  (cached)
-> installed sexplib0.v0.17.0
-> installed yojson.3.0.0
-> installed zarith.1.14
-> installed ocamlbuild.0.16.1
-> installed topkg.1.1.0
-> installed fmt.0.11.0
-> installed ptime.1.2.0
-> installed astring.0.8.5
-> installed cstruct.6.2.0
-> installed eqaf.0.9
-> installed asn1-combinators.0.2.6
-> installed logs.0.9.0
-> installed mirage-crypto.0.11.3
-> installed pbkdf.1.2.0
-> installed mirage-crypto-rng.0.11.3
-> installed mirage-crypto-pk.0.11.3
-> installed mirage-crypto-ec.0.11.3
-> installed x509.0.16.5
-> installed jose.0.8.2
Done.
# To update the current shell environment, run: eval $(opam env)
2025-08-21 16:11.49 ---> saved as "68805656aa1c4a15656e78f43df81352a73214db2ce08beb725f3684cf8ed997"

/home/opam: (run (network host)
                 (shell "(opam reinstall --with-test jose.0.8.2) || true"))
The following actions will be performed:
=== downgrade 4 packages
  - downgrade mirage-crypto       0.11.3 to 0.10.7 [required by jose]
  - downgrade mirage-crypto-ec    0.11.3 to 0.10.7 [uses mirage-crypto]
  - downgrade mirage-crypto-pk    0.11.3 to 0.10.7 [uses mirage-crypto]
  - downgrade mirage-crypto-rng   0.11.3 to 0.10.7 [required by jose]
=== recompile 8 packages
  - recompile asn1-combinators    0.2.6            [uses cstruct]
  - recompile cstruct             6.2.0            [uses fmt]
  - recompile eqaf                0.9              [uses cstruct]
  - recompile fmt                 0.11.0           [uses cmdliner]
  - recompile jose                0.8.2
  - recompile logs                0.9.0            [uses cmdliner]
  - recompile pbkdf               1.2.0            [uses mirage-crypto]
  - recompile x509                0.16.5           [uses mirage-crypto]
=== install 19 packages
  - install   alcotest            1.9.0            [required by jose]
  - install   bisect_ppx          2.8.3            [required by jose]
  - install   cmdliner            1.3.0            [required by alcotest, bisect_ppx]
  - install   containers          3.16             [required by jose]
  - install   either              1.0.0            [required by containers]
  - install   junit               2.3.0            [required by jose]
  - install   junit_alcotest      2.3.0            [required by jose]
  - install   mirage-no-solo5     1 (deprecated)   [required by mirage-crypto-pk]
  - install   mirage-no-xen       1 (deprecated)   [required by mirage-crypto-pk]
  - install   mtime               2.1.0            [required by mirage-crypto-rng]
  - install   ocaml-compiler-libs v0.12.4          [required by ppxlib]
  - install   ocaml-syntax-shims  1.0.0            [required by alcotest]
  - install   ppx_derivers        1.2.1            [required by ppxlib]
  - install   ppxlib              0.35.0           [required by bisect_ppx]
  - install   re                  1.13.2           [required by alcotest]
  - install   seq                 base             [required by re, tyxml]
  - install   stdlib-shims        0.3.0            [required by alcotest]
  - install   tyxml               4.6.0            [required by junit]
  - install   uutf                1.0.4            [required by alcotest]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved alcotest.1.9.0  (https://opam.ocaml.org/cache)
-> retrieved asn1-combinators.0.2.6  (https://opam.ocaml.org/cache)
-> retrieved bisect_ppx.2.8.3  (https://opam.ocaml.org/cache)
-> retrieved cmdliner.1.3.0  (https://opam.ocaml.org/cache)
-> retrieved containers.3.16  (https://opam.ocaml.org/cache)
-> retrieved cstruct.6.2.0  (https://opam.ocaml.org/cache)
-> retrieved either.1.0.0  (https://opam.ocaml.org/cache)
-> retrieved eqaf.0.9  (https://opam.ocaml.org/cache)
-> retrieved fmt.0.11.0  (https://opam.ocaml.org/cache)
-> installed either.1.0.0
-> retrieved jose.0.8.2  (https://opam.ocaml.org/cache)
-> retrieved junit.2.3.0, junit_alcotest.2.3.0  (https://opam.ocaml.org/cache)
-> retrieved logs.0.9.0  (https://opam.ocaml.org/cache)
-> retrieved mirage-crypto.0.10.7, mirage-crypto-ec.0.10.7, mirage-crypto-pk.0.10.7, mirage-crypto-rng.0.10.7  (https://opam.ocaml.org/cache)
-> installed mirage-no-solo5.1
-> installed mirage-no-xen.1
-> retrieved mtime.2.1.0  (https://opam.ocaml.org/cache)
-> retrieved ocaml-compiler-libs.v0.12.4  (https://opam.ocaml.org/cache)
-> retrieved ocaml-syntax-shims.1.0.0  (https://opam.ocaml.org/cache)
-> retrieved pbkdf.1.2.0  (https://opam.ocaml.org/cache)
-> retrieved ppx_derivers.1.2.1  (https://opam.ocaml.org/cache)
-> installed ppx_derivers.1.2.1
-> retrieved ppxlib.0.35.0  (https://opam.ocaml.org/cache)
-> retrieved re.1.13.2  (https://opam.ocaml.org/cache)
-> installed cmdliner.1.3.0
-> installed containers.3.16
-> installed mtime.2.1.0
-> installed ocaml-compiler-libs.v0.12.4
-> installed ocaml-syntax-shims.1.0.0
-> retrieved seq.base  (2 extra sources)
-> retrieved seq.base  (2 extra sources)
-> installed seq.base
-> retrieved stdlib-shims.0.3.0  (https://opam.ocaml.org/cache)
-> retrieved tyxml.4.6.0  (https://opam.ocaml.org/cache)
-> removed   jose.0.8.2
-> installed stdlib-shims.0.3.0
-> retrieved uutf.1.0.4  (https://opam.ocaml.org/cache)
-> retrieved x509.0.16.5  (https://opam.ocaml.org/cache)
-> removed   x509.0.16.5
-> removed   asn1-combinators.0.2.6
-> removed   mirage-crypto-ec.0.11.3
-> removed   mirage-crypto-pk.0.11.3
-> removed   mirage-crypto-rng.0.11.3
-> removed   logs.0.9.0
-> removed   pbkdf.1.2.0
-> removed   mirage-crypto.0.11.3
-> removed   eqaf.0.9
-> removed   cstruct.6.2.0
-> removed   fmt.0.11.0
-> installed re.1.13.2
-> installed fmt.0.11.0
-> installed uutf.1.0.4
-> installed cstruct.6.2.0
-> installed eqaf.0.9
-> installed asn1-combinators.0.2.6
-> installed alcotest.1.9.0
-> installed logs.0.9.0
-> installed mirage-crypto.0.10.7
-> installed pbkdf.1.2.0
-> installed mirage-crypto-rng.0.10.7
-> installed tyxml.4.6.0
-> installed mirage-crypto-pk.0.10.7
-> installed junit.2.3.0
-> installed junit_alcotest.2.3.0
-> installed mirage-crypto-ec.0.10.7
-> installed x509.0.16.5
-> installed ppxlib.0.35.0
-> installed bisect_ppx.2.8.3
-> installed jose.0.8.2
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)
2025-08-21 16:12.18 ---> saved as "c8f92ab4235cfb20781a94c265af840d1b2b826061839b821035f4010e7f5439"

/home/opam: (run (shell  "opam reinstall --with-test --verbose jose.0.8.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-12\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'jose.0.8.2' && 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 jose 0.8.2

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/4: [jose.0.8.2: extract]
-> retrieved jose.0.8.2  (cached)
Processing  2/4: [jose: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "jose" "-j" "255" "@install" "@runtest" (CWD=/home/opam/.opam/4.14/.opam-switch/build/jose.0.8.2)
- (cd _build/default/test && ./test.exe)
- Testing `JWE'.
- This run has ID `ODVIC55W'.
- 
-   [OK]          JWE          0   Can create and validate my own RSA-OAEP with...
-   [OK]          JWE          1   Can create and validate my own RSA_OAEP with...
-   [OK]          JWE          2   Can create and validate my own RSA1_5 with A...
-   [OK]          JWE          3   Can create and validate my own RSA1_5 with A...
- 
- Full test results in `~/.opam/4.14/.opam-switch/build/jose.0.8.2/_build/default/test/_build/_tests/JWE'.
- Test Successful in 0.113s. 4 tests run.
- Testing `JWK'.
- This run has ID `JOJISHG1'.
- 
-   [OK]          JWK          0   pub - Creates a correct JWK from pem.
-   [OK]          JWK          1   pub - Roundtrip rsa.
-   [OK]          JWK          2   pub - of_pub_json_string.
-   [OK]          JWK          3   pub - make_oct.
-   [OK]          JWK          4   pub - to_pub_json_string oct.
-   [OK]          JWK          5   pub - to_pub_json_string rsa.
-   [OK]          JWK          6   priv - to_pub_json_string rsa.
-   [OK]          JWK          7   pub - of_pub_json_string oct.
-   [OK]          JWK          8   priv - Creates a correct JWK from pem.
-   [OK]          JWK          9   priv - of_priv_json_string rsa.
-   [OK]          JWK         10   priv - Roundtrip.
-   [OK]          JWK         11   priv - Roundtrip to pub.
-   [OK]          JWK         12   priv - to_priv_json_string rsa.
-   [OK]          JWK         13   priv - oct_of_string.
-   [OK]          JWK         14   priv - to_priv_json_string oct.
-   [OK]          JWK         15   priv - of_priv_json_string oct.
-   [OK]          JWK         16   pub - parse without alg and use.
-   [OK]          JWK         17   P256 - thumbprint.
-   [OK]          JWK         18   P256 - thumbprint.
- 
- Full test results in `~/.opam/4.14/.opam-switch/build/jose.0.8.2/_build/default/test/_build/_tests/JWK'.
- Test Successful in 0.020s. 19 tests run.
- Testing `JWKs'.
- This run has ID `8PAVY32C'.
- 
-   [OK]          JWKs          0   Creates a correct JSON from a JWKs.
-   [OK]          JWKs          1   Creates a correct JWKs from JSON.
-   [OK]          JWKs          2   Parses without alg.
-   [OK]          JWKs          3   Can get correct JWK from Microsoft.
- 
- Full test results in `~/.opam/4.14/.opam-switch/build/jose.0.8.2/_build/default/test/_build/_tests/JWKs'.
- Test Successful in 0.001s. 4 tests run.
- Testing `JWT'.
- This run has ID `PZUE0JM5'.
- 
-   [OK]          JWT          0   Can validate a RSA256 JWT.
-   [OK]          JWT          1   Can validate a HS256 JWT.
-   [OK]          JWT          2   Can create a JWT with RSA256.
-   [OK]          JWT          3   Can create a JWT with HS256.
-   [OK]          JWT          4   Can create a JWT with ES256.
-   [OK]          JWT          5   Can validate my own RSA JWT (priv rsa).
-   [OK]          JWT          6   Can validate my own RSA JWT (pub rsa).
-   [OK]          JWT          7   Can validate my own OCT JWT.
-   [OK]          JWT          8   Can validate my own EC JWT (pub es256).
-   [OK]          JWT          9   Can validate my own EC JWT (pub es256).
-   [OK]          JWT         10   Can validate my own EC JWT (pub es512).
-   [OK]          JWT         11   Can parse JWT without kid.
-   [OK]          JWT         12   rfc7515 A.3.
-   [OK]          JWT         13   Checks for expiration when calling `of_string`.
-   [OK]          JWT         14   claim getters.
-   [OK]          JWT         15   Can create JWT without header.
- 
- Full test results in `~/.opam/4.14/.opam-switch/build/jose.0.8.2/_build/default/test/_build/_tests/JWT'.
- Test Successful in 0.085s. 16 tests run.
- Testing `RFC7520'.
- This run has ID `Q49YVKWN'.
- 
-   [OK]          JWS RSA            0   Can verify jws.
-   [OK]          JWS RSA            1   Generates the same JWS.
-   [OK]          JWS ECDSA          0   Can verify jws.
-   [OK]          JWS oct            0   Can verify jws.
-   [OK]          JWS oct            1   Generates the same JWS.
-   [OK]          JWS oct            2   Cannot verify invalid signature.
-   [OK]          JWE RSA            0   Can encrypt a JWE Using RSA v1.5 and A...
-   [OK]          JWE RSA            1   Can encrypt a JWE Using RSA-OAEP with ...
-   [OK]          JWE RSA            2   Can decrypt a JWE Using RSA v1.5 and A...
-   [OK]          JWE RSA            3   Can decrypt a JWE Using RSA-OAEP with ...
- 
- Full test results in `~/.opam/4.14/.opam-switch/build/jose.0.8.2/_build/default/test/_build/_tests/RFC7520'.
- Test Successful in 0.096s. 10 tests run.
- Testing `RFC7638'.
- This run has ID `W1XMLOEU'.
- 
-   [OK]          RFC 7638          0   Correct fields are used from public RSA...
-   [OK]          RFC 7638          1   Thumbprint from a private RSA key and i...
-   [OK]          RFC 7638          2   Thumbprint for symmetric keys is never ...
- 
- Full test results in `~/.opam/4.14/.opam-switch/build/jose.0.8.2/_build/default/test/_build/_tests/RFC7638'.
- Test Successful in 0.003s. 3 tests run.
-> compiled  jose.0.8.2
-> removed   jose.0.8.2
-> installed jose.0.8.2
Done.
# To update the current shell environment, run: eval $(opam env)
2025-08-21 16:12.23 ---> saved as "ab794419cf633a57ff2e7d55cbe18407c4139de99066d8a8ad675d36b02c530c"
Job succeeded
2025-08-21 16:12.33: Job succeeded