(not at the head of any monitored branch or PR)
2026-03-02 19:23.53: New job: test reddit_api_async.0.2.1 with dune.3.22.0~alpha0, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29497/head (118a690db616b1df5c53d5fa00eb70791a80ae2c)
                              on debian-13-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/29497/head" && git reset --hard 118a690d
git fetch origin master
git merge --no-edit a7b8d1036328cf727af175b657f3d2b732b4d868
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-4.14@sha256:ae45d5e5a934874dc44b0d004f6b8a813fba3f355216f78a39ed4f25a53e478a
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-dev /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 dune.3.22.0~alpha0 3.22.0~alpha0
RUN opam reinstall dune.3.22.0~alpha0; \
    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-13\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'dune.3.22.0~alpha0' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1
RUN opam reinstall reddit_api_async.0.2.1; \
    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-13\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'reddit_api_async.0.2.1' && 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 reddit_api_async.0.2.1) || true
RUN opam reinstall --with-test --verbose reddit_api_async.0.2.1; \
    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-13\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'reddit_api_async.0.2.1' && 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 .

2026-03-02 19:23.53: Using cache hint "ocaml/opam:debian-13-ocaml-4.14@sha256:ae45d5e5a934874dc44b0d004f6b8a813fba3f355216f78a39ed4f25a53e478a-dune.3.22.0~alpha0-reddit_api_async.0.2.1-118a690db616b1df5c53d5fa00eb70791a80ae2c"
2026-03-02 19:23.53: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.14@sha256:ae45d5e5a934874dc44b0d004f6b8a813fba3f355216f78a39ed4f25a53e478a)
 (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 "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 dune.3.22.0~alpha0 3.22.0~alpha0"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall dune.3.22.0~alpha0;\
             \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-13\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'dune.3.22.0~alpha0' && 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 reddit_api_async.0.2.1;\
             \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-13\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'reddit_api_async.0.2.1' && 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 reddit_api_async.0.2.1) || true"))
 (run (shell  "opam reinstall --with-test --verbose reddit_api_async.0.2.1;\
             \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-13\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'reddit_api_async.0.2.1' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2026-03-02 19:23.53: Waiting for resource in pool OCluster
2026-03-03 04:10.44: Waiting for worker…
2026-03-03 04:13.14: Got resource from pool OCluster
Building on laodoke.caelum.ci.dev
All commits already cached
Updating files:  90% (16540/18363)
Updating files:  91% (16711/18363)
Updating files:  92% (16894/18363)
Updating files:  93% (17078/18363)
Updating files:  94% (17262/18363)
Updating files:  95% (17445/18363)
Updating files:  96% (17629/18363)
Updating files:  97% (17813/18363)
Updating files:  98% (17996/18363)
Updating files:  99% (18180/18363)
Updating files: 100% (18363/18363)
Updating files: 100% (18363/18363), done.
HEAD is now at a7b8d10363 Merge pull request #29489 from anuragsoni/opam-publish-kqueue.0.7.0
Updating a7b8d10363..118a690db6
Fast-forward
 .../chrome-trace/chrome-trace.3.22.0~alpha0/opam   | 39 +++++++++++
 .../dune-action-plugin.3.22.0~alpha0/opam          | 52 +++++++++++++++
 .../dune-action-trace.3.22.0~alpha0/opam           | 40 ++++++++++++
 .../dune-build-info.3.22.0~alpha0/opam             | 45 +++++++++++++
 .../dune-configurator.3.22.0~alpha0/opam           | 49 ++++++++++++++
 packages/dune-glob/dune-glob.3.22.0~alpha0/opam    | 42 ++++++++++++
 .../dune-private-libs.3.22.0~alpha0/opam           | 50 +++++++++++++++
 .../dune-rpc-lwt/dune-rpc-lwt.3.22.0~alpha0/opam   | 41 ++++++++++++
 packages/dune-rpc/dune-rpc.3.22.0~alpha0/opam      | 44 +++++++++++++
 packages/dune-site/dune-site.3.22.0~alpha0/opam    | 37 +++++++++++
 packages/dune/dune.3.22.0~alpha0/opam              | 75 ++++++++++++++++++++++
 packages/dyn/dyn.3.22.0~alpha0/opam                | 40 ++++++++++++
 packages/fs-io/fs-io.3.22.0~alpha0/opam            | 39 +++++++++++
 packages/ocamlc-loc/ocamlc-loc.3.22.0~alpha0/opam  | 43 +++++++++++++
 packages/ordering/ordering.3.22.0~alpha0/opam      | 38 +++++++++++
 packages/stdune/stdune.3.22.0~alpha0/opam          | 46 +++++++++++++
 .../top-closure/top-closure.3.22.0~alpha0/opam     | 38 +++++++++++
 packages/xdg/xdg.3.22.0~alpha0/opam                | 39 +++++++++++
 18 files changed, 797 insertions(+)
 create mode 100644 packages/chrome-trace/chrome-trace.3.22.0~alpha0/opam
 create mode 100644 packages/dune-action-plugin/dune-action-plugin.3.22.0~alpha0/opam
 create mode 100644 packages/dune-action-trace/dune-action-trace.3.22.0~alpha0/opam
 create mode 100644 packages/dune-build-info/dune-build-info.3.22.0~alpha0/opam
 create mode 100644 packages/dune-configurator/dune-configurator.3.22.0~alpha0/opam
 create mode 100644 packages/dune-glob/dune-glob.3.22.0~alpha0/opam
 create mode 100644 packages/dune-private-libs/dune-private-libs.3.22.0~alpha0/opam
 create mode 100644 packages/dune-rpc-lwt/dune-rpc-lwt.3.22.0~alpha0/opam
 create mode 100644 packages/dune-rpc/dune-rpc.3.22.0~alpha0/opam
 create mode 100644 packages/dune-site/dune-site.3.22.0~alpha0/opam
 create mode 100644 packages/dune/dune.3.22.0~alpha0/opam
 create mode 100644 packages/dyn/dyn.3.22.0~alpha0/opam
 create mode 100644 packages/fs-io/fs-io.3.22.0~alpha0/opam
 create mode 100644 packages/ocamlc-loc/ocamlc-loc.3.22.0~alpha0/opam
 create mode 100644 packages/ordering/ordering.3.22.0~alpha0/opam
 create mode 100644 packages/stdune/stdune.3.22.0~alpha0/opam
 create mode 100644 packages/top-closure/top-closure.3.22.0~alpha0/opam
 create mode 100644 packages/xdg/xdg.3.22.0~alpha0/opam

(from ocaml/opam:debian-13-ocaml-4.14@sha256:ae45d5e5a934874dc44b0d004f6b8a813fba3f355216f78a39ed4f25a53e478a)
2026-03-03 04:13.28 ---> using "40de8e47c13dd397f7466181b47c70cd31f6d05f624f7f51643a7089a29a5322" from cache

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2026-03-03 04:13.28 ---> using "11e955cadb21ab08a7e8407d7e49d7e8b8232723aa9e80323bab6a7d993e9a38" 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 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
2026-03-03 04:13.28 ---> using "b84411f14b612833c97eea3b0fb49d7afb0294cf8c4774caaff1f8b0f1bd5849" 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.5.0
# self-upgrade         no
# system               arch=x86_64 os=linux os-distribution=debian os-version=13
# 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       4.14
# invariant            ["ocaml-base-compiler" {= "4.14.2"}]
# compiler-packages    ocaml-base-compiler.4.14.2, ocaml-options-vanilla.1
# ocaml:native         true
# ocaml:native-tools   true
# ocaml:native-dynlink true
# ocaml:stubsdir       /home/opam/.opam/4.14/lib/ocaml/stublibs:/home/opam/.opam/4.14/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       4.14.2
2026-03-03 04:13.28 ---> using "bc1392749f7c1b1568053e91f3061e53f54f3bf6892fcf3fa14761d0f2fabccc" 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/"))
2026-03-03 04:13.28 ---> using "0f88aad717079fee185cb5f7b0853d5dede0158dafac18dc05292641ad1318aa" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2026-03-03 04:13.29 ---> using "cf2f29575da4e00ad2c0e3200eaf5375ace45ec778f515d81ffd2e5eb96c41f1" from cache

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-03-03 04:13.29 ---> using "c517023779902244dbe5c8fbf440d1dd4569daf367c1e2ee7dd7eb370c41d91c" 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 trixie InRelease
- Get:2 http://deb.debian.org/debian trixie-updates InRelease [47.3 kB]
- Get:3 http://deb.debian.org/debian-security trixie-security InRelease [43.4 kB]
- Get:4 http://deb.debian.org/debian-security trixie-security/main amd64 Packages [113 kB]
- Fetched 203 kB in 0s (1750 kB/s)
- Reading package lists...
- 
2026-03-03 04:13.29 ---> using "a2e6599fe15f34bfd0a71de19dbfccfacdc1f910f7a37fea793bb8ff67d4ba47" from cache

/home/opam: (run (shell "opam pin add -k version -yn dune.3.22.0~alpha0 3.22.0~alpha0"))
dune is now pinned to version 3.22.0~alpha0
2026-03-03 04:13.29 ---> using "9ecf7f496eb9b328aa3c8f7333a40a30e123b33b9d8b5606b7ac6bfc2b62fac7" from cache

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall dune.3.22.0~alpha0;\
                        \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-13\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'dune.3.22.0~alpha0' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
dune.3.22.0~alpha0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 1 package
  - install dune 3.22.0~alpha0 (pinned)

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.3.22.0~alpha0  (cached)
-> installed dune.3.22.0~alpha0
Done.
# To update the current shell environment, run: eval $(opam env)
2026-03-03 04:13.29 ---> using "1d093925996c7908c33a8109d0c1a7be5172d79d6a00aabc511d552ee2499f33" from cache

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall reddit_api_async.0.2.1;\
                        \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-13\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'reddit_api_async.0.2.1' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
reddit_api_async.0.2.1 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 100 packages
  - install angstrom                0.16.1        [required by uri]
  - install astring                 0.8.5         [required by conduit]
  - install async                   v0.14.0       [required by reddit_api_async]
  - install async_kernel            v0.14.0       [required by async, cohttp-async]
  - install async_rpc_kernel        v0.14.0       [required by async]
  - install async_ssl               v0.14.0       [required by reddit_api_async]
  - install async_unix              v0.14.0       [required by async, cohttp-async]
  - install base                    v0.14.3       [required by async_ssl, cohttp-async]
  - install base64                  3.5.2         [required by cohttp]
  - install base_bigstring          v0.14.0       [required by core_kernel]
  - install base_quickcheck         v0.14.1       [required by core_kernel]
  - install bigstringaf             0.10.0        [required by angstrom]
  - install bin_prot                v0.14.1       [required by core_kernel]
  - install cohttp                  5.2.0         [required by cohttp-async, reddit_api_kernel]
  - install cohttp-async            5.2.0         [required by reddit_api_async]
  - install conduit                 5.1.0         [required by conduit-async]
  - install conduit-async           5.1.0         [required by cohttp-async]
  - install conf-libffi             2.0.0         [required by ctypes-foreign]
  - install conf-libssl             4             [required by async_ssl]
  - install conf-pkg-config         4             [required by conf-libssl, ctypes]
  - install core                    v0.14.1       [required by reddit_api_async]
  - install core_kernel             v0.14.2       [required by async, reddit_api_kernel]
  - install core_unix               v0.14.0       [required by cohttp-async]
  - install csexp                   1.5.2         [required by dune-configurator]
  - install cstruct                 6.2.0         [required by hex]
  - install ctypes                  0.17.1        [required by async_ssl]
  - install ctypes-foreign          0.18.0        [required by async_ssl]
  - install domain-name             0.5.0         [required by ipaddr]
  - install dune-configurator       3.22.0~alpha0 [required by async_ssl]
  - install ezjsonm                 1.3.0         [required by reddit_api_async]
  - install fieldslib               v0.14.0       [required by core_kernel]
  - install fmt                     0.11.0        [required by cohttp-async]
  - install hex                     1.5.0         [required by ezjsonm]
  - install integers                0.7.0         [required by ctypes]
  - install ipaddr                  5.6.2         [required by cohttp-async]
  - install ipaddr-sexp             5.6.2         [required by conduit-async]
  - install jane-street-headers     v0.14.0       [required by core_kernel]
  - install jsonm                   1.0.2         [required by ezjsonm]
  - install jst-config              v0.14.1       [required by core_kernel, core]
  - install logs                    0.10.0        [required by cohttp-async]
  - install macaddr                 5.6.2         [required by ipaddr]
  - install magic-mime              1.3.1         [required by cohttp-async]
  - install num                     1.6           [required by sexplib]
  - install ocaml-compiler-libs     v0.12.4       [required by ppxlib]
  - install ocaml-syntax-shims      1.0.0         [required by angstrom]
  - install ocamlbuild              0.16.1        [required by jsonm]
  - install ocamlfind               1.9.8         [required by ctypes]
  - install octavius                1.2.2         [required by ppx_js_style]
  - install parsexp                 v0.14.2       [required by sexplib]
  - install ppx_assert              v0.14.0       [required by core_kernel]
  - install ppx_base                v0.14.0       [required by core_kernel]
  - install ppx_bench               v0.14.1       [required by ppx_jane]
  - install ppx_bin_prot            v0.14.0       [required by ppx_jane]
  - install ppx_cold                v0.14.0       [required by ppx_base]
  - install ppx_compare             v0.14.0       [required by ppx_base, bin_prot]
  - install ppx_custom_printf       v0.14.1       [required by ppx_jane]
  - install ppx_derivers            1.2.1         [required by ppxlib]
  - install ppx_enumerate           v0.14.0       [required by ppx_base]
  - install ppx_expect              v0.14.2       [required by ppx_jane]
  - install ppx_fields_conv         v0.14.2       [required by ppx_jane]
  - install ppx_fixed_literal       v0.14.0       [required by ppx_jane]
  - install ppx_hash                v0.14.0       [required by core_kernel]
  - install ppx_here                v0.14.0       [required by conduit-async]
  - install ppx_inline_test         v0.14.1       [required by core_kernel]
  - install ppx_jane                v0.14.0       [required by async_ssl, async, sequencer_table]
  - install ppx_js_style            v0.14.1       [required by ppx_base]
  - install ppx_let                 v0.14.0       [required by ppx_jane]
  - install ppx_module_timer        v0.14.0       [required by ppx_jane]
  - install ppx_optcomp             v0.14.3       [required by core_kernel]
  - install ppx_optional            v0.14.0       [required by ppx_jane]
  - install ppx_pipebang            v0.14.0       [required by ppx_jane]
  - install ppx_sexp_conv           v0.14.3       [required by cohttp-async]
  - install ppx_sexp_message        v0.14.1       [required by core_kernel]
  - install ppx_sexp_value          v0.14.0       [required by ppx_jane]
  - install ppx_stable              v0.14.1       [required by ppx_jane]
  - install ppx_string              v0.14.1       [required by ppx_jane]
  - install ppx_typerep_conv        v0.14.2       [required by ppx_jane]
  - install ppx_variants_conv       v0.14.2       [required by ppx_jane]
  - install ppxlib                  0.25.1        [required by ppx_jane]
  - install protocol_version_header v0.14.0       [required by async_rpc_kernel]
  - install re                      1.14.0        [required by cohttp]
  - install reddit_api_async        0.2.1
  - install reddit_api_kernel       0.2.1         [required by reddit_api_async]
  - install sequencer_table         v0.14.0       [required by reddit_api_async]
  - install sexplib                 v0.14.0       [required by conduit-async]
  - install sexplib0                v0.14.0       [required by cohttp-async, ezjsonm]
  - install spawn                   v0.17.0       [required by core]
  - install splittable_random       v0.14.0       [required by core_kernel]
  - install stdio                   v0.14.0       [required by async_ssl]
  - install stdlib-shims            0.3.0         [required by integers]
  - install stringext               1.6.0         [required by cohttp]
  - install textutils               v0.14.0       [required by async]
  - install time_now                v0.14.0       [required by core_kernel]
  - install timezone                v0.14.0       [required by core]
  - install topkg                   1.1.1         [required by jsonm]
  - install typerep                 v0.14.0       [required by core_kernel]
  - install uri                     4.4.0         [required by cohttp-async]
  - install uri-sexp                4.4.0         [required by cohttp-async]
  - install uutf                    1.0.4         [required by ezjsonm]
  - install variantslib             v0.14.0       [required by core_kernel]

The following system packages will first need to be installed:
    libffi-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" "libffi-dev" "libssl-dev" "pkg-config"
- Selecting previously unselected package libffi-dev: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 ... 20623 files and directories currently installed.)
- Preparing to unpack .../0-libffi-dev_3.4.8-2_amd64.deb ...
- Unpacking libffi-dev:amd64 (3.4.8-2) ...
- Selecting previously unselected package libpkgconf3:amd64.
- Preparing to unpack .../1-libpkgconf3_1.8.1-4_amd64.deb ...
- Unpacking libpkgconf3:amd64 (1.8.1-4) ...
- Selecting previously unselected package libssl-dev:amd64.
- Preparing to unpack .../2-libssl-dev_3.5.4-1~deb13u2_amd64.deb ...
- Unpacking libssl-dev:amd64 (3.5.4-1~deb13u2) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../3-pkgconf-bin_1.8.1-4_amd64.deb ...
- Unpacking pkgconf-bin (1.8.1-4) ...
- Selecting previously unselected package pkgconf:amd64.
- Preparing to unpack .../4-pkgconf_1.8.1-4_amd64.deb ...
- Unpacking pkgconf:amd64 (1.8.1-4) ...
- Selecting previously unselected package pkg-config:amd64.
- Preparing to unpack .../5-pkg-config_1.8.1-4_amd64.deb ...
- Unpacking pkg-config:amd64 (1.8.1-4) ...
- Setting up libffi-dev:amd64 (3.4.8-2) ...
- Setting up libpkgconf3:amd64 (1.8.1-4) ...
- Setting up libssl-dev:amd64 (3.5.4-1~deb13u2) ...
- Setting up pkgconf-bin (1.8.1-4) ...
- Setting up pkgconf:amd64 (1.8.1-4) ...
- Setting up pkg-config:amd64 (1.8.1-4) ...
- Processing triggers for libc-bin (2.41-12+deb13u1) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved angstrom.0.16.1  (cached)
-> retrieved astring.0.8.5  (cached)
-> retrieved async.v0.14.0  (cached)
-> retrieved async_kernel.v0.14.0  (cached)
-> retrieved async_rpc_kernel.v0.14.0  (cached)
-> retrieved async_ssl.v0.14.0  (cached)
-> retrieved async_unix.v0.14.0  (cached)
-> retrieved base.v0.14.3  (cached)
-> retrieved base64.3.5.2  (cached)
-> retrieved base_bigstring.v0.14.0  (cached)
-> retrieved base_quickcheck.v0.14.1  (cached)
-> retrieved bigstringaf.0.10.0  (cached)
-> retrieved bin_prot.v0.14.1  (cached)
-> retrieved cohttp.5.2.0, cohttp-async.5.2.0  (cached)
-> retrieved conduit.5.1.0, conduit-async.5.1.0  (cached)
-> retrieved conf-libssl.4  (cached)
-> installed base64.3.5.2
-> retrieved core.v0.14.1  (cached)
-> installed conf-pkg-config.4
-> retrieved core_kernel.v0.14.2  (cached)
-> installed conf-libffi.2.0.0
-> installed conf-libssl.4
-> retrieved core_unix.v0.14.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved cstruct.6.2.0  (cached)
-> retrieved ctypes.0.17.1  (cached)
-> installed ctypes-foreign.0.18.0
-> retrieved domain-name.0.5.0  (cached)
-> installed csexp.1.5.2
-> installed domain-name.0.5.0
-> retrieved dune-configurator.3.22.0~alpha0  (cached)
-> retrieved ezjsonm.1.3.0  (cached)
-> retrieved fieldslib.v0.14.0  (cached)
-> retrieved fmt.0.11.0  (cached)
-> retrieved hex.1.5.0  (cached)
-> retrieved integers.0.7.0  (cached)
-> retrieved ipaddr.5.6.2, ipaddr-sexp.5.6.2, macaddr.5.6.2  (cached)
-> retrieved jane-street-headers.v0.14.0  (cached)
-> retrieved jsonm.1.0.2  (cached)
-> retrieved jst-config.v0.14.1  (cached)
-> retrieved logs.0.10.0  (cached)
-> retrieved magic-mime.1.3.1  (cached)
-> retrieved num.1.6  (cached)
-> retrieved ocaml-compiler-libs.v0.12.4  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> installed macaddr.5.6.2
-> installed jane-street-headers.v0.14.0
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved octavius.1.2.2  (cached)
-> retrieved parsexp.v0.14.2  (cached)
-> retrieved ppx_assert.v0.14.0  (cached)
-> retrieved ppx_base.v0.14.0  (cached)
-> retrieved ppx_bench.v0.14.1  (cached)
-> retrieved ppx_bin_prot.v0.14.0  (cached)
-> retrieved ppx_cold.v0.14.0  (cached)
-> retrieved ppx_compare.v0.14.0  (cached)
-> retrieved ppx_custom_printf.v0.14.1  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved ppx_enumerate.v0.14.0  (cached)
-> retrieved ppx_expect.v0.14.2  (cached)
-> retrieved ppx_fields_conv.v0.14.2  (cached)
-> retrieved ppx_fixed_literal.v0.14.0  (cached)
-> retrieved ppx_hash.v0.14.0  (cached)
-> retrieved ppx_here.v0.14.0  (cached)
-> retrieved ppx_inline_test.v0.14.1  (cached)
-> retrieved ppx_jane.v0.14.0  (cached)
-> retrieved ppx_js_style.v0.14.1  (cached)
-> installed ppx_derivers.1.2.1
-> retrieved ppx_let.v0.14.0  (cached)
-> retrieved ppx_module_timer.v0.14.0  (cached)
-> retrieved ppx_optcomp.v0.14.3  (cached)
-> retrieved ppx_optional.v0.14.0  (cached)
-> retrieved ppx_pipebang.v0.14.0  (cached)
-> retrieved ppx_sexp_conv.v0.14.3  (cached)
-> retrieved ppx_sexp_message.v0.14.1  (cached)
-> retrieved ppx_sexp_value.v0.14.0  (cached)
-> retrieved ppx_stable.v0.14.1  (cached)
-> retrieved ppx_string.v0.14.1  (cached)
-> retrieved ppx_typerep_conv.v0.14.2  (cached)
-> retrieved ppx_variants_conv.v0.14.2  (cached)
-> installed ipaddr.5.6.2
-> retrieved ppxlib.0.25.1  (cached)
-> retrieved protocol_version_header.v0.14.0  (cached)
-> retrieved re.1.14.0  (cached)
-> installed magic-mime.1.3.1
-> installed ocaml-syntax-shims.1.0.0
-> retrieved reddit_api_async.0.2.1, reddit_api_kernel.0.2.1  (cached)
-> retrieved sequencer_table.v0.14.0  (cached)
-> retrieved sexplib.v0.14.0  (cached)
-> retrieved sexplib0.v0.14.0  (cached)
-> retrieved spawn.v0.17.0  (cached)
-> installed ocaml-compiler-libs.v0.12.4
-> retrieved splittable_random.v0.14.0  (cached)
-> retrieved stdio.v0.14.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved stringext.1.6.0  (cached)
-> retrieved textutils.v0.14.0  (cached)
-> retrieved time_now.v0.14.0  (cached)
-> retrieved timezone.v0.14.0  (cached)
-> installed dune-configurator.3.22.0~alpha0
-> retrieved topkg.1.1.1  (cached)
-> retrieved typerep.v0.14.0  (cached)
-> retrieved uri.4.4.0, uri-sexp.4.4.0  (cached)
-> retrieved uutf.1.0.4  (cached)
-> retrieved variantslib.v0.14.0  (cached)
-> installed stdlib-shims.0.3.0
-> installed octavius.1.2.2
-> installed num.1.6
-> installed spawn.v0.17.0
-> installed stringext.1.6.0
-> installed sexplib0.v0.14.0
-> installed bigstringaf.0.10.0
-> installed integers.0.7.0
-> installed re.1.14.0
-> installed angstrom.0.16.1
-> installed ocamlfind.1.9.8
-> installed uri.4.4.0
-> installed ocamlbuild.0.16.1
-> installed base.v0.14.3
-> installed fieldslib.v0.14.0
-> installed variantslib.v0.14.0
-> installed stdio.v0.14.0
-> installed typerep.v0.14.0
-> installed parsexp.v0.14.2
-> installed topkg.1.1.1
-> installed sexplib.v0.14.0
-> installed uutf.1.0.4
-> installed fmt.0.11.0
-> installed astring.0.8.5
-> installed cstruct.6.2.0
-> installed jsonm.1.0.2
-> installed hex.1.5.0
-> installed logs.0.10.0
-> installed ezjsonm.1.3.0
-> installed ppxlib.0.25.1
-> installed ppx_optcomp.v0.14.3
-> installed ppx_cold.v0.14.0
-> installed ppx_fields_conv.v0.14.2
-> installed ppx_variants_conv.v0.14.2
-> installed ppx_let.v0.14.0
-> installed ppx_enumerate.v0.14.0
-> installed ppx_here.v0.14.0
-> installed ppx_typerep_conv.v0.14.2
-> installed ppx_compare.v0.14.0
-> installed ppx_stable.v0.14.1
-> installed ppx_fixed_literal.v0.14.0
-> installed ppx_pipebang.v0.14.0
-> installed ppx_optional.v0.14.0
-> installed ppx_js_style.v0.14.1
-> installed ppx_sexp_conv.v0.14.3
-> installed ctypes.0.17.1
-> installed ipaddr-sexp.5.6.2
-> installed uri-sexp.4.4.0
-> installed ppx_hash.v0.14.0
-> installed ppx_sexp_value.v0.14.0
-> installed ppx_assert.v0.14.0
-> installed ppx_sexp_message.v0.14.1
-> installed conduit.5.1.0
-> installed ppx_base.v0.14.0
-> installed ppx_custom_printf.v0.14.1
-> installed cohttp.5.2.0
-> installed jst-config.v0.14.1
-> installed ppx_string.v0.14.1
-> installed bin_prot.v0.14.1
-> installed time_now.v0.14.0
-> installed ppx_bin_prot.v0.14.0
-> installed ppx_module_timer.v0.14.0
-> installed ppx_inline_test.v0.14.1
-> installed ppx_bench.v0.14.1
-> installed ppx_expect.v0.14.2
-> installed splittable_random.v0.14.0
-> installed base_quickcheck.v0.14.1
-> installed ppx_jane.v0.14.0
-> installed base_bigstring.v0.14.0
-> installed core_kernel.v0.14.2
-> installed protocol_version_header.v0.14.0
-> installed timezone.v0.14.0
-> installed reddit_api_kernel.0.2.1
-> installed async_kernel.v0.14.0
-> installed async_rpc_kernel.v0.14.0
-> installed core.v0.14.1
-> installed core_unix.v0.14.0
-> installed textutils.v0.14.0
-> installed async_unix.v0.14.0
-> installed async.v0.14.0
-> installed sequencer_table.v0.14.0
[ERROR] The compilation of async_ssl.v0.14.0 failed at "dune build -p async_ssl -j 71".

#=== ERROR while compiling async_ssl.v0.14.0 ==================================#
# context              2.5.0 | linux/x86_64 | ocaml-base-compiler.4.14.2 | file:///home/opam/opam-repository
# path                 ~/.opam/4.14/.opam-switch/build/async_ssl.v0.14.0
# command              ~/.opam/opam-init/hooks/sandbox.sh build dune build -p async_ssl -j 71
# exit-code            1
# env-file             ~/.opam/log/async_ssl-7-c50471.env
# output-file          ~/.opam/log/async_ssl-7-c50471.out
### output ###
# (cd _build/default/bindings && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -g -I /home/opam/.opam/4.14/lib/ocaml -I /home/opam/.opam/4.14/lib/base -I /home/opam/.opam/4.14/lib/base/base_internalhash_types -I /home/opam/.opam/4.14/lib/base/caml -I /home/opam/.opam/4.14/lib/base/md5 -I /home/opam/.opam/4.14/lib/base/shadow_stdlib -I /home/opam/.opam/4.14/lib/base_quickcheck -I /home/opam/.opam/4.14/lib/bin_prot -I /home/opam/.opam/4.14/lib/bin_prot/shape -I /home/opam/.opam/4.14/lib/bytes -I /home/opam/.opam/4.14/lib/ctypes -I /home/opam/.opam/4.14/lib/fieldslib -I /home/opam/.opam/4.14/lib/integers -I /home/opam/.opam/4.14/lib/jane-street-headers -I /home/opam/.opam/4.14/lib/ocaml/threads -I /home/opam/.opam/4.14/lib/ppx_assert/runtime-lib -I /home/opam/.opam/4.14/lib/ppx_bench/runtime-lib -I /home/opam/.opam/4.14/lib/ppx_compare/runtime-lib -I /home/opam/.opam/4.14/lib/ppx_enumerate/runtime-lib -I /home/opam/.opam/4.14/lib/ppx_expect/collector -I /home/opam/.opam/4.14/lib/ppx_expect/common -I /home/opam/.opam/4.14/lib/ppx_expect/config -I /home/opam/.opam/4.14/lib/ppx_expect/config_types -I /home/opam/.opam/4.14/lib/ppx_hash/runtime-lib -I /home/opam/.opam/4.14/lib/ppx_here/runtime-lib -I /home/opam/.opam/4.14/lib/ppx_inline_test/config -I /home/opam/.opam/4.14/lib/ppx_inline_test/runtime-lib -I /home/opam/.opam/4.14/lib/ppx_module_timer/runtime -I /home/opam/.opam/4.14/lib/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/4.14/lib/sexplib0 -I /home/opam/.opam/4.14/lib/splittable_random -I /home/opam/.opam/4.14/lib/stdio -I /home/opam/.opam/4.14/lib/stdlib-shims -I /home/opam/.opam/4.14/lib/time_now -I /home/opam/.opam/4.14/lib/typerep -I /home/opam/.opam/4.14/lib/variantslib -o openssl_helpers.o -c openssl_helpers.c)
# openssl_helpers.c: In function 'async_ssl__subject_alt_names':
# openssl_helpers.c:66:9: warning: 'ASN1_STRING_data' is deprecated: Since OpenSSL 1.1.0 [-Wdeprecated-declarations]
#    66 |         cstr = ASN1_STRING_data(gen->d.dNSName);
#       |         ^~~~
# In file included from /usr/include/openssl/objects.h:21,
#                  from /usr/include/openssl/evp.h:47,
#                  from /usr/include/openssl/x509.h:29,
#                  from /usr/include/openssl/x509v3.h:25,
#                  from openssl_helpers.c:2:
# /usr/include/openssl/asn1.h:684:40: note: declared here
#   684 | OSSL_DEPRECATEDIN_1_1_0 unsigned char *ASN1_STRING_data(ASN1_STRING *x);
#       |                                        ^~~~~~~~~~~~~~~~
# File "src/dune", line 16, characters 10-29:
# 16 |  (c_names ffi_generated_stubs) (flags :standard -w -9-27-32-34)
#                ^^^^^^^^^^^^^^^^^^^
# (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -w -g -I /home/opam/.opam/4.14/lib/ocaml -I /home/opam/.opam/4.14/lib/async -I /home/opam/.opam/4.14/lib/async/async_command -I /home/opam/.opam/4.14/lib/async/async_quickcheck -I /home/opam/.opam/4.14/lib/async/async_rpc -I /home/opam/.opam/4.14/lib/async_kernel -I /home/opam/.opam/4.14/lib/async_kernel/persistent_connection_kernel -I /home/opam/.opam/4.14/lib/async_rpc_kernel -I /home/opam/.opam/4.14/lib/async_unix -I /home/opam/.opam/4.14/lib/async_unix/thread_pool -I /home/opam/.opam/4.14/lib/async_unix/thread_safe_ivar -I /home/opam/.opam/4.14/lib/base -I /home/opam/.opam/4.14/lib/base/base_internalhash_types -I /home/opam/.opam/4.14/lib/base/caml -I /home/opam/.opam/4.14/lib/base/md5 -I /home/opam/.opam/4.14/lib/base/shadow_stdlib -I /home/opam/.opam/4.14/lib/base_bigstring -I /home/opam/.opam/4.14/lib/base_quickcheck -I /home/opam/.opam/4.14/lib/bin_prot -I /home/opam/.opam/4.14/lib/bin_prot/shape -I /home/opam/.opam/4.14/lib/bytes -I /home/opam/.opam/4.14/lib/core -I /home/opam/.opam/4.14/lib/core/bigstring_unix -I /home/opam/.opam/4.14/lib/core/error_checking_mutex -I /home/opam/.opam/4.14/lib/core/iobuf_unix -I /home/opam/.opam/4.14/lib/core/linux_ext -I /home/opam/.opam/4.14/lib/core/nano_mutex -I /home/opam/.opam/4.14/lib/core/squeue -I /home/opam/.opam/4.14/lib/core/time_stamp_counter -I /home/opam/.opam/4.14/lib/core/uuid -I /home/opam/.opam/4.14/lib/core_kernel -I /home/opam/.opam/4.14/lib/core_kernel/base_for_tests -I /home/opam/.opam/4.14/lib/core_kernel/bounded_int_table -I /home/opam/.opam/4.14/lib/core_kernel/caml_unix -I /home/opam/.opam/4.14/lib/core_kernel/flags -I /home/opam/.opam/4.14/lib/core_kernel/iobuf -I /home/opam/.opam/4.14/lib/core_kernel/moption -I /home/opam/.opam/4.14/lib/core_kernel/pairing_heap -I /home/opam/.opam/4.14/lib/core_kernel/sexp_hidden_in_test -I /home/opam/.opam/4.14/lib/core_kernel/thread_pool_cpu_affinity -I /home/opam/.opam/4.14/lib/core_kernel/thread_safe_queue -I /home/opam/.opam/4.14/lib/core_kernel/timing_wheel -I /home/opam/.opam/4.14/lib/core_kernel/tuple_pool -I /home/opam/.opam/4.14/lib/core_kernel/uopt -I /home/opam/.opam/4.14/lib/core_kernel/uuid -I /home/opam/.opam/4.14/lib/core_kernel/version_util -I /home/opam/.opam/4.14/lib/ctypes -I /home/opam/.opam/4.14/lib/fieldslib -I /home/opam/.opam/4.14/lib/integers -I /home/opam/.opam/4.14/lib/jane-street-headers -I /home/opam/.opam/4.14/lib/ocaml/threads -I /home/opam/.opam/4.14/lib/parsexp -I /home/opam/.opam/4.14/lib/ppx_assert/runtime-lib -I /home/opam/.opam/4.14/lib/ppx_bench/runtime-lib -I /home/opam/.opam/4.14/lib/ppx_compare/runtime-lib -I /home/opam/.opam/4.14/lib/ppx_enumerate/runtime-lib -I /home/opam/.opam/4.14/lib/ppx_expect/collector -I /home/opam/.opam/4.14/lib/ppx_expect/common -I /home/opam/.opam/4.14/lib/ppx_expect/config -I /home/opam/.opam/4.14/lib/ppx_expect/config_types -I /home/opam/.opam/4.14/lib/ppx_hash/runtime-lib -I /home/opam/.opam/4.14/lib/ppx_here/runtime-lib -I /home/opam/.opam/4.14/lib/ppx_inline_test/config -I /home/opam/.opam/4.14/lib/ppx_inline_test/runtime-lib -I /home/opam/.opam/4.14/lib/ppx_module_timer/runtime -I /home/opam/.opam/4.14/lib/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/4.14/lib/protocol_version_header -I /home/opam/.opam/4.14/lib/sexplib -I /home/opam/.opam/4.14/lib/sexplib/unix -I /home/opam/.opam/4.14/lib/sexplib0 -I /home/opam/.opam/4.14/lib/spawn -I /home/opam/.opam/4.14/lib/splittable_random -I /home/opam/.opam/4.14/lib/stdio -I /home/opam/.opam/4.14/lib/stdlib-shims -I /home/opam/.opam/4.14/lib/time_now -I /home/opam/.opam/4.14/lib/timezone -I /home/opam/.opam/4.14/lib/typerep -I /home/opam/.opam/4.14/lib/variantslib -I ../bindings -o ffi_generated_stubs.o -c ffi_generated_stubs.c)
# ffi_generated_stubs.c: In function 'async_ssl_stub_14_ENGINE_load_builtin_engines':
# ffi_generated_stubs.c:80:4: error: implicit declaration of function 'ENGINE_load_builtin_engines' [-Wimplicit-function-declaration]
#    80 |    ENGINE_load_builtin_engines();
#       |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~
# ffi_generated_stubs.c: In function 'async_ssl_stub_15_ENGINE_unregister_RAND':
# ffi_generated_stubs.c:85:4: error: implicit declaration of function 'ENGINE_unregister_RAND' [-Wimplicit-function-declaration]
#    85 |    ENGINE_unregister_RAND();
#       |    ^~~~~~~~~~~~~~~~~~~~~~
# ffi_generated_stubs.c: In function 'async_ssl_stub_16_ENGINE_register_all_complete':
# ffi_generated_stubs.c:90:4: error: implicit declaration of function 'ENGINE_register_all_complete' [-Wimplicit-function-declaration]
#    90 |    ENGINE_register_all_complete();
#       |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
# ffi_generated_stubs.c: In function 'async_ssl_stub_50_BN_hex2bn':
# ffi_generated_stubs.c:315:25: error: passing argument 1 of 'BN_hex2bn' from incompatible pointer type [-Wincompatible-pointer-types]
#   315 |    int x199 = BN_hex2bn(x197, x198);
#       |                         ^~~~
#       |                         |
#       |                         void **
# In file included from /usr/include/openssl/params.h:16,
#                  from /usr/include/openssl/indicator.h:18,
#                  from /usr/include/openssl/core_dispatch.h:16,
#                  from /usr/include/openssl/evp.h:28,
#                  from /usr/include/openssl/x509.h:29,
#                  from /usr/include/openssl/ssl.h:32,
#                  from ffi_generated_stubs.c:2:
# /usr/include/openssl/bn.h:346:24: note: expected 'BIGNUM **' {aka 'struct bignum_st **'} but argument is of type 'void **'
#   346 | int BN_hex2bn(BIGNUM **a, const char *str);
#       |               ~~~~~~~~~^
# ffi_generated_stubs.c: In function 'async_ssl_stub_72_SSL_set_tmp_dh_callback':
# ffi_generated_stubs.c:467:34: error: passing argument 2 of 'SSL_set_tmp_dh_callback' from incompatible pointer type [-Wincompatible-pointer-types]
#   467 |    SSL_set_tmp_dh_callback(x320, x321);
#       |                                  ^~~~
#       |                                  |
#       |                                  void * (*)(void *, _Bool,  int)
# /usr/include/openssl/ssl.h:2276:36: note: expected 'DH * (*)(SSL *, int,  int)' {aka 'struct dh_st * (*)(struct ssl_st *, int,  int)'} but argument is of type 'void * (*)(void *, _Bool,  int)'
#  2276 |                              DH *(*dh) (SSL *ssl, int is_export,
#       |                              ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  2277 |                                         int keylength));
#       |                                         ~~~~~~~~~~~~~~



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build async_ssl v0.14.0
+- 
+- The following changes have been performed (the rest was aborted)
| - install angstrom                0.16.1
| - install astring                 0.8.5
| - install async                   v0.14.0
| - install async_kernel            v0.14.0
| - install async_rpc_kernel        v0.14.0
| - install async_unix              v0.14.0
| - install base                    v0.14.3
| - install base64                  3.5.2
| - install base_bigstring          v0.14.0
| - install base_quickcheck         v0.14.1
| - install bigstringaf             0.10.0
| - install bin_prot                v0.14.1
| - install cohttp                  5.2.0
| - install conduit                 5.1.0
| - install conf-libffi             2.0.0
| - install conf-libssl             4
| - install conf-pkg-config         4
| - install core                    v0.14.1
| - install core_kernel             v0.14.2
| - install core_unix               v0.14.0
| - install csexp                   1.5.2
| - install cstruct                 6.2.0
| - install ctypes                  0.17.1
| - install ctypes-foreign          0.18.0
| - install domain-name             0.5.0
| - install dune-configurator       3.22.0~alpha0
| - install ezjsonm                 1.3.0
| - install fieldslib               v0.14.0
| - install fmt                     0.11.0
| - install hex                     1.5.0
| - install integers                0.7.0
| - install ipaddr                  5.6.2
| - install ipaddr-sexp             5.6.2
| - install jane-street-headers     v0.14.0
| - install jsonm                   1.0.2
| - install jst-config              v0.14.1
| - install logs                    0.10.0
| - install macaddr                 5.6.2
| - install magic-mime              1.3.1
| - install num                     1.6
| - install ocaml-compiler-libs     v0.12.4
| - install ocaml-syntax-shims      1.0.0
| - install ocamlbuild              0.16.1
| - install ocamlfind               1.9.8
| - install octavius                1.2.2
| - install parsexp                 v0.14.2
| - install ppx_assert              v0.14.0
| - install ppx_base                v0.14.0
| - install ppx_bench               v0.14.1
| - install ppx_bin_prot            v0.14.0
| - install ppx_cold                v0.14.0
| - install ppx_compare             v0.14.0
| - install ppx_custom_printf       v0.14.1
| - install ppx_derivers            1.2.1
| - install ppx_enumerate           v0.14.0
| - install ppx_expect              v0.14.2
| - install ppx_fields_conv         v0.14.2
| - install ppx_fixed_literal       v0.14.0
| - install ppx_hash                v0.14.0
| - install ppx_here                v0.14.0
| - install ppx_inline_test         v0.14.1
| - install ppx_jane                v0.14.0
| - install ppx_js_style            v0.14.1
| - install ppx_let                 v0.14.0
| - install ppx_module_timer        v0.14.0
| - install ppx_optcomp             v0.14.3
| - install ppx_optional            v0.14.0
| - install ppx_pipebang            v0.14.0
| - install ppx_sexp_conv           v0.14.3
| - install ppx_sexp_message        v0.14.1
| - install ppx_sexp_value          v0.14.0
| - install ppx_stable              v0.14.1
| - install ppx_string              v0.14.1
| - install ppx_typerep_conv        v0.14.2
| - install ppx_variants_conv       v0.14.2
| - install ppxlib                  0.25.1
| - install protocol_version_header v0.14.0
| - install re                      1.14.0
| - install reddit_api_kernel       0.2.1
| - install sequencer_table         v0.14.0
| - install sexplib                 v0.14.0
| - install sexplib0                v0.14.0
| - install spawn                   v0.17.0
| - install splittable_random       v0.14.0
| - install stdio                   v0.14.0
| - install stdlib-shims            0.3.0
| - install stringext               1.6.0
| - install textutils               v0.14.0
| - install time_now                v0.14.0
| - install timezone                v0.14.0
| - install topkg                   1.1.1
| - install typerep                 v0.14.0
| - install uri                     4.4.0
| - install uri-sexp                4.4.0
| - install uutf                    1.0.4
| - install variantslib             v0.14.0
+- 
# To update the current shell environment, run: eval $(opam env)

The former state can be restored with:
    /usr/bin/opam switch import "/home/opam/.opam/4.14/.opam-switch/backup/state-20260303041330.export"
[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:  async_ssl.v0.14.0
"/usr/bin/env" "bash" "-c" "opam reinstall reddit_api_async.0.2.1;
        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-13\""; then
            echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.";
          fi;
          test "$pkg" != 'reddit_api_async.0.2.1' && 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
2026-03-03 04:17.03: Job failed: Failed: Build failed
2026-03-03 04:17.03: Log analysis:
2026-03-03 04:17.03: >>> 
[ERROR] The compilation of async_ssl.v0.14.0 failed at "dune build -p async_ssl -j 71".
 (score = 20)
2026-03-03 04:17.03: >>> 
# ffi_generated_stubs.c:80:4: error: implicit declaration of function 'ENGINE_load_builtin_engines' [-Wimplicit-function-declaration]
 (score = 30)
2026-03-03 04:17.03: >>> 
# ffi_generated_stubs.c:85:4: error: implicit declaration of function 'ENGINE_unregister_RAND' [-Wimplicit-function-declaration]
 (score = 30)
2026-03-03 04:17.03: >>> 
# ffi_generated_stubs.c:90:4: error: implicit declaration of function 'ENGINE_register_all_complete' [-Wimplicit-function-declaration]
 (score = 30)
2026-03-03 04:17.03: >>> 
# ffi_generated_stubs.c:315:25: error: passing argument 1 of 'BN_hex2bn' from incompatible pointer type [-Wincompatible-pointer-types]
 (score = 30)
2026-03-03 04:17.03: >>> 
# ffi_generated_stubs.c:467:34: error: passing argument 2 of 'SSL_set_tmp_dh_callback' from incompatible pointer type [-Wincompatible-pointer-types]
 (score = 30)
2026-03-03 04:17.03: >>> 
opam-repo-ci detected dependencies failing:  async_ssl.v0.14.0
 (score = 75)
2026-03-03 04:17.03:  async_ssl.v0.14.0 failed to build