Build:
  1. 0
2024-02-11 20:23.53: New job: test tcpip.4.1.0 with conf-pkg-config.1.1, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/25235/head (8c7391d6ec81e93f24de221eb32a886b72d1ede6)
                              on debian-12-ocaml-5.1/amd64

To reproduce locally:

cd $(mktemp -d)
git clone --recursive "https://github.com/ocaml/opam-repository.git" && cd "opam-repository" && git fetch origin "refs/pull/25235/head" && git reset --hard 8c7391d6
git fetch origin master
git merge --no-edit 8477e9a74beb40d85534ab7653b65d45607a147f
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.1@sha256:931805f2c2fdb0b5642ae8463ff0780c2ee3f4afb48734a7d94e2d5163429930
USER 1000:1000
WORKDIR /home/opam
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"
ENV CI="true"
ENV OPAM_REPO_CI="true"
RUN rm -rf opam-repository/
COPY --chown=1000:1000 . opam-repository/
RUN opam repository set-url --strict default opam-repository/
RUN opam update --depexts || true
ENV OPAMCRITERIA="-removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed"
ENV OPAMFIXUPCRITERIA="-removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed"
ENV OPAMUPGRADECRITERIA="-removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed"
RUN opam pin add -k version -yn conf-pkg-config.1.1 1.1
RUN opam reinstall conf-pkg-config.1.1; \
    res=$?; \
    test "$res" != 31 && exit "$res"; \
    export OPAMCLI=2.0; \
    build_dir=$(opam var prefix)/.opam-switch/build; \
    failed=$(ls "$build_dir"); \
    partial_fails=""; \
    for pkg in $failed; do \
    if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-12\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'conf-pkg-config.1.1' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1
ENV OPAMCRITERIA="-removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed"
ENV OPAMFIXUPCRITERIA="-removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed"
ENV OPAMUPGRADECRITERIA="-removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed"
RUN opam reinstall tcpip.4.1.0; \
    res=$?; \
    test "$res" != 31 && exit "$res"; \
    export OPAMCLI=2.0; \
    build_dir=$(opam var prefix)/.opam-switch/build; \
    failed=$(ls "$build_dir"); \
    partial_fails=""; \
    for pkg in $failed; do \
    if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-12\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'tcpip.4.1.0' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1
ENV OPAMCRITERIA="-removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed"
ENV OPAMFIXUPCRITERIA="-removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed"
ENV OPAMUPGRADECRITERIA="-removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed"
RUN (opam reinstall --with-test tcpip.4.1.0) || true
RUN opam reinstall --with-test --verbose tcpip.4.1.0; \
    res=$?; \
    test "$res" != 31 && exit "$res"; \
    export OPAMCLI=2.0; \
    build_dir=$(opam var prefix)/.opam-switch/build; \
    failed=$(ls "$build_dir"); \
    partial_fails=""; \
    for pkg in $failed; do \
    if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-12\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'tcpip.4.1.0' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1

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

