(for PR #26864)

2024-11-13 14:04.18: New job: test docker_hub.0.1.0 with ocamlfind.1.9.7, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/26864/head (1fe86a030d1aa680aac111c48a41dca97d43900a)
                              on debian-12-ocaml-5.2/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/26864/head" && git reset --hard 1fe86a03
git fetch origin master
git merge --no-edit d4c6a480805e2a9eafb47afe89128b65244cbdac
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.2@sha256:97dd257b926d59082f42100b80c9d7084f8083bb3eb4b438ade497f908676f86
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-dev /usr/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
ENV OPAMDOWNLOADJOBS="1"
ENV OPAMERRLOGLEN="0"
ENV OPAMSOLVERTIMEOUT="1000"
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 ocamlfind.1.9.7 1.9.7
RUN opam reinstall ocamlfind.1.9.7; \
    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" != 'ocamlfind.1.9.7' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1
RUN opam option solver=builtin-0install
RUN opam reinstall docker_hub.0.1.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-12\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'docker_hub.0.1.0' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1
RUN opam option solver=builtin-0install
RUN (opam reinstall --with-test docker_hub.0.1.0) || true
RUN opam reinstall --with-test --verbose docker_hub.0.1.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-12\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'docker_hub.0.1.0' && 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-11-13 14:04.18: Using cache hint "ocaml/opam:debian-12-ocaml-5.2@sha256:97dd257b926d59082f42100b80c9d7084f8083bb3eb4b438ade497f908676f86-ocamlfind.1.9.7-docker_hub.0.1.0-1fe86a030d1aa680aac111c48a41dca97d43900a"
2024-11-13 14:04.18: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.2@sha256:97dd257b926d59082f42100b80c9d7084f8083bb3eb4b438ade497f908676f86)
 (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 "uname -rs && opam exec -- ocaml -version && opam --version"))
 (env OPAMDOWNLOADJOBS 1)
 (env OPAMERRLOGLEN 0)
 (env OPAMSOLVERTIMEOUT 1000)
 (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 ocamlfind.1.9.7 1.9.7"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall ocamlfind.1.9.7;\
             \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\" != 'ocamlfind.1.9.7' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
 (run (shell "opam option solver=builtin-0install"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall docker_hub.0.1.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-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\" != 'docker_hub.0.1.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 (shell "opam option solver=builtin-0install"))
 (run (network host)
      (shell "(opam reinstall --with-test docker_hub.0.1.0) || true"))
 (run (shell  "opam reinstall --with-test --verbose docker_hub.0.1.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-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\" != 'docker_hub.0.1.0' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2024-11-13 14:04.18: Waiting for resource in pool OCluster
2024-11-13 20:56.10: Waiting for worker…
2024-11-13 20:58.38: Got resource from pool OCluster
Building on x86-bm-c6.sw.ocaml.org
All commits already cached
Updating files:  43% (14169/32662)
Updating files:  44% (14372/32662)
Updating files:  45% (14698/32662)
Updating files:  46% (15025/32662)
Updating files:  47% (15352/32662)
Updating files:  48% (15678/32662)
Updating files:  49% (16005/32662)
Updating files:  50% (16331/32662)
Updating files:  51% (16658/32662)
Updating files:  52% (16985/32662)
Updating files:  53% (17311/32662)
Updating files:  54% (17638/32662)
Updating files:  55% (17965/32662)
Updating files:  56% (18291/32662)
Updating files:  57% (18618/32662)
Updating files:  58% (18944/32662)
Updating files:  59% (19271/32662)
Updating files:  60% (19598/32662)
Updating files:  61% (19924/32662)
Updating files:  62% (20251/32662)
Updating files:  63% (20578/32662)
Updating files:  64% (20904/32662)
Updating files:  65% (21231/32662)
Updating files:  66% (21557/32662)
Updating files:  67% (21884/32662)
Updating files:  68% (22211/32662)
Updating files:  69% (22537/32662)
Updating files:  70% (22864/32662)
Updating files:  71% (23191/32662)
Updating files:  72% (23517/32662)
Updating files:  73% (23844/32662)
Updating files:  74% (24170/32662)
Updating files:  75% (24497/32662)
Updating files:  76% (24824/32662)
Updating files:  77% (25150/32662)
Updating files:  78% (25477/32662)
Updating files:  79% (25803/32662)
Updating files:  80% (26130/32662)
Updating files:  81% (26457/32662)
Updating files:  82% (26783/32662)
Updating files:  83% (27110/32662)
Updating files:  84% (27437/32662)
Updating files:  85% (27763/32662)
Updating files:  86% (28090/32662)
Updating files:  87% (28416/32662)
Updating files:  88% (28743/32662)
Updating files:  89% (29070/32662)
Updating files:  90% (29396/32662)
Updating files:  91% (29723/32662)
Updating files:  92% (30050/32662)
Updating files:  93% (30376/32662)
Updating files:  94% (30703/32662)
Updating files:  95% (31029/32662)
Updating files:  96% (31356/32662)
Updating files:  97% (31683/32662)
Updating files:  98% (32009/32662)
Updating files:  99% (32336/32662)
Updating files: 100% (32662/32662)
Updating files: 100% (32662/32662), done.
HEAD is now at d4c6a48080 Merge pull request #26854 from balat/opam-publish-ocsigen-toolkit.4.1.0
Merge made by the 'ort' strategy.
 packages/ocamlfind/ocamlfind.1.9.7/opam | 44 +++++++++++++++++++++++++++++++++
 1 file changed, 44 insertions(+)
 create mode 100644 packages/ocamlfind/ocamlfind.1.9.7/opam

(from ocaml/opam:debian-12-ocaml-5.2@sha256:97dd257b926d59082f42100b80c9d7084f8083bb3eb4b438ade497f908676f86)
Unable to find image 'ocaml/opam:debian-12-ocaml-5.2@sha256:97dd257b926d59082f42100b80c9d7084f8083bb3eb4b438ade497f908676f86' locally
docker.io/ocaml/opam@sha256:97dd257b926d59082f42100b80c9d7084f8083bb3eb4b438ade497f908676f86: Pulling from ocaml/opam
0c592cb153ab: Pulling fs layer
0c592cb153ab: Verifying Checksum
0c592cb153ab: Download complete
0c592cb153ab: Pull complete
Digest: sha256:97dd257b926d59082f42100b80c9d7084f8083bb3eb4b438ade497f908676f86
Status: Downloaded newer image for ocaml/opam@sha256:97dd257b926d59082f42100b80c9d7084f8083bb3eb4b438ade497f908676f86
2024-11-13 20:58.42 ---> using "98353706d601dd4b27d8aa833091be13566ab311784d3187c428fa6ab0467d91" 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-11-13 20:58.42 ---> using "a67aa45b00a8ea2c1599a278c3267fd59963226ccd426a0fa8429d59e0d5748d" 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 39 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=39 --global
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2024-11-13 20:58.42 ---> using "f2fee08455cb92c5fb90ae595e148292c3f18882de9f353dd598a31d42f4e974" from cache

/home/opam: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-122-generic
The OCaml toplevel, version 5.2.0
2.4.0~alpha1~dev
2024-11-13 20:58.42 ---> using "c7e14b1055864da701579d291659f01cf0fb5bb151ed6aa56d89d23cd7a86696" from cache

/home/opam: (env OPAMDOWNLOADJOBS 1)

/home/opam: (env OPAMERRLOGLEN 0)

/home/opam: (env OPAMSOLVERTIMEOUT 1000)

/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-11-13 20:58.42 ---> using "b1f88b1b15421ece257d4081bfded19a182ae791c30f2a3fcdcfcdda31274243" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2024-11-13 20:58.44 ---> using "02cc592c7e11e58a47f0a5af7fe30955c540cb10417eeda1ce7ff64bc6d735c4" from cache

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2024-11-13 20:58.44 ---> using "78ece563d34202536b064623e4f70440dadc32779813b5c641cc62e79a46f72b" 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 [204 kB]
- Fetched 307 kB in 0s (1306 kB/s)
- Reading package lists...
2024-11-13 20:58.44 ---> using "3ba2e16947436fc2aaf62f52d87c33dc6bd9b3e4597925e8ef8aac0e1d2fa400" from cache

/home/opam: (run (shell "opam pin add -k version -yn ocamlfind.1.9.7 1.9.7"))
ocamlfind is now pinned to version 1.9.7
2024-11-13 20:58.44 ---> using "f5afaca18bb735b729e661ca8fe53ace7c8a84d12b5400a8b7f14ea5ef30f826" from cache

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

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved ocamlfind.1.9.7  (cached)
-> installed ocamlfind.1.9.7
Done.
# To update the current shell environment, run: eval $(opam env)
2024-11-13 20:58.44 ---> using "aea3a3f709ab7f1e0fac24c4becdaf4c4023f8fa922879dcdb9b1f867f3ab6f8" from cache

/home/opam: (run (shell "opam option solver=builtin-0install"))
Set to 'builtin-0install' the field solver in global configuration
2024-11-13 20:58.44 ---> using "e24cd59995f7c8162cacd9b6733e806d6009acb5f48a8a73e3da311f2cae20e5" from cache

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall docker_hub.0.1.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-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\" != 'docker_hub.0.1.0' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
docker_hub.0.1.0 is not installed. Install it? [y/n] y
The following actions will be performed:
=== install 79 packages
  - install angstrom                0.16.1  [required by h2]
  - install asn1-combinators        0.2.6   [required by x509]
  - install astring                 0.8.5   [required by bos, ca-certs]
  - install base                    v0.17.1 [required by ppx_sexp_conv]
  - install base-bytes              base    [required by ocplib-endian]
  - install base64                  3.5.1   [required by http-lwt-client]
  - install bigstringaf             0.10.0  [required by h2]
  - install bos                     0.2.1   [required by http-lwt-client]
  - install ca-certs                0.2.3   [required by http-lwt-client]
  - install cmdliner                1.3.0   [required by http-lwt-client]
  - install conf-gmp                4       [required by zarith, conf-gmp-powm-sec]
  - install conf-gmp-powm-sec       3       [required by mirage-crypto-pk]
  - install conf-pkg-config         3       [required by mirage-crypto]
  - install cppo                    1.7.0   [required by lwt]
  - install csexp                   1.5.2   [required by dune-configurator]
  - install cstruct                 6.2.0   [required by tls]
  - install cstruct-sexp            6.2.0   [required by tls]
  - install dns                     9.1.0   [required by happy-eyeballs-lwt]
  - install docker_hub              0.1.0
  - install domain-name             0.4.0   [required by happy-eyeballs-lwt, tls]
  - install dune                    3.16.1  [required by docker_hub]
  - install dune-configurator       3.16.1  [required by mirage-crypto]
  - install duration                0.2.1   [required by happy-eyeballs-lwt]
  - install eqaf                    0.9     [required by mirage-crypto]
  - install faraday                 0.8.2   [required by h2]
  - install faraday-lwt             0.8.2   [required by faraday-lwt-unix]
  - install faraday-lwt-unix        0.8.2   [required by http-lwt-client]
  - install fmt                     0.9.0   [required by http-lwt-client]
  - install fpath                   0.7.3   [required by bos, ca-certs]
  - install gmap                    0.3.0   [required by x509, dns]
  - install h2                      0.9.0   [required by http-lwt-client]
  - install happy-eyeballs          1.2.2   [required by happy-eyeballs-lwt]
  - install happy-eyeballs-lwt      1.2.2   [required by http-lwt-client]
  - install hkdf                    1.0.4   [required by tls]
  - install hpack                   0.13.0  [required by h2]
  - install http-lwt-client         0.0.8   [required by docker_hub]
  - install httpaf                  0.7.1   [required by http-lwt-client]
  - install ipaddr                  5.6.0   [required by happy-eyeballs-lwt, tls]
  - install ipaddr-sexp             5.6.0   [required by tls]
  - install logs                    0.7.0   [required by http-lwt-client]
  - install lru                     0.3.1   [required by dns]
  - install lwt                     5.8.0   [required by docker_hub]
  - install lwt_ppx                 5.8.0   [required by docker_hub]
  - install macaddr                 5.6.0   [required by ipaddr]
  - install metrics                 0.4.1   [required by dns]
  - install mirage-crypto           0.10.7  [required by ca-certs, tls]
  - install mirage-crypto-ec        0.10.7  [required by tls]
  - install mirage-crypto-pk        0.10.7  [required by tls]
  - install mirage-crypto-rng       0.10.7  [required by tls]
  - install mirage-no-solo5         1       [required by mirage-crypto-pk]
  - install mirage-no-xen           1       [required by mirage-crypto-pk]
  - install mtime                   2.1.0   [required by happy-eyeballs-lwt]
  - install num                     1.5-1   [required by sexplib]
  - install ocaml-compiler-libs     v0.17.0 [required by ppxlib]
  - install ocaml-syntax-shims      1.0.0   [required by angstrom]
  - install ocaml_intrinsics_kernel v0.17.1 [required by base]
  - install ocamlbuild              0.15.0  [required by bos]
  - install ocplib-endian           1.2     [required by lwt]
  - install ohex                    0.2.0   [required by dns]
  - install parsexp                 v0.17.0 [required by sexplib]
  - install pbkdf                   1.2.0   [required by x509]
  - install ppx_cstruct             6.2.0   [required by tls]
  - install ppx_derivers            1.2.1   [required by ppxlib]
  - install ppx_sexp_conv           v0.17.0 [required by tls]
  - install ppxlib                  0.33.0  [required by lwt_ppx]
  - install ppxlib_jane             v0.17.0 [required by ppx_sexp_conv]
  - install psq                     0.2.1   [required by h2]
  - install ptime                   1.2.0   [required by ca-certs, tls]
  - install result                  1.5     [required by httpaf]
  - install rresult                 0.7.0   [required by bos]
  - install seq                     base    [required by yojson]
  - install sexplib                 v0.17.0 [required by tls]
  - install sexplib0                v0.17.0 [required by ipaddr-sexp]
  - install stdlib-shims            0.3.0   [required by ppxlib]
  - install tls                     0.15.4  [required by http-lwt-client]
  - install topkg                   1.0.7   [required by bos]
  - install x509                    0.16.5  [required by ca-certs, tls]
  - install yojson                  2.2.2   [required by docker_hub]
  - install zarith                  1.14    [required by asn1-combinators, mirage-crypto-pk]

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 ... 18776 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+deb12u9) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved angstrom.0.16.1  (cached)
-> retrieved asn1-combinators.0.2.6  (cached)
-> retrieved astring.0.8.5  (cached)
-> retrieved base.v0.17.1  (cached)
-> installed base-bytes.base
-> retrieved base64.3.5.1  (cached)
-> retrieved bigstringaf.0.10.0  (cached)
-> retrieved bos.0.2.1  (cached)
-> retrieved ca-certs.0.2.3  (cached)
-> retrieved cmdliner.1.3.0  (cached)
-> retrieved conf-gmp.4  (cached)
-> retrieved conf-gmp-powm-sec.3  (cached)
-> retrieved cppo.1.7.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> installed conf-pkg-config.3
-> installed conf-gmp.4
-> retrieved cstruct.6.2.0, cstruct-sexp.6.2.0, ppx_cstruct.6.2.0  (cached)
-> installed conf-gmp-powm-sec.3
-> retrieved dns.9.1.0  (cached)
-> retrieved docker_hub.0.1.0  (cached)
-> retrieved domain-name.0.4.0  (cached)
-> retrieved dune.3.16.1, dune-configurator.3.16.1  (cached)
-> retrieved duration.0.2.1  (cached)
-> retrieved eqaf.0.9  (cached)
-> retrieved faraday.0.8.2, faraday-lwt.0.8.2, faraday-lwt-unix.0.8.2  (cached)
-> retrieved fmt.0.9.0  (cached)
-> retrieved fpath.0.7.3  (cached)
-> retrieved gmap.0.3.0  (cached)
-> installed cmdliner.1.3.0
-> retrieved h2.0.9.0  (cached)
-> retrieved happy-eyeballs.1.2.2, happy-eyeballs-lwt.1.2.2  (cached)
-> retrieved hkdf.1.0.4  (cached)
-> retrieved hpack.0.13.0  (cached)
-> retrieved http-lwt-client.0.0.8  (cached)
-> retrieved httpaf.0.7.1  (cached)
-> retrieved ipaddr.5.6.0, ipaddr-sexp.5.6.0, macaddr.5.6.0  (cached)
-> retrieved logs.0.7.0  (cached)
-> retrieved lru.0.3.1  (cached)
-> retrieved lwt.5.8.0, lwt_ppx.5.8.0  (cached)
-> retrieved metrics.0.4.1  (cached)
-> retrieved mirage-crypto.0.10.7, mirage-crypto-ec.0.10.7, mirage-crypto-pk.0.10.7, mirage-crypto-rng.0.10.7  (cached)
-> installed mirage-no-solo5.1
-> installed mirage-no-xen.1
-> retrieved mtime.2.1.0  (cached)
-> retrieved num.1.5-1  (cached)
-> retrieved ocaml-compiler-libs.v0.17.0  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved ocaml_intrinsics_kernel.v0.17.1  (cached)
-> retrieved ocamlbuild.0.15.0  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved ohex.0.2.0  (cached)
-> retrieved parsexp.v0.17.0  (cached)
-> retrieved pbkdf.1.2.0  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved ppx_sexp_conv.v0.17.0  (cached)
-> retrieved ppxlib.0.33.0  (cached)
-> retrieved ppxlib_jane.v0.17.0  (cached)
-> retrieved psq.0.2.1  (cached)
-> retrieved ptime.1.2.0  (cached)
-> retrieved result.1.5  (cached)
-> retrieved rresult.0.7.0  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved sexplib.v0.17.0  (cached)
-> retrieved sexplib0.v0.17.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved tls.0.15.4  (cached)
-> retrieved topkg.1.0.7  (cached)
-> retrieved x509.0.16.5  (cached)
-> retrieved yojson.2.2.2  (cached)
-> retrieved zarith.1.14  (cached)
-> installed num.1.5-1
-> installed zarith.1.14
-> installed ocamlbuild.0.15.0
-> installed topkg.1.0.7
-> installed rresult.0.7.0
-> installed mtime.2.1.0
-> installed fmt.0.9.0
-> installed ptime.1.2.0
-> installed astring.0.8.5
-> installed fpath.0.7.3
-> installed dune.3.16.1
-> installed duration.0.2.1
-> installed gmap.0.3.0
-> installed ppx_derivers.1.2.1
-> installed csexp.1.5.2
-> installed base64.3.5.1
-> installed cppo.1.7.0
-> installed cstruct.6.2.0
-> installed domain-name.0.4.0
-> installed macaddr.5.6.0
-> installed metrics.0.4.1
-> installed ocaml-compiler-libs.v0.17.0
-> installed ocaml-syntax-shims.1.0.0
-> installed ocaml_intrinsics_kernel.v0.17.1
-> installed ohex.0.2.0
-> installed psq.0.2.1
-> installed result.1.5
-> installed sexplib0.v0.17.0
-> installed stdlib-shims.0.3.0
-> installed ocplib-endian.1.2
-> installed lru.0.3.1
-> installed yojson.2.2.2
-> installed eqaf.0.9
-> installed ipaddr.5.6.0
-> installed asn1-combinators.0.2.6
-> installed parsexp.v0.17.0
-> installed dune-configurator.3.16.1
-> installed bigstringaf.0.10.0
-> installed sexplib.v0.17.0
-> installed faraday.0.8.2
-> installed angstrom.0.16.1
-> installed cstruct-sexp.6.2.0
-> installed hpack.0.13.0
-> installed httpaf.0.7.1
-> installed mirage-crypto.0.10.7
-> installed hkdf.1.0.4
-> installed pbkdf.1.2.0
-> installed h2.0.9.0
-> installed lwt.5.8.0
-> installed faraday-lwt.0.8.2
-> installed faraday-lwt-unix.0.8.2
-> installed logs.0.7.0
-> installed happy-eyeballs.1.2.2
-> installed mirage-crypto-rng.0.10.7
-> installed mirage-crypto-pk.0.10.7
-> installed base.v0.17.1
-> installed dns.9.1.0
-> installed happy-eyeballs-lwt.1.2.2
-> installed bos.0.2.1
-> installed mirage-crypto-ec.0.10.7
-> installed x509.0.16.5
-> installed ca-certs.0.2.3
-> installed ppxlib.0.33.0
-> installed ppxlib_jane.v0.17.0
-> installed ppx_cstruct.6.2.0
-> installed lwt_ppx.5.8.0
-> installed ppx_sexp_conv.v0.17.0
-> installed ipaddr-sexp.5.6.0
-> installed tls.0.15.4
-> installed http-lwt-client.0.0.8
-> installed docker_hub.0.1.0
Done.
# To update the current shell environment, run: eval $(opam env)
2024-11-13 21:00.51 ---> saved as "c85e711102b4d309ac2139490559974bb69fb91fa6f2bab23dbc3e61b87e486a"

/home/opam: (run (shell "opam option solver=builtin-0install"))
No modification in global configuration
2024-11-13 21:00.52 ---> saved as "6e42b708386932c1198bf27f309e15463e688b84d54d6c3b6a45320ec5206c43"

/home/opam: (run (network host)
                 (shell "(opam reinstall --with-test docker_hub.0.1.0) || true"))
The following actions will be performed:
=== recompile 1 package
  - recompile docker_hub 0.1.0

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved docker_hub.0.1.0  (https://github.com/kit-ty-kate/ocaml-docker-hub/releases/download/v0.1.0/docker_hub-0.1.0.tar.gz)
-> removed   docker_hub.0.1.0
-> installed docker_hub.0.1.0
Done.
# To update the current shell environment, run: eval $(opam env)
2024-11-13 21:01.06 ---> saved as "c6101afbdc844e00c9ff16a80bc7e6890caa433cc92408d3b4a3fd3a55d84dea"

/home/opam: (run (shell  "opam reinstall --with-test --verbose docker_hub.0.1.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-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\" != 'docker_hub.0.1.0' && 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 docker_hub 0.1.0

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/4: [docker_hub.0.1.0: extract]
-> retrieved docker_hub.0.1.0  (cached)
Processing  2/4: [docker_hub: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "docker_hub" "-j" "31" (CWD=/home/opam/.opam/5.2/.opam-switch/build/docker_hub.0.1.0)
-> compiled  docker_hub.0.1.0
-> removed   docker_hub.0.1.0
-> installed docker_hub.0.1.0
Done.
# To update the current shell environment, run: eval $(opam env)
2024-11-13 21:01.22 ---> saved as "ea7fcfdec0acbec6af7f882dedcd75059db57d753fdbd832c9203fe01d591591"
Job succeeded
2024-11-13 21:01.38: Job succeeded