Build:
  1. 0
2025-09-18 09:51.50: New job: test cohttp_async_websocket.v0.15.0 with dune.3.12.1, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/28542/head (94ae65678b1f98854907785aa1107fabdeec47d2)
                              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/28542/head" && git reset --hard 94ae6567
git fetch origin master
git merge --no-edit 151ffce963e54519dd5d1280848f631d38db358e
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-4.14@sha256:ce7583a4463e517dda39f02d53e6fd4065fe70d94a26e5f51dcceb761272b5dc
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.12.1 3.12.1
RUN opam reinstall dune.3.12.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" != 'dune.3.12.1' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1
RUN opam reinstall cohttp_async_websocket.v0.15.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" != 'cohttp_async_websocket.v0.15.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 cohttp_async_websocket.v0.15.0) || true
RUN opam reinstall --with-test --verbose cohttp_async_websocket.v0.15.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" != 'cohttp_async_websocket.v0.15.0' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1

END-OF-DOCKERFILE
docker build -f ../Dockerfile .

2025-09-18 09:51.50: Using cache hint "ocaml/opam:debian-13-ocaml-4.14@sha256:ce7583a4463e517dda39f02d53e6fd4065fe70d94a26e5f51dcceb761272b5dc-dune.3.12.1-cohttp_async_websocket.v0.15.0-94ae65678b1f98854907785aa1107fabdeec47d2"
2025-09-18 09:51.50: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.14@sha256:ce7583a4463e517dda39f02d53e6fd4065fe70d94a26e5f51dcceb761272b5dc)
 (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.12.1 3.12.1"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall dune.3.12.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\" != 'dune.3.12.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 (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall cohttp_async_websocket.v0.15.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\" != 'cohttp_async_websocket.v0.15.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 cohttp_async_websocket.v0.15.0) || true"))
 (run (shell  "opam reinstall --with-test --verbose cohttp_async_websocket.v0.15.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\" != 'cohttp_async_websocket.v0.15.0' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2025-09-18 09:51.50: Waiting for resource in pool OCluster
2025-09-18 17:31.15: Waiting for worker…
2025-09-18 17:35.06: Got resource from pool OCluster
Building on toxis.caelum.ci.dev
All commits already cached
Updating files:  63% (11587/18275)
Updating files:  64% (11696/18275)
Updating files:  65% (11879/18275)
Updating files:  66% (12062/18275)
Updating files:  67% (12245/18275)
Updating files:  68% (12427/18275)
Updating files:  69% (12610/18275)
Updating files:  70% (12793/18275)
Updating files:  71% (12976/18275)
Updating files:  72% (13158/18275)
Updating files:  73% (13341/18275)
Updating files:  74% (13524/18275)
Updating files:  75% (13707/18275)
Updating files:  76% (13889/18275)
Updating files:  77% (14072/18275)
Updating files:  78% (14255/18275)
Updating files:  79% (14438/18275)
Updating files:  80% (14620/18275)
Updating files:  81% (14803/18275)
Updating files:  82% (14986/18275)
Updating files:  83% (15169/18275)
Updating files:  84% (15351/18275)
Updating files:  85% (15534/18275)
Updating files:  86% (15717/18275)
Updating files:  87% (15900/18275)
Updating files:  88% (16082/18275)
Updating files:  89% (16265/18275)
Updating files:  90% (16448/18275)
Updating files:  91% (16631/18275)
Updating files:  92% (16813/18275)
Updating files:  93% (16996/18275)
Updating files:  94% (17179/18275)
Updating files:  95% (17362/18275)
Updating files:  96% (17544/18275)
Updating files:  97% (17727/18275)
Updating files:  98% (17910/18275)
Updating files:  99% (18093/18275)
Updating files: 100% (18275/18275)
Updating files: 100% (18275/18275), done.
HEAD is now at 151ffce963 Merge pull request #28412 from andersfugmann/release-ocaml-protoc-plugin-6.2.0
Updating 151ffce963..94ae65678b
Fast-forward
 packages/dune/dune.3.12.1/opam | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(from ocaml/opam:debian-13-ocaml-4.14@sha256:ce7583a4463e517dda39f02d53e6fd4065fe70d94a26e5f51dcceb761272b5dc)
Unable to find image 'ocaml/opam:debian-13-ocaml-4.14@sha256:ce7583a4463e517dda39f02d53e6fd4065fe70d94a26e5f51dcceb761272b5dc' locally
docker.io/ocaml/opam@sha256:ce7583a4463e517dda39f02d53e6fd4065fe70d94a26e5f51dcceb761272b5dc: Pulling from ocaml/opam
15b1d8a5ff03: Already exists
4d5eb3ed0208: Already exists
b44e00377829: Already exists
93018e586176: Already exists
587e432a29e2: Already exists
cdf304204754: Already exists
a444cfe202e3: Already exists
964991c828c0: Already exists
a94458d90f79: Already exists
e972c69afbc9: Already exists
3997d62e9de2: Already exists
d78ea61f72f9: Already exists
c68a1176424c: Already exists
63495b383f1a: Already exists
aa1a6204320d: Already exists
187b2023e0b3: Already exists
4787e66ddf43: Already exists
973a552bac2d: Already exists
8ad831d15267: Already exists
a8377bc33a29: Already exists
84a002321686: Already exists
4f4fb700ef54: Already exists
5d52c4f201d6: Already exists
68ef19bc296a: Already exists
1cda2aa0af1b: Already exists
769f31bcfe07: Already exists
b1d715eb0b34: Already exists
6b92d559de80: Already exists
1552f16d9075: Already exists
7a69328970da: Already exists
e66b1fc86e6f: Already exists
b14737f10b30: Already exists
4b7cf33f8dea: Already exists
0499d18bfcaa: Already exists
fb0e4a52e51b: Already exists
af1ea896d29c: Already exists
cff41317f198: Already exists
fbb90a49a8ca: Already exists
2f7f155032eb: Already exists
02f68e1ce660: Already exists
ecccefc40725: Pulling fs layer
b3c55c49d7c7: Pulling fs layer
086c23210c52: Pulling fs layer
be64ebf82eb2: Pulling fs layer
be64ebf82eb2: Waiting
b3c55c49d7c7: Download complete
086c23210c52: Verifying Checksum
086c23210c52: Download complete
be64ebf82eb2: Verifying Checksum
be64ebf82eb2: Download complete
ecccefc40725: Verifying Checksum
ecccefc40725: Download complete
ecccefc40725: Pull complete
b3c55c49d7c7: Pull complete
086c23210c52: Pull complete
be64ebf82eb2: Pull complete
Digest: sha256:ce7583a4463e517dda39f02d53e6fd4065fe70d94a26e5f51dcceb761272b5dc
Status: Downloaded newer image for ocaml/opam@sha256:ce7583a4463e517dda39f02d53e6fd4065fe70d94a26e5f51dcceb761272b5dc
2025-09-18 17:35.19 ---> using "f2c15438f4e8107ac42e1adfbd29c5c483ff0e5aaf05ff1291b0b30470c339be" from cache

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2025-09-18 17:35.19 ---> using "8e4815ff6b482deb2badd55f707e4331a2daf52d1f97e062604f979853124597" 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
2025-09-18 17:35.19 ---> using "0309994c25db3359b71c182dd526d9cd4b87f08f6fd345755107482f61709ee3" 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.4.1
# 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
2025-09-18 17:35.19 ---> using "01960dce876bd083c0e115ca8b857f355a6f4a5b1589bc70acef12378d72e36e" from cache

/home/opam: (env OPAMDOWNLOADJOBS 1)

/home/opam: (env OPAMERRLOGLEN 0)

/home/opam: (env OPAMPRECISETRACKING 1)

/home/opam: (env CI true)

/home/opam: (env OPAM_REPO_CI true)

/home/opam: (run (shell "rm -rf opam-repository/"))
2025-09-18 17:35.19 ---> using "88d8ec224acefa159471a25872197bf5efdd28e8b95159888107feac1f31a583" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2025-09-18 17:35.21 ---> using "cb2103c25b21ee4e1c59329d950656d40b52719523d4f917d56f5ec814fa100f" from cache

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-09-18 17:35.21 ---> using "a05965c65de41c6eff3032a5634279c228b5ac3eb5b903c6c68c60936ca1d1a4" 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 [40.4 kB]
- Fetched 131 kB in 0s (1161 kB/s)
- Reading package lists...
- 
2025-09-18 17:35.21 ---> using "38023c57e0f91a1fd554d35e557178fc24782f93a8ea1da4e25d2c03340933a9" from cache

/home/opam: (run (shell "opam pin add -k version -yn dune.3.12.1 3.12.1"))
dune is now pinned to version 3.12.1
2025-09-18 17:35.21 ---> using "cb7452ac8f079a11102b292cd8b4ab7a95bf7ca7b6ff4bcfee9ec005ec60d9fe" from cache

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall dune.3.12.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\" != 'dune.3.12.1' && 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.12.1 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 1 package
  - install dune 3.12.1 (pinned)

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.3.12.1  (cached)
-> installed dune.3.12.1
Done.
# To update the current shell environment, run: eval $(opam env)
2025-09-18 17:35.21 ---> using "3636cd7fb69dfe196588ca0977383ce2de3c796811a263630e34d36c7ce41c8d" from cache

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall cohttp_async_websocket.v0.15.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\" != 'cohttp_async_websocket.v0.15.0' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
cohttp_async_websocket.v0.15.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 109 packages
  - install angstrom                    0.16.1  [required by uri]
  - install astring                     0.8.5   [required by conduit]
  - install async                       v0.15.0 [required by cohttp_async_websocket]
  - install async_kernel                v0.15.0 [required by async, cohttp-async]
  - install async_rpc_kernel            v0.15.0 [required by async]
  - install async_ssl                   v0.15.0 [required by cohttp_async_websocket]
  - install async_unix                  v0.15.0 [required by async, cohttp-async]
  - install async_websocket             v0.15.0 [required by cohttp_async_websocket]
  - install base                        v0.15.1 [required by async_ssl, cohttp-async]
  - install base64                      3.5.1   [required by cohttp_async_websocket]
  - install base_bigstring              v0.15.0 [required by core]
  - install base_quickcheck             v0.15.0 [required by core]
  - install bigarray-compat             1.1.0   [required by ctypes]
  - install bigstringaf                 0.10.0  [required by angstrom]
  - install bin_prot                    v0.15.0 [required by core]
  - install cohttp                      5.2.0   [required by cohttp_async_websocket]
  - install cohttp-async                5.2.0   [required by cohttp_async_websocket]
  - install cohttp_async_websocket      v0.15.0
  - install conduit                     8.0.0   [required by conduit-async]
  - install conduit-async               8.0.0   [required by cohttp-async]
  - install conf-gmp                    5       [required by conf-gmp-powm-sec, zarith]
  - install conf-gmp-powm-sec           4       [required by cryptokit]
  - 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-foreign]
  - install conf-zlib                   1       [required by cryptokit]
  - install core                        v0.15.1 [required by cohttp_async_websocket]
  - install core_kernel                 v0.15.0 [required by async, async_websocket]
  - install core_unix                   v0.15.2 [required by async, cohttp-async]
  - install cryptokit                   1.20    [required by async_websocket]
  - install csexp                       1.5.2   [required by dune-configurator]
  - install ctypes                      0.23.0  [required by async_ssl]
  - install ctypes-foreign              0.23.0  [required by async_ssl]
  - install domain-name                 0.4.1   [required by ipaddr]
  - install dune-configurator           3.18.2  [required by async_ssl]
  - install expect_test_helpers_core    v0.15.0 [required by core_unix]
  - install fieldslib                   v0.15.0 [required by core]
  - install fmt                         0.11.0  [required by cohttp-async]
  - install int_repr                    v0.15.0 [required by core_kernel]
  - install integers                    0.7.0   [required by ctypes]
  - install ipaddr                      5.6.1   [required by cohttp-async]
  - install ipaddr-sexp                 5.6.1   [required by conduit-async]
  - install jane-street-headers         v0.15.0 [required by core, core_unix]
  - install jsonm                       1.0.2   [required by cohttp]
  - install jst-config                  v0.15.1 [required by core, core_unix]
  - install logs                        0.9.0   [required by cohttp-async]
  - install macaddr                     5.6.1   [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 ocaml_intrinsics            v0.15.2 [required by core_unix]
  - install ocamlbuild                  0.16.1  [required by jsonm]
  - install ocamlfind                   1.9.8   [required by jsonm]
  - install parsexp                     v0.15.0 [required by sexplib]
  - install ppx_assert                  v0.15.0 [required by core]
  - install ppx_base                    v0.15.0 [required by core]
  - install ppx_bench                   v0.15.1 [required by ppx_jane]
  - install ppx_bin_prot                v0.15.0 [required by ppx_jane]
  - install ppx_cold                    v0.15.0 [required by ppx_base]
  - install ppx_compare                 v0.15.0 [required by ppx_base, bin_prot]
  - install ppx_custom_printf           v0.15.0 [required by ppx_jane]
  - install ppx_derivers                1.2.1   [required by ppxlib]
  - install ppx_disable_unused_warnings v0.15.0 [required by ppx_jane]
  - install ppx_enumerate               v0.15.0 [required by ppx_base]
  - install ppx_expect                  v0.15.1 [required by ppx_jane]
  - install ppx_fields_conv             v0.15.0 [required by ppx_jane]
  - install ppx_fixed_literal           v0.15.0 [required by ppx_jane]
  - install ppx_hash                    v0.15.0 [required by core]
  - install ppx_here                    v0.15.0 [required by conduit-async]
  - install ppx_ignore_instrumentation  v0.15.0 [required by ppx_jane]
  - install ppx_inline_test             v0.15.1 [required by core]
  - install ppx_jane                    v0.15.0 [required by cohttp_async_websocket]
  - install ppx_let                     v0.15.0 [required by ppx_jane]
  - install ppx_log                     v0.15.0 [required by async]
  - install ppx_module_timer            v0.15.0 [required by ppx_jane]
  - install ppx_optcomp                 v0.15.0 [required by ppx_jane]
  - install ppx_optional                v0.15.0 [required by ppx_jane]
  - install ppx_pipebang                v0.15.0 [required by ppx_jane]
  - install ppx_sexp_conv               v0.15.1 [required by cohttp, cohttp-async]
  - install ppx_sexp_message            v0.15.0 [required by core]
  - install ppx_sexp_value              v0.15.0 [required by ppx_jane]
  - install ppx_stable                  v0.15.0 [required by ppx_jane]
  - install ppx_string                  v0.15.0 [required by ppx_jane]
  - install ppx_typerep_conv            v0.15.0 [required by ppx_jane]
  - install ppx_variants_conv           v0.15.0 [required by ppx_jane]
  - install ppxlib                      0.35.0  [required by ppx_jane]
  - install protocol_version_header     v0.15.0 [required by async_rpc_kernel]
  - install re                          1.13.2  [required by cohttp]
  - install seq                         base    [required by re]
  - install sexp_pretty                 v0.15.1 [required by expect_test_helpers_core]
  - install sexplib                     v0.15.1 [required by core, core_unix]
  - install sexplib0                    v0.15.1 [required by cohttp, cohttp-async]
  - install spawn                       v0.17.0 [required by core_unix]
  - install splittable_random           v0.15.0 [required by core]
  - install stdio                       v0.15.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.15.0 [required by async]
  - install textutils_kernel            v0.15.0 [required by textutils]
  - install time_now                    v0.15.0 [required by core]
  - install timezone                    v0.15.0 [required by core_unix]
  - install topkg                       1.1.0   [required by jsonm]
  - install typerep                     v0.15.0 [required by core]
  - install uri                         4.4.0   [required by cohttp, cohttp-async]
  - install uri-sexp                    4.4.0   [required by cohttp_async_websocket]
  - install uutf                        1.0.4   [required by textutils, jsonm]
  - install variantslib                 v0.15.0 [required by core]
  - install zarith                      1.14    [required by cryptokit]

The following system packages will first need to be installed:
    libffi-dev libgmp-dev libssl-dev pkg-config zlib1g-dev

<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>

opam believes some required external dependencies are missing. opam can:
> 1. Run apt-get to install them (may need root/sudo access)
  2. Display the recommended apt-get command and wait while you run it manually (e.g. in another terminal)
  3. Continue anyway, and, upon success, permanently register that this external dependency is present, but not detectable
  4. Abort the installation

[1/2/3/4] 1

+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "libffi-dev" "libgmp-dev" "libssl-dev" "pkg-config" "zlib1g-dev"
- 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 ... 20622 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 libgmpxx4ldbl:amd64.
- Preparing to unpack .../1-libgmpxx4ldbl_2%3a6.3.0+dfsg-3_amd64.deb ...
- Unpacking libgmpxx4ldbl:amd64 (2:6.3.0+dfsg-3) ...
- Selecting previously unselected package libgmp-dev:amd64.
- Preparing to unpack .../2-libgmp-dev_2%3a6.3.0+dfsg-3_amd64.deb ...
- Unpacking libgmp-dev:amd64 (2:6.3.0+dfsg-3) ...
- Selecting previously unselected package libpkgconf3:amd64.
- Preparing to unpack .../3-libpkgconf3_1.8.1-4_amd64.deb ...
- Unpacking libpkgconf3:amd64 (1.8.1-4) ...
- Selecting previously unselected package libssl-dev:amd64.
- Preparing to unpack .../4-libssl-dev_3.5.1-1_amd64.deb ...
- Unpacking libssl-dev:amd64 (3.5.1-1) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../5-pkgconf-bin_1.8.1-4_amd64.deb ...
- Unpacking pkgconf-bin (1.8.1-4) ...
- Selecting previously unselected package pkgconf:amd64.
- Preparing to unpack .../6-pkgconf_1.8.1-4_amd64.deb ...
- Unpacking pkgconf:amd64 (1.8.1-4) ...
- Selecting previously unselected package pkg-config:amd64.
- Preparing to unpack .../7-pkg-config_1.8.1-4_amd64.deb ...
- Unpacking pkg-config:amd64 (1.8.1-4) ...
- Selecting previously unselected package zlib1g-dev:amd64.
- Preparing to unpack .../8-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1+b1_amd64.deb ...
- Unpacking zlib1g-dev:amd64 (1:1.3.dfsg+really1.3.1-1+b1) ...
- Setting up libffi-dev:amd64 (3.4.8-2) ...
- Setting up libpkgconf3:amd64 (1.8.1-4) ...
- Setting up libgmpxx4ldbl:amd64 (2:6.3.0+dfsg-3) ...
- Setting up libssl-dev:amd64 (3.5.1-1) ...
- Setting up pkgconf-bin (1.8.1-4) ...
- Setting up zlib1g-dev:amd64 (1:1.3.dfsg+really1.3.1-1+b1) ...
- Setting up libgmp-dev:amd64 (2:6.3.0+dfsg-3) ...
- 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) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved angstrom.0.16.1  (cached)
-> retrieved astring.0.8.5  (cached)
-> retrieved async.v0.15.0  (cached)
-> retrieved async_kernel.v0.15.0  (cached)
-> retrieved async_rpc_kernel.v0.15.0  (cached)
-> retrieved async_ssl.v0.15.0  (cached)
-> retrieved async_unix.v0.15.0  (cached)
-> retrieved async_websocket.v0.15.0  (cached)
-> retrieved base.v0.15.1  (cached)
-> retrieved base64.3.5.1  (cached)
-> retrieved base_bigstring.v0.15.0  (cached)
-> retrieved base_quickcheck.v0.15.0  (cached)
-> retrieved bigarray-compat.1.1.0  (cached)
-> retrieved bigstringaf.0.10.0  (cached)
-> retrieved bin_prot.v0.15.0  (cached)
-> retrieved cohttp.5.2.0, cohttp-async.5.2.0  (cached)
-> retrieved cohttp_async_websocket.v0.15.0  (cached)
-> retrieved conduit.8.0.0, conduit-async.8.0.0  (cached)
-> retrieved conf-gmp.5  (cached)
-> retrieved conf-gmp-powm-sec.4  (cached)
-> retrieved conf-libssl.4  (cached)
-> retrieved core.v0.15.1  (cached)
-> installed bigarray-compat.1.1.0
-> installed conf-gmp.5
-> installed conf-pkg-config.4
-> retrieved core_kernel.v0.15.0  (cached)
-> installed conf-gmp-powm-sec.4
-> installed conf-libssl.4
-> installed conf-zlib.1
-> installed conf-libffi.2.0.0
-> retrieved core_unix.v0.15.2  (cached)
-> installed base64.3.5.1
-> retrieved cryptokit.1.20  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved ctypes.0.23.0, ctypes-foreign.0.23.0  (cached)
-> retrieved domain-name.0.4.1  (cached)
-> installed csexp.1.5.2
-> installed domain-name.0.4.1
-> retrieved dune-configurator.3.18.2  (cached)
-> retrieved expect_test_helpers_core.v0.15.0  (cached)
-> retrieved fieldslib.v0.15.0  (cached)
-> retrieved fmt.0.11.0  (cached)
-> retrieved int_repr.v0.15.0  (cached)
-> retrieved integers.0.7.0  (cached)
-> retrieved ipaddr.5.6.1, ipaddr-sexp.5.6.1, macaddr.5.6.1  (cached)
-> retrieved jane-street-headers.v0.15.0  (cached)
-> retrieved jsonm.1.0.2  (cached)
-> retrieved jst-config.v0.15.1  (cached)
-> retrieved logs.0.9.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)
-> installed jane-street-headers.v0.15.0
-> retrieved ocaml_intrinsics.v0.15.2  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> installed macaddr.5.6.1
-> retrieved parsexp.v0.15.0  (cached)
-> retrieved ppx_assert.v0.15.0  (cached)
-> retrieved ppx_base.v0.15.0  (cached)
-> retrieved ppx_bench.v0.15.1  (cached)
-> retrieved ppx_bin_prot.v0.15.0  (cached)
-> retrieved ppx_cold.v0.15.0  (cached)
-> retrieved ppx_compare.v0.15.0  (cached)
-> retrieved ppx_custom_printf.v0.15.0  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved ppx_disable_unused_warnings.v0.15.0  (cached)
-> retrieved ppx_enumerate.v0.15.0  (cached)
-> retrieved ppx_expect.v0.15.1  (cached)
-> retrieved ppx_fields_conv.v0.15.0  (cached)
-> retrieved ppx_fixed_literal.v0.15.0  (cached)
-> retrieved ppx_hash.v0.15.0  (cached)
-> retrieved ppx_here.v0.15.0  (cached)
-> retrieved ppx_ignore_instrumentation.v0.15.0  (cached)
-> installed ppx_derivers.1.2.1
-> retrieved ppx_inline_test.v0.15.1  (cached)
-> retrieved ppx_jane.v0.15.0  (cached)
-> retrieved ppx_let.v0.15.0  (cached)
-> retrieved ppx_log.v0.15.0  (cached)
-> retrieved ppx_module_timer.v0.15.0  (cached)
-> retrieved ppx_optcomp.v0.15.0  (cached)
-> retrieved ppx_optional.v0.15.0  (cached)
-> retrieved ppx_pipebang.v0.15.0  (cached)
-> retrieved ppx_sexp_conv.v0.15.1  (cached)
-> retrieved ppx_sexp_message.v0.15.0  (cached)
-> retrieved ppx_sexp_value.v0.15.0  (cached)
-> retrieved ppx_stable.v0.15.0  (cached)
-> retrieved ppx_string.v0.15.0  (cached)
-> retrieved ppx_typerep_conv.v0.15.0  (cached)
-> retrieved ppx_variants_conv.v0.15.0  (cached)
-> retrieved ppxlib.0.35.0  (cached)
-> retrieved protocol_version_header.v0.15.0  (cached)
-> retrieved re.1.13.2  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved sexp_pretty.v0.15.1  (cached)
-> retrieved sexplib.v0.15.1  (cached)
-> retrieved sexplib0.v0.15.1  (cached)
-> retrieved spawn.v0.17.0  (cached)
-> retrieved splittable_random.v0.15.0  (cached)
-> retrieved stdio.v0.15.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved stringext.1.6.0  (cached)
-> retrieved textutils.v0.15.0  (cached)
-> retrieved textutils_kernel.v0.15.0  (cached)
-> installed ipaddr.5.6.1
-> retrieved time_now.v0.15.0  (cached)
-> installed magic-mime.1.3.1
-> retrieved timezone.v0.15.0  (cached)
-> retrieved topkg.1.1.0  (cached)
-> installed ocaml-syntax-shims.1.0.0
-> installed ocaml-compiler-libs.v0.12.4
-> retrieved typerep.v0.15.0  (cached)
-> installed stringext.1.6.0
-> retrieved uri.4.4.0, uri-sexp.4.4.0  (cached)
-> retrieved uutf.1.0.4  (cached)
-> retrieved variantslib.v0.15.0  (cached)
-> retrieved zarith.1.14  (cached)
-> installed dune-configurator.3.18.2
-> installed stdlib-shims.0.3.0
-> installed sexplib0.v0.15.1
-> installed spawn.v0.17.0
-> installed num.1.6
-> installed bigstringaf.0.10.0
-> installed integers.0.7.0
-> installed re.1.13.2
-> installed ocaml_intrinsics.v0.15.2
-> installed angstrom.0.16.1
-> installed ocamlfind.1.9.8
-> installed uri.4.4.0
-> installed ocamlbuild.0.16.1
-> installed ctypes.0.23.0
-> installed base.v0.15.1
-> installed fieldslib.v0.15.0
-> installed variantslib.v0.15.0
-> installed stdio.v0.15.0
-> installed zarith.1.14
-> installed ctypes-foreign.0.23.0
-> installed typerep.v0.15.0
-> installed parsexp.v0.15.0
-> installed topkg.1.1.0
-> installed sexplib.v0.15.1
-> installed uutf.1.0.4
-> installed fmt.0.11.0
-> installed cryptokit.1.20
-> installed astring.0.8.5
-> installed jsonm.1.0.2
-> installed logs.0.9.0
-> installed ppxlib.0.35.0
-> installed ppx_optcomp.v0.15.0
-> installed ppx_cold.v0.15.0
-> installed ppx_here.v0.15.0
-> installed ppx_variants_conv.v0.15.0
-> installed ppx_compare.v0.15.0
-> installed ppx_disable_unused_warnings.v0.15.0
-> installed ppx_typerep_conv.v0.15.0
-> installed ppx_fields_conv.v0.15.0
-> installed ppx_optional.v0.15.0
-> installed ppx_enumerate.v0.15.0
-> installed ppx_ignore_instrumentation.v0.15.0
-> installed ppx_pipebang.v0.15.0
-> installed ppx_stable.v0.15.0
-> installed ppx_sexp_conv.v0.15.1
-> installed ppx_fixed_literal.v0.15.0
-> installed ppx_let.v0.15.0
-> installed ipaddr-sexp.5.6.1
-> installed ppx_hash.v0.15.0
-> installed uri-sexp.4.4.0
-> installed ppx_sexp_message.v0.15.0
-> installed ppx_sexp_value.v0.15.0
-> installed ppx_custom_printf.v0.15.0
-> installed conduit.8.0.0
-> installed ppx_base.v0.15.0
-> installed ppx_assert.v0.15.0
-> installed cohttp.5.2.0
-> installed ppx_log.v0.15.0
-> installed sexp_pretty.v0.15.1
-> installed bin_prot.v0.15.0
-> installed jst-config.v0.15.1
-> installed ppx_string.v0.15.0
-> installed time_now.v0.15.0
-> installed ppx_bin_prot.v0.15.0
-> installed ppx_module_timer.v0.15.0
-> installed ppx_inline_test.v0.15.1
-> installed ppx_bench.v0.15.1
-> installed ppx_expect.v0.15.1
-> installed splittable_random.v0.15.0
-> installed base_quickcheck.v0.15.0
-> installed ppx_jane.v0.15.0
-> installed int_repr.v0.15.0
-> installed base_bigstring.v0.15.0
-> installed core.v0.15.1
-> installed protocol_version_header.v0.15.0
-> installed textutils_kernel.v0.15.0
-> installed expect_test_helpers_core.v0.15.0
-> installed timezone.v0.15.0
-> installed core_kernel.v0.15.0
-> installed async_kernel.v0.15.0
-> installed async_rpc_kernel.v0.15.0
-> installed core_unix.v0.15.2
-> installed textutils.v0.15.0
-> installed async_unix.v0.15.0
-> installed async.v0.15.0
-> installed async_websocket.v0.15.0
[ERROR] The compilation of async_ssl.v0.15.0 failed at "dune build -p async_ssl -j 71".

