(not at the head of any monitored branch or PR)
2022-07-26 15:58.07: New job: test git.3.1.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 git.3.1.1 && opam install --deps-only git.3.1.1 && opam install -v git.3.1.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 git.3.1.1 && opam install --deps-only --with-test git.3.1.1 && opam install -v --with-test git.3.1.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.07: Using cache hint "ocaml/opam:debian-11-ocaml-4.14@sha256:1461d919411f5999f6d7ffd573b9b5385cda91accf83d3866b26097e791220be-ounit2.2.2.0-git.3.1.1-10b49fadb0efcff442ed8cae85f7cc119fe28629"
2022-07-26 15:58.07: 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 git.3.1.1 && opam install --deps-only git.3.1.1 && opam install -v git.3.1.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 git.3.1.1 && opam install --deps-only --with-test git.3.1.1 && opam install -v --with-test git.3.1.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.07: Waiting for resource in pool OCluster
2022-07-27 05:09.59: Waiting for worker...
2022-07-27 05:11.57: Got resource from pool OCluster
Building on laodoke.ocamllabs.io
All commits already cached
Updating files:  17% (4672/26809)
Updating files:  18% (4826/26809)
Updating files:  19% (5094/26809)
Updating files:  20% (5362/26809)
Updating files:  21% (5630/26809)
Updating files:  22% (5898/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:  38% (10270/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:  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:  54% (14663/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:  62% (16707/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:  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:  81% (21776/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:  98% (26458/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 05:12.34 ---> 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 05:12.34 ---> 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 05:12.34 ---> using "e8a5c58b05459f7be98d7b03e29623d3a05b15b34833b50ebffb60eff7871cde" from cache

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2022-07-27 05:12.34 ---> 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 05:12.34 ---> 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 05:12.34 ---> using "96a067e6b08152c0f77ff1628817c13e12ac3db1ba1ac882a90278edcbb3d011" from cache

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

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2022-07-27 05:12.37 ---> 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 05:12.37 ---> 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 05:12.37 ---> 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 05:12.37 ---> 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 05:12.37 ---> using "ed77e423a302c60a5809ee2b791a97889b346ae238a3ae55d40f898cb095304c" from cache

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam remove git.3.1.1 && opam install --deps-only git.3.1.1 && opam install -v git.3.1.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] git.3.1.1 is not installed.

Nothing to do.
The following actions will be performed:
=== install 45 packages
  - install angstrom           0.15.0 [required by git]
  - install astring            0.8.5  [required by git]
  - install base64             3.5.0  [required by emile]
  - install bigarray-compat    1.1.0  [required by git]
  - install bigstringaf        0.8.0  [required by git]
  - install carton             0.1.0  [required by git]
  - install carton-git         0.1.0  [required by git]
  - install carton-lwt         0.1.0  [required by git]
  - install checkseum          0.3.4  [required by git]
  - install conf-pkg-config    2      [required by digestif]
  - install cppo               1.6.9  [required by lwt]
  - install csexp              1.5.1  [required by dune-configurator]
  - install cstruct            6.0.1  [required by git]
  - install decompress         1.2.0  [required by git]
  - install digestif           1.1.2  [required by git]
  - install domain-name        0.4.0  [required by git]
  - install duff               0.5    [required by carton]
  - install dune-configurator  3.4.1  [required by checkseum]
  - install emile              1.1    [required by git]
  - install encore             0.8    [required by git]
  - install eqaf               0.9    [required by digestif]
  - install fmt                0.9.0  [required by git]
  - install fpath              0.7.3  [required by git]
  - install ipaddr             5.3.1  [required by git]
  - install ke                 0.6    [required by git]
  - install logs               0.7.0  [required by git]
  - install lwt                5.6.1  [required by git]
  - install macaddr            5.3.1  [required by ipaddr]
  - install mimic              0.0.5  [required by git]
  - install mirage-flow        3.0.0  [required by git]
  - install mmap               1.2.0  [required by carton-git]
  - install ocaml-syntax-shims 1.0.0  [required by angstrom]
  - install ocamlbuild         0.14.1 [required by astring, rresult]
  - install ocamlgraph         2.0.0  [required by git]
  - install ocplib-endian      1.2    [required by lwt]
  - install optint             0.2.0  [required by git]
  - install pecu               0.6    [required by emile]
  - install psq                0.2.0  [required by git]
  - install result             1.5    [required by git]
  - install rresult            0.7.0  [required by git]
  - install seq                base   [required by psq]
  - install stringext          1.6.0  [required by uri]
  - install topkg              1.0.5  [required by astring, rresult]
  - install uri                4.2.0  [required by git]
  - install uutf               1.0.3  [required by emile]

The following system packages will first need to be installed:
    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" "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 libxml2:amd64.
- Preparing to unpack .../3-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 .../4-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 .../5-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 .../6-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 libglib2.0-data (2.66.8-1) ...
- Setting up pkg-config (0.29.2-1) ...
- 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 angstrom.0.15.0  (cached)
-> retrieved astring.0.8.5  (cached)
-> retrieved base64.3.5.0  (cached)
-> retrieved bigarray-compat.1.1.0  (cached)
-> retrieved bigstringaf.0.8.0  (cached)
-> retrieved carton.0.1.0, carton-git.0.1.0, carton-lwt.0.1.0  (cached)
-> retrieved checkseum.0.3.4  (cached)
-> retrieved cppo.1.6.9  (cached)
-> retrieved csexp.1.5.1  (cached)
-> retrieved cstruct.6.0.1  (cached)
-> installed conf-pkg-config.2
-> installed base64.3.5.0
-> installed bigarray-compat.1.1.0
-> installed cppo.1.6.9
-> installed csexp.1.5.1
-> retrieved decompress.1.2.0  (cached)
-> installed bigstringaf.0.8.0
-> installed cstruct.6.0.1
-> retrieved digestif.1.1.2  (cached)
-> retrieved domain-name.0.4.0  (cached)
-> retrieved duff.0.5  (cached)
-> installed domain-name.0.4.0
-> retrieved dune-configurator.3.4.1  (cached)
-> retrieved emile.1.1  (cached)
-> retrieved encore.0.8  (cached)
-> retrieved eqaf.0.9  (cached)
-> retrieved fmt.0.9.0  (cached)
-> retrieved fpath.0.7.3  (cached)
-> retrieved ipaddr.5.3.1, macaddr.5.3.1  (cached)
-> retrieved ke.0.6  (cached)
-> retrieved logs.0.7.0  (cached)
-> retrieved lwt.5.6.1  (cached)
-> retrieved mimic.0.0.5  (cached)
-> retrieved mirage-flow.3.0.0  (cached)
-> retrieved mmap.1.2.0  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved ocamlbuild.0.14.1  (cached)
-> retrieved ocamlgraph.2.0.0  (cached)
-> installed macaddr.5.3.1
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved optint.0.2.0  (cached)
-> retrieved pecu.0.6  (cached)
-> retrieved psq.0.2.0  (cached)
-> retrieved result.1.5  (cached)
-> retrieved rresult.0.7.0  (cached)
-> installed seq.base
-> retrieved stringext.1.6.0  (cached)
-> installed mmap.1.2.0
-> retrieved topkg.1.0.5  (cached)
-> retrieved uri.4.2.0  (cached)
-> retrieved uutf.1.0.3  (cached)
-> installed eqaf.0.9
-> installed pecu.0.6
-> installed result.1.5
-> installed stringext.1.6.0
-> installed optint.0.2.0
-> installed ocplib-endian.1.2
-> installed psq.0.2.0
-> installed ipaddr.5.3.1
-> installed ocaml-syntax-shims.1.0.0
-> installed dune-configurator.3.4.1
-> installed digestif.1.1.2
-> installed angstrom.0.15.0
-> installed ocamlgraph.2.0.0
-> installed checkseum.0.3.4
-> installed decompress.1.2.0
-> installed uri.4.2.0
-> installed lwt.5.6.1
-> installed ocamlbuild.0.14.1
-> installed topkg.1.0.5
-> installed rresult.0.7.0
-> installed uutf.1.0.3
-> installed fmt.0.9.0
-> installed emile.1.1
-> installed astring.0.8.5
-> installed duff.0.5
-> installed encore.0.8
-> installed ke.0.6
-> installed mirage-flow.3.0.0
-> installed logs.0.7.0
-> installed mimic.0.0.5
-> installed fpath.0.7.3
-> installed carton.0.1.0
-> installed carton-lwt.0.1.0
-> installed carton-git.0.1.0
Done.
# Run eval $(opam env) to update the current shell environment
The following actions will be performed:
=== install 1 package
  - install git 3.1.1

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/3:
-> retrieved git.3.1.1  (cached)
Processing  2/3: [git: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "git" "-j" "31" (CWD=/home/opam/.opam/4.14/.opam-switch/build/git.3.1.1)
- (cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w -40 -g -bin-annot -I src/loose/.loose.objs/byte -I /home/opam/.opam/4.14/lib/bigstringaf -I /home/opam/.opam/4.14/lib/carton -I /home/opam/.opam/4.14/lib/checkseum -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/decompress/de -I /home/opam/.opam/4.14/lib/decompress/zl -I /home/opam/.opam/4.14/lib/fmt -I /home/opam/.opam/4.14/lib/logs -I /home/opam/.opam/4.14/lib/result -I /home/opam/.opam/4.14/lib/rresult -intf-suffix .ml -no-alias-deps -o src/loose/.loose.objs/byte/loose.cmo -c -impl src/loose/loose.ml)
- File "src/loose/loose.ml", line 57, characters 60-71:
- 57 |             Zl.Def.src encoder (Cstruct.to_bigarray src) 0 (Cstruct.len src)
-                                                                  ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/loose/loose.ml", line 64, characters 20-31:
- 64 |           let len = Cstruct.len dst - Zl.Def.dst_rem encoder in
-                          ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/loose/loose.ml", line 65, characters 19-30:
- 65 |           if len = Cstruct.len dst then Error `Non_atomic
-                         ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/loose/loose.ml", line 69, characters 63-74:
- 69 |               (Zl.Def.dst encoder (Cstruct.to_bigarray dst) 0 (Cstruct.len dst))
-                                                                     ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/loose/loose.ml", line 72, characters 20-31:
- 72 |           let len = Cstruct.len dst - Zl.Def.dst_rem encoder in
-                          ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/loose/loose.ml", line 73, characters 24-35:
- 73 |           Rresult.R.ok (Cstruct.len (Cstruct.shift dst len))
-                              ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/loose/loose.ml", line 137, characters 44-55:
- 137 |     go Uid.empty (Cstruct.to_string hdr, 0, Cstruct.len hdr) [] encoder
-                                                   ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/loose/loose.ml", line 167, characters 25-36:
- 167 |         if Int64.of_int (Cstruct.len contents) <> length then
-                                ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- (cd _build/default && /home/opam/.opam/4.14/bin/ocamlopt.opt -w -40 -g -I src/loose/.loose.objs/byte -I src/loose/.loose.objs/native -I /home/opam/.opam/4.14/lib/bigstringaf -I /home/opam/.opam/4.14/lib/carton -I /home/opam/.opam/4.14/lib/checkseum -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/decompress/de -I /home/opam/.opam/4.14/lib/decompress/zl -I /home/opam/.opam/4.14/lib/fmt -I /home/opam/.opam/4.14/lib/logs -I /home/opam/.opam/4.14/lib/result -I /home/opam/.opam/4.14/lib/rresult -intf-suffix .ml -no-alias-deps -o src/loose/.loose.objs/native/loose.cmx -c -impl src/loose/loose.ml)
- File "src/loose/loose.ml", line 57, characters 60-71:
- 57 |             Zl.Def.src encoder (Cstruct.to_bigarray src) 0 (Cstruct.len src)
-                                                                  ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/loose/loose.ml", line 64, characters 20-31:
- 64 |           let len = Cstruct.len dst - Zl.Def.dst_rem encoder in
-                          ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/loose/loose.ml", line 65, characters 19-30:
- 65 |           if len = Cstruct.len dst then Error `Non_atomic
-                         ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/loose/loose.ml", line 69, characters 63-74:
- 69 |               (Zl.Def.dst encoder (Cstruct.to_bigarray dst) 0 (Cstruct.len dst))
-                                                                     ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/loose/loose.ml", line 72, characters 20-31:
- 72 |           let len = Cstruct.len dst - Zl.Def.dst_rem encoder in
-                          ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/loose/loose.ml", line 73, characters 24-35:
- 73 |           Rresult.R.ok (Cstruct.len (Cstruct.shift dst len))
-                              ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/loose/loose.ml", line 137, characters 44-55:
- 137 |     go Uid.empty (Cstruct.to_string hdr, 0, Cstruct.len hdr) [] encoder
-                                                   ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/loose/loose.ml", line 167, characters 25-36:
- 167 |         if Int64.of_int (Cstruct.len contents) <> length then
-                                ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- (cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w -40 -g -bin-annot -I src/not-so-smart/.unixiz.objs/byte -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/fmt -I /home/opam/.opam/4.14/lib/ke -I /home/opam/.opam/4.14/lib/lwt -I /home/opam/.opam/4.14/lib/mirage-flow -I /home/opam/.opam/4.14/lib/result -I /home/opam/.opam/4.14/lib/rresult -I src/not-so-smart/.sigs.objs/byte -intf-suffix .ml -no-alias-deps -o src/not-so-smart/.unixiz.objs/byte/unixiz.cmo -c -impl src/not-so-smart/unixiz.ml)
- File "src/not-so-smart/unixiz.ml", line 36, characters 55-66:
- 36 |           Ke.Rke.N.push flow.queue ~blit:blit0 ~length:Cstruct.len res;
-                                                             ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/not-so-smart/unixiz.ml", line 37, characters 25-36:
- 37 |           let len = min (Cstruct.len payload) (Ke.Rke.length flow.queue) in
-                               ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/not-so-smart/unixiz.ml", line 38, characters 59-70:
- 38 |           Ke.Rke.N.keep_exn flow.queue ~blit:blit1 ~length:Cstruct.len ~off:0
-                                                                 ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/not-so-smart/unixiz.ml", line 43, characters 21-32:
- 43 |       let len = min (Cstruct.len payload) (Ke.Rke.length flow.queue) in
-                           ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/not-so-smart/unixiz.ml", line 44, characters 55-66:
- 44 |       Ke.Rke.N.keep_exn flow.queue ~blit:blit1 ~length:Cstruct.len payload;
-                                                             ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/not-so-smart/unixiz.ml", line 52, characters 21-32:
- 52 |     | Ok () -> R.ok (Cstruct.len payload)
-                           ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- (cd _build/default && /home/opam/.opam/4.14/bin/ocamlopt.opt -w -40 -g -I src/not-so-smart/.unixiz.objs/byte -I src/not-so-smart/.unixiz.objs/native -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/fmt -I /home/opam/.opam/4.14/lib/ke -I /home/opam/.opam/4.14/lib/lwt -I /home/opam/.opam/4.14/lib/mirage-flow -I /home/opam/.opam/4.14/lib/result -I /home/opam/.opam/4.14/lib/rresult -I src/not-so-smart/.sigs.objs/byte -I src/not-so-smart/.sigs.objs/native -intf-suffix .ml -no-alias-deps -o src/not-so-smart/.unixiz.objs/native/unixiz.cmx -c -impl src/not-so-smart/unixiz.ml)
- File "src/not-so-smart/unixiz.ml", line 36, characters 55-66:
- 36 |           Ke.Rke.N.push flow.queue ~blit:blit0 ~length:Cstruct.len res;
-                                                             ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/not-so-smart/unixiz.ml", line 37, characters 25-36:
- 37 |           let len = min (Cstruct.len payload) (Ke.Rke.length flow.queue) in
-                               ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/not-so-smart/unixiz.ml", line 38, characters 59-70:
- 38 |           Ke.Rke.N.keep_exn flow.queue ~blit:blit1 ~length:Cstruct.len ~off:0
-                                                                 ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/not-so-smart/unixiz.ml", line 43, characters 21-32:
- 43 |       let len = min (Cstruct.len payload) (Ke.Rke.length flow.queue) in
-                           ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/not-so-smart/unixiz.ml", line 44, characters 55-66:
- 44 |       Ke.Rke.N.keep_exn flow.queue ~blit:blit1 ~length:Cstruct.len payload;
-                                                             ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/not-so-smart/unixiz.ml", line 52, characters 21-32:
- 52 |     | Ok () -> R.ok (Cstruct.len payload)
-                           ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- (cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w -40 -g -bin-annot -I src/not-so-smart/.smart_flow.objs/byte -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/fmt -I /home/opam/.opam/4.14/lib/logs -I src/not-so-smart/.sigs.objs/byte -I src/not-so-smart/.smart.objs/byte -intf-suffix .ml -no-alias-deps -o src/not-so-smart/.smart_flow.objs/byte/smart_flow.cmo -c -impl src/not-so-smart/smart_flow.ml)
- File "src/not-so-smart/smart_flow.ml", line 24, characters 23-34:
- 24 |         let max = min (Cstruct.len tmp) len in
-                             ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/not-so-smart/smart_flow.ml", line 39, characters 13-24:
- 39 |           if Cstruct.len tmp = 0 then go (k len)
-                   ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- (cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w -40 -g -bin-annot -I src/not-so-smart/.smart.objs/byte -I /home/opam/.opam/4.14/lib/astring -I /home/opam/.opam/4.14/lib/domain-name -I /home/opam/.opam/4.14/lib/fmt -I /home/opam/.opam/4.14/lib/ipaddr -I /home/opam/.opam/4.14/lib/result -I /home/opam/.opam/4.14/lib/rresult -I /home/opam/.opam/4.14/lib/stdlib-shims -I src/not-so-smart/.pkt_line.objs/byte -intf-suffix .ml -no-alias-deps -open Smart__ -o src/not-so-smart/.smart.objs/byte/smart__Protocol.cmo -c -impl src/not-so-smart/protocol.ml)
- File "src/not-so-smart/protocol.ml", line 127, characters 11-17:
- 127 |       Fmt.(prefix (const string " host=") pp_host)
-                  ^^^^^^
- Alert deprecated: Fmt.prefix
- use Fmt.(++) instead.
- File "src/not-so-smart/protocol.ml", line 129, characters 11-17:
- 129 |       Fmt.(prefix (const string " version=") int)
-                  ^^^^^^
- Alert deprecated: Fmt.prefix
- use Fmt.(++) instead.
- (cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w -40 -g -bin-annot -I src/git/.git.objs/byte -I /home/opam/.opam/4.14/lib/angstrom -I /home/opam/.opam/4.14/lib/astring -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/bigstringaf -I /home/opam/.opam/4.14/lib/carton -I /home/opam/.opam/4.14/lib/carton-git -I /home/opam/.opam/4.14/lib/carton-lwt -I /home/opam/.opam/4.14/lib/checkseum -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/decompress/de -I /home/opam/.opam/4.14/lib/decompress/zl -I /home/opam/.opam/4.14/lib/digestif -I /home/opam/.opam/4.14/lib/encore -I /home/opam/.opam/4.14/lib/fmt -I /home/opam/.opam/4.14/lib/fpath -I /home/opam/.opam/4.14/lib/ke -I /home/opam/.opam/4.14/lib/logs -I /home/opam/.opam/4.14/lib/lwt -I /home/opam/.opam/4.14/lib/mimic -I /home/opam/.opam/4.14/lib/ocamlgraph -I /home/opam/.opam/4.14/lib/optint -I /home/opam/.opam/4.14/lib/result -I /home/opam/.opam/4.14/lib/rresult -I /home/opam/.opam/4.14/lib/stdlib-shims -I src/loose/.loose.objs/byte -I src/loose/.loose_git.objs/byte -I src/not-so-smart/.hkt.objs/byte -I src/not-so-smart/.pck.objs/byte -I src/not-so-smart/.sigs.objs/byte -I src/not-so-smart/.smart.objs/byte -I src/not-so-smart/.smart_git.objs/byte -intf-suffix .ml -no-alias-deps -open Git__ -o src/git/.git.objs/byte/git__Cstruct_append.cmo -c -impl src/git/cstruct_append.ml)
- File "src/git/cstruct_append.ml", line 36, characters 9-28:
- 36 |   { o0 = Ephemeron.K1.create (); o1 = Ephemeron.K1.create (); which = false }
-               ^^^^^^^^^^^^^^^^^^^
- Alert old_ephemeron_api: Stdlib.Ephemeron.K1.create
- This function won't be available in 5.0
- File "src/git/cstruct_append.ml", line 36, characters 38-57:
- 36 |   { o0 = Ephemeron.K1.create (); o1 = Ephemeron.K1.create (); which = false }
-                                            ^^^^^^^^^^^^^^^^^^^
- Alert old_ephemeron_api: Stdlib.Ephemeron.K1.create
- This function won't be available in 5.0
- File "src/git/cstruct_append.ml", line 43, characters 4-24:
- 43 |     Ephemeron.K1.set_key tbl.o0 value;
-          ^^^^^^^^^^^^^^^^^^^^
- Alert old_ephemeron_api: Stdlib.Ephemeron.K1.set_key
- This function won't be available in 5.0
- File "src/git/cstruct_append.ml", line 44, characters 4-25:
- 44 |     Ephemeron.K1.set_data tbl.o0 (ref empty);
-          ^^^^^^^^^^^^^^^^^^^^^
- Alert old_ephemeron_api: Stdlib.Ephemeron.K1.set_data
- This function won't be available in 5.0
- File "src/git/cstruct_append.ml", line 48, characters 4-24:
- 48 |     Ephemeron.K1.set_key tbl.o1 value;
-          ^^^^^^^^^^^^^^^^^^^^
- Alert old_ephemeron_api: Stdlib.Ephemeron.K1.set_key
- This function won't be available in 5.0
- File "src/git/cstruct_append.ml", line 49, characters 4-25:
- 49 |     Ephemeron.K1.set_data tbl.o1 (ref empty);
-          ^^^^^^^^^^^^^^^^^^^^^
- Alert old_ephemeron_api: Stdlib.Ephemeron.K1.set_data
- This function won't be available in 5.0
- File "src/git/cstruct_append.ml", line 99, characters 9-29:
- 99 |         (Ephemeron.K1.get_key o0)
-               ^^^^^^^^^^^^^^^^^^^^
- Alert old_ephemeron_api: Stdlib.Ephemeron.K1.get_key
- This function won't be available in 5.0
- File "src/git/cstruct_append.ml", line 104, characters 9-29:
- 104 |         (Ephemeron.K1.get_key o1)
-                ^^^^^^^^^^^^^^^^^^^^
- Alert old_ephemeron_api: Stdlib.Ephemeron.K1.get_key
- This function won't be available in 5.0
- File "src/git/cstruct_append.ml", line 108, characters 29-50:
- 108 |       if k0 then Option.get (Ephemeron.K1.get_data o0)
-                                    ^^^^^^^^^^^^^^^^^^^^^
- Alert old_ephemeron_api: Stdlib.Ephemeron.K1.get_data
- This function won't be available in 5.0
- File "src/git/cstruct_append.ml", line 109, characters 23-44:
- 109 |       else Option.get (Ephemeron.K1.get_data o1)
-                              ^^^^^^^^^^^^^^^^^^^^^
- Alert old_ephemeron_api: Stdlib.Ephemeron.K1.get_data
- This function won't be available in 5.0
- File "src/git/cstruct_append.ml", line 115, characters 7-18:
- 115 |     if Cstruct.len !value < 1 then (
-              ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/git/cstruct_append.ml", line 126, characters 17-28:
- 126 |       capacity = Cstruct.len value;
-                        ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/git/cstruct_append.ml", line 157, characters 9-30:
- 157 |    match Ephemeron.K1.get_data tbl.o0 with
-                ^^^^^^^^^^^^^^^^^^^^^
- Alert old_ephemeron_api: Stdlib.Ephemeron.K1.get_data
- This function won't be available in 5.0
- File "src/git/cstruct_append.ml", line 161, characters 10-31:
- 161 |     match Ephemeron.K1.get_data tbl.o1 with
-                 ^^^^^^^^^^^^^^^^^^^^^
- Alert old_ephemeron_api: Stdlib.Ephemeron.K1.get_data
- This function won't be available in 5.0
- File "src/git/cstruct_append.ml", line 170, characters 10-31:
- 170 |     match Ephemeron.K1.get_data tbl.o0, Ephemeron.K1.get_data tbl.o1 with
-                 ^^^^^^^^^^^^^^^^^^^^^
- Alert old_ephemeron_api: Stdlib.Ephemeron.K1.get_data
- This function won't be available in 5.0
- File "src/git/cstruct_append.ml", line 170, characters 40-61:
- 170 |     match Ephemeron.K1.get_data tbl.o0, Ephemeron.K1.get_data tbl.o1 with
-                                               ^^^^^^^^^^^^^^^^^^^^^
- Alert old_ephemeron_api: Stdlib.Ephemeron.K1.get_data
- This function won't be available in 5.0
- File "src/git/cstruct_append.ml", line 172, characters 29-49:
- 172 |         let k0 = Option.get (Ephemeron.K1.get_key tbl.o0) in
-                                    ^^^^^^^^^^^^^^^^^^^^
- Alert old_ephemeron_api: Stdlib.Ephemeron.K1.get_key
- This function won't be available in 5.0
- File "src/git/cstruct_append.ml", line 173, characters 29-49:
- 173 |         let k1 = Option.get (Ephemeron.K1.get_key tbl.o1) in
-                                    ^^^^^^^^^^^^^^^^^^^^
- Alert old_ephemeron_api: Stdlib.Ephemeron.K1.get_key
- This function won't be available in 5.0
- File "src/git/cstruct_append.ml", line 188, characters 7-27:
- 188 |       (Ephemeron.K1.get_key tbl.o0)
-              ^^^^^^^^^^^^^^^^^^^^
- Alert old_ephemeron_api: Stdlib.Ephemeron.K1.get_key
- This function won't be available in 5.0
- File "src/git/cstruct_append.ml", line 189, characters 21-42:
- 189 |   then !(Option.get (Ephemeron.K1.get_data tbl.o0))
-                            ^^^^^^^^^^^^^^^^^^^^^
- Alert old_ephemeron_api: Stdlib.Ephemeron.K1.get_data
- This function won't be available in 5.0
- File "src/git/cstruct_append.ml", line 193, characters 7-27:
- 193 |       (Ephemeron.K1.get_key tbl.o1)
-              ^^^^^^^^^^^^^^^^^^^^
- Alert old_ephemeron_api: Stdlib.Ephemeron.K1.get_key
- This function won't be available in 5.0
- File "src/git/cstruct_append.ml", line 194, characters 21-42:
- 194 |   then !(Option.get (Ephemeron.K1.get_data tbl.o1))
-                            ^^^^^^^^^^^^^^^^^^^^^
- Alert old_ephemeron_api: Stdlib.Ephemeron.K1.get_data
- This function won't be available in 5.0
- (cd _build/default && /home/opam/.opam/4.14/bin/ocamlopt.opt -w -40 -g -I src/not-so-smart/.smart.objs/byte -I src/not-so-smart/.smart.objs/native -I /home/opam/.opam/4.14/lib/astring -I /home/opam/.opam/4.14/lib/domain-name -I /home/opam/.opam/4.14/lib/fmt -I /home/opam/.opam/4.14/lib/ipaddr -I /home/opam/.opam/4.14/lib/result -I /home/opam/.opam/4.14/lib/rresult -I /home/opam/.opam/4.14/lib/stdlib-shims -I src/not-so-smart/.pkt_line.objs/byte -I src/not-so-smart/.pkt_line.objs/native -intf-suffix .ml -no-alias-deps -open Smart__ -o src/not-so-smart/.smart.objs/native/smart__Protocol.cmx -c -impl src/not-so-smart/protocol.ml)
- File "src/not-so-smart/protocol.ml", line 127, characters 11-17:
- 127 |       Fmt.(prefix (const string " host=") pp_host)
-                  ^^^^^^
- Alert deprecated: Fmt.prefix
- use Fmt.(++) instead.
- File "src/not-so-smart/protocol.ml", line 129, characters 11-17:
- 129 |       Fmt.(prefix (const string " version=") int)
-                  ^^^^^^
- Alert deprecated: Fmt.prefix
- use Fmt.(++) instead.
- (cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w -40 -g -bin-annot -I src/git/.git.objs/byte -I /home/opam/.opam/4.14/lib/angstrom -I /home/opam/.opam/4.14/lib/astring -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/bigstringaf -I /home/opam/.opam/4.14/lib/carton -I /home/opam/.opam/4.14/lib/carton-git -I /home/opam/.opam/4.14/lib/carton-lwt -I /home/opam/.opam/4.14/lib/checkseum -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/decompress/de -I /home/opam/.opam/4.14/lib/decompress/zl -I /home/opam/.opam/4.14/lib/digestif -I /home/opam/.opam/4.14/lib/encore -I /home/opam/.opam/4.14/lib/fmt -I /home/opam/.opam/4.14/lib/fpath -I /home/opam/.opam/4.14/lib/ke -I /home/opam/.opam/4.14/lib/logs -I /home/opam/.opam/4.14/lib/lwt -I /home/opam/.opam/4.14/lib/mimic -I /home/opam/.opam/4.14/lib/ocamlgraph -I /home/opam/.opam/4.14/lib/optint -I /home/opam/.opam/4.14/lib/result -I /home/opam/.opam/4.14/lib/rresult -I /home/opam/.opam/4.14/lib/stdlib-shims -I src/loose/.loose.objs/byte -I src/loose/.loose_git.objs/byte -I src/not-so-smart/.hkt.objs/byte -I src/not-so-smart/.pck.objs/byte -I src/not-so-smart/.sigs.objs/byte -I src/not-so-smart/.smart.objs/byte -I src/not-so-smart/.smart_git.objs/byte -intf-suffix .ml -no-alias-deps -open Git__ -o src/git/.git.objs/byte/git__Blob.cmo -c -impl src/git/blob.ml)
- File "src/git/blob.ml", line 29, characters 49-60:
- 29 | let length : t -> int64 = fun t -> Int64.of_int (Cstruct.len t)
-                                                       ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/git/blob.ml", line 58, characters 51-62:
- 58 |   let length : t -> int64 = fun t -> Int64.of_int (Cstruct.len t)
-                                                         ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- (cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w -40 -g -bin-annot -I src/not-so-smart/.smart_git.objs/byte -I /home/opam/.opam/4.14/lib/astring -I /home/opam/.opam/4.14/lib/bigstringaf -I /home/opam/.opam/4.14/lib/carton -I /home/opam/.opam/4.14/lib/carton-lwt -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/decompress/de -I /home/opam/.opam/4.14/lib/decompress/zl -I /home/opam/.opam/4.14/lib/digestif -I /home/opam/.opam/4.14/lib/domain-name -I /home/opam/.opam/4.14/lib/emile -I /home/opam/.opam/4.14/lib/fmt -I /home/opam/.opam/4.14/lib/ipaddr -I /home/opam/.opam/4.14/lib/logs -I /home/opam/.opam/4.14/lib/lwt -I /home/opam/.opam/4.14/lib/mimic -I /home/opam/.opam/4.14/lib/mirage-flow -I /home/opam/.opam/4.14/lib/result -I /home/opam/.opam/4.14/lib/rresult -I /home/opam/.opam/4.14/lib/uri -I src/not-so-smart/.nss.objs/byte -I src/not-so-smart/.pck.objs/byte -I src/not-so-smart/.sigs.objs/byte -I src/not-so-smart/.smart.objs/byte -I src/not-so-smart/.unixiz.objs/byte -intf-suffix .ml -no-alias-deps -open Smart_git__ -o src/not-so-smart/.smart_git.objs/byte/smart_git.cmo -c -impl src/not-so-smart/smart_git.ml)
- File "src/not-so-smart/smart_git.ml", line 336, characters 21-32:
- 336 |       Lwt.return_ok (Cstruct.len raw)
-                            ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/not-so-smart/smart_git.ml", line 347, characters 52-63:
- 347 |         let len = min (String.length t.ic - t.pos) (Cstruct.len raw) in
-                                                           ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- (cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w -40 -g -bin-annot -I src/git/.git.objs/byte -I /home/opam/.opam/4.14/lib/angstrom -I /home/opam/.opam/4.14/lib/astring -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/bigstringaf -I /home/opam/.opam/4.14/lib/carton -I /home/opam/.opam/4.14/lib/carton-git -I /home/opam/.opam/4.14/lib/carton-lwt -I /home/opam/.opam/4.14/lib/checkseum -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/decompress/de -I /home/opam/.opam/4.14/lib/decompress/zl -I /home/opam/.opam/4.14/lib/digestif -I /home/opam/.opam/4.14/lib/encore -I /home/opam/.opam/4.14/lib/fmt -I /home/opam/.opam/4.14/lib/fpath -I /home/opam/.opam/4.14/lib/ke -I /home/opam/.opam/4.14/lib/logs -I /home/opam/.opam/4.14/lib/lwt -I /home/opam/.opam/4.14/lib/mimic -I /home/opam/.opam/4.14/lib/ocamlgraph -I /home/opam/.opam/4.14/lib/optint -I /home/opam/.opam/4.14/lib/result -I /home/opam/.opam/4.14/lib/rresult -I /home/opam/.opam/4.14/lib/stdlib-shims -I src/loose/.loose.objs/byte -I src/loose/.loose_git.objs/byte -I src/not-so-smart/.hkt.objs/byte -I src/not-so-smart/.pck.objs/byte -I src/not-so-smart/.sigs.objs/byte -I src/not-so-smart/.smart.objs/byte -I src/not-so-smart/.smart_git.objs/byte -intf-suffix .ml -no-alias-deps -open Git__ -o src/git/.git.objs/byte/git__Commit.cmo -c -impl src/git/commit.ml)
- File "src/git/commit.ml", line 200, characters 33-41:
- 200 |       (Fmt.hvbox (Fmt.list ~sep:(Fmt.unit ";@ ") Hash.pp))
-                                        ^^^^^^^^
- Alert deprecated: Fmt.unit
- use Fmt.any instead.
- (cd _build/default && /home/opam/.opam/4.14/bin/ocamlopt.opt -w -40 -g -I src/not-so-smart/.smart_flow.objs/byte -I src/not-so-smart/.smart_flow.objs/native -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/fmt -I /home/opam/.opam/4.14/lib/logs -I src/not-so-smart/.sigs.objs/byte -I src/not-so-smart/.sigs.objs/native -I src/not-so-smart/.smart.objs/byte -I src/not-so-smart/.smart.objs/native -intf-suffix .ml -no-alias-deps -o src/not-so-smart/.smart_flow.objs/native/smart_flow.cmx -c -impl src/not-so-smart/smart_flow.ml)
- File "src/not-so-smart/smart_flow.ml", line 24, characters 23-34:
- 24 |         let max = min (Cstruct.len tmp) len in
-                             ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/not-so-smart/smart_flow.ml", line 39, characters 13-24:
- 39 |           if Cstruct.len tmp = 0 then go (k len)
-                   ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- (cd _build/default && /home/opam/.opam/4.14/bin/ocamlopt.opt -w -40 -g -I src/not-so-smart/.smart_git.objs/byte -I src/not-so-smart/.smart_git.objs/native -I /home/opam/.opam/4.14/lib/astring -I /home/opam/.opam/4.14/lib/bigstringaf -I /home/opam/.opam/4.14/lib/carton -I /home/opam/.opam/4.14/lib/carton-lwt -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/decompress/de -I /home/opam/.opam/4.14/lib/decompress/zl -I /home/opam/.opam/4.14/lib/digestif -I /home/opam/.opam/4.14/lib/domain-name -I /home/opam/.opam/4.14/lib/emile -I /home/opam/.opam/4.14/lib/fmt -I /home/opam/.opam/4.14/lib/ipaddr -I /home/opam/.opam/4.14/lib/logs -I /home/opam/.opam/4.14/lib/lwt -I /home/opam/.opam/4.14/lib/mimic -I /home/opam/.opam/4.14/lib/mirage-flow -I /home/opam/.opam/4.14/lib/result -I /home/opam/.opam/4.14/lib/rresult -I /home/opam/.opam/4.14/lib/uri -I src/not-so-smart/.nss.objs/byte -I src/not-so-smart/.nss.objs/native -I src/not-so-smart/.pck.objs/byte -I src/not-so-smart/.pck.objs/native -I src/not-so-smart/.sigs.objs/byte -I src/not-so-smart/.sigs.objs/native -I src/not-so-smart/.smart.objs/byte -I src/not-so-smart/.smart.objs/native -I src/not-so-smart/.unixiz.objs/byte -I src/not-so-smart/.unixiz.objs/native -intf-suffix .ml -no-alias-deps -open Smart_git__ -o src/not-so-smart/.smart_git.objs/native/smart_git.cmx -c -impl src/not-so-smart/smart_git.ml)
- File "src/not-so-smart/smart_git.ml", line 336, characters 21-32:
- 336 |       Lwt.return_ok (Cstruct.len raw)
-                            ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/not-so-smart/smart_git.ml", line 347, characters 52-63:
- 347 |         let len = min (String.length t.ic - t.pos) (Cstruct.len raw) in
-                                                           ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- (cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w -40 -g -bin-annot -I src/git/.git.objs/byte -I /home/opam/.opam/4.14/lib/angstrom -I /home/opam/.opam/4.14/lib/astring -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/bigstringaf -I /home/opam/.opam/4.14/lib/carton -I /home/opam/.opam/4.14/lib/carton-git -I /home/opam/.opam/4.14/lib/carton-lwt -I /home/opam/.opam/4.14/lib/checkseum -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/decompress/de -I /home/opam/.opam/4.14/lib/decompress/zl -I /home/opam/.opam/4.14/lib/digestif -I /home/opam/.opam/4.14/lib/encore -I /home/opam/.opam/4.14/lib/fmt -I /home/opam/.opam/4.14/lib/fpath -I /home/opam/.opam/4.14/lib/ke -I /home/opam/.opam/4.14/lib/logs -I /home/opam/.opam/4.14/lib/lwt -I /home/opam/.opam/4.14/lib/mimic -I /home/opam/.opam/4.14/lib/ocamlgraph -I /home/opam/.opam/4.14/lib/optint -I /home/opam/.opam/4.14/lib/result -I /home/opam/.opam/4.14/lib/rresult -I /home/opam/.opam/4.14/lib/stdlib-shims -I src/loose/.loose.objs/byte -I src/loose/.loose_git.objs/byte -I src/not-so-smart/.hkt.objs/byte -I src/not-so-smart/.pck.objs/byte -I src/not-so-smart/.sigs.objs/byte -I src/not-so-smart/.smart.objs/byte -I src/not-so-smart/.smart_git.objs/byte -intf-suffix .ml -no-alias-deps -open Git__ -o src/git/.git.objs/byte/git__Mem.cmo -c -impl src/git/mem.ml)
- File "src/git/mem.ml", line 185, characters 14-25:
- 185 |     let len = Cstruct.len raw in
-                     ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/git/mem.ml", line 461, characters 17-28:
- 461 |         if pos = Cstruct.len payload then (
-                        ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/git/mem.ml", line 465, characters 31-42:
- 465 |           let len = min chunk (Cstruct.len payload - pos) in
-                                      ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- (cd _build/default && /home/opam/.opam/4.14/bin/ocamlopt.opt -w -40 -g -I src/git/.git.objs/byte -I src/git/.git.objs/native -I /home/opam/.opam/4.14/lib/angstrom -I /home/opam/.opam/4.14/lib/astring -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/bigstringaf -I /home/opam/.opam/4.14/lib/carton -I /home/opam/.opam/4.14/lib/carton-git -I /home/opam/.opam/4.14/lib/carton-lwt -I /home/opam/.opam/4.14/lib/checkseum -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/decompress/de -I /home/opam/.opam/4.14/lib/decompress/zl -I /home/opam/.opam/4.14/lib/digestif -I /home/opam/.opam/4.14/lib/encore -I /home/opam/.opam/4.14/lib/fmt -I /home/opam/.opam/4.14/lib/fpath -I /home/opam/.opam/4.14/lib/ke -I /home/opam/.opam/4.14/lib/logs -I /home/opam/.opam/4.14/lib/lwt -I /home/opam/.opam/4.14/lib/mimic -I /home/opam/.opam/4.14/lib/ocamlgraph -I /home/opam/.opam/4.14/lib/optint -I /home/opam/.opam/4.14/lib/result -I /home/opam/.opam/4.14/lib/rresult -I /home/opam/.opam/4.14/lib/stdlib-shims -I src/loose/.loose.objs/byte -I src/loose/.loose.objs/native -I src/loose/.loose_git.objs/byte -I src/loose/.loose_git.objs/native -I src/not-so-smart/.hkt.objs/byte -I src/not-so-smart/.hkt.objs/native -I src/not-so-smart/.pck.objs/byte -I src/not-so-smart/.pck.objs/native -I src/not-so-smart/.sigs.objs/byte -I src/not-so-smart/.sigs.objs/native -I src/not-so-smart/.smart.objs/byte -I src/not-so-smart/.smart.objs/native -I src/not-so-smart/.smart_git.objs/byte -I src/not-so-smart/.smart_git.objs/native -intf-suffix .ml -no-alias-deps -open Git__ -o src/git/.git.objs/native/git__Cstruct_append.cmx -c -impl src/git/cstruct_append.ml)
- File "src/git/cstruct_append.ml", line 36, characters 9-28:
- 36 |   { o0 = Ephemeron.K1.create (); o1 = Ephemeron.K1.create (); which = false }
-               ^^^^^^^^^^^^^^^^^^^
- Alert old_ephemeron_api: Stdlib.Ephemeron.K1.create
- This function won't be available in 5.0
- File "src/git/cstruct_append.ml", line 36, characters 38-57:
- 36 |   { o0 = Ephemeron.K1.create (); o1 = Ephemeron.K1.create (); which = false }
-                                            ^^^^^^^^^^^^^^^^^^^
- Alert old_ephemeron_api: Stdlib.Ephemeron.K1.create
- This function won't be available in 5.0
- File "src/git/cstruct_append.ml", line 43, characters 4-24:
- 43 |     Ephemeron.K1.set_key tbl.o0 value;
-          ^^^^^^^^^^^^^^^^^^^^
- Alert old_ephemeron_api: Stdlib.Ephemeron.K1.set_key
- This function won't be available in 5.0
- File "src/git/cstruct_append.ml", line 44, characters 4-25:
- 44 |     Ephemeron.K1.set_data tbl.o0 (ref empty);
-          ^^^^^^^^^^^^^^^^^^^^^
- Alert old_ephemeron_api: Stdlib.Ephemeron.K1.set_data
- This function won't be available in 5.0
- File "src/git/cstruct_append.ml", line 48, characters 4-24:
- 48 |     Ephemeron.K1.set_key tbl.o1 value;
-          ^^^^^^^^^^^^^^^^^^^^
- Alert old_ephemeron_api: Stdlib.Ephemeron.K1.set_key
- This function won't be available in 5.0
- File "src/git/cstruct_append.ml", line 49, characters 4-25:
- 49 |     Ephemeron.K1.set_data tbl.o1 (ref empty);
-          ^^^^^^^^^^^^^^^^^^^^^
- Alert old_ephemeron_api: Stdlib.Ephemeron.K1.set_data
- This function won't be available in 5.0
- File "src/git/cstruct_append.ml", line 99, characters 9-29:
- 99 |         (Ephemeron.K1.get_key o0)
-               ^^^^^^^^^^^^^^^^^^^^
- Alert old_ephemeron_api: Stdlib.Ephemeron.K1.get_key
- This function won't be available in 5.0
- File "src/git/cstruct_append.ml", line 104, characters 9-29:
- 104 |         (Ephemeron.K1.get_key o1)
-                ^^^^^^^^^^^^^^^^^^^^
- Alert old_ephemeron_api: Stdlib.Ephemeron.K1.get_key
- This function won't be available in 5.0
- File "src/git/cstruct_append.ml", line 108, characters 29-50:
- 108 |       if k0 then Option.get (Ephemeron.K1.get_data o0)
-                                    ^^^^^^^^^^^^^^^^^^^^^
- Alert old_ephemeron_api: Stdlib.Ephemeron.K1.get_data
- This function won't be available in 5.0
- File "src/git/cstruct_append.ml", line 109, characters 23-44:
- 109 |       else Option.get (Ephemeron.K1.get_data o1)
-                              ^^^^^^^^^^^^^^^^^^^^^
- Alert old_ephemeron_api: Stdlib.Ephemeron.K1.get_data
- This function won't be available in 5.0
- File "src/git/cstruct_append.ml", line 115, characters 7-18:
- 115 |     if Cstruct.len !value < 1 then (
-              ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/git/cstruct_append.ml", line 126, characters 17-28:
- 126 |       capacity = Cstruct.len value;
-                        ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/git/cstruct_append.ml", line 157, characters 9-30:
- 157 |    match Ephemeron.K1.get_data tbl.o0 with
-                ^^^^^^^^^^^^^^^^^^^^^
- Alert old_ephemeron_api: Stdlib.Ephemeron.K1.get_data
- This function won't be available in 5.0
- File "src/git/cstruct_append.ml", line 161, characters 10-31:
- 161 |     match Ephemeron.K1.get_data tbl.o1 with
-                 ^^^^^^^^^^^^^^^^^^^^^
- Alert old_ephemeron_api: Stdlib.Ephemeron.K1.get_data
- This function won't be available in 5.0
- File "src/git/cstruct_append.ml", line 170, characters 10-31:
- 170 |     match Ephemeron.K1.get_data tbl.o0, Ephemeron.K1.get_data tbl.o1 with
-                 ^^^^^^^^^^^^^^^^^^^^^
- Alert old_ephemeron_api: Stdlib.Ephemeron.K1.get_data
- This function won't be available in 5.0
- File "src/git/cstruct_append.ml", line 170, characters 40-61:
- 170 |     match Ephemeron.K1.get_data tbl.o0, Ephemeron.K1.get_data tbl.o1 with
-                                               ^^^^^^^^^^^^^^^^^^^^^
- Alert old_ephemeron_api: Stdlib.Ephemeron.K1.get_data
- This function won't be available in 5.0
- File "src/git/cstruct_append.ml", line 172, characters 29-49:
- 172 |         let k0 = Option.get (Ephemeron.K1.get_key tbl.o0) in
-                                    ^^^^^^^^^^^^^^^^^^^^
- Alert old_ephemeron_api: Stdlib.Ephemeron.K1.get_key
- This function won't be available in 5.0
- File "src/git/cstruct_append.ml", line 173, characters 29-49:
- 173 |         let k1 = Option.get (Ephemeron.K1.get_key tbl.o1) in
-                                    ^^^^^^^^^^^^^^^^^^^^
- Alert old_ephemeron_api: Stdlib.Ephemeron.K1.get_key
- This function won't be available in 5.0
- File "src/git/cstruct_append.ml", line 188, characters 7-27:
- 188 |       (Ephemeron.K1.get_key tbl.o0)
-              ^^^^^^^^^^^^^^^^^^^^
- Alert old_ephemeron_api: Stdlib.Ephemeron.K1.get_key
- This function won't be available in 5.0
- File "src/git/cstruct_append.ml", line 189, characters 21-42:
- 189 |   then !(Option.get (Ephemeron.K1.get_data tbl.o0))
-                            ^^^^^^^^^^^^^^^^^^^^^
- Alert old_ephemeron_api: Stdlib.Ephemeron.K1.get_data
- This function won't be available in 5.0
- File "src/git/cstruct_append.ml", line 193, characters 7-27:
- 193 |       (Ephemeron.K1.get_key tbl.o1)
-              ^^^^^^^^^^^^^^^^^^^^
- Alert old_ephemeron_api: Stdlib.Ephemeron.K1.get_key
- This function won't be available in 5.0
- File "src/git/cstruct_append.ml", line 194, characters 21-42:
- 194 |   then !(Option.get (Ephemeron.K1.get_data tbl.o1))
-                            ^^^^^^^^^^^^^^^^^^^^^
- Alert old_ephemeron_api: Stdlib.Ephemeron.K1.get_data
- This function won't be available in 5.0
- (cd _build/default && /home/opam/.opam/4.14/bin/ocamlopt.opt -w -40 -g -I src/git/.git.objs/byte -I src/git/.git.objs/native -I /home/opam/.opam/4.14/lib/angstrom -I /home/opam/.opam/4.14/lib/astring -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/bigstringaf -I /home/opam/.opam/4.14/lib/carton -I /home/opam/.opam/4.14/lib/carton-git -I /home/opam/.opam/4.14/lib/carton-lwt -I /home/opam/.opam/4.14/lib/checkseum -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/decompress/de -I /home/opam/.opam/4.14/lib/decompress/zl -I /home/opam/.opam/4.14/lib/digestif -I /home/opam/.opam/4.14/lib/encore -I /home/opam/.opam/4.14/lib/fmt -I /home/opam/.opam/4.14/lib/fpath -I /home/opam/.opam/4.14/lib/ke -I /home/opam/.opam/4.14/lib/logs -I /home/opam/.opam/4.14/lib/lwt -I /home/opam/.opam/4.14/lib/mimic -I /home/opam/.opam/4.14/lib/ocamlgraph -I /home/opam/.opam/4.14/lib/optint -I /home/opam/.opam/4.14/lib/result -I /home/opam/.opam/4.14/lib/rresult -I /home/opam/.opam/4.14/lib/stdlib-shims -I src/loose/.loose.objs/byte -I src/loose/.loose.objs/native -I src/loose/.loose_git.objs/byte -I src/loose/.loose_git.objs/native -I src/not-so-smart/.hkt.objs/byte -I src/not-so-smart/.hkt.objs/native -I src/not-so-smart/.pck.objs/byte -I src/not-so-smart/.pck.objs/native -I src/not-so-smart/.sigs.objs/byte -I src/not-so-smart/.sigs.objs/native -I src/not-so-smart/.smart.objs/byte -I src/not-so-smart/.smart.objs/native -I src/not-so-smart/.smart_git.objs/byte -I src/not-so-smart/.smart_git.objs/native -intf-suffix .ml -no-alias-deps -open Git__ -o src/git/.git.objs/native/git__Blob.cmx -c -impl src/git/blob.ml)
- File "src/git/blob.ml", line 29, characters 49-60:
- 29 | let length : t -> int64 = fun t -> Int64.of_int (Cstruct.len t)
-                                                       ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/git/blob.ml", line 58, characters 51-62:
- 58 |   let length : t -> int64 = fun t -> Int64.of_int (Cstruct.len t)
-                                                         ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- (cd _build/default && /home/opam/.opam/4.14/bin/ocamlopt.opt -w -40 -g -I src/git/.git.objs/byte -I src/git/.git.objs/native -I /home/opam/.opam/4.14/lib/angstrom -I /home/opam/.opam/4.14/lib/astring -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/bigstringaf -I /home/opam/.opam/4.14/lib/carton -I /home/opam/.opam/4.14/lib/carton-git -I /home/opam/.opam/4.14/lib/carton-lwt -I /home/opam/.opam/4.14/lib/checkseum -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/decompress/de -I /home/opam/.opam/4.14/lib/decompress/zl -I /home/opam/.opam/4.14/lib/digestif -I /home/opam/.opam/4.14/lib/encore -I /home/opam/.opam/4.14/lib/fmt -I /home/opam/.opam/4.14/lib/fpath -I /home/opam/.opam/4.14/lib/ke -I /home/opam/.opam/4.14/lib/logs -I /home/opam/.opam/4.14/lib/lwt -I /home/opam/.opam/4.14/lib/mimic -I /home/opam/.opam/4.14/lib/ocamlgraph -I /home/opam/.opam/4.14/lib/optint -I /home/opam/.opam/4.14/lib/result -I /home/opam/.opam/4.14/lib/rresult -I /home/opam/.opam/4.14/lib/stdlib-shims -I src/loose/.loose.objs/byte -I src/loose/.loose.objs/native -I src/loose/.loose_git.objs/byte -I src/loose/.loose_git.objs/native -I src/not-so-smart/.hkt.objs/byte -I src/not-so-smart/.hkt.objs/native -I src/not-so-smart/.pck.objs/byte -I src/not-so-smart/.pck.objs/native -I src/not-so-smart/.sigs.objs/byte -I src/not-so-smart/.sigs.objs/native -I src/not-so-smart/.smart.objs/byte -I src/not-so-smart/.smart.objs/native -I src/not-so-smart/.smart_git.objs/byte -I src/not-so-smart/.smart_git.objs/native -intf-suffix .ml -no-alias-deps -open Git__ -o src/git/.git.objs/native/git__Commit.cmx -c -impl src/git/commit.ml)
- File "src/git/commit.ml", line 200, characters 33-41:
- 200 |       (Fmt.hvbox (Fmt.list ~sep:(Fmt.unit ";@ ") Hash.pp))
-                                        ^^^^^^^^
- Alert deprecated: Fmt.unit
- use Fmt.any instead.
- (cd _build/default && /home/opam/.opam/4.14/bin/ocamlopt.opt -w -40 -g -I src/git/.git.objs/byte -I src/git/.git.objs/native -I /home/opam/.opam/4.14/lib/angstrom -I /home/opam/.opam/4.14/lib/astring -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/bigstringaf -I /home/opam/.opam/4.14/lib/carton -I /home/opam/.opam/4.14/lib/carton-git -I /home/opam/.opam/4.14/lib/carton-lwt -I /home/opam/.opam/4.14/lib/checkseum -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/decompress/de -I /home/opam/.opam/4.14/lib/decompress/zl -I /home/opam/.opam/4.14/lib/digestif -I /home/opam/.opam/4.14/lib/encore -I /home/opam/.opam/4.14/lib/fmt -I /home/opam/.opam/4.14/lib/fpath -I /home/opam/.opam/4.14/lib/ke -I /home/opam/.opam/4.14/lib/logs -I /home/opam/.opam/4.14/lib/lwt -I /home/opam/.opam/4.14/lib/mimic -I /home/opam/.opam/4.14/lib/ocamlgraph -I /home/opam/.opam/4.14/lib/optint -I /home/opam/.opam/4.14/lib/result -I /home/opam/.opam/4.14/lib/rresult -I /home/opam/.opam/4.14/lib/stdlib-shims -I src/loose/.loose.objs/byte -I src/loose/.loose.objs/native -I src/loose/.loose_git.objs/byte -I src/loose/.loose_git.objs/native -I src/not-so-smart/.hkt.objs/byte -I src/not-so-smart/.hkt.objs/native -I src/not-so-smart/.pck.objs/byte -I src/not-so-smart/.pck.objs/native -I src/not-so-smart/.sigs.objs/byte -I src/not-so-smart/.sigs.objs/native -I src/not-so-smart/.smart.objs/byte -I src/not-so-smart/.smart.objs/native -I src/not-so-smart/.smart_git.objs/byte -I src/not-so-smart/.smart_git.objs/native -intf-suffix .ml -no-alias-deps -open Git__ -o src/git/.git.objs/native/git__Mem.cmx -c -impl src/git/mem.ml)
- File "src/git/mem.ml", line 185, characters 14-25:
- 185 |     let len = Cstruct.len raw in
-                     ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/git/mem.ml", line 461, characters 17-28:
- 461 |         if pos = Cstruct.len payload then (
-                        ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/git/mem.ml", line 465, characters 31-42:
- 465 |           let len = min chunk (Cstruct.len payload - pos) in
-                                      ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
-> compiled  git.3.1.1
-> installed git.3.1.1
Done.
# Run eval $(opam env) to update the current shell environment
2022-07-27 05:13.54 ---> saved as "471b63c8d30fe72373e5a2862a1549d6d0c23585c1cea743a7217d70cc3f14c8"

/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 05:13.57 ---> saved as "3caedfb7eb976ada68e792b6eea84c7c95f71d75f52c8f445a7a58b6c6a07cf8"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam remove git.3.1.1 && opam install --deps-only --with-test git.3.1.1 && opam install -v --with-test git.3.1.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 git 3.1.1

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> removed   git.3.1.1
Done.
# Run eval $(opam env) to update the current shell environment
The following actions will be performed:
=== recompile 12 packages
  - recompile carton            0.1.0  [uses fmt]
  - recompile carton-git        0.1.0  [uses fmt]
  - recompile carton-lwt        0.1.0  [uses carton]
  - recompile duff              0.5    [uses fmt]
  - recompile emile             1.1    [uses cmdliner]
  - recompile encore            0.8    [uses fmt]
  - recompile fmt               0.9.0  [uses cmdliner]
  - recompile ke                0.6    [uses fmt]
  - recompile logs              0.7.0  [uses cmdliner]
  - recompile mimic             0.0.5  [uses fmt]
  - recompile mirage-flow       3.0.0  [uses fmt]
  - recompile uutf              1.0.3  [uses cmdliner]
=== install 10 packages
  - install   afl-persistent    1.3    [required by crowbar]
  - install   alcotest          1.6.0  [required by git]
  - install   alcotest-lwt      1.6.0  [required by git]
  - install   cmdliner          1.1.1  [required by git]
  - install   crowbar           0.2.1  [required by git]
  - install   duration          0.2.0  [required by mirage-crypto-rng]
  - install   mirage-crypto     0.10.6 [required by mirage-crypto-rng]
  - install   mirage-crypto-rng 0.10.6 [required by git]
  - install   mtime             1.4.0  [required by mirage-crypto-rng]
  - install   re                1.10.4 [required by alcotest]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved afl-persistent.1.3  (cached)
-> retrieved alcotest.1.6.0, alcotest-lwt.1.6.0  (cached)
-> retrieved carton.0.1.0, carton-git.0.1.0, carton-lwt.0.1.0  (cached)
-> retrieved cmdliner.1.1.1  (cached)
-> retrieved crowbar.0.2.1  (cached)
-> retrieved duff.0.5  (cached)
-> retrieved duration.0.2.0  (cached)
-> retrieved emile.1.1  (cached)
-> retrieved encore.0.8  (cached)
-> retrieved fmt.0.9.0  (cached)
-> retrieved ke.0.6  (cached)
-> retrieved logs.0.7.0  (cached)
-> retrieved mimic.0.0.5  (cached)
-> installed afl-persistent.1.3
-> installed duration.0.2.0
-> retrieved mirage-crypto.0.10.6, mirage-crypto-rng.0.10.6  (cached)
-> retrieved mirage-flow.3.0.0  (cached)
-> retrieved mtime.1.4.0  (cached)
-> retrieved re.1.10.4  (cached)
-> retrieved uutf.1.0.3  (cached)
-> installed re.1.10.4
-> installed mtime.1.4.0
-> installed mirage-crypto.0.10.6
-> removed   carton-git.0.1.0
-> removed   carton-lwt.0.1.0
-> removed   carton.0.1.0
-> removed   duff.0.5
-> removed   emile.1.1
-> removed   encore.0.8
-> removed   ke.0.6
-> removed   mimic.0.0.5
-> removed   logs.0.7.0
-> removed   mirage-flow.3.0.0
-> removed   fmt.0.9.0
-> removed   uutf.1.0.3
-> installed cmdliner.1.1.1
-> installed crowbar.0.2.1
-> installed uutf.1.0.3
-> installed fmt.0.9.0
-> installed mirage-flow.3.0.0
-> installed emile.1.1
-> installed duff.0.5
-> installed encore.0.8
-> installed ke.0.6
-> installed alcotest.1.6.0
-> installed logs.0.7.0
-> installed alcotest-lwt.1.6.0
-> installed mimic.0.0.5
-> installed mirage-crypto-rng.0.10.6
-> installed carton.0.1.0
-> installed carton-lwt.0.1.0
-> installed carton-git.0.1.0
Done.

<><> afl-persistent.1.3 installed successfully ><><><><><><><><><><><><><><><><>
=> afl-persistent is installed, but since the current OCaml compiler does
   not enable AFL instrumentation by default, most packages will not be
   instrumented and fuzzing with afl-fuzz may not be effective.

   To globally enable AFL instrumentation, use an OCaml switch such as
   4.07.1+afl.
# Run eval $(opam env) to update the current shell environment
The following actions will be performed:
=== install 1 package
  - install git 3.1.1

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/3:
-> retrieved git.3.1.1  (cached)
Processing  2/3: [git: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "git" "-j" "31" (CWD=/home/opam/.opam/4.14/.opam-switch/build/git.3.1.1)
- (cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w -40 -g -bin-annot -I src/loose/.loose.objs/byte -I /home/opam/.opam/4.14/lib/bigstringaf -I /home/opam/.opam/4.14/lib/carton -I /home/opam/.opam/4.14/lib/checkseum -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/decompress/de -I /home/opam/.opam/4.14/lib/decompress/zl -I /home/opam/.opam/4.14/lib/fmt -I /home/opam/.opam/4.14/lib/logs -I /home/opam/.opam/4.14/lib/result -I /home/opam/.opam/4.14/lib/rresult -intf-suffix .ml -no-alias-deps -o src/loose/.loose.objs/byte/loose.cmo -c -impl src/loose/loose.ml)
- File "src/loose/loose.ml", line 57, characters 60-71:
- 57 |             Zl.Def.src encoder (Cstruct.to_bigarray src) 0 (Cstruct.len src)
-                                                                  ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/loose/loose.ml", line 64, characters 20-31:
- 64 |           let len = Cstruct.len dst - Zl.Def.dst_rem encoder in
-                          ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/loose/loose.ml", line 65, characters 19-30:
- 65 |           if len = Cstruct.len dst then Error `Non_atomic
-                         ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/loose/loose.ml", line 69, characters 63-74:
- 69 |               (Zl.Def.dst encoder (Cstruct.to_bigarray dst) 0 (Cstruct.len dst))
-                                                                     ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/loose/loose.ml", line 72, characters 20-31:
- 72 |           let len = Cstruct.len dst - Zl.Def.dst_rem encoder in
-                          ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/loose/loose.ml", line 73, characters 24-35:
- 73 |           Rresult.R.ok (Cstruct.len (Cstruct.shift dst len))
-                              ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/loose/loose.ml", line 137, characters 44-55:
- 137 |     go Uid.empty (Cstruct.to_string hdr, 0, Cstruct.len hdr) [] encoder
-                                                   ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/loose/loose.ml", line 167, characters 25-36:
- 167 |         if Int64.of_int (Cstruct.len contents) <> length then
-                                ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- (cd _build/default && /home/opam/.opam/4.14/bin/ocamlopt.opt -w -40 -g -I src/loose/.loose.objs/byte -I src/loose/.loose.objs/native -I /home/opam/.opam/4.14/lib/bigstringaf -I /home/opam/.opam/4.14/lib/carton -I /home/opam/.opam/4.14/lib/checkseum -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/decompress/de -I /home/opam/.opam/4.14/lib/decompress/zl -I /home/opam/.opam/4.14/lib/fmt -I /home/opam/.opam/4.14/lib/logs -I /home/opam/.opam/4.14/lib/result -I /home/opam/.opam/4.14/lib/rresult -intf-suffix .ml -no-alias-deps -o src/loose/.loose.objs/native/loose.cmx -c -impl src/loose/loose.ml)
- File "src/loose/loose.ml", line 57, characters 60-71:
- 57 |             Zl.Def.src encoder (Cstruct.to_bigarray src) 0 (Cstruct.len src)
-                                                                  ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/loose/loose.ml", line 64, characters 20-31:
- 64 |           let len = Cstruct.len dst - Zl.Def.dst_rem encoder in
-                          ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/loose/loose.ml", line 65, characters 19-30:
- 65 |           if len = Cstruct.len dst then Error `Non_atomic
-                         ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/loose/loose.ml", line 69, characters 63-74:
- 69 |               (Zl.Def.dst encoder (Cstruct.to_bigarray dst) 0 (Cstruct.len dst))
-                                                                     ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/loose/loose.ml", line 72, characters 20-31:
- 72 |           let len = Cstruct.len dst - Zl.Def.dst_rem encoder in
-                          ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/loose/loose.ml", line 73, characters 24-35:
- 73 |           Rresult.R.ok (Cstruct.len (Cstruct.shift dst len))
-                              ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/loose/loose.ml", line 137, characters 44-55:
- 137 |     go Uid.empty (Cstruct.to_string hdr, 0, Cstruct.len hdr) [] encoder
-                                                   ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/loose/loose.ml", line 167, characters 25-36:
- 167 |         if Int64.of_int (Cstruct.len contents) <> length then
-                                ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- (cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w -40 -g -bin-annot -I src/not-so-smart/.unixiz.objs/byte -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/fmt -I /home/opam/.opam/4.14/lib/ke -I /home/opam/.opam/4.14/lib/lwt -I /home/opam/.opam/4.14/lib/mirage-flow -I /home/opam/.opam/4.14/lib/result -I /home/opam/.opam/4.14/lib/rresult -I src/not-so-smart/.sigs.objs/byte -intf-suffix .ml -no-alias-deps -o src/not-so-smart/.unixiz.objs/byte/unixiz.cmo -c -impl src/not-so-smart/unixiz.ml)
- File "src/not-so-smart/unixiz.ml", line 36, characters 55-66:
- 36 |           Ke.Rke.N.push flow.queue ~blit:blit0 ~length:Cstruct.len res;
-                                                             ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/not-so-smart/unixiz.ml", line 37, characters 25-36:
- 37 |           let len = min (Cstruct.len payload) (Ke.Rke.length flow.queue) in
-                               ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/not-so-smart/unixiz.ml", line 38, characters 59-70:
- 38 |           Ke.Rke.N.keep_exn flow.queue ~blit:blit1 ~length:Cstruct.len ~off:0
-                                                                 ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/not-so-smart/unixiz.ml", line 43, characters 21-32:
- 43 |       let len = min (Cstruct.len payload) (Ke.Rke.length flow.queue) in
-                           ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/not-so-smart/unixiz.ml", line 44, characters 55-66:
- 44 |       Ke.Rke.N.keep_exn flow.queue ~blit:blit1 ~length:Cstruct.len payload;
-                                                             ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/not-so-smart/unixiz.ml", line 52, characters 21-32:
- 52 |     | Ok () -> R.ok (Cstruct.len payload)
-                           ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- (cd _build/default && /home/opam/.opam/4.14/bin/ocamlopt.opt -w -40 -g -I src/not-so-smart/.unixiz.objs/byte -I src/not-so-smart/.unixiz.objs/native -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/fmt -I /home/opam/.opam/4.14/lib/ke -I /home/opam/.opam/4.14/lib/lwt -I /home/opam/.opam/4.14/lib/mirage-flow -I /home/opam/.opam/4.14/lib/result -I /home/opam/.opam/4.14/lib/rresult -I src/not-so-smart/.sigs.objs/byte -I src/not-so-smart/.sigs.objs/native -intf-suffix .ml -no-alias-deps -o src/not-so-smart/.unixiz.objs/native/unixiz.cmx -c -impl src/not-so-smart/unixiz.ml)
- File "src/not-so-smart/unixiz.ml", line 36, characters 55-66:
- 36 |           Ke.Rke.N.push flow.queue ~blit:blit0 ~length:Cstruct.len res;
-                                                             ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/not-so-smart/unixiz.ml", line 37, characters 25-36:
- 37 |           let len = min (Cstruct.len payload) (Ke.Rke.length flow.queue) in
-                               ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/not-so-smart/unixiz.ml", line 38, characters 59-70:
- 38 |           Ke.Rke.N.keep_exn flow.queue ~blit:blit1 ~length:Cstruct.len ~off:0
-                                                                 ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/not-so-smart/unixiz.ml", line 43, characters 21-32:
- 43 |       let len = min (Cstruct.len payload) (Ke.Rke.length flow.queue) in
-                           ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/not-so-smart/unixiz.ml", line 44, characters 55-66:
- 44 |       Ke.Rke.N.keep_exn flow.queue ~blit:blit1 ~length:Cstruct.len payload;
-                                                             ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/not-so-smart/unixiz.ml", line 52, characters 21-32:
- 52 |     | Ok () -> R.ok (Cstruct.len payload)
-                           ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- (cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w -40 -g -bin-annot -I src/not-so-smart/.smart_flow.objs/byte -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/fmt -I /home/opam/.opam/4.14/lib/logs -I src/not-so-smart/.sigs.objs/byte -I src/not-so-smart/.smart.objs/byte -intf-suffix .ml -no-alias-deps -o src/not-so-smart/.smart_flow.objs/byte/smart_flow.cmo -c -impl src/not-so-smart/smart_flow.ml)
- File "src/not-so-smart/smart_flow.ml", line 24, characters 23-34:
- 24 |         let max = min (Cstruct.len tmp) len in
-                             ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/not-so-smart/smart_flow.ml", line 39, characters 13-24:
- 39 |           if Cstruct.len tmp = 0 then go (k len)
-                   ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- (cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w -40 -g -bin-annot -I src/not-so-smart/.smart.objs/byte -I /home/opam/.opam/4.14/lib/astring -I /home/opam/.opam/4.14/lib/domain-name -I /home/opam/.opam/4.14/lib/fmt -I /home/opam/.opam/4.14/lib/ipaddr -I /home/opam/.opam/4.14/lib/result -I /home/opam/.opam/4.14/lib/rresult -I /home/opam/.opam/4.14/lib/stdlib-shims -I src/not-so-smart/.pkt_line.objs/byte -intf-suffix .ml -no-alias-deps -open Smart__ -o src/not-so-smart/.smart.objs/byte/smart__Protocol.cmo -c -impl src/not-so-smart/protocol.ml)
- File "src/not-so-smart/protocol.ml", line 127, characters 11-17:
- 127 |       Fmt.(prefix (const string " host=") pp_host)
-                  ^^^^^^
- Alert deprecated: Fmt.prefix
- use Fmt.(++) instead.
- File "src/not-so-smart/protocol.ml", line 129, characters 11-17:
- 129 |       Fmt.(prefix (const string " version=") int)
-                  ^^^^^^
- Alert deprecated: Fmt.prefix
- use Fmt.(++) instead.
- (cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w -40 -g -bin-annot -I src/git/.git.objs/byte -I /home/opam/.opam/4.14/lib/angstrom -I /home/opam/.opam/4.14/lib/astring -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/bigstringaf -I /home/opam/.opam/4.14/lib/carton -I /home/opam/.opam/4.14/lib/carton-git -I /home/opam/.opam/4.14/lib/carton-lwt -I /home/opam/.opam/4.14/lib/checkseum -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/decompress/de -I /home/opam/.opam/4.14/lib/decompress/zl -I /home/opam/.opam/4.14/lib/digestif -I /home/opam/.opam/4.14/lib/encore -I /home/opam/.opam/4.14/lib/fmt -I /home/opam/.opam/4.14/lib/fpath -I /home/opam/.opam/4.14/lib/ke -I /home/opam/.opam/4.14/lib/logs -I /home/opam/.opam/4.14/lib/lwt -I /home/opam/.opam/4.14/lib/mimic -I /home/opam/.opam/4.14/lib/ocamlgraph -I /home/opam/.opam/4.14/lib/optint -I /home/opam/.opam/4.14/lib/result -I /home/opam/.opam/4.14/lib/rresult -I /home/opam/.opam/4.14/lib/stdlib-shims -I src/loose/.loose.objs/byte -I src/loose/.loose_git.objs/byte -I src/not-so-smart/.hkt.objs/byte -I src/not-so-smart/.pck.objs/byte -I src/not-so-smart/.sigs.objs/byte -I src/not-so-smart/.smart.objs/byte -I src/not-so-smart/.smart_git.objs/byte -intf-suffix .ml -no-alias-deps -open Git__ -o src/git/.git.objs/byte/git__Cstruct_append.cmo -c -impl src/git/cstruct_append.ml)
- File "src/git/cstruct_append.ml", line 36, characters 9-28:
- 36 |   { o0 = Ephemeron.K1.create (); o1 = Ephemeron.K1.create (); which = false }
-               ^^^^^^^^^^^^^^^^^^^
- Alert old_ephemeron_api: Stdlib.Ephemeron.K1.create
- This function won't be available in 5.0
- File "src/git/cstruct_append.ml", line 36, characters 38-57:
- 36 |   { o0 = Ephemeron.K1.create (); o1 = Ephemeron.K1.create (); which = false }
-                                            ^^^^^^^^^^^^^^^^^^^
- Alert old_ephemeron_api: Stdlib.Ephemeron.K1.create
- This function won't be available in 5.0
- File "src/git/cstruct_append.ml", line 43, characters 4-24:
- 43 |     Ephemeron.K1.set_key tbl.o0 value;
-          ^^^^^^^^^^^^^^^^^^^^
- Alert old_ephemeron_api: Stdlib.Ephemeron.K1.set_key
- This function won't be available in 5.0
- File "src/git/cstruct_append.ml", line 44, characters 4-25:
- 44 |     Ephemeron.K1.set_data tbl.o0 (ref empty);
-          ^^^^^^^^^^^^^^^^^^^^^
- Alert old_ephemeron_api: Stdlib.Ephemeron.K1.set_data
- This function won't be available in 5.0
- File "src/git/cstruct_append.ml", line 48, characters 4-24:
- 48 |     Ephemeron.K1.set_key tbl.o1 value;
-          ^^^^^^^^^^^^^^^^^^^^
- Alert old_ephemeron_api: Stdlib.Ephemeron.K1.set_key
- This function won't be available in 5.0
- File "src/git/cstruct_append.ml", line 49, characters 4-25:
- 49 |     Ephemeron.K1.set_data tbl.o1 (ref empty);
-          ^^^^^^^^^^^^^^^^^^^^^
- Alert old_ephemeron_api: Stdlib.Ephemeron.K1.set_data
- This function won't be available in 5.0
- File "src/git/cstruct_append.ml", line 99, characters 9-29:
- 99 |         (Ephemeron.K1.get_key o0)
-               ^^^^^^^^^^^^^^^^^^^^
- Alert old_ephemeron_api: Stdlib.Ephemeron.K1.get_key
- This function won't be available in 5.0
- File "src/git/cstruct_append.ml", line 104, characters 9-29:
- 104 |         (Ephemeron.K1.get_key o1)
-                ^^^^^^^^^^^^^^^^^^^^
- Alert old_ephemeron_api: Stdlib.Ephemeron.K1.get_key
- This function won't be available in 5.0
- File "src/git/cstruct_append.ml", line 108, characters 29-50:
- 108 |       if k0 then Option.get (Ephemeron.K1.get_data o0)
-                                    ^^^^^^^^^^^^^^^^^^^^^
- Alert old_ephemeron_api: Stdlib.Ephemeron.K1.get_data
- This function won't be available in 5.0
- File "src/git/cstruct_append.ml", line 109, characters 23-44:
- 109 |       else Option.get (Ephemeron.K1.get_data o1)
-                              ^^^^^^^^^^^^^^^^^^^^^
- Alert old_ephemeron_api: Stdlib.Ephemeron.K1.get_data
- This function won't be available in 5.0
- File "src/git/cstruct_append.ml", line 115, characters 7-18:
- 115 |     if Cstruct.len !value < 1 then (
-              ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/git/cstruct_append.ml", line 126, characters 17-28:
- 126 |       capacity = Cstruct.len value;
-                        ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/git/cstruct_append.ml", line 157, characters 9-30:
- 157 |    match Ephemeron.K1.get_data tbl.o0 with
-                ^^^^^^^^^^^^^^^^^^^^^
- Alert old_ephemeron_api: Stdlib.Ephemeron.K1.get_data
- This function won't be available in 5.0
- File "src/git/cstruct_append.ml", line 161, characters 10-31:
- 161 |     match Ephemeron.K1.get_data tbl.o1 with
-                 ^^^^^^^^^^^^^^^^^^^^^
- Alert old_ephemeron_api: Stdlib.Ephemeron.K1.get_data
- This function won't be available in 5.0
- File "src/git/cstruct_append.ml", line 170, characters 10-31:
- 170 |     match Ephemeron.K1.get_data tbl.o0, Ephemeron.K1.get_data tbl.o1 with
-                 ^^^^^^^^^^^^^^^^^^^^^
- Alert old_ephemeron_api: Stdlib.Ephemeron.K1.get_data
- This function won't be available in 5.0
- File "src/git/cstruct_append.ml", line 170, characters 40-61:
- 170 |     match Ephemeron.K1.get_data tbl.o0, Ephemeron.K1.get_data tbl.o1 with
-                                               ^^^^^^^^^^^^^^^^^^^^^
- Alert old_ephemeron_api: Stdlib.Ephemeron.K1.get_data
- This function won't be available in 5.0
- File "src/git/cstruct_append.ml", line 172, characters 29-49:
- 172 |         let k0 = Option.get (Ephemeron.K1.get_key tbl.o0) in
-                                    ^^^^^^^^^^^^^^^^^^^^
- Alert old_ephemeron_api: Stdlib.Ephemeron.K1.get_key
- This function won't be available in 5.0
- File "src/git/cstruct_append.ml", line 173, characters 29-49:
- 173 |         let k1 = Option.get (Ephemeron.K1.get_key tbl.o1) in
-                                    ^^^^^^^^^^^^^^^^^^^^
- Alert old_ephemeron_api: Stdlib.Ephemeron.K1.get_key
- This function won't be available in 5.0
- File "src/git/cstruct_append.ml", line 188, characters 7-27:
- 188 |       (Ephemeron.K1.get_key tbl.o0)
-              ^^^^^^^^^^^^^^^^^^^^
- Alert old_ephemeron_api: Stdlib.Ephemeron.K1.get_key
- This function won't be available in 5.0
- File "src/git/cstruct_append.ml", line 189, characters 21-42:
- 189 |   then !(Option.get (Ephemeron.K1.get_data tbl.o0))
-                            ^^^^^^^^^^^^^^^^^^^^^
- Alert old_ephemeron_api: Stdlib.Ephemeron.K1.get_data
- This function won't be available in 5.0
- File "src/git/cstruct_append.ml", line 193, characters 7-27:
- 193 |       (Ephemeron.K1.get_key tbl.o1)
-              ^^^^^^^^^^^^^^^^^^^^
- Alert old_ephemeron_api: Stdlib.Ephemeron.K1.get_key
- This function won't be available in 5.0
- File "src/git/cstruct_append.ml", line 194, characters 21-42:
- 194 |   then !(Option.get (Ephemeron.K1.get_data tbl.o1))
-                            ^^^^^^^^^^^^^^^^^^^^^
- Alert old_ephemeron_api: Stdlib.Ephemeron.K1.get_data
- This function won't be available in 5.0
- (cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w -40 -g -bin-annot -I src/git/.git.objs/byte -I /home/opam/.opam/4.14/lib/angstrom -I /home/opam/.opam/4.14/lib/astring -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/bigstringaf -I /home/opam/.opam/4.14/lib/carton -I /home/opam/.opam/4.14/lib/carton-git -I /home/opam/.opam/4.14/lib/carton-lwt -I /home/opam/.opam/4.14/lib/checkseum -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/decompress/de -I /home/opam/.opam/4.14/lib/decompress/zl -I /home/opam/.opam/4.14/lib/digestif -I /home/opam/.opam/4.14/lib/encore -I /home/opam/.opam/4.14/lib/fmt -I /home/opam/.opam/4.14/lib/fpath -I /home/opam/.opam/4.14/lib/ke -I /home/opam/.opam/4.14/lib/logs -I /home/opam/.opam/4.14/lib/lwt -I /home/opam/.opam/4.14/lib/mimic -I /home/opam/.opam/4.14/lib/ocamlgraph -I /home/opam/.opam/4.14/lib/optint -I /home/opam/.opam/4.14/lib/result -I /home/opam/.opam/4.14/lib/rresult -I /home/opam/.opam/4.14/lib/stdlib-shims -I src/loose/.loose.objs/byte -I src/loose/.loose_git.objs/byte -I src/not-so-smart/.hkt.objs/byte -I src/not-so-smart/.pck.objs/byte -I src/not-so-smart/.sigs.objs/byte -I src/not-so-smart/.smart.objs/byte -I src/not-so-smart/.smart_git.objs/byte -intf-suffix .ml -no-alias-deps -open Git__ -o src/git/.git.objs/byte/git__Blob.cmo -c -impl src/git/blob.ml)
- File "src/git/blob.ml", line 29, characters 49-60:
- 29 | let length : t -> int64 = fun t -> Int64.of_int (Cstruct.len t)
-                                                       ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/git/blob.ml", line 58, characters 51-62:
- 58 |   let length : t -> int64 = fun t -> Int64.of_int (Cstruct.len t)
-                                                         ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- (cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w -40 -g -bin-annot -I src/not-so-smart/.smart_git.objs/byte -I /home/opam/.opam/4.14/lib/astring -I /home/opam/.opam/4.14/lib/bigstringaf -I /home/opam/.opam/4.14/lib/carton -I /home/opam/.opam/4.14/lib/carton-lwt -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/decompress/de -I /home/opam/.opam/4.14/lib/decompress/zl -I /home/opam/.opam/4.14/lib/digestif -I /home/opam/.opam/4.14/lib/domain-name -I /home/opam/.opam/4.14/lib/emile -I /home/opam/.opam/4.14/lib/fmt -I /home/opam/.opam/4.14/lib/ipaddr -I /home/opam/.opam/4.14/lib/logs -I /home/opam/.opam/4.14/lib/lwt -I /home/opam/.opam/4.14/lib/mimic -I /home/opam/.opam/4.14/lib/mirage-flow -I /home/opam/.opam/4.14/lib/result -I /home/opam/.opam/4.14/lib/rresult -I /home/opam/.opam/4.14/lib/uri -I src/not-so-smart/.nss.objs/byte -I src/not-so-smart/.pck.objs/byte -I src/not-so-smart/.sigs.objs/byte -I src/not-so-smart/.smart.objs/byte -I src/not-so-smart/.unixiz.objs/byte -intf-suffix .ml -no-alias-deps -open Smart_git__ -o src/not-so-smart/.smart_git.objs/byte/smart_git.cmo -c -impl src/not-so-smart/smart_git.ml)
- File "src/not-so-smart/smart_git.ml", line 336, characters 21-32:
- 336 |       Lwt.return_ok (Cstruct.len raw)
-                            ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/not-so-smart/smart_git.ml", line 347, characters 52-63:
- 347 |         let len = min (String.length t.ic - t.pos) (Cstruct.len raw) in
-                                                           ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- (cd _build/default && /home/opam/.opam/4.14/bin/ocamlopt.opt -w -40 -g -I src/not-so-smart/.smart.objs/byte -I src/not-so-smart/.smart.objs/native -I /home/opam/.opam/4.14/lib/astring -I /home/opam/.opam/4.14/lib/domain-name -I /home/opam/.opam/4.14/lib/fmt -I /home/opam/.opam/4.14/lib/ipaddr -I /home/opam/.opam/4.14/lib/result -I /home/opam/.opam/4.14/lib/rresult -I /home/opam/.opam/4.14/lib/stdlib-shims -I src/not-so-smart/.pkt_line.objs/byte -I src/not-so-smart/.pkt_line.objs/native -intf-suffix .ml -no-alias-deps -open Smart__ -o src/not-so-smart/.smart.objs/native/smart__Protocol.cmx -c -impl src/not-so-smart/protocol.ml)
- File "src/not-so-smart/protocol.ml", line 127, characters 11-17:
- 127 |       Fmt.(prefix (const string " host=") pp_host)
-                  ^^^^^^
- Alert deprecated: Fmt.prefix
- use Fmt.(++) instead.
- File "src/not-so-smart/protocol.ml", line 129, characters 11-17:
- 129 |       Fmt.(prefix (const string " version=") int)
-                  ^^^^^^
- Alert deprecated: Fmt.prefix
- use Fmt.(++) instead.
- (cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w -40 -g -bin-annot -I src/git/.git.objs/byte -I /home/opam/.opam/4.14/lib/angstrom -I /home/opam/.opam/4.14/lib/astring -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/bigstringaf -I /home/opam/.opam/4.14/lib/carton -I /home/opam/.opam/4.14/lib/carton-git -I /home/opam/.opam/4.14/lib/carton-lwt -I /home/opam/.opam/4.14/lib/checkseum -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/decompress/de -I /home/opam/.opam/4.14/lib/decompress/zl -I /home/opam/.opam/4.14/lib/digestif -I /home/opam/.opam/4.14/lib/encore -I /home/opam/.opam/4.14/lib/fmt -I /home/opam/.opam/4.14/lib/fpath -I /home/opam/.opam/4.14/lib/ke -I /home/opam/.opam/4.14/lib/logs -I /home/opam/.opam/4.14/lib/lwt -I /home/opam/.opam/4.14/lib/mimic -I /home/opam/.opam/4.14/lib/ocamlgraph -I /home/opam/.opam/4.14/lib/optint -I /home/opam/.opam/4.14/lib/result -I /home/opam/.opam/4.14/lib/rresult -I /home/opam/.opam/4.14/lib/stdlib-shims -I src/loose/.loose.objs/byte -I src/loose/.loose_git.objs/byte -I src/not-so-smart/.hkt.objs/byte -I src/not-so-smart/.pck.objs/byte -I src/not-so-smart/.sigs.objs/byte -I src/not-so-smart/.smart.objs/byte -I src/not-so-smart/.smart_git.objs/byte -intf-suffix .ml -no-alias-deps -open Git__ -o src/git/.git.objs/byte/git__Commit.cmo -c -impl src/git/commit.ml)
- File "src/git/commit.ml", line 200, characters 33-41:
- 200 |       (Fmt.hvbox (Fmt.list ~sep:(Fmt.unit ";@ ") Hash.pp))
-                                        ^^^^^^^^
- Alert deprecated: Fmt.unit
- use Fmt.any instead.
- (cd _build/default && /home/opam/.opam/4.14/bin/ocamlopt.opt -w -40 -g -I src/not-so-smart/.smart_flow.objs/byte -I src/not-so-smart/.smart_flow.objs/native -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/fmt -I /home/opam/.opam/4.14/lib/logs -I src/not-so-smart/.sigs.objs/byte -I src/not-so-smart/.sigs.objs/native -I src/not-so-smart/.smart.objs/byte -I src/not-so-smart/.smart.objs/native -intf-suffix .ml -no-alias-deps -o src/not-so-smart/.smart_flow.objs/native/smart_flow.cmx -c -impl src/not-so-smart/smart_flow.ml)
- File "src/not-so-smart/smart_flow.ml", line 24, characters 23-34:
- 24 |         let max = min (Cstruct.len tmp) len in
-                             ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/not-so-smart/smart_flow.ml", line 39, characters 13-24:
- 39 |           if Cstruct.len tmp = 0 then go (k len)
-                   ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- (cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w -40 -g -bin-annot -I src/git/.git.objs/byte -I /home/opam/.opam/4.14/lib/angstrom -I /home/opam/.opam/4.14/lib/astring -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/bigstringaf -I /home/opam/.opam/4.14/lib/carton -I /home/opam/.opam/4.14/lib/carton-git -I /home/opam/.opam/4.14/lib/carton-lwt -I /home/opam/.opam/4.14/lib/checkseum -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/decompress/de -I /home/opam/.opam/4.14/lib/decompress/zl -I /home/opam/.opam/4.14/lib/digestif -I /home/opam/.opam/4.14/lib/encore -I /home/opam/.opam/4.14/lib/fmt -I /home/opam/.opam/4.14/lib/fpath -I /home/opam/.opam/4.14/lib/ke -I /home/opam/.opam/4.14/lib/logs -I /home/opam/.opam/4.14/lib/lwt -I /home/opam/.opam/4.14/lib/mimic -I /home/opam/.opam/4.14/lib/ocamlgraph -I /home/opam/.opam/4.14/lib/optint -I /home/opam/.opam/4.14/lib/result -I /home/opam/.opam/4.14/lib/rresult -I /home/opam/.opam/4.14/lib/stdlib-shims -I src/loose/.loose.objs/byte -I src/loose/.loose_git.objs/byte -I src/not-so-smart/.hkt.objs/byte -I src/not-so-smart/.pck.objs/byte -I src/not-so-smart/.sigs.objs/byte -I src/not-so-smart/.smart.objs/byte -I src/not-so-smart/.smart_git.objs/byte -intf-suffix .ml -no-alias-deps -open Git__ -o src/git/.git.objs/byte/git__Mem.cmo -c -impl src/git/mem.ml)
- File "src/git/mem.ml", line 185, characters 14-25:
- 185 |     let len = Cstruct.len raw in
-                     ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/git/mem.ml", line 461, characters 17-28:
- 461 |         if pos = Cstruct.len payload then (
-                        ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/git/mem.ml", line 465, characters 31-42:
- 465 |           let len = min chunk (Cstruct.len payload - pos) in
-                                      ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- (cd _build/default && /home/opam/.opam/4.14/bin/ocamlopt.opt -w -40 -g -I src/not-so-smart/.smart_git.objs/byte -I src/not-so-smart/.smart_git.objs/native -I /home/opam/.opam/4.14/lib/astring -I /home/opam/.opam/4.14/lib/bigstringaf -I /home/opam/.opam/4.14/lib/carton -I /home/opam/.opam/4.14/lib/carton-lwt -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/decompress/de -I /home/opam/.opam/4.14/lib/decompress/zl -I /home/opam/.opam/4.14/lib/digestif -I /home/opam/.opam/4.14/lib/domain-name -I /home/opam/.opam/4.14/lib/emile -I /home/opam/.opam/4.14/lib/fmt -I /home/opam/.opam/4.14/lib/ipaddr -I /home/opam/.opam/4.14/lib/logs -I /home/opam/.opam/4.14/lib/lwt -I /home/opam/.opam/4.14/lib/mimic -I /home/opam/.opam/4.14/lib/mirage-flow -I /home/opam/.opam/4.14/lib/result -I /home/opam/.opam/4.14/lib/rresult -I /home/opam/.opam/4.14/lib/uri -I src/not-so-smart/.nss.objs/byte -I src/not-so-smart/.nss.objs/native -I src/not-so-smart/.pck.objs/byte -I src/not-so-smart/.pck.objs/native -I src/not-so-smart/.sigs.objs/byte -I src/not-so-smart/.sigs.objs/native -I src/not-so-smart/.smart.objs/byte -I src/not-so-smart/.smart.objs/native -I src/not-so-smart/.unixiz.objs/byte -I src/not-so-smart/.unixiz.objs/native -intf-suffix .ml -no-alias-deps -open Smart_git__ -o src/not-so-smart/.smart_git.objs/native/smart_git.cmx -c -impl src/not-so-smart/smart_git.ml)
- File "src/not-so-smart/smart_git.ml", line 336, characters 21-32:
- 336 |       Lwt.return_ok (Cstruct.len raw)
-                            ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/not-so-smart/smart_git.ml", line 347, characters 52-63:
- 347 |         let len = min (String.length t.ic - t.pos) (Cstruct.len raw) in
-                                                           ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- (cd _build/default && /home/opam/.opam/4.14/bin/ocamlopt.opt -w -40 -g -I src/git/.git.objs/byte -I src/git/.git.objs/native -I /home/opam/.opam/4.14/lib/angstrom -I /home/opam/.opam/4.14/lib/astring -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/bigstringaf -I /home/opam/.opam/4.14/lib/carton -I /home/opam/.opam/4.14/lib/carton-git -I /home/opam/.opam/4.14/lib/carton-lwt -I /home/opam/.opam/4.14/lib/checkseum -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/decompress/de -I /home/opam/.opam/4.14/lib/decompress/zl -I /home/opam/.opam/4.14/lib/digestif -I /home/opam/.opam/4.14/lib/encore -I /home/opam/.opam/4.14/lib/fmt -I /home/opam/.opam/4.14/lib/fpath -I /home/opam/.opam/4.14/lib/ke -I /home/opam/.opam/4.14/lib/logs -I /home/opam/.opam/4.14/lib/lwt -I /home/opam/.opam/4.14/lib/mimic -I /home/opam/.opam/4.14/lib/ocamlgraph -I /home/opam/.opam/4.14/lib/optint -I /home/opam/.opam/4.14/lib/result -I /home/opam/.opam/4.14/lib/rresult -I /home/opam/.opam/4.14/lib/stdlib-shims -I src/loose/.loose.objs/byte -I src/loose/.loose.objs/native -I src/loose/.loose_git.objs/byte -I src/loose/.loose_git.objs/native -I src/not-so-smart/.hkt.objs/byte -I src/not-so-smart/.hkt.objs/native -I src/not-so-smart/.pck.objs/byte -I src/not-so-smart/.pck.objs/native -I src/not-so-smart/.sigs.objs/byte -I src/not-so-smart/.sigs.objs/native -I src/not-so-smart/.smart.objs/byte -I src/not-so-smart/.smart.objs/native -I src/not-so-smart/.smart_git.objs/byte -I src/not-so-smart/.smart_git.objs/native -intf-suffix .ml -no-alias-deps -open Git__ -o src/git/.git.objs/native/git__Cstruct_append.cmx -c -impl src/git/cstruct_append.ml)
- File "src/git/cstruct_append.ml", line 36, characters 9-28:
- 36 |   { o0 = Ephemeron.K1.create (); o1 = Ephemeron.K1.create (); which = false }
-               ^^^^^^^^^^^^^^^^^^^
- Alert old_ephemeron_api: Stdlib.Ephemeron.K1.create
- This function won't be available in 5.0
- File "src/git/cstruct_append.ml", line 36, characters 38-57:
- 36 |   { o0 = Ephemeron.K1.create (); o1 = Ephemeron.K1.create (); which = false }
-                                            ^^^^^^^^^^^^^^^^^^^
- Alert old_ephemeron_api: Stdlib.Ephemeron.K1.create
- This function won't be available in 5.0
- File "src/git/cstruct_append.ml", line 43, characters 4-24:
- 43 |     Ephemeron.K1.set_key tbl.o0 value;
-          ^^^^^^^^^^^^^^^^^^^^
- Alert old_ephemeron_api: Stdlib.Ephemeron.K1.set_key
- This function won't be available in 5.0
- File "src/git/cstruct_append.ml", line 44, characters 4-25:
- 44 |     Ephemeron.K1.set_data tbl.o0 (ref empty);
-          ^^^^^^^^^^^^^^^^^^^^^
- Alert old_ephemeron_api: Stdlib.Ephemeron.K1.set_data
- This function won't be available in 5.0
- File "src/git/cstruct_append.ml", line 48, characters 4-24:
- 48 |     Ephemeron.K1.set_key tbl.o1 value;
-          ^^^^^^^^^^^^^^^^^^^^
- Alert old_ephemeron_api: Stdlib.Ephemeron.K1.set_key
- This function won't be available in 5.0
- File "src/git/cstruct_append.ml", line 49, characters 4-25:
- 49 |     Ephemeron.K1.set_data tbl.o1 (ref empty);
-          ^^^^^^^^^^^^^^^^^^^^^
- Alert old_ephemeron_api: Stdlib.Ephemeron.K1.set_data
- This function won't be available in 5.0
- File "src/git/cstruct_append.ml", line 99, characters 9-29:
- 99 |         (Ephemeron.K1.get_key o0)
-               ^^^^^^^^^^^^^^^^^^^^
- Alert old_ephemeron_api: Stdlib.Ephemeron.K1.get_key
- This function won't be available in 5.0
- File "src/git/cstruct_append.ml", line 104, characters 9-29:
- 104 |         (Ephemeron.K1.get_key o1)
-                ^^^^^^^^^^^^^^^^^^^^
- Alert old_ephemeron_api: Stdlib.Ephemeron.K1.get_key
- This function won't be available in 5.0
- File "src/git/cstruct_append.ml", line 108, characters 29-50:
- 108 |       if k0 then Option.get (Ephemeron.K1.get_data o0)
-                                    ^^^^^^^^^^^^^^^^^^^^^
- Alert old_ephemeron_api: Stdlib.Ephemeron.K1.get_data
- This function won't be available in 5.0
- File "src/git/cstruct_append.ml", line 109, characters 23-44:
- 109 |       else Option.get (Ephemeron.K1.get_data o1)
-                              ^^^^^^^^^^^^^^^^^^^^^
- Alert old_ephemeron_api: Stdlib.Ephemeron.K1.get_data
- This function won't be available in 5.0
- File "src/git/cstruct_append.ml", line 115, characters 7-18:
- 115 |     if Cstruct.len !value < 1 then (
-              ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/git/cstruct_append.ml", line 126, characters 17-28:
- 126 |       capacity = Cstruct.len value;
-                        ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/git/cstruct_append.ml", line 157, characters 9-30:
- 157 |    match Ephemeron.K1.get_data tbl.o0 with
-                ^^^^^^^^^^^^^^^^^^^^^
- Alert old_ephemeron_api: Stdlib.Ephemeron.K1.get_data
- This function won't be available in 5.0
- File "src/git/cstruct_append.ml", line 161, characters 10-31:
- 161 |     match Ephemeron.K1.get_data tbl.o1 with
-                 ^^^^^^^^^^^^^^^^^^^^^
- Alert old_ephemeron_api: Stdlib.Ephemeron.K1.get_data
- This function won't be available in 5.0
- File "src/git/cstruct_append.ml", line 170, characters 10-31:
- 170 |     match Ephemeron.K1.get_data tbl.o0, Ephemeron.K1.get_data tbl.o1 with
-                 ^^^^^^^^^^^^^^^^^^^^^
- Alert old_ephemeron_api: Stdlib.Ephemeron.K1.get_data
- This function won't be available in 5.0
- File "src/git/cstruct_append.ml", line 170, characters 40-61:
- 170 |     match Ephemeron.K1.get_data tbl.o0, Ephemeron.K1.get_data tbl.o1 with
-                                               ^^^^^^^^^^^^^^^^^^^^^
- Alert old_ephemeron_api: Stdlib.Ephemeron.K1.get_data
- This function won't be available in 5.0
- File "src/git/cstruct_append.ml", line 172, characters 29-49:
- 172 |         let k0 = Option.get (Ephemeron.K1.get_key tbl.o0) in
-                                    ^^^^^^^^^^^^^^^^^^^^
- Alert old_ephemeron_api: Stdlib.Ephemeron.K1.get_key
- This function won't be available in 5.0
- File "src/git/cstruct_append.ml", line 173, characters 29-49:
- 173 |         let k1 = Option.get (Ephemeron.K1.get_key tbl.o1) in
-                                    ^^^^^^^^^^^^^^^^^^^^
- Alert old_ephemeron_api: Stdlib.Ephemeron.K1.get_key
- This function won't be available in 5.0
- File "src/git/cstruct_append.ml", line 188, characters 7-27:
- 188 |       (Ephemeron.K1.get_key tbl.o0)
-              ^^^^^^^^^^^^^^^^^^^^
- Alert old_ephemeron_api: Stdlib.Ephemeron.K1.get_key
- This function won't be available in 5.0
- File "src/git/cstruct_append.ml", line 189, characters 21-42:
- 189 |   then !(Option.get (Ephemeron.K1.get_data tbl.o0))
-                            ^^^^^^^^^^^^^^^^^^^^^
- Alert old_ephemeron_api: Stdlib.Ephemeron.K1.get_data
- This function won't be available in 5.0
- File "src/git/cstruct_append.ml", line 193, characters 7-27:
- 193 |       (Ephemeron.K1.get_key tbl.o1)
-              ^^^^^^^^^^^^^^^^^^^^
- Alert old_ephemeron_api: Stdlib.Ephemeron.K1.get_key
- This function won't be available in 5.0
- File "src/git/cstruct_append.ml", line 194, characters 21-42:
- 194 |   then !(Option.get (Ephemeron.K1.get_data tbl.o1))
-                            ^^^^^^^^^^^^^^^^^^^^^
- Alert old_ephemeron_api: Stdlib.Ephemeron.K1.get_data
- This function won't be available in 5.0
- (cd _build/default && /home/opam/.opam/4.14/bin/ocamlopt.opt -w -40 -g -I src/git/.git.objs/byte -I src/git/.git.objs/native -I /home/opam/.opam/4.14/lib/angstrom -I /home/opam/.opam/4.14/lib/astring -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/bigstringaf -I /home/opam/.opam/4.14/lib/carton -I /home/opam/.opam/4.14/lib/carton-git -I /home/opam/.opam/4.14/lib/carton-lwt -I /home/opam/.opam/4.14/lib/checkseum -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/decompress/de -I /home/opam/.opam/4.14/lib/decompress/zl -I /home/opam/.opam/4.14/lib/digestif -I /home/opam/.opam/4.14/lib/encore -I /home/opam/.opam/4.14/lib/fmt -I /home/opam/.opam/4.14/lib/fpath -I /home/opam/.opam/4.14/lib/ke -I /home/opam/.opam/4.14/lib/logs -I /home/opam/.opam/4.14/lib/lwt -I /home/opam/.opam/4.14/lib/mimic -I /home/opam/.opam/4.14/lib/ocamlgraph -I /home/opam/.opam/4.14/lib/optint -I /home/opam/.opam/4.14/lib/result -I /home/opam/.opam/4.14/lib/rresult -I /home/opam/.opam/4.14/lib/stdlib-shims -I src/loose/.loose.objs/byte -I src/loose/.loose.objs/native -I src/loose/.loose_git.objs/byte -I src/loose/.loose_git.objs/native -I src/not-so-smart/.hkt.objs/byte -I src/not-so-smart/.hkt.objs/native -I src/not-so-smart/.pck.objs/byte -I src/not-so-smart/.pck.objs/native -I src/not-so-smart/.sigs.objs/byte -I src/not-so-smart/.sigs.objs/native -I src/not-so-smart/.smart.objs/byte -I src/not-so-smart/.smart.objs/native -I src/not-so-smart/.smart_git.objs/byte -I src/not-so-smart/.smart_git.objs/native -intf-suffix .ml -no-alias-deps -open Git__ -o src/git/.git.objs/native/git__Blob.cmx -c -impl src/git/blob.ml)
- File "src/git/blob.ml", line 29, characters 49-60:
- 29 | let length : t -> int64 = fun t -> Int64.of_int (Cstruct.len t)
-                                                       ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/git/blob.ml", line 58, characters 51-62:
- 58 |   let length : t -> int64 = fun t -> Int64.of_int (Cstruct.len t)
-                                                         ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- (cd _build/default && /home/opam/.opam/4.14/bin/ocamlopt.opt -w -40 -g -I src/git/.git.objs/byte -I src/git/.git.objs/native -I /home/opam/.opam/4.14/lib/angstrom -I /home/opam/.opam/4.14/lib/astring -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/bigstringaf -I /home/opam/.opam/4.14/lib/carton -I /home/opam/.opam/4.14/lib/carton-git -I /home/opam/.opam/4.14/lib/carton-lwt -I /home/opam/.opam/4.14/lib/checkseum -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/decompress/de -I /home/opam/.opam/4.14/lib/decompress/zl -I /home/opam/.opam/4.14/lib/digestif -I /home/opam/.opam/4.14/lib/encore -I /home/opam/.opam/4.14/lib/fmt -I /home/opam/.opam/4.14/lib/fpath -I /home/opam/.opam/4.14/lib/ke -I /home/opam/.opam/4.14/lib/logs -I /home/opam/.opam/4.14/lib/lwt -I /home/opam/.opam/4.14/lib/mimic -I /home/opam/.opam/4.14/lib/ocamlgraph -I /home/opam/.opam/4.14/lib/optint -I /home/opam/.opam/4.14/lib/result -I /home/opam/.opam/4.14/lib/rresult -I /home/opam/.opam/4.14/lib/stdlib-shims -I src/loose/.loose.objs/byte -I src/loose/.loose.objs/native -I src/loose/.loose_git.objs/byte -I src/loose/.loose_git.objs/native -I src/not-so-smart/.hkt.objs/byte -I src/not-so-smart/.hkt.objs/native -I src/not-so-smart/.pck.objs/byte -I src/not-so-smart/.pck.objs/native -I src/not-so-smart/.sigs.objs/byte -I src/not-so-smart/.sigs.objs/native -I src/not-so-smart/.smart.objs/byte -I src/not-so-smart/.smart.objs/native -I src/not-so-smart/.smart_git.objs/byte -I src/not-so-smart/.smart_git.objs/native -intf-suffix .ml -no-alias-deps -open Git__ -o src/git/.git.objs/native/git__Commit.cmx -c -impl src/git/commit.ml)
- File "src/git/commit.ml", line 200, characters 33-41:
- 200 |       (Fmt.hvbox (Fmt.list ~sep:(Fmt.unit ";@ ") Hash.pp))
-                                        ^^^^^^^^
- Alert deprecated: Fmt.unit
- use Fmt.any instead.
- (cd _build/default && /home/opam/.opam/4.14/bin/ocamlopt.opt -w -40 -g -I src/git/.git.objs/byte -I src/git/.git.objs/native -I /home/opam/.opam/4.14/lib/angstrom -I /home/opam/.opam/4.14/lib/astring -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/bigstringaf -I /home/opam/.opam/4.14/lib/carton -I /home/opam/.opam/4.14/lib/carton-git -I /home/opam/.opam/4.14/lib/carton-lwt -I /home/opam/.opam/4.14/lib/checkseum -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/decompress/de -I /home/opam/.opam/4.14/lib/decompress/zl -I /home/opam/.opam/4.14/lib/digestif -I /home/opam/.opam/4.14/lib/encore -I /home/opam/.opam/4.14/lib/fmt -I /home/opam/.opam/4.14/lib/fpath -I /home/opam/.opam/4.14/lib/ke -I /home/opam/.opam/4.14/lib/logs -I /home/opam/.opam/4.14/lib/lwt -I /home/opam/.opam/4.14/lib/mimic -I /home/opam/.opam/4.14/lib/ocamlgraph -I /home/opam/.opam/4.14/lib/optint -I /home/opam/.opam/4.14/lib/result -I /home/opam/.opam/4.14/lib/rresult -I /home/opam/.opam/4.14/lib/stdlib-shims -I src/loose/.loose.objs/byte -I src/loose/.loose.objs/native -I src/loose/.loose_git.objs/byte -I src/loose/.loose_git.objs/native -I src/not-so-smart/.hkt.objs/byte -I src/not-so-smart/.hkt.objs/native -I src/not-so-smart/.pck.objs/byte -I src/not-so-smart/.pck.objs/native -I src/not-so-smart/.sigs.objs/byte -I src/not-so-smart/.sigs.objs/native -I src/not-so-smart/.smart.objs/byte -I src/not-so-smart/.smart.objs/native -I src/not-so-smart/.smart_git.objs/byte -I src/not-so-smart/.smart_git.objs/native -intf-suffix .ml -no-alias-deps -open Git__ -o src/git/.git.objs/native/git__Mem.cmx -c -impl src/git/mem.ml)
- File "src/git/mem.ml", line 185, characters 14-25:
- 185 |     let len = Cstruct.len raw in
-                     ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/git/mem.ml", line 461, characters 17-28:
- 461 |         if pos = Cstruct.len payload then (
-                        ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/git/mem.ml", line 465, characters 31-42:
- 465 |           let len = min chunk (Cstruct.len payload - pos) in
-                                      ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
Processing  2/3: [git: dune runtest]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "runtest" "-p" "git" (CWD=/home/opam/.opam/4.14/.opam-switch/build/git.3.1.1)
- (cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w -40 -g -bin-annot -I test/.test_store.objs/byte -I /home/opam/.opam/4.14/lib/alcotest -I /home/opam/.opam/4.14/lib/alcotest-lwt -I /home/opam/.opam/4.14/lib/astring -I /home/opam/.opam/4.14/lib/base64 -I /home/opam/.opam/4.14/lib/digestif -I /home/opam/.opam/4.14/lib/fmt -I /home/opam/.opam/4.14/lib/lwt -I /home/opam/.opam/4.14/lib/lwt/unix -I /home/opam/.opam/4.14/lib/result -I /home/opam/.opam/4.14/lib/rresult -I src/git/.git.objs/byte -no-alias-deps -o test/.test_store.objs/byte/test_store.cmo -c -impl test/test_store.ml)
- File "test/test_store.ml", line 381, characters 51-65:
- 381 |     let append hash = Store.shallow store hash >>= Lwt_unix.yield in
-                                                          ^^^^^^^^^^^^^^
- Alert deprecated: Lwt_unix.yield
- Use Lwt.pause instead
- File "test/test_store.ml", line 386, characters 50-64:
- 386 |       if not (Store.Hash.Set.equal set' set) then Lwt_unix.yield () >>= verify
-                                                         ^^^^^^^^^^^^^^
- Alert deprecated: Lwt_unix.yield
- Use Lwt.pause instead
- (cd _build/default && /home/opam/.opam/4.14/bin/ocamlopt.opt -w -40 -g -I test/.test_store.objs/byte -I test/.test_store.objs/native -I /home/opam/.opam/4.14/lib/alcotest -I /home/opam/.opam/4.14/lib/alcotest-lwt -I /home/opam/.opam/4.14/lib/astring -I /home/opam/.opam/4.14/lib/base64 -I /home/opam/.opam/4.14/lib/digestif -I /home/opam/.opam/4.14/lib/fmt -I /home/opam/.opam/4.14/lib/lwt -I /home/opam/.opam/4.14/lib/lwt/unix -I /home/opam/.opam/4.14/lib/result -I /home/opam/.opam/4.14/lib/rresult -I src/git/.git.objs/byte -I src/git/.git.objs/native -intf-suffix .ml -no-alias-deps -o test/.test_store.objs/native/test_store.cmx -c -impl test/test_store.ml)
- File "test/test_store.ml", line 381, characters 51-65:
- 381 |     let append hash = Store.shallow store hash >>= Lwt_unix.yield in
-                                                          ^^^^^^^^^^^^^^
- Alert deprecated: Lwt_unix.yield
- Use Lwt.pause instead
- File "test/test_store.ml", line 386, characters 50-64:
- 386 |       if not (Store.Hash.Set.equal set' set) then Lwt_unix.yield () >>= verify
-                                                         ^^^^^^^^^^^^^^
- Alert deprecated: Lwt_unix.yield
- Use Lwt.pause instead
- (cd _build/default/test/cstruct_append && ./test.exe --color=always)
- Testing `cstruct_append'.
- This run has ID `4S098PXO'.
- 
-   [OK]          cstruct_append          0   simple use.
-   [OK]          cstruct_append          1   O_TRUNC.
-   [OK]          cstruct_append          2   two contents.
-   [OK]          cstruct_append          3   three contents.
- 
- Full test results in `~/.opam/4.14/.opam-switch/build/git.3.1.1/_build/default/test/cstruct_append/_build/_tests/cstruct_append'.
- Test Successful in 0.008s. 4 tests run.
- (cd _build/default/test/tree && ./test.exe --color=always)
- Random: [|57420; 41069; 54817; 64253; 63934; 64230; 4054; 6207; 34546; 
-           20369; 14111; 47443; 31090; 25122; 16285; 17015|].
- Testing `git-tree'.
- This run has ID `9ZE4OYNU'.
- 
-   [OK]          tree          0   order.
-   [OK]          tree          1   large.
- 
- Full test results in `~/.opam/4.14/.opam-switch/build/git.3.1.1/_build/default/test/tree/_build/_tests/git-tree'.
- Test Successful in 0.034s. 2 tests run.
- (cd _build/default/test/smart && ./test_edn.exe --color=always)
- Testing `smart git endpoint'.
- This run has ID `LVVHHHLX'.
- 
-   [OK]          endpoint          0   edn01.
-   [OK]          endpoint          1   edn02.
-   [OK]          endpoint          2   edn03.
-   [OK]          endpoint          3   edn04.
-   [OK]          endpoint          4   edn05.
-   [OK]          endpoint          5   edn06.
- 
- Full test results in `~/.opam/4.14/.opam-switch/build/git.3.1.1/_build/default/test/smart/_build/_tests/smart git endpoint'.
- Test Successful in 0.001s. 6 tests run.
- (cd _build/default/test/mem && ./test.exe --color=always)
- Random: [|57420; 41069; 54817; 64253; 63934; 64230; 4054; 6207; 34546; 
-           20369; 14111; 47443; 31090; 25122; 16285; 17015|].
- Testing `store'.
- This run has ID `QBH431Y0'.
- 
-   [OK]          write              0   blobs.
-   [OK]          write              1   trees.
-   [OK]          write              2   commits.
-   [OK]          write              3   tags.
-   [OK]          find               0   find trees.
-   [OK]          find               1   find commits.
-   [OK]          find               2   find tags.
-   [OK]          reference          0   references.
-   [OK]          reference          1   cycle.
-   [OK]          reference          2   atomic write.
-   [OK]          search             0   search.
-   [OK]          shallows           0   shallows.
- 
- Full test results in `~/.opam/4.14/.opam-switch/build/git.3.1.1/_build/default/test/mem/_build/_tests/store'.
- Test Successful in 0.109s. 12 tests run.
- (cd _build/default/fuzz && ./smart.exe)
- pkt-line: PASS
- 
- advertised-refs: PASS
- 
-> compiled  git.3.1.1
-> installed git.3.1.1
Done.
# Run eval $(opam env) to update the current shell environment
2022-07-27 05:15.03 ---> saved as "093ad178f8ca83c43cad4cddfa5967bbe45405f806a5cc80fe7b967c991d4393"
Job succeeded
2022-07-27 05:15.56: Job succeeded