[INFO] fetching crate twist 0.7.1... [INFO] checking twist-0.7.1 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] extracting crate twist 0.7.1 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate twist 0.7.1 on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate twist 0.7.1 [INFO] finished tweaking crates.io crate twist 0.7.1 [INFO] tweaked toml for crates.io crate twist 0.7.1 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 103 packages to latest compatible versions [INFO] [stderr] Adding addr2line v0.22.0 (latest: v0.24.1) [INFO] [stderr] Adding base64 v0.4.2 (latest: v0.22.1) [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.6.0) [INFO] [stderr] Adding bytes v0.4.12 (latest: v1.7.1) [INFO] [stderr] Adding cfg-if v0.1.10 (latest: v1.0.0) [INFO] [stderr] Adding chrono v0.2.25 (latest: v0.4.38) [INFO] [stderr] Adding cloudabi v0.0.3 (latest: v0.1.0) [INFO] [stderr] Adding crossbeam v0.2.12 (latest: v0.8.4) [INFO] [stderr] Adding crossbeam-deque v0.7.4 (latest: v0.8.5) [INFO] [stderr] Adding crossbeam-epoch v0.8.2 (latest: v0.9.18) [INFO] [stderr] Adding crossbeam-queue v0.2.3 (latest: v0.3.11) [INFO] [stderr] Adding crossbeam-utils v0.7.2 (latest: v0.8.20) [INFO] [stderr] Adding error-chain v0.10.0 (latest: v0.12.4) [INFO] [stderr] Adding futures v0.1.31 (latest: v0.3.30) [INFO] [stderr] Adding gimli v0.29.0 (latest: v0.31.0) [INFO] [stderr] Adding hermit-abi v0.3.9 (latest: v0.4.0) [INFO] [stderr] Adding isatty v0.1.9 (latest: v0.2.0) [INFO] [stderr] Adding lock_api v0.3.4 (latest: v0.4.12) [INFO] [stderr] Adding log v0.3.9 (latest: v0.4.22) [INFO] [stderr] Adding memoffset v0.5.6 (latest: v0.9.1) [INFO] [stderr] Adding miniz_oxide v0.7.4 (latest: v0.8.0) [INFO] [stderr] Adding mio v0.6.23 (latest: v1.0.2) [INFO] [stderr] Adding miow v0.2.2 (latest: v0.6.0) [INFO] [stderr] Adding num v0.1.42 (latest: v0.4.3) [INFO] [stderr] Adding parking_lot v0.9.0 (latest: v0.12.3) [INFO] [stderr] Adding parking_lot_core v0.6.3 (latest: v0.9.10) [INFO] [stderr] Adding rand v0.3.23 (latest: v0.8.5) [INFO] [stderr] Adding rand v0.4.6 (latest: v0.8.5) [INFO] [stderr] Adding rand_core v0.3.1 (latest: v0.6.4) [INFO] [stderr] Adding rand_core v0.4.2 (latest: v0.6.4) [INFO] [stderr] Adding rdrand v0.4.0 (latest: v0.8.3) [INFO] [stderr] Adding redox_syscall v0.1.57 (latest: v0.5.3) [INFO] [stderr] Adding rustc_version v0.2.3 (latest: v0.4.1) [INFO] [stderr] Adding scoped-tls v0.1.2 (latest: v1.0.1) [INFO] [stderr] Adding semver v0.9.0 (latest: v1.0.23) [INFO] [stderr] Adding semver-parser v0.7.0 (latest: v0.10.2) [INFO] [stderr] Adding sha1 v0.2.0 (latest: v0.10.6) [INFO] [stderr] Adding slab v0.3.0 (latest: v0.4.9) [INFO] [stderr] Adding slog v1.7.1 (latest: v2.7.0) [INFO] [stderr] Adding slog-atomic v0.4.3 (latest: v3.1.0) [INFO] [stderr] Adding slog-term v1.5.0 (latest: v2.9.1) [INFO] [stderr] Adding smallvec v0.2.1 (latest: v1.13.2) [INFO] [stderr] Adding smallvec v0.6.14 (latest: v1.13.2) [INFO] [stderr] Adding thread_local v0.3.6 (latest: v1.1.8) [INFO] [stderr] Adding time v0.1.45 (latest: v0.3.36) [INFO] [stderr] Adding tokio v0.1.22 (latest: v1.40.0) [INFO] [stderr] Adding uuid v0.4.0 (latest: v1.10.0) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding winapi v0.2.8 (latest: v0.3.9) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded uuid v0.4.0 [INFO] [stderr] Downloaded vatfluid v0.3.0 [INFO] [stderr] Downloaded isatty v0.1.9 [INFO] [stderr] Downloaded slog-stream v1.2.1 [INFO] [stderr] Downloaded sha1 v0.2.0 [INFO] [stderr] Downloaded slog v1.7.1 [INFO] [stderr] Downloaded slog-extra v0.1.2 [INFO] [stderr] Downloaded chrono v0.2.25 [INFO] [stderr] Downloaded crossbeam v0.2.12 [INFO] [stderr] Downloaded slog-atomic v0.4.3 [INFO] [stderr] Downloaded slog-term v1.5.0 [INFO] [stderr] Downloaded base64 v0.4.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3eabf9b371256c97c05f45a019f6aff102aaa5ad9c3e232922fbd54bd0117c18 [INFO] running `Command { std: "docker" "start" "-a" "3eabf9b371256c97c05f45a019f6aff102aaa5ad9c3e232922fbd54bd0117c18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3eabf9b371256c97c05f45a019f6aff102aaa5ad9c3e232922fbd54bd0117c18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3eabf9b371256c97c05f45a019f6aff102aaa5ad9c3e232922fbd54bd0117c18", kill_on_drop: false }` [INFO] [stdout] 3eabf9b371256c97c05f45a019f6aff102aaa5ad9c3e232922fbd54bd0117c18 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "RUSTDOCFLAGS=--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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4ee396bad9fb68dd90e16ca1d5b05e9d97b349356a7a0ddf55993275713f1164 [INFO] running `Command { std: "docker" "start" "-a" "4ee396bad9fb68dd90e16ca1d5b05e9d97b349356a7a0ddf55993275713f1164", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking gimli v0.29.0 [INFO] [stderr] Checking slog v1.7.1 [INFO] [stderr] Compiling backtrace v0.3.73 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Checking rustc-demangle v0.1.24 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking isatty v0.1.9 [INFO] [stderr] Checking crossbeam v0.2.12 [INFO] [stderr] Checking uuid v0.4.0 [INFO] [stderr] Checking base64 v0.4.2 [INFO] [stderr] Checking sha1 v0.2.0 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking slog-extra v0.1.2 [INFO] [stderr] Checking slog-stream v1.2.1 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking object v0.36.4 [INFO] [stderr] Checking chrono v0.2.25 [INFO] [stderr] Checking slog-atomic v0.4.3 [INFO] [stderr] Checking slog-term v1.5.0 [INFO] [stderr] Checking addr2line v0.22.0 [INFO] [stderr] Checking error-chain v0.10.0 [INFO] [stderr] Checking vatfluid v0.3.0 [INFO] [stderr] Checking twist v0.7.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `str` [INFO] [stdout] --> src/codec/mod.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | use std::{io, str}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/codec/base.rs:250:40 [INFO] [stdout] | [INFO] [stdout] 250 | ... #[cfg_attr(feature = "cargo-clippy", allow(cast_possible_truncation))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` and `ext` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/codec/base.rs:305:24 [INFO] [stdout] | [INFO] [stdout] 305 | #[cfg_attr(feature = "cargo-clippy", allow(cast_possible_truncation))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` and `ext` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/codec/base.rs:312:24 [INFO] [stdout] | [INFO] [stdout] 312 | #[cfg_attr(feature = "cargo-clippy", allow(cast_possible_truncation))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` and `ext` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/codec/server/handshake.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | /// Add the other headers to the response. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 142 | / for (k, v) in msg.others().iter() { [INFO] [stdout] 143 | | response.push_str(&format!("{}: {}\r\n", *k, *v)); [INFO] [stdout] 144 | | } [INFO] [stdout] | |_________- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/proto/client/mod.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | /// Setup the protocol middleware chain. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 43 | Ok(handshake) [INFO] [stdout] | ------------- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/proto/server/close.rs:53:14 [INFO] [stdout] | [INFO] [stdout] 53 | 0...999 => ReasonCode::Unused, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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 [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/proto/server/close.rs:65:38 [INFO] [stdout] | [INFO] [stdout] 65 | 1012 | 1013 | 1014 | 1016...2999 => ReasonCode::Reserved5, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/proto/server/close.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | 3000...3999 => ReasonCode::AppSpecific, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/proto/server/close.rs:68:17 [INFO] [stdout] | [INFO] [stdout] 68 | 4000...4999 => ReasonCode::Undefined, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `str` [INFO] [stdout] --> src/proto/server/fragmented.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | use std::{io, str}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/proto/server/mod.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | /// Setup the protocol middleware chain. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 87 | Ok(handshake) [INFO] [stdout] | ------------- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `str` [INFO] [stdout] --> src/codec/mod.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | use std::{io, str}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/codec/base.rs:250:40 [INFO] [stdout] | [INFO] [stdout] 250 | ... #[cfg_attr(feature = "cargo-clippy", allow(cast_possible_truncation))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` and `ext` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/codec/base.rs:305:24 [INFO] [stdout] | [INFO] [stdout] 305 | #[cfg_attr(feature = "cargo-clippy", allow(cast_possible_truncation))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` and `ext` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/codec/base.rs:312:24 [INFO] [stdout] | [INFO] [stdout] 312 | #[cfg_attr(feature = "cargo-clippy", allow(cast_possible_truncation))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` and `ext` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/codec/server/handshake.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | /// Add the other headers to the response. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 142 | / for (k, v) in msg.others().iter() { [INFO] [stdout] 143 | | response.push_str(&format!("{}: {}\r\n", *k, *v)); [INFO] [stdout] 144 | | } [INFO] [stdout] | |_________- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/proto/client/mod.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | /// Setup the protocol middleware chain. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 43 | Ok(handshake) [INFO] [stdout] | ------------- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/proto/server/close.rs:53:14 [INFO] [stdout] | [INFO] [stdout] 53 | 0...999 => ReasonCode::Unused, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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 [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/proto/server/close.rs:65:38 [INFO] [stdout] | [INFO] [stdout] 65 | 1012 | 1013 | 1014 | 1016...2999 => ReasonCode::Reserved5, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/proto/server/close.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | 3000...3999 => ReasonCode::AppSpecific, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/proto/server/close.rs:68:17 [INFO] [stdout] | [INFO] [stdout] 68 | 4000...4999 => ReasonCode::Undefined, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `str` [INFO] [stdout] --> src/proto/server/fragmented.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | use std::{io, str}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/proto/server/mod.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | /// Setup the protocol middleware chain. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 87 | Ok(handshake) [INFO] [stdout] | ------------- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tokio_io::codec::Framed`: Moved to tokio-codec [INFO] [stdout] --> src/proto/client/mod.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | use tokio_io::codec::Framed; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tokio_io::codec::Framed`: Moved to tokio-codec [INFO] [stdout] --> src/proto/client/mod.rs:17:38 [INFO] [stdout] | [INFO] [stdout] 17 | type Transport = ClientHandshake>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tokio_io::codec::Framed`: Moved to tokio-codec [INFO] [stdout] --> src/proto/server/mod.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | use tokio_io::codec::Framed; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tokio_io::codec::Framed`: Moved to tokio-codec [INFO] [stdout] --> src/proto/server/mod.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | type BaseCodec = Framed; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/extension.rs:9:65 [INFO] [stdout] | [INFO] [stdout] 9 | pub type PerMessageExtensions = Arc>>>>; [INFO] [stdout] | ^^^^^^^^^^ [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 [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 | pub type PerMessageExtensions = Arc>>>>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/extension.rs:11:63 [INFO] [stdout] | [INFO] [stdout] 11 | pub type PerFrameExtensions = Arc>>>>; [INFO] [stdout] | ^^^^^^^^ [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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 | pub type PerFrameExtensions = Arc>>>>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tokio_io::codec::Framed`: Moved to tokio-codec [INFO] [stdout] --> src/proto/client/mod.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | use tokio_io::codec::Framed; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tokio_io::codec::Framed`: Moved to tokio-codec [INFO] [stdout] --> src/proto/client/mod.rs:17:38 [INFO] [stdout] | [INFO] [stdout] 17 | type Transport = ClientHandshake>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tokio_io::codec::Framed`: Moved to tokio-codec [INFO] [stdout] --> src/proto/server/mod.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | use tokio_io::codec::Framed; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tokio_io::codec::Framed`: Moved to tokio-codec [INFO] [stdout] --> src/proto/server/mod.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | type BaseCodec = Framed; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/extension.rs:9:65 [INFO] [stdout] | [INFO] [stdout] 9 | pub type PerMessageExtensions = Arc>>>>; [INFO] [stdout] | ^^^^^^^^^^ [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 [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 | pub type PerMessageExtensions = Arc>>>>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/extension.rs:11:63 [INFO] [stdout] | [INFO] [stdout] 11 | pub type PerFrameExtensions = Arc>>>>; [INFO] [stdout] | ^^^^^^^^ [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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 | pub type PerFrameExtensions = Arc>>>>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `bytes::BufMut::put_u32`: use put_u32_be or put_u32_le [INFO] [stdout] --> src/codec/base.rs:114:14 [INFO] [stdout] | [INFO] [stdout] 114 | mask_buf.put_u32::(mask); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `bytes::Buf::get_u16`: use get_u16_be or get_u16_le [INFO] [stdout] --> src/codec/base.rs:186:64 [INFO] [stdout] | [INFO] [stdout] 186 | let len = Cursor::new(buf.split_to(2)).get_u16::(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `bytes::Buf::get_u64`: use get_u64_be or get_u64_le [INFO] [stdout] --> src/codec/base.rs:195:64 [INFO] [stdout] | [INFO] [stdout] 195 | let len = Cursor::new(buf.split_to(8)).get_u64::(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `bytes::Buf::get_u32`: use get_u32_be or get_u32_le [INFO] [stdout] --> src/codec/base.rs:213:65 [INFO] [stdout] | [INFO] [stdout] 213 | let mask = Cursor::new(buf.split_to(4)).get_u32::(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `bytes::BufMut::put_u16`: use put_u16_be or put_u16_le [INFO] [stdout] --> src/codec/base.rs:314:21 [INFO] [stdout] | [INFO] [stdout] 314 | len_buf.put_u16::(cast_len); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `bytes::BufMut::put_u64`: use put_u64_be or put_u64_le [INFO] [stdout] --> src/codec/base.rs:320:21 [INFO] [stdout] | [INFO] [stdout] 320 | len_buf.put_u64::(len); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `bytes::BufMut::put_u32`: use put_u32_be or put_u32_le [INFO] [stdout] --> src/codec/base.rs:327:22 [INFO] [stdout] | [INFO] [stdout] 327 | mask_buf.put_u32::(msg.mask()); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `bytes::BufMut::put_u32`: use put_u32_be or put_u32_le [INFO] [stdout] --> src/codec/base.rs:114:14 [INFO] [stdout] | [INFO] [stdout] 114 | mask_buf.put_u32::(mask); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `bytes::Buf::get_u16`: use get_u16_be or get_u16_le [INFO] [stdout] --> src/codec/base.rs:186:64 [INFO] [stdout] | [INFO] [stdout] 186 | let len = Cursor::new(buf.split_to(2)).get_u16::(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `bytes::Buf::get_u64`: use get_u64_be or get_u64_le [INFO] [stdout] --> src/codec/base.rs:195:64 [INFO] [stdout] | [INFO] [stdout] 195 | let len = Cursor::new(buf.split_to(8)).get_u64::(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `bytes::Buf::get_u32`: use get_u32_be or get_u32_le [INFO] [stdout] --> src/codec/base.rs:213:65 [INFO] [stdout] | [INFO] [stdout] 213 | let mask = Cursor::new(buf.split_to(4)).get_u32::(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/codec/mod.rs:207:34 [INFO] [stdout] | [INFO] [stdout] 207 | hc.set_ext_resp(ext_resp.trim_right_matches(", ")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 207 | hc.set_ext_resp(ext_resp.trim_end_matches(", ")); [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `bytes::BufMut::put_u16`: use put_u16_be or put_u16_le [INFO] [stdout] --> src/codec/base.rs:314:21 [INFO] [stdout] | [INFO] [stdout] 314 | len_buf.put_u16::(cast_len); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `bytes::BufMut::put_u64`: use put_u64_be or put_u64_le [INFO] [stdout] --> src/codec/base.rs:320:21 [INFO] [stdout] | [INFO] [stdout] 320 | len_buf.put_u64::(len); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `bytes::BufMut::put_u32`: use put_u32_be or put_u32_le [INFO] [stdout] --> src/codec/base.rs:327:22 [INFO] [stdout] | [INFO] [stdout] 327 | mask_buf.put_u32::(msg.mask()); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `tokio_io::AsyncRead::framed`: Use tokio_codec::Decoder::framed instead [INFO] [stdout] --> src/proto/client/mod.rs:35:53 [INFO] [stdout] | [INFO] [stdout] 35 | let mut handshake = ClientHandshake::new(io.framed(twist)); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/proto/server/close.rs:195:57 [INFO] [stdout] | [INFO] [stdout] 195 | try_error!(self.stderr, "{}", e.description()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/codec/mod.rs:207:34 [INFO] [stdout] | [INFO] [stdout] 207 | hc.set_ext_resp(ext_resp.trim_right_matches(", ")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 207 | hc.set_ext_resp(ext_resp.trim_end_matches(", ")); [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `tokio_io::AsyncRead::framed`: Use tokio_codec::Decoder::framed instead [INFO] [stdout] --> src/proto/server/mod.rs:48:49 [INFO] [stdout] | [INFO] [stdout] 48 | let mut fragmented = Fragmented::new(io.framed(twist), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/codec/server/handshake.rs:80:25 [INFO] [stdout] | [INFO] [stdout] 80 | let mut entry = headers.entry(key).or_insert_with(String::new); [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/codec/client/handshake.rs:80:25 [INFO] [stdout] | [INFO] [stdout] 80 | let mut entry = headers.entry(key).or_insert_with(String::new); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `tokio_io::AsyncRead::framed`: Use tokio_codec::Decoder::framed instead [INFO] [stdout] --> src/proto/client/mod.rs:35:53 [INFO] [stdout] | [INFO] [stdout] 35 | let mut handshake = ClientHandshake::new(io.framed(twist)); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/proto/server/close.rs:195:57 [INFO] [stdout] | [INFO] [stdout] 195 | try_error!(self.stderr, "{}", e.description()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `tokio_io::AsyncRead::framed`: Use tokio_codec::Decoder::framed instead [INFO] [stdout] --> src/proto/server/mod.rs:48:49 [INFO] [stdout] | [INFO] [stdout] 48 | let mut fragmented = Fragmented::new(io.framed(twist), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/codec/server/handshake.rs:80:25 [INFO] [stdout] | [INFO] [stdout] 80 | let mut entry = headers.entry(key).or_insert_with(String::new); [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/codec/client/handshake.rs:80:25 [INFO] [stdout] | [INFO] [stdout] 80 | let mut entry = headers.entry(key).or_insert_with(String::new); [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/proto/mod.rs:76:13 [INFO] [stdout] | [INFO] [stdout] 76 | let mut vec = map.entry(self.uuid).or_insert_with(Vec::new); [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/proto/mod.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | let mut vec = map.entry(self.uuid).or_insert_with(Vec::new); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/proto/mod.rs:76:13 [INFO] [stdout] | [INFO] [stdout] 76 | let mut vec = map.entry(self.uuid).or_insert_with(Vec::new); [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/proto/mod.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | let mut vec = map.entry(self.uuid).or_insert_with(Vec::new); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.22s [INFO] running `Command { std: "docker" "inspect" "4ee396bad9fb68dd90e16ca1d5b05e9d97b349356a7a0ddf55993275713f1164", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ee396bad9fb68dd90e16ca1d5b05e9d97b349356a7a0ddf55993275713f1164", kill_on_drop: false }` [INFO] [stdout] 4ee396bad9fb68dd90e16ca1d5b05e9d97b349356a7a0ddf55993275713f1164