(not at the head of any monitored branch or PR)
2022-07-26 15:58.06: New job: test nlopt-ocaml.0.5.1 with ounit2.2.2.0, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/21354/head (10b49fadb0efcff442ed8cae85f7cc119fe28629)
                              on debian-11-ocaml-4.14/amd64

To reproduce locally:

git clone --recursive "https://github.com/ocaml/opam-repository.git" && cd "opam-repository" && git fetch origin "refs/pull/21354/head" && git reset --hard 10b49fad
git fetch origin master
git merge 42e749bdca1e36a9f7bbef60b3507d34c6c57fa3
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-11-ocaml-4.14@sha256:1461d919411f5999f6d7ffd573b9b5385cda91accf83d3866b26097e791220be
USER 1000:1000
WORKDIR /home/opam
RUN for pkg in $(opam pin list --short); do opam pin remove "$pkg"; done
RUN opam repository remove -a multicore || true
RUN sudo ln -f /usr/bin/opam-dev /usr/bin/opam
RUN opam init --reinit -ni
ENV OPAMDOWNLOADJOBS="1"
ENV OPAMERRLOGLEN="0"
ENV OPAMSOLVERTIMEOUT="500"
ENV OPAMPRECISETRACKING="1"
RUN rm -rf opam-repository/
COPY --chown=1000:1000 . opam-repository/
RUN opam repository set-url --strict default opam-repository/
RUN opam pin add -k version -yn ounit2.2.2.0 2.2.0
RUN opam update --depexts
RUN opam remove ounit2.2.2.0 && opam install --deps-only ounit2.2.2.0 && opam install -v ounit2.2.2.0; \
    res=$?; \
    test "$res" != 31 && exit "$res"; \
    export OPAMCLI=2.0; \
    build_dir=$(opam var prefix)/.opam-switch/build; \
    failed=$(ls "$build_dir"); \
    for pkg in $failed; do \
    if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-11\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    done; \
    exit 1
RUN opam update --depexts
RUN opam remove nlopt-ocaml.0.5.1 && opam install --deps-only nlopt-ocaml.0.5.1 && opam install -v nlopt-ocaml.0.5.1; \
    res=$?; \
    test "$res" != 31 && exit "$res"; \
    export OPAMCLI=2.0; \
    build_dir=$(opam var prefix)/.opam-switch/build; \
    failed=$(ls "$build_dir"); \
    for pkg in $failed; do \
    if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-11\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    done; \
    exit 1
RUN opam update --depexts
RUN opam remove nlopt-ocaml.0.5.1 && opam install --deps-only --with-test nlopt-ocaml.0.5.1 && opam install -v --with-test nlopt-ocaml.0.5.1; \
    res=$?; \
    test "$res" != 31 && exit "$res"; \
    export OPAMCLI=2.0; \
    build_dir=$(opam var prefix)/.opam-switch/build; \
    failed=$(ls "$build_dir"); \
    for pkg in $failed; do \
    if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-11\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    done; \
    exit 1

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

