(for PR #26864)

2024-11-13 14:03.16: New job: test sqlite3.4.0.0 with ocamlfind.1.9.7, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/26864/head (1fe86a030d1aa680aac111c48a41dca97d43900a)
                              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/26864/head" && git reset --hard 1fe86a03
git fetch origin master
git merge --no-edit d4c6a480805e2a9eafb47afe89128b65244cbdac
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.14@sha256:03931233593b8433100f023bc0a49467bfcf5f4d74310a7b3f4504b32db4ddc3
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-dev /usr/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
ENV OPAMDOWNLOADJOBS="1"
ENV OPAMERRLOGLEN="0"
ENV OPAMSOLVERTIMEOUT="1000"
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.7 1.9.7
RUN opam reinstall ocamlfind.1.9.7; \
    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.7' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1
RUN opam option solver=builtin-0install
RUN opam reinstall sqlite3.4.0.0; \
    res=$?; \
    test "$res" != 31 && exit "$res"; \
    export OPAMCLI=2.0; \
    build_dir=$(opam var prefix)/.opam-switch/build; \
    failed=$(ls "$build_dir"); \
    partial_fails=""; \
    for pkg in $failed; do \
    if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-12\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'sqlite3.4.0.0' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1
RUN opam option solver=builtin-0install
RUN (opam reinstall --with-test sqlite3.4.0.0) || true
RUN opam reinstall --with-test --verbose sqlite3.4.0.0; \
    res=$?; \
    test "$res" != 31 && exit "$res"; \
    export OPAMCLI=2.0; \
    build_dir=$(opam var prefix)/.opam-switch/build; \
    failed=$(ls "$build_dir"); \
    partial_fails=""; \
    for pkg in $failed; do \
    if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-12\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'sqlite3.4.0.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 .

2024-11-13 14:03.16: Using cache hint "ocaml/opam:debian-12-ocaml-4.14@sha256:03931233593b8433100f023bc0a49467bfcf5f4d74310a7b3f4504b32db4ddc3-ocamlfind.1.9.7-sqlite3.4.0.0-1fe86a030d1aa680aac111c48a41dca97d43900a"
2024-11-13 14:03.16: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.14@sha256:03931233593b8433100f023bc0a49467bfcf5f4d74310a7b3f4504b32db4ddc3)
 (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 "uname -rs && opam exec -- ocaml -version && opam --version"))
 (env OPAMDOWNLOADJOBS 1)
 (env OPAMERRLOGLEN 0)
 (env OPAMSOLVERTIMEOUT 1000)
 (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.7 1.9.7"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall ocamlfind.1.9.7;\
             \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.7' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
 (run (shell "opam option solver=builtin-0install"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall sqlite3.4.0.0;\
             \n        res=$?;\
             \n        test \"$res\" != 31 && exit \"$res\";\
             \n        export OPAMCLI=2.0;\
             \n        build_dir=$(opam var prefix)/.opam-switch/build;\
             \n        failed=$(ls \"$build_dir\");\
             \n        partial_fails=\"\";\
             \n        for pkg in $failed; do\
             \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-12\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'sqlite3.4.0.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 (shell "opam option solver=builtin-0install"))
 (run (network host)
      (shell "(opam reinstall --with-test sqlite3.4.0.0) || true"))
 (run (shell  "opam reinstall --with-test --verbose sqlite3.4.0.0;\
             \n        res=$?;\
             \n        test \"$res\" != 31 && exit \"$res\";\
             \n        export OPAMCLI=2.0;\
             \n        build_dir=$(opam var prefix)/.opam-switch/build;\
             \n        failed=$(ls \"$build_dir\");\
             \n        partial_fails=\"\";\
             \n        for pkg in $failed; do\
             \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-12\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'sqlite3.4.0.0' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2024-11-13 14:03.16: Waiting for resource in pool OCluster
2024-11-13 15:28.56: Waiting for worker…
2024-11-13 15:32.09: Got resource from pool OCluster
Building on x86-bm-c13.sw.ocaml.org
All commits already cached
Updating files:  71% (23286/32662)
Updating files:  72% (23517/32662)
Updating files:  73% (23844/32662)
Updating files:  74% (24170/32662)
Updating files:  75% (24497/32662)
Updating files:  76% (24824/32662)
Updating files:  77% (25150/32662)
Updating files:  78% (25477/32662)
Updating files:  79% (25803/32662)
Updating files:  80% (26130/32662)
Updating files:  81% (26457/32662)
Updating files:  82% (26783/32662)
Updating files:  83% (27110/32662)
Updating files:  84% (27437/32662)
Updating files:  85% (27763/32662)
Updating files:  86% (28090/32662)
Updating files:  87% (28416/32662)
Updating files:  88% (28743/32662)
Updating files:  89% (29070/32662)
Updating files:  90% (29396/32662)
Updating files:  91% (29723/32662)
Updating files:  92% (30050/32662)
Updating files:  93% (30376/32662)
Updating files:  94% (30703/32662)
Updating files:  95% (31029/32662)
Updating files:  96% (31356/32662)
Updating files:  97% (31683/32662)
Updating files:  98% (32009/32662)
Updating files:  99% (32336/32662)
Updating files: 100% (32662/32662)
Updating files: 100% (32662/32662), done.
HEAD is now at d4c6a48080 Merge pull request #26854 from balat/opam-publish-ocsigen-toolkit.4.1.0
Merge made by the 'ort' strategy.
 packages/ocamlfind/ocamlfind.1.9.7/opam | 44 +++++++++++++++++++++++++++++++++
 1 file changed, 44 insertions(+)
 create mode 100644 packages/ocamlfind/ocamlfind.1.9.7/opam

(from ocaml/opam:debian-12-ocaml-4.14@sha256:03931233593b8433100f023bc0a49467bfcf5f4d74310a7b3f4504b32db4ddc3)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.14@sha256:03931233593b8433100f023bc0a49467bfcf5f4d74310a7b3f4504b32db4ddc3' locally
docker.io/ocaml/opam@sha256:03931233593b8433100f023bc0a49467bfcf5f4d74310a7b3f4504b32db4ddc3: Pulling from ocaml/opam
7a69ec65e8dc: Pulling fs layer
7a69ec65e8dc: Verifying Checksum
7a69ec65e8dc: Download complete
7a69ec65e8dc: Pull complete
Digest: sha256:03931233593b8433100f023bc0a49467bfcf5f4d74310a7b3f4504b32db4ddc3
Status: Downloaded newer image for ocaml/opam@sha256:03931233593b8433100f023bc0a49467bfcf5f4d74310a7b3f4504b32db4ddc3
2024-11-13 15:32.12 ---> using "7865c6821c42776ca70a19318cc19a6071e65fe0e7c3e659c00e7a03ce2b6d64" from cache

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2024-11-13 15:32.12 ---> using "ad3e9629360f3a2c8223d5886ac7195207ee1803fcb4aa7b290336801b8943d0" 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.

Continue? [y/n] y
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.

Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2024-11-13 15:32.12 ---> using "a1480828f57ce587531365e53376a0f63d7958ebe9ac0f519aa1dec70633d5fb" from cache

/home/opam: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-122-generic
The OCaml toplevel, version 4.14.2
2.4.0~alpha1~dev
2024-11-13 15:32.12 ---> using "4b810995688cec25d712717079f5c0d0bea9418fcf6146699f0e15656c1f450c" from cache

/home/opam: (env OPAMDOWNLOADJOBS 1)

/home/opam: (env OPAMERRLOGLEN 0)

/home/opam: (env OPAMSOLVERTIMEOUT 1000)

/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/"))
2024-11-13 15:32.12 ---> using "b03bc4d602c48017fed87683a2f42534210f76d9d4239618ddee445f3c2c744c" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2024-11-13 15:32.14 ---> using "8376eea1500819381c6957535148b236d06f96a1c966cf70c1756c5e924d6e08" from cache

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2024-11-13 15:32.14 ---> using "cdf93fcdf4d21905426b1830e2b9d9392afca75e342c5970167d6fa37b42de23" 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 [204 kB]
- Fetched 307 kB in 0s (1256 kB/s)
- Reading package lists...
2024-11-13 15:32.14 ---> using "d5a42b1adc5254f2ad81c2a8689df64e8f1d546280b55b3d1d01ac94bddf3aeb" from cache

/home/opam: (run (shell "opam pin add -k version -yn ocamlfind.1.9.7 1.9.7"))
ocamlfind is now pinned to version 1.9.7
2024-11-13 15:32.14 ---> using "5bbf101f923e28e6142584c7552c417f6c3c91bd767fefdc02c264c262f8a027" from cache

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

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved ocamlfind.1.9.7  (cached)
-> installed ocamlfind.1.9.7
Done.
# To update the current shell environment, run: eval $(opam env)
2024-11-13 15:32.14 ---> using "72cc581d8a90b904d6c5e369683fafbe8d811187160b071745aa753de520bc73" from cache

/home/opam: (run (shell "opam option solver=builtin-0install"))
Set to 'builtin-0install' the field solver in global configuration
2024-11-13 15:32.14 ---> using "38932eedab7e9427581ff0ed4b4254b16caccb91e6c228e08c034f683188374e" from cache

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

The following system packages will first need to be installed:
    libsqlite3-dev pkg-config

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

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

[1/2/3/4] 1

+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "libsqlite3-dev" "pkg-config"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package libpkgconf3: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 .../libpkgconf3_1.8.1-1_amd64.deb ...
- Unpacking libpkgconf3:amd64 (1.8.1-1) ...
- Selecting previously unselected package libsqlite3-dev:amd64.
- Preparing to unpack .../libsqlite3-dev_3.40.1-2+deb12u1_amd64.deb ...
- Unpacking libsqlite3-dev:amd64 (3.40.1-2+deb12u1) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../pkgconf-bin_1.8.1-1_amd64.deb ...
- Unpacking pkgconf-bin (1.8.1-1) ...
- Selecting previously unselected package pkgconf:amd64.
- Preparing to unpack .../pkgconf_1.8.1-1_amd64.deb ...
- Unpacking pkgconf:amd64 (1.8.1-1) ...
- Selecting previously unselected package pkg-config:amd64.
- Preparing to unpack .../pkg-config_1.8.1-1_amd64.deb ...
- Unpacking pkg-config:amd64 (1.8.1-1) ...
- Setting up libpkgconf3:amd64 (1.8.1-1) ...
- Setting up libsqlite3-dev:amd64 (3.40.1-2+deb12u1) ...
- Setting up pkgconf-bin (1.8.1-1) ...
- Setting up pkgconf:amd64 (1.8.1-1) ...
- Setting up pkg-config:amd64 (1.8.1-1) ...
- Processing triggers for libc-bin (2.36-9+deb12u9) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved ocamlbuild.0.15.0  (cached)
-> installed conf-pkg-config.3
-> installed conf-sqlite3.1
-> retrieved sqlite3.4.0.0  (https://github.com/mmottl/sqlite3-ocaml/releases/download/v4.0.0/sqlite3-ocaml-4.0.0.tar.gz)
-> installed ocamlbuild.0.15.0
-> installed sqlite3.4.0.0
Done.
# To update the current shell environment, run: eval $(opam env)
2024-11-13 15:32.39 ---> saved as "7f4dc50f163a1c60a7e46648c591fd8d10ef1634e7f6b407f7befac1bf43d204"

/home/opam: (run (shell "opam option solver=builtin-0install"))
No modification in global configuration
2024-11-13 15:32.39 ---> saved as "c9f1606aaa3c57508686ce394db655129102e79d057c69a8e8fda079ffddeea3"

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

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved sqlite3.4.0.0  (https://github.com/mmottl/sqlite3-ocaml/releases/download/v4.0.0/sqlite3-ocaml-4.0.0.tar.gz)
-> removed   sqlite3.4.0.0
-> installed sqlite3.4.0.0
Done.
# To update the current shell environment, run: eval $(opam env)
2024-11-13 15:33.01 ---> saved as "f62e81fc725aed410d09263dece08082ccf2f6360f3999f4299ba3a770068978"

/home/opam: (run (shell  "opam reinstall --with-test --verbose sqlite3.4.0.0;\
                        \n        res=$?;\
                        \n        test \"$res\" != 31 && exit \"$res\";\
                        \n        export OPAMCLI=2.0;\
                        \n        build_dir=$(opam var prefix)/.opam-switch/build;\
                        \n        failed=$(ls \"$build_dir\");\
                        \n        partial_fails=\"\";\
                        \n        for pkg in $failed; do\
                        \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-12\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'sqlite3.4.0.0' && 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 sqlite3 4.0.0

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/4: [sqlite3.4.0.0: extract]
-> retrieved sqlite3.4.0.0  (cached)
Processing  2/4: [sqlite3: ocaml setup.ml]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "ocaml" "setup.ml" "-configure" "--prefix" "/home/opam/.opam/4.14" (CWD=/home/opam/.opam/4.14/.opam-switch/build/sqlite3.4.0.0)
- File "./setup.ml", line 318, characters 20-36:
- 318 |     String.compare (String.lowercase s1) (String.lowercase s2)
-                           ^^^^^^^^^^^^^^^^
- Alert deprecated: Stdlib.String.lowercase
- Use String.lowercase_ascii/StringLabels.lowercase_ascii instead.
- File "./setup.ml", line 318, characters 42-58:
- 318 |     String.compare (String.lowercase s1) (String.lowercase s2)
-                                                 ^^^^^^^^^^^^^^^^
- Alert deprecated: Stdlib.String.lowercase
- Use String.lowercase_ascii/StringLabels.lowercase_ascii instead.
- File "./setup.ml", line 327, characters 14-30:
- 327 |              (String.lowercase s1) = (String.lowercase s2)
-                     ^^^^^^^^^^^^^^^^
- Alert deprecated: Stdlib.String.lowercase
- Use String.lowercase_ascii/StringLabels.lowercase_ascii instead.
- File "./setup.ml", line 327, characters 38-54:
- 327 |              (String.lowercase s1) = (String.lowercase s2)
-                                             ^^^^^^^^^^^^^^^^
- Alert deprecated: Stdlib.String.lowercase
- Use String.lowercase_ascii/StringLabels.lowercase_ascii instead.
- File "./setup.ml", line 330, characters 25-41:
- 330 |            Hashtbl.hash (String.lowercase s)
-                                ^^^^^^^^^^^^^^^^
- Alert deprecated: Stdlib.String.lowercase
- Use String.lowercase_ascii/StringLabels.lowercase_ascii instead.
- File "./setup.ml", line 368, characters 10-26:
- 368 |           String.lowercase buf
-                 ^^^^^^^^^^^^^^^^
- Alert deprecated: Stdlib.String.lowercase
- Use String.lowercase_ascii/StringLabels.lowercase_ascii instead.
- File "./setup.ml", line 474, characters 13-29:
- 474 |              String.lowercase
-                    ^^^^^^^^^^^^^^^^
- Alert deprecated: Stdlib.String.lowercase
- Use String.lowercase_ascii/StringLabels.lowercase_ascii instead.
- File "./setup.ml", line 1381, characters 23-41:
- 1381 |          let compare = Pervasives.compare
-                               ^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
- 
- If you need to stay compatible with OCaml < 4.07, you can use the 
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "./setup.ml", line 1825, characters 16-33:
- 1825 |     concat dir (String.capitalize base)
-                        ^^^^^^^^^^^^^^^^^
- Alert deprecated: Stdlib.String.capitalize
- Use String.capitalize_ascii/StringLabels.capitalize_ascii instead.
- File "./setup.ml", line 1831, characters 16-35:
- 1831 |     concat dir (String.uncapitalize base)
-                        ^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Stdlib.String.uncapitalize
- Use String.uncapitalize_ascii/StringLabels.uncapitalize_ascii instead.
- File "setup.ml", line 2916, characters 10-27:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 2922, characters 10-21:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 2925, characters 23-34:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 2928, characters 20-34:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 2931, characters 10-27:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 2934, characters 16-28:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 2935, characters 15-27:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 2935, characters 32-42:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 2935, characters 48-61:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 2936, characters 16-27:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 2937, characters 16-27:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 2938, characters 16-27:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 3088, characters 4-21:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3107, characters 24-40:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 3109, characters 21-33:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 3110, characters 20-32:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3110, characters 41-53:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3112, characters 20-32:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3112, characters 41-54:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3114, characters 20-32:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3114, characters 50-62:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3116, characters 20-32:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3116, characters 50-63:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3118, characters 20-32:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3131, characters 15-27:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 3229, characters 16-34:
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
- 
- If you need to stay compatible with OCaml < 4.07, you can use the 
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "setup.ml", line 5847, characters 11-28:
- Alert deprecated: Stdlib.String.capitalize
- Use String.capitalize_ascii/StringLabels.capitalize_ascii instead.
- File "setup.ml", line 5848, characters 11-30:
- Alert deprecated: Stdlib.String.uncapitalize
- Use String.uncapitalize_ascii/StringLabels.uncapitalize_ascii instead.
- File "setup.ml", line 6484, characters 33-42:
- Warning 6 [labels-omitted]: label what was omitted in the application of this function.
- File "setup.ml", line 6485, characters 36-45:
- Warning 6 [labels-omitted]: label what was omitted in the application of this function.
- 
- Configuration: 
- ocamlfind: ........................................... /home/opam/.opam/4.14/bin/ocamlfind
- ocamlc: .............................................. /home/opam/.opam/4.14/bin/ocamlc.opt
- ocamlopt: ............................................ /home/opam/.opam/4.14/bin/ocamlopt.opt
- ocamlbuild: .......................................... /home/opam/.opam/4.14/bin/ocamlbuild
- Package name: ........................................ sqlite3
- Package version: ..................................... 4.0.0
- os_type: ............................................. Unix
- system: .............................................. linux
- architecture: ........................................ amd64
- ccomp_type: .......................................... cc
- ocaml_version: ....................................... 4.14.2
- standard_library_default: ............................ /home/opam/.opam/4.14/lib/ocaml
- standard_library: .................................... /home/opam/.opam/4.14/lib/ocaml
- bytecomp_c_compiler: ................................. gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC  -D_FILE_OFFSET_BITS=64 
- native_c_compiler: ................................... gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC  -D_FILE_OFFSET_BITS=64 
- model: ............................................... default
- ext_obj: ............................................. .o
- ext_asm: ............................................. .s
- ext_lib: ............................................. .a
- ext_dll: ............................................. .so
- default_executable_name: ............................. a.out
- systhread_supported: ................................. true
- Install architecture-independent files dir: .......... /home/opam/.opam/4.14
- Install architecture-dependent files in dir: ......... $prefix
- User executables: .................................... $exec_prefix/bin
- System admin executables: ............................ $exec_prefix/sbin
- Program executables: ................................. $exec_prefix/libexec
- Read-only single-machine data: ....................... $prefix/etc
- Modifiable architecture-independent data: ............ $prefix/com
- Modifiable single-machine data: ...................... $prefix/var
- Object code libraries: ............................... $exec_prefix/lib
- Read-only arch-independent data root: ................ $prefix/share
- Read-only architecture-independent data: ............. $datarootdir
- Info documentation: .................................. $datarootdir/info
- Locale-dependent data: ............................... $datarootdir/locale
- Man documentation: ................................... $datarootdir/man
- Documentation root: .................................. $datarootdir/doc/$pkg_name
- HTML documentation: .................................. $docdir
- DVI documentation: ................................... $docdir
- PDF documentation: ................................... $docdir
- PS documentation: .................................... $docdir
- findlib_version: ..................................... 1.9.7
- is_native: ........................................... true
- suffix_program: ...................................... 
- Remove a file.: ...................................... rm -f
- Remove a directory.: ................................. rm -rf
- Turn ocaml debug flag on: ............................ true
- Turn ocaml profile flag on: .......................... false
- Compiler support generation of .cmxs.: ............... true
- OCamlbuild additional flags: ......................... 
- Strict compile-time checks: .......................... true
- Create documentations: ............................... true
- Compile tests executable and library and run them: ... false
- ocamldoc: ............................................ /home/opam/.opam/4.14/bin/ocamldoc
- 
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "ocaml" "setup.ml" "-build" (CWD=/home/opam/.opam/4.14/.opam-switch/build/sqlite3.4.0.0)
- File "./setup.ml", line 318, characters 20-36:
- 318 |     String.compare (String.lowercase s1) (String.lowercase s2)
-                           ^^^^^^^^^^^^^^^^
- Alert deprecated: Stdlib.String.lowercase
- Use String.lowercase_ascii/StringLabels.lowercase_ascii instead.
- File "./setup.ml", line 318, characters 42-58:
- 318 |     String.compare (String.lowercase s1) (String.lowercase s2)
-                                                 ^^^^^^^^^^^^^^^^
- Alert deprecated: Stdlib.String.lowercase
- Use String.lowercase_ascii/StringLabels.lowercase_ascii instead.
- File "./setup.ml", line 327, characters 14-30:
- 327 |              (String.lowercase s1) = (String.lowercase s2)
-                     ^^^^^^^^^^^^^^^^
- Alert deprecated: Stdlib.String.lowercase
- Use String.lowercase_ascii/StringLabels.lowercase_ascii instead.
- File "./setup.ml", line 327, characters 38-54:
- 327 |              (String.lowercase s1) = (String.lowercase s2)
-                                             ^^^^^^^^^^^^^^^^
- Alert deprecated: Stdlib.String.lowercase
- Use String.lowercase_ascii/StringLabels.lowercase_ascii instead.
- File "./setup.ml", line 330, characters 25-41:
- 330 |            Hashtbl.hash (String.lowercase s)
-                                ^^^^^^^^^^^^^^^^
- Alert deprecated: Stdlib.String.lowercase
- Use String.lowercase_ascii/StringLabels.lowercase_ascii instead.
- File "./setup.ml", line 368, characters 10-26:
- 368 |           String.lowercase buf
-                 ^^^^^^^^^^^^^^^^
- Alert deprecated: Stdlib.String.lowercase
- Use String.lowercase_ascii/StringLabels.lowercase_ascii instead.
- File "./setup.ml", line 474, characters 13-29:
- 474 |              String.lowercase
-                    ^^^^^^^^^^^^^^^^
- Alert deprecated: Stdlib.String.lowercase
- Use String.lowercase_ascii/StringLabels.lowercase_ascii instead.
- File "./setup.ml", line 1381, characters 23-41:
- 1381 |          let compare = Pervasives.compare
-                               ^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
- 
- If you need to stay compatible with OCaml < 4.07, you can use the 
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "./setup.ml", line 1825, characters 16-33:
- 1825 |     concat dir (String.capitalize base)
-                        ^^^^^^^^^^^^^^^^^
- Alert deprecated: Stdlib.String.capitalize
- Use String.capitalize_ascii/StringLabels.capitalize_ascii instead.
- File "./setup.ml", line 1831, characters 16-35:
- 1831 |     concat dir (String.uncapitalize base)
-                        ^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Stdlib.String.uncapitalize
- Use String.uncapitalize_ascii/StringLabels.uncapitalize_ascii instead.
- File "setup.ml", line 2916, characters 10-27:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 2922, characters 10-21:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 2925, characters 23-34:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 2928, characters 20-34:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 2931, characters 10-27:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 2934, characters 16-28:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 2935, characters 15-27:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 2935, characters 32-42:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 2935, characters 48-61:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 2936, characters 16-27:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 2937, characters 16-27:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 2938, characters 16-27:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 3088, characters 4-21:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3107, characters 24-40:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 3109, characters 21-33:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 3110, characters 20-32:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3110, characters 41-53:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3112, characters 20-32:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3112, characters 41-54:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3114, characters 20-32:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3114, characters 50-62:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3116, characters 20-32:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3116, characters 50-63:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3118, characters 20-32:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3131, characters 15-27:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 3229, characters 16-34:
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
- 
- If you need to stay compatible with OCaml < 4.07, you can use the 
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "setup.ml", line 5847, characters 11-28:
- Alert deprecated: Stdlib.String.capitalize
- Use String.capitalize_ascii/StringLabels.capitalize_ascii instead.
- File "setup.ml", line 5848, characters 11-30:
- Alert deprecated: Stdlib.String.uncapitalize
- Use String.uncapitalize_ascii/StringLabels.uncapitalize_ascii instead.
- File "setup.ml", line 6484, characters 33-42:
- Warning 6 [labels-omitted]: label what was omitted in the application of this function.
- File "setup.ml", line 6485, characters 36-45:
- Warning 6 [labels-omitted]: label what was omitted in the application of this function.
- + /home/opam/.opam/4.14/bin/ocamlopt.opt unix.cmxa -I /home/opam/.opam/4.14/lib/ocamlbuild /home/opam/.opam/4.14/lib/ocamlbuild/ocamlbuildlib.cmxa myocamlbuild.ml /home/opam/.opam/4.14/lib/ocamlbuild/ocamlbuild.cmx -o myocamlbuild
- + /home/opam/.opam/4.14/bin/ocamlfind ocamlc -g -ccopt -g -ccopt -O2 -ccopt -fPIC -ccopt -DPIC -ccopt -Wall -ccopt -pedantic -ccopt -Wextra -ccopt -Wunused -ccopt -Wno-long-long -c lib/sqlite3_stubs.c
- + /home/opam/.opam/4.14/bin/ocamlfind ocamlc -g -ccopt -g -ccopt -O2 -ccopt -fPIC -ccopt -DPIC -ccopt -Wall -ccopt -pedantic -ccopt -Wextra -ccopt -Wunused -ccopt -Wno-long-long -c lib/sqlite3_stubs.c
- lib/sqlite3_stubs.c: In function 'caml_sqlite3_init':
- lib/sqlite3_stubs.c:256:30: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   256 |   caml_sqlite3_InternalError = caml_named_value("Sqlite3.InternalError");
-       |                              ^
- lib/sqlite3_stubs.c:257:22: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   257 |   caml_sqlite3_Error = caml_named_value("Sqlite3.Error");
-       |                      ^
- lib/sqlite3_stubs.c:258:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   258 |   caml_sqlite3_RangeError = caml_named_value("Sqlite3.RangeError");
-       |                           ^
- In file included from lib/sqlite3_stubs.c:31:
- lib/sqlite3_stubs.c: In function 'caml_sqlite3_bind_parameter_index':
- /home/opam/.opam/4.14/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   290 | #define String_val(x) ((const char *) Bp_val(x))
-       |                       ^
- lib/sqlite3_stubs.c:861:21: note: in expansion of macro 'String_val'
-   861 |   char *parm_name = String_val(v_name);
-       |                     ^~~~~~~~~~
- lib/sqlite3_stubs.c: In function 'caml_sqlite3_column':
- /home/opam/.opam/4.14/lib/ocaml/caml/mlvalues.h:290:24: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   290 | #define String_val(x) ((const char *) Bp_val(x))
-       |                       ~^~~~~~~~~~~~~~~~~~~~~~~~~
- lib/sqlite3_stubs.c:972:14: note: in expansion of macro 'String_val'
-   972 |       memcpy(String_val(v_tmp), (char *) sqlite3_column_text(stmt, i), len);
-       |              ^~~~~~~~~~
- In file included from lib/sqlite3_stubs.c:29:
- /usr/include/string.h:43:39: note: expected 'void * restrict' but argument is of type 'const char *'
-    43 | extern void *memcpy (void *__restrict __dest, const void *__restrict __src,
-       |                      ~~~~~~~~~~~~~~~~~^~~~~~
- /home/opam/.opam/4.14/lib/ocaml/caml/mlvalues.h:290:24: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   290 | #define String_val(x) ((const char *) Bp_val(x))
-       |                       ~^~~~~~~~~~~~~~~~~~~~~~~~~
- lib/sqlite3_stubs.c:979:14: note: in expansion of macro 'String_val'
-   979 |       memcpy(String_val(v_tmp), (char *) sqlite3_column_blob(stmt, i), len);
-       |              ^~~~~~~~~~
- /usr/include/string.h:43:39: note: expected 'void * restrict' but argument is of type 'const char *'
-    43 | extern void *memcpy (void *__restrict __dest, const void *__restrict __src,
-       |                      ~~~~~~~~~~~~~~~~~^~~~~~
- lib/sqlite3_stubs.c: In function 'caml_sqlite3_wrap_values':
- /home/opam/.opam/4.14/lib/ocaml/caml/mlvalues.h:290:24: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   290 | #define String_val(x) ((const char *) Bp_val(x))
-       |                       ~^~~~~~~~~~~~~~~~~~~~~~~~~
- lib/sqlite3_stubs.c:1029:18: note: in expansion of macro 'String_val'
-  1029 |           memcpy(String_val(v_tmp), (char *) sqlite3_value_text(arg), len);
-       |                  ^~~~~~~~~~
- /usr/include/string.h:43:39: note: expected 'void * restrict' but argument is of type 'const char *'
-    43 | extern void *memcpy (void *__restrict __dest, const void *__restrict __src,
-       |                      ~~~~~~~~~~~~~~~~~^~~~~~
- /home/opam/.opam/4.14/lib/ocaml/caml/mlvalues.h:290:24: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   290 | #define String_val(x) ((const char *) Bp_val(x))
-       |                       ~^~~~~~~~~~~~~~~~~~~~~~~~~
- lib/sqlite3_stubs.c:1036:18: note: in expansion of macro 'String_val'
-  1036 |           memcpy(String_val(v_tmp), (char *) sqlite3_value_blob(arg), len);
-       |                  ^~~~~~~~~~
- /usr/include/string.h:43:39: note: expected 'void * restrict' but argument is of type 'const char *'
-    43 | extern void *memcpy (void *__restrict __dest, const void *__restrict __src,
-       |                      ~~~~~~~~~~~~~~~~~^~~~~~
- lib/sqlite3_stubs.c: In function 'unregister_user_function':
- /home/opam/.opam/4.14/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   290 | #define String_val(x) ((const char *) Bp_val(x))
-       |                       ^
- lib/sqlite3_stubs.c:1133:16: note: in expansion of macro 'String_val'
-  1133 |   char *name = String_val(v_name);
-       |                ^~~~~~~~~~
- In function 'ref_count_finalize_dbw',
-     inlined from 'dbw_finalize_gc' at lib/sqlite3_stubs.c:357:16:
- lib/sqlite3_stubs.c:344:57: warning: pointer 'link' used after 'free' [-Wuse-after-free]
-   344 |     for (link = dbw->user_functions; link != NULL; link = link->next) {
-       |                                                    ~~~~~^~~~~~~~~~~~
- lib/sqlite3_stubs.c:346:7: note: call to 'free' here
-   346 |       free(link);
-       |       ^~~~~~~~~~
- In function 'ref_count_finalize_dbw',
-     inlined from 'finalize_stmt_gc' at lib/sqlite3_stubs.c:755:3:
- lib/sqlite3_stubs.c:344:57: warning: pointer 'link' used after 'free' [-Wuse-after-free]
-   344 |     for (link = dbw->user_functions; link != NULL; link = link->next) {
-       |                                                    ~~~~~^~~~~~~~~~~~
- lib/sqlite3_stubs.c:346:7: note: call to 'free' here
-   346 |       free(link);
-       |       ^~~~~~~~~~
- + mv sqlite3_stubs.o lib/sqlite3_stubs.o
- + /home/opam/.opam/4.14/bin/ocamlfind ocamlmklib -o lib/sqlite3_stubs -g -lsqlite3 -lpthread -lsqlite3 lib/sqlite3_stubs.o
- + /home/opam/.opam/4.14/bin/ocamlfind ocamldep -modules lib/sqlite3.mli > lib/sqlite3.mli.depends
- + /home/opam/.opam/4.14/bin/ocamlfind ocamlc -c -g -annot -bin-annot -safe-string -strict-sequence -ccopt -g -ccopt -O2 -ccopt -fPIC -ccopt -DPIC -ccopt -Wall -ccopt -pedantic -ccopt -Wextra -ccopt -Wunused -ccopt -Wno-long-long -w Aer-44 -I lib -o lib/sqlite3.cmi lib/sqlite3.mli
- + /home/opam/.opam/4.14/bin/ocamlfind ocamlc -c -g -annot -bin-annot -safe-string -strict-sequence -ccopt -g -ccopt -O2 -ccopt -fPIC -ccopt -DPIC -ccopt -Wall -ccopt -pedantic -ccopt -Wextra -ccopt -Wunused -ccopt -Wno-long-long -w Aer-44 -I lib -o lib/sqlite3.cmi lib/sqlite3.mli
- File "_none_", line 1:
- Alert ocaml_deprecated_cli: Setting a warning with a sequence of lowercase or uppercase letters,
- like 'Aer', is deprecated.
- Use the equivalent signed form: +A-e-r-44.
- Hint: Enabling or disabling a warning by its mnemonic name requires a + or - prefix.
- + /home/opam/.opam/4.14/bin/ocamlfind ocamldep -modules lib/sqlite3.ml > lib/sqlite3.ml.depends
- + /home/opam/.opam/4.14/bin/ocamlfind ocamlc -c -g -annot -bin-annot -safe-string -strict-sequence -ccopt -g -ccopt -O2 -ccopt -fPIC -ccopt -DPIC -ccopt -Wall -ccopt -pedantic -ccopt -Wextra -ccopt -Wunused -ccopt -Wno-long-long -w Aer-44 -I lib -o lib/sqlite3.cmo lib/sqlite3.ml
- + /home/opam/.opam/4.14/bin/ocamlfind ocamlc -c -g -annot -bin-annot -safe-string -strict-sequence -ccopt -g -ccopt -O2 -ccopt -fPIC -ccopt -DPIC -ccopt -Wall -ccopt -pedantic -ccopt -Wextra -ccopt -Wunused -ccopt -Wno-long-long -w Aer-44 -I lib -o lib/sqlite3.cmo lib/sqlite3.ml
- File "_none_", line 1:
- Alert ocaml_deprecated_cli: Setting a warning with a sequence of lowercase or uppercase letters,
- like 'Aer', is deprecated.
- Use the equivalent signed form: +A-e-r-44.
- Hint: Enabling or disabling a warning by its mnemonic name requires a + or - prefix.
- + /home/opam/.opam/4.14/bin/ocamlfind ocamlc -a -dllib -lsqlite3_stubs -cclib -lsqlite3_stubs -cclib -lsqlite3 -cclib -lpthread -cclib -lsqlite3 -cclib -lsqlite3 -I lib lib/sqlite3.cmo -o lib/sqlite3.cma
- + /home/opam/.opam/4.14/bin/ocamlfind ocamlopt -c -g -annot -bin-annot -safe-string -strict-sequence -ccopt -g -ccopt -O2 -ccopt -fPIC -ccopt -DPIC -ccopt -Wall -ccopt -pedantic -ccopt -Wextra -ccopt -Wunused -ccopt -Wno-long-long -w Aer-44 -I lib -o lib/sqlite3.cmx lib/sqlite3.ml
- + /home/opam/.opam/4.14/bin/ocamlfind ocamlopt -c -g -annot -bin-annot -safe-string -strict-sequence -ccopt -g -ccopt -O2 -ccopt -fPIC -ccopt -DPIC -ccopt -Wall -ccopt -pedantic -ccopt -Wextra -ccopt -Wunused -ccopt -Wno-long-long -w Aer-44 -I lib -o lib/sqlite3.cmx lib/sqlite3.ml
- File "_none_", line 1:
- Alert ocaml_deprecated_cli: Setting a warning with a sequence of lowercase or uppercase letters,
- like 'Aer', is deprecated.
- Use the equivalent signed form: +A-e-r-44.
- Hint: Enabling or disabling a warning by its mnemonic name requires a + or - prefix.
- + /home/opam/.opam/4.14/bin/ocamlfind ocamlopt -a -cclib -lsqlite3_stubs -cclib -lsqlite3 -cclib -lpthread -cclib -lsqlite3 -cclib -lsqlite3 -I lib lib/sqlite3.cmx -o lib/sqlite3.cmxa
- + /home/opam/.opam/4.14/bin/ocamlfind ocamlopt -shared -cclib -lsqlite3_stubs -I lib -cclib -lsqlite3 -I lib lib/sqlite3.cmxa lib/sqlite3.cmx -o lib/sqlite3.cmxs
- + /home/opam/.opam/4.14/bin/ocamlopt.opt unix.cmxa -I /home/opam/.opam/4.14/lib/ocamlbuild /home/opam/.opam/4.14/lib/ocamlbuild/ocamlbuildlib.cmxa myocamlbuild.ml /home/opam/.opam/4.14/lib/ocamlbuild/ocamlbuild.cmx -o myocamlbuild
- File "myocamlbuild.ml", line 155, characters 10-27:
- 155 |           Stream.of_channel chn
-                 ^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "myocamlbuild.ml", line 161, characters 10-21:
- 161 |           Stream.from
-                 ^^^^^^^^^^^
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "myocamlbuild.ml", line 164, characters 23-34:
- 164 |                  match Stream.next st with
-                              ^^^^^^^^^^^
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "myocamlbuild.ml", line 167, characters 20-34:
- 167 |                with Stream.Failure -> None)
-                           ^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "myocamlbuild.ml", line 170, characters 10-27:
- 170 |           Genlex.make_lexer ["="] st_line
-                 ^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "myocamlbuild.ml", line 173, characters 16-28:
- 173 |           match Stream.npeek 3 lexer with
-                       ^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "myocamlbuild.ml", line 174, characters 15-27:
- 174 |             | [Genlex.Ident nm; Genlex.Kwd "="; Genlex.String value] ->
-                      ^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "myocamlbuild.ml", line 174, characters 32-42:
- 174 |             | [Genlex.Ident nm; Genlex.Kwd "="; Genlex.String value] ->
-                                       ^^^^^^^^^^
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "myocamlbuild.ml", line 174, characters 48-61:
- 174 |             | [Genlex.Ident nm; Genlex.Kwd "="; Genlex.String value] ->
-                                                       ^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "myocamlbuild.ml", line 175, characters 16-27:
- 175 |                 Stream.junk lexer;
-                       ^^^^^^^^^^^
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "myocamlbuild.ml", line 176, characters 16-27:
- 176 |                 Stream.junk lexer;
-                       ^^^^^^^^^^^
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "myocamlbuild.ml", line 177, characters 16-27:
- 177 |                 Stream.junk lexer;
-                       ^^^^^^^^^^^
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "myocamlbuild.ml", line 518, characters 43-62:
- 518 |                        List.map (fun m -> (String.uncapitalize m) ^ ".cmi")
-                                                  ^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Ocamlbuild_plugin.String.uncapitalize
- Use String.uncapitalize_ascii/StringLabels.uncapitalize_ascii instead.
- File "myocamlbuild.ml", line 531, characters 51-70:
- 531 |                        List.map (fun m -> dir^"/"^(String.uncapitalize m)^".cmi")
-                                                          ^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Ocamlbuild_plugin.String.uncapitalize
- Use String.uncapitalize_ascii/StringLabels.uncapitalize_ascii instead.
-> compiled  sqlite3.4.0.0
Processing  3/4: [sqlite3: ocamlfind remove]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "remove" "ocamlfind" "remove" "sqlite3"
- Removed /home/opam/.opam/4.14/lib/sqlite3/META
- Removed /home/opam/.opam/4.14/lib/stublibs/dllsqlite3_stubs.so.owner
- Removed /home/opam/.opam/4.14/lib/stublibs/dllsqlite3_stubs.so
- Removed /home/opam/.opam/4.14/lib/sqlite3
-> removed   sqlite3.4.0.0
Processing  4/4: [sqlite3: ocaml setup.ml]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "install" "ocaml" "setup.ml" "-install" (CWD=/home/opam/.opam/4.14/.opam-switch/build/sqlite3.4.0.0)
- File "./setup.ml", line 318, characters 20-36:
- 318 |     String.compare (String.lowercase s1) (String.lowercase s2)
-                           ^^^^^^^^^^^^^^^^
- Alert deprecated: Stdlib.String.lowercase
- Use String.lowercase_ascii/StringLabels.lowercase_ascii instead.
- File "./setup.ml", line 318, characters 42-58:
- 318 |     String.compare (String.lowercase s1) (String.lowercase s2)
-                                                 ^^^^^^^^^^^^^^^^
- Alert deprecated: Stdlib.String.lowercase
- Use String.lowercase_ascii/StringLabels.lowercase_ascii instead.
- File "./setup.ml", line 327, characters 14-30:
- 327 |              (String.lowercase s1) = (String.lowercase s2)
-                     ^^^^^^^^^^^^^^^^
- Alert deprecated: Stdlib.String.lowercase
- Use String.lowercase_ascii/StringLabels.lowercase_ascii instead.
- File "./setup.ml", line 327, characters 38-54:
- 327 |              (String.lowercase s1) = (String.lowercase s2)
-                                             ^^^^^^^^^^^^^^^^
- Alert deprecated: Stdlib.String.lowercase
- Use String.lowercase_ascii/StringLabels.lowercase_ascii instead.
- File "./setup.ml", line 330, characters 25-41:
- 330 |            Hashtbl.hash (String.lowercase s)
-                                ^^^^^^^^^^^^^^^^
- Alert deprecated: Stdlib.String.lowercase
- Use String.lowercase_ascii/StringLabels.lowercase_ascii instead.
- File "./setup.ml", line 368, characters 10-26:
- 368 |           String.lowercase buf
-                 ^^^^^^^^^^^^^^^^
- Alert deprecated: Stdlib.String.lowercase
- Use String.lowercase_ascii/StringLabels.lowercase_ascii instead.
- File "./setup.ml", line 474, characters 13-29:
- 474 |              String.lowercase
-                    ^^^^^^^^^^^^^^^^
- Alert deprecated: Stdlib.String.lowercase
- Use String.lowercase_ascii/StringLabels.lowercase_ascii instead.
- File "./setup.ml", line 1381, characters 23-41:
- 1381 |          let compare = Pervasives.compare
-                               ^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
- 
- If you need to stay compatible with OCaml < 4.07, you can use the 
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "./setup.ml", line 1825, characters 16-33:
- 1825 |     concat dir (String.capitalize base)
-                        ^^^^^^^^^^^^^^^^^
- Alert deprecated: Stdlib.String.capitalize
- Use String.capitalize_ascii/StringLabels.capitalize_ascii instead.
- File "./setup.ml", line 1831, characters 16-35:
- 1831 |     concat dir (String.uncapitalize base)
-                        ^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Stdlib.String.uncapitalize
- Use String.uncapitalize_ascii/StringLabels.uncapitalize_ascii instead.
- File "setup.ml", line 2916, characters 10-27:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 2922, characters 10-21:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 2925, characters 23-34:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 2928, characters 20-34:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 2931, characters 10-27:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 2934, characters 16-28:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 2935, characters 15-27:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 2935, characters 32-42:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 2935, characters 48-61:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 2936, characters 16-27:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 2937, characters 16-27:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 2938, characters 16-27:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 3088, characters 4-21:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3107, characters 24-40:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 3109, characters 21-33:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 3110, characters 20-32:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3110, characters 41-53:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3112, characters 20-32:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3112, characters 41-54:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3114, characters 20-32:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3114, characters 50-62:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3116, characters 20-32:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3116, characters 50-63:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3118, characters 20-32:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3131, characters 15-27:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 3229, characters 16-34:
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
- 
- If you need to stay compatible with OCaml < 4.07, you can use the 
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "setup.ml", line 5847, characters 11-28:
- Alert deprecated: Stdlib.String.capitalize
- Use String.capitalize_ascii/StringLabels.capitalize_ascii instead.
- File "setup.ml", line 5848, characters 11-30:
- Alert deprecated: Stdlib.String.uncapitalize
- Use String.uncapitalize_ascii/StringLabels.uncapitalize_ascii instead.
- File "setup.ml", line 6484, characters 33-42:
- Warning 6 [labels-omitted]: label what was omitted in the application of this function.
- File "setup.ml", line 6485, characters 36-45:
- Warning 6 [labels-omitted]: label what was omitted in the application of this function.
- Installed /home/opam/.opam/4.14/lib/sqlite3/sqlite3.mli
- Installed /home/opam/.opam/4.14/lib/sqlite3/libsqlite3_stubs.a
- Installed /home/opam/.opam/4.14/lib/sqlite3/sqlite3.cma
- Installed /home/opam/.opam/4.14/lib/sqlite3/sqlite3.cmxa
- Installed /home/opam/.opam/4.14/lib/sqlite3/sqlite3.a
- Installed /home/opam/.opam/4.14/lib/sqlite3/sqlite3.cmxs
- Installed /home/opam/.opam/4.14/lib/sqlite3/sqlite3.cmi
- Installed /home/opam/.opam/4.14/lib/sqlite3/sqlite3.cmti
- Installed /home/opam/.opam/4.14/lib/sqlite3/sqlite3.cmt
- Installed /home/opam/.opam/4.14/lib/sqlite3/sqlite3.annot
- Installed /home/opam/.opam/4.14/lib/sqlite3/sqlite3.cmx
- Installed /home/opam/.opam/4.14/lib/stublibs/dllsqlite3_stubs.so
- Installed /home/opam/.opam/4.14/lib/stublibs/dllsqlite3_stubs.so.owner
- ocamlfind: [WARNING] You have installed DLLs but the directory /home/opam/.opam/4.14/lib/stublibs is not mentioned in ld.conf
- Installed /home/opam/.opam/4.14/lib/sqlite3/META
-> installed sqlite3.4.0.0
Done.
# To update the current shell environment, run: eval $(opam env)
2024-11-13 15:33.24 ---> saved as "2482864ad4f3b5628d239824f88766fed846f99269a2d30ae62c7e9a081a1131"
Job succeeded
2024-11-13 15:33.38: Job succeeded