(not at the head of any monitored branch or PR)
2026-04-13 14:39.02: New job: test reddit_api_async.0.1.0 with dune.3.22.2, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29704/head (3e0c395e7b1393a792367f8edca3654dac71e6fd)
                              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/29704/head" && git reset --hard 3e0c395e
git fetch origin master
git merge --no-edit ba4685aeec7b28fde6af30c7b83004704c68c86a
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-4.14@sha256:ec5999d94ff5da2754b2d163583ef868ccaefbaaabbe66412fde8712ae6f5126
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.2 3.22.2
RUN opam reinstall dune.3.22.2; \
    res=$?; \
    test "$res" != 31 && exit "$res"; \
    export OPAMCLI=2.0; \
    build_dir=$(opam var prefix)/.opam-switch/build; \
    failed=$(ls "$build_dir"); \
    partial_fails=""; \
    for pkg in $failed; do \
    if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-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.2' && 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.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-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.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 reddit_api_async.0.1.0) || true
RUN opam reinstall --with-test --verbose reddit_api_async.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-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.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 .

2026-04-13 14:39.02: Using cache hint "ocaml/opam:debian-13-ocaml-4.14@sha256:ec5999d94ff5da2754b2d163583ef868ccaefbaaabbe66412fde8712ae6f5126-dune.3.22.2-reddit_api_async.0.1.0-3e0c395e7b1393a792367f8edca3654dac71e6fd"
2026-04-13 14:39.02: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.14@sha256:ec5999d94ff5da2754b2d163583ef868ccaefbaaabbe66412fde8712ae6f5126)
 (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.2 3.22.2"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall dune.3.22.2;\
             \n        res=$?;\
             \n        test \"$res\" != 31 && exit \"$res\";\
             \n        export OPAMCLI=2.0;\
             \n        build_dir=$(opam var prefix)/.opam-switch/build;\
             \n        failed=$(ls \"$build_dir\");\
             \n        partial_fails=\"\";\
             \n        for pkg in $failed; do\
             \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-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.2' && 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.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-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.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 reddit_api_async.0.1.0) || true"))
 (run (shell  "opam reinstall --with-test --verbose reddit_api_async.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-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.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"))
)

2026-04-13 14:39.02: Waiting for resource in pool OCluster
2026-04-13 15:01.37: Waiting for worker…
2026-04-13 15:06.30: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
HEAD is now at ba4685aeec Merge pull request #29653 from yakobowski/camlidl
Merge made by the 'ort' strategy.
 packages/chrome-trace/chrome-trace.3.22.2/opam     | 39 +++++++++++
 .../dune-action-plugin.3.22.2/opam                 | 52 +++++++++++++++
 .../dune-action-trace.3.22.2/opam                  | 39 +++++++++++
 .../dune-build-info/dune-build-info.3.22.2/opam    | 45 +++++++++++++
 .../dune-configurator.3.22.2/opam                  | 49 ++++++++++++++
 packages/dune-glob/dune-glob.3.22.2/opam           | 42 ++++++++++++
 .../dune-private-libs.3.22.2/opam                  | 50 +++++++++++++++
 packages/dune-rpc-lwt/dune-rpc-lwt.3.22.2/opam     | 41 ++++++++++++
 packages/dune-rpc/dune-rpc.3.22.2/opam             | 44 +++++++++++++
 packages/dune-site/dune-site.3.22.2/opam           | 37 +++++++++++
 packages/dune/dune.3.22.2/opam                     | 75 ++++++++++++++++++++++
 packages/dyn/dyn.3.22.2/opam                       | 40 ++++++++++++
 packages/fs-io/fs-io.3.22.2/opam                   | 39 +++++++++++
 packages/ocamlc-loc/ocamlc-loc.3.22.2/opam         | 43 +++++++++++++
 packages/ordering/ordering.3.22.2/opam             | 38 +++++++++++
 packages/stdune/stdune.3.22.2/opam                 | 46 +++++++++++++
 packages/top-closure/top-closure.3.22.2/opam       | 38 +++++++++++
 packages/xdg/xdg.3.22.2/opam                       | 39 +++++++++++
 18 files changed, 796 insertions(+)
 create mode 100644 packages/chrome-trace/chrome-trace.3.22.2/opam
 create mode 100644 packages/dune-action-plugin/dune-action-plugin.3.22.2/opam
 create mode 100644 packages/dune-action-trace/dune-action-trace.3.22.2/opam
 create mode 100644 packages/dune-build-info/dune-build-info.3.22.2/opam
 create mode 100644 packages/dune-configurator/dune-configurator.3.22.2/opam
 create mode 100644 packages/dune-glob/dune-glob.3.22.2/opam
 create mode 100644 packages/dune-private-libs/dune-private-libs.3.22.2/opam
 create mode 100644 packages/dune-rpc-lwt/dune-rpc-lwt.3.22.2/opam
 create mode 100644 packages/dune-rpc/dune-rpc.3.22.2/opam
 create mode 100644 packages/dune-site/dune-site.3.22.2/opam
 create mode 100644 packages/dune/dune.3.22.2/opam
 create mode 100644 packages/dyn/dyn.3.22.2/opam
 create mode 100644 packages/fs-io/fs-io.3.22.2/opam
 create mode 100644 packages/ocamlc-loc/ocamlc-loc.3.22.2/opam
 create mode 100644 packages/ordering/ordering.3.22.2/opam
 create mode 100644 packages/stdune/stdune.3.22.2/opam
 create mode 100644 packages/top-closure/top-closure.3.22.2/opam
 create mode 100644 packages/xdg/xdg.3.22.2/opam

