(not at the head of any monitored branch or PR)
2022-07-26 15:58.06: New job: test mirage-crypto.0.8.5 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 mirage-crypto.0.8.5 && opam install --deps-only mirage-crypto.0.8.5 && opam install -v mirage-crypto.0.8.5; \
    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 mirage-crypto.0.8.5 && opam install --deps-only --with-test mirage-crypto.0.8.5 && opam install -v --with-test mirage-crypto.0.8.5; \
    res=$?; \
    test "$res" != 31 && exit "$res"; \
    export OPAMCLI=2.0; \
    build_dir=$(opam var prefix)/.opam-switch/build; \
    failed=$(ls "$build_dir"); \
    for pkg in $failed; do \
    if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-11\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    done; \
    exit 1

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

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

2022-07-26 15:58.06: Waiting for resource in pool OCluster
2022-07-27 04:57.55: Waiting for worker...
2022-07-27 04:59.59: Got resource from pool OCluster
Building on doris.ocamllabs.io
All commits already cached
Updating files:  12% (3361/26809)
Updating files:  13% (3486/26809)
Updating files:  14% (3754/26809)
Updating files:  15% (4022/26809)
Updating files:  16% (4290/26809)
Updating files:  17% (4558/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:  28% (7685/26809)
Updating files:  29% (7775/26809)
Updating files:  30% (8043/26809)
Updating files:  31% (8311/26809)
Updating files:  32% (8579/26809)
Updating files:  33% (8847/26809)
Updating files:  34% (9116/26809)
Updating files:  35% (9384/26809)
Updating files:  36% (9652/26809)
Updating files:  37% (9920/26809)
Updating files:  38% (10188/26809)
Updating files:  39% (10456/26809)
Updating files:  39% (10614/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:  51% (13762/26809)
Updating files:  52% (13941/26809)
Updating files:  53% (14209/26809)
Updating files:  54% (14477/26809)
Updating files:  55% (14745/26809)
Updating files:  56% (15014/26809)
Updating files:  57% (15282/26809)
Updating files:  58% (15550/26809)
Updating files:  59% (15818/26809)
Updating files:  60% (16086/26809)
Updating files:  61% (16354/26809)
Updating files:  62% (16622/26809)
Updating files:  63% (16890/26809)
Updating files:  64% (17158/26809)
Updating files:  65% (17426/26809)
Updating files:  66% (17694/26809)
Updating files:  67% (17963/26809)
Updating files:  68% (18231/26809)
Updating files:  69% (18499/26809)
Updating files:  69% (18658/26809)
Updating files:  70% (18767/26809)
Updating files:  71% (19035/26809)
Updating files:  72% (19303/26809)
Updating files:  73% (19571/26809)
Updating files:  74% (19839/26809)
Updating files:  75% (20107/26809)
Updating files:  76% (20375/26809)
Updating files:  77% (20643/26809)
Updating files:  78% (20912/26809)
Updating files:  79% (21180/26809)
Updating files:  80% (21448/26809)
Updating files:  81% (21716/26809)
Updating files:  82% (21984/26809)
Updating files:  83% (22252/26809)
Updating files:  84% (22520/26809)
Updating files:  85% (22788/26809)
Updating files:  86% (23056/26809)
Updating files:  87% (23324/26809)
Updating files:  88% (23592/26809)
Updating files:  89% (23861/26809)
Updating files:  90% (24129/26809)
Updating files:  91% (24397/26809)
Updating files:  91% (24603/26809)
Updating files:  92% (24665/26809)
Updating files:  93% (24933/26809)
Updating files:  94% (25201/26809)
Updating files:  95% (25469/26809)
Updating files:  96% (25737/26809)
Updating files:  97% (26005/26809)
Updating files:  98% (26273/26809)
Updating files:  99% (26541/26809)
Updating files: 100% (26809/26809)
Updating files: 100% (26809/26809), done.
HEAD is now at 42e749bdca Merge pull request #21885 from kit-ty-kate/fix-123
Merge made by the 'ort' strategy.
 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)
Unable to find image 'ocaml/opam:debian-11-ocaml-4.14@sha256:1461d919411f5999f6d7ffd573b9b5385cda91accf83d3866b26097e791220be' locally
docker.io/ocaml/opam@sha256:1461d919411f5999f6d7ffd573b9b5385cda91accf83d3866b26097e791220be: Pulling from ocaml/opam
d836772a1c1f: Already exists
af36bd1c8c33: Already exists
071b8d92bcbe: Pulling fs layer
071b8d92bcbe: Verifying Checksum
071b8d92bcbe: Download complete
071b8d92bcbe: Pull complete
Digest: sha256:1461d919411f5999f6d7ffd573b9b5385cda91accf83d3866b26097e791220be
Status: Downloaded newer image for ocaml/opam@sha256:1461d919411f5999f6d7ffd573b9b5385cda91accf83d3866b26097e791220be
2022-07-27 05:15.42 ---> 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:15.42 ---> 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:15.42 ---> using "e8a5c58b05459f7be98d7b03e29623d3a05b15b34833b50ebffb60eff7871cde" from cache

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

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

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2022-07-27 05:15.43 ---> 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:15.43 ---> 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 (832 kB/s)
- Reading package lists...
- 
2022-07-27 05:15.43 ---> 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:15.43 ---> 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:15.43 ---> using "ed77e423a302c60a5809ee2b791a97889b346ae238a3ae55d40f898cb095304c" from cache

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam remove mirage-crypto.0.8.5 && opam install --deps-only mirage-crypto.0.8.5 && opam install -v mirage-crypto.0.8.5;\
                        \n        res=$?;\
                        \n        test \"$res\" != 31 && exit \"$res\";\
                        \n        export OPAMCLI=2.0;\
                        \n        build_dir=$(opam var prefix)/.opam-switch/build;\
                        \n        failed=$(ls \"$build_dir\");\
                        \n        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] mirage-crypto.0.8.5 is not installed.

Nothing to do.
The following actions will be performed:
=== install 6 packages
  - install bigarray-compat   1.1.0 [required by mirage-crypto]
  - install conf-pkg-config   2     [required by mirage-crypto]
  - install csexp             1.5.1 [required by dune-configurator]
  - install cstruct           6.0.1 [required by mirage-crypto]
  - install dune-configurator 3.4.1 [required by mirage-crypto]
  - install eqaf              0.9   [required by mirage-crypto]

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 bigarray-compat.1.1.0  (cached)
-> retrieved csexp.1.5.1  (cached)
-> retrieved cstruct.6.0.1  (cached)
-> retrieved dune-configurator.3.4.1  (cached)
-> installed conf-pkg-config.2
-> installed bigarray-compat.1.1.0
-> installed csexp.1.5.1
-> retrieved eqaf.0.9  (cached)
-> installed cstruct.6.0.1
-> installed dune-configurator.3.4.1
-> installed eqaf.0.9
Done.
# Run eval $(opam env) to update the current shell environment
The following actions will be performed:
=== install 1 package
  - install mirage-crypto 0.8.5

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/3:
-> retrieved mirage-crypto.0.8.5  (cached)
Processing  2/3: [mirage-crypto: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "mirage-crypto" "-j" "31" (CWD=/home/opam/.opam/4.14/.opam-switch/build/mirage-crypto.0.8.5)
- (cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w -40 -g -bin-annot -I src/.mirage_crypto.objs/byte -I src/.mirage_crypto.objs/public_cmi -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/eqaf -I /home/opam/.opam/4.14/lib/eqaf/bigstring -I /home/opam/.opam/4.14/lib/eqaf/cstruct -no-alias-deps -open Mirage_crypto__ -o src/.mirage_crypto.objs/byte/mirage_crypto__Uncommon.cmo -c -impl src/uncommon.ml)
- File "src/uncommon.ml", line 33, characters 17-20:
- 33 |     if n > imin (len src) (len dst) then
-                       ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/uncommon.ml", line 33, characters 27-30:
- 33 |     if n > imin (len src) (len dst) then
-                                 ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/uncommon.ml", line 38, characters 20-23:
- 38 |     let len = imin (len cs1) (len cs2) in
-                          ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/uncommon.ml", line 38, characters 30-33:
- 38 |     let len = imin (len cs1) (len cs2) in
-                                    ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/uncommon.ml", line 46, characters 14-17:
- 46 |       let n = len cs in
-                    ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/uncommon.ml", line 57, characters 44-47:
- 57 |     (sub cs 0 l1, sub cs l1 l2, sub cs l12 (len cs - l12))
-                                                  ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/uncommon.ml", line 60, characters 12-15:
- 60 |     let l = len cs and cs' = Cstruct.create_unsafe size in
-                  ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/uncommon.ml", line 67, characters 12-15:
- 67 |     let l = len cs and cs' = Cstruct.create_unsafe size 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/.mirage_crypto.objs/byte -I src/.mirage_crypto.objs/public_cmi -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/eqaf -I /home/opam/.opam/4.14/lib/eqaf/bigstring -I /home/opam/.opam/4.14/lib/eqaf/cstruct -no-alias-deps -open Mirage_crypto__ -o src/.mirage_crypto.objs/byte/mirage_crypto__Ccm.cmo -c -impl src/ccm.ml)
- File "src/ccm.ml", line 30, characters 10-21:
- 30 |   let n = Cstruct.len nonce in
-                ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/ccm.ml", line 34, characters 14-25:
- 34 |   let b6 = if Cstruct.len adata = 0 then 0 else 1 in
-                    ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/ccm.ml", line 44, characters 13-24:
- 44 |   let size = Cstruct.len b in
-                   ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/ccm.ml", line 49, characters 10-21:
- 49 |     match Cstruct.len a with
-                ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/ccm.ml", line 66, characters 10-21:
- 66 |   let n = Cstruct.len nonce in
-                ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/ccm.ml", line 76, characters 15-26:
- 76 |   let ada = if Cstruct.len adata = 0 then Cstruct.empty else gen_adata adata in
-                     ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/ccm.ml", line 82, characters 16-27:
- 82 |   let datalen = Cstruct.len data in
-                      ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/ccm.ml", line 100, characters 12-23:
- 100 |       match Cstruct.len block with
-                   ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/ccm.ml", line 116, characters 10-21:
- 116 |     match Cstruct.len src with
-                 ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/ccm.ml", line 142, characters 21-32:
- 142 |   Cs.xor_into ctr t (Cstruct.len t)
-                            ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/ccm.ml", line 145, characters 14-25:
- 145 |   let nsize = Cstruct.len nonce in
-                     ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/ccm.ml", line 157, characters 5-16:
- 157 |   if Cstruct.len data < maclen then
-            ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/ccm.ml", line 160, characters 16-27:
- 160 |     let pclen = Cstruct.len data - maclen 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/.mirage_crypto.objs/byte -I src/.mirage_crypto.objs/public_cmi -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/eqaf -I /home/opam/.opam/4.14/lib/eqaf/bigstring -I /home/opam/.opam/4.14/lib/eqaf/cstruct -no-alias-deps -open Mirage_crypto__ -o src/.mirage_crypto.objs/byte/mirage_crypto__Cipher_stream.cmo -c -impl src/cipher_stream.ml)
- File "src/cipher_stream.ml", line 18, characters 14-25:
- 18 |     let len = Cstruct.len cs in
-                    ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/cipher_stream.ml", line 35, characters 14-25:
- 35 |     and len = Cstruct.len cs 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/.mirage_crypto.objs/byte -I src/.mirage_crypto.objs/public_cmi -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/eqaf -I /home/opam/.opam/4.14/lib/eqaf/bigstring -I /home/opam/.opam/4.14/lib/eqaf/cstruct -no-alias-deps -open Mirage_crypto__ -o src/.mirage_crypto.objs/byte/mirage_crypto__Hash.cmo -c -impl src/hash.ml)
- File "src/hash.ml", line 85, characters 19-30:
- 85 |     match compare (Cstruct.len key) block_size with
-                         ^^^^^^^^^^^
- 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/.mirage_crypto.objs/byte -I src/.mirage_crypto.objs/native -I src/.mirage_crypto.objs/public_cmi -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/eqaf -I /home/opam/.opam/4.14/lib/eqaf/bigstring -I /home/opam/.opam/4.14/lib/eqaf/cstruct -intf-suffix .ml -no-alias-deps -open Mirage_crypto__ -o src/.mirage_crypto.objs/native/mirage_crypto__Uncommon.cmx -c -impl src/uncommon.ml)
- File "src/uncommon.ml", line 33, characters 17-20:
- 33 |     if n > imin (len src) (len dst) then
-                       ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/uncommon.ml", line 33, characters 27-30:
- 33 |     if n > imin (len src) (len dst) then
-                                 ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/uncommon.ml", line 38, characters 20-23:
- 38 |     let len = imin (len cs1) (len cs2) in
-                          ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/uncommon.ml", line 38, characters 30-33:
- 38 |     let len = imin (len cs1) (len cs2) in
-                                    ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/uncommon.ml", line 46, characters 14-17:
- 46 |       let n = len cs in
-                    ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/uncommon.ml", line 57, characters 44-47:
- 57 |     (sub cs 0 l1, sub cs l1 l2, sub cs l12 (len cs - l12))
-                                                  ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/uncommon.ml", line 60, characters 12-15:
- 60 |     let l = len cs and cs' = Cstruct.create_unsafe size in
-                  ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/uncommon.ml", line 67, characters 12-15:
- 67 |     let l = len cs and cs' = Cstruct.create_unsafe size 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/.mirage_crypto.objs/byte -I src/.mirage_crypto.objs/public_cmi -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/eqaf -I /home/opam/.opam/4.14/lib/eqaf/bigstring -I /home/opam/.opam/4.14/lib/eqaf/cstruct -no-alias-deps -open Mirage_crypto__ -o src/.mirage_crypto.objs/byte/mirage_crypto__Chacha20.cmo -c -impl src/chacha20.ml)
- File "src/chacha20.ml", line 23, characters 10-21:
- 23 |     match Cstruct.len key, Cstruct.len nonce, Int64.shift_right ctr 32 = 0L with
-                ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/chacha20.ml", line 23, characters 27-38:
- 23 |     match Cstruct.len key, Cstruct.len nonce, Int64.shift_right ctr 32 = 0L with
-                                 ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/chacha20.ml", line 42, characters 40-51:
- 42 |   Cstruct.blit nonce 0 state nonce_off (Cstruct.len nonce) ;
-                                              ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/chacha20.ml", line 47, characters 10-21:
- 47 |   let l = Cstruct.len data in
-                ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/chacha20.ml", line 75, characters 14-25:
- 75 |     let len = Cstruct.len b mod 16 in
-                    ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/chacha20.ml", line 79, characters 48-59:
- 79 |     Cstruct.LE.set_uint64 data 0 (Int64.of_int (Cstruct.len adata));
-                                                      ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/chacha20.ml", line 80, characters 48-59:
- 80 |     Cstruct.LE.set_uint64 data 8 (Int64.of_int (Cstruct.len ciphertext));
-                                                      ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/chacha20.ml", line 98, characters 5-16:
- 98 |   if Cstruct.len data < P.mac_size then
-           ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/chacha20.ml", line 101, characters 42-53:
- 101 |     let cipher, tag = Cstruct.split data (Cstruct.len data - P.mac_size) 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/.mirage_crypto.objs/byte -I src/.mirage_crypto.objs/public_cmi -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/eqaf -I /home/opam/.opam/4.14/lib/eqaf/bigstring -I /home/opam/.opam/4.14/lib/eqaf/cstruct -no-alias-deps -open Mirage_crypto__ -o src/.mirage_crypto.objs/byte/mirage_crypto__Cipher_block.cmo -c -impl src/cipher_block.ml)
- File "src/cipher_block.ml", line 270, characters 34-37:
- 270 |     let bits64 cs = Int64.of_int (len cs * 8)
-                                         ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/cipher_block.ml", line 274, characters 36-39:
- 274 |     let counter ~hkey nonce = match len nonce with
-                                           ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/cipher_block.ml", line 294, characters 9-20:
- 294 |       if Cstruct.len cdata < tag_size then
-                ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/cipher_block.ml", line 298, characters 31-42:
- 298 |           Cstruct.split cdata (Cstruct.len cdata - tag_size)
-                                      ^^^^^^^^^^^
- 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/.mirage_crypto.objs/byte -I src/.mirage_crypto.objs/native -I src/.mirage_crypto.objs/public_cmi -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/eqaf -I /home/opam/.opam/4.14/lib/eqaf/bigstring -I /home/opam/.opam/4.14/lib/eqaf/cstruct -intf-suffix .ml -no-alias-deps -open Mirage_crypto__ -o src/.mirage_crypto.objs/native/mirage_crypto__Cipher_stream.cmx -c -impl src/cipher_stream.ml)
- File "src/cipher_stream.ml", line 18, characters 14-25:
- 18 |     let len = Cstruct.len cs in
-                    ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/cipher_stream.ml", line 35, characters 14-25:
- 35 |     and len = Cstruct.len cs 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/.mirage_crypto.objs/byte -I src/.mirage_crypto.objs/native -I src/.mirage_crypto.objs/public_cmi -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/eqaf -I /home/opam/.opam/4.14/lib/eqaf/bigstring -I /home/opam/.opam/4.14/lib/eqaf/cstruct -intf-suffix .ml -no-alias-deps -open Mirage_crypto__ -o src/.mirage_crypto.objs/native/mirage_crypto__Ccm.cmx -c -impl src/ccm.ml)
- File "src/ccm.ml", line 30, characters 10-21:
- 30 |   let n = Cstruct.len nonce in
-                ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/ccm.ml", line 34, characters 14-25:
- 34 |   let b6 = if Cstruct.len adata = 0 then 0 else 1 in
-                    ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/ccm.ml", line 44, characters 13-24:
- 44 |   let size = Cstruct.len b in
-                   ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/ccm.ml", line 49, characters 10-21:
- 49 |     match Cstruct.len a with
-                ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/ccm.ml", line 66, characters 10-21:
- 66 |   let n = Cstruct.len nonce in
-                ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/ccm.ml", line 76, characters 15-26:
- 76 |   let ada = if Cstruct.len adata = 0 then Cstruct.empty else gen_adata adata in
-                     ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/ccm.ml", line 82, characters 16-27:
- 82 |   let datalen = Cstruct.len data in
-                      ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/ccm.ml", line 100, characters 12-23:
- 100 |       match Cstruct.len block with
-                   ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/ccm.ml", line 116, characters 10-21:
- 116 |     match Cstruct.len src with
-                 ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/ccm.ml", line 142, characters 21-32:
- 142 |   Cs.xor_into ctr t (Cstruct.len t)
-                            ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/ccm.ml", line 145, characters 14-25:
- 145 |   let nsize = Cstruct.len nonce in
-                     ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/ccm.ml", line 157, characters 5-16:
- 157 |   if Cstruct.len data < maclen then
-            ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/ccm.ml", line 160, characters 16-27:
- 160 |     let pclen = Cstruct.len data - maclen 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/.mirage_crypto.objs/byte -I src/.mirage_crypto.objs/native -I src/.mirage_crypto.objs/public_cmi -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/eqaf -I /home/opam/.opam/4.14/lib/eqaf/bigstring -I /home/opam/.opam/4.14/lib/eqaf/cstruct -intf-suffix .ml -no-alias-deps -open Mirage_crypto__ -o src/.mirage_crypto.objs/native/mirage_crypto__Hash.cmx -c -impl src/hash.ml)
- File "src/hash.ml", line 85, characters 19-30:
- 85 |     match compare (Cstruct.len key) block_size with
-                         ^^^^^^^^^^^
- 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/.mirage_crypto.objs/byte -I src/.mirage_crypto.objs/native -I src/.mirage_crypto.objs/public_cmi -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/eqaf -I /home/opam/.opam/4.14/lib/eqaf/bigstring -I /home/opam/.opam/4.14/lib/eqaf/cstruct -intf-suffix .ml -no-alias-deps -open Mirage_crypto__ -o src/.mirage_crypto.objs/native/mirage_crypto__Chacha20.cmx -c -impl src/chacha20.ml)
- File "src/chacha20.ml", line 23, characters 10-21:
- 23 |     match Cstruct.len key, Cstruct.len nonce, Int64.shift_right ctr 32 = 0L with
-                ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/chacha20.ml", line 23, characters 27-38:
- 23 |     match Cstruct.len key, Cstruct.len nonce, Int64.shift_right ctr 32 = 0L with
-                                 ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/chacha20.ml", line 42, characters 40-51:
- 42 |   Cstruct.blit nonce 0 state nonce_off (Cstruct.len nonce) ;
-                                              ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/chacha20.ml", line 47, characters 10-21:
- 47 |   let l = Cstruct.len data in
-                ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/chacha20.ml", line 75, characters 14-25:
- 75 |     let len = Cstruct.len b mod 16 in
-                    ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/chacha20.ml", line 79, characters 48-59:
- 79 |     Cstruct.LE.set_uint64 data 0 (Int64.of_int (Cstruct.len adata));
-                                                      ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/chacha20.ml", line 80, characters 48-59:
- 80 |     Cstruct.LE.set_uint64 data 8 (Int64.of_int (Cstruct.len ciphertext));
-                                                      ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/chacha20.ml", line 98, characters 5-16:
- 98 |   if Cstruct.len data < P.mac_size then
-           ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/chacha20.ml", line 101, characters 42-53:
- 101 |     let cipher, tag = Cstruct.split data (Cstruct.len data - P.mac_size) 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/.mirage_crypto.objs/byte -I src/.mirage_crypto.objs/native -I src/.mirage_crypto.objs/public_cmi -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/eqaf -I /home/opam/.opam/4.14/lib/eqaf/bigstring -I /home/opam/.opam/4.14/lib/eqaf/cstruct -intf-suffix .ml -no-alias-deps -open Mirage_crypto__ -o src/.mirage_crypto.objs/native/mirage_crypto__Cipher_block.cmx -c -impl src/cipher_block.ml)
- File "src/cipher_block.ml", line 270, characters 34-37:
- 270 |     let bits64 cs = Int64.of_int (len cs * 8)
-                                         ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/cipher_block.ml", line 274, characters 36-39:
- 274 |     let counter ~hkey nonce = match len nonce with
-                                           ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/cipher_block.ml", line 294, characters 9-20:
- 294 |       if Cstruct.len cdata < tag_size then
-                ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/cipher_block.ml", line 298, characters 31-42:
- 298 |           Cstruct.split cdata (Cstruct.len cdata - tag_size)
-                                      ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
-> compiled  mirage-crypto.0.8.5
-> installed mirage-crypto.0.8.5
Done.
# Run eval $(opam env) to update the current shell environment
2022-07-27 05:16.09 ---> saved as "5c8b16f60d4463be7a855b4373d0a3ca56b8d86f03aadc10bf2897c766ac200e"

