(for PR #28222)

2025-08-21 14:30.18: New job: test resource-pooling.0.7 with lwt_log.1.1.0, using opam 2.3
                              from https://github.com/ocaml/opam-repository.git#refs/pull/28222/head (a14b2680809606d7e55ae7ed410b73438cb77bd0)
                              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/28222/head" && git reset --hard a14b2680
git fetch origin master
git merge --no-edit 4bae7ec4df49df4454ea492c8d7a1196aeae04e0
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.14@sha256:30169b3ce5a84172c049cfc64621b66e9a02a7b0431076f872278354c85107fe
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-2.3 /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 lwt_log.1.1.0 1.1.0
RUN opam reinstall lwt_log.1.1.0; \
    res=$?; \
    test "$res" != 31 && exit "$res"; \
    export OPAMCLI=2.0; \
    build_dir=$(opam var prefix)/.opam-switch/build; \
    failed=$(ls "$build_dir"); \
    partial_fails=""; \
    for pkg in $failed; do \
    if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-12\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'lwt_log.1.1.0' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1
RUN opam reinstall resource-pooling.0.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" != 'resource-pooling.0.7' && 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 resource-pooling.0.7) || true
RUN opam reinstall --with-test --verbose resource-pooling.0.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" != 'resource-pooling.0.7' && 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-08-21 14:30.18: Using cache hint "ocaml/opam:debian-12-ocaml-4.14@sha256:30169b3ce5a84172c049cfc64621b66e9a02a7b0431076f872278354c85107fe-lwt_log.1.1.0-resource-pooling.0.7-a14b2680809606d7e55ae7ed410b73438cb77bd0"
2025-08-21 14:30.18: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.14@sha256:30169b3ce5a84172c049cfc64621b66e9a02a7b0431076f872278354c85107fe)
 (user (uid 1000) (gid 1000))
 (workdir /home/opam)
 (run (shell "sudo ln -f /usr/bin/opam-2.3 /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 lwt_log.1.1.0 1.1.0"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall lwt_log.1.1.0;\
             \n        res=$?;\
             \n        test \"$res\" != 31 && exit \"$res\";\
             \n        export OPAMCLI=2.0;\
             \n        build_dir=$(opam var prefix)/.opam-switch/build;\
             \n        failed=$(ls \"$build_dir\");\
             \n        partial_fails=\"\";\
             \n        for pkg in $failed; do\
             \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-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\" != 'lwt_log.1.1.0' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall resource-pooling.0.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\" != 'resource-pooling.0.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 (network host)
      (shell "(opam reinstall --with-test resource-pooling.0.7) || true"))
 (run (shell  "opam reinstall --with-test --verbose resource-pooling.0.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\" != 'resource-pooling.0.7' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2025-08-21 14:30.18: Waiting for resource in pool OCluster
2025-08-21 18:54.53: Waiting for worker…
2025-08-21 19:14.35: Got resource from pool OCluster
Building on phoebe
All commits already cached
Updating files:  66% (12091/18065)
Updating files:  67% (12104/18065)
Updating files:  68% (12285/18065)
Updating files:  69% (12465/18065)
Updating files:  70% (12646/18065)
Updating files:  71% (12827/18065)
Updating files:  72% (13007/18065)
Updating files:  73% (13188/18065)
Updating files:  74% (13369/18065)
Updating files:  75% (13549/18065)
Updating files:  76% (13730/18065)
Updating files:  77% (13911/18065)
Updating files:  78% (14091/18065)
Updating files:  79% (14272/18065)
Updating files:  80% (14452/18065)
Updating files:  81% (14633/18065)
Updating files:  82% (14814/18065)
Updating files:  83% (14994/18065)
Updating files:  84% (15175/18065)
Updating files:  85% (15356/18065)
Updating files:  86% (15536/18065)
Updating files:  87% (15717/18065)
Updating files:  88% (15898/18065)
Updating files:  89% (16078/18065)
Updating files:  90% (16259/18065)
Updating files:  91% (16440/18065)
Updating files:  92% (16620/18065)
Updating files:  93% (16801/18065)
Updating files:  94% (16982/18065)
Updating files:  95% (17162/18065)
Updating files:  96% (17343/18065)
Updating files:  97% (17524/18065)
Updating files:  98% (17704/18065)
Updating files:  99% (17885/18065)
Updating files: 100% (18065/18065)
Updating files: 100% (18065/18065), done.
HEAD is now at 4bae7ec4df Merge pull request #28375 from jmid/opam-compiler-re-bounds
Merge made by the 'ort' strategy.
 packages/curl_lwt/curl_lwt.0.10.0/opam            |  2 +-
 packages/lwt/lwt.6.0.0~alpha01/opam               | 69 +++++++++++++++++++++++
 packages/lwt_direct/lwt_direct.6.0.0~alpha01/opam | 44 +++++++++++++++
 packages/lwt_glib/lwt_glib.1.0.1/opam             |  2 +-
 packages/lwt_glib/lwt_glib.1.1.0/opam             |  2 +-
 packages/lwt_glib/lwt_glib.1.1.1/opam             |  2 +-
 packages/lwt_log/lwt_log.1.1.0/opam               |  2 +-
 packages/lwt_log/lwt_log.1.1.1/opam               |  2 +-
 packages/lwt_log/lwt_log.1.1.2/opam               |  2 +-
 packages/ocurl/ocurl.0.7.6/opam                   |  1 +
 packages/ocurl/ocurl.0.7.7/opam                   |  1 +
 packages/ocurl/ocurl.0.7.8/opam                   |  1 +
 packages/ocurl/ocurl.0.7.9/opam                   |  1 +
 packages/ocurl/ocurl.0.8.1/opam                   |  1 +
 packages/ocurl/ocurl.0.8.2/opam                   |  1 +
 packages/ocurl/ocurl.0.9.0/opam                   |  1 +
 packages/ocurl/ocurl.0.9.1/opam                   |  1 +
 packages/ocurl/ocurl.0.9.2/opam                   |  1 +
 18 files changed, 129 insertions(+), 7 deletions(-)
 create mode 100644 packages/lwt/lwt.6.0.0~alpha01/opam
 create mode 100644 packages/lwt_direct/lwt_direct.6.0.0~alpha01/opam

(from ocaml/opam:debian-12-ocaml-4.14@sha256:30169b3ce5a84172c049cfc64621b66e9a02a7b0431076f872278354c85107fe)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.14@sha256:30169b3ce5a84172c049cfc64621b66e9a02a7b0431076f872278354c85107fe' locally
docker.io/ocaml/opam@sha256:30169b3ce5a84172c049cfc64621b66e9a02a7b0431076f872278354c85107fe: Pulling from ocaml/opam
631b88a6c0d8: Already exists
Digest: sha256:30169b3ce5a84172c049cfc64621b66e9a02a7b0431076f872278354c85107fe
Status: Downloaded newer image for ocaml/opam@sha256:30169b3ce5a84172c049cfc64621b66e9a02a7b0431076f872278354c85107fe
2025-08-21 19:14.39 ---> using "537aca729d05de45d9ac09e3b93ccdc5b8c76937ce3b719ce3df0f2d2da0c7bf" from cache

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-08-21 19:14.39 ---> using "400a87454d6dc7d86051874c3a4a0949638ee09ac6e41621fffb338590d67d99" 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] Initialised
2025-08-21 19:14.39 ---> using "10ebaa77c3950afde6ae5e5ee3d298575b2bb9dd2df8ed8f5a28d586868d5812" 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.3.0 (35acd0c5abc5e66cdbd5be16ba77aa6c33a4c724)
# 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                 71
# repositories         1 (version-controlled)
# pinned               1 (version)
# current-switch       4.14
# invariant            ["ocaml-base-compiler" {= "4.14.2"}]
# compiler-packages    ocaml-base-compiler.4.14.2, ocaml-options-vanilla.1
# ocaml:native         true
# ocaml:native-tools   true
# ocaml:native-dynlink true
# ocaml:stubsdir       /home/opam/.opam/4.14/lib/ocaml/stublibs:/home/opam/.opam/4.14/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       4.14.2
2025-08-21 19:14.39 ---> using "16e0ae132f82e09edc14f39675e45d96c9ea8daab8bb96f94565b25722def473" 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-08-21 19:14.39 ---> using "bb53264e2707ffa34eacebecb828aa1016b7cdf5858e170c6a5766753d7c944d" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2025-08-21 19:14.40 ---> using "131cdfa10de182f1db126a147d6d05c7348d7b43be298cc32b2ea8afd7638c93" from cache

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-08-21 19:14.40 ---> using "1e7b093d43c65b2105be8b3d73a27d040f99726cb29e8f3f3b73aadc2004f951" 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 [274 kB]
- Fetched 378 kB in 0s (919 kB/s)
- Reading package lists...
- 
2025-08-21 19:14.40 ---> using "5693e3d4c22ec04d3f3cd4d0285f9041558b0630d77655a1d7b2589182db92b7" from cache

/home/opam: (run (shell "opam pin add -k version -yn lwt_log.1.1.0 1.1.0"))
lwt_log is now pinned to version 1.1.0
2025-08-21 19:14.40 ---> using "ef4647ad8602d63c8b58a697c705f322e507fc02b67fd388876052fef30e896e" from cache

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall lwt_log.1.1.0;\
                        \n        res=$?;\
                        \n        test \"$res\" != 31 && exit \"$res\";\
                        \n        export OPAMCLI=2.0;\
                        \n        build_dir=$(opam var prefix)/.opam-switch/build;\
                        \n        failed=$(ls \"$build_dir\");\
                        \n        partial_fails=\"\";\
                        \n        for pkg in $failed; do\
                        \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-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\" != 'lwt_log.1.1.0' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
lwt_log.1.1.0 is not installed. Install it? [y/n] y
The following actions will be performed:
=== install 10 packages
  - install base-bytes        base                      [required by ocplib-endian]
  - install cppo              1.8.0                     [required by lwt]
  - install csexp             1.5.2                     [required by dune-configurator]
  - install dune              3.20.0                    [required by lwt]
  - install dune-configurator 3.20.0                    [required by lwt]
  - install jbuilder          1.0+beta20.2 (deprecated) [required by lwt_log]
  - install lwt               5.9.1                     [required by lwt_log]
  - install lwt_log           1.1.0 (pinned)
  - install ocamlfind         1.9.8                     [required by base-bytes]
  - install ocplib-endian     1.2                       [required by lwt]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cppo.1.8.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved dune.3.20.0, dune-configurator.3.20.0  (cached)
-> retrieved jbuilder.1.0+beta20.2  (cached)
-> retrieved lwt.5.9.1  (cached)
-> retrieved lwt_log.1.1.0  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed jbuilder.1.0+beta20.2
-> installed dune.3.20.0
-> installed csexp.1.5.2
-> installed cppo.1.8.0
-> installed ocplib-endian.1.2
-> installed dune-configurator.3.20.0
-> installed lwt.5.9.1
-> installed lwt_log.1.1.0
Done.

<><> jbuilder.1.0+beta20.2 installed successfully <><><><><><><><><><><><><><><>
=> Note: This package is deprecated.
# To update the current shell environment, run: eval $(opam env)
2025-08-21 19:14.40 ---> using "32d4dcd7a17d09e9818512c8c9f0245000bfa20644dc407668a59057119d9a2c" from cache

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall resource-pooling.0.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\" != 'resource-pooling.0.7' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
resource-pooling.0.7 is not installed. Install it? [y/n] y
The following actions will be performed:
=== install 2 packages
  - install ocamlbuild       0.16.1 [required by resource-pooling]
  - install resource-pooling 0.7

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved resource-pooling.0.7  (cached)
-> installed ocamlbuild.0.16.1
-> installed resource-pooling.0.7
Done.
# To update the current shell environment, run: eval $(opam env)
2025-08-21 19:15.13 ---> saved as "2108b2f9c6fd8ad8c81c3e84c65c771cd1d22bf2c249ed5de023d5e89b35049f"

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

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved resource-pooling.0.7  (https://opam.ocaml.org/cache)
-> removed   resource-pooling.0.7
-> installed resource-pooling.0.7
Done.
# To update the current shell environment, run: eval $(opam env)
2025-08-21 19:15.35 ---> saved as "600231733c226ae8fce614fd7b19fcc499299955810ac292f5199d90f3ab043a"

/home/opam: (run (shell  "opam reinstall --with-test --verbose resource-pooling.0.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\" != 'resource-pooling.0.7' && 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 resource-pooling 0.7

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/4: [resource-pooling.0.7: extract]
-> retrieved resource-pooling.0.7  (cached)
Processing  2/4: [resource-pooling: 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/resource-pooling.0.7)
- File "./setup.ml", line 575, characters 4-15:
- 575 |     Stream.from next
-           ^^^^^^^^^^^
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "./setup.ml", line 603, characters 19-36:
- 603 |         let strm = Stream.of_channel chn in
-                          ^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "./setup.ml", line 610, characters 37-48:
- 610 |                 Buffer.add_char buf (Stream.next strm);
-                                            ^^^^^^^^^^^
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "./setup.ml", line 613, characters 17-31:
- 613 |             with Stream.Failure ->
-                        ^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "./setup.ml", line 1431, characters 16-33:
- 1431 |       let lxr = Genlex.make_lexer [] in
-                        ^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "./setup.ml", line 1433, characters 22-38:
- 1433 |         let st = lxr (Stream.of_string s) in
-                              ^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "./setup.ml", line 1434, characters 14-26:
- 1434 |         match Stream.npeek 3 st with
-                      ^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "./setup.ml", line 1435, characters 11-23:
- 1435 |         | [Genlex.Ident fn; Genlex.Ident nm] -> Call(fn, Ident nm)
-                   ^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "./setup.ml", line 1435, characters 28-40:
- 1435 |         | [Genlex.Ident fn; Genlex.Ident nm] -> Call(fn, Ident nm)
-                                    ^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "./setup.ml", line 1436, characters 11-23:
- 1436 |         | [Genlex.Ident fn; Genlex.String str] -> Call(fn, String str)
-                   ^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "./setup.ml", line 1436, characters 28-41:
- 1436 |         | [Genlex.Ident fn; Genlex.String str] -> Call(fn, String str)
-                                    ^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "./setup.ml", line 1437, characters 11-24:
- 1437 |         | [Genlex.String str] -> String str
-                   ^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "./setup.ml", line 1438, characters 11-23:
- 1438 |         | [Genlex.Ident nm] -> Ident nm
-                   ^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "./setup.ml", line 1775, characters 22-40:
- 1775 |         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 3176, characters 8-19:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 3179, characters 21-32:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 3182, characters 18-32:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 3184, characters 6-23:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3187, characters 12-24:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 3188, characters 9-21:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3188, characters 26-36:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3188, characters 42-55:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3189, characters 8-19:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 3189, characters 25-36:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 3189, characters 42-53:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 3201, characters 17-34:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 3326, characters 16-33:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3345, characters 22-38:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 3347, characters 17-29:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 3348, characters 16-28:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3348, characters 37-49:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3350, characters 16-28:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3350, characters 37-50:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3352, characters 16-28:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3352, characters 46-58:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3354, characters 16-28:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3354, characters 46-59:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3356, characters 16-28:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3369, characters 13-25:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 3467, 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 4518, characters 21-38:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 4520, characters 19-31:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 4521, characters 16-29:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 4521, characters 33-46:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 4523, characters 15-26:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 4523, characters 32-43:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- 
- 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: ........................................ resource-pooling
- Package version: ..................................... 0.7
- 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.8
- 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: .........................
- Create documentations: ............................... true
- Compile tests executable and library and run them: ... false
- pkg_lwt: ............................................. /home/opam/.opam/4.14/lib/lwt
- pkg_lwt_log: ......................................... /home/opam/.opam/4.14/lib/lwt_log
- 
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "ocaml" "setup.ml" "-build" (CWD=/home/opam/.opam/4.14/.opam-switch/build/resource-pooling.0.7)
- File "./setup.ml", line 575, characters 4-15:
- 575 |     Stream.from next
-           ^^^^^^^^^^^
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "./setup.ml", line 603, characters 19-36:
- 603 |         let strm = Stream.of_channel chn in
-                          ^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "./setup.ml", line 610, characters 37-48:
- 610 |                 Buffer.add_char buf (Stream.next strm);
-                                            ^^^^^^^^^^^
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "./setup.ml", line 613, characters 17-31:
- 613 |             with Stream.Failure ->
-                        ^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "./setup.ml", line 1431, characters 16-33:
- 1431 |       let lxr = Genlex.make_lexer [] in
-                        ^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "./setup.ml", line 1433, characters 22-38:
- 1433 |         let st = lxr (Stream.of_string s) in
-                              ^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "./setup.ml", line 1434, characters 14-26:
- 1434 |         match Stream.npeek 3 st with
-                      ^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "./setup.ml", line 1435, characters 11-23:
- 1435 |         | [Genlex.Ident fn; Genlex.Ident nm] -> Call(fn, Ident nm)
-                   ^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "./setup.ml", line 1435, characters 28-40:
- 1435 |         | [Genlex.Ident fn; Genlex.Ident nm] -> Call(fn, Ident nm)
-                                    ^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "./setup.ml", line 1436, characters 11-23:
- 1436 |         | [Genlex.Ident fn; Genlex.String str] -> Call(fn, String str)
-                   ^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "./setup.ml", line 1436, characters 28-41:
- 1436 |         | [Genlex.Ident fn; Genlex.String str] -> Call(fn, String str)
-                                    ^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "./setup.ml", line 1437, characters 11-24:
- 1437 |         | [Genlex.String str] -> String str
-                   ^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "./setup.ml", line 1438, characters 11-23:
- 1438 |         | [Genlex.Ident nm] -> Ident nm
-                   ^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "./setup.ml", line 1775, characters 22-40:
- 1775 |         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 3176, characters 8-19:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 3179, characters 21-32:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 3182, characters 18-32:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 3184, characters 6-23:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3187, characters 12-24:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 3188, characters 9-21:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3188, characters 26-36:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3188, characters 42-55:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3189, characters 8-19:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 3189, characters 25-36:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 3189, characters 42-53:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 3201, characters 17-34:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 3326, characters 16-33:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3345, characters 22-38:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 3347, characters 17-29:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 3348, characters 16-28:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3348, characters 37-49:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3350, characters 16-28:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3350, characters 37-50:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3352, characters 16-28:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3352, characters 46-58:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3354, characters 16-28:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3354, characters 46-59:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3356, characters 16-28:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3369, characters 13-25:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 3467, 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 4518, characters 21-38:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 4520, characters 19-31:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 4521, characters 16-29:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 4521, characters 33-46:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 4523, characters 15-26:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 4523, characters 32-43:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- + ocamlfind ocamlc -config
- + ocamlfind ocamlopt unix.cmxa -I /home/opam/.opam/4.14/lib/ocamlbuild /home/opam/.opam/4.14/lib/ocamlbuild/ocamlbuildlib.cmxa -linkpkg myocamlbuild.ml /home/opam/.opam/4.14/lib/ocamlbuild/ocamlbuild.cmx -o myocamlbuild
- + ocamlfind ocamlc -config
- + /home/opam/.opam/4.14/bin/ocamlfind ocamldep -package lwt_log -package lwt -modules src/resource_pool.mli > src/resource_pool.mli.depends
- + /home/opam/.opam/4.14/bin/ocamlfind ocamlc -c -g -annot -bin-annot -package lwt_log -package lwt -I src -o src/resource_pool.cmi src/resource_pool.mli
- + /home/opam/.opam/4.14/bin/ocamlfind ocamlc -c -g -annot -bin-annot -package lwt_log -package lwt -I src -o src/resource_pool.cmi src/resource_pool.mli
- ocamlfind: [WARNING] Package `threads': Linking problems may arise because of the missing -thread or -vmthread switch
- + /home/opam/.opam/4.14/bin/ocamlfind ocamldep -package lwt_log -package lwt -modules src/resource_pool.ml > src/resource_pool.ml.depends
- + /home/opam/.opam/4.14/bin/ocamlfind ocamldep -package lwt_log -package lwt -modules src/server_pool.mli > src/server_pool.mli.depends
- + /home/opam/.opam/4.14/bin/ocamlfind ocamlc -c -g -annot -bin-annot -package lwt_log -package lwt -I src -o src/server_pool.cmi src/server_pool.mli
- + /home/opam/.opam/4.14/bin/ocamlfind ocamlc -c -g -annot -bin-annot -package lwt_log -package lwt -I src -o src/server_pool.cmi src/server_pool.mli
- ocamlfind: [WARNING] Package `threads': Linking problems may arise because of the missing -thread or -vmthread switch
- + /home/opam/.opam/4.14/bin/ocamlfind ocamldep -package lwt_log -package lwt -modules src/server_pool.ml > src/server_pool.ml.depends
- + /home/opam/.opam/4.14/bin/ocamlfind ocamlc -c -g -annot -bin-annot -package lwt_log -package lwt -I src -o src/resource_pool.cmo src/resource_pool.ml
- + /home/opam/.opam/4.14/bin/ocamlfind ocamlc -c -g -annot -bin-annot -package lwt_log -package lwt -I src -o src/resource_pool.cmo src/resource_pool.ml
- ocamlfind: [WARNING] Package `threads': Linking problems may arise because of the missing -thread or -vmthread switch
- File "src/resource_pool.ml", line 21, characters 2-27:
- 21 |   mutable node_prev : 'a t;
-        ^^^^^^^^^^^^^^^^^^^^^^^^^
- Warning 69 [unused-field]: mutable record field node_prev is never mutated.
- File "src/resource_pool.ml", line 22, characters 2-27:
- 22 |   mutable node_next : 'a t;
-        ^^^^^^^^^^^^^^^^^^^^^^^^^
- Warning 69 [unused-field]: mutable record field node_next is never mutated.
- + /home/opam/.opam/4.14/bin/ocamlfind ocamlc -c -g -annot -bin-annot -package lwt_log -package lwt -I src -o src/server_pool.cmo src/server_pool.ml
- + /home/opam/.opam/4.14/bin/ocamlfind ocamlc -c -g -annot -bin-annot -package lwt_log -package lwt -I src -o src/server_pool.cmo src/server_pool.ml
- ocamlfind: [WARNING] Package `threads': Linking problems may arise because of the missing -thread or -vmthread switch
- + /home/opam/.opam/4.14/bin/ocamlfind ocamlc -a -I src src/resource_pool.cmo src/server_pool.cmo -o src/resource-pooling.cma
- + /home/opam/.opam/4.14/bin/ocamlfind ocamlopt -c -g -annot -bin-annot -package lwt_log -package lwt -I src -o src/resource_pool.cmx src/resource_pool.ml
- + /home/opam/.opam/4.14/bin/ocamlfind ocamlopt -c -g -annot -bin-annot -package lwt_log -package lwt -I src -o src/resource_pool.cmx src/resource_pool.ml
- ocamlfind: [WARNING] Package `threads': Linking problems may arise because of the missing -thread or -vmthread switch
- File "src/resource_pool.ml", line 21, characters 2-27:
- 21 |   mutable node_prev : 'a t;
-        ^^^^^^^^^^^^^^^^^^^^^^^^^
- Warning 69 [unused-field]: mutable record field node_prev is never mutated.
- File "src/resource_pool.ml", line 22, characters 2-27:
- 22 |   mutable node_next : 'a t;
-        ^^^^^^^^^^^^^^^^^^^^^^^^^
- Warning 69 [unused-field]: mutable record field node_next is never mutated.
- + /home/opam/.opam/4.14/bin/ocamlfind ocamlopt -c -g -annot -bin-annot -package lwt_log -package lwt -I src -o src/server_pool.cmx src/server_pool.ml
- + /home/opam/.opam/4.14/bin/ocamlfind ocamlopt -c -g -annot -bin-annot -package lwt_log -package lwt -I src -o src/server_pool.cmx src/server_pool.ml
- ocamlfind: [WARNING] Package `threads': Linking problems may arise because of the missing -thread or -vmthread switch
- + /home/opam/.opam/4.14/bin/ocamlfind ocamlopt -a -I src src/resource_pool.cmx src/server_pool.cmx -o src/resource-pooling.cmxa
- + /home/opam/.opam/4.14/bin/ocamlfind ocamlopt -shared -I src src/resource-pooling.cmxa src/resource_pool.cmx src/server_pool.cmx -o src/resource-pooling.cmxs
- + ocamlfind ocamlopt unix.cmxa -I /home/opam/.opam/4.14/lib/ocamlbuild /home/opam/.opam/4.14/lib/ocamlbuild/ocamlbuildlib.cmxa -linkpkg myocamlbuild.ml /home/opam/.opam/4.14/lib/ocamlbuild/ocamlbuild.cmx -o myocamlbuild
- File "myocamlbuild.ml", line 454, characters 8-19:
- 454 |         Stream.from
-               ^^^^^^^^^^^
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "myocamlbuild.ml", line 457, characters 21-32:
- 457 |                match Stream.next st with
-                            ^^^^^^^^^^^
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "myocamlbuild.ml", line 460, characters 18-32:
- 460 |              with Stream.Failure -> None)
-                         ^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "myocamlbuild.ml", line 462, characters 6-23:
- 462 |       Genlex.make_lexer ["="] st_line
-             ^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "myocamlbuild.ml", line 465, characters 12-24:
- 465 |       match Stream.npeek 3 lxr with
-                   ^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "myocamlbuild.ml", line 466, characters 9-21:
- 466 |       | [Genlex.Ident nm; Genlex.Kwd "="; Genlex.String value] ->
-                ^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "myocamlbuild.ml", line 466, characters 26-36:
- 466 |       | [Genlex.Ident nm; Genlex.Kwd "="; Genlex.String value] ->
-                                 ^^^^^^^^^^
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "myocamlbuild.ml", line 466, characters 42-55:
- 466 |       | [Genlex.Ident nm; Genlex.Kwd "="; Genlex.String value] ->
-                                                 ^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "myocamlbuild.ml", line 467, characters 8-19:
- 467 |         Stream.junk lxr; Stream.junk lxr; Stream.junk lxr;
-               ^^^^^^^^^^^
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "myocamlbuild.ml", line 467, characters 25-36:
- 467 |         Stream.junk lxr; Stream.junk lxr; Stream.junk lxr;
-                                ^^^^^^^^^^^
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "myocamlbuild.ml", line 467, characters 42-53:
- 467 |         Stream.junk lxr; Stream.junk lxr; Stream.junk lxr;
-                                                 ^^^^^^^^^^^
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "myocamlbuild.ml", line 479, characters 17-34:
- 479 |         let st = Stream.of_channel chn in
-                        ^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
-> compiled  resource-pooling.0.7
Processing  3/4: [resource-pooling: ocamlfind remove]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "remove" "ocamlfind" "remove" "resource-pooling"
- Removed /home/opam/.opam/4.14/lib/resource-pooling/META
- Removed /home/opam/.opam/4.14/lib/resource-pooling
-> removed   resource-pooling.0.7
Processing  4/4: [resource-pooling: 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/resource-pooling.0.7)
- File "./setup.ml", line 575, characters 4-15:
- 575 |     Stream.from next
-           ^^^^^^^^^^^
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "./setup.ml", line 603, characters 19-36:
- 603 |         let strm = Stream.of_channel chn in
-                          ^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "./setup.ml", line 610, characters 37-48:
- 610 |                 Buffer.add_char buf (Stream.next strm);
-                                            ^^^^^^^^^^^
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "./setup.ml", line 613, characters 17-31:
- 613 |             with Stream.Failure ->
-                        ^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "./setup.ml", line 1431, characters 16-33:
- 1431 |       let lxr = Genlex.make_lexer [] in
-                        ^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "./setup.ml", line 1433, characters 22-38:
- 1433 |         let st = lxr (Stream.of_string s) in
-                              ^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "./setup.ml", line 1434, characters 14-26:
- 1434 |         match Stream.npeek 3 st with
-                      ^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "./setup.ml", line 1435, characters 11-23:
- 1435 |         | [Genlex.Ident fn; Genlex.Ident nm] -> Call(fn, Ident nm)
-                   ^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "./setup.ml", line 1435, characters 28-40:
- 1435 |         | [Genlex.Ident fn; Genlex.Ident nm] -> Call(fn, Ident nm)
-                                    ^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "./setup.ml", line 1436, characters 11-23:
- 1436 |         | [Genlex.Ident fn; Genlex.String str] -> Call(fn, String str)
-                   ^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "./setup.ml", line 1436, characters 28-41:
- 1436 |         | [Genlex.Ident fn; Genlex.String str] -> Call(fn, String str)
-                                    ^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "./setup.ml", line 1437, characters 11-24:
- 1437 |         | [Genlex.String str] -> String str
-                   ^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "./setup.ml", line 1438, characters 11-23:
- 1438 |         | [Genlex.Ident nm] -> Ident nm
-                   ^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "./setup.ml", line 1775, characters 22-40:
- 1775 |         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 3176, characters 8-19:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 3179, characters 21-32:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 3182, characters 18-32:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 3184, characters 6-23:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3187, characters 12-24:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 3188, characters 9-21:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3188, characters 26-36:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3188, characters 42-55:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3189, characters 8-19:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 3189, characters 25-36:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 3189, characters 42-53:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 3201, characters 17-34:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 3326, characters 16-33:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3345, characters 22-38:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 3347, characters 17-29:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 3348, characters 16-28:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3348, characters 37-49:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3350, characters 16-28:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3350, characters 37-50:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3352, characters 16-28:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3352, characters 46-58:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3354, characters 16-28:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3354, characters 46-59:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3356, characters 16-28:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3369, characters 13-25:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 3467, 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 4518, characters 21-38:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 4520, characters 19-31:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 4521, characters 16-29:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 4521, characters 33-46:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 4523, characters 15-26:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 4523, characters 32-43:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- Installed /home/opam/.opam/4.14/lib/resource-pooling/resource_pool.mli
- Installed /home/opam/.opam/4.14/lib/resource-pooling/server_pool.mli
- Installed /home/opam/.opam/4.14/lib/resource-pooling/resource-pooling.cma
- Installed /home/opam/.opam/4.14/lib/resource-pooling/resource-pooling.cmxa
- Installed /home/opam/.opam/4.14/lib/resource-pooling/resource-pooling.a
- Installed /home/opam/.opam/4.14/lib/resource-pooling/resource-pooling.cmxs
- Installed /home/opam/.opam/4.14/lib/resource-pooling/server_pool.cmi
- Installed /home/opam/.opam/4.14/lib/resource-pooling/server_pool.cmti
- Installed /home/opam/.opam/4.14/lib/resource-pooling/server_pool.cmt
- Installed /home/opam/.opam/4.14/lib/resource-pooling/server_pool.annot
- Installed /home/opam/.opam/4.14/lib/resource-pooling/resource_pool.cmi
- Installed /home/opam/.opam/4.14/lib/resource-pooling/resource_pool.cmti
- Installed /home/opam/.opam/4.14/lib/resource-pooling/resource_pool.cmt
- Installed /home/opam/.opam/4.14/lib/resource-pooling/resource_pool.annot
- Installed /home/opam/.opam/4.14/lib/resource-pooling/server_pool.cmx
- Installed /home/opam/.opam/4.14/lib/resource-pooling/resource_pool.cmx
- Installed /home/opam/.opam/4.14/lib/resource-pooling/META
-> installed resource-pooling.0.7
Done.
# To update the current shell environment, run: eval $(opam env)
2025-08-21 19:15.56 ---> saved as "1c147197c2ef01d080c736b07aa28b72953263e4ad8c0de5d7e51156e94e473e"
Job succeeded
2025-08-21 19:16.07: Job succeeded