(for PR #28222)

2025-08-21 14:28.35: New job: test dream_middleware_ext.0.1.0 with lwt.6.0.0~alpha01, using opam 2.3
                              from https://github.com/ocaml/opam-repository.git#refs/pull/28222/head (a14b2680809606d7e55ae7ed410b73438cb77bd0)
                              on debian-12-ocaml-5.3/amd64

To reproduce locally:

cd $(mktemp -d)
git clone --recursive "https://github.com/ocaml/opam-repository.git" && cd "opam-repository" && git fetch origin "refs/pull/28222/head" && git reset --hard a14b2680
git fetch origin master
git merge --no-edit 4bae7ec4df49df4454ea492c8d7a1196aeae04e0
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.3@sha256:ea4d070703e4c16aa9fe1cdf0b1a22c669ee514080881d205b570783be9040da
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam
RUN opam init --reinit -ni
RUN opam option solver=builtin-0install && opam config report
ENV OPAMDOWNLOADJOBS="1"
ENV OPAMERRLOGLEN="0"
ENV OPAMPRECISETRACKING="1"
ENV CI="true"
ENV OPAM_REPO_CI="true"
RUN rm -rf opam-repository/
COPY --chown=1000:1000 . opam-repository/
RUN opam repository set-url --strict default opam-repository/
RUN opam update --depexts || true
RUN opam pin add -k version -yn lwt.6.0.0~alpha01 6.0.0~alpha01
RUN opam reinstall lwt.6.0.0~alpha01; \
    res=$?; \
    test "$res" != 31 && exit "$res"; \
    export OPAMCLI=2.0; \
    build_dir=$(opam var prefix)/.opam-switch/build; \
    failed=$(ls "$build_dir"); \
    partial_fails=""; \
    for pkg in $failed; do \
    if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-12\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'lwt.6.0.0~alpha01' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1
RUN opam reinstall dream_middleware_ext.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" != 'dream_middleware_ext.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 reinstall --with-test dream_middleware_ext.0.1.0) || true
RUN opam reinstall --with-test --verbose dream_middleware_ext.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" != 'dream_middleware_ext.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 .

2025-08-21 14:28.35: Using cache hint "ocaml/opam:debian-12-ocaml-5.3@sha256:ea4d070703e4c16aa9fe1cdf0b1a22c669ee514080881d205b570783be9040da-lwt.6.0.0~alpha01-dream_middleware_ext.0.1.0-a14b2680809606d7e55ae7ed410b73438cb77bd0"
2025-08-21 14:28.35: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.3@sha256:ea4d070703e4c16aa9fe1cdf0b1a22c669ee514080881d205b570783be9040da)
 (user (uid 1000) (gid 1000))
 (workdir /home/opam)
 (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
 (run (network host)
      (shell "opam init --reinit --config .opamrc-sandbox -ni"))
 (run (shell "opam option solver=builtin-0install && opam config report"))
 (env OPAMDOWNLOADJOBS 1)
 (env OPAMERRLOGLEN 0)
 (env OPAMPRECISETRACKING 1)
 (env CI true)
 (env OPAM_REPO_CI true)
 (run (shell "rm -rf opam-repository/"))
 (copy (src .) (dst opam-repository/))
 (run (shell "opam repository set-url --strict default opam-repository/"))
 (run (network host)
      (shell "opam update --depexts || true"))
 (run (shell "opam pin add -k version -yn lwt.6.0.0~alpha01 6.0.0~alpha01"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall lwt.6.0.0~alpha01;\
             \n        res=$?;\
             \n        test \"$res\" != 31 && exit \"$res\";\
             \n        export OPAMCLI=2.0;\
             \n        build_dir=$(opam var prefix)/.opam-switch/build;\
             \n        failed=$(ls \"$build_dir\");\
             \n        partial_fails=\"\";\
             \n        for pkg in $failed; do\
             \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-12\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'lwt.6.0.0~alpha01' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall dream_middleware_ext.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\" != 'dream_middleware_ext.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 (network host)
      (shell "(opam reinstall --with-test dream_middleware_ext.0.1.0) || true"))
 (run (shell  "opam reinstall --with-test --verbose dream_middleware_ext.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\" != 'dream_middleware_ext.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"))
)

2025-08-21 14:28.35: Waiting for resource in pool OCluster
2025-08-21 14:41.06: Waiting for worker…
2025-08-21 14:43.20: Got resource from pool OCluster
Building on clete.caelum.ci.dev
All commits already cached
Updating files:  82% (14918/18065)
Updating files:  83% (14994/18065)
Updating files:  84% (15175/18065)
Updating files:  85% (15356/18065)
Updating files:  86% (15536/18065)
Updating files:  87% (15717/18065)
Updating files:  88% (15898/18065)
Updating files:  89% (16078/18065)
Updating files:  90% (16259/18065)
Updating files:  91% (16440/18065)
Updating files:  92% (16620/18065)
Updating files:  93% (16801/18065)
Updating files:  94% (16982/18065)
Updating files:  95% (17162/18065)
Updating files:  96% (17343/18065)
Updating files:  97% (17524/18065)
Updating files:  98% (17704/18065)
Updating files:  99% (17885/18065)
Updating files: 100% (18065/18065)
Updating files: 100% (18065/18065), done.
HEAD is now at 4bae7ec4df Merge pull request #28375 from jmid/opam-compiler-re-bounds
Merge made by the 'ort' strategy.
 packages/curl_lwt/curl_lwt.0.10.0/opam            |  2 +-
 packages/lwt/lwt.6.0.0~alpha01/opam               | 69 +++++++++++++++++++++++
 packages/lwt_direct/lwt_direct.6.0.0~alpha01/opam | 44 +++++++++++++++
 packages/lwt_glib/lwt_glib.1.0.1/opam             |  2 +-
 packages/lwt_glib/lwt_glib.1.1.0/opam             |  2 +-
 packages/lwt_glib/lwt_glib.1.1.1/opam             |  2 +-
 packages/lwt_log/lwt_log.1.1.0/opam               |  2 +-
 packages/lwt_log/lwt_log.1.1.1/opam               |  2 +-
 packages/lwt_log/lwt_log.1.1.2/opam               |  2 +-
 packages/ocurl/ocurl.0.7.6/opam                   |  1 +
 packages/ocurl/ocurl.0.7.7/opam                   |  1 +
 packages/ocurl/ocurl.0.7.8/opam                   |  1 +
 packages/ocurl/ocurl.0.7.9/opam                   |  1 +
 packages/ocurl/ocurl.0.8.1/opam                   |  1 +
 packages/ocurl/ocurl.0.8.2/opam                   |  1 +
 packages/ocurl/ocurl.0.9.0/opam                   |  1 +
 packages/ocurl/ocurl.0.9.1/opam                   |  1 +
 packages/ocurl/ocurl.0.9.2/opam                   |  1 +
 18 files changed, 129 insertions(+), 7 deletions(-)
 create mode 100644 packages/lwt/lwt.6.0.0~alpha01/opam
 create mode 100644 packages/lwt_direct/lwt_direct.6.0.0~alpha01/opam

(from ocaml/opam:debian-12-ocaml-5.3@sha256:ea4d070703e4c16aa9fe1cdf0b1a22c669ee514080881d205b570783be9040da)
2025-08-21 14:44.00 ---> using "7b3e7b3709bbd37e599e66041e6848f5fe2736f92dc6c0cdd0ce7e7e3b68a5fe" from cache

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-08-21 14:44.00 ---> using "fdb2f3150c6149944c5fb21481d03894b2a1eb858b0e57dd2c9a75abe976a37d" 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
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-08-21 14:44.00 ---> using "17e4912cc343bf9d6e06e48e9e9351b5dc4e90574d8d51e624e13d87c1256c34" from cache

/home/opam: (run (shell "opam option solver=builtin-0install && opam config report"))
Set to 'builtin-0install' the field solver in global configuration
# opam config report
# opam-version         2.3.0 (35acd0c5abc5e66cdbd5be16ba77aa6c33a4c724)
# self-upgrade         no
# system               arch=x86_64 os=linux os-distribution=debian os-version=12
# solver               builtin-0install
# install-criteria     -changed,-count[avoid-version,solution]
# upgrade-criteria     -count[avoid-version,solution]
# jobs                 71
# repositories         1 (version-controlled)
# pinned               1 (version)
# current-switch       5.3
# invariant            ["ocaml-base-compiler" {= "5.3.0"}]
# compiler-packages    ocaml-base-compiler.5.3.0, ocaml-compiler.5.3.0, ocaml-options-vanilla.1
# ocaml:native         true
# ocaml:native-tools   true
# ocaml:native-dynlink true
# ocaml:stubsdir       /home/opam/.opam/5.3/lib/ocaml/stublibs:/home/opam/.opam/5.3/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       5.3.0
2025-08-21 14:44.00 ---> using "6706a07cda0f456729fd8ea317c1b2e469be2575c65745711a34e940deb30914" from cache

/home/opam: (env OPAMDOWNLOADJOBS 1)

/home/opam: (env OPAMERRLOGLEN 0)

/home/opam: (env OPAMPRECISETRACKING 1)

/home/opam: (env CI true)

/home/opam: (env OPAM_REPO_CI true)

/home/opam: (run (shell "rm -rf opam-repository/"))
2025-08-21 14:44.00 ---> using "446e092e760c930913d6e325d53ad558bf56968ae9672a6e786f97fb5382a4a2" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2025-08-21 14:44.01 ---> using "e2d8033e36d0fb3ddcd7c5ffe7ca15b94d06ebe44acbaee74a0996ef8753f31d" from cache

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-08-21 14:44.01 ---> using "102a3119b01dda2f8e376fe34bff237f44bca320d513614a9a351f4b25965402" from cache

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian bookworm InRelease
- Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
- Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
- Get:4 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [274 kB]
- Fetched 378 kB in 0s (757 kB/s)
- Reading package lists...
- 
2025-08-21 14:44.01 ---> using "24d874fb0411c6b2f2d4776fdc89242207712820407a8f30cf172d2fdb697872" from cache

/home/opam: (run (shell "opam pin add -k version -yn lwt.6.0.0~alpha01 6.0.0~alpha01"))
lwt is now pinned to version 6.0.0~alpha01
2025-08-21 14:44.01 ---> using "6ab5442de9272c0f0db61129d10e60bfa1be8d0f95173d943f2d541603c9d186" from cache

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall lwt.6.0.0~alpha01;\
                        \n        res=$?;\
                        \n        test \"$res\" != 31 && exit \"$res\";\
                        \n        export OPAMCLI=2.0;\
                        \n        build_dir=$(opam var prefix)/.opam-switch/build;\
                        \n        failed=$(ls \"$build_dir\");\
                        \n        partial_fails=\"\";\
                        \n        for pkg in $failed; do\
                        \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-12\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'lwt.6.0.0~alpha01' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
lwt.6.0.0~alpha01 is not installed. Install it? [y/n] y
The following actions will be performed:
=== install 9 packages
  - install base-bytes        base                   [required by ocplib-endian]
  - install cppo              1.8.0                  [required by lwt]
  - install csexp             1.5.2                  [required by dune-configurator]
  - install domain_shims      0.1.0                  [required by lwt]
  - install dune              3.20.0                 [required by lwt]
  - install dune-configurator 3.20.0                 [required by lwt]
  - install lwt               6.0.0~alpha01 (pinned)
  - install ocamlfind         1.9.8                  [required by base-bytes]
  - install ocplib-endian     1.2                    [required by lwt]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cppo.1.8.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved domain_shims.0.1.0  (cached)
-> retrieved dune.3.20.0, dune-configurator.3.20.0  (cached)
-> retrieved lwt.6.0.0~alpha01  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed dune.3.20.0
-> installed domain_shims.0.1.0
-> installed csexp.1.5.2
-> installed cppo.1.8.0
-> installed ocplib-endian.1.2
-> installed dune-configurator.3.20.0
-> installed lwt.6.0.0~alpha01
Done.
# To update the current shell environment, run: eval $(opam env)
2025-08-21 14:44.01 ---> using "934ae348bdb4eb1a3fa9f44645715c7fa3377f89d2dc4f3d2bd34a7121234837" from cache

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall dream_middleware_ext.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\" != 'dream_middleware_ext.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"))
dream_middleware_ext.0.1.0 is not installed. Install it? [y/n] y
The following actions will be performed:
=== recompile 1 package
  - recompile lwt                   6.0.0~alpha01 (pinned) [uses conf-libev]