/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:16.11 ---> saved as "4752b3e9825be21a6e38e65cf38a2915f41017930c68293e6d7130a5769bb7b8"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam remove mirage-crypto.0.8.5 && opam install --deps-only --with-test mirage-crypto.0.8.5 && opam install -v --with-test mirage-crypto.0.8.5;\
                        \n        res=$?;\
                        \n        test \"$res\" != 31 && exit \"$res\";\
                        \n        export OPAMCLI=2.0;\
                        \n        build_dir=$(opam var prefix)/.opam-switch/build;\
                        \n        failed=$(ls \"$build_dir\");\
                        \n        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 mirage-crypto 0.8.5

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> removed   mirage-crypto.0.8.5
Done.
# Run eval $(opam env) to update the current shell environment
The following actions will be performed:
=== install 1 package
  - install ounit 2.2.0 [required by mirage-crypto]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved ounit.2.2.0  (cached)
-> installed ounit.2.2.0
Done.
# Run eval $(opam env) to update the current shell environment
The following actions will be performed:
=== install 1 package
  - install mirage-crypto 0.8.5

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/3:
-> retrieved mirage-crypto.0.8.5  (cached)
Processing  2/3: [mirage-crypto: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "mirage-crypto" "-j" "31" (CWD=/home/opam/.opam/4.14/.opam-switch/build/mirage-crypto.0.8.5)
- (cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w -40 -g -bin-annot -I src/.mirage_crypto.objs/byte -I src/.mirage_crypto.objs/public_cmi -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/eqaf -I /home/opam/.opam/4.14/lib/eqaf/bigstring -I /home/opam/.opam/4.14/lib/eqaf/cstruct -no-alias-deps -open Mirage_crypto__ -o src/.mirage_crypto.objs/byte/mirage_crypto__Uncommon.cmo -c -impl src/uncommon.ml)
- File "src/uncommon.ml", line 33, characters 17-20:
- 33 |     if n > imin (len src) (len dst) then
-                       ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/uncommon.ml", line 33, characters 27-30:
- 33 |     if n > imin (len src) (len dst) then
-                                 ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/uncommon.ml", line 38, characters 20-23:
- 38 |     let len = imin (len cs1) (len cs2) in
-                          ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/uncommon.ml", line 38, characters 30-33:
- 38 |     let len = imin (len cs1) (len cs2) in
-                                    ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/uncommon.ml", line 46, characters 14-17:
- 46 |       let n = len cs in
-                    ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/uncommon.ml", line 57, characters 44-47:
- 57 |     (sub cs 0 l1, sub cs l1 l2, sub cs l12 (len cs - l12))
-                                                  ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/uncommon.ml", line 60, characters 12-15:
- 60 |     let l = len cs and cs' = Cstruct.create_unsafe size in
-                  ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/uncommon.ml", line 67, characters 12-15:
- 67 |     let l = len cs and cs' = Cstruct.create_unsafe size 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/.mirage_crypto.objs/byte -I src/.mirage_crypto.objs/public_cmi -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/eqaf -I /home/opam/.opam/4.14/lib/eqaf/bigstring -I /home/opam/.opam/4.14/lib/eqaf/cstruct -no-alias-deps -open Mirage_crypto__ -o src/.mirage_crypto.objs/byte/mirage_crypto__Cipher_stream.cmo -c -impl src/cipher_stream.ml)
- File "src/cipher_stream.ml", line 18, characters 14-25:
- 18 |     let len = Cstruct.len cs in
-                    ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/cipher_stream.ml", line 35, characters 14-25:
- 35 |     and len = Cstruct.len cs 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/.mirage_crypto.objs/byte -I src/.mirage_crypto.objs/public_cmi -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/eqaf -I /home/opam/.opam/4.14/lib/eqaf/bigstring -I /home/opam/.opam/4.14/lib/eqaf/cstruct -no-alias-deps -open Mirage_crypto__ -o src/.mirage_crypto.objs/byte/mirage_crypto__Ccm.cmo -c -impl src/ccm.ml)
- File "src/ccm.ml", line 30, characters 10-21:
- 30 |   let n = Cstruct.len nonce in
-                ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/ccm.ml", line 34, characters 14-25:
- 34 |   let b6 = if Cstruct.len adata = 0 then 0 else 1 in
-                    ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/ccm.ml", line 44, characters 13-24:
- 44 |   let size = Cstruct.len b in
-                   ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/ccm.ml", line 49, characters 10-21:
- 49 |     match Cstruct.len a with
-                ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/ccm.ml", line 66, characters 10-21:
- 66 |   let n = Cstruct.len nonce in
-                ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/ccm.ml", line 76, characters 15-26:
- 76 |   let ada = if Cstruct.len adata = 0 then Cstruct.empty else gen_adata adata in
-                     ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/ccm.ml", line 82, characters 16-27:
- 82 |   let datalen = Cstruct.len data in
-                      ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/ccm.ml", line 100, characters 12-23:
- 100 |       match Cstruct.len block with
-                   ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/ccm.ml", line 116, characters 10-21:
- 116 |     match Cstruct.len src with
-                 ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/ccm.ml", line 142, characters 21-32:
- 142 |   Cs.xor_into ctr t (Cstruct.len t)
-                            ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/ccm.ml", line 145, characters 14-25:
- 145 |   let nsize = Cstruct.len nonce in
-                     ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/ccm.ml", line 157, characters 5-16:
- 157 |   if Cstruct.len data < maclen then
-            ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/ccm.ml", line 160, characters 16-27:
- 160 |     let pclen = Cstruct.len data - maclen 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/.mirage_crypto.objs/byte -I src/.mirage_crypto.objs/public_cmi -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/eqaf -I /home/opam/.opam/4.14/lib/eqaf/bigstring -I /home/opam/.opam/4.14/lib/eqaf/cstruct -no-alias-deps -open Mirage_crypto__ -o src/.mirage_crypto.objs/byte/mirage_crypto__Hash.cmo -c -impl src/hash.ml)
- File "src/hash.ml", line 85, characters 19-30:
- 85 |     match compare (Cstruct.len key) block_size with
-                         ^^^^^^^^^^^
- 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/.mirage_crypto.objs/byte -I src/.mirage_crypto.objs/public_cmi -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/eqaf -I /home/opam/.opam/4.14/lib/eqaf/bigstring -I /home/opam/.opam/4.14/lib/eqaf/cstruct -no-alias-deps -open Mirage_crypto__ -o src/.mirage_crypto.objs/byte/mirage_crypto__Chacha20.cmo -c -impl src/chacha20.ml)
- File "src/chacha20.ml", line 23, characters 10-21:
- 23 |     match Cstruct.len key, Cstruct.len nonce, Int64.shift_right ctr 32 = 0L with
-                ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/chacha20.ml", line 23, characters 27-38:
- 23 |     match Cstruct.len key, Cstruct.len nonce, Int64.shift_right ctr 32 = 0L with
-                                 ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/chacha20.ml", line 42, characters 40-51:
- 42 |   Cstruct.blit nonce 0 state nonce_off (Cstruct.len nonce) ;
-                                              ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/chacha20.ml", line 47, characters 10-21:
- 47 |   let l = Cstruct.len data in
-                ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/chacha20.ml", line 75, characters 14-25:
- 75 |     let len = Cstruct.len b mod 16 in
-                    ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/chacha20.ml", line 79, characters 48-59:
- 79 |     Cstruct.LE.set_uint64 data 0 (Int64.of_int (Cstruct.len adata));
-                                                      ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/chacha20.ml", line 80, characters 48-59:
- 80 |     Cstruct.LE.set_uint64 data 8 (Int64.of_int (Cstruct.len ciphertext));
-                                                      ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/chacha20.ml", line 98, characters 5-16:
- 98 |   if Cstruct.len data < P.mac_size then
-           ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/chacha20.ml", line 101, characters 42-53:
- 101 |     let cipher, tag = Cstruct.split data (Cstruct.len data - P.mac_size) 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/.mirage_crypto.objs/byte -I src/.mirage_crypto.objs/native -I src/.mirage_crypto.objs/public_cmi -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/eqaf -I /home/opam/.opam/4.14/lib/eqaf/bigstring -I /home/opam/.opam/4.14/lib/eqaf/cstruct -intf-suffix .ml -no-alias-deps -open Mirage_crypto__ -o src/.mirage_crypto.objs/native/mirage_crypto__Uncommon.cmx -c -impl src/uncommon.ml)
- File "src/uncommon.ml", line 33, characters 17-20:
- 33 |     if n > imin (len src) (len dst) then
-                       ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/uncommon.ml", line 33, characters 27-30:
- 33 |     if n > imin (len src) (len dst) then
-                                 ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/uncommon.ml", line 38, characters 20-23:
- 38 |     let len = imin (len cs1) (len cs2) in
-                          ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/uncommon.ml", line 38, characters 30-33:
- 38 |     let len = imin (len cs1) (len cs2) in
-                                    ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/uncommon.ml", line 46, characters 14-17:
- 46 |       let n = len cs in
-                    ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/uncommon.ml", line 57, characters 44-47:
- 57 |     (sub cs 0 l1, sub cs l1 l2, sub cs l12 (len cs - l12))
-                                                  ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/uncommon.ml", line 60, characters 12-15:
- 60 |     let l = len cs and cs' = Cstruct.create_unsafe size in
-                  ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/uncommon.ml", line 67, characters 12-15:
- 67 |     let l = len cs and cs' = Cstruct.create_unsafe size 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/.mirage_crypto.objs/byte -I src/.mirage_crypto.objs/public_cmi -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/eqaf -I /home/opam/.opam/4.14/lib/eqaf/bigstring -I /home/opam/.opam/4.14/lib/eqaf/cstruct -no-alias-deps -open Mirage_crypto__ -o src/.mirage_crypto.objs/byte/mirage_crypto__Cipher_block.cmo -c -impl src/cipher_block.ml)
- File "src/cipher_block.ml", line 270, characters 34-37:
- 270 |     let bits64 cs = Int64.of_int (len cs * 8)
-                                         ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/cipher_block.ml", line 274, characters 36-39:
- 274 |     let counter ~hkey nonce = match len nonce with
-                                           ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/cipher_block.ml", line 294, characters 9-20:
- 294 |       if Cstruct.len cdata < tag_size then
-                ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/cipher_block.ml", line 298, characters 31-42:
- 298 |           Cstruct.split cdata (Cstruct.len cdata - tag_size)
-                                      ^^^^^^^^^^^
- 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/.mirage_crypto.objs/byte -I src/.mirage_crypto.objs/native -I src/.mirage_crypto.objs/public_cmi -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/eqaf -I /home/opam/.opam/4.14/lib/eqaf/bigstring -I /home/opam/.opam/4.14/lib/eqaf/cstruct -intf-suffix .ml -no-alias-deps -open Mirage_crypto__ -o src/.mirage_crypto.objs/native/mirage_crypto__Cipher_stream.cmx -c -impl src/cipher_stream.ml)
- File "src/cipher_stream.ml", line 18, characters 14-25:
- 18 |     let len = Cstruct.len cs in
-                    ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/cipher_stream.ml", line 35, characters 14-25:
- 35 |     and len = Cstruct.len cs 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/.mirage_crypto.objs/byte -I src/.mirage_crypto.objs/native -I src/.mirage_crypto.objs/public_cmi -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/eqaf -I /home/opam/.opam/4.14/lib/eqaf/bigstring -I /home/opam/.opam/4.14/lib/eqaf/cstruct -intf-suffix .ml -no-alias-deps -open Mirage_crypto__ -o src/.mirage_crypto.objs/native/mirage_crypto__Ccm.cmx -c -impl src/ccm.ml)
- File "src/ccm.ml", line 30, characters 10-21:
- 30 |   let n = Cstruct.len nonce in
-                ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/ccm.ml", line 34, characters 14-25:
- 34 |   let b6 = if Cstruct.len adata = 0 then 0 else 1 in
-                    ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/ccm.ml", line 44, characters 13-24:
- 44 |   let size = Cstruct.len b in
-                   ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/ccm.ml", line 49, characters 10-21:
- 49 |     match Cstruct.len a with
-                ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/ccm.ml", line 66, characters 10-21:
- 66 |   let n = Cstruct.len nonce in
-                ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/ccm.ml", line 76, characters 15-26:
- 76 |   let ada = if Cstruct.len adata = 0 then Cstruct.empty else gen_adata adata in
-                     ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/ccm.ml", line 82, characters 16-27:
- 82 |   let datalen = Cstruct.len data in
-                      ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/ccm.ml", line 100, characters 12-23:
- 100 |       match Cstruct.len block with
-                   ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/ccm.ml", line 116, characters 10-21:
- 116 |     match Cstruct.len src with
-                 ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/ccm.ml", line 142, characters 21-32:
- 142 |   Cs.xor_into ctr t (Cstruct.len t)
-                            ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/ccm.ml", line 145, characters 14-25:
- 145 |   let nsize = Cstruct.len nonce in
-                     ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/ccm.ml", line 157, characters 5-16:
- 157 |   if Cstruct.len data < maclen then
-            ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/ccm.ml", line 160, characters 16-27:
- 160 |     let pclen = Cstruct.len data - maclen 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/.mirage_crypto.objs/byte -I src/.mirage_crypto.objs/native -I src/.mirage_crypto.objs/public_cmi -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/eqaf -I /home/opam/.opam/4.14/lib/eqaf/bigstring -I /home/opam/.opam/4.14/lib/eqaf/cstruct -intf-suffix .ml -no-alias-deps -open Mirage_crypto__ -o src/.mirage_crypto.objs/native/mirage_crypto__Hash.cmx -c -impl src/hash.ml)
- File "src/hash.ml", line 85, characters 19-30:
- 85 |     match compare (Cstruct.len key) block_size with
-                         ^^^^^^^^^^^
- 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/.mirage_crypto.objs/byte -I src/.mirage_crypto.objs/native -I src/.mirage_crypto.objs/public_cmi -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/eqaf -I /home/opam/.opam/4.14/lib/eqaf/bigstring -I /home/opam/.opam/4.14/lib/eqaf/cstruct -intf-suffix .ml -no-alias-deps -open Mirage_crypto__ -o src/.mirage_crypto.objs/native/mirage_crypto__Chacha20.cmx -c -impl src/chacha20.ml)
- File "src/chacha20.ml", line 23, characters 10-21:
- 23 |     match Cstruct.len key, Cstruct.len nonce, Int64.shift_right ctr 32 = 0L with
-                ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/chacha20.ml", line 23, characters 27-38:
- 23 |     match Cstruct.len key, Cstruct.len nonce, Int64.shift_right ctr 32 = 0L with
-                                 ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/chacha20.ml", line 42, characters 40-51:
- 42 |   Cstruct.blit nonce 0 state nonce_off (Cstruct.len nonce) ;
-                                              ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/chacha20.ml", line 47, characters 10-21:
- 47 |   let l = Cstruct.len data in
-                ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/chacha20.ml", line 75, characters 14-25:
- 75 |     let len = Cstruct.len b mod 16 in
-                    ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/chacha20.ml", line 79, characters 48-59:
- 79 |     Cstruct.LE.set_uint64 data 0 (Int64.of_int (Cstruct.len adata));
-                                                      ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/chacha20.ml", line 80, characters 48-59:
- 80 |     Cstruct.LE.set_uint64 data 8 (Int64.of_int (Cstruct.len ciphertext));
-                                                      ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/chacha20.ml", line 98, characters 5-16:
- 98 |   if Cstruct.len data < P.mac_size then
-           ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/chacha20.ml", line 101, characters 42-53:
- 101 |     let cipher, tag = Cstruct.split data (Cstruct.len data - P.mac_size) 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/.mirage_crypto.objs/byte -I src/.mirage_crypto.objs/native -I src/.mirage_crypto.objs/public_cmi -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/eqaf -I /home/opam/.opam/4.14/lib/eqaf/bigstring -I /home/opam/.opam/4.14/lib/eqaf/cstruct -intf-suffix .ml -no-alias-deps -open Mirage_crypto__ -o src/.mirage_crypto.objs/native/mirage_crypto__Cipher_block.cmx -c -impl src/cipher_block.ml)
- File "src/cipher_block.ml", line 270, characters 34-37:
- 270 |     let bits64 cs = Int64.of_int (len cs * 8)
-                                         ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/cipher_block.ml", line 274, characters 36-39:
- 274 |     let counter ~hkey nonce = match len nonce with
-                                           ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/cipher_block.ml", line 294, characters 9-20:
- 294 |       if Cstruct.len cdata < tag_size then
-                ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/cipher_block.ml", line 298, characters 31-42:
- 298 |           Cstruct.split cdata (Cstruct.len cdata - tag_size)
-                                      ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
Processing  2/3: [mirage-crypto: dune runtest]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "runtest" "-p" "mirage-crypto" "-j" "31" (CWD=/home/opam/.opam/4.14/.opam-switch/build/mirage-crypto.0.8.5)
- (cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w -40 -g -bin-annot -I tests/.test_common.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/eqaf -I /home/opam/.opam/4.14/lib/eqaf/bigstring -I /home/opam/.opam/4.14/lib/eqaf/cstruct -I /home/opam/.opam/4.14/lib/oUnit -I /home/opam/.opam/4.14/lib/ounit2 -I /home/opam/.opam/4.14/lib/ounit2/advanced -I /home/opam/.opam/4.14/lib/stdlib-shims -I src/.mirage_crypto.objs/public_cmi -no-alias-deps -o tests/.test_common.objs/byte/test_common.cmo -c -impl tests/test_common.ml)
- File "tests/test_common.ml", line 9, characters 5-8:
- 9 |   if len cs <= n then [ cs ]
-          ^^^
- 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 tests/.test_symmetric_runner.eobjs/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/eqaf -I /home/opam/.opam/4.14/lib/eqaf/bigstring -I /home/opam/.opam/4.14/lib/eqaf/cstruct -I /home/opam/.opam/4.14/lib/oUnit -I /home/opam/.opam/4.14/lib/ounit2 -I /home/opam/.opam/4.14/lib/ounit2/advanced -I /home/opam/.opam/4.14/lib/stdlib-shims -I src/.mirage_crypto.objs/public_cmi -I tests/.test_common.objs/byte -no-alias-deps -o tests/.test_symmetric_runner.eobjs/byte/test_hmac.cmo -c -impl tests/test_hmac.ml)
- File "tests/test_hmac.ml", line 108, characters 34-37:
- 108 |       else Cstruct.(sub x 0 (min (len x) 16)))
-                                         ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "tests/test_hmac.ml", line 217, characters 52-55:
- 217 |     assert_cs_equal result Cstruct.(sub computed 0 (len result))
-                                                           ^^^
- 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 tests/.test_common.objs/byte -I tests/.test_common.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/eqaf -I /home/opam/.opam/4.14/lib/eqaf/bigstring -I /home/opam/.opam/4.14/lib/eqaf/cstruct -I /home/opam/.opam/4.14/lib/oUnit -I /home/opam/.opam/4.14/lib/ounit2 -I /home/opam/.opam/4.14/lib/ounit2/advanced -I /home/opam/.opam/4.14/lib/stdlib-shims -I src/.mirage_crypto.objs/native -I src/.mirage_crypto.objs/public_cmi -intf-suffix .ml -no-alias-deps -o tests/.test_common.objs/native/test_common.cmx -c -impl tests/test_common.ml)
- File "tests/test_common.ml", line 9, characters 5-8:
- 9 |   if len cs <= n then [ cs ]
-          ^^^
- 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 tests/.test_symmetric_runner.eobjs/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/eqaf -I /home/opam/.opam/4.14/lib/eqaf/bigstring -I /home/opam/.opam/4.14/lib/eqaf/cstruct -I /home/opam/.opam/4.14/lib/oUnit -I /home/opam/.opam/4.14/lib/ounit2 -I /home/opam/.opam/4.14/lib/ounit2/advanced -I /home/opam/.opam/4.14/lib/stdlib-shims -I src/.mirage_crypto.objs/public_cmi -I tests/.test_common.objs/byte -no-alias-deps -o tests/.test_symmetric_runner.eobjs/byte/test_cipher.cmo -c -impl tests/test_cipher.ml)
- File "tests/test_cipher.ml", line 95, characters 17-28:
- 95 |     let blocks = Cstruct.len nist_sp_800_38a / block_size 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 tests/.test_symmetric_runner.eobjs/byte -I tests/.test_symmetric_runner.eobjs/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/eqaf -I /home/opam/.opam/4.14/lib/eqaf/bigstring -I /home/opam/.opam/4.14/lib/eqaf/cstruct -I /home/opam/.opam/4.14/lib/oUnit -I /home/opam/.opam/4.14/lib/ounit2 -I /home/opam/.opam/4.14/lib/ounit2/advanced -I /home/opam/.opam/4.14/lib/stdlib-shims -I src/.mirage_crypto.objs/native -I src/.mirage_crypto.objs/public_cmi -I tests/.test_common.objs/byte -I tests/.test_common.objs/native -intf-suffix .ml -no-alias-deps -o tests/.test_symmetric_runner.eobjs/native/test_hmac.cmx -c -impl tests/test_hmac.ml)
- File "tests/test_hmac.ml", line 108, characters 34-37:
- 108 |       else Cstruct.(sub x 0 (min (len x) 16)))
-                                         ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "tests/test_hmac.ml", line 217, characters 52-55:
- 217 |     assert_cs_equal result Cstruct.(sub computed 0 (len result))
-                                                           ^^^
- 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 tests/.test_symmetric_runner.eobjs/byte -I tests/.test_symmetric_runner.eobjs/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/eqaf -I /home/opam/.opam/4.14/lib/eqaf/bigstring -I /home/opam/.opam/4.14/lib/eqaf/cstruct -I /home/opam/.opam/4.14/lib/oUnit -I /home/opam/.opam/4.14/lib/ounit2 -I /home/opam/.opam/4.14/lib/ounit2/advanced -I /home/opam/.opam/4.14/lib/stdlib-shims -I src/.mirage_crypto.objs/native -I src/.mirage_crypto.objs/public_cmi -I tests/.test_common.objs/byte -I tests/.test_common.objs/native -intf-suffix .ml -no-alias-deps -o tests/.test_symmetric_runner.eobjs/native/test_cipher.cmx -c -impl tests/test_cipher.ml)
- File "tests/test_cipher.ml", line 95, characters 17-28:
- 95 |     let blocks = Cstruct.len nist_sp_800_38a / block_size in
-                       ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- (cd _build/default/tests && ./test_symmetric_runner.exe)
- accel: XOR AES GHASH 
- ..............................................................................................................................................
- Ran: 142 tests in: 0.13 seconds.
- OK
-> compiled  mirage-crypto.0.8.5
-> installed mirage-crypto.0.8.5
Done.
# Run eval $(opam env) to update the current shell environment
2022-07-27 05:16.37 ---> saved as "5c3dda0421e5ec3534a9e6d70ff486384ddc9a51d4e70981be749cea6153ca07"
Job succeeded
2022-07-27 05:17.12: Job succeeded