Build:
  1. 0
2024-02-11 20:23.49: New job: test ca-certs-nss.3.66 with conf-pkg-config.1.2, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/25235/head (8c7391d6ec81e93f24de221eb32a886b72d1ede6)
                              on debian-12-ocaml-5.1/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/25235/head" && git reset --hard 8c7391d6
git fetch origin master
git merge --no-edit 8477e9a74beb40d85534ab7653b65d45607a147f
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.1@sha256:931805f2c2fdb0b5642ae8463ff0780c2ee3f4afb48734a7d94e2d5163429930
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-dev /usr/bin/opam
RUN opam init --reinit -ni
ENV OPAMDOWNLOADJOBS="1"
ENV OPAMERRLOGLEN="0"
ENV OPAMSOLVERTIMEOUT="500"
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
ENV OPAMCRITERIA="-removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed"
ENV OPAMFIXUPCRITERIA="-removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed"
ENV OPAMUPGRADECRITERIA="-removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed"
RUN opam pin add -k version -yn conf-pkg-config.1.2 1.2
RUN opam reinstall conf-pkg-config.1.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" != 'conf-pkg-config.1.2' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1
ENV OPAMCRITERIA="-removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed"
ENV OPAMFIXUPCRITERIA="-removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed"
ENV OPAMUPGRADECRITERIA="-removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed"
RUN opam reinstall ca-certs-nss.3.66; \
    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" != 'ca-certs-nss.3.66' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1
ENV OPAMCRITERIA="-removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed"
ENV OPAMFIXUPCRITERIA="-removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed"
ENV OPAMUPGRADECRITERIA="-removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed"
RUN (opam reinstall --with-test ca-certs-nss.3.66) || true
RUN opam reinstall --with-test --verbose ca-certs-nss.3.66; \
    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" != 'ca-certs-nss.3.66' && 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 .

