(for PR #23330)

2024-07-03 13:04.30: New job: test dream-html.2.0.0 with conf-gmp.5, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/23330/head (e065de656cee71750ee448a95ca37886f41c1cd4)
                              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/23330/head" && git reset --hard e065de65
git fetch origin master
git merge --no-edit 0bdcb64f48ab25b40c11ec9403ac9a3dee5ce944
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.14@sha256:411c167ab30b2e15a22d9ba7269e6df1d6b24c7d69a5996d4a62bba7180dc074
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="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
RUN opam pin add -k version -yn conf-gmp.5 5
RUN opam reinstall conf-gmp.5; \
    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-gmp.5' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1
RUN opam reinstall dream-html.2.0.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" != 'dream-html.2.0.0' && 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 dream-html.2.0.0) || true
RUN opam reinstall --with-test --verbose dream-html.2.0.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" != 'dream-html.2.0.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-07-03 13:04.30: Using cache hint "ocaml/opam:debian-12-ocaml-4.14@sha256:411c167ab30b2e15a22d9ba7269e6df1d6b24c7d69a5996d4a62bba7180dc074-conf-gmp.5-dream-html.2.0.0-e065de656cee71750ee448a95ca37886f41c1cd4"
2024-07-03 13:04.30: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.14@sha256:411c167ab30b2e15a22d9ba7269e6df1d6b24c7d69a5996d4a62bba7180dc074)
 (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 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"))
 (run (shell "opam pin add -k version -yn conf-gmp.5 5"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall conf-gmp.5;\
             \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-gmp.5' && 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 dream-html.2.0.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\" != 'dream-html.2.0.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 (network host)
      (shell "(opam reinstall --with-test dream-html.2.0.0) || true"))
 (run (shell  "opam reinstall --with-test --verbose dream-html.2.0.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\" != 'dream-html.2.0.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-07-03 13:04.30: Waiting for resource in pool OCluster
2024-07-03 19:49.01: Waiting for worker…
2024-07-03 19:52.45: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
Updating files:  69% (22139/31769)
Updating files:  70% (22239/31769)
Updating files:  71% (22556/31769)
Updating files:  72% (22874/31769)
Updating files:  73% (23192/31769)
Updating files:  74% (23510/31769)
Updating files:  75% (23827/31769)
Updating files:  76% (24145/31769)
Updating files:  77% (24463/31769)
Updating files:  78% (24780/31769)
Updating files:  79% (25098/31769)
Updating files:  80% (25416/31769)
Updating files:  81% (25733/31769)
Updating files:  82% (26051/31769)
Updating files:  83% (26369/31769)
Updating files:  84% (26686/31769)
Updating files:  85% (27004/31769)
Updating files:  86% (27322/31769)
Updating files:  87% (27640/31769)
Updating files:  88% (27957/31769)
Updating files:  89% (28275/31769)
Updating files:  90% (28593/31769)
Updating files:  91% (28910/31769)
Updating files:  92% (29228/31769)
Updating files:  93% (29546/31769)
Updating files:  94% (29863/31769)
Updating files:  95% (30181/31769)
Updating files:  96% (30499/31769)
Updating files:  97% (30816/31769)
Updating files:  98% (31134/31769)
Updating files:  99% (31452/31769)
Updating files: 100% (31769/31769)
Updating files: 100% (31769/31769), done.
HEAD is now at 0bdcb64f48 Merge pull request #26124 from tezos/octez-20.1
Merge made by the 'ort' strategy.
 .../conf-gmp-powm-sec.4/files/test.c               | 26 ++++++++++++
 .../conf-gmp-powm-sec/conf-gmp-powm-sec.4/opam     | 17 ++++++++
 packages/conf-gmp/conf-gmp.5/files/test.c          | 10 +++++
 packages/conf-gmp/conf-gmp.5/opam                  | 32 +++++++++++++++
 packages/zarith/zarith.1.12-1/opam                 | 47 ++++++++++++++++++++++
 5 files changed, 132 insertions(+)
 create mode 100644 packages/conf-gmp-powm-sec/conf-gmp-powm-sec.4/files/test.c
 create mode 100644 packages/conf-gmp-powm-sec/conf-gmp-powm-sec.4/opam
 create mode 100644 packages/conf-gmp/conf-gmp.5/files/test.c
 create mode 100644 packages/conf-gmp/conf-gmp.5/opam
 create mode 100644 packages/zarith/zarith.1.12-1/opam

(from ocaml/opam:debian-12-ocaml-4.14@sha256:411c167ab30b2e15a22d9ba7269e6df1d6b24c7d69a5996d4a62bba7180dc074)
2024-07-03 19:53.52 ---> using "787c10892c33b358f8712760387399b1ab2c78ae2006c4a10d01c5321d3dba40" 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-07-03 19:53.52 ---> using "f2e5db30f08f69a1d5334ae494aa89668e4020c14e77cf48ca4c893a0b4dfad3" 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~beta, 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-07-03 19:53.52 ---> using "a815bc554d04fdd08319799ec1b953c5900bc15cf3510abbdde7dbab79abb5dd" from cache

/home/opam: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-113-generic
The OCaml toplevel, version 4.14.2
2.2.0~rc1
2024-07-03 19:53.52 ---> using "74dc415daa1c88b68336b71bd1c3b3cc476c5c7e7ba9c14b993dc4ab0d8e0bfb" 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-07-03 19:53.52 ---> using "c65cafca8f6f5d24d12a244a9c6ba026d5ea649414ebd308f23285f028433926" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2024-07-03 19:53.53 ---> using "1e0c78c25e41229b23d5932912fa180c6aee5ea6feb641ea350fcf9b418d72d1" from cache

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2024-07-03 19:53.53 ---> using "92275aeb0300f9e3a7be8fd533c71642dc490a87e202c5b2e86f76372b3ec53d" 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 [55.4 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 [8788 kB]
- Get:5 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [164 kB]
- Fetched 9206 kB in 1s (7320 kB/s)
- Reading package lists...
2024-07-03 19:53.53 ---> using "63731c1bc57e5154a823de705293964c14b98d4d4108169938fc94c1dea0eb26" from cache

/home/opam: (run (shell "opam pin add -k version -yn conf-gmp.5 5"))
conf-gmp is now pinned to version 5
2024-07-03 19:53.53 ---> using "9054adf694b8f95e6f6836e7cd4983c3937361da13aeced2676d7b4ff20db9e9" from cache

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

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 ... 18735 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+deb12u7) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed conf-pkg-config.3
-> installed conf-gmp.5
Done.
# Run eval $(opam env) to update the current shell environment
2024-07-03 19:53.53 ---> using "994c983e66e82274b6553e8866ac8b21fe7fac2f5cd7baccb8e78efedb7df099" from cache

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall dream-html.2.0.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\" != 'dream-html.2.0.0' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
dream-html.2.0.0 is not installed. Install it? [y/n] y
The following actions will be performed:
=== install 78 packages
  - install angstrom              0.16.0       [required by multipart_form, caqti, dream-httpaf, multipart_form-lwt]
  - install base-bytes            base         [required by ocplib-endian]
  - install base64                3.5.1        [required by dream-httpaf, multipart_form]
  - install bigarray-compat       1.1.0        [required by dream]
  - install bigarray-overlap      0.2.1        [required by prettym]
  - install bigstringaf           0.9.1        [required by multipart_form, caqti, dream-httpaf, multipart_form-lwt]
  - install camlp-streams         5.0.1        [required by dream]
  - install caqti                 2.0.1        [required by dream]
  - install caqti-lwt             2.0.1        [required by dream]
  - install conf-libev            4-12         [required by dream]
  - install conf-libssl           4            [required by ssl]
  - install cppo                  1.6.9        [required by lwt]
  - install csexp                 1.5.2        [required by dune-configurator]
  - install cstruct               6.2.0        [required by dream]
  - install digestif              1.2.0        [required by dream-httpaf]
  - install domain-name           0.4.0        [required by caqti]
  - install dream                 1.0.0~alpha6 [required by dream-html]
  - install dream-html            2.0.0
  - install dream-httpaf          1.0.0~alpha3 [required by dream]
  - install dream-pure            1.0.0~alpha2 [required by dream]
  - install dune                  3.16.0       [required by dream-html]
  - install dune-configurator     3.16.0       [required by mirage-crypto, mirage-crypto-rng]
  - install duration              0.2.1        [required by mirage-crypto-rng, mirage-crypto-rng-lwt]
  - install eqaf                  0.9          [required by mirage-crypto]
  - install faraday               0.8.2        [required by dream-httpaf]
  - install faraday-lwt           0.8.2        [required by faraday-lwt-unix]
  - install faraday-lwt-unix      0.8.2        [required by dream-httpaf]
  - install fmt                   0.9.0        [required by dream]
  - install graphql               0.14.0       [required by graphql-lwt]
  - install graphql-lwt           0.14.0       [required by dream]
  - install graphql_parser        0.14.0       [required by dream]
  - install hmap                  0.8.1        [required by dream-pure]
  - install ipaddr                5.6.0        [required by caqti]
  - install ke                    0.6          [required by multipart_form, multipart_form-lwt]
  - install lambdasoup            1.0.0        [required by dream]
  - install logs                  0.7.0        [required by dream]
  - install lwt                   5.7.0        [required by dream]
  - install lwt-dllist            1.0.1        [required by caqti]
  - install lwt_ppx               2.1.0        [required by dream]
  - install lwt_ssl               1.2.0        [required by dream]
  - install macaddr               5.6.0        [required by ipaddr]
  - install magic-mime            1.3.1        [required by dream]
  - install markup                1.0.3        [required by dream]
  - install menhir                20231231     [required by graphql_parser]
  - install menhirCST             20231231     [required by menhir]
  - install menhirLib             20231231     [required by menhir]
  - install menhirSdk             20231231     [required by menhir]
  - install mirage-clock          4.2.0        [required by dream]
  - install mirage-crypto         0.11.3       [required by dream]
  - install mirage-crypto-rng     0.11.3       [required by dream]
  - install mirage-crypto-rng-lwt 0.11.3       [required by dream]
  - install mtime                 2.0.0        [required by caqti-lwt, caqti, mirage-crypto-rng-lwt]
  - install multipart_form        0.6.0        [required by dream]
  - install multipart_form-lwt    0.6.0        [required by dream]
  - install ocaml-compiler-libs   v0.12.4      [required by ppxlib]
  - install ocaml-syntax-shims    1.0.0        [required by angstrom]
  - install ocamlbuild            0.14.3       [required by mtime, logs, ptime]
  - install ocamlfind             1.9.6        [required by mtime, logs, ptime]
  - install ocplib-endian         1.2          [required by lwt]
  - install pecu                  0.7          [required by multipart_form]
  - install ppx_derivers          1.2.1        [required by ppxlib]
  - install ppxlib                0.32.1       [required by lwt_ppx]
  - install prettym               0.0.3        [required by multipart_form]
  - install psq                   0.2.1        [required by dream-httpaf]
  - install ptime                 1.1.0        [required by dream]
  - install re                    1.11.0       [required by graphql_parser]
  - install rresult               0.7.0        [required by graphql]
  - install seq                   base         [required by re, psq, graphql]
  - install sexplib0              v0.17.0      [required by ppxlib]
  - install ssl                   0.7.0        [required by dream]
  - install stdlib-shims          0.3.0        [required by ppxlib]
  - install stringext             1.6.0        [required by uri]
  - install topkg                 1.0.7        [required by mtime, logs, ptime]
  - install uchar                 0.0.2        [required by markup]
  - install unstrctrd             0.4          [required by multipart_form]
  - install uri                   4.4.0        [required by dream]
  - install uutf                  1.0.3        [required by multipart_form]
  - install yojson                2.2.2        [required by dream]

The following system packages will first need to be installed:
    libev-dev libssl-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" "libev-dev" "libssl-dev"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package libev4: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 ... 18793 files and directories currently installed.)
- Preparing to unpack .../libev4_1%3a4.33-1_amd64.deb ...
- Unpacking libev4:amd64 (1:4.33-1) ...
- Selecting previously unselected package libev-dev:amd64.
- Preparing to unpack .../libev-dev_1%3a4.33-1_amd64.deb ...
- Unpacking libev-dev:amd64 (1:4.33-1) ...
- Preparing to unpack .../libssl3_3.0.13-1~deb12u1_amd64.deb ...
- Unpacking libssl3:amd64 (3.0.13-1~deb12u1) over (3.0.11-1~deb12u2) ...
- Selecting previously unselected package libssl-dev:amd64.
- Preparing to unpack .../libssl-dev_3.0.13-1~deb12u1_amd64.deb ...
- Unpacking libssl-dev:amd64 (3.0.13-1~deb12u1) ...
- Preparing to unpack .../openssl_3.0.13-1~deb12u1_amd64.deb ...
- Unpacking openssl (3.0.13-1~deb12u1) over (3.0.11-1~deb12u2) ...
- Setting up libev4:amd64 (1:4.33-1) ...
- Setting up libssl3:amd64 (3.0.13-1~deb12u1) ...
- Setting up libssl-dev:amd64 (3.0.13-1~deb12u1) ...
- Setting up libev-dev:amd64 (1:4.33-1) ...
- Setting up openssl (3.0.13-1~deb12u1) ...
- Processing triggers for libc-bin (2.36-9+deb12u7) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved angstrom.0.16.0  (cached)
-> retrieved base64.3.5.1  (cached)
-> retrieved bigarray-compat.1.1.0  (cached)
-> retrieved bigarray-overlap.0.2.1  (cached)
-> retrieved bigstringaf.0.9.1  (cached)
-> retrieved camlp-streams.5.0.1  (cached)
-> retrieved caqti.2.0.1, caqti-lwt.2.0.1  (cached)
-> retrieved conf-libev.4-12  (cached)
-> retrieved conf-libssl.4  (cached)
-> retrieved cppo.1.6.9  (cached)
-> retrieved csexp.1.5.2  (cached)
-> installed conf-libssl.4
-> retrieved cstruct.6.2.0  (cached)
-> installed conf-libev.4-12
-> retrieved digestif.1.2.0  (cached)
-> retrieved domain-name.0.4.0  (cached)
-> retrieved dream.1.0.0~alpha6, dream-httpaf.1.0.0~alpha3  (cached)
-> retrieved dream-html.2.0.0  (https://github.com/yawaramin/dream-html/releases/download/v2.0.0/dream-html-2.0.0.tbz)
-> retrieved dream-pure.1.0.0~alpha2  (cached)
-> retrieved dune.3.16.0, dune-configurator.3.16.0  (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 graphql.0.14.0, graphql-lwt.0.14.0, graphql_parser.0.14.0  (cached)
-> retrieved hmap.0.8.1  (cached)
-> retrieved ipaddr.5.6.0, macaddr.5.6.0  (cached)
-> retrieved ke.0.6  (cached)
-> retrieved lambdasoup.1.0.0  (cached)
-> retrieved logs.0.7.0  (cached)
-> retrieved lwt.5.7.0  (cached)
-> retrieved lwt-dllist.1.0.1  (cached)
-> retrieved lwt_ppx.2.1.0  (cached)
-> retrieved lwt_ssl.1.2.0  (cached)
-> retrieved magic-mime.1.3.1  (cached)
-> retrieved markup.1.0.3  (cached)
-> retrieved menhir.20231231, menhirCST.20231231, menhirLib.20231231, menhirSdk.20231231  (cached)
-> retrieved mirage-clock.4.2.0  (cached)
-> retrieved mirage-crypto.0.11.3, mirage-crypto-rng.0.11.3, mirage-crypto-rng-lwt.0.11.3  (cached)
-> retrieved mtime.2.0.0  (cached)
-> retrieved multipart_form.0.6.0, multipart_form-lwt.0.6.0  (cached)
-> retrieved ocaml-compiler-libs.v0.12.4  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved ocamlbuild.0.14.3  (cached)
-> retrieved ocamlfind.1.9.6  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved pecu.0.7  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved ppxlib.0.32.1  (cached)
-> retrieved prettym.0.0.3  (cached)
-> retrieved psq.0.2.1  (cached)
-> retrieved ptime.1.1.0  (cached)
-> retrieved re.1.11.0  (cached)
-> retrieved rresult.0.7.0  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved sexplib0.v0.17.0  (cached)
-> retrieved ssl.0.7.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved stringext.1.6.0  (cached)
-> retrieved topkg.1.0.7  (cached)
-> retrieved uchar.0.0.2  (cached)
-> retrieved unstrctrd.0.4  (cached)
-> retrieved uri.4.4.0  (cached)
-> retrieved uutf.1.0.3  (cached)
-> retrieved yojson.2.2.2  (cached)
-> installed ocamlfind.1.9.6
-> installed base-bytes.base
-> installed ocamlbuild.0.14.3
-> installed uchar.0.0.2
-> installed topkg.1.0.7
-> installed hmap.0.8.1
-> installed uutf.1.0.3
-> installed rresult.0.7.0
-> installed fmt.0.9.0
-> installed mtime.2.0.0
-> installed ptime.1.1.0
-> installed dune.3.16.0
-> installed bigarray-compat.1.1.0
-> installed bigarray-overlap.0.2.1
-> installed csexp.1.5.2
-> installed base64.3.5.1
-> installed camlp-streams.5.0.1
-> installed cppo.1.6.9
-> installed cstruct.6.2.0
-> installed domain-name.0.4.0
-> installed duration.0.2.1
-> installed ke.0.6
-> installed lwt-dllist.1.0.1
-> installed macaddr.5.6.0
-> installed magic-mime.1.3.1
-> installed menhirCST.20231231
-> installed menhirLib.20231231
-> installed menhirSdk.20231231
-> installed mirage-clock.4.2.0
-> installed ocaml-compiler-libs.v0.12.4
-> installed ocaml-syntax-shims.1.0.0
-> installed pecu.0.7
-> installed ppx_derivers.1.2.1
-> installed psq.0.2.1
-> installed re.1.11.0
-> installed sexplib0.v0.17.0
-> installed markup.1.0.3
-> installed stdlib-shims.0.3.0
-> installed stringext.1.6.0
-> installed yojson.2.2.2
-> installed ocplib-endian.1.2
-> installed eqaf.0.9
-> installed ipaddr.5.6.0
-> installed lambdasoup.1.0.0
-> installed digestif.1.2.0
-> installed dune-configurator.3.16.0
-> installed bigstringaf.0.9.1
-> installed faraday.0.8.2
-> installed angstrom.0.16.0
-> installed prettym.0.0.3
-> installed ssl.0.7.0
-> installed unstrctrd.0.4
-> installed mirage-crypto.0.11.3
-> installed uri.4.4.0
-> installed lwt.5.7.0
-> installed faraday-lwt.0.8.2
-> installed lwt_ssl.1.2.0
-> installed faraday-lwt-unix.0.8.2
-> installed logs.0.7.0
-> installed mirage-crypto-rng.0.11.3
-> installed multipart_form.0.6.0
-> installed caqti.2.0.1
-> installed mirage-crypto-rng-lwt.0.11.3
-> installed multipart_form-lwt.0.6.0
-> installed caqti-lwt.2.0.1
-> installed ppxlib.0.32.1
-> installed menhir.20231231
-> installed graphql_parser.0.14.0
-> installed graphql.0.14.0
-> installed graphql-lwt.0.14.0
-> installed lwt_ppx.2.1.0
-> installed dream-pure.1.0.0~alpha2
-> installed dream-httpaf.1.0.0~alpha3
-> installed dream.1.0.0~alpha6
-> installed dream-html.2.0.0
Done.
# Run eval $(opam env) to update the current shell environment
2024-07-03 19:55.08 ---> saved as "deee8df2961dcae5cda1e29259cd27c3506792f2b377b4f9bed0af06b0995384"

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

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dream-html.2.0.0  (https://github.com/yawaramin/dream-html/releases/download/v2.0.0/dream-html-2.0.0.tbz)
-> removed   dream-html.2.0.0
-> installed dream-html.2.0.0
Done.
# Run eval $(opam env) to update the current shell environment
2024-07-03 19:55.23 ---> saved as "4686b74f674218aedc24dadc884736525b83a7b6ceb50699dfca1959bcd37990"

/home/opam: (run (shell  "opam reinstall --with-test --verbose dream-html.2.0.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\" != 'dream-html.2.0.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 dream-html 2.0.0

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/4: [dream-html.2.0.0: extract]
-> retrieved dream-html.2.0.0  (cached)
Processing  2/4: [dream-html: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "dream-html" "-j" "255" "@install" "@runtest" (CWD=/home/opam/.opam/4.14/.opam-switch/build/dream-html.2.0.0)
- (cd _build/default/test && ./dream_html_test.exe)
- <!DOCTYPE html>
- <html lang="en"><head><title>Dream_html Test</title>
- </head>
- <body id="test-content"><main spellcheck="true" colspan="1"><article id="article-1" class="story"><p data-hx-get="/p1?a%20b" data-hx-target="closest article > p">Test para 1.</p>
- <p>Test para 2.</p>
- <a href="/a?b=cd:efg/hij">cd:efg/hij</a>
- <a href="/%F0%9F%98%89">wink</a>
- </article>
- <input type="text" autocomplete="name" onblur="if (1 > 0) alert(this.value)"><!-- oops --&gt;&lt;script&gt;alert(&#x27;lol&#x27;)&lt;/script&gt; -->
- <dialog open title="&quot;hello&quot;"><div></div>
- </dialog>
- <template id="idtmpl"><p>Template</p>
- </template>
- <div translate="no"><p translate="yes"></p>
- </div>
- <textarea required data-hx-trigger="keyup[target.value.trim() != '']" autocapitalize="words">'super'</textarea>
- <hr class="super"><p id="greet-Bob">Hello, Bob!</p>
- </main>
- </body>
- </html>
- 
- <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewbox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-6 h-6"><path stroke-linecap="round" stroke-linejoin="round" d="M4.5 10.5L12 3m0 0l7.5 7.5M12 3v18"></path>
- </svg>
- 
-> compiled  dream-html.2.0.0
-> removed   dream-html.2.0.0
-> installed dream-html.2.0.0
Done.
# Run eval $(opam env) to update the current shell environment
2024-07-03 19:55.39 ---> saved as "36369a0fc389751f060108465a0c4e3c7ac6b93785844513d5818a7b8ef8faf0"
Job succeeded
2024-07-03 19:55.57: Job succeeded