=== install 103 packages
  - install   angstrom              0.16.1                 [required by multipart_form, caqti, multipart_form-lwt]
  - install   asn1-combinators      0.3.2                  [required by x509]
  - install   base64                3.5.1                  [required by multipart_form]
  - install   bigarray-compat       1.1.0                  [required by dream]
  - install   bigarray-overlap      0.2.1                  [required by prettym]
  - install   bigstringaf           0.10.0                 [required by multipart_form, caqti, multipart_form-lwt]
  - install   camlp-streams         5.0.1                  [required by dream]
  - install   caqti                 2.2.4                  [required by dream]
  - install   caqti-lwt             2.2.4                  [required by dream]
  - install   conf-gmp              5                      [required by conf-gmp-powm-sec, zarith]
  - install   conf-gmp-powm-sec     4                      [required by mirage-crypto-pk]
  - install   conf-libev            4-12                   [required by dream]
  - install   conf-libssl           4                      [required by ssl]
  - install   conf-pkg-config       4                      [required by bigarray-overlap]
  - install   cstruct               6.2.0                  [required by dream]
  - install   digestif              1.3.0                  [required by dream]
  - install   domain-name           0.4.1                  [required by caqti, caqti-lwt]
  - install   dream                 1.0.0~alpha8           [required by dream_middleware_ext]
  - install   dream-httpaf          1.0.0~alpha4           [required by dream]
  - install   dream-pure            1.0.0~alpha2           [required by dream]
  - install   dream_middleware_ext  0.1.0
  - install   dune-private-libs     3.20.0                 [required by dune-site]
  - install   dune-site             3.20.0                 [required by caqti]
  - install   duration              0.2.1                  [required by mirage-crypto-rng-lwt]
  - install   dyn                   3.20.0                 [required by dune-private-libs]
  - install   eqaf                  0.10                   [required by mirage-crypto-ec, digestif, mirage-crypto-pk]
  - install   faraday               0.8.2                  [required by httpun, gluten, h2, httpun-ws]
  - install   faraday-lwt           0.8.2                  [required by faraday-lwt-unix]
  - install   faraday-lwt-unix      0.8.2                  [required by gluten-lwt-unix, h2-lwt-unix]
  - install   fmt                   0.11.0                 [required by dream]
  - install   gluten                0.5.2                  [required by dream-httpaf]
  - install   gluten-lwt            0.5.2                  [required by gluten-lwt-unix]
  - install   gluten-lwt-unix       0.5.2                  [required by dream-httpaf]
  - install   gmap                  0.3.0                  [required by x509]
  - 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   h2                    0.10.0                 [required by dream-httpaf]
  - install   h2-lwt                0.10.0                 [required by h2-lwt-unix]
  - install   h2-lwt-unix           0.10.0                 [required by dream-httpaf]
  - install   hmap                  0.8.1                  [required by dream-pure]
  - install   hpack                 0.13.0                 [required by h2]
  - install   httpaf                0.7.1                  [required by h2]
  - install   httpun                0.1.0                  [required by dream-httpaf]
  - install   httpun-lwt            0.1.0                  [required by httpun-lwt-unix]
  - install   httpun-lwt-unix       0.1.0                  [required by dream-httpaf]
  - install   httpun-types          0.1.0                  [required by httpun]
  - install   httpun-ws             0.2.0                  [required by dream-httpaf]
  - install   ipaddr                5.6.1                  [required by dream_middleware_ext]
  - install   kdf                   1.0.0                  [required by tls]
  - install   ke                    0.6                    [required by multipart_form, multipart_form-lwt]
  - install   lambdasoup            1.1.1                  [required by dream]
  - install   logs                  0.9.0                  [required by dream]
  - install   lru                   0.3.1                  [required by caqti]
  - install   lwt-dllist            1.1.0                  [required by caqti]
  - install   lwt_ppx               5.9.1                  [required by dream_middleware_ext]
  - install   lwt_ssl               1.2.0                  [required by dream]
  - install   macaddr               5.6.1                  [required by ipaddr]
  - install   magic-mime            1.3.1                  [required by dream]
  - install   markup                1.0.3                  [required by dream]
  - install   menhir                20240715               [required by graphql_parser]
  - install   menhirCST             20240715               [required by menhir]
  - install   menhirLib             20240715               [required by menhir]
  - install   menhirSdk             20240715               [required by menhir]
  - install   mirage-clock          4.2.0                  [required by dream]
  - install   mirage-crypto         1.2.0                  [required by dream]
  - install   mirage-crypto-ec      1.2.0                  [required by tls]
  - install   mirage-crypto-pk      1.2.0                  [required by tls]
  - install   mirage-crypto-rng     1.2.0                  [required by dream]
  - install   mirage-crypto-rng-lwt 1.2.0                  [required by dream]
  - install   mtime                 2.1.0                  [required by caqti-lwt, caqti, mirage-crypto-rng-lwt]
  - install   multipart_form        0.7.0                  [required by dream]
  - install   multipart_form-lwt    0.7.0                  [required by dream]
  - install   ocaml-compiler-libs   v0.17.0                [required by ppxlib]
  - install   ocaml-syntax-shims    1.0.0                  [required by angstrom]
  - install   ocamlbuild            0.16.1                 [required by mtime, logs, ptime]
  - install   ohex                  0.2.0                  [required by tls]
  - install   ordering              3.20.0                 [required by dyn, stdune]
  - install   pecu                  0.7                    [required by multipart_form]
  - install   pp                    2.0.0                  [required by dune-private-libs]
  - install   ppx_derivers          1.2.1                  [required by ppxlib]
  - install   ppxlib                0.35.0                 [required by lwt_ppx]
  - install   prettym               0.0.3                  [required by multipart_form]
  - install   psq                   0.2.1                  [required by lru, h2]
  - install   ptime                 1.2.0                  [required by dream_middleware_ext]
  - install   re                    1.13.2                 [required by graphql_parser]
  - install   result                1.5                    [required by httpaf]
  - install   rresult               0.7.0                  [required by graphql]
  - install   seq                   base                   [required by re, 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   stdune                3.20.0                 [required by dune-private-libs]
  - install   stringext             1.6.0                  [required by uri]
  - install   tls                   2.0.1                  [required by caqti]
  - install   topkg                 1.1.0                  [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_middleware_ext]
  - install   uutf                  1.0.4                  [required by multipart_form]
  - install   x509                  1.0.6                  [required by caqti]
  - install   yojson                3.0.0                  [required by dream]
  - install   zarith                1.14                   [required by mirage-crypto-pk]

The following system packages will first need to be installed:
    libev-dev libgmp-dev libssl-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" "libev-dev" "libgmp-dev" "libssl-dev" "pkg-config"
- 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 ... 18778 files and directories currently installed.)
- Preparing to unpack .../0-libev4_1%3a4.33-1_amd64.deb ...
- Unpacking libev4:amd64 (1:4.33-1) ...
- Selecting previously unselected package libev-dev:amd64.
- Preparing to unpack .../1-libev-dev_1%3a4.33-1_amd64.deb ...
- Unpacking libev-dev:amd64 (1:4.33-1) ...
- Selecting previously unselected package libgmpxx4ldbl:amd64.
- Preparing to unpack .../2-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 .../3-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 .../4-libpkgconf3_1.8.1-1_amd64.deb ...
- Unpacking libpkgconf3:amd64 (1.8.1-1) ...
- Selecting previously unselected package libssl-dev:amd64.
- Preparing to unpack .../5-libssl-dev_3.0.17-1~deb12u2_amd64.deb ...
- Unpacking libssl-dev:amd64 (3.0.17-1~deb12u2) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../6-pkgconf-bin_1.8.1-1_amd64.deb ...
- Unpacking pkgconf-bin (1.8.1-1) ...
- Selecting previously unselected package pkgconf:amd64.
- Preparing to unpack .../7-pkgconf_1.8.1-1_amd64.deb ...
- Unpacking pkgconf:amd64 (1.8.1-1) ...
- Selecting previously unselected package pkg-config:amd64.
- Preparing to unpack .../8-pkg-config_1.8.1-1_amd64.deb ...
- Unpacking pkg-config:amd64 (1.8.1-1) ...
- Setting up libev4:amd64 (1:4.33-1) ...
- Setting up libpkgconf3:amd64 (1.8.1-1) ...
- Setting up libgmpxx4ldbl:amd64 (2:6.2.1+dfsg1-1.1) ...
- Setting up libssl-dev:amd64 (3.0.17-1~deb12u2) ...
- Setting up pkgconf-bin (1.8.1-1) ...
- Setting up libev-dev:amd64 (1:4.33-1) ...
- Setting up libgmp-dev:amd64 (2:6.2.1+dfsg1-1.1) ...
- Setting up pkgconf:amd64 (1.8.1-1) ...
- Setting up pkg-config:amd64 (1.8.1-1) ...
- Processing triggers for libc-bin (2.36-9+deb12u10) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved angstrom.0.16.1  (cached)
-> retrieved asn1-combinators.0.3.2  (cached)
-> retrieved base64.3.5.1  (cached)
-> retrieved bigarray-compat.1.1.0  (cached)
-> retrieved bigarray-overlap.0.2.1  (cached)
-> retrieved bigstringaf.0.10.0  (cached)
-> retrieved camlp-streams.5.0.1  (cached)
-> retrieved caqti.2.2.4, caqti-lwt.2.2.4  (cached)
-> retrieved conf-gmp.5  (cached)
-> retrieved conf-gmp-powm-sec.4  (cached)
-> retrieved conf-libev.4-12  (cached)
-> retrieved conf-libssl.4  (cached)
-> installed conf-pkg-config.4
-> retrieved cstruct.6.2.0  (cached)
-> installed conf-gmp.5
-> installed conf-libssl.4
-> installed conf-gmp-powm-sec.4
-> installed bigarray-compat.1.1.0
-> installed base64.3.5.1
-> installed bigarray-overlap.0.2.1
-> installed bigstringaf.0.10.0
-> installed camlp-streams.5.0.1
-> installed conf-libev.4-12
-> retrieved digestif.1.3.0  (cached)
-> retrieved domain-name.0.4.1  (cached)
-> retrieved dream.1.0.0~alpha8, dream-httpaf.1.0.0~alpha4  (cached)
-> retrieved dream-pure.1.0.0~alpha2  (cached)
-> retrieved dream_middleware_ext.0.1.0  (cached)
-> installed domain-name.0.4.1
-> retrieved dune-private-libs.3.20.0, dune-site.3.20.0, dyn.3.20.0, ordering.3.20.0, stdune.3.20.0  (cached)
-> retrieved duration.0.2.1  (cached)
-> retrieved eqaf.0.10  (cached)
-> retrieved faraday.0.8.2, faraday-lwt.0.8.2, faraday-lwt-unix.0.8.2  (cached)
-> retrieved fmt.0.11.0  (cached)
-> retrieved gluten.0.5.2, gluten-lwt.0.5.2, gluten-lwt-unix.0.5.2  (cached)
-> retrieved gmap.0.3.0  (cached)
-> retrieved graphql.0.14.0, graphql-lwt.0.14.0, graphql_parser.0.14.0  (cached)
-> installed duration.0.2.1
-> retrieved h2.0.10.0, h2-lwt.0.10.0, h2-lwt-unix.0.10.0  (cached)
-> installed faraday.0.8.2
-> retrieved hmap.0.8.1  (cached)
-> installed gmap.0.3.0
-> retrieved hpack.0.13.0  (cached)
-> retrieved httpaf.0.7.1  (cached)
-> retrieved httpun.0.1.0, httpun-lwt.0.1.0, httpun-lwt-unix.0.1.0, httpun-types.0.1.0  (cached)
-> installed gluten.0.5.2
-> retrieved httpun-ws.0.2.0  (cached)
-> installed eqaf.0.10
-> retrieved ipaddr.5.6.1, macaddr.5.6.1  (cached)
-> retrieved kdf.1.0.0  (cached)
-> retrieved ke.0.6  (cached)
-> retrieved lambdasoup.1.1.1  (cached)
-> retrieved logs.0.9.0  (cached)
-> retrieved lru.0.3.1  (cached)
-> removed   lwt.6.0.0~alpha01
-> retrieved lwt-dllist.1.1.0  (cached)
-> retrieved lwt_ppx.5.9.1  (cached)
-> installed httpun-types.0.1.0
-> retrieved lwt_ssl.1.2.0  (cached)
-> retrieved magic-mime.1.3.1  (cached)
-> retrieved markup.1.0.3  (cached)
-> installed macaddr.5.6.1
-> retrieved menhir.20240715, menhirCST.20240715, menhirLib.20240715, menhirSdk.20240715  (cached)
-> installed ordering.3.20.0
-> installed lwt-dllist.1.1.0
-> retrieved mirage-clock.4.2.0  (cached)
-> installed ipaddr.5.6.1
-> installed menhirCST.20240715
-> installed digestif.1.3.0
-> installed mirage-clock.4.2.0
-> installed menhirSdk.20240715
-> installed magic-mime.1.3.1
-> retrieved mirage-crypto.1.2.0, mirage-crypto-ec.1.2.0, mirage-crypto-pk.1.2.0, mirage-crypto-rng.1.2.0, mirage-crypto-rng-lwt.1.2.0  (cached)
-> installed menhirLib.20240715
-> retrieved mtime.2.1.0  (cached)
-> retrieved multipart_form.0.7.0, multipart_form-lwt.0.7.0  (cached)
-> retrieved ocaml-compiler-libs.v0.17.0  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ohex.0.2.0  (cached)
-> retrieved pecu.0.7  (cached)
-> retrieved pp.2.0.0  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> installed ppx_derivers.1.2.1
-> installed ohex.0.2.0
-> retrieved ppxlib.0.35.0  (cached)
-> retrieved prettym.0.0.3  (cached)
-> installed pecu.0.7
-> installed pp.2.0.0
-> installed ocaml-compiler-libs.v0.17.0
-> installed ocaml-syntax-shims.1.0.0
-> retrieved psq.0.2.1  (cached)
-> retrieved ptime.1.2.0  (cached)
-> retrieved re.1.13.2  (cached)
-> retrieved result.1.5  (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)
-> installed lwt.6.0.0~alpha01
-> retrieved tls.2.0.1  (cached)
-> retrieved topkg.1.1.0  (cached)
-> retrieved uchar.0.0.2  (cached)
-> retrieved unstrctrd.0.4  (cached)
-> installed result.1.5
-> installed mirage-crypto.1.2.0
-> retrieved uri.4.4.0  (cached)
-> retrieved uutf.1.0.4  (cached)
-> installed psq.0.2.1
-> installed stringext.1.6.0
-> retrieved x509.1.0.6  (cached)
-> installed faraday-lwt.0.8.2
-> retrieved yojson.3.0.0  (cached)
-> installed angstrom.0.16.1
-> installed stdlib-shims.0.3.0
-> installed gluten-lwt.0.5.2
-> installed kdf.1.0.0
-> retrieved zarith.1.14  (cached)
-> installed sexplib0.v0.17.0
-> installed lru.0.3.1
-> installed dyn.3.20.0
-> installed faraday-lwt-unix.0.8.2
-> installed re.1.13.2
-> installed hpack.0.13.0
-> installed httpaf.0.7.1
-> installed httpun.0.1.0
-> installed ssl.0.7.0
-> installed httpun-lwt.0.1.0
-> installed lwt_ssl.1.2.0
-> installed yojson.3.0.0
-> installed httpun-ws.0.2.0
-> installed gluten-lwt-unix.0.5.2
-> installed httpun-lwt-unix.0.1.0
-> installed h2.0.10.0
-> installed uri.4.4.0
-> installed h2-lwt.0.10.0
-> installed h2-lwt-unix.0.10.0
-> installed zarith.1.14
-> installed ocamlbuild.0.16.1
-> installed stdune.3.20.0
-> installed uchar.0.0.2
-> installed dune-private-libs.3.20.0
-> installed dune-site.3.20.0
-> installed topkg.1.1.0
-> installed hmap.0.8.1
-> installed rresult.0.7.0
-> installed uutf.1.0.4
-> installed unstrctrd.0.4
-> installed fmt.0.11.0
-> installed mtime.2.1.0
-> installed ptime.1.2.0
-> installed ke.0.6
-> installed cstruct.6.2.0
-> installed asn1-combinators.0.3.2
-> installed prettym.0.0.3
-> installed markup.1.0.3
-> installed menhir.20240715
-> installed logs.0.9.0
-> installed lambdasoup.1.1.1
-> installed graphql_parser.0.14.0
-> installed mirage-crypto-rng.1.2.0
-> installed multipart_form.0.7.0
-> installed mirage-crypto-rng-lwt.1.2.0
-> installed multipart_form-lwt.0.7.0
-> installed graphql.0.14.0
-> installed mirage-crypto-pk.1.2.0
-> installed graphql-lwt.0.14.0
-> installed ppxlib.0.35.0
-> installed lwt_ppx.5.9.1
-> installed mirage-crypto-ec.1.2.0
-> installed dream-pure.1.0.0~alpha2
-> installed dream-httpaf.1.0.0~alpha4
-> installed x509.1.0.6
-> installed tls.2.0.1
-> installed caqti.2.2.4
[ERROR] The compilation of caqti-lwt.2.2.4 failed at "dune build -p caqti-lwt -j 71".