(from ocaml/opam:debian-13-ocaml-4.14@sha256:ec5999d94ff5da2754b2d163583ef868ccaefbaaabbe66412fde8712ae6f5126)
Unable to find image 'ocaml/opam:debian-13-ocaml-4.14@sha256:ec5999d94ff5da2754b2d163583ef868ccaefbaaabbe66412fde8712ae6f5126' locally
docker.io/ocaml/opam@sha256:ec5999d94ff5da2754b2d163583ef868ccaefbaaabbe66412fde8712ae6f5126: Pulling from ocaml/opam
8f6ad858d0a4: Already exists
9cb5e198c8cf: Already exists
2d346d36dcf2: Already exists
cdc35e289b8d: Already exists
aeb7244bb580: Already exists
fc1943254a0d: Already exists
84238c416f8e: Already exists
fbbfe75d3112: Already exists
221fdc5d9929: Already exists
1fec9149b52a: Already exists
9c6e52557f24: Already exists
8737f5036aae: Already exists
d69c4074de14: Already exists
7237152a5f04: Already exists
fba4b414d8a0: Already exists
40d552afb3ef: Already exists
077cc17dc8e4: Already exists
077cc17dc8e4: Already exists
169e1be36a55: Already exists
0a8a005097ab: Already exists
caba3ec4b361: Already exists
6a364dc641f8: Already exists
4f4fb700ef54: Already exists
ab8052928cdc: Already exists
f5717a28dd6a: Already exists
79233a9b9bed: Already exists
d832d53e7392: Already exists
1872dad82243: Already exists
bfd849b08ba7: Already exists
834a8024ef15: Already exists
98ccec79258b: Already exists
fb48f36a0542: Already exists
3688b13db8e7: Already exists
a5c099f5f72c: Already exists
1ff1760de5b0: Already exists
98eec6764aa5: Already exists
aa22ae69debd: Already exists
12bfb7b962a2: Already exists
ec25ce9bb816: Already exists
beadd3cf7357: Already exists
d0d0c65a426d: Already exists
27080da82c6b: Pulling fs layer
3b99adeb504e: Pulling fs layer
867c8a52ad10: Pulling fs layer
01ca275a6ca2: Pulling fs layer
01ca275a6ca2: Waiting
867c8a52ad10: Verifying Checksum
867c8a52ad10: Download complete
3b99adeb504e: Verifying Checksum
3b99adeb504e: Download complete
01ca275a6ca2: Verifying Checksum
01ca275a6ca2: Download complete
27080da82c6b: Verifying Checksum
27080da82c6b: Download complete
27080da82c6b: Pull complete
3b99adeb504e: Pull complete
867c8a52ad10: Pull complete
01ca275a6ca2: Pull complete
Digest: sha256:ec5999d94ff5da2754b2d163583ef868ccaefbaaabbe66412fde8712ae6f5126
Status: Downloaded newer image for ocaml/opam@sha256:ec5999d94ff5da2754b2d163583ef868ccaefbaaabbe66412fde8712ae6f5126
2026-04-13 15:07.38 ---> using "d0e330c08fa445d83f06df86dbe749aac73c20b9c3be340824d01a143f189b82" 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-04-13 15:07.38 ---> using "3ec7ac935151f5277a236626f366bf7f6f18395cb01e6e86eff2abeffc750f69" 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
[NOTE] The 'jobs' option was reset, its value was 71 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
           opam option jobs=71 --global
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2026-04-13 15:07.38 ---> using "b5a0847c35501fd963cedc3388b00c999e5617a9db85df5529c240a6fc10a617" 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                 255
# repositories         1 (version-controlled)
# pinned               1 (version)
# current-switch       4.14
# invariant            ["ocaml-base-compiler" {= "4.14.3"}]
# compiler-packages    ocaml-base-compiler.4.14.3, 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.3
2026-04-13 15:07.38 ---> using "28464b62e165a839b63b1c2ae024a4b4fcbe23c1802c3adf881d35db6bc1d4c2" 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-04-13 15:07.38 ---> using "4dfd69403557bd9c8ecec7a8b2fdd9b50feea12943fd8b9150cd347ede8d5f38" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2026-04-13 15:07.39 ---> using "e4440740ff32adbbcff2b06cb37b16278050a2f11fe3bbb84acde16cec6f57b3" from cache

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-04-13 15:07.39 ---> using "783c15b8b62b3b51001efd6e74ae6392d3b5bfd28262103a88dd85a8bc36074a" 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 [122 kB]
- Fetched 213 kB in 6s (37.9 kB/s)
- Reading package lists...
- 
2026-04-13 15:07.39 ---> using "2130130498394389e9bf01ee0c6f95746ce3be4212fa65c803222086e9e79898" from cache

