(not at the head of any monitored branch or PR)
2025-03-13 14:03.07: New job: test ocurl.0.9.2 with ocamlfind.1.9.5, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/27618/head (817e2bca6bb374fd7865253f73a8e26703930da1)
                              on debian-12-ocaml-4.14/amd64

To reproduce locally:

cd $(mktemp -d)
git clone --recursive "https://github.com/ocaml/opam-repository.git" && cd "opam-repository" && git fetch origin "refs/pull/27618/head" && git reset --hard 817e2bca
git fetch origin master
git merge --no-edit 906fb78ee221e4b7676dcd2285fb6d40cbdc59f2
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.14@sha256:a6696fcec2a7196cd06fe5e601406bdcfa34a6483ab7cf7de982ae17ea6a55f0
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 ocamlfind.1.9.5 1.9.5
RUN opam reinstall ocamlfind.1.9.5; \
    res=$?; \
    test "$res" != 31 && exit "$res"; \
    export OPAMCLI=2.0; \
    build_dir=$(opam var prefix)/.opam-switch/build; \
    failed=$(ls "$build_dir"); \
    partial_fails=""; \
    for pkg in $failed; do \
    if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-12\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'ocamlfind.1.9.5' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1
RUN opam reinstall ocurl.0.9.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-12\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'ocurl.0.9.2' && 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 ocurl.0.9.2) || true
RUN opam reinstall --with-test --verbose ocurl.0.9.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-12\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'ocurl.0.9.2' && 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-03-13 14:03.07: Using cache hint "ocaml/opam:debian-12-ocaml-4.14@sha256:a6696fcec2a7196cd06fe5e601406bdcfa34a6483ab7cf7de982ae17ea6a55f0-ocamlfind.1.9.5-ocurl.0.9.2-817e2bca6bb374fd7865253f73a8e26703930da1"
2025-03-13 14:03.07: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.14@sha256:a6696fcec2a7196cd06fe5e601406bdcfa34a6483ab7cf7de982ae17ea6a55f0)
 (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 ocamlfind.1.9.5 1.9.5"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall ocamlfind.1.9.5;\
             \n        res=$?;\
             \n        test \"$res\" != 31 && exit \"$res\";\
             \n        export OPAMCLI=2.0;\
             \n        build_dir=$(opam var prefix)/.opam-switch/build;\
             \n        failed=$(ls \"$build_dir\");\
             \n        partial_fails=\"\";\
             \n        for pkg in $failed; do\
             \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-12\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'ocamlfind.1.9.5' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall ocurl.0.9.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-12\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'ocurl.0.9.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 (network host)
      (shell "(opam reinstall --with-test ocurl.0.9.2) || true"))
 (run (shell  "opam reinstall --with-test --verbose ocurl.0.9.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-12\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'ocurl.0.9.2' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2025-03-13 14:03.07: Waiting for resource in pool OCluster
2025-03-13 14:04.13: Waiting for worker…
2025-03-13 14:05.26: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
HEAD is now at 906fb78ee2 Merge pull request #27594 from mbarbin/dunolint
Merge made by the 'ort' strategy.
 packages/ocamlfind/ocamlfind.1.9.5/opam | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(from ocaml/opam:debian-12-ocaml-4.14@sha256:a6696fcec2a7196cd06fe5e601406bdcfa34a6483ab7cf7de982ae17ea6a55f0)
2025-03-13 14:05.28 ---> using "80fd7825ce1a116f8797a39876773ae08c12e9665497e2c87a54f899dfa0710c" 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-03-13 14:05.28 ---> using "2f79bcf5e8f633cc179931f47e4478f88e9aac17cfe5e7e859dc3cb46b8830f1" from cache

/home/opam: (run (network host)
                 (shell "opam init --reinit --config .opamrc-sandbox -ni"))
Configuring from /home/opam/.opamrc-sandbox, then /home/opam/.opamrc, and finally from built-in defaults.
Checking for available remotes: rsync and local, git.
  - you won't be able to use mercurial repositories unless you install the hg command on your system.
  - you won't be able to use darcs repositories unless you install the darcs command on your system.

This development version of opam requires an update to the layout of /home/opam/.opam from version 2.0 to version 2.2, which can't be reverted.
You may want to back it up before going further.

Continue? [Y/n] y
[NOTE] The 'jobs' option was reset, its value was 39 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
           opam option jobs=39 --global
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[opam-repository-archive] synchronised from git+https://github.com/ocaml/opam-repository-archive
[default] synchronised from file:///home/opam/opam-repository
2025-03-13 14:05.28 ---> using "b247a5363e2b7a112eea930be80a14ef0483774222bc0faa32ee684629fac6c3" 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.0~alpha1~dev (f1cf50f2711981a605f81a80c68b73774d5841ff)
# self-upgrade         no
# system               arch=x86_64 os=linux os-distribution=debian os-version=12
# solver               builtin-0install
# install-criteria     -changed,-count[avoid-version,solution]
# upgrade-criteria     -count[avoid-version,solution]
# jobs                 255
# repositories         1 (local), 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-03-13 14:05.28 ---> using "738df2896a32e42d0ddd19b6bae8aa0827576b126c1f6655d8ccff0fff105b1f" 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-03-13 14:05.28 ---> using "d13c11b5fb48861869fac18fc65afc4519c0bda8c165f31f60c9096ea7040513" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2025-03-13 14:05.29 ---> using "bf79031c9bde6b510b33ce29f6f54899aa875129bab60295e83b13d67edc0d4d" from cache

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-03-13 14:05.29 ---> using "a2e88cbe0b8a7983007a53c9f3785bd4f6c313608e2f040410ae1adfd1aa1c51" from cache

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian bookworm InRelease
- Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
- Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
- Get:4 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [246 kB]
- Fetched 349 kB in 1s (639 kB/s)
- Reading package lists...
- 
2025-03-13 14:05.29 ---> using "b6d64f2b040376d9535f173f2507aad0eda5e91c35cf0f083ee33d2526295e11" from cache

/home/opam: (run (shell "opam pin add -k version -yn ocamlfind.1.9.5 1.9.5"))
ocamlfind is now pinned to version 1.9.5
2025-03-13 14:05.29 ---> using "009ab918fd26c27a6c93e6f8752ede71f76268f6829f5c7f9a198e42a4b1a46e" from cache

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall ocamlfind.1.9.5;\
                        \n        res=$?;\
                        \n        test \"$res\" != 31 && exit \"$res\";\
                        \n        export OPAMCLI=2.0;\
                        \n        build_dir=$(opam var prefix)/.opam-switch/build;\
                        \n        failed=$(ls \"$build_dir\");\
                        \n        partial_fails=\"\";\
                        \n        for pkg in $failed; do\
                        \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-12\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'ocamlfind.1.9.5' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
ocamlfind.1.9.5 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 1 package
  - install ocamlfind 1.9.5 (pinned)

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved ocamlfind.1.9.5  (cached)
-> installed ocamlfind.1.9.5
Done.
# To update the current shell environment, run: eval $(opam env)
2025-03-13 14:05.29 ---> using "9a4f255864aea1b3bda3c7df8691aa25275d99cf83df4ca5890ba22397e225e6" from cache

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

The following system packages will first need to be installed:
    libcurl4-gnutls-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" "libcurl4-gnutls-dev"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package libcurl4-gnutls-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 ... 18745 files and directories currently installed.)
- Preparing to unpack .../libcurl4-gnutls-dev_7.88.1-10+deb12u8_amd64.deb ...
- Unpacking libcurl4-gnutls-dev:amd64 (7.88.1-10+deb12u8) ...
- Setting up libcurl4-gnutls-dev:amd64 (7.88.1-10+deb12u8) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved ocurl.0.9.2  (cached)
-> installed conf-libcurl.2
-> installed ocurl.0.9.2
Done.
# To update the current shell environment, run: eval $(opam env)
2025-03-13 14:06.00 ---> saved as "f0639f891ba398dcc07bc54e91266c5e5dfb3e42d50385c1214fdcd0553601ba"

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

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved ocurl.0.9.2  (https://ygrek.org/p/release/ocurl/ocurl-0.9.2.tar.gz)
-> removed   ocurl.0.9.2
-> installed ocurl.0.9.2
Done.
# To update the current shell environment, run: eval $(opam env)
2025-03-13 14:06.34 ---> saved as "cb5a0f3b7618950858c4b866b3be4391ff9ed09a62d44355da9b9efd1e11a2fe"

/home/opam: (run (shell  "opam reinstall --with-test --verbose ocurl.0.9.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-12\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'ocurl.0.9.2' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
The following actions will be performed:
=== recompile 1 package
  - recompile ocurl 0.9.2

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/4: [ocurl.0.9.2: extract]
-> retrieved ocurl.0.9.2  (cached)
Processing  2/4: [ocurl: ./configure]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "./configure" (CWD=/home/opam/.opam/4.14/.opam-switch/build/ocurl.0.9.2)
- checking for gcc... gcc
- checking whether the C compiler works... yes
- checking for C compiler default output file name... a.out
- checking for suffix of executables... 
- checking whether we are cross compiling... no
- checking for suffix of object files... o
- checking whether we are using the GNU C compiler... yes
- checking whether gcc accepts -g... yes
- checking for gcc option to accept ISO C89... none needed
- checking for libcurl cflags... ./configure: line 2857: pkg-config: command not found
- 
- checking for libcurl libs... ./configure: line 2872: pkg-config: command not found
- -lcurl
- checking for libcurl version >= 7.28.0... ./configure: line 2887: pkg-config: command not found
- ./configure: line 2888: pkg-config: command not found
- libcurl 7.88.1
- checking for a BSD-compatible install... /usr/bin/install -c
- checking for ocamlc... ocamlc
- OCaml version is 4.14.2
- OCaml library path is /home/opam/.opam/4.14/lib/ocaml
- checking for ocamlopt... ocamlopt
- checking for ocamlc.opt... ocamlc.opt
- checking for ocamlopt.opt... ocamlopt.opt
- checking for ocaml... ocaml
- checking for ocamldep... ocamldep
- checking for ocamlmktop... ocamlmktop
- checking for ocamlmklib... ocamlmklib
- checking for ocamldoc... ocamldoc
- checking for ocamlbuild... no
- checking for ocamlfind... ocamlfind
- checking for OCaml findlib package bytes... found
- checking for OCaml findlib package lwt.unix... not found
- checking for OCaml findlib package lwt_ppx... not found
- checking for prefix by checking for ocamlc... /home/opam/.opam/4.14/bin/ocamlc
- findlib: [WARNING] Interface topdirs.cmi occurs in several directories: /home/opam/.opam/4.14/lib/ocaml, /home/opam/.opam/4.14/lib/ocaml/compiler-libs
- checking for bin-annot support... yes
- checking for ext_dll... .so
- checking for ext_lib... .a
- checking for ext_obj... .o
- checking how to run the C preprocessor... gcc -E
- checking for grep that handles long lines and -e... /usr/bin/grep
- checking for egrep... /usr/bin/grep -E
- checking for ANSI C header files... yes
- checking for sys/types.h... yes
- checking for sys/stat.h... 
- yes
- checking for stdlib.h... yes
- checking for string.h... yes
- checking for memory.h... yes
- checking for strings.h... yes
- checking for inttypes.h... yes
- checking for stdint.h... yes
- checking for unistd.h... yes
- checking curl/curl.h usability... yes
- checking curl/curl.h presence... yes
- checking for curl/curl.h... yes
- checking whether CURLMOPT_TIMERFUNCTION is declared... yes
- checking whether CURLMOPT_TIMERDATA is declared... yes
- checking whether CURLMOPT_SOCKETFUNCTION is declared... yes
- checking whether CURLMOPT_SOCKETDATA is declared... yes
- checking whether CURLOPT_FILE is declared... yes
- checking whether CURLOPT_URL is declared... yes
- checking whether CURLOPT_PORT is declared... yes
- checking whether CURLOPT_PROXY is declared... yes
- checking whether CURLOPT_USERPWD is declared... yes
- checking whether CURLOPT_PROXYUSERPWD is declared... yes
- checking whether CURLOPT_RANGE is declared... 
- yes
- checking whether CURLOPT_INFILE is declared... yes
- checking whether CURLOPT_ERRORBUFFER is declared... yes
- checking whether CURLOPT_WRITEFUNCTION is declared... yes
- checking whether CURLOPT_READFUNCTION is declared... yes
- checking whether CURLOPT_TIMEOUT is declared... yes
- checking whether CURLOPT_INFILESIZE is declared... yes
- checking whether CURLOPT_POSTFIELDS is declared... yes
- checking whether CURLOPT_REFERER is declared... yes
- checking whether CURLOPT_FTPPORT is declared... yes
- checking whether CURLOPT_USERAGENT is declared... yes
- checking whether CURLOPT_LOW_SPEED_LIMIT is declared... yes
- checking whether CURLOPT_LOW_SPEED_TIME is declared... yes
- checking whether CURLOPT_RESUME_FROM is declared... yes
- checking whether CURLOPT_COOKIE is declared... yes
- checking whether CURLOPT_HTTPHEADER is declared... yes
- checking whether CURLOPT_HTTPPOST is declared... yes
- checking whether CURLOPT_SSLCERT is declared... yes
- checking whether CURLOPT_SSLCERTPASSWD is declared... yes
- checking whether CURLOPT_SSLKEYPASSWD is declared... yes
- checking whether CURLOPT_CRLF is declared... yes
- checking whether CURLOPT_QUOTE is declared... yes
- checking whether CURLOPT_WRITEHEADER is declared... yes
- checking whether CURLOPT_COOKIEFILE is declared... yes
- checking whether CURLOPT_SSLVERSION is declared... yes
- checking whether CURLOPT_TIMECONDITION is declared... yes
- checking whether CURLOPT_TIMEVALUE is declared... yes
- checking whether CURLOPT_CUSTOMREQUEST is declared... yes
- checking whether CURLOPT_POSTQUOTE is declared... yes
- checking whether CURLOPT_WRITEINFO is declared... yes
- checking whether CURLOPT_VERBOSE is declared... yes
- checking whether CURLOPT_HEADER is declared... yes
- checking whether CURLOPT_NOPROGRESS is declared... yes
- checking whether CURLOPT_NOBODY is declared... yes
- checking whether CURLOPT_FAILONERROR is declared... yes
- checking whether CURLOPT_UPLOAD is declared... 
- yes
- checking whether CURLOPT_POST is declared... yes
- checking whether CURLOPT_FTPLISTONLY is declared... yes
- checking whether CURLOPT_FTPAPPEND is declared... yes
- checking whether CURLOPT_NETRC is declared... yes
- checking whether CURLOPT_FOLLOWLOCATION is declared... yes
- checking whether CURLOPT_TRANSFERTEXT is declared... yes
- checking whether CURLOPT_PUT is declared... yes
- checking whether CURLOPT_PROGRESSFUNCTION is declared... yes
- checking whether CURLOPT_XFERINFOFUNCTION is declared... yes
- checking whether CURLOPT_PROGRESSDATA is declared... yes
- checking whether CURLOPT_AUTOREFERER is declared... yes
- checking whether CURLOPT_PROXYPORT is declared... yes
- checking whether CURLOPT_POSTFIELDSIZE is declared... yes
- checking whether CURLOPT_HTTPPROXYTUNNEL is declared... yes
- checking whether CURLOPT_INTERFACE is declared... yes
- checking whether CURLOPT_KRB4LEVEL is declared... yes
- checking whether CURLOPT_SSL_VERIFYPEER is declared... yes
- checking whether CURLOPT_CAINFO is declared... yes
- checking whether CURLOPT_MAXREDIRS is declared... 
- yes
- checking whether CURLOPT_FILETIME is declared... yes
- checking whether CURLOPT_TELNETOPTIONS is declared... yes
- checking whether CURLOPT_MAXCONNECTS is declared... yes
- checking whether CURLOPT_CLOSEPOLICY is declared... yes
- checking whether CURLOPT_FRESH_CONNECT is declared... yes
- checking whether CURLOPT_FORBID_REUSE is declared... yes
- checking whether CURLOPT_RANDOM_FILE is declared... yes
- checking whether CURLOPT_EGDSOCKET is declared... yes
- checking whether CURLOPT_CONNECTTIMEOUT is declared... yes
- checking whether CURLOPT_HEADERFUNCTION is declared... yes
- checking whether CURLOPT_HTTPGET is declared... yes
- checking whether CURLOPT_SSL_VERIFYHOST is declared... yes
- checking whether CURLOPT_COOKIEJAR is declared... yes
- checking whether CURLOPT_SSL_CIPHER_LIST is declared... yes
- checking whether CURLOPT_HTTP_VERSION is declared... yes
- checking whether CURLOPT_FTP_USE_EPSV is declared... yes
- checking whether CURLOPT_SSLCERTTYPE is declared... yes
- checking whether CURLOPT_SSLKEY is declared... 
- yes
- checking whether CURLOPT_SSLKEYTYPE is declared... yes
- checking whether CURLOPT_SSLENGINE is declared... yes
- checking whether CURLOPT_SSLENGINE_DEFAULT is declared... yes
- checking whether CURLOPT_DNS_USE_GLOBAL_CACHE is declared... yes
- checking whether CURLOPT_DNS_CACHE_TIMEOUT is declared... yes
- checking whether CURLOPT_PREQUOTE is declared... yes
- checking whether CURLOPT_DEBUGFUNCTION is declared... yes
- checking whether CURLOPT_DEBUGDATA is declared... yes
- checking whether CURLOPT_COOKIESESSION is declared... yes
- checking whether CURLOPT_CAPATH is declared... yes
- checking whether CURLOPT_BUFFERSIZE is declared... yes
- checking whether CURLOPT_NOSIGNAL is declared... yes
- checking whether CURLOPT_SHARE is declared... yes
- checking whether CURLOPT_PROXYTYPE is declared... yes
- checking whether CURLOPT_ENCODING is declared... yes
- checking whether CURLOPT_HTTP200ALIASES is declared... yes
- checking whether CURLOPT_UNRESTRICTED_AUTH is declared... 
- yes
- checking whether CURLOPT_FTP_USE_EPRT is declared... yes
- checking whether CURLOPT_HTTPAUTH is declared... yes
- checking whether CURLOPT_FTP_CREATE_MISSING_DIRS is declared... yes
- checking whether CURLOPT_PROXYAUTH is declared... yes
- checking whether CURLOPT_FTP_RESPONSE_TIMEOUT is declared... yes
- checking whether CURLOPT_IPRESOLVE is declared... yes
- checking whether CURLOPT_MAXFILESIZE is declared... yes
- checking whether CURLOPT_INFILESIZE_LARGE is declared... yes
- checking whether CURLOPT_RESUME_FROM_LARGE is declared... yes
- checking whether CURLOPT_MAXFILESIZE_LARGE is declared... yes
- checking whether CURLOPT_NETRC_FILE is declared... yes
- checking whether CURLOPT_FTP_SSL is declared... yes
- checking whether CURLOPT_POSTFIELDSIZE_LARGE is declared... yes
- checking whether CURLOPT_TCP_NODELAY is declared... yes
- checking whether CURLOPT_FTPSSLAUTH is declared... yes
- checking whether CURLOPT_IOCTLFUNCTION is declared... yes
- checking whether CURLOPT_FTP_ACCOUNT is declared... yes
- checking whether CURLOPT_COOKIELIST is declared... yes
- checking whether CURLOPT_IGNORE_CONTENT_LENGTH is declared... yes
- checking whether CURLOPT_FTP_SKIP_PASV_IP is declared... yes
- checking whether CURLOPT_FTP_FILEMETHOD is declared... yes
- checking whether CURLOPT_LOCALPORT is declared... yes
- checking whether CURLOPT_LOCALPORTRANGE is declared... yes
- checking whether CURLOPT_CONNECT_ONLY is declared... yes
- checking whether CURLOPT_MAX_SEND_SPEED_LARGE is declared... yes
- checking whether CURLOPT_MAX_RECV_SPEED_LARGE is declared... yes
- checking whether CURLOPT_FTP_ALTERNATIVE_TO_USER is declared... yes
- checking whether CURLOPT_SSL_SESSIONID_CACHE is declared... yes
- checking whether CURLOPT_SSH_AUTH_TYPES is declared... yes
- checking whether CURLOPT_SSH_PUBLIC_KEYFILE is declared... yes
- checking whether CURLOPT_SSH_PRIVATE_KEYFILE is declared... yes
- checking whether CURLOPT_FTP_SSL_CCC is declared... yes
- checking whether CURLOPT_TIMEOUT_MS is declared... yes
- checking whether CURLOPT_CONNECTTIMEOUT_MS is declared... yes
- checking whether CURLOPT_HTTP_TRANSFER_DECODING is declared... 
- yes
- checking whether CURLOPT_HTTP_CONTENT_DECODING is declared... yes
- checking whether CURLOPT_NEW_FILE_PERMS is declared... yes
- checking whether CURLOPT_NEW_DIRECTORY_PERMS is declared... yes
- checking whether CURLOPT_POST301 is declared... yes
- checking whether CURLOPT_SSH_HOST_PUBLIC_KEY_MD5 is declared... yes
- checking whether CURLOPT_COPYPOSTFIELDS is declared... yes
- checking whether CURLOPT_PROXY_TRANSFER_MODE is declared... yes
- checking whether CURLOPT_SEEKFUNCTION is declared... yes
- checking whether CURLOPT_PROTOCOLS is declared... yes
- checking whether CURLOPT_REDIR_PROTOCOLS is declared... yes
- checking whether CURLOPT_RESOLVE is declared... yes
- checking whether CURLOPT_DNS_SERVERS is declared... yes
- checking whether CURLOPT_MAIL_FROM is declared... yes
- checking whether CURLOPT_MAIL_RCPT is declared... yes
- checking whether CURLOPT_PIPEWAIT is declared... yes
- checking whether CURLOPT_CERTINFO is declared... yes
- checking whether CURLOPT_USERNAME is declared... yes
- checking whether CURLOPT_PASSWORD is declared... 
- yes
- checking whether CURLOPT_LOGIN_OPTIONS is declared... yes
- checking whether CURLOPT_CONNECT_TO is declared... yes
- checking whether CURLOPT_POSTREDIR is declared... yes
- checking whether CURLOPT_MIMEPOST is declared... yes
- checking whether CURLOPT_BUFFERSIZE is declared... (cached) yes
- checking whether CURLOPT_DOH_URL is declared... yes
- checking whether CURLOPT_TCP_FASTOPEN is declared... yes
- checking whether CURLINFO_EFFECTIVE_URL is declared... yes
- checking whether CURLINFO_RESPONSE_CODE is declared... yes
- checking whether CURLINFO_TOTAL_TIME is declared... yes
- checking whether CURLINFO_NAMELOOKUP_TIME is declared... yes
- checking whether CURLINFO_CONNECT_TIME is declared... yes
- checking whether CURLINFO_PRETRANSFER_TIME is declared... yes
- checking whether CURLINFO_SIZE_UPLOAD is declared... yes
- checking whether CURLINFO_SIZE_DOWNLOAD is declared... yes
- checking whether CURLINFO_SPEED_DOWNLOAD is declared... yes
- checking whether CURLINFO_SPEED_UPLOAD is declared... yes
- checking whether CURLINFO_HEADER_SIZE is declared... 
- yes
- checking whether CURLINFO_REQUEST_SIZE is declared... yes
- checking whether CURLINFO_SSL_VERIFYRESULT is declared... yes
- checking whether CURLINFO_FILETIME is declared... yes
- checking whether CURLINFO_CONTENT_LENGTH_DOWNLOAD is declared... yes
- checking whether CURLINFO_CONTENT_LENGTH_UPLOAD is declared... yes
- checking whether CURLINFO_STARTTRANSFER_TIME is declared... yes
- checking whether CURLINFO_CONTENT_TYPE is declared... yes
- checking whether CURLINFO_REDIRECT_TIME is declared... yes
- checking whether CURLINFO_REDIRECT_COUNT is declared... yes
- checking whether CURLINFO_HTTP_CONNECTCODE is declared... yes
- checking whether CURLINFO_HTTPAUTH_AVAIL is declared... yes
- checking whether CURLINFO_PROXYAUTH_AVAIL is declared... yes
- checking whether CURLINFO_OS_ERRNO is declared... yes
- checking whether CURLINFO_NUM_CONNECTS is declared... yes
- checking whether CURLINFO_SSL_ENGINES is declared... yes
- checking whether CURLINFO_COOKIELIST is declared... yes
- checking whether CURLINFO_LASTSOCKET is declared... yes
- checking whether CURLINFO_ACTIVESOCKET is declared... 
- yes
- checking whether CURLINFO_FTP_ENTRY_PATH is declared... yes
- checking whether CURLINFO_REDIRECT_URL is declared... yes
- checking whether CURLINFO_PRIMARY_IP is declared... yes
- checking whether CURLINFO_LOCAL_IP is declared... yes
- checking whether CURLINFO_LOCAL_PORT is declared... yes
- checking whether CURLINFO_CONDITION_UNMET is declared... yes
- checking whether CURLINFO_CERTINFO is declared... yes
- checking whether CURLINFO_HTTP_VERSION is declared... yes
- checking whether CURLE_UNSUPPORTED_PROTOCOL is declared... yes
- checking whether CURLE_FAILED_INIT is declared... yes
- checking whether CURLE_URL_MALFORMAT is declared... yes
- checking whether CURLE_URL_MALFORMAT_USER is declared... yes
- checking whether CURLE_COULDNT_RESOLVE_PROXY is declared... yes
- checking whether CURLE_COULDNT_RESOLVE_HOST is declared... yes
- checking whether CURLE_COULDNT_CONNECT is declared... yes
- checking whether CURLE_FTP_WEIRD_SERVER_REPLY is declared... yes
- checking whether CURLE_FTP_ACCESS_DENIED is declared... 
- yes
- checking whether CURLE_FTP_USER_PASSWORD_INCORRECT is declared... yes
- checking whether CURLE_FTP_WEIRD_PASS_REPLY is declared... yes
- checking whether CURLE_FTP_WEIRD_USER_REPLY is declared... yes
- checking whether CURLE_FTP_WEIRD_PASV_REPLY is declared... yes
- checking whether CURLE_FTP_WEIRD_227_FORMAT is declared... yes
- checking whether CURLE_FTP_CANT_GET_HOST is declared... yes
- checking whether CURLE_FTP_CANT_RECONNECT is declared... yes
- checking whether CURLE_FTP_COULDNT_SET_BINARY is declared... yes
- checking whether CURLE_PARTIAL_FILE is declared... yes
- checking whether CURLE_FTP_COULDNT_RETR_FILE is declared... yes
- checking whether CURLE_FTP_WRITE_ERROR is declared... yes
- checking whether CURLE_FTP_QUOTE_ERROR is declared... yes
- checking whether CURLE_HTTP_RETURNED_ERROR is declared... yes
- checking whether CURLE_WRITE_ERROR is declared... yes
- checking whether CURLE_MALFORMAT_USER is declared... yes
- checking whether CURLE_FTP_COULDNT_STOR_FILE is declared... yes
- checking whether CURLE_READ_ERROR is declared... 
- yes
- checking whether CURLE_OUT_OF_MEMORY is declared... yes
- checking whether CURLE_OPERATION_TIMEOUTED is declared... yes
- checking whether CURLE_FTP_COULDNT_SET_ASCII is declared... yes
- checking whether CURLE_FTP_PORT_FAILED is declared... yes
- checking whether CURLE_FTP_COULDNT_USE_REST is declared... yes
- checking whether CURLE_FTP_COULDNT_GET_SIZE is declared... yes
- checking whether CURLE_HTTP_RANGE_ERROR is declared... yes
- checking whether CURLE_HTTP_POST_ERROR is declared... yes
- checking whether CURLE_SSL_CONNECT_ERROR is declared... yes
- checking whether CURLE_BAD_DOWNLOAD_RESUME is declared... yes
- checking whether CURLE_FILE_COULDNT_READ_FILE is declared... yes
- checking whether CURLE_LDAP_CANNOT_BIND is declared... yes
- checking whether CURLE_LDAP_SEARCH_FAILED is declared... yes
- checking whether CURLE_LIBRARY_NOT_FOUND is declared... yes
- checking whether CURLE_FUNCTION_NOT_FOUND is declared... yes
- checking whether CURLE_ABORTED_BY_CALLBACK is declared... 
- yes
- checking whether CURLE_BAD_FUNCTION_ARGUMENT is declared... yes
- checking whether CURLE_BAD_CALLING_ORDER is declared... yes
- checking whether CURLE_INTERFACE_FAILED is declared... yes
- checking whether CURLE_BAD_PASSWORD_ENTERED is declared... yes
- checking whether CURLE_TOO_MANY_REDIRECTS is declared... yes
- checking whether CURLE_UNKNOWN_TELNET_OPTION is declared... yes
- checking whether CURLE_TELNET_OPTION_SYNTAX is declared... yes
- checking whether CURLE_SSL_PEER_CERTIFICATE is declared... yes
- checking whether CURLE_GOT_NOTHING is declared... yes
- checking whether CURLE_SSL_ENGINE_NOTFOUND is declared... yes
- checking whether CURLE_SSL_ENGINE_SETFAILED is declared... yes
- checking whether CURLE_SEND_ERROR is declared... yes
- checking whether CURLE_RECV_ERROR is declared... yes
- checking whether CURLE_SHARE_IN_USE is declared... yes
- checking whether CURLE_SSL_CERTPROBLEM is declared... yes
- checking whether CURLE_SSL_CIPHER is declared... yes
- checking whether CURLE_SSL_CACERT is declared... 
- yes
- checking whether CURLE_BAD_CONTENT_ENCODING is declared... yes
- checking whether CURLE_LDAP_INVALID_URL is declared... yes
- checking whether CURLE_FILESIZE_EXCEEDED is declared... yes
- checking whether CURLE_FTP_SSL_FAILED is declared... yes
- checking whether CURLE_SEND_FAIL_REWIND is declared... yes
- checking whether CURLE_SSL_ENGINE_INITFAILED is declared... yes
- checking whether CURLE_LOGIN_DENIED is declared... yes
- checking whether CURLE_TFTP_NOTFOUND is declared... yes
- checking whether CURLE_TFTP_PERM is declared... yes
- checking whether CURLE_REMOTE_DISK_FULL is declared... yes
- checking whether CURLE_TFTP_ILLEGAL is declared... yes
- checking whether CURLE_TFTP_UNKNOWNID is declared... yes
- checking whether CURLE_REMOTE_FILE_EXISTS is declared... yes
- checking whether CURLE_TFTP_NOSUCHUSER is declared... yes
- checking whether CURLE_CONV_FAILED is declared... yes
- checking whether CURLE_CONV_REQD is declared... yes
- checking whether CURLE_SSL_CACERT_BADFILE is declared... 
- yes
- checking whether CURLE_REMOTE_FILE_NOT_FOUND is declared... yes
- checking whether CURLE_SSH is declared... yes
- checking whether CURLE_SSL_SHUTDOWN_FAILED is declared... yes
- checking whether CURLE_AGAIN is declared... yes
- checking whether CURLMOPT_MAXCONNECTS is declared... yes
- checking whether CURLMOPT_PIPELINING is declared... yes
- checking whether CURLMOPT_MAX_PIPELINE_LENGTH is declared... yes
- checking whether CURLMOPT_MAX_HOST_CONNECTIONS is declared... yes
- checking whether CURLMOPT_MAX_TOTAL_CONNECTIONS is declared... yes
- checking whether CURL_SSLVERSION_TLSv1_0 is declared... yes
- checking whether CURL_SSLVERSION_TLSv1_1 is declared... yes
- checking whether CURL_SSLVERSION_TLSv1_2 is declared... yes
- checking whether CURL_SSLVERSION_TLSv1_3 is declared... yes
- checking whether CURL_HTTP_VERSION_2 is declared... yes
- checking whether CURL_HTTP_VERSION_2_0 is declared... yes
- checking whether CURL_HTTP_VERSION_2TLS is declared... yes
- checking whether CURL_HTTP_VERSION_2_PRIOR_KNOWLEDGE is declared... 
- yes
- checking whether CURL_HTTP_VERSION_3 is declared... yes
- checking whether CURLSSLBACKEND_NONE is declared... yes
- checking whether CURLSSLBACKEND_OPENSSL is declared... yes
- checking whether CURLSSLBACKEND_GNUTLS is declared... yes
- checking whether CURLSSLBACKEND_NSS is declared... yes
- checking whether CURLSSLBACKEND_GSKIT is declared... yes
- checking whether CURLSSLBACKEND_WOLFSSL is declared... yes
- checking whether CURLSSLBACKEND_SCHANNEL is declared... yes
- checking whether CURLSSLBACKEND_SECURETRANSPORT is declared... yes
- checking whether CURLSSLBACKEND_MBEDTLS is declared... yes
- checking whether CURLSSLBACKEND_MESALINK is declared... yes
- checking whether CURLSSLBACKEND_BEARSSL is declared... yes
- checking whether CURLOPT_SSL_OPTIONS is declared... yes
- checking whether CURL_VERSION_TLSAUTH_SRP is declared... yes
- checking whether CURL_VERSION_NTLM_WB is declared... yes
- checking whether curl_multi_poll is declared... yes
- configure: creating ./config.status
- config.status: creating Makefile
- config.status: creating examples/Makefile
- config.status: creating config.h
Processing  2/4: [ocurl: make]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "make" (CWD=/home/opam/.opam/4.14/.opam-switch/build/ocurl.0.9.2)
- make[1]: Entering directory '/home/opam/.opam/4.14/.opam-switch/build/ocurl.0.9.2'
- make[1]: Leaving directory '/home/opam/.opam/4.14/.opam-switch/build/ocurl.0.9.2'
- make[1]: Entering directory '/home/opam/.opam/4.14/.opam-switch/build/ocurl.0.9.2'
- ocamlc.opt -c -g -bin-annot curl.mli -o curl.cmi
- ocamlc.opt -c -g -bin-annot curl.ml -o curl.cmo
- ocamlc.opt -c -ccopt "-g -O2  -DHAVE_CONFIG_H -Wall -Wundef" curl-helper.c
- curl-helper.c: In function 'removeConnection':
- curl-helper.c:727:9: warning: 'curl_formfree' is deprecated: since 7.56.0. Use curl_mime_free() [-Wdeprecated-declarations]
-   727 |         curl_formfree(connection->httpPostFirst);
-       |         ^~~~~~~~~~~~~
- In file included from curl-helper.c:23:
- /usr/include/x86_64-linux-gnu/curl/curl.h:2611:1: note: declared here
-  2611 | curl_formfree(struct curl_httppost *form);
-       | ^~~~~~~~~~~~~
- curl-helper.c: At top level:
- curl-helper.c:1316:3: warning: 'CURLSSLBACKEND_MESALINK' is deprecated: since 7.82.0.  [-Wdeprecated-declarations]
-  1316 |   CURLSSLBACKEND_MESALINK,
-       |   ^~~~~~~~~~~~~~~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:170:3: note: declared here
-   170 |   CURLSSLBACKEND_MESALINK               CURL_DEPRECATED(7.82.0, "") = 12,
-       |   ^~~~~~~~~~~~~~~~~~~~~~~
- In file included from curl-helper.c:26:
- curl-helper.c: In function 'handle_PROGRESSFUNCTION':
- /home/opam/.opam/4.14/lib/ocaml/caml/memory.h:344:10: warning: 'CURLOPT_PROGRESSFUNCTION' is deprecated: since 7.32.0. Use CURLOPT_XFERINFOFUNCTION [-Wdeprecated-declarations]
-   344 |   struct caml__roots_block caml__roots_##x; \
-       |          ^~~~~~~~~~~~~~~~~
- /home/opam/.opam/4.14/lib/ocaml/caml/memory.h:299:3: note: in expansion of macro 'CAMLxparam1'
-   299 |   CAMLxparam1 (x)
-       |   ^~~~~~~~~~~
- curl-helper.c:1549:5: note: in expansion of macro 'CAMLparam1'
-  1549 |     CAMLparam1(option); \
-       |     ^~~~~~~~~~
- curl-helper.c:1559:31: note: in expansion of macro 'SETOPT_FUNCTION_'
-  1559 | #define SETOPT_FUNCTION(name) SETOPT_FUNCTION_(name,FUNCTION)
-       |                               ^~~~~~~~~~~~~~~~
- curl-helper.c:1567:1: note: in expansion of macro 'SETOPT_FUNCTION'
-  1567 | SETOPT_FUNCTION( PROGRESS)
-       | ^~~~~~~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:1295:3: note: declared here
-  1295 |   CURLOPTDEPRECATED(CURLOPT_PROGRESSFUNCTION, CURLOPTTYPE_FUNCTIONPOINT, 56,
-       |   ^~~~~~~~~~~~~~~~~
- curl-helper.c: In function 'handle_IOCTLFUNCTION':
- /home/opam/.opam/4.14/lib/ocaml/caml/memory.h:344:10: warning: 'CURLOPT_IOCTLFUNCTION' is deprecated: since 7.18.0. Use CURLOPT_SEEKFUNCTION [-Wdeprecated-declarations]
-   344 |   struct caml__roots_block caml__roots_##x; \
-       |          ^~~~~~~~~~~~~~~~~
- /home/opam/.opam/4.14/lib/ocaml/caml/memory.h:299:3: note: in expansion of macro 'CAMLxparam1'
-   299 |   CAMLxparam1 (x)
-       |   ^~~~~~~~~~~
- curl-helper.c:1549:5: note: in expansion of macro 'CAMLparam1'
-  1549 |     CAMLparam1(option); \
-       |     ^~~~~~~~~~
- curl-helper.c:1559:31: note: in expansion of macro 'SETOPT_FUNCTION_'
-  1559 | #define SETOPT_FUNCTION(name) SETOPT_FUNCTION_(name,FUNCTION)
-       |                               ^~~~~~~~~~~~~~~~
- curl-helper.c:1577:1: note: in expansion of macro 'SETOPT_FUNCTION'
-  1577 | SETOPT_FUNCTION( IOCTL)
-       | ^~~~~~~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:1580:3: note: declared here
-  1580 |   CURLOPTDEPRECATED(CURLOPT_IOCTLFUNCTION, CURLOPTTYPE_FUNCTIONPOINT, 130,
-       |   ^~~~~~~~~~~~~~~~~
- /home/opam/.opam/4.14/lib/ocaml/caml/memory.h:344:10: warning: 'CURLOPT_IOCTLDATA' is deprecated: since 7.18.0. Use CURLOPT_SEEKDATA [-Wdeprecated-declarations]
-   344 |   struct caml__roots_block caml__roots_##x; \
-       |          ^~~~~~~~~~~~~~~~~
- /home/opam/.opam/4.14/lib/ocaml/caml/memory.h:299:3: note: in expansion of macro 'CAMLxparam1'
-   299 |   CAMLxparam1 (x)
-       |   ^~~~~~~~~~~
- curl-helper.c:1549:5: note: in expansion of macro 'CAMLparam1'
-  1549 |     CAMLparam1(option); \
-       |     ^~~~~~~~~~
- curl-helper.c:1559:31: note: in expansion of macro 'SETOPT_FUNCTION_'
-  1559 | #define SETOPT_FUNCTION(name) SETOPT_FUNCTION_(name,FUNCTION)
-       |                               ^~~~~~~~~~~~~~~~
- curl-helper.c:1577:1: note: in expansion of macro 'SETOPT_FUNCTION'
-  1577 | SETOPT_FUNCTION( IOCTL)
-       | ^~~~~~~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:1582:3: note: declared here
-  1582 |   CURLOPTDEPRECATED(CURLOPT_IOCTLDATA, CURLOPTTYPE_CBPOINT, 131,
-       |   ^~~~~~~~~~~~~~~~~
- curl-helper.c: In function 'handle_PUT':
- /home/opam/.opam/4.14/lib/ocaml/caml/memory.h:344:10: warning: 'CURLOPT_PUT' is deprecated: since 7.12.1. Use CURLOPT_UPLOAD [-Wdeprecated-declarations]
-   344 |   struct caml__roots_block caml__roots_##x; \
-       |          ^~~~~~~~~~~~~~~~~
- /home/opam/.opam/4.14/lib/ocaml/caml/memory.h:299:3: note: in expansion of macro 'CAMLxparam1'
-   299 |   CAMLxparam1 (x)
-       |   ^~~~~~~~~~~
- curl-helper.c:1643:5: note: in expansion of macro 'CAMLparam1'
-  1643 |     CAMLparam1(option); \
-       |     ^~~~~~~~~~
- curl-helper.c:1654:32: note: in expansion of macro 'SETOPT_VAL_'
-  1654 | #define SETOPT_VAL(name, conv) SETOPT_VAL_(handle_##name, CURLOPT_##name, conv)
-       |                                ^~~~~~~~~~~
- curl-helper.c:1655:27: note: in expansion of macro 'SETOPT_VAL'
-  1655 | #define SETOPT_BOOL(name) SETOPT_VAL(name, Bool_val)
-       |                           ^~~~~~~~~~
- curl-helper.c:1924:1: note: in expansion of macro 'SETOPT_BOOL'
-  1924 | SETOPT_BOOL( PUT)
-       | ^~~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:1286:3: note: declared here
-  1286 |   CURLOPTDEPRECATED(CURLOPT_PUT, CURLOPTTYPE_LONG, 54,
-       |   ^~~~~~~~~~~~~~~~~
- curl-helper.c: In function 'handle_HTTPPOST':
- curl-helper.c:2043:9: warning: 'curl_formfree' is deprecated: since 7.56.0. Use curl_mime_free() [-Wdeprecated-declarations]
-  2043 |         curl_formfree(conn->httpPostFirst);
-       |         ^~~~~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:2611:1: note: declared here
-  2611 | curl_formfree(struct curl_httppost *form);
-       | ^~~~~~~~~~~~~
- curl-helper.c:2064:17: warning: 'curl_formadd' is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations]
-  2064 |                 curl_formadd(&conn->httpPostFirst,
-       |                 ^~~~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:2575:1: note: declared here
-  2575 | curl_formadd(struct curl_httppost **httppost,
-       | ^~~~~~~~~~~~
- curl-helper.c:2066:30: warning: 'CURLFORM_COPYNAME' is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations]
-  2066 |                              CURLFORM_COPYNAME,
-       |                              ^~~~~~~~~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:2500:3: note: declared here
-  2500 |   CURLFORM_COPYNAME        CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"),
-       |   ^~~~~~~~~~~~~~~~~
- curl-helper.c:2068:30: warning: 'CURLFORM_NAMELENGTH' is deprecated: since 7.56.0.  [-Wdeprecated-declarations]
-  2068 |                              CURLFORM_NAMELENGTH,
-       |                              ^~~~~~~~~~~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:2502:3: note: declared here
-  2502 |   CURLFORM_NAMELENGTH      CURL_DEPRECATED(7.56.0, ""),
-       |   ^~~~~~~~~~~~~~~~~~~
- curl-helper.c:2070:30: warning: 'CURLFORM_COPYCONTENTS' is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations]
-  2070 |                              CURLFORM_COPYCONTENTS,
-       |                              ^~~~~~~~~~~~~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:2503:3: note: declared here
-  2503 |   CURLFORM_COPYCONTENTS    CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"),
-       |   ^~~~~~~~~~~~~~~~~~~~~
- curl-helper.c:2072:30: warning: 'CURLFORM_CONTENTSLENGTH' is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations]
-  2072 |                              CURLFORM_CONTENTSLENGTH,
-       |                              ^~~~~~~~~~~~~~~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:2505:3: note: declared here
-  2505 |   CURLFORM_CONTENTSLENGTH  CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"),
-       |   ^~~~~~~~~~~~~~~~~~~~~~~
- curl-helper.c:2080:17: warning: 'curl_formadd' is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations]
-  2080 |                 curl_formadd(&conn->httpPostFirst,
-       |                 ^~~~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:2575:1: note: declared here
-  2575 | curl_formadd(struct curl_httppost **httppost,
-       | ^~~~~~~~~~~~
- curl-helper.c:2082:30: warning: 'CURLFORM_COPYNAME' is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations]
-  2082 |                              CURLFORM_COPYNAME,
-       |                              ^~~~~~~~~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:2500:3: note: declared here
-  2500 |   CURLFORM_COPYNAME        CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"),
-       |   ^~~~~~~~~~~~~~~~~
- curl-helper.c:2084:30: warning: 'CURLFORM_NAMELENGTH' is deprecated: since 7.56.0.  [-Wdeprecated-declarations]
-  2084 |                              CURLFORM_NAMELENGTH,
-       |                              ^~~~~~~~~~~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:2502:3: note: declared here
-  2502 |   CURLFORM_NAMELENGTH      CURL_DEPRECATED(7.56.0, ""),
-       |   ^~~~~~~~~~~~~~~~~~~
- curl-helper.c:2086:30: warning: 'CURLFORM_COPYCONTENTS' is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations]
-  2086 |                              CURLFORM_COPYCONTENTS,
-       |                              ^~~~~~~~~~~~~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:2503:3: note: declared here
-  2503 |   CURLFORM_COPYCONTENTS    CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"),
-       |   ^~~~~~~~~~~~~~~~~~~~~
- curl-helper.c:2088:30: warning: 'CURLFORM_CONTENTSLENGTH' is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations]
-  2088 |                              CURLFORM_CONTENTSLENGTH,
-       |                              ^~~~~~~~~~~~~~~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:2505:3: note: declared here
-  2505 |   CURLFORM_CONTENTSLENGTH  CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"),
-       |   ^~~~~~~~~~~~~~~~~~~~~~~
- curl-helper.c:2090:30: warning: 'CURLFORM_CONTENTTYPE' is deprecated: since 7.56.0. Use curl_mime_type() [-Wdeprecated-declarations]
-  2090 |                              CURLFORM_CONTENTTYPE,
-       |                              ^~~~~~~~~~~~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:2515:3: note: declared here
-  2515 |   CURLFORM_CONTENTTYPE     CURL_DEPRECATED(7.56.0, "Use curl_mime_type()"),
-       |   ^~~~~~~~~~~~~~~~~~~~
- curl-helper.c:2109:17: warning: 'curl_formadd' is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations]
-  2109 |                 curl_formadd(&conn->httpPostFirst,
-       |                 ^~~~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:2575:1: note: declared here
-  2575 | curl_formadd(struct curl_httppost **httppost,
-       | ^~~~~~~~~~~~
- curl-helper.c:2111:30: warning: 'CURLFORM_COPYNAME' is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations]
-  2111 |                              CURLFORM_COPYNAME,
-       |                              ^~~~~~~~~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:2500:3: note: declared here
-  2500 |   CURLFORM_COPYNAME        CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"),
-       |   ^~~~~~~~~~~~~~~~~
- curl-helper.c:2113:30: warning: 'CURLFORM_NAMELENGTH' is deprecated: since 7.56.0.  [-Wdeprecated-declarations]
-  2113 |                              CURLFORM_NAMELENGTH,
-       |                              ^~~~~~~~~~~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:2502:3: note: declared here
-  2502 |   CURLFORM_NAMELENGTH      CURL_DEPRECATED(7.56.0, ""),
-       |   ^~~~~~~~~~~~~~~~~~~
- curl-helper.c:2115:30: warning: 'CURLFORM_FILECONTENT' is deprecated: since 7.56.0. Use curl_mime_data_cb() [-Wdeprecated-declarations]
-  2115 |                              CURLFORM_FILECONTENT,
-       |                              ^~~~~~~~~~~~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:2506:3: note: declared here
-  2506 |   CURLFORM_FILECONTENT     CURL_DEPRECATED(7.56.0, "Use curl_mime_data_cb()"),
-       |   ^~~~~~~~~~~~~~~~~~~~
- curl-helper.c:2123:17: warning: 'curl_formadd' is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations]
-  2123 |                 curl_formadd(&conn->httpPostFirst,
-       |                 ^~~~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:2575:1: note: declared here
-  2575 | curl_formadd(struct curl_httppost **httppost,
-       | ^~~~~~~~~~~~
- curl-helper.c:2125:30: warning: 'CURLFORM_COPYNAME' is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations]
-  2125 |                              CURLFORM_COPYNAME,
-       |                              ^~~~~~~~~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:2500:3: note: declared here
-  2500 |   CURLFORM_COPYNAME        CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"),
-       |   ^~~~~~~~~~~~~~~~~
- curl-helper.c:2127:30: warning: 'CURLFORM_NAMELENGTH' is deprecated: since 7.56.0.  [-Wdeprecated-declarations]
-  2127 |                              CURLFORM_NAMELENGTH,
-       |                              ^~~~~~~~~~~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:2502:3: note: declared here
-  2502 |   CURLFORM_NAMELENGTH      CURL_DEPRECATED(7.56.0, ""),
-       |   ^~~~~~~~~~~~~~~~~~~
- curl-helper.c:2129:30: warning: 'CURLFORM_FILECONTENT' is deprecated: since 7.56.0. Use curl_mime_data_cb() [-Wdeprecated-declarations]
-  2129 |                              CURLFORM_FILECONTENT,
-       |                              ^~~~~~~~~~~~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:2506:3: note: declared here
-  2506 |   CURLFORM_FILECONTENT     CURL_DEPRECATED(7.56.0, "Use curl_mime_data_cb()"),
-       |   ^~~~~~~~~~~~~~~~~~~~
- curl-helper.c:2131:30: warning: 'CURLFORM_CONTENTTYPE' is deprecated: since 7.56.0. Use curl_mime_type() [-Wdeprecated-declarations]
-  2131 |                              CURLFORM_CONTENTTYPE,
-       |                              ^~~~~~~~~~~~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:2515:3: note: declared here
-  2515 |   CURLFORM_CONTENTTYPE     CURL_DEPRECATED(7.56.0, "Use curl_mime_type()"),
-       |   ^~~~~~~~~~~~~~~~~~~~
- curl-helper.c:2150:17: warning: 'curl_formadd' is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations]
-  2150 |                 curl_formadd(&conn->httpPostFirst,
-       |                 ^~~~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:2575:1: note: declared here
-  2575 | curl_formadd(struct curl_httppost **httppost,
-       | ^~~~~~~~~~~~
- curl-helper.c:2152:30: warning: 'CURLFORM_COPYNAME' is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations]
-  2152 |                              CURLFORM_COPYNAME,
-       |                              ^~~~~~~~~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:2500:3: note: declared here
-  2500 |   CURLFORM_COPYNAME        CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"),
-       |   ^~~~~~~~~~~~~~~~~
- curl-helper.c:2154:30: warning: 'CURLFORM_NAMELENGTH' is deprecated: since 7.56.0.  [-Wdeprecated-declarations]
-  2154 |                              CURLFORM_NAMELENGTH,
-       |                              ^~~~~~~~~~~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:2502:3: note: declared here
-  2502 |   CURLFORM_NAMELENGTH      CURL_DEPRECATED(7.56.0, ""),
-       |   ^~~~~~~~~~~~~~~~~~~
- curl-helper.c:2156:30: warning: 'CURLFORM_FILE' is deprecated: since 7.56.0. Use curl_mime_filedata() [-Wdeprecated-declarations]
-  2156 |                              CURLFORM_FILE,
-       |                              ^~~~~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:2509:3: note: declared here
-  2509 |   CURLFORM_FILE            CURL_DEPRECATED(7.56.0, "Use curl_mime_filedata()"),
-       |   ^~~~~~~~~~~~~
- curl-helper.c:2164:17: warning: 'curl_formadd' is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations]
-  2164 |                 curl_formadd(&conn->httpPostFirst,
-       |                 ^~~~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:2575:1: note: declared here
-  2575 | curl_formadd(struct curl_httppost **httppost,
-       | ^~~~~~~~~~~~
- curl-helper.c:2166:30: warning: 'CURLFORM_COPYNAME' is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations]
-  2166 |                              CURLFORM_COPYNAME,
-       |                              ^~~~~~~~~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:2500:3: note: declared here
-  2500 |   CURLFORM_COPYNAME        CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"),
-       |   ^~~~~~~~~~~~~~~~~
- curl-helper.c:2168:30: warning: 'CURLFORM_NAMELENGTH' is deprecated: since 7.56.0.  [-Wdeprecated-declarations]
-  2168 |                              CURLFORM_NAMELENGTH,
-       |                              ^~~~~~~~~~~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:2502:3: note: declared here
-  2502 |   CURLFORM_NAMELENGTH      CURL_DEPRECATED(7.56.0, ""),
-       |   ^~~~~~~~~~~~~~~~~~~
- curl-helper.c:2170:30: warning: 'CURLFORM_FILE' is deprecated: since 7.56.0. Use curl_mime_filedata() [-Wdeprecated-declarations]
-  2170 |                              CURLFORM_FILE,
-       |                              ^~~~~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:2509:3: note: declared here
-  2509 |   CURLFORM_FILE            CURL_DEPRECATED(7.56.0, "Use curl_mime_filedata()"),
-       |   ^~~~~~~~~~~~~
- curl-helper.c:2172:30: warning: 'CURLFORM_CONTENTTYPE' is deprecated: since 7.56.0. Use curl_mime_type() [-Wdeprecated-declarations]
-  2172 |                              CURLFORM_CONTENTTYPE,
-       |                              ^~~~~~~~~~~~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:2515:3: note: declared here
-  2515 |   CURLFORM_CONTENTTYPE     CURL_DEPRECATED(7.56.0, "Use curl_mime_type()"),
-       |   ^~~~~~~~~~~~~~~~~~~~
- curl-helper.c:2193:17: warning: 'curl_formadd' is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations]
-  2193 |                 curl_formadd(&conn->httpPostFirst,
-       |                 ^~~~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:2575:1: note: declared here
-  2575 | curl_formadd(struct curl_httppost **httppost,
-       | ^~~~~~~~~~~~
- curl-helper.c:2195:30: warning: 'CURLFORM_COPYNAME' is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations]
-  2195 |                              CURLFORM_COPYNAME,
-       |                              ^~~~~~~~~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:2500:3: note: declared here
-  2500 |   CURLFORM_COPYNAME        CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"),
-       |   ^~~~~~~~~~~~~~~~~
- curl-helper.c:2197:30: warning: 'CURLFORM_NAMELENGTH' is deprecated: since 7.56.0.  [-Wdeprecated-declarations]
-  2197 |                              CURLFORM_NAMELENGTH,
-       |                              ^~~~~~~~~~~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:2502:3: note: declared here
-  2502 |   CURLFORM_NAMELENGTH      CURL_DEPRECATED(7.56.0, ""),
-       |   ^~~~~~~~~~~~~~~~~~~
- curl-helper.c:2199:30: warning: 'CURLFORM_BUFFER' is deprecated: since 7.56.0. Use curl_mime_filename() [-Wdeprecated-declarations]
-  2199 |                              CURLFORM_BUFFER,
-       |                              ^~~~~~~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:2511:3: note: declared here
-  2511 |   CURLFORM_BUFFER          CURL_DEPRECATED(7.56.0, "Use curl_mime_filename()"),
-       |   ^~~~~~~~~~~~~~~
- curl-helper.c:2201:30: warning: 'CURLFORM_BUFFERPTR' is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations]
-  2201 |                              CURLFORM_BUFFERPTR,
-       |                              ^~~~~~~~~~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:2512:3: note: declared here
-  2512 |   CURLFORM_BUFFERPTR       CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"),
-       |   ^~~~~~~~~~~~~~~~~~
- curl-helper.c:2203:30: warning: 'CURLFORM_BUFFERLENGTH' is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations]
-  2203 |                              CURLFORM_BUFFERLENGTH,
-       |                              ^~~~~~~~~~~~~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:2513:3: note: declared here
-  2513 |   CURLFORM_BUFFERLENGTH    CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"),
-       |   ^~~~~~~~~~~~~~~~~~~~~
- curl-helper.c:2213:17: warning: 'curl_formadd' is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations]
-  2213 |                 curl_formadd(&conn->httpPostFirst,
-       |                 ^~~~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:2575:1: note: declared here
-  2575 | curl_formadd(struct curl_httppost **httppost,
-       | ^~~~~~~~~~~~
- curl-helper.c:2215:30: warning: 'CURLFORM_COPYNAME' is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations]
-  2215 |                              CURLFORM_COPYNAME,
-       |                              ^~~~~~~~~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:2500:3: note: declared here
-  2500 |   CURLFORM_COPYNAME        CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"),
-       |   ^~~~~~~~~~~~~~~~~
- curl-helper.c:2217:30: warning: 'CURLFORM_NAMELENGTH' is deprecated: since 7.56.0.  [-Wdeprecated-declarations]
-  2217 |                              CURLFORM_NAMELENGTH,
-       |                              ^~~~~~~~~~~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:2502:3: note: declared here
-  2502 |   CURLFORM_NAMELENGTH      CURL_DEPRECATED(7.56.0, ""),
-       |   ^~~~~~~~~~~~~~~~~~~
- curl-helper.c:2219:30: warning: 'CURLFORM_BUFFER' is deprecated: since 7.56.0. Use curl_mime_filename() [-Wdeprecated-declarations]
-  2219 |                              CURLFORM_BUFFER,
-       |                              ^~~~~~~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:2511:3: note: declared here
-  2511 |   CURLFORM_BUFFER          CURL_DEPRECATED(7.56.0, "Use curl_mime_filename()"),
-       |   ^~~~~~~~~~~~~~~
- curl-helper.c:2221:30: warning: 'CURLFORM_BUFFERPTR' is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations]
-  2221 |                              CURLFORM_BUFFERPTR,
-       |                              ^~~~~~~~~~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:2512:3: note: declared here
-  2512 |   CURLFORM_BUFFERPTR       CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"),
-       |   ^~~~~~~~~~~~~~~~~~
- curl-helper.c:2223:30: warning: 'CURLFORM_BUFFERLENGTH' is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations]
-  2223 |                              CURLFORM_BUFFERLENGTH,
-       |                              ^~~~~~~~~~~~~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:2513:3: note: declared here
-  2513 |   CURLFORM_BUFFERLENGTH    CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"),
-       |   ^~~~~~~~~~~~~~~~~~~~~
- curl-helper.c:2225:30: warning: 'CURLFORM_CONTENTTYPE' is deprecated: since 7.56.0. Use curl_mime_type() [-Wdeprecated-declarations]
-  2225 |                              CURLFORM_CONTENTTYPE,
-       |                              ^~~~~~~~~~~~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:2515:3: note: declared here
-  2515 |   CURLFORM_CONTENTTYPE     CURL_DEPRECATED(7.56.0, "Use curl_mime_type()"),
-       |   ^~~~~~~~~~~~~~~~~~~~
- curl-helper.c:2239:5: warning: 'CURLOPT_HTTPPOST' is deprecated: since 7.56.0. Use CURLOPT_MIMEPOST [-Wdeprecated-declarations]
-  2239 |     result = curl_easy_setopt(conn->handle,
-       |     ^~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:1195:3: note: declared here
-  1195 |   CURLOPTDEPRECATED(CURLOPT_HTTPPOST, CURLOPTTYPE_OBJECTPOINT, 24,
-       |   ^~~~~~~~~~~~~~~~~
- curl-helper.c: In function 'handle_RANDOM_FILE':
- /home/opam/.opam/4.14/lib/ocaml/caml/memory.h:344:10: warning: 'CURLOPT_RANDOM_FILE' is deprecated: since 7.84.0. Serves no purpose anymore [-Wdeprecated-declarations]
-   344 |   struct caml__roots_block caml__roots_##x; \
-       |          ^~~~~~~~~~~~~~~~~
- /home/opam/.opam/4.14/lib/ocaml/caml/memory.h:299:3: note: in expansion of macro 'CAMLxparam1'
-   299 |   CAMLxparam1 (x)
-       |   ^~~~~~~~~~~
- curl-helper.c:1629:5: note: in expansion of macro 'CAMLparam1'
-  1629 |     CAMLparam1(option); \
-       |     ^~~~~~~~~~
- curl-helper.c:2428:1: note: in expansion of macro 'SETOPT_STRING'
-  2428 | SETOPT_STRING( RANDOM_FILE)
-       | ^~~~~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:1364:3: note: declared here
-  1364 |   CURLOPTDEPRECATED(CURLOPT_RANDOM_FILE, CURLOPTTYPE_STRINGPOINT, 76,
-       |   ^~~~~~~~~~~~~~~~~
- curl-helper.c: In function 'handle_EGDSOCKET':
- /home/opam/.opam/4.14/lib/ocaml/caml/memory.h:344:10: warning: 'CURLOPT_EGDSOCKET' is deprecated: since 7.84.0. Serves no purpose anymore [-Wdeprecated-declarations]
-   344 |   struct caml__roots_block caml__roots_##x; \
-       |          ^~~~~~~~~~~~~~~~~
- /home/opam/.opam/4.14/lib/ocaml/caml/memory.h:299:3: note: in expansion of macro 'CAMLxparam1'
-   299 |   CAMLxparam1 (x)
-       |   ^~~~~~~~~~~
- curl-helper.c:1629:5: note: in expansion of macro 'CAMLparam1'
-  1629 |     CAMLparam1(option); \
-       |     ^~~~~~~~~~
- curl-helper.c:2429:1: note: in expansion of macro 'SETOPT_STRING'
-  2429 | SETOPT_STRING( EGDSOCKET)
-       | ^~~~~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:1368:3: note: declared here
-  1368 |   CURLOPTDEPRECATED(CURLOPT_EGDSOCKET, CURLOPTTYPE_STRINGPOINT, 77,
-       |   ^~~~~~~~~~~~~~~~~
- curl-helper.c: In function 'handle_DNS_USE_GLOBAL_CACHE':
- /home/opam/.opam/4.14/lib/ocaml/caml/memory.h:344:10: warning: 'CURLOPT_DNS_USE_GLOBAL_CACHE' is deprecated: since 7.11.1. Use CURLOPT_SHARE [-Wdeprecated-declarations]
-   344 |   struct caml__roots_block caml__roots_##x; \
-       |          ^~~~~~~~~~~~~~~~~
- /home/opam/.opam/4.14/lib/ocaml/caml/memory.h:299:3: note: in expansion of macro 'CAMLxparam1'
-   299 |   CAMLxparam1 (x)
-       |   ^~~~~~~~~~~
- curl-helper.c:1643:5: note: in expansion of macro 'CAMLparam1'
-  1643 |     CAMLparam1(option); \
-       |     ^~~~~~~~~~
- curl-helper.c:1654:32: note: in expansion of macro 'SETOPT_VAL_'
-  1654 | #define SETOPT_VAL(name, conv) SETOPT_VAL_(handle_##name, CURLOPT_##name, conv)
-       |                                ^~~~~~~~~~~
- curl-helper.c:1655:27: note: in expansion of macro 'SETOPT_VAL'
-  1655 | #define SETOPT_BOOL(name) SETOPT_VAL(name, Bool_val)
-       |                           ^~~~~~~~~~
- curl-helper.c:2539:1: note: in expansion of macro 'SETOPT_BOOL'
-  2539 | SETOPT_BOOL( DNS_USE_GLOBAL_CACHE)
-       | ^~~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:1424:3: note: declared here
-  1424 |   CURLOPTDEPRECATED(CURLOPT_DNS_USE_GLOBAL_CACHE, CURLOPTTYPE_LONG, 91,
-       |   ^~~~~~~~~~~~~~~~~
- curl-helper.c: In function 'handle_PROTOCOLS':
- curl-helper.c:3193:3: warning: 'CURLOPT_PROTOCOLS' is deprecated: since 7.85.0. Use CURLOPT_PROTOCOLS_STR [-Wdeprecated-declarations]
-  3193 |   handle_PROTOCOLSOPTION(CURLOPT_PROTOCOLS, conn, option);
-       |   ^~~~~~~~~~~~~~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:1749:3: note: declared here
-  1749 |   CURLOPTDEPRECATED(CURLOPT_PROTOCOLS, CURLOPTTYPE_LONG, 181,
-       |   ^~~~~~~~~~~~~~~~~
- curl-helper.c: In function 'handle_REDIR_PROTOCOLS':
- curl-helper.c:3200:3: warning: 'CURLOPT_REDIR_PROTOCOLS' is deprecated: since 7.85.0. Use CURLOPT_REDIR_PROTOCOLS_STR [-Wdeprecated-declarations]
-  3200 |   handle_PROTOCOLSOPTION(CURLOPT_REDIR_PROTOCOLS, conn, option);
-       |   ^~~~~~~~~~~~~~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:1755:3: note: declared here
-  1755 |   CURLOPTDEPRECATED(CURLOPT_REDIR_PROTOCOLS, CURLOPTTYPE_LONG, 182,
-       |   ^~~~~~~~~~~~~~~~~
- curl-helper.c: In function 'caml_curl_easy_getinfo':
- curl-helper.c:3927:9: warning: 'CURLINFO_SIZE_UPLOAD' is deprecated: since 7.55.0. Use CURLINFO_SIZE_UPLOAD_T [-Wdeprecated-declarations]
-  3927 |         curlResult = curl_easy_getinfo(connection->handle,
-       |         ^~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:2838:3: note: declared here
-  2838 |   CURLINFO_SIZE_UPLOAD CURL_DEPRECATED(7.55.0, "Use CURLINFO_SIZE_UPLOAD_T")
-       |   ^~~~~~~~~~~~~~~~~~~~
- curl-helper.c:3937:9: warning: 'CURLINFO_SIZE_DOWNLOAD' is deprecated: since 7.55.0. Use CURLINFO_SIZE_DOWNLOAD_T [-Wdeprecated-declarations]
-  3937 |         curlResult = curl_easy_getinfo(connection->handle,
-       |         ^~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:2841:3: note: declared here
-  2841 |   CURLINFO_SIZE_DOWNLOAD
-       |   ^~~~~~~~~~~~~~~~~~~~~~
- curl-helper.c:3947:9: warning: 'CURLINFO_SPEED_DOWNLOAD' is deprecated: since 7.55.0. Use CURLINFO_SPEED_DOWNLOAD_T [-Wdeprecated-declarations]
-  3947 |         curlResult = curl_easy_getinfo(connection->handle,
-       |         ^~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:2845:3: note: declared here
-  2845 |   CURLINFO_SPEED_DOWNLOAD
-       |   ^~~~~~~~~~~~~~~~~~~~~~~
- curl-helper.c:3957:9: warning: 'CURLINFO_SPEED_UPLOAD' is deprecated: since 7.55.0. Use CURLINFO_SPEED_UPLOAD_T [-Wdeprecated-declarations]
-  3957 |         curlResult = curl_easy_getinfo(connection->handle,
-       |         ^~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:2849:3: note: declared here
-  2849 |   CURLINFO_SPEED_UPLOAD
-       |   ^~~~~~~~~~~~~~~~~~~~~
- curl-helper.c:4010:9: warning: 'CURLINFO_CONTENT_LENGTH_DOWNLOAD' is deprecated: since 7.55.0. Use CURLINFO_CONTENT_LENGTH_DOWNLOAD_T [-Wdeprecated-declarations]
-  4010 |         curlResult = curl_easy_getinfo(connection->handle,
-       |         ^~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:2858:3: note: declared here
-  2858 |   CURLINFO_CONTENT_LENGTH_DOWNLOAD
-       |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- curl-helper.c:4020:9: warning: 'CURLINFO_CONTENT_LENGTH_UPLOAD' is deprecated: since 7.55.0. Use CURLINFO_CONTENT_LENGTH_UPLOAD_T [-Wdeprecated-declarations]
-  4020 |         curlResult = curl_easy_getinfo(connection->handle,
-       |         ^~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:2863:3: note: declared here
-  2863 |   CURLINFO_CONTENT_LENGTH_UPLOAD
-       |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- curl-helper.c:4147:9: warning: 'CURLINFO_LASTSOCKET' is deprecated: since 7.45.0. Use CURLINFO_ACTIVESOCKET [-Wdeprecated-declarations]
-  4147 |         curlResult = curl_easy_getinfo(connection->handle,
-       |         ^~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:2880:3: note: declared here
-  2880 |   CURLINFO_LASTSOCKET  CURL_DEPRECATED(7.45.0, "Use CURLINFO_ACTIVESOCKET")
-       |   ^~~~~~~~~~~~~~~~~~~
- curl-helper.c: In function 'caml_curl_multi_socket_all':
- curl-helper.c:4838:5: warning: 'curl_multi_socket_all' is deprecated: since 7.19.5. Use curl_multi_socket_action() [-Wdeprecated-declarations]
-  4838 |     rc = curl_multi_socket_all(h, &still_running);
-       |     ^~
- In file included from /usr/include/x86_64-linux-gnu/curl/curl.h:3191:
- /usr/include/x86_64-linux-gnu/curl/multi.h:330:1: note: declared here
-   330 | curl_multi_socket_all(CURLM *multi_handle, int *running_handles);
-       | ^~~~~~~~~~~~~~~~~~~~~
- ocamlmklib -oc curl-helper curl-helper.o -lcurl
- ocamlmklib -o curl curl.cmo -oc curl-helper -lcurl
- make[1]: 'libcurl-helper.a' is up to date.
- make[1]: 'dllcurl-helper.so' is up to date.
- ocamlopt.opt -c -g -bin-annot curl.ml -o curl.cmx
- ocamlmklib -o curl curl.cmx -oc curl-helper -lcurl
- make[1]: 'curl.cmx' is up to date.
- ocamlopt.opt -shared -linkall -I . curl.cmxa -o curl.cmxs
- make[1]: Leaving directory '/home/opam/.opam/4.14/.opam-switch/build/ocurl.0.9.2'
Processing  2/4: [ocurl: make test]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "make" "test" (CWD=/home/opam/.opam/4.14/.opam-switch/build/ocurl.0.9.2)
- make[1]: Entering directory '/home/opam/.opam/4.14/.opam-switch/build/ocurl.0.9.2'
- make[1]: Leaving directory '/home/opam/.opam/4.14/.opam-switch/build/ocurl.0.9.2'
- make[1]: Entering directory '/home/opam/.opam/4.14/.opam-switch/build/ocurl.0.9.2'
- make[1]: 'curl.cma' is up to date.
- make[1]: 'libcurl-helper.a' is up to date.
- make[1]: 'dllcurl-helper.so' is up to date.
- make[1]: 'curl.cmxa' is up to date.
- make[1]: 'curl.cmx' is up to date.
- make[1]: 'curl.cmxs' is up to date.
- make[1]: Leaving directory '/home/opam/.opam/4.14/.opam-switch/build/ocurl.0.9.2'
- (cd examples; make)
- make[1]: Entering directory '/home/opam/.opam/4.14/.opam-switch/build/ocurl.0.9.2/examples'
- ocamlc.opt -thread -c -g -I .. ocurl.ml -o ocurl.cmo
- ocamlc.opt -thread -custom -g -I .. -ccopt -L.. curl.cma unix.cma threads.cma ocurl.cmo -o ocurl
- ocamlc.opt -thread -c -g -I .. ominimal.ml -o ominimal.cmo
- ocamlc.opt -thread -custom -g -I .. -ccopt -L.. curl.cma unix.cma threads.cma ominimal.cmo -o ominimal
- ocamlc.opt -thread -c -g -I .. ossl.ml -o ossl.cmo
- ocamlc.opt -thread -custom -g -I .. -ccopt -L.. curl.cma unix.cma threads.cma ossl.cmo -o ossl
- ocamlc.opt -thread -c -g -I .. ocurl_test_threads.ml -o ocurl_test_threads.cmo
- ocamlc.opt -thread -custom -g -I .. -ccopt -L.. curl.cma unix.cma threads.cma ocurl_test_threads.cmo -o ocurl_test_threads
- ocamlc.opt -thread -c -g -I .. opar.ml -o opar.cmo
- ocamlc.opt -thread -custom -g -I .. -ccopt -L.. curl.cma unix.cma threads.cma opar.cmo -o opar
- ocamlc.opt -thread -c -g -I .. test_cb_exn.ml -o test_cb_exn.cmo
- ocamlc.opt -thread -custom -g -I .. -ccopt -L.. curl.cma unix.cma threads.cma test_cb_exn.cmo -o test_cb_exn
- ocamlc.opt -thread -c -g -I .. test_memory_leaks.ml -o test_memory_leaks.cmo
- ocamlc.opt -thread -custom -g -I .. -ccopt -L.. curl.cma unix.cma threads.cma test_memory_leaks.cmo -o test_memory_leaks
- ocamlc.opt -thread -c -g -I .. test_enum.ml -o test_enum.cmo
- ocamlc.opt -thread -custom -g -I .. -ccopt -L.. curl.cma unix.cma threads.cma test_enum.cmo -o test_enum
- ocamlfind c -custom -package bytes,unix -linkpkg -g -I .. -ccopt -L.. ../curl.cma oput.ml -o oput
- ocamlopt.opt -thread -c -g -I .. ocurl.ml -o ocurl.cmx
- ocamlopt.opt -thread -g -I .. -ccopt -L.. curl.cmxa unix.cmxa threads.cmxa ocurl.cmx -o ocurl.opt
- ocamlopt.opt -thread -c -g -I .. ominimal.ml -o ominimal.cmx
- ocamlopt.opt -thread -g -I .. -ccopt -L.. curl.cmxa unix.cmxa threads.cmxa ominimal.cmx -o ominimal.opt
- ocamlopt.opt -thread -c -g -I .. ossl.ml -o ossl.cmx
- ocamlopt.opt -thread -g -I .. -ccopt -L.. curl.cmxa unix.cmxa threads.cmxa ossl.cmx -o ossl.opt
- ocamlopt.opt -thread -c -g -I .. ocurl_test_threads.ml -o ocurl_test_threads.cmx
- ocamlopt.opt -thread -g -I .. -ccopt -L.. curl.cmxa unix.cmxa threads.cmxa ocurl_test_threads.cmx -o ocurl_test_threads.opt
- ocamlopt.opt -thread -c -g -I .. opar.ml -o opar.cmx
- ocamlopt.opt -thread -g -I .. -ccopt -L.. curl.cmxa unix.cmxa threads.cmxa opar.cmx -o opar.opt
- ocamlopt.opt -thread -c -g -I .. test_cb_exn.ml -o test_cb_exn.cmx
- ocamlopt.opt -thread -g -I .. -ccopt -L.. curl.cmxa unix.cmxa threads.cmxa test_cb_exn.cmx -o test_cb_exn.opt
- ocamlopt.opt -thread -c -g -I .. test_memory_leaks.ml -o test_memory_leaks.cmx
- ocamlopt.opt -thread -g -I .. -ccopt -L.. curl.cmxa unix.cmxa threads.cmxa test_memory_leaks.cmx -o test_memory_leaks.opt
- ocamlopt.opt -thread -c -g -I .. test_enum.ml -o test_enum.cmx
- ocamlopt.opt -thread -g -I .. -ccopt -L.. curl.cmxa unix.cmxa threads.cmxa test_enum.cmx -o test_enum.opt
- ocamlfind opt -package bytes,unix -linkpkg -g -I .. -ccopt -L.. ../curl.cmxa oput.ml -o oput.opt
- make[1]: Leaving directory '/home/opam/.opam/4.14/.opam-switch/build/ocurl.0.9.2/examples'
- examples/test_cb_exn
- E: wrong error: CURLE_COULDNT_RESOLVE_HOST Couldn't resolve host name : Could not resolve host: google.com
- E: wrong error: CURLE_COULDNT_RESOLVE_HOST Couldn't resolve host name : Could not resolve host: google.com
- examples/test_memory_leaks
- RSS 8671232 -> 14286848 OK
- RSS 14286848 -> 14286848 OK
- RSS 14286848 -> 14286848 OK
- examples/test_cb_exn.opt
- E: wrong error: CURLE_COULDNT_RESOLVE_HOST Couldn't resolve host name : Could not resolve host: google.com
- E: wrong error: CURLE_COULDNT_RESOLVE_HOST Couldn't resolve host name : Could not resolve host: google.com
- examples/test_memory_leaks.opt
- RSS 9134080 -> 14696448 OK
- RSS 14696448 -> 15007744 OK
- RSS 15007744 -> 15007744 OK
-> compiled  ocurl.0.9.2
-> removed   ocurl.0.9.2
Processing  4/4: [ocurl: make install]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "install" "make" "install" (CWD=/home/opam/.opam/4.14/.opam-switch/build/ocurl.0.9.2)
- ocamlfind install -patch-version 0.9.2 -ldconf ignore curl META curl.a curl.cmi curl.mli curl.cma libcurl-helper.a dllcurl-helper.so curl.cmxa curl.cmx curl.cmxs curl.cmt curl.cmti
- Installed /home/opam/.opam/4.14/lib/curl/curl.cmti
- Installed /home/opam/.opam/4.14/lib/curl/curl.cmt
- Installed /home/opam/.opam/4.14/lib/curl/curl.cmxs
- Installed /home/opam/.opam/4.14/lib/curl/curl.cmx
- Installed /home/opam/.opam/4.14/lib/curl/curl.cmxa
- Installed /home/opam/.opam/4.14/lib/curl/libcurl-helper.a
- Installed /home/opam/.opam/4.14/lib/curl/curl.cma
- Installed /home/opam/.opam/4.14/lib/curl/curl.mli
- Installed /home/opam/.opam/4.14/lib/curl/curl.cmi
- Installed /home/opam/.opam/4.14/lib/curl/curl.a
- Installed /home/opam/.opam/4.14/lib/stublibs/dllcurl-helper.so
- Installed /home/opam/.opam/4.14/lib/stublibs/dllcurl-helper.so.owner
- Installed /home/opam/.opam/4.14/lib/curl/META
-> installed ocurl.0.9.2
Done.
# To update the current shell environment, run: eval $(opam env)
2025-03-13 14:07.07 ---> saved as "8457e2647f5872879d52ea4989daf761956fdb8f8c37e5ab3f97c4695d083611"
Job succeeded
2025-03-13 14:07.13: Job succeeded