2024-02-11 20:23.49: Using cache hint "ocaml/opam:debian-12-ocaml-5.1@sha256:931805f2c2fdb0b5642ae8463ff0780c2ee3f4afb48734a7d94e2d5163429930-conf-pkg-config.1.2-ca-certs-nss.3.66-8c7391d6ec81e93f24de221eb32a886b72d1ede6"
2024-02-11 20:23.49: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.1@sha256:931805f2c2fdb0b5642ae8463ff0780c2ee3f4afb48734a7d94e2d5163429930)
 (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"))
 (env OPAMDOWNLOADJOBS 1)
 (env OPAMERRLOGLEN 0)
 (env OPAMSOLVERTIMEOUT 500)
 (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"))
 (env OPAMCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)
 (env OPAMFIXUPCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)
 (env OPAMUPGRADECRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)
 (run (shell "opam pin add -k version -yn conf-pkg-config.1.2 1.2"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall conf-pkg-config.1.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\" != 'conf-pkg-config.1.2' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
 (env OPAMCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)
 (env OPAMFIXUPCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)
 (env OPAMUPGRADECRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall ca-certs-nss.3.66;\
             \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\" != 'ca-certs-nss.3.66' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
 (env OPAMCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)
 (env OPAMFIXUPCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)
 (env OPAMUPGRADECRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)
 (run (network host)
      (shell "(opam reinstall --with-test ca-certs-nss.3.66) || true"))
 (run (shell  "opam reinstall --with-test --verbose ca-certs-nss.3.66;\
             \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\" != 'ca-certs-nss.3.66' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2024-02-11 20:23.49: Waiting for resource in pool OCluster
2024-02-12 19:32.00: Waiting for worker…
2024-02-12 19:33.55: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
Updating files:  86% (28495/32918)
Updating files:  87% (28639/32918)
Updating files:  88% (28968/32918)
Updating files:  89% (29298/32918)
Updating files:  90% (29627/32918)
Updating files:  91% (29956/32918)
Updating files:  92% (30285/32918)
Updating files:  93% (30614/32918)
Updating files:  94% (30943/32918)
Updating files:  95% (31273/32918)
Updating files:  96% (31602/32918)
Updating files:  97% (31931/32918)
Updating files:  98% (32260/32918)
Updating files:  99% (32589/32918)
Updating files: 100% (32918/32918)
Updating files: 100% (32918/32918), done.
HEAD is now at 8477e9a74b Merge pull request #25221 from nberth/mlgmpidl-1.3.0
Updating 8477e9a74b..8c7391d6ec
Fast-forward
 packages/conf-pkg-config/conf-pkg-config.1.0/opam | 2 +-
 packages/conf-pkg-config/conf-pkg-config.1.1/opam | 1 +
 packages/conf-pkg-config/conf-pkg-config.1.2/opam | 1 +
 packages/conf-pkg-config/conf-pkg-config.1.3/opam | 1 +
 packages/conf-pkg-config/conf-pkg-config.2/opam   | 1 +
 packages/conf-pkg-config/conf-pkg-config.3/opam   | 4 +++-
 6 files changed, 8 insertions(+), 2 deletions(-)

(from ocaml/opam:debian-12-ocaml-5.1@sha256:931805f2c2fdb0b5642ae8463ff0780c2ee3f4afb48734a7d94e2d5163429930)
2024-02-12 19:49.07 ---> using "4df7ce52b8e0afe130cbfff7d9b001e43cae58bd8e8710cd073ce7c11b1c6ac8" from cache

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2024-02-12 19:49.07 ---> using "2ee14a5dbb7aa54ab1dfa5adba4422c5a5483941525d4174e8eeed0c4c5e97aa" 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~alpha, 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] synchronised from file:///home/opam/opam-repository
2024-02-12 19:49.07 ---> using "d58131e4d084860f74dbebecfc9a35ebb7fbb42cf58093b5ac6cf0adf11ed898" from cache

/home/opam: (env OPAMDOWNLOADJOBS 1)

/home/opam: (env OPAMERRLOGLEN 0)

/home/opam: (env OPAMSOLVERTIMEOUT 500)

/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/"))
2024-02-12 19:49.07 ---> using "e76676ee91f5598b65d18de047738848e5af056a75e3436903dc82ff5702c5a6" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2024-02-12 19:49.09 ---> using "00dcf922e87fec2f8ccdd0b44355d41faed143c596db4bfe8812d0e9c5f33f02" from cache

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2024-02-12 19:49.09 ---> using "d6c8604b98b9d01914259989eafdfad7780b6c9f761a469dfe3162a56ba73510" from cache

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB]
- Get:2 http://deb.debian.org/debian bookworm-updates InRelease [52.1 kB]
- Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
- Get:4 http://deb.debian.org/debian bookworm/main amd64 Packages [8786 kB]
- Get:5 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [137 kB]
- Fetched 9175 kB in 1s (6257 kB/s)
- Reading package lists...
- 
2024-02-12 19:49.09 ---> using "6245d7929b862e6b37f451133c05d21883283d0248743f67197f2e424fe52d69" from cache

/home/opam: (env OPAMCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)

/home/opam: (env OPAMFIXUPCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)

/home/opam: (env OPAMUPGRADECRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)

/home/opam: (run (shell "opam pin add -k version -yn conf-pkg-config.1.2 1.2"))
conf-pkg-config is now pinned to version 1.2
2024-02-12 19:49.09 ---> using "8c93380d2ff9f8574e0d694d02b593f1bcffc4ad4341b85941c7abc0f7411957" from cache

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

The following system packages will first need to be installed:
    pkg-config

<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>

opam believes some required external dependencies are missing. opam can:
> 1. Run apt-get to install them (may need root/sudo access)
  2. Display the recommended apt-get command and wait while you run it manually (e.g. in another terminal)
  3. Continue anyway, and, upon success, permanently register that this external dependency is present, but not detectable
  4. Abort the installation

[1/2/3/4] 1

+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "pkg-config"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package libpkgconf3:amd64.
- (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 18774 files and directories currently installed.)
- Preparing to unpack .../libpkgconf3_1.8.1-1_amd64.deb ...
- Unpacking libpkgconf3:amd64 (1.8.1-1) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../pkgconf-bin_1.8.1-1_amd64.deb ...
- Unpacking pkgconf-bin (1.8.1-1) ...
- Selecting previously unselected package pkgconf:amd64.
- Preparing to unpack .../pkgconf_1.8.1-1_amd64.deb ...
- Unpacking pkgconf:amd64 (1.8.1-1) ...
- Selecting previously unselected package pkg-config:amd64.
- Preparing to unpack .../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 pkgconf-bin (1.8.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+deb12u4) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed conf-pkg-config.1.2
Done.
# Run eval $(opam env) to update the current shell environment
2024-02-12 19:49.09 ---> using "5e9c2e7cd37deee211329af698b5958f49f052be907d8360c30cbb9696858e09" from cache

/home/opam: (env OPAMCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)

/home/opam: (env OPAMFIXUPCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)

/home/opam: (env OPAMUPGRADECRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall ca-certs-nss.3.66;\
                        \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\" != 'ca-certs-nss.3.66' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
ca-certs-nss.3.66 is not installed. Install it? [y/n] y
The following actions will be performed:
=== install 34 packages
  - install asn1-combinators  0.2.6   [required by x509]
  - install astring           0.8.5   [required by ca-certs-nss]
  - install base64            3.5.1   [required by x509]
  - install bos               0.2.1   [required by ca-certs-nss]
  - install ca-certs-nss      3.66
  - install cmdliner          1.2.0   [required by ca-certs-nss]
  - install conf-gmp          4       [required by zarith, conf-gmp-powm-sec]
  - install conf-gmp-powm-sec 3       [required by mirage-crypto-pk]
  - install csexp             1.5.2   [required by dune-configurator]
  - install cstruct           6.2.0   [required by mirage-crypto, hex, x509]
  - install domain-name       0.4.0   [required by x509]
  - install dune              3.13.1  [required by ca-certs-nss]
  - install dune-configurator 3.13.1  [required by mirage-crypto]
  - install duration          0.2.1   [required by mirage-crypto-rng]
  - install eqaf              0.9     [required by mirage-crypto]
  - install fmt               0.9.0   [required by ca-certs-nss]
  - install fpath             0.7.3   [required by bos]
  - install gmap              0.3.0   [required by x509]
  - install hex               1.5.0   [required by ca-certs-nss]
  - install logs              0.7.0   [required by ca-certs-nss]
  - install mirage-clock      4.2.0   [required by ca-certs-nss]
  - install mirage-crypto     0.11.2  [required by ca-certs-nss]
  - install mirage-crypto-ec  0.11.2  [required by x509]
  - install mirage-crypto-pk  0.11.2  [required by x509]
  - install mirage-crypto-rng 0.11.2  [required by x509]
  - install ocamlbuild        0.14.3  [required by astring, bos]
  - install ocamlfind         1.9.6   [required by astring, bos]
  - install pbkdf             1.2.0   [required by x509]
  - install ptime             1.1.0   [required by x509]
  - install rresult           0.7.0   [required by ca-certs-nss]
  - install sexplib0          v0.16.0 [required by mirage-crypto-pk]
  - install topkg             1.0.7   [required by astring, bos]
  - install x509              0.14.1  [required by ca-certs-nss]
  - install zarith            1.13    [required by asn1-combinators, mirage-crypto-pk]

The following system packages will first need to be installed:
    libgmp-dev

<><> 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"
- 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 ... 18810 files and directories currently installed.)
- Preparing to unpack .../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 .../libgmp-dev_2%3a6.2.1+dfsg1-1.1_amd64.deb ...
- Unpacking libgmp-dev:amd64 (2:6.2.1+dfsg1-1.1) ...
- Setting up libgmpxx4ldbl:amd64 (2:6.2.1+dfsg1-1.1) ...
- Setting up libgmp-dev:amd64 (2:6.2.1+dfsg1-1.1) ...
- Processing triggers for libc-bin (2.36-9+deb12u4) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved asn1-combinators.0.2.6  (cached)
-> retrieved astring.0.8.5  (cached)
-> retrieved base64.3.5.1  (cached)
-> retrieved bos.0.2.1  (cached)
-> retrieved ca-certs-nss.3.66  (cached)
-> retrieved cmdliner.1.2.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved cstruct.6.2.0  (cached)
-> installed conf-gmp.4
-> retrieved domain-name.0.4.0  (cached)
-> installed conf-gmp-powm-sec.3
-> retrieved dune.3.13.1, dune-configurator.3.13.1  (cached)
-> retrieved duration.0.2.1  (cached)
-> retrieved eqaf.0.9  (cached)
-> retrieved fmt.0.9.0  (cached)
-> retrieved fpath.0.7.3  (cached)
-> retrieved gmap.0.3.0  (cached)
-> retrieved hex.1.5.0  (cached)
-> retrieved logs.0.7.0  (cached)
-> retrieved mirage-clock.4.2.0  (cached)
-> installed cmdliner.1.2.0
-> retrieved mirage-crypto.0.11.2, mirage-crypto-ec.0.11.2, mirage-crypto-pk.0.11.2, mirage-crypto-rng.0.11.2  (cached)
-> retrieved ocamlbuild.0.14.3  (cached)
-> retrieved ocamlfind.1.9.6  (cached)
-> retrieved pbkdf.1.2.0  (cached)
-> retrieved ptime.1.1.0  (cached)
-> retrieved rresult.0.7.0  (cached)
-> retrieved sexplib0.v0.16.0  (cached)
-> retrieved topkg.1.0.7  (cached)
-> retrieved x509.0.14.1  (cached)
-> retrieved zarith.1.13  (cached)
-> installed ocamlfind.1.9.6
-> installed ocamlbuild.0.14.3
-> installed zarith.1.13
-> installed topkg.1.0.7
-> installed rresult.0.7.0
-> installed fmt.0.9.0
-> installed ptime.1.1.0
-> installed astring.0.8.5
-> installed fpath.0.7.3
-> installed logs.0.7.0
-> installed dune.3.13.1
-> installed bos.0.2.1
-> installed mirage-clock.4.2.0
-> installed duration.0.2.1
-> installed gmap.0.3.0
-> installed csexp.1.5.2
-> installed base64.3.5.1
-> installed cstruct.6.2.0
-> installed domain-name.0.4.0
-> installed sexplib0.v0.16.0
-> installed hex.1.5.0
-> installed eqaf.0.9
-> installed asn1-combinators.0.2.6
-> installed dune-configurator.3.13.1
-> installed mirage-crypto.0.11.2
-> installed pbkdf.1.2.0
-> installed mirage-crypto-rng.0.11.2
-> installed mirage-crypto-pk.0.11.2
-> installed mirage-crypto-ec.0.11.2
-> installed x509.0.14.1
-> installed ca-certs-nss.3.66
Done.
# Run eval $(opam env) to update the current shell environment
2024-02-12 19:49.49 ---> saved as "ba0df191a1f5bd798faa4ce8a5c64d31a915f6a08e1ae51337ecb51c0090ddd0"

/home/opam: (env OPAMCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)

/home/opam: (env OPAMFIXUPCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)

/home/opam: (env OPAMUPGRADECRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)

/home/opam: (run (network host)
                 (shell "(opam reinstall --with-test ca-certs-nss.3.66) || true"))
The following actions will be performed:
=== recompile 1 package
  - recompile ca-certs-nss       3.66
=== install 6 packages
  - install   alcotest           1.7.0  [required by ca-certs-nss]
  - install   ocaml-syntax-shims 1.0.0  [required by alcotest]
  - install   re                 1.11.0 [required by alcotest]
  - install   seq                base   [required by re]
  - install   stdlib-shims       0.3.0  [required by alcotest]
  - install   uutf               1.0.3  [required by alcotest]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved alcotest.1.7.0  (https://github.com/mirage/alcotest/releases/download/1.7.0/alcotest-1.7.0.tbz)
-> retrieved ca-certs-nss.3.66  (https://github.com/mirage/ca-certs-nss/releases/download/v3.66/ca-certs-nss-v3.66.tbz)
-> retrieved ocaml-syntax-shims.1.0.0  (https://github.com/ocaml-ppx/ocaml-syntax-shims/releases/download/1.0.0/ocaml-syntax-shims-1.0.0.tbz)
-> retrieved re.1.11.0  (https://github.com/ocaml/ocaml-re/releases/download/1.11.0/re-1.11.0.tbz)
-> installed seq.base
-> installed ocaml-syntax-shims.1.0.0
-> retrieved stdlib-shims.0.3.0  (https://github.com/ocaml/stdlib-shims/releases/download/0.3.0/stdlib-shims-0.3.0.tbz)
-> retrieved uutf.1.0.3  (https://erratique.ch/software/uutf/releases/uutf-1.0.3.tbz)
-> installed stdlib-shims.0.3.0
-> installed re.1.11.0
-> removed   ca-certs-nss.3.66
-> installed uutf.1.0.3
-> installed alcotest.1.7.0
-> installed ca-certs-nss.3.66
Done.
# Run eval $(opam env) to update the current shell environment
2024-02-12 19:50.05 ---> saved as "03335dcf596c208d221d6718a8b0bd75ecdcd68ba4d5f86c583bf8f36458fedc"

/home/opam: (run (shell  "opam reinstall --with-test --verbose ca-certs-nss.3.66;\
                        \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\" != 'ca-certs-nss.3.66' && 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 ca-certs-nss 3.66

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/4:
-> retrieved ca-certs-nss.3.66  (cached)
Processing  2/4: [ca-certs-nss: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "ca-certs-nss" "-j" "255" "@install" "@runtest" (CWD=/home/opam/.opam/5.1/.opam-switch/build/ca-certs-nss.3.66)
- (cd _build/default && /home/opam/.opam/5.1/bin/ocamlc.opt -w -40 -g -bin-annot -I bin/.extract_from_certdata.eobjs/byte -I /home/opam/.opam/5.1/lib/asn1-combinators -I /home/opam/.opam/5.1/lib/astring -I /home/opam/.opam/5.1/lib/base64 -I /home/opam/.opam/5.1/lib/bos -I /home/opam/.opam/5.1/lib/cmdliner -I /home/opam/.opam/5.1/lib/cstruct -I /home/opam/.opam/5.1/lib/domain-name -I /home/opam/.opam/5.1/lib/eqaf -I /home/opam/.opam/5.1/lib/eqaf/bigstring -I /home/opam/.opam/5.1/lib/eqaf/cstruct -I /home/opam/.opam/5.1/lib/fmt -I /home/opam/.opam/5.1/lib/fpath -I /home/opam/.opam/5.1/lib/gmap -I /home/opam/.opam/5.1/lib/hex -I /home/opam/.opam/5.1/lib/logs -I /home/opam/.opam/5.1/lib/mirage-crypto -I /home/opam/.opam/5.1/lib/mirage-crypto-ec -I /home/opam/.opam/5.1/lib/mirage-crypto-pk -I /home/opam/.opam/5.1/lib/mirage-crypto-rng -I /home/opam/.opam/5.1/lib/ocaml/unix -I /home/opam/.opam/5.1/lib/pbkdf -I /home/opam/.opam/5.1/lib/ptime -I /home/opam/.opam/5.1/lib/rresult -I /home/opam/.opam/5.1/lib/sexplib0 -I /home/opam/.opam/5.1/lib/x509 -I /home/opam/.opam/5.1/lib/zarith -no-alias-deps -o bin/.extract_from_certdata.eobjs/byte/dune__exe__Extract_from_certdata.cmo -c -impl bin/extract_from_certdata.ml)
- File "bin/extract_from_certdata.ml", line 206, characters 2-10:
- 206 |   Fmt.strf "(* processed %d certificates, %d untrusted, %d trusted. *)%s"
-         ^^^^^^^^
- Alert deprecated: Fmt.strf
- use Fmt.str instead.
- 
- File "bin/extract_from_certdata.ml", line 269, characters 4-13:
- 269 |     Term.info "extract-from-certdata" ~version:"3.66" ~doc )
-           ^^^^^^^^^
- Alert deprecated: Cmdliner.Term.info
- Use Cmd.info instead.
- 
- File "bin/extract_from_certdata.ml", line 271, characters 15-24:
- 271 | let () = match Term.eval cmd with `Ok () -> exit 0 | _ -> exit 1
-                      ^^^^^^^^^
- Alert deprecated: Cmdliner.Term.eval
- Use Cmd.v and one of Cmd.eval* instead.
- (cd _build/default && /home/opam/.opam/5.1/bin/ocamlopt.opt -w -40 -g -I bin/.extract_from_certdata.eobjs/byte -I bin/.extract_from_certdata.eobjs/native -I /home/opam/.opam/5.1/lib/asn1-combinators -I /home/opam/.opam/5.1/lib/astring -I /home/opam/.opam/5.1/lib/base64 -I /home/opam/.opam/5.1/lib/bos -I /home/opam/.opam/5.1/lib/cmdliner -I /home/opam/.opam/5.1/lib/cstruct -I /home/opam/.opam/5.1/lib/domain-name -I /home/opam/.opam/5.1/lib/eqaf -I /home/opam/.opam/5.1/lib/eqaf/bigstring -I /home/opam/.opam/5.1/lib/eqaf/cstruct -I /home/opam/.opam/5.1/lib/fmt -I /home/opam/.opam/5.1/lib/fpath -I /home/opam/.opam/5.1/lib/gmap -I /home/opam/.opam/5.1/lib/hex -I /home/opam/.opam/5.1/lib/logs -I /home/opam/.opam/5.1/lib/mirage-crypto -I /home/opam/.opam/5.1/lib/mirage-crypto-ec -I /home/opam/.opam/5.1/lib/mirage-crypto-pk -I /home/opam/.opam/5.1/lib/mirage-crypto-rng -I /home/opam/.opam/5.1/lib/ocaml/unix -I /home/opam/.opam/5.1/lib/pbkdf -I /home/opam/.opam/5.1/lib/ptime -I /home/opam/.opam/5.1/lib/rresult -I /home/opam/.opam/5.1/lib/sexplib0 -I /home/opam/.opam/5.1/lib/x509 -I /home/opam/.opam/5.1/lib/zarith -intf-suffix .ml -no-alias-deps -o bin/.extract_from_certdata.eobjs/native/dune__exe__Extract_from_certdata.cmx -c -impl bin/extract_from_certdata.ml)
- File "bin/extract_from_certdata.ml", line 206, characters 2-10:
- 206 |   Fmt.strf "(* processed %d certificates, %d untrusted, %d trusted. *)%s"
-         ^^^^^^^^
- Alert deprecated: Fmt.strf
- use Fmt.str instead.
- 
- File "bin/extract_from_certdata.ml", line 269, characters 4-13:
- 269 |     Term.info "extract-from-certdata" ~version:"3.66" ~doc )
-           ^^^^^^^^^
- Alert deprecated: Cmdliner.Term.info
- Use Cmd.info instead.
- 
- File "bin/extract_from_certdata.ml", line 271, characters 15-24:
- 271 | let () = match Term.eval cmd with `Ok () -> exit 0 | _ -> exit 1
-                      ^^^^^^^^^
- Alert deprecated: Cmdliner.Term.eval
- Use Cmd.v and one of Cmd.eval* instead.
- (cd _build/default/lib && ../../install/default/bin/extract-from-certdata certdata.txt --output trust_anchor.ml)
- extract-from-certdata: [WARNING] Untrusted certificate "Explicitly Distrust DigiNotar Root CA" (serial 02100fffffffffffffffffffffffffffffff)
- extract-from-certdata: [WARNING] Untrusted certificate "Explicitly Distrusted DigiNotar PKIoverheid G2" (serial 02040fffffff)
- (cd _build/default && /home/opam/.opam/5.1/bin/ocamlc.opt -w -40 -g -bin-annot -I test/.tests.eobjs/byte -I /home/opam/.opam/5.1/lib/alcotest -I /home/opam/.opam/5.1/lib/alcotest/engine -I /home/opam/.opam/5.1/lib/alcotest/stdlib_ext -I /home/opam/.opam/5.1/lib/asn1-combinators -I /home/opam/.opam/5.1/lib/astring -I /home/opam/.opam/5.1/lib/base64 -I /home/opam/.opam/5.1/lib/cmdliner -I /home/opam/.opam/5.1/lib/cstruct -I /home/opam/.opam/5.1/lib/domain-name -I /home/opam/.opam/5.1/lib/eqaf -I /home/opam/.opam/5.1/lib/eqaf/bigstring -I /home/opam/.opam/5.1/lib/eqaf/cstruct -I /home/opam/.opam/5.1/lib/fmt -I /home/opam/.opam/5.1/lib/gmap -I /home/opam/.opam/5.1/lib/logs -I /home/opam/.opam/5.1/lib/mirage-clock -I /home/opam/.opam/5.1/lib/mirage-crypto -I /home/opam/.opam/5.1/lib/mirage-crypto-ec -I /home/opam/.opam/5.1/lib/mirage-crypto-pk -I /home/opam/.opam/5.1/lib/mirage-crypto-rng -I /home/opam/.opam/5.1/lib/ocaml/unix -I /home/opam/.opam/5.1/lib/pbkdf -I /home/opam/.opam/5.1/lib/ptime -I /home/opam/.opam/5.1/lib/re -I /home/opam/.opam/5.1/lib/rresult -I /home/opam/.opam/5.1/lib/seq -I /home/opam/.opam/5.1/lib/sexplib0 -I /home/opam/.opam/5.1/lib/stdlib-shims -I /home/opam/.opam/5.1/lib/uutf -I /home/opam/.opam/5.1/lib/x509 -I /home/opam/.opam/5.1/lib/zarith -I lib/.ca_certs_nss.objs/byte -no-alias-deps -o test/.tests.eobjs/byte/dune__exe__Tests.cmo -c -impl test/tests.ml)
- File "test/tests.ml", line 60, characters 26-30:
- 60 |           Fmt.(list ~sep:(unit ", ") X509.Certificate.pp) ppf chain
-                                ^^^^
- Alert deprecated: Fmt.unit
- use Fmt.any instead.
- (cd _build/default && /home/opam/.opam/5.1/bin/ocamlopt.opt -w -40 -g -I test/.tests.eobjs/byte -I test/.tests.eobjs/native -I /home/opam/.opam/5.1/lib/alcotest -I /home/opam/.opam/5.1/lib/alcotest/engine -I /home/opam/.opam/5.1/lib/alcotest/stdlib_ext -I /home/opam/.opam/5.1/lib/asn1-combinators -I /home/opam/.opam/5.1/lib/astring -I /home/opam/.opam/5.1/lib/base64 -I /home/opam/.opam/5.1/lib/cmdliner -I /home/opam/.opam/5.1/lib/cstruct -I /home/opam/.opam/5.1/lib/domain-name -I /home/opam/.opam/5.1/lib/eqaf -I /home/opam/.opam/5.1/lib/eqaf/bigstring -I /home/opam/.opam/5.1/lib/eqaf/cstruct -I /home/opam/.opam/5.1/lib/fmt -I /home/opam/.opam/5.1/lib/gmap -I /home/opam/.opam/5.1/lib/logs -I /home/opam/.opam/5.1/lib/mirage-clock -I /home/opam/.opam/5.1/lib/mirage-crypto -I /home/opam/.opam/5.1/lib/mirage-crypto-ec -I /home/opam/.opam/5.1/lib/mirage-crypto-pk -I /home/opam/.opam/5.1/lib/mirage-crypto-rng -I /home/opam/.opam/5.1/lib/ocaml/unix -I /home/opam/.opam/5.1/lib/pbkdf -I /home/opam/.opam/5.1/lib/ptime -I /home/opam/.opam/5.1/lib/re -I /home/opam/.opam/5.1/lib/rresult -I /home/opam/.opam/5.1/lib/seq -I /home/opam/.opam/5.1/lib/sexplib0 -I /home/opam/.opam/5.1/lib/stdlib-shims -I /home/opam/.opam/5.1/lib/uutf -I /home/opam/.opam/5.1/lib/x509 -I /home/opam/.opam/5.1/lib/zarith -I lib/.ca_certs_nss.objs/byte -I lib/.ca_certs_nss.objs/native -intf-suffix .ml -no-alias-deps -o test/.tests.eobjs/native/dune__exe__Tests.cmx -c -impl test/tests.ml)
- File "test/tests.ml", line 60, characters 26-30:
- 60 |           Fmt.(list ~sep:(unit ", ") X509.Certificate.pp) ppf chain
-                                ^^^^
- Alert deprecated: Fmt.unit
- use Fmt.any instead.
- (cd _build/default/test && ./tests.exe)
- Testing `verification tests'.
- This run has ID `6MUZQ97U'.
- 
-   [OK]          X509 certificate validation          0   google.com.
-   [OK]          X509 certificate validation          1   extended-validation....
-   [OK]          X509 certificate validation          2   self-signed.badssl.com.
-   [OK]          X509 certificate validation          3   expired.badssl.com.
-   [OK]          X509 certificate validation          4   untrusted-root.badss...
-   [OK]          X509 certificate validation          5   wrong.host.badssl.com.
-   [OK]          X509 certificate validation          6   incomplete-chain.bad...
-   [OK]          X509 certificate validation          7   sha1-intermediate.ba...
-   [OK]          X509 certificate validation          8   wrong.host.google.com.
- 
- Full test results in `~/.opam/5.1/.opam-switch/build/ca-certs-nss.3.66/_build/default/test/_build/_tests/verification tests'.
- Test Successful in 0.001s. 9 tests run.
-> compiled  ca-certs-nss.3.66
-> removed   ca-certs-nss.3.66
-> installed ca-certs-nss.3.66
Done.
# Run eval $(opam env) to update the current shell environment
2024-02-12 19:50.16 ---> saved as "bac366ddfa3964704a737d87fa9073d37926a73a566c4ceb6ff863f900a7be55"
Job succeeded
2024-02-12 19:50.22: Job succeeded