/home/opam: (run (shell "opam pin add -k version -yn dune.3.22.2 3.22.2"))
dune is now pinned to version 3.22.2
2026-04-13 15:07.39 ---> using "a58a3260573f46e665bd2898643e9c41f09fedf9a8dce9d606b49bf430b4a91b" from cache

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall dune.3.22.2;\
                        \n        res=$?;\
                        \n        test \"$res\" != 31 && exit \"$res\";\
                        \n        export OPAMCLI=2.0;\
                        \n        build_dir=$(opam var prefix)/.opam-switch/build;\
                        \n        failed=$(ls \"$build_dir\");\
                        \n        partial_fails=\"\";\
                        \n        for pkg in $failed; do\
                        \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-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.2' && 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.2 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 1 package
  - install dune 3.22.2 (pinned)

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.3.22.2  (cached)
-> installed dune.3.22.2
Done.
# To update the current shell environment, run: eval $(opam env)
2026-04-13 15:07.39 ---> using "72e5e0d76148f0a1a9dbe5c996a494d4743ec3246a9e99de2b80085ee7ec61e2" from cache

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall reddit_api_async.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-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.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"))
reddit_api_async.0.1.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 99 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                  4.1.2   [required by cohttp-async, reddit_api_kernel]
  - install cohttp-async            4.1.2   [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 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.2  [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.1.0
  - install reddit_api_kernel       0.1.0   [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"
- (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 .../openssl-provider-legacy_3.5.5-1~deb13u2_amd64.deb ...
- Unpacking openssl-provider-legacy (3.5.5-1~deb13u2) over (3.5.5-1~deb13u1) ...
- Setting up openssl-provider-legacy (3.5.5-1~deb13u2) ...
- (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 .../libssl3t64_3.5.5-1~deb13u2_amd64.deb ...
- Unpacking libssl3t64:amd64 (3.5.5-1~deb13u2) over (3.5.5-1~deb13u1) ...
- Setting up libssl3t64:amd64 (3.5.5-1~deb13u2) ...
- 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.5-1~deb13u2_amd64.deb ...
- Unpacking libssl-dev:amd64 (3.5.5-1~deb13u2) ...
- Preparing to unpack .../3-openssl_3.5.5-1~deb13u2_amd64.deb ...
- Unpacking openssl (3.5.5-1~deb13u2) over (3.5.5-1~deb13u1) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../4-pkgconf-bin_1.8.1-4_amd64.deb ...
- Unpacking pkgconf-bin (1.8.1-4) ...
- Selecting previously unselected package pkgconf:amd64.
- Preparing to unpack .../5-pkgconf_1.8.1-4_amd64.deb ...
- Unpacking pkgconf:amd64 (1.8.1-4) ...
- Selecting previously unselected package pkg-config:amd64.
- Preparing to unpack .../6-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.5-1~deb13u2) ...
- Setting up pkgconf-bin (1.8.1-4) ...
- Setting up openssl (3.5.5-1~deb13u2) ...
- 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+deb13u2) ...

<><> 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.4.1.2, cohttp-async.4.1.2  (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 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.2  (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)
-> retrieved ppx_let.v0.14.0  (cached)
-> retrieved ppx_module_timer.v0.14.0  (cached)
-> installed ppx_derivers.1.2.1
-> 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)
-> installed magic-mime.1.3.1
-> retrieved protocol_version_header.v0.14.0  (cached)
-> retrieved re.1.14.0  (cached)
-> retrieved reddit_api_async.0.1.0, reddit_api_kernel.0.1.0  (cached)
-> installed ocaml-syntax-shims.1.0.0
-> installed dune-configurator.3.22.2
-> installed ocaml-compiler-libs.v0.12.4
-> 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)
-> 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)
-> retrieved topkg.1.1.1  (cached)
-> retrieved typerep.v0.14.0  (cached)
-> retrieved uri.4.4.0, uri-sexp.4.4.0  (cached)
-> installed octavius.1.2.2
-> retrieved uutf.1.0.4  (cached)
-> retrieved variantslib.v0.14.0  (cached)
-> installed stdlib-shims.0.3.0
-> installed stringext.1.6.0
-> installed num.1.6
-> installed spawn.v0.17.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 sexplib.v0.14.0
-> installed topkg.1.1.1
-> 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_fields_conv.v0.14.2
-> installed ppx_cold.v0.14.0
-> installed ppx_enumerate.v0.14.0
-> installed ppx_here.v0.14.0
-> installed ppx_compare.v0.14.0
-> installed ppx_let.v0.14.0
-> installed ppx_stable.v0.14.1
-> installed ppx_variants_conv.v0.14.2
-> installed ppx_typerep_conv.v0.14.2
-> 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 ipaddr-sexp.5.6.2
-> installed uri-sexp.4.4.0
-> installed ppx_hash.v0.14.0
-> installed ppx_assert.v0.14.0
-> installed ppx_sexp_value.v0.14.0
-> installed ppx_sexp_message.v0.14.1
-> installed conduit.5.1.0
-> installed ppx_custom_printf.v0.14.1
-> installed ppx_base.v0.14.0
-> installed cohttp.4.1.2
-> installed ctypes.0.17.1
-> installed jst-config.v0.14.1
-> installed bin_prot.v0.14.1
-> installed ppx_string.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.1.0
-> installed async_kernel.v0.14.0
-> installed async_rpc_kernel.v0.14.0
-> installed core.v0.14.1
-> 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 255".

#=== ERROR while compiling async_ssl.v0.14.0 ==================================#
# context              2.5.0 | linux/x86_64 | ocaml-base-compiler.4.14.3 | 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 255
# exit-code            1
# env-file             ~/.opam/log/async_ssl-7-e8ea69.env
# output-file          ~/.opam/log/async_ssl-7-e8ea69.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:31,
#                  from /usr/include/openssl/x509v3.h:27,
#                  from openssl_helpers.c:2:
# /usr/include/openssl/asn1.h:671:40: note: declared here
#   671 | 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:31,
#                  from /usr/include/openssl/ssl.h:34,
#                  from ffi_generated_stubs.c:2:
# /usr/include/openssl/bn.h:345:24: note: expected 'BIGNUM **' {aka 'struct bignum_st **'} but argument is of type 'void **'
#   345 | 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:2282:11: note: expected 'DH * (*)(SSL *, int,  int)' {aka 'struct dh_st * (*)(struct ssl_st *, int,  int)'} but argument is of type 'void * (*)(void *, _Bool,  int)'
#  2282 |     DH *(*dh)(SSL *ssl, int is_export,
#       |     ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  2283 |         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                  4.1.2
| - 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 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.2
| - 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.1.0
| - 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-20260413150740.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.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-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.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
2026-04-13 15:10.06: Job failed: Failed: Build failed
2026-04-13 15:10.06: Log analysis:
2026-04-13 15:10.06: >>> 
[ERROR] The compilation of async_ssl.v0.14.0 failed at "dune build -p async_ssl -j 255".
 (score = 20)
2026-04-13 15:10.06: >>> 
# ffi_generated_stubs.c:80:4: error: implicit declaration of function 'ENGINE_load_builtin_engines' [-Wimplicit-function-declaration]
 (score = 30)
2026-04-13 15:10.06: >>> 
# ffi_generated_stubs.c:85:4: error: implicit declaration of function 'ENGINE_unregister_RAND' [-Wimplicit-function-declaration]
 (score = 30)
2026-04-13 15:10.06: >>> 
# ffi_generated_stubs.c:90:4: error: implicit declaration of function 'ENGINE_register_all_complete' [-Wimplicit-function-declaration]
 (score = 30)
2026-04-13 15:10.06: >>> 
# ffi_generated_stubs.c:315:25: error: passing argument 1 of 'BN_hex2bn' from incompatible pointer type [-Wincompatible-pointer-types]
 (score = 30)
2026-04-13 15:10.06: >>> 
# 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-04-13 15:10.06: >>> 
opam-repo-ci detected dependencies failing:  async_ssl.v0.14.0
 (score = 75)
2026-04-13 15:10.06:  async_ssl.v0.14.0 failed to build