#=== ERROR while compiling caqti-lwt.2.2.4 ====================================#
# context              2.3.0 | linux/x86_64 | ocaml-base-compiler.5.3.0 | file:///home/opam/opam-repository
# path                 ~/.opam/5.3/.opam-switch/build/caqti-lwt.2.2.4
# command              ~/.opam/opam-init/hooks/sandbox.sh build dune build -p caqti-lwt -j 71
# exit-code            1
# env-file             ~/.opam/log/caqti-lwt-7-555522.env
# output-file          ~/.opam/log/caqti-lwt-7-555522.out
### output ###
# (cd _build/default && /home/opam/.opam/5.3/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -I caqti-lwt/lib-unix/.caqti_lwt_unix.objs/byte -I /home/opam/.opam/5.3/lib/angstrom -I /home/opam/.opam/5.3/lib/bigstringaf -I /home/opam/.opam/5.3/lib/bytes -I /home/opam/.opam/5.3/lib/caqti -I /home/opam/.opam/5.3/lib/caqti/platform -I /home/opam/.opam/5.3/lib/caqti/platform/unix -I /home/opam/.opam/5.3/lib/caqti/template -I /home/opam/.opam/5.3/lib/domain-name -I /home/opam/.opam/5.3/lib/domain_shims -I /home/opam/.opam/5.3/lib/ipaddr -I /home/opam/.opam/5.3/lib/logs -I /home/opam/.opam/5.3/lib/logs/lwt -I /home/opam/.opam/5.3/lib/lru -I /home/opam/.opam/5.3/lib/lwt -I /home/opam/.opam/5.3/lib/lwt-dllist -I /home/opam/.opam/5.3/lib/lwt/unix -I /home/opam/.opam/5.3/lib/macaddr -I /home/opam/.opam/5.3/lib/mtime -I /home/opam/.opam/5.3/lib/mtime/clock -I /home/opam/.opam/5.3/lib/ocaml/threads -I /home/opam/.opam/5.3/lib/ocaml/unix -I /home/opam/.opam/5.3/lib/ocplib-endian -I /home/opam/.opam/5.3/lib/ocplib-endian/bigstring -I /home/opam/.opam/5.3/lib/psq -I /home/opam/.opam/5.3/lib/ptime -I /home/opam/.opam/5.3/lib/seq -I /home/opam/.opam/5.3/lib/stringext -I /home/opam/.opam/5.3/lib/uri -I caqti-lwt/lib/.caqti_lwt.objs/byte -cmi-file caqti-lwt/lib-unix/.caqti_lwt_unix.objs/byte/caqti_lwt_unix.cmi -no-alias-deps -open Caqti_lwt_unix__ -o caqti-lwt/lib-unix/.caqti_lwt_unix.objs/byte/caqti_lwt_unix.cmo -c -impl caqti-lwt/lib-unix/caqti_lwt_unix.ml)
# File "caqti-lwt/lib-unix/caqti_lwt_unix.ml", line 23, characters 16-77:
# 23 | module Loader = Caqti_platform_unix.Driver_loader.Make (System) (System_unix)
#                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# Error: This application of the functor "Caqti_platform_unix.Driver_loader.Make" is ill-typed.
#        These arguments:
#          System Caqti_lwt_unix__.System_unix
#        do not match these parameters:
#          (System : Caqti_platform.System_sig.S) (Arg : $T2) -> ...
#        1. Module System matches the expected module type Caqti_platform.System_sig.S
#        2. Modules do not match:
#             Caqti_lwt_unix__.System_unix :
#             sig
#               module Preemptive = Lwt_preemptive
#               module Unix = Caqti_lwt_unix__System_unix.Unix
#             end
#           is not included in
#             $T2 =
#             sig
#               module Unix :
#                 sig
#                   type file_descr
#                   val wrap_fd :
#                     (file_descr -> 'a System.Fiber.t) ->
#                     Unix.file_descr -> 'a System.Fiber.t
#                   val poll :
#                     stdenv:System.stdenv ->
#                     ?read:bool ->
#                     ?write:bool ->
#                     ?timeout:float ->
#                     file_descr -> (bool * bool * bool) System.Fiber.t
#                 end
#               module Preemptive :
#                 sig
#                   val detach : ('a -> 'b) -> 'a -> 'b System.Fiber.t
#                   val run_in_main : (unit -> 'a System.Fiber.t) -> 'a
#                 end
#             end
#           ... In module "Preemptive":
#           The value "run_in_main" is required but not provided
#           File "caqti/lib-platform-unix/driver_loader.mli", lines 43-45, characters 9-39:
#             Expected declaration
# (cd _build/default && /home/opam/.opam/5.3/bin/ocamlopt.opt -w -40 -g -I caqti-lwt/lib-unix/.caqti_lwt_unix.objs/byte -I caqti-lwt/lib-unix/.caqti_lwt_unix.objs/native -I /home/opam/.opam/5.3/lib/angstrom -I /home/opam/.opam/5.3/lib/bigstringaf -I /home/opam/.opam/5.3/lib/bytes -I /home/opam/.opam/5.3/lib/caqti -I /home/opam/.opam/5.3/lib/caqti/platform -I /home/opam/.opam/5.3/lib/caqti/platform/unix -I /home/opam/.opam/5.3/lib/caqti/template -I /home/opam/.opam/5.3/lib/domain-name -I /home/opam/.opam/5.3/lib/domain_shims -I /home/opam/.opam/5.3/lib/ipaddr -I /home/opam/.opam/5.3/lib/logs -I /home/opam/.opam/5.3/lib/logs/lwt -I /home/opam/.opam/5.3/lib/lru -I /home/opam/.opam/5.3/lib/lwt -I /home/opam/.opam/5.3/lib/lwt-dllist -I /home/opam/.opam/5.3/lib/lwt/unix -I /home/opam/.opam/5.3/lib/macaddr -I /home/opam/.opam/5.3/lib/mtime -I /home/opam/.opam/5.3/lib/mtime/clock -I /home/opam/.opam/5.3/lib/ocaml/threads -I /home/opam/.opam/5.3/lib/ocaml/unix -I /home/opam/.opam/5.3/lib/ocplib-endian -I /home/opam/.opam/5.3/lib/ocplib-endian/bigstring -I /home/opam/.opam/5.3/lib/psq -I /home/opam/.opam/5.3/lib/ptime -I /home/opam/.opam/5.3/lib/seq -I /home/opam/.opam/5.3/lib/stringext -I /home/opam/.opam/5.3/lib/uri -I caqti-lwt/lib/.caqti_lwt.objs/byte -I caqti-lwt/lib/.caqti_lwt.objs/native -cmi-file caqti-lwt/lib-unix/.caqti_lwt_unix.objs/byte/caqti_lwt_unix.cmi -no-alias-deps -open Caqti_lwt_unix__ -o caqti-lwt/lib-unix/.caqti_lwt_unix.objs/native/caqti_lwt_unix.cmx -c -impl caqti-lwt/lib-unix/caqti_lwt_unix.ml)
# File "caqti-lwt/lib-unix/caqti_lwt_unix.ml", line 23, characters 16-77:
# 23 | module Loader = Caqti_platform_unix.Driver_loader.Make (System) (System_unix)
#                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# Error: This application of the functor "Caqti_platform_unix.Driver_loader.Make" is ill-typed.
#        These arguments:
#          System Caqti_lwt_unix__.System_unix
#        do not match these parameters:
#          (System : Caqti_platform.System_sig.S) (Arg : $T2) -> ...
#        1. Module System matches the expected module type Caqti_platform.System_sig.S
#        2. Modules do not match:
#             Caqti_lwt_unix__.System_unix :
#             sig
#               module Preemptive = Lwt_preemptive
#               module Unix = Caqti_lwt_unix__System_unix.Unix
#             end
#           is not included in
#             $T2 =
#             sig
#               module Unix :
#                 sig
#                   type file_descr
#                   val wrap_fd :
#                     (file_descr -> 'a System.Fiber.t) ->
#                     Unix.file_descr -> 'a System.Fiber.t
#                   val poll :
#                     stdenv:System.stdenv ->
#                     ?read:bool ->
#                     ?write:bool ->
#                     ?timeout:float ->
#                     file_descr -> (bool * bool * bool) System.Fiber.t
#                 end
#               module Preemptive :
#                 sig
#                   val detach : ('a -> 'b) -> 'a -> 'b System.Fiber.t
#                   val run_in_main : (unit -> 'a System.Fiber.t) -> 'a
#                 end
#             end
#           ... In module "Preemptive":
#           The value "run_in_main" is required but not provided
#           File "caqti/lib-platform-unix/driver_loader.mli", lines 43-45, characters 9-39:
#             Expected declaration



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build caqti-lwt 2.2.4
+- 
+- The following changes have been performed (the rest was aborted)
| - recompile lwt                   6.0.0~alpha01
| - install   angstrom              0.16.1
| - install   asn1-combinators      0.3.2
| - install   base64                3.5.1
| - install   bigarray-compat       1.1.0
| - install   bigarray-overlap      0.2.1
| - install   bigstringaf           0.10.0
| - install   camlp-streams         5.0.1
| - install   caqti                 2.2.4
| - install   conf-gmp              5
| - install   conf-gmp-powm-sec     4
| - install   conf-libev            4-12
| - install   conf-libssl           4
| - install   conf-pkg-config       4
| - install   cstruct               6.2.0
| - install   digestif              1.3.0
| - install   domain-name           0.4.1
| - install   dream-httpaf          1.0.0~alpha4
| - install   dream-pure            1.0.0~alpha2
| - install   dune-private-libs     3.20.0
| - install   dune-site             3.20.0
| - install   duration              0.2.1
| - install   dyn                   3.20.0
| - install   eqaf                  0.10
| - install   faraday               0.8.2
| - install   faraday-lwt           0.8.2
| - install   faraday-lwt-unix      0.8.2
| - install   fmt                   0.11.0
| - install   gluten                0.5.2
| - install   gluten-lwt            0.5.2
| - install   gluten-lwt-unix       0.5.2
| - install   gmap                  0.3.0
| - install   graphql               0.14.0
| - install   graphql-lwt           0.14.0
| - install   graphql_parser        0.14.0
| - install   h2                    0.10.0
| - install   h2-lwt                0.10.0
| - install   h2-lwt-unix           0.10.0
| - install   hmap                  0.8.1
| - install   hpack                 0.13.0
| - install   httpaf                0.7.1
| - install   httpun                0.1.0
| - install   httpun-lwt            0.1.0
| - install   httpun-lwt-unix       0.1.0
| - install   httpun-types          0.1.0
| - install   httpun-ws             0.2.0
| - install   ipaddr                5.6.1
| - install   kdf                   1.0.0
| - install   ke                    0.6
| - install   lambdasoup            1.1.1
| - install   logs                  0.9.0
| - install   lru                   0.3.1
| - install   lwt-dllist            1.1.0
| - install   lwt_ppx               5.9.1
| - install   lwt_ssl               1.2.0
| - install   macaddr               5.6.1
| - install   magic-mime            1.3.1
| - install   markup                1.0.3
| - install   menhir                20240715
| - install   menhirCST             20240715
| - install   menhirLib             20240715
| - install   menhirSdk             20240715
| - install   mirage-clock          4.2.0
| - install   mirage-crypto         1.2.0
| - install   mirage-crypto-ec      1.2.0
| - install   mirage-crypto-pk      1.2.0
| - install   mirage-crypto-rng     1.2.0
| - install   mirage-crypto-rng-lwt 1.2.0
| - install   mtime                 2.1.0
| - install   multipart_form        0.7.0
| - install   multipart_form-lwt    0.7.0
| - install   ocaml-compiler-libs   v0.17.0
| - install   ocaml-syntax-shims    1.0.0
| - install   ocamlbuild            0.16.1
| - install   ohex                  0.2.0
| - install   ordering              3.20.0
| - install   pecu                  0.7
| - install   pp                    2.0.0
| - install   ppx_derivers          1.2.1
| - install   ppxlib                0.35.0
| - install   prettym               0.0.3
| - install   psq                   0.2.1
| - install   ptime                 1.2.0
| - install   re                    1.13.2
| - install   result                1.5
| - install   rresult               0.7.0
| - install   seq                   base
| - install   sexplib0              v0.17.0
| - install   ssl                   0.7.0
| - install   stdlib-shims          0.3.0
| - install   stdune                3.20.0
| - install   stringext             1.6.0
| - install   tls                   2.0.1
| - install   topkg                 1.1.0
| - install   uchar                 0.0.2
| - install   unstrctrd             0.4
| - install   uri                   4.4.0
| - install   uutf                  1.0.4
| - install   x509                  1.0.6
| - install   yojson                3.0.0
| - install   zarith                1.14
+- 

