[INFO] fetching crate quicr-core 0.4.1... [INFO] checking quicr-core-0.4.1 against master#90442458ac46b1d5eed752c316da25450f67285b for pr-81477 [INFO] extracting crate quicr-core 0.4.1 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate quicr-core 0.4.1 on toolchain 90442458ac46b1d5eed752c316da25450f67285b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+90442458ac46b1d5eed752c316da25450f67285b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate quicr-core 0.4.1 [INFO] finished tweaking crates.io crate quicr-core 0.4.1 [INFO] tweaked toml for crates.io crate quicr-core 0.4.1 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+90442458ac46b1d5eed752c316da25450f67285b" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+90442458ac46b1d5eed752c316da25450f67285b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:ea7d7bff36b2ba8ce4de8bba1d2dea90376bc481f1a945a913994a8c492e40c1" "/opt/rustwide/cargo-home/bin/cargo" "+90442458ac46b1d5eed752c316da25450f67285b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7b4d3a1213044ab888cbfe4534a23a5509bde1c1dba465ac904ad6ef92b1ffb4 [INFO] running `Command { std: "docker" "start" "-a" "7b4d3a1213044ab888cbfe4534a23a5509bde1c1dba465ac904ad6ef92b1ffb4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7b4d3a1213044ab888cbfe4534a23a5509bde1c1dba465ac904ad6ef92b1ffb4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b4d3a1213044ab888cbfe4534a23a5509bde1c1dba465ac904ad6ef92b1ffb4", kill_on_drop: false }` [INFO] [stdout] 7b4d3a1213044ab888cbfe4534a23a5509bde1c1dba465ac904ad6ef92b1ffb4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:ea7d7bff36b2ba8ce4de8bba1d2dea90376bc481f1a945a913994a8c492e40c1" "/opt/rustwide/cargo-home/bin/cargo" "+90442458ac46b1d5eed752c316da25450f67285b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ef7643f2bee26f8072c556c3b9f9c8c87b3d7310f35c125008e08cdcb8f6e221 [INFO] running `Command { std: "docker" "start" "-a" "ef7643f2bee26f8072c556c3b9f9c8c87b3d7310f35c125008e08cdcb8f6e221", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking gimli v0.24.0 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Compiling slog v2.7.0 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking rustc-demangle v0.1.20 [INFO] [stderr] Compiling openssl v0.10.35 [INFO] [stderr] Checking byte-tools v0.2.0 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Checking slab v0.4.3 [INFO] [stderr] Checking assert_matches v1.5.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling backtrace v0.3.60 [INFO] [stderr] Compiling proc-macro-hack v0.4.3 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking arrayvec v0.4.12 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling hex-literal-impl v0.1.2 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking thread_local v1.1.3 [INFO] [stderr] Checking term v0.7.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Compiling openssl-sys v0.9.65 [INFO] [stderr] Checking object v0.25.3 [INFO] [stderr] Checking hex-literal v0.1.4 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking slog-term v2.8.0 [INFO] [stderr] Checking generic-array v0.9.1 [INFO] [stderr] Checking digest v0.7.6 [INFO] [stderr] Checking crypto-mac v0.5.2 [INFO] [stderr] Checking blake2 v0.7.1 [INFO] [stderr] Checking addr2line v0.15.2 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking quicr-core v0.4.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/range_set.rs:99:31 [INFO] [stdout] | [INFO] [stdout] 99 | let mut after = false;; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/endpoint.rs:122:42 [INFO] [stdout] | [INFO] [stdout] 122 | pub client_cert_verifier: Option bool + Send + Sync + 'static>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(bool, &mut X509StoreContextRef) -> bool + Send + Sync + 'static` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/endpoint.rs:1836:76 [INFO] [stdout] | [INFO] [stdout] 1836 | fn serialize(&self, _: &slog::Record, key: slog::Key, serializer: &mut slog::Serializer) -> slog::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn slog::Serializer` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/endpoint.rs:3390:76 [INFO] [stdout] | [INFO] [stdout] 3390 | fn serialize(&self, _: &slog::Record, key: slog::Key, serializer: &mut slog::Serializer) -> slog::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn slog::Serializer` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:64:76 [INFO] [stdout] | [INFO] [stdout] 64 | fn serialize(&self, _: &slog::Record, key: slog::Key, serializer: &mut slog::Serializer) -> slog::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn slog::Serializer` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:91:76 [INFO] [stdout] | [INFO] [stdout] 91 | fn serialize(&self, _: &slog::Record, key: slog::Key, serializer: &mut slog::Serializer) -> slog::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn slog::Serializer` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/range_set.rs:99:31 [INFO] [stdout] | [INFO] [stdout] 99 | let mut after = false;; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/endpoint.rs:122:42 [INFO] [stdout] | [INFO] [stdout] 122 | pub client_cert_verifier: Option bool + Send + Sync + 'static>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(bool, &mut X509StoreContextRef) -> bool + Send + Sync + 'static` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/endpoint.rs:1836:76 [INFO] [stdout] | [INFO] [stdout] 1836 | fn serialize(&self, _: &slog::Record, key: slog::Key, serializer: &mut slog::Serializer) -> slog::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn slog::Serializer` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/endpoint.rs:3390:76 [INFO] [stdout] | [INFO] [stdout] 3390 | fn serialize(&self, _: &slog::Record, key: slog::Key, serializer: &mut slog::Serializer) -> slog::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn slog::Serializer` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:64:76 [INFO] [stdout] | [INFO] [stdout] 64 | fn serialize(&self, _: &slog::Record, key: slog::Key, serializer: &mut slog::Serializer) -> slog::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn slog::Serializer` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:91:76 [INFO] [stdout] | [INFO] [stdout] 91 | fn serialize(&self, _: &slog::Record, key: slog::Key, serializer: &mut slog::Serializer) -> slog::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn slog::Serializer` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `openssl::ssl::SslStreamBuilder`: use the methods directly on Ssl/SslStream instead [INFO] [stdout] --> src/endpoint.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | SslStreamBuilder, SslAlert, SslRef, SslSession}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `openssl::ssl::SslStreamBuilder`: use the methods directly on Ssl/SslStream instead [INFO] [stdout] --> src/endpoint.rs:622:27 [INFO] [stdout] | [INFO] [stdout] 622 | let mut tls = SslStreamBuilder::new(tls, MemoryStream::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `openssl::ssl::SslStreamBuilder`: use the methods directly on Ssl/SslStream instead [INFO] [stdout] --> src/endpoint.rs:682:23 [INFO] [stdout] | [INFO] [stdout] 682 | let mut tls = SslStreamBuilder::new(tls, stream); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `openssl::ssl::SslStreamBuilder`: use the methods directly on Ssl/SslStream instead [INFO] [stdout] --> src/endpoint.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | SslStreamBuilder, SslAlert, SslRef, SslSession}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `openssl::ssl::SslStreamBuilder`: use the methods directly on Ssl/SslStream instead [INFO] [stdout] --> src/endpoint.rs:622:27 [INFO] [stdout] | [INFO] [stdout] 622 | let mut tls = SslStreamBuilder::new(tls, MemoryStream::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `openssl::ssl::SslStreamBuilder`: use the methods directly on Ssl/SslStream instead [INFO] [stdout] --> src/endpoint.rs:682:23 [INFO] [stdout] | [INFO] [stdout] 682 | let mut tls = SslStreamBuilder::new(tls, stream); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [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/frame.rs:300:29 [INFO] [stdout] | [INFO] [stdout] 300 | if len > self.bytes.remaining() as u64 { return Err(UnexpectedEnd); } [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/frame.rs:300:29 [INFO] [stdout] | [INFO] [stdout] 300 | if len > self.bytes.remaining() as u64 { return Err(UnexpectedEnd); } [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/frame.rs:363:40 [INFO] [stdout] | [INFO] [stdout] 363 | if length > self.bytes.remaining() { return Err(IterErr::UnexpectedEnd); } [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/frame.rs:367:31 [INFO] [stdout] | [INFO] [stdout] 367 | if self.bytes.remaining() < 16 { return Err(IterErr::UnexpectedEnd); } [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/frame.rs:363:40 [INFO] [stdout] | [INFO] [stdout] 363 | if length > self.bytes.remaining() { return Err(IterErr::UnexpectedEnd); } [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/frame.rs:367:31 [INFO] [stdout] | [INFO] [stdout] 367 | if self.bytes.remaining() < 16 { return Err(IterErr::UnexpectedEnd); } [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/endpoint.rs:616:20 [INFO] [stdout] | [INFO] [stdout] 616 | if buf.remaining() < len { return Err(ConnectError::MalformedSession); } [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/endpoint.rs:616:20 [INFO] [stdout] | [INFO] [stdout] 616 | if buf.remaining() < len { return Err(ConnectError::MalformedSession); } [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/endpoint.rs:3125:20 [INFO] [stdout] | [INFO] [stdout] 3125 | if buf.remaining() < (dcil + scil) as usize { return Err(HeaderError::InvalidHeader("connection IDs longer than packet")); } [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/endpoint.rs:3153:20 [INFO] [stdout] | [INFO] [stdout] 3153 | if buf.remaining() < dest_id_len { return Err(HeaderError::InvalidHeader("destination connection ID longer than packet")); } [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/endpoint.rs:3125:20 [INFO] [stdout] | [INFO] [stdout] 3125 | if buf.remaining() < (dcil + scil) as usize { return Err(HeaderError::InvalidHeader("connection IDs longer than packet")); } [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/endpoint.rs:3153:20 [INFO] [stdout] | [INFO] [stdout] 3153 | if buf.remaining() < dest_id_len { return Err(HeaderError::InvalidHeader("destination connection ID longer than packet")); } [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: variable does not need to be mutable [INFO] [stdout] --> src/endpoint.rs:1511:29 [INFO] [stdout] | [INFO] [stdout] 1511 | let mut info = self.connections[conn.0].sent_packets.remove(&number).unwrap(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/endpoint.rs:1511:29 [INFO] [stdout] | [INFO] [stdout] 1511 | let mut info = self.connections[conn.0].sent_packets.remove(&number).unwrap(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/endpoint.rs:2286:21 [INFO] [stdout] | [INFO] [stdout] 2286 | let mut info = self.sent_packets.remove(&packet).unwrap(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/endpoint.rs:2286:21 [INFO] [stdout] | [INFO] [stdout] 2286 | let mut info = self.sent_packets.remove(&packet).unwrap(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 14.18s [INFO] running `Command { std: "docker" "inspect" "ef7643f2bee26f8072c556c3b9f9c8c87b3d7310f35c125008e08cdcb8f6e221", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef7643f2bee26f8072c556c3b9f9c8c87b3d7310f35c125008e08cdcb8f6e221", kill_on_drop: false }` [INFO] [stdout] ef7643f2bee26f8072c556c3b9f9c8c87b3d7310f35c125008e08cdcb8f6e221