#=== ERROR while compiling async_ssl.v0.15.0 ==================================#
# context              2.4.1 | linux/x86_64 | ocaml-base-compiler.4.14.2 | file:///home/opam/opam-repository
# path                 ~/.opam/4.14/.opam-switch/build/async_ssl.v0.15.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-ffbce1.env
# output-file          ~/.opam/log/async_ssl-7-ffbce1.out
### output ###
# (cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w -40 -g -bin-annot -I bindings/.async_ssl_bindings.objs/byte -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/base_quickcheck/ppx_quickcheck/runtime -I /home/opam/.opam/4.14/lib/bigarray-compat -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/ctypes -I /home/opam/.opam/4.14/lib/ctypes-foreign -I /home/opam/.opam/4.14/lib/ctypes/stubs -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_log/types -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/sexplib -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 -no-alias-deps -open Async_ssl_bindings -o bindings/.async_ssl_bindings.objs/byte/async_ssl_bindings__Ctypes_foreign_flat.cmo -c -impl bindings/ctypes_foreign_flat.pp.ml)
# File "bindings/ctypes_foreign_flat.ml", line 5, characters 39-68:
# 5 | module Ctypes_foreign_threaded_stubs = Ctypes_foreign_threaded_stubs
#                                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# Warning 49 [no-cmi-file]: no cmi file was found in path for module Ctypes_foreign_threaded_stubs
# (cd _build/default && /home/opam/.opam/4.14/bin/ocamlopt.opt -w -40 -g -I bindings/.async_ssl_bindings.objs/byte -I bindings/.async_ssl_bindings.objs/native -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/base_quickcheck/ppx_quickcheck/runtime -I /home/opam/.opam/4.14/lib/bigarray-compat -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/ctypes -I /home/opam/.opam/4.14/lib/ctypes-foreign -I /home/opam/.opam/4.14/lib/ctypes/stubs -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_log/types -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/sexplib -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 -intf-suffix .ml -no-alias-deps -open Async_ssl_bindings -o bindings/.async_ssl_bindings.objs/native/async_ssl_bindings__Ctypes_foreign_flat.cmx -c -impl bindings/ctypes_foreign_flat.pp.ml)
# File "bindings/ctypes_foreign_flat.ml", line 5, characters 39-68:
# 5 | module Ctypes_foreign_threaded_stubs = Ctypes_foreign_threaded_stubs
#                                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# Warning 49 [no-cmi-file]: no cmi file was found in path for module Ctypes_foreign_threaded_stubs
# 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/config -I /home/opam/.opam/4.14/lib/async_kernel/persistent_connection_kernel -I /home/opam/.opam/4.14/lib/async_kernel/read_write_pair -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/base_quickcheck/ppx_quickcheck/runtime -I /home/opam/.opam/4.14/lib/bigarray-compat -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/core -I /home/opam/.opam/4.14/lib/core/base_for_tests -I /home/opam/.opam/4.14/lib/core/validate -I /home/opam/.opam/4.14/lib/core_kernel/bounded_int_table -I /home/opam/.opam/4.14/lib/core_kernel/caml_threads -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_unix -I /home/opam/.opam/4.14/lib/core_unix/bigstring_unix -I /home/opam/.opam/4.14/lib/core_unix/core_thread -I /home/opam/.opam/4.14/lib/core_unix/error_checking_mutex -I /home/opam/.opam/4.14/lib/core_unix/filename_unix -I /home/opam/.opam/4.14/lib/core_unix/iobuf_unix -I /home/opam/.opam/4.14/lib/core_unix/linux_ext -I /home/opam/.opam/4.14/lib/core_unix/nano_mutex -I /home/opam/.opam/4.14/lib/core_unix/ocaml_c_utils -I /home/opam/.opam/4.14/lib/core_unix/signal_unix -I /home/opam/.opam/4.14/lib/core_unix/squeue -I /home/opam/.opam/4.14/lib/core_unix/sys_unix -I /home/opam/.opam/4.14/lib/core_unix/time_ns_unix -I /home/opam/.opam/4.14/lib/core_unix/time_stamp_counter -I /home/opam/.opam/4.14/lib/core_unix/time_unix -I /home/opam/.opam/4.14/lib/core_unix/uuid -I /home/opam/.opam/4.14/lib/ctypes -I /home/opam/.opam/4.14/lib/ctypes-foreign -I /home/opam/.opam/4.14/lib/ctypes/stubs -I /home/opam/.opam/4.14/lib/fieldslib -I /home/opam/.opam/4.14/lib/int_repr -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/ocaml_intrinsics -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_log/types -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.15.0
+- 
+- The following changes have been performed (the rest was aborted)
| - install angstrom                    0.16.1
| - install astring                     0.8.5
| - install async                       v0.15.0
| - install async_kernel                v0.15.0
| - install async_rpc_kernel            v0.15.0
| - install async_unix                  v0.15.0
| - install async_websocket             v0.15.0
| - install base                        v0.15.1
| - install base64                      3.5.1
| - install base_bigstring              v0.15.0
| - install base_quickcheck             v0.15.0
| - install bigarray-compat             1.1.0
| - install bigstringaf                 0.10.0
| - install bin_prot                    v0.15.0
| - install cohttp                      5.2.0
| - install conduit                     8.0.0
| - install conf-gmp                    5
| - install conf-gmp-powm-sec           4
| - install conf-libffi                 2.0.0
| - install conf-libssl                 4
| - install conf-pkg-config             4
| - install conf-zlib                   1
| - install core                        v0.15.1
| - install core_kernel                 v0.15.0
| - install core_unix                   v0.15.2
| - install cryptokit                   1.20
| - install csexp                       1.5.2
| - install ctypes                      0.23.0
| - install ctypes-foreign              0.23.0
| - install domain-name                 0.4.1
| - install dune-configurator           3.18.2
| - install expect_test_helpers_core    v0.15.0
| - install fieldslib                   v0.15.0
| - install fmt                         0.11.0
| - install int_repr                    v0.15.0
| - install integers                    0.7.0
| - install ipaddr                      5.6.1
| - install ipaddr-sexp                 5.6.1
| - install jane-street-headers         v0.15.0
| - install jsonm                       1.0.2
| - install jst-config                  v0.15.1
| - install logs                        0.9.0
| - install macaddr                     5.6.1
| - 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 ocaml_intrinsics            v0.15.2
| - install ocamlbuild                  0.16.1
| - install ocamlfind                   1.9.8
| - install parsexp                     v0.15.0
| - install ppx_assert                  v0.15.0
| - install ppx_base                    v0.15.0
| - install ppx_bench                   v0.15.1
| - install ppx_bin_prot                v0.15.0
| - install ppx_cold                    v0.15.0
| - install ppx_compare                 v0.15.0
| - install ppx_custom_printf           v0.15.0
| - install ppx_derivers                1.2.1
| - install ppx_disable_unused_warnings v0.15.0
| - install ppx_enumerate               v0.15.0
| - install ppx_expect                  v0.15.1
| - install ppx_fields_conv             v0.15.0
| - install ppx_fixed_literal           v0.15.0
| - install ppx_hash                    v0.15.0
| - install ppx_here                    v0.15.0
| - install ppx_ignore_instrumentation  v0.15.0
| - install ppx_inline_test             v0.15.1
| - install ppx_jane                    v0.15.0
| - install ppx_let                     v0.15.0
| - install ppx_log                     v0.15.0
| - install ppx_module_timer            v0.15.0
| - install ppx_optcomp                 v0.15.0
| - install ppx_optional                v0.15.0
| - install ppx_pipebang                v0.15.0
| - install ppx_sexp_conv               v0.15.1
| - install ppx_sexp_message            v0.15.0
| - install ppx_sexp_value              v0.15.0
| - install ppx_stable                  v0.15.0
| - install ppx_string                  v0.15.0
| - install ppx_typerep_conv            v0.15.0
| - install ppx_variants_conv           v0.15.0
| - install ppxlib                      0.35.0
| - install protocol_version_header     v0.15.0
| - install re                          1.13.2
| - install seq                         base
| - install sexp_pretty                 v0.15.1
| - install sexplib                     v0.15.1
| - install sexplib0                    v0.15.1
| - install spawn                       v0.17.0
| - install splittable_random           v0.15.0
| - install stdio                       v0.15.0
| - install stdlib-shims                0.3.0
| - install stringext                   1.6.0
| - install textutils                   v0.15.0
| - install textutils_kernel            v0.15.0
| - install time_now                    v0.15.0
| - install timezone                    v0.15.0
| - install topkg                       1.1.0
| - install typerep                     v0.15.0
| - install uri                         4.4.0
| - install uri-sexp                    4.4.0
| - install uutf                        1.0.4
| - install variantslib                 v0.15.0
| - install zarith                      1.14
+- 
# 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-20250918173522.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.15.0
"/usr/bin/env" "bash" "-c" "opam reinstall cohttp_async_websocket.v0.15.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" != 'cohttp_async_websocket.v0.15.0' && partial_fails="$partial_fails $pkg";
        done;
        test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}";
        exit 1" failed with exit status 1