2022-07-26 15:58.06: Using cache hint "ocaml/opam:debian-11-ocaml-4.14@sha256:1461d919411f5999f6d7ffd573b9b5385cda91accf83d3866b26097e791220be-ounit2.2.2.0-nlopt-ocaml.0.5.1-10b49fadb0efcff442ed8cae85f7cc119fe28629"
2022-07-26 15:58.06: Using OBuilder spec:
((from ocaml/opam:debian-11-ocaml-4.14@sha256:1461d919411f5999f6d7ffd573b9b5385cda91accf83d3866b26097e791220be)
 (user (uid 1000) (gid 1000))
 (workdir /home/opam)
 (run (shell "for pkg in $(opam pin list --short); do opam pin remove \"$pkg\"; done"))
 (run (shell "opam repository remove -a multicore || true"))
 (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
 (run (shell "opam init --reinit --config .opamrc-sandbox -ni"))
 (env OPAMDOWNLOADJOBS 1)
 (env OPAMERRLOGLEN 0)
 (env OPAMSOLVERTIMEOUT 500)
 (env OPAMPRECISETRACKING 1)
 (run (shell "rm -rf opam-repository/"))
 (copy (src .) (dst opam-repository/))
 (run (shell "opam repository set-url --strict default opam-repository/"))
 (run (shell "opam pin add -k version -yn ounit2.2.2.0 2.2.0"))
 (run (network host)
      (shell "opam update --depexts"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam remove ounit2.2.2.0 && opam install --deps-only ounit2.2.2.0 && opam install -v ounit2.2.2.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        for pkg in $failed; do\
             \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-11\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n        done;\
             \n        exit 1"))
 (run (network host)
      (shell "opam update --depexts"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam remove nlopt-ocaml.0.5.1 && opam install --deps-only nlopt-ocaml.0.5.1 && opam install -v nlopt-ocaml.0.5.1;\
             \n        res=$?;\
             \n        test \"$res\" != 31 && exit \"$res\";\
             \n        export OPAMCLI=2.0;\
             \n        build_dir=$(opam var prefix)/.opam-switch/build;\
             \n        failed=$(ls \"$build_dir\");\
             \n        for pkg in $failed; do\
             \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-11\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n        done;\
             \n        exit 1"))
 (run (network host)
      (shell "opam update --depexts"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam remove nlopt-ocaml.0.5.1 && opam install --deps-only --with-test nlopt-ocaml.0.5.1 && opam install -v --with-test nlopt-ocaml.0.5.1;\
             \n        res=$?;\
             \n        test \"$res\" != 31 && exit \"$res\";\
             \n        export OPAMCLI=2.0;\
             \n        build_dir=$(opam var prefix)/.opam-switch/build;\
             \n        failed=$(ls \"$build_dir\");\
             \n        for pkg in $failed; do\
             \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-11\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n        done;\
             \n        exit 1"))
)

2022-07-26 15:58.06: Waiting for resource in pool OCluster
2022-07-27 04:53.43: Waiting for worker...
2022-07-27 04:55.34: Got resource from pool OCluster
Building on laodoke.ocamllabs.io
All commits already cached
Updating files:  22% (6061/26809)
Updating files:  23% (6167/26809)
Updating files:  24% (6435/26809)
Updating files:  25% (6703/26809)
Updating files:  26% (6971/26809)
Updating files:  27% (7239/26809)
Updating files:  28% (7507/26809)
Updating files:  29% (7775/26809)
Updating files:  30% (8043/26809)
Updating files:  31% (8311/26809)
Updating files:  32% (8579/26809)
Updating files:  33% (8847/26809)
Updating files:  34% (9116/26809)
Updating files:  35% (9384/26809)
Updating files:  36% (9652/26809)
Updating files:  37% (9920/26809)
Updating files:  38% (10188/26809)
Updating files:  39% (10456/26809)
Updating files:  40% (10724/26809)
Updating files:  41% (10992/26809)
Updating files:  42% (11260/26809)
Updating files:  43% (11528/26809)
Updating files:  44% (11796/26809)
Updating files:  45% (12065/26809)
Updating files:  45% (12189/26809)
Updating files:  46% (12333/26809)
Updating files:  47% (12601/26809)
Updating files:  48% (12869/26809)
Updating files:  49% (13137/26809)
Updating files:  50% (13405/26809)
Updating files:  51% (13673/26809)
Updating files:  52% (13941/26809)
Updating files:  53% (14209/26809)
Updating files:  54% (14477/26809)
Updating files:  55% (14745/26809)
Updating files:  56% (15014/26809)
Updating files:  57% (15282/26809)
Updating files:  58% (15550/26809)
Updating files:  59% (15818/26809)
Updating files:  60% (16086/26809)
Updating files:  61% (16354/26809)
Updating files:  62% (16622/26809)
Updating files:  63% (16890/26809)
Updating files:  64% (17158/26809)
Updating files:  65% (17426/26809)
Updating files:  66% (17694/26809)
Updating files:  67% (17963/26809)
Updating files:  68% (18231/26809)
Updating files:  68% (18247/26809)
Updating files:  69% (18499/26809)
Updating files:  70% (18767/26809)
Updating files:  71% (19035/26809)
Updating files:  72% (19303/26809)
Updating files:  73% (19571/26809)
Updating files:  74% (19839/26809)
Updating files:  75% (20107/26809)
Updating files:  76% (20375/26809)
Updating files:  77% (20643/26809)
Updating files:  78% (20912/26809)
Updating files:  79% (21180/26809)
Updating files:  80% (21448/26809)
Updating files:  81% (21716/26809)
Updating files:  82% (21984/26809)
Updating files:  83% (22252/26809)
Updating files:  84% (22520/26809)
Updating files:  85% (22788/26809)
Updating files:  86% (23056/26809)
Updating files:  87% (23324/26809)
Updating files:  88% (23592/26809)
Updating files:  89% (23861/26809)
Updating files:  90% (24129/26809)
Updating files:  91% (24397/26809)
Updating files:  92% (24665/26809)
Updating files:  93% (24933/26809)
Updating files:  94% (25201/26809)
Updating files:  95% (25469/26809)
Updating files:  96% (25737/26809)
Updating files:  97% (26005/26809)
Updating files:  98% (26273/26809)
Updating files:  99% (26541/26809)
Updating files: 100% (26809/26809)
Updating files: 100% (26809/26809), done.
HEAD is now at 42e749bdca Merge pull request #21885 from kit-ty-kate/fix-123
Merge made by the 'ort' strategy.
Auto packing the repository in the background for optimum performance.
See "git help gc" for manual housekeeping.
warning: The last gc run reported the following. Please correct the root cause
and remove .git/gc.log
Automatic cleanup will not be performed until the file is removed.

warning: There are too many unreachable loose objects; run 'git prune' to remove them.

 packages/ounit2/ounit2.2.2.0/opam | 3 +++
 packages/ounit2/ounit2.2.2.1/opam | 3 +++
 packages/ounit2/ounit2.2.2.2/opam | 3 +++
 packages/ounit2/ounit2.2.2.3/opam | 3 +++
 packages/ounit2/ounit2.2.2.4/opam | 3 +++
 packages/ounit2/ounit2.2.2.5/opam | 3 +++
 packages/ounit2/ounit2.2.2.6/opam | 3 +++
 7 files changed, 21 insertions(+)

(from ocaml/opam:debian-11-ocaml-4.14@sha256:1461d919411f5999f6d7ffd573b9b5385cda91accf83d3866b26097e791220be)
2022-07-27 04:55.58 ---> using "d837bbe1b6e58c32e942b55a1eb695ef30d2cac63c8a5d708beb3548d17192b4" from cache

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

/: (workdir /home/opam)

/home/opam: (run (shell "for pkg in $(opam pin list --short); do opam pin remove \"$pkg\"; done"))
Ok, ocaml-base-compiler is no longer pinned to https://github.com/ocaml/ocaml/archive/4.14.0.tar.gz (version 4.14.0)
No package build needed.
Nothing to do.
# Run eval $(opam env) to update the current shell environment
2022-07-27 04:55.58 ---> using "543d29c04ee698e03faf7cfdc4bb3cf9e04a80ab924d981f1055393f1479d117" from cache

/home/opam: (run (shell "opam repository remove -a multicore || true"))
[WARNING] No configured repositories by these names found: multicore
2022-07-27 04:55.58 ---> using "e8a5c58b05459f7be98d7b03e29623d3a05b15b34833b50ebffb60eff7871cde" from cache

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2022-07-27 04:55.58 ---> using "4687a20afa7557b4b2498b537430ed75c7b51cd6cad60d9c4757ff852befb1a7" from cache

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

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

Continue? [y/n] y
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2022-07-27 04:55.58 ---> using "87c4051d859f505ce794fbdc2ed87105744babed536dd4b09731a9b1e22fd3d4" from cache

/home/opam: (env OPAMDOWNLOADJOBS 1)

/home/opam: (env OPAMERRLOGLEN 0)

/home/opam: (env OPAMSOLVERTIMEOUT 500)

/home/opam: (env OPAMPRECISETRACKING 1)

/home/opam: (run (shell "rm -rf opam-repository/"))
2022-07-27 04:55.58 ---> using "96a067e6b08152c0f77ff1628817c13e12ac3db1ba1ac882a90278edcbb3d011" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2022-07-27 04:56.00 ---> using "5ce106567f73501cd746c3358ba50b49e5b3ad28d47e7894c1f65b44fcda87e7" from cache

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2022-07-27 04:56.00 ---> using "0981e55d831537155c9e161d0ab37d0aeee18cf4c3d1dbad8143304b4c508a5d" from cache

/home/opam: (run (shell "opam pin add -k version -yn ounit2.2.2.0 2.2.0"))
ounit2 is now pinned to version 2.2.0
2022-07-27 04:56.00 ---> using "a5b811fe2c6ab2fd90efb98285ea9db0346a5de8dadc9481e3cd36fb68f11371" from cache

/home/opam: (run (network host)
                 (shell "opam update --depexts"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian bullseye InRelease
- Get:2 http://deb.debian.org/debian-security bullseye-security InRelease [48.4 kB]
- Get:3 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB]
- Get:4 http://deb.debian.org/debian-security bullseye-security/main amd64 Packages [168 kB]
- Fetched 261 kB in 0s (574 kB/s)
- Reading package lists...
- 
2022-07-27 04:56.00 ---> using "db2d7bb6f3a492dbe20e0d4ddb4733d768da5e64ce8f97c3cbc89325acd13b48" from cache

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam remove ounit2.2.2.0 && opam install --deps-only ounit2.2.2.0 && opam install -v ounit2.2.2.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        for pkg in $failed; do\
                        \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-11\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n        done;\
                        \n        exit 1"))
[NOTE] ounit2.2.2.0 is not installed.

Nothing to do.
The following actions will be performed:
=== install 4 packages
  - install base-bytes   base  [required by ounit2]
  - install dune         3.4.1 [required by ounit2]
  - install ocamlfind    1.9.5 [required by base-bytes]
  - install stdlib-shims 0.3.0 [required by ounit2]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.3.4.1  (cached)
-> retrieved ocamlfind.1.9.5  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> installed ocamlfind.1.9.5
-> installed base-bytes.base
-> installed dune.3.4.1
-> installed stdlib-shims.0.3.0
Done.
# Run eval $(opam env) to update the current shell environment
The following actions will be performed:
=== install 1 package
  - install ounit2 2.2.0 (pinned)

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/3:
-> retrieved ounit2.2.2.0  (cached)
Processing  2/3: [ounit2: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "ounit2" "-j" "31" (CWD=/home/opam/.opam/4.14/.opam-switch/build/ounit2.2.2.0)
- (cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w -40 -g -bin-annot -I src/lib/ounit2/advanced/.oUnitAdvanced.objs/byte -I /home/opam/.opam/4.14/lib/stdlib-shims -no-alias-deps -o src/lib/ounit2/advanced/.oUnitAdvanced.objs/byte/oUnitAssert.cmo -c -impl src/lib/ounit2/advanced/oUnitAssert.ml)
- File "src/lib/ounit2/advanced/oUnitAssert.ml", line 130, characters 13-27:
- 130 |     ?(sinput=Stream.of_list [])
-                    ^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "src/lib/ounit2/advanced/oUnitAssert.ml", line 270, characters 13-24:
- 270 |              Stream.iter
-                    ^^^^^^^^^^^
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "src/lib/ounit2/advanced/oUnitAssert.ml", line 315, characters 26-43:
- 315 |                  foutput (Stream.of_channel chn)
-                                 ^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- (cd _build/default && /home/opam/.opam/4.14/bin/ocamlopt.opt -w -40 -g -I src/lib/ounit2/advanced/.oUnitAdvanced.objs/byte -I src/lib/ounit2/advanced/.oUnitAdvanced.objs/native -I /home/opam/.opam/4.14/lib/stdlib-shims -intf-suffix .ml -no-alias-deps -o src/lib/ounit2/advanced/.oUnitAdvanced.objs/native/oUnitAssert.cmx -c -impl src/lib/ounit2/advanced/oUnitAssert.ml)
- File "src/lib/ounit2/advanced/oUnitAssert.ml", line 130, characters 13-27:
- 130 |     ?(sinput=Stream.of_list [])
-                    ^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "src/lib/ounit2/advanced/oUnitAssert.ml", line 270, characters 13-24:
- 270 |              Stream.iter
-                    ^^^^^^^^^^^
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "src/lib/ounit2/advanced/oUnitAssert.ml", line 315, characters 26-43:
- 315 |                  foutput (Stream.of_channel chn)
-                                 ^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- (cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w -40 -g -bin-annot -I src/lib/ounit2/.oUnit.objs/byte -I /home/opam/.opam/4.14/lib/stdlib-shims -I src/lib/ounit2/advanced/.oUnitAdvanced.objs/byte -no-alias-deps -o src/lib/ounit2/.oUnit.objs/byte/oUnit2.cmi -c -intf src/lib/ounit2/oUnit2.mli)
- File "src/lib/ounit2/oUnit2.mli", line 88, characters 17-25:
- 88 |     ?sinput:char Stream.t ->
-                       ^^^^^^^^
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "src/lib/ounit2/oUnit2.mli", line 89, characters 19-27:
- 89 |     ?foutput:(char Stream.t -> unit) ->
-                         ^^^^^^^^
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- (cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w -40 -g -bin-annot -I src/lib/ounit2/.oUnit.objs/byte -I /home/opam/.opam/4.14/lib/stdlib-shims -I src/lib/ounit2/advanced/.oUnitAdvanced.objs/byte -no-alias-deps -o src/lib/ounit2/.oUnit.objs/byte/oUnit.cmi -c -intf src/lib/ounit2/oUnit.mli)
- File "src/lib/ounit2/oUnit.mli", line 80, characters 17-25:
- 80 |     ?sinput:char Stream.t ->
-                       ^^^^^^^^
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "src/lib/ounit2/oUnit.mli", line 81, characters 19-27:
- 81 |     ?foutput:(char Stream.t -> unit) ->
-                         ^^^^^^^^
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- (cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w -40 -g -bin-annot -I src/lib/ounit2/threads/.oUnitThreads.objs/byte -I src/lib/ounit2/threads/.oUnitThreads.objs/public_cmi -I /home/opam/.opam/4.14/lib/ocaml/threads -I /home/opam/.opam/4.14/lib/stdlib-shims -I src/lib/ounit2/.oUnit.objs/byte -I src/lib/ounit2/advanced/.oUnitAdvanced.objs/byte -no-alias-deps -open OUnitThreads__ -o src/lib/ounit2/threads/.oUnitThreads.objs/byte/oUnitThreads__OUnitRunnerThreads.cmo -c -impl src/lib/ounit2/threads/oUnitRunnerThreads.ml)
- File "src/lib/ounit2/threads/oUnitRunnerThreads.ml", line 147, characters 8-19:
- 147 |         Thread.kill thread;
-               ^^^^^^^^^^^
- Alert deprecated: Thread.kill
- Not implemented, do not use
- (cd _build/default && /home/opam/.opam/4.14/bin/ocamlopt.opt -w -40 -g -I src/lib/ounit2/threads/.oUnitThreads.objs/byte -I src/lib/ounit2/threads/.oUnitThreads.objs/native -I src/lib/ounit2/threads/.oUnitThreads.objs/public_cmi -I /home/opam/.opam/4.14/lib/ocaml/threads -I /home/opam/.opam/4.14/lib/stdlib-shims -I src/lib/ounit2/.oUnit.objs/byte -I src/lib/ounit2/.oUnit.objs/native -I src/lib/ounit2/advanced/.oUnitAdvanced.objs/byte -I src/lib/ounit2/advanced/.oUnitAdvanced.objs/native -intf-suffix .ml -no-alias-deps -open OUnitThreads__ -o src/lib/ounit2/threads/.oUnitThreads.objs/native/oUnitThreads__OUnitRunnerThreads.cmx -c -impl src/lib/ounit2/threads/oUnitRunnerThreads.ml)
- File "src/lib/ounit2/threads/oUnitRunnerThreads.ml", line 147, characters 8-19:
- 147 |         Thread.kill thread;
-               ^^^^^^^^^^^
- Alert deprecated: Thread.kill
- Not implemented, do not use
-> compiled  ounit2.2.2.0
-> installed ounit2.2.2.0
Done.
# Run eval $(opam env) to update the current shell environment
2022-07-27 04:56.01 ---> using "549816a256be73d9a20d8aac9e10b779e4fdffd8e09de149b8d5e327ac84c14f" from cache

/home/opam: (run (network host)
                 (shell "opam update --depexts"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian bullseye InRelease
- Hit:2 http://deb.debian.org/debian-security bullseye-security InRelease
- Hit:3 http://deb.debian.org/debian bullseye-updates InRelease
- Reading package lists...
- 
2022-07-27 04:56.01 ---> using "ed77e423a302c60a5809ee2b791a97889b346ae238a3ae55d40f898cb095304c" from cache

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam remove nlopt-ocaml.0.5.1 && opam install --deps-only nlopt-ocaml.0.5.1 && opam install -v nlopt-ocaml.0.5.1;\
                        \n        res=$?;\
                        \n        test \"$res\" != 31 && exit \"$res\";\
                        \n        export OPAMCLI=2.0;\
                        \n        build_dir=$(opam var prefix)/.opam-switch/build;\
                        \n        failed=$(ls \"$build_dir\");\
                        \n        for pkg in $failed; do\
                        \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-11\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n        done;\
                        \n        exit 1"))
[NOTE] nlopt-ocaml.0.5.1 is not installed.

Nothing to do.
The following actions will be performed:
=== install 6 packages
  - install conf-nlopt      1      [required by nlopt-ocaml]
  - install conf-pkg-config 2      [required by conf-nlopt]
  - install oasis           0.4.11 [required by nlopt-ocaml]
  - install ocamlbuild      0.14.1 [required by nlopt-ocaml]
  - install ocamlify        0.0.1  [required by oasis]
  - install ocamlmod        0.0.9  [required by oasis]

The following system packages will first need to be installed:
    libnlopt-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. Attempt installation anyway, and 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" "libnlopt-dev" "pkg-config"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package libglib2.0-0: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 ... 18331 files and directories currently installed.)
- Preparing to unpack .../0-libglib2.0-0_2.66.8-1_amd64.deb ...
- Unpacking libglib2.0-0:amd64 (2.66.8-1) ...
- Selecting previously unselected package libglib2.0-data.
- Preparing to unpack .../1-libglib2.0-data_2.66.8-1_all.deb ...
- Unpacking libglib2.0-data (2.66.8-1) ...
- Selecting previously unselected package libicu67:amd64.
- Preparing to unpack .../2-libicu67_67.1-7_amd64.deb ...
- Unpacking libicu67:amd64 (67.1-7) ...
- Selecting previously unselected package libnlopt0:amd64.
- Preparing to unpack .../3-libnlopt0_2.7.0-4+b2_amd64.deb ...
- Unpacking libnlopt0:amd64 (2.7.0-4+b2) ...
- Selecting previously unselected package libnlopt-dev:amd64.
- Preparing to unpack .../4-libnlopt-dev_2.7.0-4+b2_amd64.deb ...
- Unpacking libnlopt-dev:amd64 (2.7.0-4+b2) ...
- Selecting previously unselected package libxml2:amd64.
- Preparing to unpack .../5-libxml2_2.9.10+dfsg-6.7+deb11u2_amd64.deb ...
- Unpacking libxml2:amd64 (2.9.10+dfsg-6.7+deb11u2) ...
- Selecting previously unselected package pkg-config.
- Preparing to unpack .../6-pkg-config_0.29.2-1_amd64.deb ...
- Unpacking pkg-config (0.29.2-1) ...
- Selecting previously unselected package shared-mime-info.
- Preparing to unpack .../7-shared-mime-info_2.0-1_amd64.deb ...
- Unpacking shared-mime-info (2.0-1) ...
- Selecting previously unselected package xdg-user-dirs.
- Preparing to unpack .../8-xdg-user-dirs_0.17-2_amd64.deb ...
- Unpacking xdg-user-dirs (0.17-2) ...
- Setting up libicu67:amd64 (67.1-7) ...
- Setting up xdg-user-dirs (0.17-2) ...
- Setting up libglib2.0-0:amd64 (2.66.8-1) ...
- No schema files found: doing nothing.
- Setting up libnlopt0:amd64 (2.7.0-4+b2) ...
- Setting up libglib2.0-data (2.66.8-1) ...
- Setting up pkg-config (0.29.2-1) ...
- Setting up libnlopt-dev:amd64 (2.7.0-4+b2) ...
- Setting up libxml2:amd64 (2.9.10+dfsg-6.7+deb11u2) ...
- Setting up shared-mime-info (2.0-1) ...
- Processing triggers for libc-bin (2.31-13+deb11u3) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved oasis.0.4.11  (cached)
-> installed conf-pkg-config.2
-> retrieved ocamlbuild.0.14.1  (cached)
-> installed conf-nlopt.1
-> retrieved ocamlify.0.0.1  (cached)
-> retrieved ocamlmod.0.0.9  (cached)
-> installed ocamlbuild.0.14.1
-> installed ocamlify.0.0.1
-> installed ocamlmod.0.0.9
-> installed oasis.0.4.11
Done.
# Run eval $(opam env) to update the current shell environment
The following actions will be performed:
=== install 1 package
  - install nlopt-ocaml 0.5.1

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/3:
-> retrieved nlopt-ocaml.0.5.1  (cached)
Processing  2/3: [nlopt-ocaml: oasis setup]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "oasis" "setup" (CWD=/home/opam/.opam/4.14/.opam-switch/build/nlopt-ocaml.0.5.1)
Processing  2/3: [nlopt-ocaml: 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/nlopt-ocaml.0.5.1)
- 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: ........................................ nlopt
- Package version: ..................................... 0.5.1
- os_type: ............................................. Unix
- system: .............................................. linux
- architecture: ........................................ amd64
- ccomp_type: .......................................... cc
- ocaml_version: ....................................... 4.14.0
- 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.5
- 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
- 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/nlopt-ocaml.0.5.1)
- 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.
- /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 '-std=c99' -ccopt -O3 -ccopt -Wall -c src/nlopt_wrapper.c
- mv nlopt_wrapper.o src/nlopt_wrapper.o
- /home/opam/.opam/4.14/bin/ocamlfind ocamlmklib -o src/nlopt_stubs -g -lnlopt src/nlopt_wrapper.o
- /home/opam/.opam/4.14/bin/ocamlfind ocamldep -modules src/nlopt.mli > src/nlopt.mli.depends
- /home/opam/.opam/4.14/bin/ocamlfind ocamlc -c -g -annot -bin-annot -ccopt '-std=c99' -ccopt -O3 -ccopt -Wall -I src -o src/nlopt.cmi src/nlopt.mli
- /home/opam/.opam/4.14/bin/ocamlfind ocamldep -modules src/nlopt.ml > src/nlopt.ml.depends
- /home/opam/.opam/4.14/bin/ocamlfind ocamlc -c -g -annot -bin-annot -ccopt '-std=c99' -ccopt -O3 -ccopt -Wall -I src -o src/nlopt.cmo src/nlopt.ml
- + /home/opam/.opam/4.14/bin/ocamlfind ocamlc -c -g -annot -bin-annot -ccopt '-std=c99' -ccopt -O3 -ccopt -Wall -I src -o src/nlopt.cmo src/nlopt.ml
- File "src/nlopt.ml", line 156, characters 11-23:
- 156 |   let lb = Array.create (get_dimension opt) nan in
-                  ^^^^^^^^^^^^
- Alert deprecated: Stdlib.Array.create
- Use Array.make/ArrayLabels.make instead.
- File "src/nlopt.ml", line 170, characters 11-23:
- 170 |   let ub = Array.create (get_dimension opt) nan in
-                  ^^^^^^^^^^^^
- Alert deprecated: Stdlib.Array.create
- Use Array.make/ArrayLabels.make instead.
- File "src/nlopt.ml", line 207, characters 12-24:
- 207 |   let tol = Array.create (get_dimension opt) nan in
-                   ^^^^^^^^^^^^
- Alert deprecated: Stdlib.Array.create
- Use Array.make/ArrayLabels.make instead.
- File "src/nlopt.ml", line 246, characters 13-25:
- 246 |     let dx = Array.create (get_dimension opt) nan in
-                    ^^^^^^^^^^^^
- Alert deprecated: Stdlib.Array.create
- Use Array.make/ArrayLabels.make instead.
- /home/opam/.opam/4.14/bin/ocamlfind ocamlc -a -dllib -lnlopt_stubs -cclib -lnlopt_stubs -cclib -lnlopt -I src src/nlopt.cmo -o src/nlopt.cma
- /home/opam/.opam/4.14/bin/ocamlfind ocamlopt -c -g -annot -bin-annot -ccopt '-std=c99' -ccopt -O3 -ccopt -Wall -I src -o src/nlopt.cmx src/nlopt.ml
- + /home/opam/.opam/4.14/bin/ocamlfind ocamlopt -c -g -annot -bin-annot -ccopt '-std=c99' -ccopt -O3 -ccopt -Wall -I src -o src/nlopt.cmx src/nlopt.ml
- File "src/nlopt.ml", line 156, characters 11-23:
- 156 |   let lb = Array.create (get_dimension opt) nan in
-                  ^^^^^^^^^^^^
- Alert deprecated: Stdlib.Array.create
- Use Array.make/ArrayLabels.make instead.
- File "src/nlopt.ml", line 170, characters 11-23:
- 170 |   let ub = Array.create (get_dimension opt) nan in
-                  ^^^^^^^^^^^^
- Alert deprecated: Stdlib.Array.create
- Use Array.make/ArrayLabels.make instead.
- File "src/nlopt.ml", line 207, characters 12-24:
- 207 |   let tol = Array.create (get_dimension opt) nan in
-                   ^^^^^^^^^^^^
- Alert deprecated: Stdlib.Array.create
- Use Array.make/ArrayLabels.make instead.
- File "src/nlopt.ml", line 246, characters 13-25:
- 246 |     let dx = Array.create (get_dimension opt) nan in
-                    ^^^^^^^^^^^^
- Alert deprecated: Stdlib.Array.create
- Use Array.make/ArrayLabels.make instead.
- /home/opam/.opam/4.14/bin/ocamlfind ocamlopt -a -cclib -lnlopt_stubs -cclib -lnlopt -I src src/nlopt.cmx -o src/nlopt.cmxa
- /home/opam/.opam/4.14/bin/ocamlfind ocamlopt -shared -I src -I src src/nlopt.cmxa src/nlopt.cmx -o src/nlopt.cmxs
- /home/opam/.opam/4.14/bin/ocamlfind ocamldep -modules examples/rosenbrock.ml > examples/rosenbrock.ml.depends
- /home/opam/.opam/4.14/bin/ocamlfind ocamlc -c -g -annot -bin-annot -I src -I examples -I src -o examples/rosenbrock.cmo examples/rosenbrock.ml
- /home/opam/.opam/4.14/bin/ocamlfind ocamlopt -c -g -annot -bin-annot -I src -I examples -I src -o examples/rosenbrock.cmx examples/rosenbrock.ml
- /home/opam/.opam/4.14/bin/ocamlfind ocamlopt -g -I src -linkpkg -I src -I examples src/nlopt.cmxa examples/rosenbrock.cmx -o examples/rosenbrock.native
- /home/opam/.opam/4.14/bin/ocamlfind ocamldep -modules examples/tutorial.ml > examples/tutorial.ml.depends
- /home/opam/.opam/4.14/bin/ocamlfind ocamlc -c -g -annot -bin-annot -I src -I examples -I src -o examples/tutorial.cmo examples/tutorial.ml
- /home/opam/.opam/4.14/bin/ocamlfind ocamlopt -c -g -annot -bin-annot -I src -I examples -I src -o examples/tutorial.cmx examples/tutorial.ml
- /home/opam/.opam/4.14/bin/ocamlfind ocamlopt -g -I src -linkpkg -I src -I examples src/nlopt.cmxa examples/tutorial.cmx -o examples/tutorial.native
- + /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 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  nlopt-ocaml.0.5.1
Processing  3/3: [nlopt-ocaml: 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/nlopt-ocaml.0.5.1)
- 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/nlopt/nlopt.mli
- Installed /home/opam/.opam/4.14/lib/nlopt/libnlopt_stubs.a
- Installed /home/opam/.opam/4.14/lib/nlopt/nlopt.cma
- Installed /home/opam/.opam/4.14/lib/nlopt/nlopt.cmxa
- Installed /home/opam/.opam/4.14/lib/nlopt/nlopt.a
- Installed /home/opam/.opam/4.14/lib/nlopt/nlopt.cmxs
- Installed /home/opam/.opam/4.14/lib/nlopt/nlopt.cmi
- Installed /home/opam/.opam/4.14/lib/nlopt/nlopt.cmti
- Installed /home/opam/.opam/4.14/lib/nlopt/nlopt.cmt
- Installed /home/opam/.opam/4.14/lib/nlopt/nlopt.annot
- Installed /home/opam/.opam/4.14/lib/nlopt/nlopt.cmx
- Installed /home/opam/.opam/4.14/lib/stublibs/dllnlopt_stubs.so
- Installed /home/opam/.opam/4.14/lib/stublibs/dllnlopt_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/nlopt/META
-> installed nlopt-ocaml.0.5.1
Done.
# Run eval $(opam env) to update the current shell environment
2022-07-27 04:57.48 ---> saved as "1364f9b45835f0a9867d46ba8c6b185132e1d6aa834baf9cb0bfca6a58cfca70"

/home/opam: (run (network host)
                 (shell "opam update --depexts"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian bullseye InRelease
- Hit:2 http://deb.debian.org/debian-security bullseye-security InRelease
- Hit:3 http://deb.debian.org/debian bullseye-updates InRelease
- Reading package lists...
- 
2022-07-27 04:57.52 ---> saved as "3bf2e17d3d88cf763716eeada8cb2964c506da3ba902b21ebb06702e01c70b39"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam remove nlopt-ocaml.0.5.1 && opam install --deps-only --with-test nlopt-ocaml.0.5.1 && opam install -v --with-test nlopt-ocaml.0.5.1;\
                        \n        res=$?;\
                        \n        test \"$res\" != 31 && exit \"$res\";\
                        \n        export OPAMCLI=2.0;\
                        \n        build_dir=$(opam var prefix)/.opam-switch/build;\
                        \n        failed=$(ls \"$build_dir\");\
                        \n        for pkg in $failed; do\
                        \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-11\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n        done;\
                        \n        exit 1"))
The following actions will be performed:
=== remove 1 package
  - remove nlopt-ocaml 0.5.1

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> removed   nlopt-ocaml.0.5.1
Done.
# Run eval $(opam env) to update the current shell environment
Nothing to do.
# Run eval $(opam env) to update the current shell environment
The following actions will be performed:
=== install 1 package
  - install nlopt-ocaml 0.5.1

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/3:
-> retrieved nlopt-ocaml.0.5.1  (cached)
Processing  2/3: [nlopt-ocaml: oasis setup]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "oasis" "setup" (CWD=/home/opam/.opam/4.14/.opam-switch/build/nlopt-ocaml.0.5.1)
Processing  2/3: [nlopt-ocaml: 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/nlopt-ocaml.0.5.1)
- 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: ........................................ nlopt
- Package version: ..................................... 0.5.1
- os_type: ............................................. Unix
- system: .............................................. linux
- architecture: ........................................ amd64
- ccomp_type: .......................................... cc
- ocaml_version: ....................................... 4.14.0
- 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.5
- 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
- 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/nlopt-ocaml.0.5.1)
- 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.
- /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 '-std=c99' -ccopt -O3 -ccopt -Wall -c src/nlopt_wrapper.c
- mv nlopt_wrapper.o src/nlopt_wrapper.o
- /home/opam/.opam/4.14/bin/ocamlfind ocamlmklib -o src/nlopt_stubs -g -lnlopt src/nlopt_wrapper.o
- /home/opam/.opam/4.14/bin/ocamlfind ocamldep -modules src/nlopt.mli > src/nlopt.mli.depends
- /home/opam/.opam/4.14/bin/ocamlfind ocamlc -c -g -annot -bin-annot -ccopt '-std=c99' -ccopt -O3 -ccopt -Wall -I src -o src/nlopt.cmi src/nlopt.mli
- /home/opam/.opam/4.14/bin/ocamlfind ocamldep -modules src/nlopt.ml > src/nlopt.ml.depends
- /home/opam/.opam/4.14/bin/ocamlfind ocamlc -c -g -annot -bin-annot -ccopt '-std=c99' -ccopt -O3 -ccopt -Wall -I src -o src/nlopt.cmo src/nlopt.ml
- + /home/opam/.opam/4.14/bin/ocamlfind ocamlc -c -g -annot -bin-annot -ccopt '-std=c99' -ccopt -O3 -ccopt -Wall -I src -o src/nlopt.cmo src/nlopt.ml
- File "src/nlopt.ml", line 156, characters 11-23:
- 156 |   let lb = Array.create (get_dimension opt) nan in
-                  ^^^^^^^^^^^^
- Alert deprecated: Stdlib.Array.create
- Use Array.make/ArrayLabels.make instead.
- File "src/nlopt.ml", line 170, characters 11-23:
- 170 |   let ub = Array.create (get_dimension opt) nan in
-                  ^^^^^^^^^^^^
- Alert deprecated: Stdlib.Array.create
- Use Array.make/ArrayLabels.make instead.
- File "src/nlopt.ml", line 207, characters 12-24:
- 207 |   let tol = Array.create (get_dimension opt) nan in
-                   ^^^^^^^^^^^^
- Alert deprecated: Stdlib.Array.create
- Use Array.make/ArrayLabels.make instead.
- File "src/nlopt.ml", line 246, characters 13-25:
- 246 |     let dx = Array.create (get_dimension opt) nan in
-                    ^^^^^^^^^^^^
- Alert deprecated: Stdlib.Array.create
- Use Array.make/ArrayLabels.make instead.
- /home/opam/.opam/4.14/bin/ocamlfind ocamlc -a -dllib -lnlopt_stubs -cclib -lnlopt_stubs -cclib -lnlopt -I src src/nlopt.cmo -o src/nlopt.cma
- /home/opam/.opam/4.14/bin/ocamlfind ocamlopt -c -g -annot -bin-annot -ccopt '-std=c99' -ccopt -O3 -ccopt -Wall -I src -o src/nlopt.cmx src/nlopt.ml
- + /home/opam/.opam/4.14/bin/ocamlfind ocamlopt -c -g -annot -bin-annot -ccopt '-std=c99' -ccopt -O3 -ccopt -Wall -I src -o src/nlopt.cmx src/nlopt.ml
- File "src/nlopt.ml", line 156, characters 11-23:
- 156 |   let lb = Array.create (get_dimension opt) nan in
-                  ^^^^^^^^^^^^
- Alert deprecated: Stdlib.Array.create
- Use Array.make/ArrayLabels.make instead.
- File "src/nlopt.ml", line 170, characters 11-23:
- 170 |   let ub = Array.create (get_dimension opt) nan in
-                  ^^^^^^^^^^^^
- Alert deprecated: Stdlib.Array.create
- Use Array.make/ArrayLabels.make instead.
- File "src/nlopt.ml", line 207, characters 12-24:
- 207 |   let tol = Array.create (get_dimension opt) nan in
-                   ^^^^^^^^^^^^
- Alert deprecated: Stdlib.Array.create
- Use Array.make/ArrayLabels.make instead.
- File "src/nlopt.ml", line 246, characters 13-25:
- 246 |     let dx = Array.create (get_dimension opt) nan in
-                    ^^^^^^^^^^^^
- Alert deprecated: Stdlib.Array.create
- Use Array.make/ArrayLabels.make instead.
- /home/opam/.opam/4.14/bin/ocamlfind ocamlopt -a -cclib -lnlopt_stubs -cclib -lnlopt -I src src/nlopt.cmx -o src/nlopt.cmxa
- /home/opam/.opam/4.14/bin/ocamlfind ocamlopt -shared -I src -I src src/nlopt.cmxa src/nlopt.cmx -o src/nlopt.cmxs
- /home/opam/.opam/4.14/bin/ocamlfind ocamldep -modules examples/rosenbrock.ml > examples/rosenbrock.ml.depends
- /home/opam/.opam/4.14/bin/ocamlfind ocamlc -c -g -annot -bin-annot -I src -I examples -I src -o examples/rosenbrock.cmo examples/rosenbrock.ml
- /home/opam/.opam/4.14/bin/ocamlfind ocamlopt -c -g -annot -bin-annot -I src -I examples -I src -o examples/rosenbrock.cmx examples/rosenbrock.ml
- /home/opam/.opam/4.14/bin/ocamlfind ocamlopt -g -I src -linkpkg -I src -I examples src/nlopt.cmxa examples/rosenbrock.cmx -o examples/rosenbrock.native
- /home/opam/.opam/4.14/bin/ocamlfind ocamldep -modules examples/tutorial.ml > examples/tutorial.ml.depends
- /home/opam/.opam/4.14/bin/ocamlfind ocamlc -c -g -annot -bin-annot -I src -I examples -I src -o examples/tutorial.cmo examples/tutorial.ml
- /home/opam/.opam/4.14/bin/ocamlfind ocamlopt -c -g -annot -bin-annot -I src -I examples -I src -o examples/tutorial.cmx examples/tutorial.ml
- /home/opam/.opam/4.14/bin/ocamlfind ocamlopt -g -I src -linkpkg -I src -I examples src/nlopt.cmxa examples/tutorial.cmx -o examples/tutorial.native
- + /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 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  nlopt-ocaml.0.5.1
Processing  3/3: [nlopt-ocaml: 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/nlopt-ocaml.0.5.1)
- 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/nlopt/nlopt.mli
- Installed /home/opam/.opam/4.14/lib/nlopt/libnlopt_stubs.a
- Installed /home/opam/.opam/4.14/lib/nlopt/nlopt.cma
- Installed /home/opam/.opam/4.14/lib/nlopt/nlopt.cmxa
- Installed /home/opam/.opam/4.14/lib/nlopt/nlopt.a
- Installed /home/opam/.opam/4.14/lib/nlopt/nlopt.cmxs
- Installed /home/opam/.opam/4.14/lib/nlopt/nlopt.cmi
- Installed /home/opam/.opam/4.14/lib/nlopt/nlopt.cmti
- Installed /home/opam/.opam/4.14/lib/nlopt/nlopt.cmt
- Installed /home/opam/.opam/4.14/lib/nlopt/nlopt.annot
- Installed /home/opam/.opam/4.14/lib/nlopt/nlopt.cmx
- Installed /home/opam/.opam/4.14/lib/stublibs/dllnlopt_stubs.so
- Installed /home/opam/.opam/4.14/lib/stublibs/dllnlopt_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/nlopt/META
-> installed nlopt-ocaml.0.5.1
Done.
# Run eval $(opam env) to update the current shell environment
2022-07-27 04:58.41 ---> saved as "b71d6f8df1cb3f0fcc705440b121cb34b4b25d785dfe9756d2b9cfd4d2c7e456"
Job succeeded
2022-07-27 04:59.13: Job succeeded