The former state can be restored with:
    /usr/bin/opam switch import "/home/opam/.opam/5.3/.opam-switch/backup/state-20250821144402.export"
# To update the current shell environment, run: eval $(opam env)
[WARNING] OPAMCONFIRMLEVEL was ignored because CLI 2.0 was requested and it was introduced in 2.1.
[WARNING] OPAMCONFIRMLEVEL was ignored because CLI 2.0 was requested and it was introduced in 2.1.
opam-repo-ci detected dependencies failing:  caqti-lwt.2.2.4
"/usr/bin/env" "bash" "-c" "opam reinstall dream_middleware_ext.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" != 'dream_middleware_ext.0.1.0' && partial_fails="$partial_fails $pkg";
        done;
        test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}";
        exit 1" failed with exit status 1
2025-08-21 14:46.45: Job failed: Failed: Build failed
2025-08-21 14:46.45: Log analysis:
2025-08-21 14:46.45: >>> 
[ERROR] The compilation of caqti-lwt.2.2.4 failed at "dune build -p caqti-lwt -j 71".
 (score = 20)
2025-08-21 14:46.45: >>> 
# Error: This application of the functor "Caqti_platform_unix.Driver_loader.Make" is ill-typed.
 (score = 48)
2025-08-21 14:46.45: >>> 
# Error: This application of the functor "Caqti_platform_unix.Driver_loader.Make" is ill-typed.
 (score = 48)
2025-08-21 14:46.45: >>> 
opam-repo-ci detected dependencies failing:  caqti-lwt.2.2.4
 (score = 75)
2025-08-21 14:46.45:  caqti-lwt.2.2.4 failed to build