2024-02-11 20:23.53: Using cache hint "ocaml/opam:debian-12-ocaml-5.1@sha256:931805f2c2fdb0b5642ae8463ff0780c2ee3f4afb48734a7d94e2d5163429930-conf-pkg-config.1.1-tcpip.4.1.0-8c7391d6ec81e93f24de221eb32a886b72d1ede6"
2024-02-11 20:23.53: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.1@sha256:931805f2c2fdb0b5642ae8463ff0780c2ee3f4afb48734a7d94e2d5163429930)
 (user (uid 1000) (gid 1000))
 (workdir /home/opam)
 (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
 (run (network host)
      (shell "opam init --reinit --config .opamrc-sandbox -ni"))
 (env OPAMDOWNLOADJOBS 1)
 (env OPAMERRLOGLEN 0)
 (env OPAMSOLVERTIMEOUT 500)
 (env OPAMPRECISETRACKING 1)
 (env CI true)
 (env OPAM_REPO_CI true)
 (run (shell "rm -rf opam-repository/"))
 (copy (src .) (dst opam-repository/))
 (run (shell "opam repository set-url --strict default opam-repository/"))
 (run (network host)
      (shell "opam update --depexts || true"))
 (env OPAMCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)
 (env OPAMFIXUPCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)
 (env OPAMUPGRADECRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)
 (run (shell "opam pin add -k version -yn conf-pkg-config.1.1 1.1"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall conf-pkg-config.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        partial_fails=\"\";\
             \n        for pkg in $failed; do\
             \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-12\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'conf-pkg-config.1.1' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
 (env OPAMCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)
 (env OPAMFIXUPCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)
 (env OPAMUPGRADECRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall tcpip.4.1.0;\
             \n        res=$?;\
             \n        test \"$res\" != 31 && exit \"$res\";\
             \n        export OPAMCLI=2.0;\
             \n        build_dir=$(opam var prefix)/.opam-switch/build;\
             \n        failed=$(ls \"$build_dir\");\
             \n        partial_fails=\"\";\
             \n        for pkg in $failed; do\
             \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-12\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'tcpip.4.1.0' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
 (env OPAMCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)
 (env OPAMFIXUPCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)
 (env OPAMUPGRADECRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)
 (run (network host)
      (shell "(opam reinstall --with-test tcpip.4.1.0) || true"))
 (run (shell  "opam reinstall --with-test --verbose tcpip.4.1.0;\
             \n        res=$?;\
             \n        test \"$res\" != 31 && exit \"$res\";\
             \n        export OPAMCLI=2.0;\
             \n        build_dir=$(opam var prefix)/.opam-switch/build;\
             \n        failed=$(ls \"$build_dir\");\
             \n        partial_fails=\"\";\
             \n        for pkg in $failed; do\
             \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-12\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'tcpip.4.1.0' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2024-02-11 20:23.53: Waiting for resource in pool OCluster
2024-02-12 19:56.38: Waiting for worker…
2024-02-12 20:05.05: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
HEAD is now at 8477e9a74b Merge pull request #25221 from nberth/mlgmpidl-1.3.0
Updating 8477e9a74b..8c7391d6ec
Fast-forward
 packages/conf-pkg-config/conf-pkg-config.1.0/opam | 2 +-
 packages/conf-pkg-config/conf-pkg-config.1.1/opam | 1 +
 packages/conf-pkg-config/conf-pkg-config.1.2/opam | 1 +
 packages/conf-pkg-config/conf-pkg-config.1.3/opam | 1 +
 packages/conf-pkg-config/conf-pkg-config.2/opam   | 1 +
 packages/conf-pkg-config/conf-pkg-config.3/opam   | 4 +++-
 6 files changed, 8 insertions(+), 2 deletions(-)

(from ocaml/opam:debian-12-ocaml-5.1@sha256:931805f2c2fdb0b5642ae8463ff0780c2ee3f4afb48734a7d94e2d5163429930)
2024-02-12 20:05.09 ---> using "4df7ce52b8e0afe130cbfff7d9b001e43cae58bd8e8710cd073ce7c11b1c6ac8" from cache

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2024-02-12 20:05.09 ---> using "2ee14a5dbb7aa54ab1dfa5adba4422c5a5483941525d4174e8eeed0c4c5e97aa" from cache

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

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

Continue? [y/n] y
[NOTE] The 'jobs' option was reset, its value was 71 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
           opam option jobs=71 --global
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2024-02-12 20:05.09 ---> using "d58131e4d084860f74dbebecfc9a35ebb7fbb42cf58093b5ac6cf0adf11ed898" from cache

/home/opam: (env OPAMDOWNLOADJOBS 1)

/home/opam: (env OPAMERRLOGLEN 0)

/home/opam: (env OPAMSOLVERTIMEOUT 500)

/home/opam: (env OPAMPRECISETRACKING 1)

/home/opam: (env CI true)

/home/opam: (env OPAM_REPO_CI true)

/home/opam: (run (shell "rm -rf opam-repository/"))
2024-02-12 20:05.09 ---> using "e76676ee91f5598b65d18de047738848e5af056a75e3436903dc82ff5702c5a6" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2024-02-12 20:05.10 ---> using "00dcf922e87fec2f8ccdd0b44355d41faed143c596db4bfe8812d0e9c5f33f02" from cache

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2024-02-12 20:05.10 ---> using "d6c8604b98b9d01914259989eafdfad7780b6c9f761a469dfe3162a56ba73510" from cache

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB]
- Get:2 http://deb.debian.org/debian bookworm-updates InRelease [52.1 kB]
- Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
- Get:4 http://deb.debian.org/debian bookworm/main amd64 Packages [8786 kB]
- Get:5 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [137 kB]
- Fetched 9175 kB in 1s (6830 kB/s)
- Reading package lists...
2024-02-12 20:05.10 ---> using "6245d7929b862e6b37f451133c05d21883283d0248743f67197f2e424fe52d69" from cache

/home/opam: (env OPAMCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)

/home/opam: (env OPAMFIXUPCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)

/home/opam: (env OPAMUPGRADECRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)

/home/opam: (run (shell "opam pin add -k version -yn conf-pkg-config.1.1 1.1"))
conf-pkg-config is now pinned to version 1.1
2024-02-12 20:05.10 ---> using "efd69474de39398f08b803f28b1c0635d272139b0c33f4b0a322013c52989663" from cache

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall conf-pkg-config.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        partial_fails=\"\";\
                        \n        for pkg in $failed; do\
                        \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-12\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'conf-pkg-config.1.1' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
conf-pkg-config.1.1 is not installed. Install it? [y/n] y
The following actions will be performed:
=== install 1 package
  - install conf-pkg-config 1.1 (pinned)

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. Continue anyway, and, upon success, permanently register that this external dependency is present, but not detectable
  4. Abort the installation

[1/2/3/4] 1

+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "pkg-config"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package libpkgconf3:amd64.
- (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 18774 files and directories currently installed.)
- Preparing to unpack .../libpkgconf3_1.8.1-1_amd64.deb ...
- Unpacking libpkgconf3:amd64 (1.8.1-1) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../pkgconf-bin_1.8.1-1_amd64.deb ...
- Unpacking pkgconf-bin (1.8.1-1) ...
- Selecting previously unselected package pkgconf:amd64.
- Preparing to unpack .../pkgconf_1.8.1-1_amd64.deb ...
- Unpacking pkgconf:amd64 (1.8.1-1) ...
- Selecting previously unselected package pkg-config:amd64.
- Preparing to unpack .../pkg-config_1.8.1-1_amd64.deb ...
- Unpacking pkg-config:amd64 (1.8.1-1) ...
- Setting up libpkgconf3:amd64 (1.8.1-1) ...
- Setting up pkgconf-bin (1.8.1-1) ...
- Setting up pkgconf:amd64 (1.8.1-1) ...
- Setting up pkg-config:amd64 (1.8.1-1) ...
- Processing triggers for libc-bin (2.36-9+deb12u4) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed conf-pkg-config.1.1
Done.
# Run eval $(opam env) to update the current shell environment
2024-02-12 20:05.10 ---> using "0686843ae3c31f38ac5563a3bcd57d9eed648c8dbf66daffdc86057dfb09ccb3" from cache

/home/opam: (env OPAMCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)

/home/opam: (env OPAMFIXUPCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)

/home/opam: (env OPAMUPGRADECRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall tcpip.4.1.0;\
                        \n        res=$?;\
                        \n        test \"$res\" != 31 && exit \"$res\";\
                        \n        export OPAMCLI=2.0;\
                        \n        build_dir=$(opam var prefix)/.opam-switch/build;\
                        \n        failed=$(ls \"$build_dir\");\
                        \n        partial_fails=\"\";\
                        \n        for pkg in $failed; do\
                        \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-12\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'tcpip.4.1.0' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
tcpip.4.1.0 is not installed. Install it? [y/n] y
The following actions will be performed:
=== install 47 packages
  - install base-bytes          base    [required by ocplib-endian]
  - install bigarray-compat     1.1.0   [required by cstruct]
  - install cppo                1.6.9   [required by lwt]
  - install csexp               1.5.2   [required by dune-configurator]
  - install cstruct             6.0.1   [required by tcpip]
  - install cstruct-lwt         6.0.1   [required by tcpip]
  - install domain-name         0.4.0   [required by ipaddr]
  - install dune                3.13.1  [required by tcpip]
  - install dune-configurator   3.13.1  [required by tcpip]
  - install duration            0.2.1   [required by tcpip]
  - install ethernet            2.2.1   [required by tcpip]
  - install fmt                 0.9.0   [required by tcpip]
  - install ipaddr              5.5.0   [required by tcpip]
  - install logs                0.7.0   [required by tcpip]
  - install lru                 0.3.1   [required by tcpip]
  - install lwt                 5.7.0   [required by tcpip]
  - install lwt-dllist          1.0.1   [required by tcpip]
  - install macaddr             5.5.0   [required by tcpip]
  - install macaddr-cstruct     5.5.0   [required by tcpip]
  - install mirage-clock        4.2.0   [required by tcpip]
  - install mirage-device       2.0.0   [required by mirage-protocols]
  - install mirage-flow         3.0.0   [required by tcpip]
  - install mirage-net          4.0.0   [required by tcpip]
  - install mirage-profile      0.9.1   [required by tcpip]
  - install mirage-protocols    4.0.1   [required by tcpip]
  - install mirage-random       3.0.0   [required by tcpip]
  - install mirage-stack        3.0.0   [required by tcpip]
  - install mirage-time         3.0.0   [required by tcpip]
  - install num                 1.5     [required by sexplib]
  - install ocaml-compiler-libs v0.12.4 [required by ppxlib]
  - install ocamlbuild          0.14.3  [required by rresult]
  - install ocamlfind           1.9.6   [required by rresult]
  - install ocplib-endian       1.2     [required by lwt, mirage-profile]
  - install parsexp             v0.16.0 [required by sexplib]
  - install ppx_cstruct         6.0.1   [required by ethernet]
  - install ppx_derivers        1.2.1   [required by ppxlib]
  - install ppxlib              0.32.0  [required by ppx_cstruct]
  - install psq                 0.2.1   [required by lru]
  - install randomconv          0.1.3   [required by tcpip]
  - install result              1.5     [required by tcpip]
  - install rresult             0.7.0   [required by tcpip]
  - install seq                 base    [required by psq]
  - install sexplib             v0.16.0 [required by ppx_cstruct]
  - install sexplib0            v0.16.0 [required by ppxlib, sexplib]
  - install stdlib-shims        0.3.0   [required by ppx_cstruct]
  - install tcpip               4.1.0
  - install topkg               1.0.7   [required by rresult]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved bigarray-compat.1.1.0  (cached)
-> retrieved cppo.1.6.9  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved cstruct.6.0.1, cstruct-lwt.6.0.1, ppx_cstruct.6.0.1  (cached)
-> retrieved domain-name.0.4.0  (cached)
-> retrieved dune.3.13.1, dune-configurator.3.13.1  (cached)
-> retrieved duration.0.2.1  (cached)
-> retrieved ethernet.2.2.1  (cached)
-> retrieved fmt.0.9.0  (cached)
-> retrieved ipaddr.5.5.0, macaddr.5.5.0, macaddr-cstruct.5.5.0  (cached)
-> retrieved logs.0.7.0  (cached)
-> retrieved lru.0.3.1  (cached)
-> retrieved lwt.5.7.0  (cached)
-> retrieved lwt-dllist.1.0.1  (cached)
-> retrieved mirage-clock.4.2.0  (cached)
-> retrieved mirage-device.2.0.0  (cached)
-> retrieved mirage-flow.3.0.0  (cached)
-> retrieved mirage-net.4.0.0  (cached)
-> retrieved mirage-profile.0.9.1  (cached)
-> retrieved mirage-protocols.4.0.1  (cached)
-> retrieved mirage-random.3.0.0  (cached)
-> retrieved mirage-stack.3.0.0  (cached)
-> retrieved mirage-time.3.0.0  (cached)
-> retrieved num.1.5  (cached)
-> retrieved ocaml-compiler-libs.v0.12.4  (cached)
-> retrieved ocamlbuild.0.14.3  (cached)
-> retrieved ocamlfind.1.9.6  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved parsexp.v0.16.0  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved ppxlib.0.32.0  (cached)
-> retrieved psq.0.2.1  (cached)
-> retrieved randomconv.0.1.3  (cached)
-> retrieved result.1.5  (cached)
-> retrieved rresult.0.7.0  (cached)
-> installed seq.base
-> retrieved sexplib.v0.16.0  (cached)
-> retrieved sexplib0.v0.16.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved tcpip.4.1.0  (cached)
-> retrieved topkg.1.0.7  (cached)
-> installed num.1.5
-> installed ocamlfind.1.9.6
-> installed base-bytes.base
-> installed ocamlbuild.0.14.3
-> installed topkg.1.0.7
-> installed rresult.0.7.0
-> installed fmt.0.9.0
-> installed dune.3.13.1
-> installed duration.0.2.1
-> installed lwt-dllist.1.0.1
-> installed mirage-clock.4.2.0
-> installed ppx_derivers.1.2.1
-> installed domain-name.0.4.0
-> installed csexp.1.5.2
-> installed bigarray-compat.1.1.0
-> installed cppo.1.6.9
-> installed macaddr.5.5.0
-> installed ocaml-compiler-libs.v0.12.4
-> installed psq.0.2.1
-> installed result.1.5
-> installed sexplib0.v0.16.0
-> installed stdlib-shims.0.3.0
-> installed lru.0.3.1
-> installed ocplib-endian.1.2
-> installed cstruct.6.0.1
-> installed ipaddr.5.5.0
-> installed macaddr-cstruct.5.5.0
-> installed mirage-random.3.0.0
-> installed randomconv.0.1.3
-> installed parsexp.v0.16.0
-> installed dune-configurator.3.13.1
-> installed sexplib.v0.16.0
-> installed lwt.5.7.0
-> installed mirage-device.2.0.0
-> installed mirage-time.3.0.0
-> installed cstruct-lwt.6.0.1
-> installed mirage-flow.3.0.0
-> installed mirage-net.4.0.0
-> installed mirage-protocols.4.0.1
-> installed mirage-stack.3.0.0
-> installed logs.0.7.0
-> installed ppxlib.0.32.0
-> installed ppx_cstruct.6.0.1
-> installed mirage-profile.0.9.1
-> installed ethernet.2.2.1
-> installed tcpip.4.1.0
Done.
# Run eval $(opam env) to update the current shell environment
2024-02-12 20:05.59 ---> saved as "e285cd113bc1d5580316e9fea912b16285e706afba4e90565a0f3953965c934a"

/home/opam: (env OPAMCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)

/home/opam: (env OPAMFIXUPCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)

/home/opam: (env OPAMUPGRADECRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)

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

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved tcpip.4.1.0  (https://github.com/mirage/mirage-tcpip/releases/download/v4.1.0/tcpip-v4.1.0.tbz)
-> removed   tcpip.4.1.0
-> installed tcpip.4.1.0
Done.
# Run eval $(opam env) to update the current shell environment
2024-02-12 20:06.12 ---> saved as "2e6aa8f2ce38b7bd854ff946a61602812b0d7530adecdb59826c92de83a2fcd1"

/home/opam: (run (shell  "opam reinstall --with-test --verbose tcpip.4.1.0;\
                        \n        res=$?;\
                        \n        test \"$res\" != 31 && exit \"$res\";\
                        \n        export OPAMCLI=2.0;\
                        \n        build_dir=$(opam var prefix)/.opam-switch/build;\
                        \n        failed=$(ls \"$build_dir\");\
                        \n        partial_fails=\"\";\
                        \n        for pkg in $failed; do\
                        \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-12\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'tcpip.4.1.0' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
The following actions will be performed:
=== recompile 1 package
  - recompile tcpip 4.1.0

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/4:
-> retrieved tcpip.4.1.0  (cached)
Processing  2/4: [tcpip: env dune]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "env" "OPAM_PKG_CONFIG_PATH=/home/opam/.opam/5.1/lib/pkgconfig" "dune" "build" "-p" "tcpip" "-j" "255" (CWD=/home/opam/.opam/5.1/.opam-switch/build/tcpip.4.1.0)
- (cd _build/default && /home/opam/.opam/5.1/bin/ocamlc.opt -w -40 -g -bin-annot -I src/stack-unix/.udpv4_socket.objs/byte -I /home/opam/.opam/5.1/lib/bigarray-compat -I /home/opam/.opam/5.1/lib/bytes -I /home/opam/.opam/5.1/lib/cstruct -I /home/opam/.opam/5.1/lib/cstruct-lwt -I /home/opam/.opam/5.1/lib/domain-name -I /home/opam/.opam/5.1/lib/duration -I /home/opam/.opam/5.1/lib/fmt -I /home/opam/.opam/5.1/lib/ipaddr -I /home/opam/.opam/5.1/lib/ipaddr/unix -I /home/opam/.opam/5.1/lib/lwt -I /home/opam/.opam/5.1/lib/lwt/unix -I /home/opam/.opam/5.1/lib/macaddr -I /home/opam/.opam/5.1/lib/mirage-device -I /home/opam/.opam/5.1/lib/mirage-flow -I /home/opam/.opam/5.1/lib/mirage-protocols -I /home/opam/.opam/5.1/lib/ocaml/threads -I /home/opam/.opam/5.1/lib/ocaml/unix -I /home/opam/.opam/5.1/lib/ocplib-endian -I /home/opam/.opam/5.1/lib/ocplib-endian/bigstring -no-alias-deps -o src/stack-unix/.udpv4_socket.objs/byte/udpv4_socket.cmo -c -impl src/stack-unix/udpv4_socket.ml)
- File "src/stack-unix/udpv4_socket.ml", line 72, characters 17-28:
- 72 |     | n when n = Cstruct.len buf -> Lwt.return @@ Ok ()
-                       ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "src/stack-unix/udpv4_socket.ml", line 74, characters 46-57:
- 74 |     | n -> write_to_fd fd (Cstruct.sub buf n (Cstruct.len buf - n)) (* keep trying *)
-                                                    ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- (cd _build/default && /home/opam/.opam/5.1/bin/ocamlc.opt -w -40 -g -bin-annot -I src/stack-unix/.tcpv4_socket.objs/byte -I /home/opam/.opam/5.1/lib/bigarray-compat -I /home/opam/.opam/5.1/lib/bytes -I /home/opam/.opam/5.1/lib/cstruct -I /home/opam/.opam/5.1/lib/cstruct-lwt -I /home/opam/.opam/5.1/lib/domain-name -I /home/opam/.opam/5.1/lib/duration -I /home/opam/.opam/5.1/lib/fmt -I /home/opam/.opam/5.1/lib/ipaddr -I /home/opam/.opam/5.1/lib/ipaddr/unix -I /home/opam/.opam/5.1/lib/lwt -I /home/opam/.opam/5.1/lib/lwt/unix -I /home/opam/.opam/5.1/lib/macaddr -I /home/opam/.opam/5.1/lib/mirage-device -I /home/opam/.opam/5.1/lib/mirage-flow -I /home/opam/.opam/5.1/lib/mirage-protocols -I /home/opam/.opam/5.1/lib/ocaml/threads -I /home/opam/.opam/5.1/lib/ocaml/unix -I /home/opam/.opam/5.1/lib/ocplib-endian -I /home/opam/.opam/5.1/lib/ocplib-endian/bigstring -I src/stack-unix/.tcp_socket_options.objs/byte -no-alias-deps -o src/stack-unix/.tcpv4_socket.objs/byte/tcp_socket.cmo -c -impl src/stack-unix/tcp_socket.ml)
- File "src/stack-unix/tcp_socket.ml", line 34, characters 19-30:
- 34 |       | n when n = Cstruct.len buf -> return @@ Ok ()
-                         ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "src/stack-unix/tcp_socket.ml", line 36, characters 42-53:
- 36 |       | n -> write fd (Cstruct.sub buf n (Cstruct.len buf - n))
-                                                ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- (cd _build/default && /home/opam/.opam/5.1/bin/ocamlopt.opt -w -40 -g -I src/stack-unix/.udpv4_socket.objs/byte -I src/stack-unix/.udpv4_socket.objs/native -I /home/opam/.opam/5.1/lib/bigarray-compat -I /home/opam/.opam/5.1/lib/bytes -I /home/opam/.opam/5.1/lib/cstruct -I /home/opam/.opam/5.1/lib/cstruct-lwt -I /home/opam/.opam/5.1/lib/domain-name -I /home/opam/.opam/5.1/lib/duration -I /home/opam/.opam/5.1/lib/fmt -I /home/opam/.opam/5.1/lib/ipaddr -I /home/opam/.opam/5.1/lib/ipaddr/unix -I /home/opam/.opam/5.1/lib/lwt -I /home/opam/.opam/5.1/lib/lwt/unix -I /home/opam/.opam/5.1/lib/macaddr -I /home/opam/.opam/5.1/lib/mirage-device -I /home/opam/.opam/5.1/lib/mirage-flow -I /home/opam/.opam/5.1/lib/mirage-protocols -I /home/opam/.opam/5.1/lib/ocaml/threads -I /home/opam/.opam/5.1/lib/ocaml/unix -I /home/opam/.opam/5.1/lib/ocplib-endian -I /home/opam/.opam/5.1/lib/ocplib-endian/bigstring -intf-suffix .ml -no-alias-deps -o src/stack-unix/.udpv4_socket.objs/native/udpv4_socket.cmx -c -impl src/stack-unix/udpv4_socket.ml)
- File "src/stack-unix/udpv4_socket.ml", line 72, characters 17-28:
- 72 |     | n when n = Cstruct.len buf -> Lwt.return @@ Ok ()
-                       ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "src/stack-unix/udpv4_socket.ml", line 74, characters 46-57:
- 74 |     | n -> write_to_fd fd (Cstruct.sub buf n (Cstruct.len buf - n)) (* keep trying *)
-                                                    ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- (cd _build/default && /home/opam/.opam/5.1/bin/ocamlopt.opt -w -40 -g -I src/stack-unix/.tcpv4_socket.objs/byte -I src/stack-unix/.tcpv4_socket.objs/native -I /home/opam/.opam/5.1/lib/bigarray-compat -I /home/opam/.opam/5.1/lib/bytes -I /home/opam/.opam/5.1/lib/cstruct -I /home/opam/.opam/5.1/lib/cstruct-lwt -I /home/opam/.opam/5.1/lib/domain-name -I /home/opam/.opam/5.1/lib/duration -I /home/opam/.opam/5.1/lib/fmt -I /home/opam/.opam/5.1/lib/ipaddr -I /home/opam/.opam/5.1/lib/ipaddr/unix -I /home/opam/.opam/5.1/lib/lwt -I /home/opam/.opam/5.1/lib/lwt/unix -I /home/opam/.opam/5.1/lib/macaddr -I /home/opam/.opam/5.1/lib/mirage-device -I /home/opam/.opam/5.1/lib/mirage-flow -I /home/opam/.opam/5.1/lib/mirage-protocols -I /home/opam/.opam/5.1/lib/ocaml/threads -I /home/opam/.opam/5.1/lib/ocaml/unix -I /home/opam/.opam/5.1/lib/ocplib-endian -I /home/opam/.opam/5.1/lib/ocplib-endian/bigstring -I src/stack-unix/.tcp_socket_options.objs/byte -I src/stack-unix/.tcp_socket_options.objs/native -intf-suffix .ml -no-alias-deps -o src/stack-unix/.tcpv4_socket.objs/native/tcp_socket.cmx -c -impl src/stack-unix/tcp_socket.ml)
- File "src/stack-unix/tcp_socket.ml", line 34, characters 19-30:
- 34 |       | n when n = Cstruct.len buf -> return @@ Ok ()
-                         ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "src/stack-unix/tcp_socket.ml", line 36, characters 42-53:
- 36 |       | n -> write fd (Cstruct.sub buf n (Cstruct.len buf - n))
-                                                ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- (cd _build/default && /home/opam/.opam/5.1/bin/ocamlc.opt -w -40 -g -bin-annot -I src/udp/.tcpip_udpv4.objs/byte -I /home/opam/.opam/5.1/lib/bigarray-compat -I /home/opam/.opam/5.1/lib/cstruct -I /home/opam/.opam/5.1/lib/domain-name -I /home/opam/.opam/5.1/lib/duration -I /home/opam/.opam/5.1/lib/fmt -I /home/opam/.opam/5.1/lib/ipaddr -I /home/opam/.opam/5.1/lib/logs -I /home/opam/.opam/5.1/lib/lwt -I /home/opam/.opam/5.1/lib/macaddr -I /home/opam/.opam/5.1/lib/mirage-device -I /home/opam/.opam/5.1/lib/mirage-flow -I /home/opam/.opam/5.1/lib/mirage-protocols -I /home/opam/.opam/5.1/lib/mirage-random -I /home/opam/.opam/5.1/lib/randomconv -I /home/opam/.opam/5.1/lib/rresult -I /home/opam/.opam/5.1/lib/stdlib-shims -I src/tcpip_checksum/.tcpip.objs/byte -I src/tcpip_checksum/.tcpip_unix.objs/byte -intf-suffix .ml -no-alias-deps -o src/udp/.tcpip_udpv4.objs/byte/udp_packet.cmo -c -impl src/udp/udp_packet.pp.ml)
- File "src/udp/udp_packet.ml", line 21, characters 9-20:
- 21 |       if Cstruct.len buf < sizeof_udp then Error "UDP header too short" else Ok ()
-               ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "src/udp/udp_packet.ml", line 37, characters 51-62:
- 37 |     check_payload_length total_length_from_header (Cstruct.len buf) >>= fun payload_len ->
-                                                         ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "src/udp/udp_packet.ml", line 69, characters 9-20:
- 69 |       if Cstruct.len udp_buf < sizeof_udp then
-               ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "src/udp/udp_packet.ml", line 75, characters 14-25:
- 75 |     let len = Cstruct.len payload + sizeof_udp in
-                    ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "src/udp/udp_packet.ml", line 82, characters 36-47:
- 82 |     let len = Udp_wire.sizeof_udp + Cstruct.len payload in
-                                          ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- (cd _build/default && /home/opam/.opam/5.1/bin/ocamlc.opt -w -40 -g -bin-annot -I src/tcp/.tcp.objs/byte -I /home/opam/.opam/5.1/lib/bigarray-compat -I /home/opam/.opam/5.1/lib/bytes -I /home/opam/.opam/5.1/lib/cstruct -I /home/opam/.opam/5.1/lib/domain-name -I /home/opam/.opam/5.1/lib/duration -I /home/opam/.opam/5.1/lib/fmt -I /home/opam/.opam/5.1/lib/ipaddr -I /home/opam/.opam/5.1/lib/logs -I /home/opam/.opam/5.1/lib/lwt -I /home/opam/.opam/5.1/lib/lwt-dllist -I /home/opam/.opam/5.1/lib/macaddr -I /home/opam/.opam/5.1/lib/mirage-clock -I /home/opam/.opam/5.1/lib/mirage-device -I /home/opam/.opam/5.1/lib/mirage-flow -I /home/opam/.opam/5.1/lib/mirage-profile -I /home/opam/.opam/5.1/lib/mirage-protocols -I /home/opam/.opam/5.1/lib/mirage-random -I /home/opam/.opam/5.1/lib/mirage-time -I /home/opam/.opam/5.1/lib/ocplib-endian -I /home/opam/.opam/5.1/lib/ocplib-endian/bigstring -I /home/opam/.opam/5.1/lib/randomconv -I /home/opam/.opam/5.1/lib/rresult -I /home/opam/.opam/5.1/lib/stdlib-shims -I src/tcpip_checksum/.tcpip.objs/byte -I src/tcpip_checksum/.tcpip_unix.objs/byte -intf-suffix .ml -no-alias-deps -open Tcp -o src/tcp/.tcp.objs/byte/tcp__Options.cmo -c -impl src/tcp/options.pp.ml)
- File "src/tcp/options.ml", line 58, characters 17-28:
- 58 |            match Cstruct.len buf with
-                       ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "src/tcp/options.ml", line 73, characters 14-25:
- 73 |            if Cstruct.len buf < option_length then
-                    ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "src/tcp/options.ml", line 102, characters 51-62:
- 102 |                Ok (Unknown (n, Cstruct.copy buf 2 (Cstruct.len buf - 2)))
-                                                          ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- (cd _build/default && /home/opam/.opam/5.1/bin/ocamlc.opt -w -40 -g -bin-annot -I src/tcp/.tcp.objs/byte -I /home/opam/.opam/5.1/lib/bigarray-compat -I /home/opam/.opam/5.1/lib/bytes -I /home/opam/.opam/5.1/lib/cstruct -I /home/opam/.opam/5.1/lib/domain-name -I /home/opam/.opam/5.1/lib/duration -I /home/opam/.opam/5.1/lib/fmt -I /home/opam/.opam/5.1/lib/ipaddr -I /home/opam/.opam/5.1/lib/logs -I /home/opam/.opam/5.1/lib/lwt -I /home/opam/.opam/5.1/lib/lwt-dllist -I /home/opam/.opam/5.1/lib/macaddr -I /home/opam/.opam/5.1/lib/mirage-clock -I /home/opam/.opam/5.1/lib/mirage-device -I /home/opam/.opam/5.1/lib/mirage-flow -I /home/opam/.opam/5.1/lib/mirage-profile -I /home/opam/.opam/5.1/lib/mirage-protocols -I /home/opam/.opam/5.1/lib/mirage-random -I /home/opam/.opam/5.1/lib/mirage-time -I /home/opam/.opam/5.1/lib/ocplib-endian -I /home/opam/.opam/5.1/lib/ocplib-endian/bigstring -I /home/opam/.opam/5.1/lib/randomconv -I /home/opam/.opam/5.1/lib/rresult -I /home/opam/.opam/5.1/lib/stdlib-shims -I src/tcpip_checksum/.tcpip.objs/byte -I src/tcpip_checksum/.tcpip_unix.objs/byte -intf-suffix .ml -no-alias-deps -open Tcp -o src/tcp/.tcp.objs/byte/tcp__Wire.cmo -c -impl src/tcp/wire.pp.ml)
- File "src/tcp/wire.ml", line 63, characters 64-75:
- 63 |     let tcp_size = Tcp_wire.sizeof_tcp + Options.lenv options + Cstruct.len payload in
-                                                                      ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "src/tcp/wire.ml", line 73, characters 38-49:
- 73 |         Cstruct.blit payload 0 buf l (Cstruct.len payload) ;
-                                            ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "src/tcp/wire.ml", line 75, characters 11-22:
- 75 |           (Cstruct.len payload + if syn then 1 else 0) ;
-                 ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- (cd _build/default && /home/opam/.opam/5.1/bin/ocamlc.opt -w -40 -g -bin-annot -I src/tcp/.tcp.objs/byte -I /home/opam/.opam/5.1/lib/bigarray-compat -I /home/opam/.opam/5.1/lib/bytes -I /home/opam/.opam/5.1/lib/cstruct -I /home/opam/.opam/5.1/lib/domain-name -I /home/opam/.opam/5.1/lib/duration -I /home/opam/.opam/5.1/lib/fmt -I /home/opam/.opam/5.1/lib/ipaddr -I /home/opam/.opam/5.1/lib/logs -I /home/opam/.opam/5.1/lib/lwt -I /home/opam/.opam/5.1/lib/lwt-dllist -I /home/opam/.opam/5.1/lib/macaddr -I /home/opam/.opam/5.1/lib/mirage-clock -I /home/opam/.opam/5.1/lib/mirage-device -I /home/opam/.opam/5.1/lib/mirage-flow -I /home/opam/.opam/5.1/lib/mirage-profile -I /home/opam/.opam/5.1/lib/mirage-protocols -I /home/opam/.opam/5.1/lib/mirage-random -I /home/opam/.opam/5.1/lib/mirage-time -I /home/opam/.opam/5.1/lib/ocplib-endian -I /home/opam/.opam/5.1/lib/ocplib-endian/bigstring -I /home/opam/.opam/5.1/lib/randomconv -I /home/opam/.opam/5.1/lib/rresult -I /home/opam/.opam/5.1/lib/stdlib-shims -I src/tcpip_checksum/.tcpip.objs/byte -I src/tcpip_checksum/.tcpip_unix.objs/byte -intf-suffix .ml -no-alias-deps -open Tcp -o src/tcp/.tcp.objs/byte/tcp__Tcp_packet.cmo -c -impl src/tcp/tcp_packet.pp.ml)
- File "src/tcp/tcp_packet.ml", line 40, characters 9-20:
- 40 |       if Cstruct.len pkt < sizeof_tcp then
-               ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "src/tcp/tcp_packet.ml", line 45, characters 37-48:
- 45 |     let long_enough data_offset = if Cstruct.len pkt < data_offset then
-                                           ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "src/tcp/tcp_packet.ml", line 109, characters 10-21:
- 109 |       if (Cstruct.len buf) < sizeof_tcp then Error "Not enough space for a TCP header"
-                 ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "src/tcp/tcp_packet.ml", line 113, characters 10-21:
- 113 |       if (Cstruct.len buf) < header_length then
-                 ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "src/tcp/tcp_packet.ml", line 115, characters 18-29:
- 115 |                  (Cstruct.len buf) header_length)
-                         ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- (cd _build/default && /home/opam/.opam/5.1/bin/ocamlopt.opt -w -40 -g -I src/tcp/.tcp.objs/byte -I src/tcp/.tcp.objs/native -I /home/opam/.opam/5.1/lib/bigarray-compat -I /home/opam/.opam/5.1/lib/bytes -I /home/opam/.opam/5.1/lib/cstruct -I /home/opam/.opam/5.1/lib/domain-name -I /home/opam/.opam/5.1/lib/duration -I /home/opam/.opam/5.1/lib/fmt -I /home/opam/.opam/5.1/lib/ipaddr -I /home/opam/.opam/5.1/lib/logs -I /home/opam/.opam/5.1/lib/lwt -I /home/opam/.opam/5.1/lib/lwt-dllist -I /home/opam/.opam/5.1/lib/macaddr -I /home/opam/.opam/5.1/lib/mirage-clock -I /home/opam/.opam/5.1/lib/mirage-device -I /home/opam/.opam/5.1/lib/mirage-flow -I /home/opam/.opam/5.1/lib/mirage-profile -I /home/opam/.opam/5.1/lib/mirage-protocols -I /home/opam/.opam/5.1/lib/mirage-random -I /home/opam/.opam/5.1/lib/mirage-time -I /home/opam/.opam/5.1/lib/ocplib-endian -I /home/opam/.opam/5.1/lib/ocplib-endian/bigstring -I /home/opam/.opam/5.1/lib/randomconv -I /home/opam/.opam/5.1/lib/rresult -I /home/opam/.opam/5.1/lib/stdlib-shims -I src/tcpip_checksum/.tcpip.objs/byte -I src/tcpip_checksum/.tcpip.objs/native -I src/tcpip_checksum/.tcpip_unix.objs/byte -I src/tcpip_checksum/.tcpip_unix.objs/native -intf-suffix .ml -no-alias-deps -open Tcp -o src/tcp/.tcp.objs/native/tcp__Options.cmx -c -impl src/tcp/options.pp.ml)
- File "src/tcp/options.ml", line 58, characters 17-28:
- 58 |            match Cstruct.len buf with
-                       ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "src/tcp/options.ml", line 73, characters 14-25:
- 73 |            if Cstruct.len buf < option_length then
-                    ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "src/tcp/options.ml", line 102, characters 51-62:
- 102 |                Ok (Unknown (n, Cstruct.copy buf 2 (Cstruct.len buf - 2)))
-                                                          ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- (cd _build/default && /home/opam/.opam/5.1/bin/ocamlc.opt -w -40 -g -bin-annot -I src/ipv4/.tcpip_ipv4.objs/byte -I /home/opam/.opam/5.1/lib/bigarray-compat -I /home/opam/.opam/5.1/lib/cstruct -I /home/opam/.opam/5.1/lib/domain-name -I /home/opam/.opam/5.1/lib/duration -I /home/opam/.opam/5.1/lib/fmt -I /home/opam/.opam/5.1/lib/ipaddr -I /home/opam/.opam/5.1/lib/logs -I /home/opam/.opam/5.1/lib/lru -I /home/opam/.opam/5.1/lib/lwt -I /home/opam/.opam/5.1/lib/macaddr -I /home/opam/.opam/5.1/lib/mirage-clock -I /home/opam/.opam/5.1/lib/mirage-device -I /home/opam/.opam/5.1/lib/mirage-flow -I /home/opam/.opam/5.1/lib/mirage-protocols -I /home/opam/.opam/5.1/lib/mirage-random -I /home/opam/.opam/5.1/lib/psq -I /home/opam/.opam/5.1/lib/randomconv -I /home/opam/.opam/5.1/lib/rresult -I /home/opam/.opam/5.1/lib/seq -I /home/opam/.opam/5.1/lib/stdlib-shims -I src/tcpip_checksum/.tcpip.objs/byte -I src/tcpip_checksum/.tcpip_unix.objs/byte -I src/udp/.tcpip_udpv4.objs/byte -intf-suffix .ml -no-alias-deps -o src/ipv4/.tcpip_ipv4.objs/byte/ipv4_packet.cmo -c -impl src/ipv4/ipv4_packet.pp.ml)
- File "src/ipv4/ipv4_packet.ml", line 56, characters 35-46:
- 56 |     let options_len = nearest_4 @@ Cstruct.len t.options in
-                                         ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "src/ipv4/ipv4_packet.ml", line 64, characters 46-57:
- 64 |     Cstruct.blit t.options 0 buf sizeof_ipv4 (Cstruct.len t.options);
-                                                    ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "src/ipv4/ipv4_packet.ml", line 71, characters 7-18:
- 71 |     if Cstruct.len buf < (sizeof_ipv4 + Cstruct.len t.options) then
-             ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "src/ipv4/ipv4_packet.ml", line 71, characters 40-51:
- 71 |     if Cstruct.len buf < (sizeof_ipv4 + Cstruct.len t.options) then
-                                              ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "src/ipv4/ipv4_packet.ml", line 81, characters 35-46:
- 81 |     let options_len = nearest_4 @@ Cstruct.len t.options in
-                                         ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "src/ipv4/ipv4_packet.ml", line 107, characters 10-21:
- 107 |       if (Cstruct.len buf < sizeof_ipv4) then Error "buffer sent to IPv4 parser had size < 20"
-                 ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "src/ipv4/ipv4_packet.ml", line 123, characters 16-27:
- 123 |         else if Cstruct.len buf < hlen then
-                       ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "src/ipv4/ipv4_packet.ml", line 124, characters 93-104:
- 124 |           Error (Printf.sprintf "IPv4 packet w/length %d claimed to have header of size %d" (Cstruct.len buf) hlen)
-                                                                                                    ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "src/ipv4/ipv4_packet.ml", line 147, characters 30-41:
- 147 |       let payload_available = Cstruct.len buf - options_end in
-                                     ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "src/ipv4/ipv4_packet.ml", line 170, characters 32-43:
- 170 |       check ipv4_header ~proto (Cstruct.len transport_packet)
-                                       ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "src/ipv4/ipv4_packet.ml", line 175, characters 34-45:
- 175 |         check ipv4_header ~proto (Cstruct.len transport_packet)
-                                         ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- (cd _build/default && /home/opam/.opam/5.1/bin/ocamlopt.opt -w -40 -g -I src/udp/.tcpip_udpv4.objs/byte -I src/udp/.tcpip_udpv4.objs/native -I /home/opam/.opam/5.1/lib/bigarray-compat -I /home/opam/.opam/5.1/lib/cstruct -I /home/opam/.opam/5.1/lib/domain-name -I /home/opam/.opam/5.1/lib/duration -I /home/opam/.opam/5.1/lib/fmt -I /home/opam/.opam/5.1/lib/ipaddr -I /home/opam/.opam/5.1/lib/logs -I /home/opam/.opam/5.1/lib/lwt -I /home/opam/.opam/5.1/lib/macaddr -I /home/opam/.opam/5.1/lib/mirage-device -I /home/opam/.opam/5.1/lib/mirage-flow -I /home/opam/.opam/5.1/lib/mirage-protocols -I /home/opam/.opam/5.1/lib/mirage-random -I /home/opam/.opam/5.1/lib/randomconv -I /home/opam/.opam/5.1/lib/rresult -I /home/opam/.opam/5.1/lib/stdlib-shims -I src/tcpip_checksum/.tcpip.objs/byte -I src/tcpip_checksum/.tcpip.objs/native -I src/tcpip_checksum/.tcpip_unix.objs/byte -I src/tcpip_checksum/.tcpip_unix.objs/native -intf-suffix .ml -no-alias-deps -o src/udp/.tcpip_udpv4.objs/native/udp_packet.cmx -c -impl src/udp/udp_packet.pp.ml)
- File "src/udp/udp_packet.ml", line 21, characters 9-20:
- 21 |       if Cstruct.len buf < sizeof_udp then Error "UDP header too short" else Ok ()
-               ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "src/udp/udp_packet.ml", line 37, characters 51-62:
- 37 |     check_payload_length total_length_from_header (Cstruct.len buf) >>= fun payload_len ->
-                                                         ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "src/udp/udp_packet.ml", line 69, characters 9-20:
- 69 |       if Cstruct.len udp_buf < sizeof_udp then
-               ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "src/udp/udp_packet.ml", line 75, characters 14-25:
- 75 |     let len = Cstruct.len payload + sizeof_udp in
-                    ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "src/udp/udp_packet.ml", line 82, characters 36-47:
- 82 |     let len = Udp_wire.sizeof_udp + Cstruct.len payload in
-                                          ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- (cd _build/default && /home/opam/.opam/5.1/bin/ocamlc.opt -w -40 -g -bin-annot -I src/ipv6/.tcpip_ipv6.objs/byte -I /home/opam/.opam/5.1/lib/bigarray-compat -I /home/opam/.opam/5.1/lib/cstruct -I /home/opam/.opam/5.1/lib/domain-name -I /home/opam/.opam/5.1/lib/duration -I /home/opam/.opam/5.1/lib/fmt -I /home/opam/.opam/5.1/lib/ipaddr -I /home/opam/.opam/5.1/lib/logs -I /home/opam/.opam/5.1/lib/lwt -I /home/opam/.opam/5.1/lib/macaddr -I /home/opam/.opam/5.1/lib/macaddr-cstruct -I /home/opam/.opam/5.1/lib/mirage-clock -I /home/opam/.opam/5.1/lib/mirage-device -I /home/opam/.opam/5.1/lib/mirage-flow -I /home/opam/.opam/5.1/lib/mirage-protocols -I /home/opam/.opam/5.1/lib/mirage-random -I /home/opam/.opam/5.1/lib/mirage-time -I /home/opam/.opam/5.1/lib/randomconv -I /home/opam/.opam/5.1/lib/rresult -I /home/opam/.opam/5.1/lib/stdlib-shims -I src/tcpip_checksum/.tcpip.objs/byte -I src/tcpip_checksum/.tcpip_unix.objs/byte -intf-suffix .ml -no-alias-deps -o src/ipv6/.tcpip_ipv6.objs/byte/ipv6.cmo -c -impl src/ipv6/ipv6.pp.ml)
- File "src/ipv6/ipv6.ml", line 64, characters 23-34:
- 64 |     let size' = size + Cstruct.len payload in
-                             ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "src/ipv6/ipv6.ml", line 71, characters 40-51:
- 71 |       Cstruct.blit payload 0 buf h_len (Cstruct.len payload);
-                                              ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "src/ipv6/ipv6.ml", line 72, characters 14-25:
- 72 |       h_len + Cstruct.len payload
-                    ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- (cd _build/default && /home/opam/.opam/5.1/bin/ocamlc.opt -w -40 -g -bin-annot -I src/icmp/.tcpip_icmpv4.objs/byte -I /home/opam/.opam/5.1/lib/bigarray-compat -I /home/opam/.opam/5.1/lib/bytes -I /home/opam/.opam/5.1/lib/cstruct -I /home/opam/.opam/5.1/lib/domain-name -I /home/opam/.opam/5.1/lib/duration -I /home/opam/.opam/5.1/lib/fmt -I /home/opam/.opam/5.1/lib/ipaddr -I /home/opam/.opam/5.1/lib/logs -I /home/opam/.opam/5.1/lib/lwt -I /home/opam/.opam/5.1/lib/macaddr -I /home/opam/.opam/5.1/lib/mirage-device -I /home/opam/.opam/5.1/lib/mirage-flow -I /home/opam/.opam/5.1/lib/mirage-profile -I /home/opam/.opam/5.1/lib/mirage-protocols -I /home/opam/.opam/5.1/lib/mirage-random -I /home/opam/.opam/5.1/lib/ocplib-endian -I /home/opam/.opam/5.1/lib/ocplib-endian/bigstring -I /home/opam/.opam/5.1/lib/randomconv -I /home/opam/.opam/5.1/lib/rresult -I /home/opam/.opam/5.1/lib/stdlib-shims -I src/tcpip_checksum/.tcpip.objs/byte -I src/tcpip_checksum/.tcpip_unix.objs/byte -I src/udp/.tcpip_udpv4.objs/byte -intf-suffix .ml -no-alias-deps -o src/icmp/.tcpip_icmpv4.objs/byte/icmpv4_packet.cmo -c -impl src/icmp/icmpv4_packet.pp.ml)
- File "src/icmp/icmpv4_packet.ml", line 63, characters 9-20:
- 63 |       if Cstruct.len buf < sizeof_icmpv4 then
-               ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "src/icmp/icmpv4_packet.ml", line 101, characters 7-18:
- 101 |     if Cstruct.len buf < Icmpv4_wire.sizeof_icmpv4 then
-              ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- (cd _build/default && /home/opam/.opam/5.1/bin/ocamlc.opt -w -40 -g -bin-annot -I src/ipv4/.tcpip_ipv4.objs/byte -I /home/opam/.opam/5.1/lib/bigarray-compat -I /home/opam/.opam/5.1/lib/cstruct -I /home/opam/.opam/5.1/lib/domain-name -I /home/opam/.opam/5.1/lib/duration -I /home/opam/.opam/5.1/lib/fmt -I /home/opam/.opam/5.1/lib/ipaddr -I /home/opam/.opam/5.1/lib/logs -I /home/opam/.opam/5.1/lib/lru -I /home/opam/.opam/5.1/lib/lwt -I /home/opam/.opam/5.1/lib/macaddr -I /home/opam/.opam/5.1/lib/mirage-clock -I /home/opam/.opam/5.1/lib/mirage-device -I /home/opam/.opam/5.1/lib/mirage-flow -I /home/opam/.opam/5.1/lib/mirage-protocols -I /home/opam/.opam/5.1/lib/mirage-random -I /home/opam/.opam/5.1/lib/psq -I /home/opam/.opam/5.1/lib/randomconv -I /home/opam/.opam/5.1/lib/rresult -I /home/opam/.opam/5.1/lib/seq -I /home/opam/.opam/5.1/lib/stdlib-shims -I src/tcpip_checksum/.tcpip.objs/byte -I src/tcpip_checksum/.tcpip_unix.objs/byte -I src/udp/.tcpip_udpv4.objs/byte -intf-suffix .ml -no-alias-deps -o src/ipv4/.tcpip_ipv4.objs/byte/fragments.cmo -c -impl src/ipv4/fragments.pp.ml)
- File "src/ipv4/fragments.ml", line 96, characters 32-36:
- 96 |                 Fmt.(list ~sep:(unit "; ") (pair ~sep:(unit ", len ") int int))
-                                      ^^^^
- Alert deprecated: Fmt.unit
- use Fmt.any instead.
- 
- File "src/ipv4/fragments.ml", line 96, characters 55-59:
- 96 |                 Fmt.(list ~sep:(unit "; ") (pair ~sep:(unit ", len ") int int))
-                                                             ^^^^
- Alert deprecated: Fmt.unit
- use Fmt.any instead.
- 
- File "src/ipv4/fragments.ml", line 97, characters 51-62:
- 97 |                 (List.map (fun (off, data) -> off, Cstruct.len data) fragments)) ;
-                                                         ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "src/ipv4/fragments.ml", line 103, characters 10-21:
- 103 |     off + Cstruct.len data
-                 ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "src/ipv4/fragments.ml", line 108, characters 28-39:
- 108 |       let until' = start + (Cstruct.len d) in
-                                   ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "src/ipv4/fragments.ml", line 118, characters 35-46:
- 118 |       Cstruct.blit data 0 buf off (Cstruct.len data))
-                                          ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "src/ipv4/fragments.ml", line 168, characters 88-99:
- 168 |             Log.debug (fun m -> m "%a reassembled to payload %d" Ipv4_packet.pp packet (Cstruct.len p)) ;
-                                                                                               ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "src/ipv4/fragments.ml", line 174, characters 41-45:
- 174 |                          Fmt.(list ~sep:(unit "; ") (pair ~sep:(unit ", ") int int))
-                                                ^^^^
- Alert deprecated: Fmt.unit
- use Fmt.any instead.
- 
- File "src/ipv4/fragments.ml", line 174, characters 64-68:
- 174 |                          Fmt.(list ~sep:(unit "; ") (pair ~sep:(unit ", ") int int))
-                                                                       ^^^^
- Alert deprecated: Fmt.unit
- use Fmt.any instead.
- 
- File "src/ipv4/fragments.ml", line 175, characters 54-65:
- 175 |                          (List.map (fun (s, d) -> (s, Cstruct.len d)) all_frags)) ;
-                                                             ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "src/ipv4/fragments.ml", line 177, characters 42-46:
- 177 |                           Fmt.(list ~sep:(unit "@.") Cstruct.hexdump_pp)
-                                                 ^^^^
- Alert deprecated: Fmt.unit
- use Fmt.any instead.
- 
- File "src/ipv4/fragments.ml", line 189, characters 15-26:
- 189 |     let more = Cstruct.len payload > data_size in
-                      ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "src/ipv4/fragments.ml", line 198, characters 22-33:
- 198 |     let payload_len = Cstruct.len this_payload in
-                             ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "src/ipv4/fragments.ml", line 214, characters 20-31:
- 214 |     let opt_size = (Cstruct.len hdr.Ipv4_packet.options + 3) / 4 * 4 in
-                           ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- (cd _build/default && /home/opam/.opam/5.1/bin/ocamlc.opt -w -40 -g -bin-annot -I src/ipv4/.tcpip_ipv4.objs/byte -I /home/opam/.opam/5.1/lib/bigarray-compat -I /home/opam/.opam/5.1/lib/cstruct -I /home/opam/.opam/5.1/lib/domain-name -I /home/opam/.opam/5.1/lib/duration -I /home/opam/.opam/5.1/lib/fmt -I /home/opam/.opam/5.1/lib/ipaddr -I /home/opam/.opam/5.1/lib/logs -I /home/opam/.opam/5.1/lib/lru -I /home/opam/.opam/5.1/lib/lwt -I /home/opam/.opam/5.1/lib/macaddr -I /home/opam/.opam/5.1/lib/mirage-clock -I /home/opam/.opam/5.1/lib/mirage-device -I /home/opam/.opam/5.1/lib/mirage-flow -I /home/opam/.opam/5.1/lib/mirage-protocols -I /home/opam/.opam/5.1/lib/mirage-random -I /home/opam/.opam/5.1/lib/psq -I /home/opam/.opam/5.1/lib/randomconv -I /home/opam/.opam/5.1/lib/rresult -I /home/opam/.opam/5.1/lib/seq -I /home/opam/.opam/5.1/lib/stdlib-shims -I src/tcpip_checksum/.tcpip.objs/byte -I src/tcpip_checksum/.tcpip_unix.objs/byte -I src/udp/.tcpip_udpv4.objs/byte -intf-suffix .ml -no-alias-deps -o src/ipv4/.tcpip_ipv4.objs/byte/static_ipv4.cmo -c -impl src/ipv4/static_ipv4.pp.ml)
- File "src/ipv4/static_ipv4.ml", line 126, characters 26-37:
- 126 |                   let l = Cstruct.len p in
-                                 ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "src/ipv4/static_ipv4.ml", line 145, characters 18-29:
- 145 |       end else if Cstruct.len payload = 0 then begin
-                         ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- (cd _build/default && /home/opam/.opam/5.1/bin/ocamlopt.opt -w -40 -g -I src/tcp/.tcp.objs/byte -I src/tcp/.tcp.objs/native -I /home/opam/.opam/5.1/lib/bigarray-compat -I /home/opam/.opam/5.1/lib/bytes -I /home/opam/.opam/5.1/lib/cstruct -I /home/opam/.opam/5.1/lib/domain-name -I /home/opam/.opam/5.1/lib/duration -I /home/opam/.opam/5.1/lib/fmt -I /home/opam/.opam/5.1/lib/ipaddr -I /home/opam/.opam/5.1/lib/logs -I /home/opam/.opam/5.1/lib/lwt -I /home/opam/.opam/5.1/lib/lwt-dllist -I /home/opam/.opam/5.1/lib/macaddr -I /home/opam/.opam/5.1/lib/mirage-clock -I /home/opam/.opam/5.1/lib/mirage-device -I /home/opam/.opam/5.1/lib/mirage-flow -I /home/opam/.opam/5.1/lib/mirage-profile -I /home/opam/.opam/5.1/lib/mirage-protocols -I /home/opam/.opam/5.1/lib/mirage-random -I /home/opam/.opam/5.1/lib/mirage-time -I /home/opam/.opam/5.1/lib/ocplib-endian -I /home/opam/.opam/5.1/lib/ocplib-endian/bigstring -I /home/opam/.opam/5.1/lib/randomconv -I /home/opam/.opam/5.1/lib/rresult -I /home/opam/.opam/5.1/lib/stdlib-shims -I src/tcpip_checksum/.tcpip.objs/byte -I src/tcpip_checksum/.tcpip.objs/native -I src/tcpip_checksum/.tcpip_unix.objs/byte -I src/tcpip_checksum/.tcpip_unix.objs/native -intf-suffix .ml -no-alias-deps -open Tcp -o src/tcp/.tcp.objs/native/tcp__Tcp_packet.cmx -c -impl src/tcp/tcp_packet.pp.ml)
- File "src/tcp/tcp_packet.ml", line 40, characters 9-20:
- 40 |       if Cstruct.len pkt < sizeof_tcp then
-               ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "src/tcp/tcp_packet.ml", line 45, characters 37-48:
- 45 |     let long_enough data_offset = if Cstruct.len pkt < data_offset then
-                                           ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "src/tcp/tcp_packet.ml", line 109, characters 10-21:
- 109 |       if (Cstruct.len buf) < sizeof_tcp then Error "Not enough space for a TCP header"
-                 ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "src/tcp/tcp_packet.ml", line 113, characters 10-21:
- 113 |       if (Cstruct.len buf) < header_length then
-                 ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "src/tcp/tcp_packet.ml", line 115, characters 18-29:
- 115 |                  (Cstruct.len buf) header_length)
-                         ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- (cd _build/default && /home/opam/.opam/5.1/bin/ocamlc.opt -w -40 -g -bin-annot -I src/stack-unix/.icmpv4_socket.objs/byte -I /home/opam/.opam/5.1/lib/bigarray-compat -I /home/opam/.opam/5.1/lib/bytes -I /home/opam/.opam/5.1/lib/cstruct -I /home/opam/.opam/5.1/lib/cstruct-lwt -I /home/opam/.opam/5.1/lib/domain-name -I /home/opam/.opam/5.1/lib/duration -I /home/opam/.opam/5.1/lib/fmt -I /home/opam/.opam/5.1/lib/ipaddr -I /home/opam/.opam/5.1/lib/ipaddr/unix -I /home/opam/.opam/5.1/lib/logs -I /home/opam/.opam/5.1/lib/lru -I /home/opam/.opam/5.1/lib/lwt -I /home/opam/.opam/5.1/lib/lwt/unix -I /home/opam/.opam/5.1/lib/macaddr -I /home/opam/.opam/5.1/lib/macaddr-cstruct -I /home/opam/.opam/5.1/lib/mirage-clock -I /home/opam/.opam/5.1/lib/mirage-device -I /home/opam/.opam/5.1/lib/mirage-flow -I /home/opam/.opam/5.1/lib/mirage-profile -I /home/opam/.opam/5.1/lib/mirage-protocols -I /home/opam/.opam/5.1/lib/mirage-random -I /home/opam/.opam/5.1/lib/mirage-time -I /home/opam/.opam/5.1/lib/ocaml/threads -I /home/opam/.opam/5.1/lib/ocaml/unix -I /home/opam/.opam/5.1/lib/ocplib-endian -I /home/opam/.opam/5.1/lib/ocplib-endian/bigstring -I /home/opam/.opam/5.1/lib/psq -I /home/opam/.opam/5.1/lib/randomconv -I /home/opam/.opam/5.1/lib/rresult -I /home/opam/.opam/5.1/lib/seq -I /home/opam/.opam/5.1/lib/stdlib-shims -I src/icmp/.tcpip_icmpv4.objs/byte -I src/ipv4/.tcpip_ipv4.objs/byte -I src/ipv6/.tcpip_ipv6.objs/byte -I src/tcpip_checksum/.tcpip.objs/byte -I src/tcpip_checksum/.tcpip_unix.objs/byte -I src/udp/.tcpip_udpv4.objs/byte -intf-suffix .ml -no-alias-deps -o src/stack-unix/.icmpv4_socket.objs/byte/icmpv4_socket.cmo -c -impl src/stack-unix/icmpv4_socket.ml)
- File "src/stack-unix/icmpv4_socket.ml", line 30, characters 29-40:
- 30 |      let bytes = Bytes.make (Cstruct.len buf) '\000' in
-                                   ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "src/stack-unix/icmpv4_socket.ml", line 31, characters 42-53:
- 31 |      Cstruct.blit_to_bytes buf 0 bytes 0 (Cstruct.len buf);
-                                                ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "src/stack-unix/icmpv4_socket.ml", line 38, characters 28-39:
- 38 |     let bytes = Bytes.make (Cstruct.len buf) '\000' in
-                                  ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "src/stack-unix/icmpv4_socket.ml", line 55, characters 19-30:
- 55 |       if (sent <> (Cstruct.len buf)) then
-                         ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "src/stack-unix/icmpv4_socket.ml", line 56, characters 78-89:
- 56 |         Log.debug (fun f -> f "short write: %d received vs %d expected" sent (Cstruct.len buf));
-                                                                                    ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "src/stack-unix/icmpv4_socket.ml", line 97, characters 56-67:
- 97 |         Ipv4_wire.set_ipv4_len receive_buffer (min len (Cstruct.len receive_buffer));
-                                                              ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- (cd _build/default && /home/opam/.opam/5.1/bin/ocamlc.opt -w -40 -g -bin-annot -I src/tcp/.tcp.objs/byte -I /home/opam/.opam/5.1/lib/bigarray-compat -I /home/opam/.opam/5.1/lib/bytes -I /home/opam/.opam/5.1/lib/cstruct -I /home/opam/.opam/5.1/lib/domain-name -I /home/opam/.opam/5.1/lib/duration -I /home/opam/.opam/5.1/lib/fmt -I /home/opam/.opam/5.1/lib/ipaddr -I /home/opam/.opam/5.1/lib/logs -I /home/opam/.opam/5.1/lib/lwt -I /home/opam/.opam/5.1/lib/lwt-dllist -I /home/opam/.opam/5.1/lib/macaddr -I /home/opam/.opam/5.1/lib/mirage-clock -I /home/opam/.opam/5.1/lib/mirage-device -I /home/opam/.opam/5.1/lib/mirage-flow -I /home/opam/.opam/5.1/lib/mirage-profile -I /home/opam/.opam/5.1/lib/mirage-protocols -I /home/opam/.opam/5.1/lib/mirage-random -I /home/opam/.opam/5.1/lib/mirage-time -I /home/opam/.opam/5.1/lib/ocplib-endian -I /home/opam/.opam/5.1/lib/ocplib-endian/bigstring -I /home/opam/.opam/5.1/lib/randomconv -I /home/opam/.opam/5.1/lib/rresult -I /home/opam/.opam/5.1/lib/stdlib-shims -I src/tcpip_checksum/.tcpip.objs/byte -I src/tcpip_checksum/.tcpip_unix.objs/byte -intf-suffix .ml -no-alias-deps -open Tcp -o src/tcp/.tcp.objs/byte/tcp__Flow.cmo -c -impl src/tcp/flow.pp.ml)
- File "src/tcp/flow.ml", line 592, characters 16-27:
- 592 |       let len = Cstruct.len data in
-                       ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- (cd _build/default && /home/opam/.opam/5.1/bin/ocamlopt.opt -w -40 -g -I src/tcp/.tcp.objs/byte -I src/tcp/.tcp.objs/native -I /home/opam/.opam/5.1/lib/bigarray-compat -I /home/opam/.opam/5.1/lib/bytes -I /home/opam/.opam/5.1/lib/cstruct -I /home/opam/.opam/5.1/lib/domain-name -I /home/opam/.opam/5.1/lib/duration -I /home/opam/.opam/5.1/lib/fmt -I /home/opam/.opam/5.1/lib/ipaddr -I /home/opam/.opam/5.1/lib/logs -I /home/opam/.opam/5.1/lib/lwt -I /home/opam/.opam/5.1/lib/lwt-dllist -I /home/opam/.opam/5.1/lib/macaddr -I /home/opam/.opam/5.1/lib/mirage-clock -I /home/opam/.opam/5.1/lib/mirage-device -I /home/opam/.opam/5.1/lib/mirage-flow -I /home/opam/.opam/5.1/lib/mirage-profile -I /home/opam/.opam/5.1/lib/mirage-protocols -I /home/opam/.opam/5.1/lib/mirage-random -I /home/opam/.opam/5.1/lib/mirage-time -I /home/opam/.opam/5.1/lib/ocplib-endian -I /home/opam/.opam/5.1/lib/ocplib-endian/bigstring -I /home/opam/.opam/5.1/lib/randomconv -I /home/opam/.opam/5.1/lib/rresult -I /home/opam/.opam/5.1/lib/stdlib-shims -I src/tcpip_checksum/.tcpip.objs/byte -I src/tcpip_checksum/.tcpip.objs/native -I src/tcpip_checksum/.tcpip_unix.objs/byte -I src/tcpip_checksum/.tcpip_unix.objs/native -intf-suffix .ml -no-alias-deps -open Tcp -o src/tcp/.tcp.objs/native/tcp__Wire.cmx -c -impl src/tcp/wire.pp.ml)
- File "src/tcp/wire.ml", line 63, characters 64-75:
- 63 |     let tcp_size = Tcp_wire.sizeof_tcp + Options.lenv options + Cstruct.len payload in
-                                                                      ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "src/tcp/wire.ml", line 73, characters 38-49:
- 73 |         Cstruct.blit payload 0 buf l (Cstruct.len payload) ;
-                                            ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "src/tcp/wire.ml", line 75, characters 11-22:
- 75 |           (Cstruct.len payload + if syn then 1 else 0) ;
-                 ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- (cd _build/default && /home/opam/.opam/5.1/bin/ocamlc.opt -w -40 -g -bin-annot -I src/ipv6/.tcpip_ipv6.objs/byte -I /home/opam/.opam/5.1/lib/bigarray-compat -I /home/opam/.opam/5.1/lib/cstruct -I /home/opam/.opam/5.1/lib/domain-name -I /home/opam/.opam/5.1/lib/duration -I /home/opam/.opam/5.1/lib/fmt -I /home/opam/.opam/5.1/lib/ipaddr -I /home/opam/.opam/5.1/lib/logs -I /home/opam/.opam/5.1/lib/lwt -I /home/opam/.opam/5.1/lib/macaddr -I /home/opam/.opam/5.1/lib/macaddr-cstruct -I /home/opam/.opam/5.1/lib/mirage-clock -I /home/opam/.opam/5.1/lib/mirage-device -I /home/opam/.opam/5.1/lib/mirage-flow -I /home/opam/.opam/5.1/lib/mirage-protocols -I /home/opam/.opam/5.1/lib/mirage-random -I /home/opam/.opam/5.1/lib/mirage-time -I /home/opam/.opam/5.1/lib/randomconv -I /home/opam/.opam/5.1/lib/rresult -I /home/opam/.opam/5.1/lib/stdlib-shims -I src/tcpip_checksum/.tcpip.objs/byte -I src/tcpip_checksum/.tcpip_unix.objs/byte -intf-suffix .ml -no-alias-deps -o src/ipv6/.tcpip_ipv6.objs/byte/ndpv6.cmo -c -impl src/ipv6/ndpv6.pp.ml)
- File "src/ipv6/ndpv6.ml", line 229, characters 41-52:
- 229 |     let size = Ipv6_wire.sizeof_pingv6 + Cstruct.len data in
-                                                ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "src/ipv6/ndpv6.ml", line 237, characters 59-70:
- 237 |       Cstruct.blit data 0 icmpbuf Ipv6_wire.sizeof_pingv6 (Cstruct.len data);
-                                                                  ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "src/ipv6/ndpv6.ml", line 738, characters 7-18:
- 738 |     if Cstruct.len opts >= Ipv6_wire.sizeof_opt then
-              ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- (cd _build/default && /home/opam/.opam/5.1/bin/ocamlopt.opt -w -40 -g -I src/icmp/.tcpip_icmpv4.objs/byte -I src/icmp/.tcpip_icmpv4.objs/native -I /home/opam/.opam/5.1/lib/bigarray-compat -I /home/opam/.opam/5.1/lib/bytes -I /home/opam/.opam/5.1/lib/cstruct -I /home/opam/.opam/5.1/lib/domain-name -I /home/opam/.opam/5.1/lib/duration -I /home/opam/.opam/5.1/lib/fmt -I /home/opam/.opam/5.1/lib/ipaddr -I /home/opam/.opam/5.1/lib/logs -I /home/opam/.opam/5.1/lib/lwt -I /home/opam/.opam/5.1/lib/macaddr -I /home/opam/.opam/5.1/lib/mirage-device -I /home/opam/.opam/5.1/lib/mirage-flow -I /home/opam/.opam/5.1/lib/mirage-profile -I /home/opam/.opam/5.1/lib/mirage-protocols -I /home/opam/.opam/5.1/lib/mirage-random -I /home/opam/.opam/5.1/lib/ocplib-endian -I /home/opam/.opam/5.1/lib/ocplib-endian/bigstring -I /home/opam/.opam/5.1/lib/randomconv -I /home/opam/.opam/5.1/lib/rresult -I /home/opam/.opam/5.1/lib/stdlib-shims -I src/tcpip_checksum/.tcpip.objs/byte -I src/tcpip_checksum/.tcpip.objs/native -I src/tcpip_checksum/.tcpip_unix.objs/byte -I src/tcpip_checksum/.tcpip_unix.objs/native -I src/udp/.tcpip_udpv4.objs/byte -I src/udp/.tcpip_udpv4.objs/native -intf-suffix .ml -no-alias-deps -o src/icmp/.tcpip_icmpv4.objs/native/icmpv4_packet.cmx -c -impl src/icmp/icmpv4_packet.pp.ml)
- File "src/icmp/icmpv4_packet.ml", line 63, characters 9-20:
- 63 |       if Cstruct.len buf < sizeof_icmpv4 then
-               ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "src/icmp/icmpv4_packet.ml", line 101, characters 7-18:
- 101 |     if Cstruct.len buf < Icmpv4_wire.sizeof_icmpv4 then
-              ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- (cd _build/default && /home/opam/.opam/5.1/bin/ocamlopt.opt -w -40 -g -I src/ipv4/.tcpip_ipv4.objs/byte -I src/ipv4/.tcpip_ipv4.objs/native -I /home/opam/.opam/5.1/lib/bigarray-compat -I /home/opam/.opam/5.1/lib/cstruct -I /home/opam/.opam/5.1/lib/domain-name -I /home/opam/.opam/5.1/lib/duration -I /home/opam/.opam/5.1/lib/fmt -I /home/opam/.opam/5.1/lib/ipaddr -I /home/opam/.opam/5.1/lib/logs -I /home/opam/.opam/5.1/lib/lru -I /home/opam/.opam/5.1/lib/lwt -I /home/opam/.opam/5.1/lib/macaddr -I /home/opam/.opam/5.1/lib/mirage-clock -I /home/opam/.opam/5.1/lib/mirage-device -I /home/opam/.opam/5.1/lib/mirage-flow -I /home/opam/.opam/5.1/lib/mirage-protocols -I /home/opam/.opam/5.1/lib/mirage-random -I /home/opam/.opam/5.1/lib/psq -I /home/opam/.opam/5.1/lib/randomconv -I /home/opam/.opam/5.1/lib/rresult -I /home/opam/.opam/5.1/lib/seq -I /home/opam/.opam/5.1/lib/stdlib-shims -I src/tcpip_checksum/.tcpip.objs/byte -I src/tcpip_checksum/.tcpip.objs/native -I src/tcpip_checksum/.tcpip_unix.objs/byte -I src/tcpip_checksum/.tcpip_unix.objs/native -I src/udp/.tcpip_udpv4.objs/byte -I src/udp/.tcpip_udpv4.objs/native -intf-suffix .ml -no-alias-deps -o src/ipv4/.tcpip_ipv4.objs/native/ipv4_packet.cmx -c -impl src/ipv4/ipv4_packet.pp.ml)
- File "src/ipv4/ipv4_packet.ml", line 56, characters 35-46:
- 56 |     let options_len = nearest_4 @@ Cstruct.len t.options in
-                                         ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "src/ipv4/ipv4_packet.ml", line 64, characters 46-57:
- 64 |     Cstruct.blit t.options 0 buf sizeof_ipv4 (Cstruct.len t.options);
-                                                    ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "src/ipv4/ipv4_packet.ml", line 71, characters 7-18:
- 71 |     if Cstruct.len buf < (sizeof_ipv4 + Cstruct.len t.options) then
-             ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "src/ipv4/ipv4_packet.ml", line 71, characters 40-51:
- 71 |     if Cstruct.len buf < (sizeof_ipv4 + Cstruct.len t.options) then
-                                              ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "src/ipv4/ipv4_packet.ml", line 81, characters 35-46:
- 81 |     let options_len = nearest_4 @@ Cstruct.len t.options in
-                                         ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "src/ipv4/ipv4_packet.ml", line 107, characters 10-21:
- 107 |       if (Cstruct.len buf < sizeof_ipv4) then Error "buffer sent to IPv4 parser had size < 20"
-                 ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "src/ipv4/ipv4_packet.ml", line 123, characters 16-27:
- 123 |         else if Cstruct.len buf < hlen then
-                       ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "src/ipv4/ipv4_packet.ml", line 124, characters 93-104:
- 124 |           Error (Printf.sprintf "IPv4 packet w/length %d claimed to have header of size %d" (Cstruct.len buf) hlen)
-                                                                                                    ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "src/ipv4/ipv4_packet.ml", line 147, characters 30-41:
- 147 |       let payload_available = Cstruct.len buf - options_end in
-                                     ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "src/ipv4/ipv4_packet.ml", line 170, characters 32-43:
- 170 |       check ipv4_header ~proto (Cstruct.len transport_packet)
-                                       ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "src/ipv4/ipv4_packet.ml", line 175, characters 34-45:
- 175 |         check ipv4_header ~proto (Cstruct.len transport_packet)
-                                         ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- (cd _build/default && /home/opam/.opam/5.1/bin/ocamlopt.opt -w -40 -g -I src/ipv4/.tcpip_ipv4.objs/byte -I src/ipv4/.tcpip_ipv4.objs/native -I /home/opam/.opam/5.1/lib/bigarray-compat -I /home/opam/.opam/5.1/lib/cstruct -I /home/opam/.opam/5.1/lib/domain-name -I /home/opam/.opam/5.1/lib/duration -I /home/opam/.opam/5.1/lib/fmt -I /home/opam/.opam/5.1/lib/ipaddr -I /home/opam/.opam/5.1/lib/logs -I /home/opam/.opam/5.1/lib/lru -I /home/opam/.opam/5.1/lib/lwt -I /home/opam/.opam/5.1/lib/macaddr -I /home/opam/.opam/5.1/lib/mirage-clock -I /home/opam/.opam/5.1/lib/mirage-device -I /home/opam/.opam/5.1/lib/mirage-flow -I /home/opam/.opam/5.1/lib/mirage-protocols -I /home/opam/.opam/5.1/lib/mirage-random -I /home/opam/.opam/5.1/lib/psq -I /home/opam/.opam/5.1/lib/randomconv -I /home/opam/.opam/5.1/lib/rresult -I /home/opam/.opam/5.1/lib/seq -I /home/opam/.opam/5.1/lib/stdlib-shims -I src/tcpip_checksum/.tcpip.objs/byte -I src/tcpip_checksum/.tcpip.objs/native -I src/tcpip_checksum/.tcpip_unix.objs/byte -I src/tcpip_checksum/.tcpip_unix.objs/native -I src/udp/.tcpip_udpv4.objs/byte -I src/udp/.tcpip_udpv4.objs/native -intf-suffix .ml -no-alias-deps -o src/ipv4/.tcpip_ipv4.objs/native/fragments.cmx -c -impl src/ipv4/fragments.pp.ml)
- File "src/ipv4/fragments.ml", line 96, characters 32-36:
- 96 |                 Fmt.(list ~sep:(unit "; ") (pair ~sep:(unit ", len ") int int))
-                                      ^^^^
- Alert deprecated: Fmt.unit
- use Fmt.any instead.
- 
- File "src/ipv4/fragments.ml", line 96, characters 55-59:
- 96 |                 Fmt.(list ~sep:(unit "; ") (pair ~sep:(unit ", len ") int int))
-                                                             ^^^^
- Alert deprecated: Fmt.unit
- use Fmt.any instead.
- 
- File "src/ipv4/fragments.ml", line 97, characters 51-62:
- 97 |                 (List.map (fun (off, data) -> off, Cstruct.len data) fragments)) ;
-                                                         ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "src/ipv4/fragments.ml", line 103, characters 10-21:
- 103 |     off + Cstruct.len data
-                 ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "src/ipv4/fragments.ml", line 108, characters 28-39:
- 108 |       let until' = start + (Cstruct.len d) in
-                                   ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "src/ipv4/fragments.ml", line 118, characters 35-46:
- 118 |       Cstruct.blit data 0 buf off (Cstruct.len data))
-                                          ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "src/ipv4/fragments.ml", line 168, characters 88-99:
- 168 |             Log.debug (fun m -> m "%a reassembled to payload %d" Ipv4_packet.pp packet (Cstruct.len p)) ;
-                                                                                               ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "src/ipv4/fragments.ml", line 174, characters 41-45:
- 174 |                          Fmt.(list ~sep:(unit "; ") (pair ~sep:(unit ", ") int int))
-                                                ^^^^
- Alert deprecated: Fmt.unit
- use Fmt.any instead.
- 
- File "src/ipv4/fragments.ml", line 174, characters 64-68:
- 174 |                          Fmt.(list ~sep:(unit "; ") (pair ~sep:(unit ", ") int int))
-                                                                       ^^^^
- Alert deprecated: Fmt.unit
- use Fmt.any instead.
- 
- File "src/ipv4/fragments.ml", line 175, characters 54-65:
- 175 |                          (List.map (fun (s, d) -> (s, Cstruct.len d)) all_frags)) ;
-                                                             ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "src/ipv4/fragments.ml", line 177, characters 42-46:
- 177 |                           Fmt.(list ~sep:(unit "@.") Cstruct.hexdump_pp)
-                                                 ^^^^
- Alert deprecated: Fmt.unit
- use Fmt.any instead.
- 
- File "src/ipv4/fragments.ml", line 189, characters 15-26:
- 189 |     let more = Cstruct.len payload > data_size in
-                      ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "src/ipv4/fragments.ml", line 198, characters 22-33:
- 198 |     let payload_len = Cstruct.len this_payload in
-                             ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "src/ipv4/fragments.ml", line 214, characters 20-31:
- 214 |     let opt_size = (Cstruct.len hdr.Ipv4_packet.options + 3) / 4 * 4 in
-                           ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- (cd _build/default && /home/opam/.opam/5.1/bin/ocamlopt.opt -w -40 -g -I src/ipv4/.tcpip_ipv4.objs/byte -I src/ipv4/.tcpip_ipv4.objs/native -I /home/opam/.opam/5.1/lib/bigarray-compat -I /home/opam/.opam/5.1/lib/cstruct -I /home/opam/.opam/5.1/lib/domain-name -I /home/opam/.opam/5.1/lib/duration -I /home/opam/.opam/5.1/lib/fmt -I /home/opam/.opam/5.1/lib/ipaddr -I /home/opam/.opam/5.1/lib/logs -I /home/opam/.opam/5.1/lib/lru -I /home/opam/.opam/5.1/lib/lwt -I /home/opam/.opam/5.1/lib/macaddr -I /home/opam/.opam/5.1/lib/mirage-clock -I /home/opam/.opam/5.1/lib/mirage-device -I /home/opam/.opam/5.1/lib/mirage-flow -I /home/opam/.opam/5.1/lib/mirage-protocols -I /home/opam/.opam/5.1/lib/mirage-random -I /home/opam/.opam/5.1/lib/psq -I /home/opam/.opam/5.1/lib/randomconv -I /home/opam/.opam/5.1/lib/rresult -I /home/opam/.opam/5.1/lib/seq -I /home/opam/.opam/5.1/lib/stdlib-shims -I src/tcpip_checksum/.tcpip.objs/byte -I src/tcpip_checksum/.tcpip.objs/native -I src/tcpip_checksum/.tcpip_unix.objs/byte -I src/tcpip_checksum/.tcpip_unix.objs/native -I src/udp/.tcpip_udpv4.objs/byte -I src/udp/.tcpip_udpv4.objs/native -intf-suffix .ml -no-alias-deps -o src/ipv4/.tcpip_ipv4.objs/native/static_ipv4.cmx -c -impl src/ipv4/static_ipv4.pp.ml)
- File "src/ipv4/static_ipv4.ml", line 126, characters 26-37:
- 126 |                   let l = Cstruct.len p in
-                                 ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "src/ipv4/static_ipv4.ml", line 145, characters 18-29:
- 145 |       end else if Cstruct.len payload = 0 then begin
-                         ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- (cd _build/default && /home/opam/.opam/5.1/bin/ocamlopt.opt -w -40 -g -I src/ipv6/.tcpip_ipv6.objs/byte -I src/ipv6/.tcpip_ipv6.objs/native -I /home/opam/.opam/5.1/lib/bigarray-compat -I /home/opam/.opam/5.1/lib/cstruct -I /home/opam/.opam/5.1/lib/domain-name -I /home/opam/.opam/5.1/lib/duration -I /home/opam/.opam/5.1/lib/fmt -I /home/opam/.opam/5.1/lib/ipaddr -I /home/opam/.opam/5.1/lib/logs -I /home/opam/.opam/5.1/lib/lwt -I /home/opam/.opam/5.1/lib/macaddr -I /home/opam/.opam/5.1/lib/macaddr-cstruct -I /home/opam/.opam/5.1/lib/mirage-clock -I /home/opam/.opam/5.1/lib/mirage-device -I /home/opam/.opam/5.1/lib/mirage-flow -I /home/opam/.opam/5.1/lib/mirage-protocols -I /home/opam/.opam/5.1/lib/mirage-random -I /home/opam/.opam/5.1/lib/mirage-time -I /home/opam/.opam/5.1/lib/randomconv -I /home/opam/.opam/5.1/lib/rresult -I /home/opam/.opam/5.1/lib/stdlib-shims -I src/tcpip_checksum/.tcpip.objs/byte -I src/tcpip_checksum/.tcpip.objs/native -I src/tcpip_checksum/.tcpip_unix.objs/byte -I src/tcpip_checksum/.tcpip_unix.objs/native -intf-suffix .ml -no-alias-deps -o src/ipv6/.tcpip_ipv6.objs/native/ndpv6.cmx -c -impl src/ipv6/ndpv6.pp.ml)
- File "src/ipv6/ndpv6.ml", line 229, characters 41-52:
- 229 |     let size = Ipv6_wire.sizeof_pingv6 + Cstruct.len data in
-                                                ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "src/ipv6/ndpv6.ml", line 237, characters 59-70:
- 237 |       Cstruct.blit data 0 icmpbuf Ipv6_wire.sizeof_pingv6 (Cstruct.len data);
-                                                                  ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "src/ipv6/ndpv6.ml", line 738, characters 7-18:
- 738 |     if Cstruct.len opts >= Ipv6_wire.sizeof_opt then
-              ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- (cd _build/default && /home/opam/.opam/5.1/bin/ocamlopt.opt -w -40 -g -I src/tcp/.tcp.objs/byte -I src/tcp/.tcp.objs/native -I /home/opam/.opam/5.1/lib/bigarray-compat -I /home/opam/.opam/5.1/lib/bytes -I /home/opam/.opam/5.1/lib/cstruct -I /home/opam/.opam/5.1/lib/domain-name -I /home/opam/.opam/5.1/lib/duration -I /home/opam/.opam/5.1/lib/fmt -I /home/opam/.opam/5.1/lib/ipaddr -I /home/opam/.opam/5.1/lib/logs -I /home/opam/.opam/5.1/lib/lwt -I /home/opam/.opam/5.1/lib/lwt-dllist -I /home/opam/.opam/5.1/lib/macaddr -I /home/opam/.opam/5.1/lib/mirage-clock -I /home/opam/.opam/5.1/lib/mirage-device -I /home/opam/.opam/5.1/lib/mirage-flow -I /home/opam/.opam/5.1/lib/mirage-profile -I /home/opam/.opam/5.1/lib/mirage-protocols -I /home/opam/.opam/5.1/lib/mirage-random -I /home/opam/.opam/5.1/lib/mirage-time -I /home/opam/.opam/5.1/lib/ocplib-endian -I /home/opam/.opam/5.1/lib/ocplib-endian/bigstring -I /home/opam/.opam/5.1/lib/randomconv -I /home/opam/.opam/5.1/lib/rresult -I /home/opam/.opam/5.1/lib/stdlib-shims -I src/tcpip_checksum/.tcpip.objs/byte -I src/tcpip_checksum/.tcpip.objs/native -I src/tcpip_checksum/.tcpip_unix.objs/byte -I src/tcpip_checksum/.tcpip_unix.objs/native -intf-suffix .ml -no-alias-deps -open Tcp -o src/tcp/.tcp.objs/native/tcp__Flow.cmx -c -impl src/tcp/flow.pp.ml)
- File "src/tcp/flow.ml", line 592, characters 16-27:
- 592 |       let len = Cstruct.len data in
-                       ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- (cd _build/default && /home/opam/.opam/5.1/bin/ocamlopt.opt -w -40 -g -I src/ipv6/.tcpip_ipv6.objs/byte -I src/ipv6/.tcpip_ipv6.objs/native -I /home/opam/.opam/5.1/lib/bigarray-compat -I /home/opam/.opam/5.1/lib/cstruct -I /home/opam/.opam/5.1/lib/domain-name -I /home/opam/.opam/5.1/lib/duration -I /home/opam/.opam/5.1/lib/fmt -I /home/opam/.opam/5.1/lib/ipaddr -I /home/opam/.opam/5.1/lib/logs -I /home/opam/.opam/5.1/lib/lwt -I /home/opam/.opam/5.1/lib/macaddr -I /home/opam/.opam/5.1/lib/macaddr-cstruct -I /home/opam/.opam/5.1/lib/mirage-clock -I /home/opam/.opam/5.1/lib/mirage-device -I /home/opam/.opam/5.1/lib/mirage-flow -I /home/opam/.opam/5.1/lib/mirage-protocols -I /home/opam/.opam/5.1/lib/mirage-random -I /home/opam/.opam/5.1/lib/mirage-time -I /home/opam/.opam/5.1/lib/randomconv -I /home/opam/.opam/5.1/lib/rresult -I /home/opam/.opam/5.1/lib/stdlib-shims -I src/tcpip_checksum/.tcpip.objs/byte -I src/tcpip_checksum/.tcpip.objs/native -I src/tcpip_checksum/.tcpip_unix.objs/byte -I src/tcpip_checksum/.tcpip_unix.objs/native -intf-suffix .ml -no-alias-deps -o src/ipv6/.tcpip_ipv6.objs/native/ipv6.cmx -c -impl src/ipv6/ipv6.pp.ml)
- File "src/ipv6/ipv6.ml", line 64, characters 23-34:
- 64 |     let size' = size + Cstruct.len payload in
-                             ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "src/ipv6/ipv6.ml", line 71, characters 40-51:
- 71 |       Cstruct.blit payload 0 buf h_len (Cstruct.len payload);
-                                              ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "src/ipv6/ipv6.ml", line 72, characters 14-25:
- 72 |       h_len + Cstruct.len payload
-                    ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- (cd _build/default && /home/opam/.opam/5.1/bin/ocamlopt.opt -w -40 -g -I src/stack-unix/.icmpv4_socket.objs/byte -I src/stack-unix/.icmpv4_socket.objs/native -I /home/opam/.opam/5.1/lib/bigarray-compat -I /home/opam/.opam/5.1/lib/bytes -I /home/opam/.opam/5.1/lib/cstruct -I /home/opam/.opam/5.1/lib/cstruct-lwt -I /home/opam/.opam/5.1/lib/domain-name -I /home/opam/.opam/5.1/lib/duration -I /home/opam/.opam/5.1/lib/fmt -I /home/opam/.opam/5.1/lib/ipaddr -I /home/opam/.opam/5.1/lib/ipaddr/unix -I /home/opam/.opam/5.1/lib/logs -I /home/opam/.opam/5.1/lib/lru -I /home/opam/.opam/5.1/lib/lwt -I /home/opam/.opam/5.1/lib/lwt/unix -I /home/opam/.opam/5.1/lib/macaddr -I /home/opam/.opam/5.1/lib/macaddr-cstruct -I /home/opam/.opam/5.1/lib/mirage-clock -I /home/opam/.opam/5.1/lib/mirage-device -I /home/opam/.opam/5.1/lib/mirage-flow -I /home/opam/.opam/5.1/lib/mirage-profile -I /home/opam/.opam/5.1/lib/mirage-protocols -I /home/opam/.opam/5.1/lib/mirage-random -I /home/opam/.opam/5.1/lib/mirage-time -I /home/opam/.opam/5.1/lib/ocaml/threads -I /home/opam/.opam/5.1/lib/ocaml/unix -I /home/opam/.opam/5.1/lib/ocplib-endian -I /home/opam/.opam/5.1/lib/ocplib-endian/bigstring -I /home/opam/.opam/5.1/lib/psq -I /home/opam/.opam/5.1/lib/randomconv -I /home/opam/.opam/5.1/lib/rresult -I /home/opam/.opam/5.1/lib/seq -I /home/opam/.opam/5.1/lib/stdlib-shims -I src/icmp/.tcpip_icmpv4.objs/byte -I src/icmp/.tcpip_icmpv4.objs/native -I src/ipv4/.tcpip_ipv4.objs/byte -I src/ipv4/.tcpip_ipv4.objs/native -I src/ipv6/.tcpip_ipv6.objs/byte -I src/ipv6/.tcpip_ipv6.objs/native -I src/tcpip_checksum/.tcpip.objs/byte -I src/tcpip_checksum/.tcpip.objs/native -I src/tcpip_checksum/.tcpip_unix.objs/byte -I src/tcpip_checksum/.tcpip_unix.objs/native -I src/udp/.tcpip_udpv4.objs/byte -I src/udp/.tcpip_udpv4.objs/native -intf-suffix .ml -no-alias-deps -o src/stack-unix/.icmpv4_socket.objs/native/icmpv4_socket.cmx -c -impl src/stack-unix/icmpv4_socket.ml)
- File "src/stack-unix/icmpv4_socket.ml", line 30, characters 29-40:
- 30 |      let bytes = Bytes.make (Cstruct.len buf) '\000' in
-                                   ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "src/stack-unix/icmpv4_socket.ml", line 31, characters 42-53:
- 31 |      Cstruct.blit_to_bytes buf 0 bytes 0 (Cstruct.len buf);
-                                                ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "src/stack-unix/icmpv4_socket.ml", line 38, characters 28-39:
- 38 |     let bytes = Bytes.make (Cstruct.len buf) '\000' in
-                                  ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "src/stack-unix/icmpv4_socket.ml", line 55, characters 19-30:
- 55 |       if (sent <> (Cstruct.len buf)) then
-                         ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "src/stack-unix/icmpv4_socket.ml", line 56, characters 78-89:
- 56 |         Log.debug (fun f -> f "short write: %d received vs %d expected" sent (Cstruct.len buf));
-                                                                                    ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "src/stack-unix/icmpv4_socket.ml", line 97, characters 56-67:
- 97 |         Ipv4_wire.set_ipv4_len receive_buffer (min len (Cstruct.len receive_buffer));
-                                                              ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
-> compiled  tcpip.4.1.0
-> removed   tcpip.4.1.0
-> installed tcpip.4.1.0
Done.
# Run eval $(opam env) to update the current shell environment
2024-02-12 20:06.23 ---> saved as "66b45c47594d18a2a00863ed3f205926b8574afe2c3e88ed8cdf89884ba298c2"
Job succeeded
2024-02-12 20:06.32: Job succeeded