[INFO] cloning repository https://github.com/Qingluan/tokio-protocols [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Qingluan/tokio-protocols" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FQingluan%2Ftokio-protocols", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FQingluan%2Ftokio-protocols'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1b0882e09fbb80063b2b8099eb6cc43acf78cec5 [INFO] testing Qingluan/tokio-protocols against master#432e145bd5a974c5b6f4dd9b352891bd7502b69d for pr-87041 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FQingluan%2Ftokio-protocols" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Qingluan/tokio-protocols on toolchain 432e145bd5a974c5b6f4dd9b352891bd7502b69d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Qingluan/tokio-protocols [INFO] finished tweaking git repo https://github.com/Qingluan/tokio-protocols [INFO] tweaked toml for git repo https://github.com/Qingluan/tokio-protocols written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/Qingluan/tokio-protocols already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1652e7cd02f9c3d21844e188a7042d6df81cd807c17ce4ee23c00ae56e674f66 [INFO] running `Command { std: "docker" "start" "-a" "1652e7cd02f9c3d21844e188a7042d6df81cd807c17ce4ee23c00ae56e674f66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1652e7cd02f9c3d21844e188a7042d6df81cd807c17ce4ee23c00ae56e674f66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1652e7cd02f9c3d21844e188a7042d6df81cd807c17ce4ee23c00ae56e674f66", kill_on_drop: false }` [INFO] [stdout] 1652e7cd02f9c3d21844e188a7042d6df81cd807c17ce4ee23c00ae56e674f66 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c92d458131ebb31ac8d69a3d5a47bf348fce079ec45748fab1e487b0fc0692c9 [INFO] running `Command { std: "docker" "start" "-a" "c92d458131ebb31ac8d69a3d5a47bf348fce079ec45748fab1e487b0fc0692c9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.11 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling proc-macro-nested v0.1.3 [INFO] [stderr] Compiling futures-core v0.3.1 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling futures-sink v0.3.1 [INFO] [stderr] Compiling futures-task v0.3.1 [INFO] [stderr] Compiling futures-io v0.3.1 [INFO] [stderr] Compiling pin-utils v0.1.0-alpha.4 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling arc-swap v0.4.4 [INFO] [stderr] Compiling bytes v0.5.3 [INFO] [stderr] Compiling pin-project-lite v0.1.1 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling futures-channel v0.3.1 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling num_cpus v1.11.1 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling signal-hook-registry v1.2.0 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling colored v1.9.0 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [INFO] [stderr] Compiling tokio-macros v0.2.1 [INFO] [stderr] Compiling tokio v0.2.6 [INFO] [stderr] Compiling futures-macro v0.3.1 [INFO] [stderr] Compiling futures-util v0.3.1 [INFO] [stderr] Compiling futures-executor v0.3.1 [INFO] [stderr] Compiling futures v0.3.1 [INFO] [stderr] Compiling rust-net-protocols v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/socks5/mod.rs:245:43 [INFO] [stdout] | [INFO] [stdout] 245 | Error::new(Reply::GeneralFailure, ::description(&err)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future [INFO] [stdout] --> src/kcp/kcb.rs:276:28 [INFO] [stdout] | [INFO] [stdout] 276 | if buf.remaining() == 0 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unstable_name_collisions)]` on by default [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `remaining(...)` to keep using the current method [INFO] [stdout] = help: add `#![feature(cursor_remaining)]` to the crate attributes to enable `std::io::Cursor::::remaining` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future [INFO] [stdout] --> src/kcp/kcb.rs:283:28 [INFO] [stdout] | [INFO] [stdout] 283 | let count = if buf.remaining() <= self.mss as usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `remaining(...)` to keep using the current method [INFO] [stdout] = help: add `#![feature(cursor_remaining)]` to the crate attributes to enable `std::io::Cursor::::remaining` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future [INFO] [stdout] --> src/kcp/kcb.rs:286:18 [INFO] [stdout] | [INFO] [stdout] 286 | (buf.remaining() + self.mss as usize - 1) / self.mss as usize [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `remaining(...)` to keep using the current method [INFO] [stdout] = help: add `#![feature(cursor_remaining)]` to the crate attributes to enable `std::io::Cursor::::remaining` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future [INFO] [stdout] --> src/kcp/kcb.rs:297:56 [INFO] [stdout] | [INFO] [stdout] 297 | let size = cmp::min(self.mss as usize, buf.remaining()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `remaining(...)` to keep using the current method [INFO] [stdout] = help: add `#![feature(cursor_remaining)]` to the crate attributes to enable `std::io::Cursor::::remaining` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future [INFO] [stdout] --> src/kcp/kcb.rs:305:20 [INFO] [stdout] | [INFO] [stdout] 305 | Ok(n - buf.remaining()) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `remaining(...)` to keep using the current method [INFO] [stdout] = help: add `#![feature(cursor_remaining)]` to the crate attributes to enable `std::io::Cursor::::remaining` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future [INFO] [stdout] --> src/kcp/kcb.rs:427:16 [INFO] [stdout] | [INFO] [stdout] 427 | if buf.remaining() < KCP_OVERHEAD { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `remaining(...)` to keep using the current method [INFO] [stdout] = help: add `#![feature(cursor_remaining)]` to the crate attributes to enable `std::io::Cursor::::remaining` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future [INFO] [stdout] --> src/kcp/kcb.rs:433:19 [INFO] [stdout] | [INFO] [stdout] 433 | while buf.remaining() >= KCP_OVERHEAD { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `remaining(...)` to keep using the current method [INFO] [stdout] = help: add `#![feature(cursor_remaining)]` to the crate attributes to enable `std::io::Cursor::::remaining` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future [INFO] [stdout] --> src/kcp/kcb.rs:448:20 [INFO] [stdout] | [INFO] [stdout] 448 | if buf.remaining() < len { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `remaining(...)` to keep using the current method [INFO] [stdout] = help: add `#![feature(cursor_remaining)]` to the crate attributes to enable `std::io::Cursor::::remaining` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future [INFO] [stdout] --> src/kcp/kcb.rs:529:20 [INFO] [stdout] | [INFO] [stdout] 529 | Ok(n - buf.remaining()) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `remaining(...)` to keep using the current method [INFO] [stdout] = help: add `#![feature(cursor_remaining)]` to the crate attributes to enable `std::io::Cursor::::remaining` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `buf` [INFO] [stdout] --> src/kcp/mod.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | buf: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `addr` [INFO] [stdout] --> src/kcp/mod.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | addr: SocketAddr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 24.29s [INFO] running `Command { std: "docker" "inspect" "c92d458131ebb31ac8d69a3d5a47bf348fce079ec45748fab1e487b0fc0692c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c92d458131ebb31ac8d69a3d5a47bf348fce079ec45748fab1e487b0fc0692c9", kill_on_drop: false }` [INFO] [stdout] c92d458131ebb31ac8d69a3d5a47bf348fce079ec45748fab1e487b0fc0692c9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 98aa234e5ffb9db507c8e93cc166b0fca882a5294f798f225e9a0b7159bdd1d8 [INFO] running `Command { std: "docker" "start" "-a" "98aa234e5ffb9db507c8e93cc166b0fca882a5294f798f225e9a0b7159bdd1d8", kill_on_drop: false }` [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/socks5/mod.rs:245:43 [INFO] [stdout] | [INFO] [stdout] 245 | Error::new(Reply::GeneralFailure, ::description(&err)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future [INFO] [stdout] --> src/kcp/kcb.rs:276:28 [INFO] [stdout] | [INFO] [stdout] 276 | if buf.remaining() == 0 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unstable_name_collisions)]` on by default [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `remaining(...)` to keep using the current method [INFO] [stdout] = help: add `#![feature(cursor_remaining)]` to the crate attributes to enable `std::io::Cursor::::remaining` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future [INFO] [stdout] --> src/kcp/kcb.rs:283:28 [INFO] [stdout] | [INFO] [stdout] 283 | let count = if buf.remaining() <= self.mss as usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `remaining(...)` to keep using the current method [INFO] [stdout] = help: add `#![feature(cursor_remaining)]` to the crate attributes to enable `std::io::Cursor::::remaining` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future [INFO] [stdout] --> src/kcp/kcb.rs:286:18 [INFO] [stdout] | [INFO] [stdout] 286 | (buf.remaining() + self.mss as usize - 1) / self.mss as usize [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `remaining(...)` to keep using the current method [INFO] [stdout] = help: add `#![feature(cursor_remaining)]` to the crate attributes to enable `std::io::Cursor::::remaining` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future [INFO] [stdout] --> src/kcp/kcb.rs:297:56 [INFO] [stdout] | [INFO] [stdout] 297 | let size = cmp::min(self.mss as usize, buf.remaining()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `remaining(...)` to keep using the current method [INFO] [stdout] = help: add `#![feature(cursor_remaining)]` to the crate attributes to enable `std::io::Cursor::::remaining` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future [INFO] [stdout] --> src/kcp/kcb.rs:305:20 [INFO] [stdout] | [INFO] [stdout] 305 | Ok(n - buf.remaining()) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `remaining(...)` to keep using the current method [INFO] [stdout] = help: add `#![feature(cursor_remaining)]` to the crate attributes to enable `std::io::Cursor::::remaining` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future [INFO] [stdout] --> src/kcp/kcb.rs:427:16 [INFO] [stdout] | [INFO] [stdout] 427 | if buf.remaining() < KCP_OVERHEAD { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `remaining(...)` to keep using the current method [INFO] [stdout] = help: add `#![feature(cursor_remaining)]` to the crate attributes to enable `std::io::Cursor::::remaining` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future [INFO] [stdout] --> src/kcp/kcb.rs:433:19 [INFO] [stdout] | [INFO] [stdout] 433 | while buf.remaining() >= KCP_OVERHEAD { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `remaining(...)` to keep using the current method [INFO] [stdout] = help: add `#![feature(cursor_remaining)]` to the crate attributes to enable `std::io::Cursor::::remaining` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future [INFO] [stdout] --> src/kcp/kcb.rs:448:20 [INFO] [stdout] | [INFO] [stdout] 448 | if buf.remaining() < len { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `remaining(...)` to keep using the current method [INFO] [stdout] = help: add `#![feature(cursor_remaining)]` to the crate attributes to enable `std::io::Cursor::::remaining` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future [INFO] [stdout] --> src/kcp/kcb.rs:529:20 [INFO] [stdout] | [INFO] [stdout] 529 | Ok(n - buf.remaining()) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `remaining(...)` to keep using the current method [INFO] [stdout] = help: add `#![feature(cursor_remaining)]` to the crate attributes to enable `std::io::Cursor::::remaining` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rust-net-protocols v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `buf` [INFO] [stdout] --> src/kcp/mod.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | buf: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `addr` [INFO] [stdout] --> src/kcp/mod.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | addr: SocketAddr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/socks5/mod.rs:245:43 [INFO] [stdout] | [INFO] [stdout] 245 | Error::new(Reply::GeneralFailure, ::description(&err)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future [INFO] [stdout] --> src/kcp/kcb.rs:276:28 [INFO] [stdout] | [INFO] [stdout] 276 | if buf.remaining() == 0 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unstable_name_collisions)]` on by default [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `remaining(...)` to keep using the current method [INFO] [stdout] = help: add `#![feature(cursor_remaining)]` to the crate attributes to enable `std::io::Cursor::::remaining` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future [INFO] [stdout] --> src/kcp/kcb.rs:283:28 [INFO] [stdout] | [INFO] [stdout] 283 | let count = if buf.remaining() <= self.mss as usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `remaining(...)` to keep using the current method [INFO] [stdout] = help: add `#![feature(cursor_remaining)]` to the crate attributes to enable `std::io::Cursor::::remaining` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future [INFO] [stdout] --> src/kcp/kcb.rs:286:18 [INFO] [stdout] | [INFO] [stdout] 286 | (buf.remaining() + self.mss as usize - 1) / self.mss as usize [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `remaining(...)` to keep using the current method [INFO] [stdout] = help: add `#![feature(cursor_remaining)]` to the crate attributes to enable `std::io::Cursor::::remaining` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future [INFO] [stdout] --> src/kcp/kcb.rs:297:56 [INFO] [stdout] | [INFO] [stdout] 297 | let size = cmp::min(self.mss as usize, buf.remaining()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `remaining(...)` to keep using the current method [INFO] [stdout] = help: add `#![feature(cursor_remaining)]` to the crate attributes to enable `std::io::Cursor::::remaining` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future [INFO] [stdout] --> src/kcp/kcb.rs:305:20 [INFO] [stdout] | [INFO] [stdout] 305 | Ok(n - buf.remaining()) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `remaining(...)` to keep using the current method [INFO] [stdout] = help: add `#![feature(cursor_remaining)]` to the crate attributes to enable `std::io::Cursor::::remaining` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future [INFO] [stdout] --> src/kcp/kcb.rs:427:16 [INFO] [stdout] | [INFO] [stdout] 427 | if buf.remaining() < KCP_OVERHEAD { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `remaining(...)` to keep using the current method [INFO] [stdout] = help: add `#![feature(cursor_remaining)]` to the crate attributes to enable `std::io::Cursor::::remaining` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future [INFO] [stdout] --> src/kcp/kcb.rs:433:19 [INFO] [stdout] | [INFO] [stdout] 433 | while buf.remaining() >= KCP_OVERHEAD { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `remaining(...)` to keep using the current method [INFO] [stdout] = help: add `#![feature(cursor_remaining)]` to the crate attributes to enable `std::io::Cursor::::remaining` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future [INFO] [stdout] --> src/kcp/kcb.rs:448:20 [INFO] [stdout] | [INFO] [stdout] 448 | if buf.remaining() < len { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `remaining(...)` to keep using the current method [INFO] [stdout] = help: add `#![feature(cursor_remaining)]` to the crate attributes to enable `std::io::Cursor::::remaining` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future [INFO] [stdout] --> src/kcp/kcb.rs:529:20 [INFO] [stdout] | [INFO] [stdout] 529 | Ok(n - buf.remaining()) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `remaining(...)` to keep using the current method [INFO] [stdout] = help: add `#![feature(cursor_remaining)]` to the crate attributes to enable `std::io::Cursor::::remaining` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `buf` [INFO] [stdout] --> src/kcp/mod.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | buf: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `addr` [INFO] [stdout] --> src/kcp/mod.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | addr: SocketAddr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.74s [INFO] running `Command { std: "docker" "inspect" "98aa234e5ffb9db507c8e93cc166b0fca882a5294f798f225e9a0b7159bdd1d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98aa234e5ffb9db507c8e93cc166b0fca882a5294f798f225e9a0b7159bdd1d8", kill_on_drop: false }` [INFO] [stdout] 98aa234e5ffb9db507c8e93cc166b0fca882a5294f798f225e9a0b7159bdd1d8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1b321ff422ccd16cdadeac54fd071ebc4019af89364ae37daba9c6b4db6a6479 [INFO] running `Command { std: "docker" "start" "-a" "1b321ff422ccd16cdadeac54fd071ebc4019af89364ae37daba9c6b4db6a6479", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/socks5/mod.rs:245:43 [INFO] [stderr] | [INFO] [stderr] 245 | Error::new(Reply::GeneralFailure, ::description(&err)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: an associated function with this name may be added to the standard library in the future [INFO] [stderr] --> src/kcp/kcb.rs:276:28 [INFO] [stderr] | [INFO] [stderr] 276 | if buf.remaining() == 0 { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unstable_name_collisions)]` on by default [INFO] [stderr] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stderr] = note: for more information, see issue #48919 [INFO] [stderr] = help: call with fully qualified syntax `remaining(...)` to keep using the current method [INFO] [stderr] = help: add `#![feature(cursor_remaining)]` to the crate attributes to enable `std::io::Cursor::::remaining` [INFO] [stderr] [INFO] [stderr] warning: an associated function with this name may be added to the standard library in the future [INFO] [stderr] --> src/kcp/kcb.rs:283:28 [INFO] [stderr] | [INFO] [stderr] 283 | let count = if buf.remaining() <= self.mss as usize { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stderr] = note: for more information, see issue #48919 [INFO] [stderr] = help: call with fully qualified syntax `remaining(...)` to keep using the current method [INFO] [stderr] = help: add `#![feature(cursor_remaining)]` to the crate attributes to enable `std::io::Cursor::::remaining` [INFO] [stderr] [INFO] [stderr] warning: an associated function with this name may be added to the standard library in the future [INFO] [stderr] --> src/kcp/kcb.rs:286:18 [INFO] [stderr] | [INFO] [stderr] 286 | (buf.remaining() + self.mss as usize - 1) / self.mss as usize [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stderr] = note: for more information, see issue #48919 [INFO] [stderr] = help: call with fully qualified syntax `remaining(...)` to keep using the current method [INFO] [stderr] = help: add `#![feature(cursor_remaining)]` to the crate attributes to enable `std::io::Cursor::::remaining` [INFO] [stderr] [INFO] [stderr] warning: an associated function with this name may be added to the standard library in the future [INFO] [stderr] --> src/kcp/kcb.rs:297:56 [INFO] [stderr] | [INFO] [stderr] 297 | let size = cmp::min(self.mss as usize, buf.remaining()); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stderr] = note: for more information, see issue #48919 [INFO] [stderr] = help: call with fully qualified syntax `remaining(...)` to keep using the current method [INFO] [stderr] = help: add `#![feature(cursor_remaining)]` to the crate attributes to enable `std::io::Cursor::::remaining` [INFO] [stderr] [INFO] [stderr] warning: an associated function with this name may be added to the standard library in the future [INFO] [stderr] --> src/kcp/kcb.rs:305:20 [INFO] [stderr] | [INFO] [stderr] 305 | Ok(n - buf.remaining()) [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stderr] = note: for more information, see issue #48919 [INFO] [stderr] = help: call with fully qualified syntax `remaining(...)` to keep using the current method [INFO] [stderr] = help: add `#![feature(cursor_remaining)]` to the crate attributes to enable `std::io::Cursor::::remaining` [INFO] [stderr] [INFO] [stderr] warning: an associated function with this name may be added to the standard library in the future [INFO] [stderr] --> src/kcp/kcb.rs:427:16 [INFO] [stderr] | [INFO] [stderr] 427 | if buf.remaining() < KCP_OVERHEAD { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stderr] = note: for more information, see issue #48919 [INFO] [stderr] = help: call with fully qualified syntax `remaining(...)` to keep using the current method [INFO] [stderr] = help: add `#![feature(cursor_remaining)]` to the crate attributes to enable `std::io::Cursor::::remaining` [INFO] [stderr] [INFO] [stderr] warning: an associated function with this name may be added to the standard library in the future [INFO] [stderr] --> src/kcp/kcb.rs:433:19 [INFO] [stderr] | [INFO] [stderr] 433 | while buf.remaining() >= KCP_OVERHEAD { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stderr] = note: for more information, see issue #48919 [INFO] [stderr] = help: call with fully qualified syntax `remaining(...)` to keep using the current method [INFO] [stderr] = help: add `#![feature(cursor_remaining)]` to the crate attributes to enable `std::io::Cursor::::remaining` [INFO] [stderr] [INFO] [stderr] warning: an associated function with this name may be added to the standard library in the future [INFO] [stderr] --> src/kcp/kcb.rs:448:20 [INFO] [stderr] | [INFO] [stderr] 448 | if buf.remaining() < len { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stderr] = note: for more information, see issue #48919 [INFO] [stderr] = help: call with fully qualified syntax `remaining(...)` to keep using the current method [INFO] [stderr] = help: add `#![feature(cursor_remaining)]` to the crate attributes to enable `std::io::Cursor::::remaining` [INFO] [stderr] [INFO] [stderr] warning: an associated function with this name may be added to the standard library in the future [INFO] [stderr] --> src/kcp/kcb.rs:529:20 [INFO] [stderr] | [INFO] [stderr] 529 | Ok(n - buf.remaining()) [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stderr] = note: for more information, see issue #48919 [INFO] [stderr] = help: call with fully qualified syntax `remaining(...)` to keep using the current method [INFO] [stderr] = help: add `#![feature(cursor_remaining)]` to the crate attributes to enable `std::io::Cursor::::remaining` [INFO] [stderr] [INFO] [stderr] warning: field is never read: `buf` [INFO] [stderr] --> src/kcp/mod.rs:54:5 [INFO] [stderr] | [INFO] [stderr] 54 | buf: Vec, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never read: `addr` [INFO] [stderr] --> src/kcp/mod.rs:55:5 [INFO] [stderr] | [INFO] [stderr] 55 | addr: SocketAddr, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 12 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/socks5/mod.rs:245:43 [INFO] [stderr] | [INFO] [stderr] 245 | Error::new(Reply::GeneralFailure, ::description(&err)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: an associated function with this name may be added to the standard library in the future [INFO] [stderr] --> src/kcp/kcb.rs:276:28 [INFO] [stderr] | [INFO] [stderr] 276 | if buf.remaining() == 0 { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unstable_name_collisions)]` on by default [INFO] [stderr] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stderr] = note: for more information, see issue #48919 [INFO] [stderr] = help: call with fully qualified syntax `remaining(...)` to keep using the current method [INFO] [stderr] = help: add `#![feature(cursor_remaining)]` to the crate attributes to enable `std::io::Cursor::::remaining` [INFO] [stderr] [INFO] [stderr] warning: an associated function with this name may be added to the standard library in the future [INFO] [stderr] --> src/kcp/kcb.rs:283:28 [INFO] [stderr] | [INFO] [stderr] 283 | let count = if buf.remaining() <= self.mss as usize { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stderr] = note: for more information, see issue #48919 [INFO] [stderr] = help: call with fully qualified syntax `remaining(...)` to keep using the current method [INFO] [stderr] = help: add `#![feature(cursor_remaining)]` to the crate attributes to enable `std::io::Cursor::::remaining` [INFO] [stderr] [INFO] [stderr] warning: an associated function with this name may be added to the standard library in the future [INFO] [stderr] --> src/kcp/kcb.rs:286:18 [INFO] [stderr] | [INFO] [stderr] 286 | (buf.remaining() + self.mss as usize - 1) / self.mss as usize [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stderr] = note: for more information, see issue #48919 [INFO] [stderr] = help: call with fully qualified syntax `remaining(...)` to keep using the current method [INFO] [stderr] = help: add `#![feature(cursor_remaining)]` to the crate attributes to enable `std::io::Cursor::::remaining` [INFO] [stderr] [INFO] [stderr] warning: an associated function with this name may be added to the standard library in the future [INFO] [stderr] --> src/kcp/kcb.rs:297:56 [INFO] [stderr] | [INFO] [stderr] 297 | let size = cmp::min(self.mss as usize, buf.remaining()); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stderr] = note: for more information, see issue #48919 [INFO] [stderr] = help: call with fully qualified syntax `remaining(...)` to keep using the current method [INFO] [stderr] = help: add `#![feature(cursor_remaining)]` to the crate attributes to enable `std::io::Cursor::::remaining` [INFO] [stderr] [INFO] [stderr] warning: an associated function with this name may be added to the standard library in the future [INFO] [stderr] --> src/kcp/kcb.rs:305:20 [INFO] [stderr] | [INFO] [stderr] 305 | Ok(n - buf.remaining()) [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stderr] = note: for more information, see issue #48919 [INFO] [stderr] = help: call with fully qualified syntax `remaining(...)` to keep using the current method [INFO] [stderr] = help: add `#![feature(cursor_remaining)]` to the crate attributes to enable `std::io::Cursor::::remaining` [INFO] [stderr] [INFO] [stderr] warning: an associated function with this name may be added to the standard library in the future [INFO] [stderr] --> src/kcp/kcb.rs:427:16 [INFO] [stderr] | [INFO] [stderr] 427 | if buf.remaining() < KCP_OVERHEAD { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stderr] = note: for more information, see issue #48919 [INFO] [stderr] = help: call with fully qualified syntax `remaining(...)` to keep using the current method [INFO] [stderr] = help: add `#![feature(cursor_remaining)]` to the crate attributes to enable `std::io::Cursor::::remaining` [INFO] [stderr] [INFO] [stderr] warning: an associated function with this name may be added to the standard library in the future [INFO] [stderr] --> src/kcp/kcb.rs:433:19 [INFO] [stderr] | [INFO] [stderr] 433 | while buf.remaining() >= KCP_OVERHEAD { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stderr] = note: for more information, see issue #48919 [INFO] [stderr] = help: call with fully qualified syntax `remaining(...)` to keep using the current method [INFO] [stderr] = help: add `#![feature(cursor_remaining)]` to the crate attributes to enable `std::io::Cursor::::remaining` [INFO] [stderr] [INFO] [stderr] warning: an associated function with this name may be added to the standard library in the future [INFO] [stderr] --> src/kcp/kcb.rs:448:20 [INFO] [stderr] | [INFO] [stderr] 448 | if buf.remaining() < len { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stderr] = note: for more information, see issue #48919 [INFO] [stderr] = help: call with fully qualified syntax `remaining(...)` to keep using the current method [INFO] [stderr] = help: add `#![feature(cursor_remaining)]` to the crate attributes to enable `std::io::Cursor::::remaining` [INFO] [stderr] [INFO] [stderr] warning: an associated function with this name may be added to the standard library in the future [INFO] [stderr] --> src/kcp/kcb.rs:529:20 [INFO] [stderr] | [INFO] [stderr] 529 | Ok(n - buf.remaining()) [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stderr] = note: for more information, see issue #48919 [INFO] [stderr] = help: call with fully qualified syntax `remaining(...)` to keep using the current method [INFO] [stderr] = help: add `#![feature(cursor_remaining)]` to the crate attributes to enable `std::io::Cursor::::remaining` [INFO] [stderr] [INFO] [stderr] warning: field is never read: `buf` [INFO] [stderr] --> src/kcp/mod.rs:54:5 [INFO] [stderr] | [INFO] [stderr] 54 | buf: Vec, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never read: `addr` [INFO] [stderr] --> src/kcp/mod.rs:55:5 [INFO] [stderr] | [INFO] [stderr] 55 | addr: SocketAddr, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 12 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/rust_net_protocols-de3dfa1fb987ee55) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stderr] Doc-tests rust-net-protocols [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "1b321ff422ccd16cdadeac54fd071ebc4019af89364ae37daba9c6b4db6a6479", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b321ff422ccd16cdadeac54fd071ebc4019af89364ae37daba9c6b4db6a6479", kill_on_drop: false }` [INFO] [stdout] 1b321ff422ccd16cdadeac54fd071ebc4019af89364ae37daba9c6b4db6a6479