2025-09-18 17:42.22: Job failed: Failed: Build failed
2025-09-18 17:42.22: Log analysis:
2025-09-18 17:42.22: >>> 
[ERROR] The compilation of async_ssl.v0.15.0 failed at "dune build -p async_ssl -j 71".
 (score = 20)
2025-09-18 17:42.22: >>> 
# ffi_generated_stubs.c:80:4: error: implicit declaration of function 'ENGINE_load_builtin_engines' [-Wimplicit-function-declaration]
 (score = 30)
2025-09-18 17:42.22: >>> 
# ffi_generated_stubs.c:85:4: error: implicit declaration of function 'ENGINE_unregister_RAND' [-Wimplicit-function-declaration]
 (score = 30)
2025-09-18 17:42.22: >>> 
# ffi_generated_stubs.c:90:4: error: implicit declaration of function 'ENGINE_register_all_complete' [-Wimplicit-function-declaration]
 (score = 30)
2025-09-18 17:42.22: >>> 
# ffi_generated_stubs.c:315:25: error: passing argument 1 of 'BN_hex2bn' from incompatible pointer type [-Wincompatible-pointer-types]
 (score = 30)
2025-09-18 17:42.22: >>> 
# 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)
2025-09-18 17:42.22: >>> 
opam-repo-ci detected dependencies failing:  async_ssl.v0.15.0
 (score = 75)
2025-09-18 17:42.22:  async_ssl.v0.15.0 failed to build