[INFO] fetching crate twist 0.7.1... [INFO] building twist-0.7.1 against master#d5c88c22807925c189328ef9d923c5d2b11a95b8 for pr-87066-3 [INFO] extracting crate twist 0.7.1 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate twist 0.7.1 on toolchain d5c88c22807925c189328ef9d923c5d2b11a95b8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d5c88c22807925c189328ef9d923c5d2b11a95b8" "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-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d5c88c22807925c189328ef9d923c5d2b11a95b8" "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" "+d5c88c22807925c189328ef9d923c5d2b11a95b8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "+d5c88c22807925c189328ef9d923c5d2b11a95b8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 0a4ad456082f888b6231d327a99fadcd279c06638e4fbf4e9f7c343fa80e7bb0 [INFO] running `Command { std: "docker" "start" "-a" "0a4ad456082f888b6231d327a99fadcd279c06638e4fbf4e9f7c343fa80e7bb0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0a4ad456082f888b6231d327a99fadcd279c06638e4fbf4e9f7c343fa80e7bb0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a4ad456082f888b6231d327a99fadcd279c06638e4fbf4e9f7c343fa80e7bb0", kill_on_drop: false }` [INFO] [stdout] 0a4ad456082f888b6231d327a99fadcd279c06638e4fbf4e9f7c343fa80e7bb0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "+d5c88c22807925c189328ef9d923c5d2b11a95b8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e468100be76e9ed1ba90619f0c473507902a01990972a1274b01c6d8a8a0c1f6 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "e468100be76e9ed1ba90619f0c473507902a01990972a1274b01c6d8a8a0c1f6", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Compiling slog v1.7.1 [INFO] [stderr] Compiling smallvec v0.2.1 [INFO] [stderr] Compiling take v0.1.0 [INFO] [stderr] Compiling crossbeam v0.2.12 [INFO] [stderr] Compiling slab v0.3.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling tokio-service v0.1.0 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling isatty v0.1.9 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling slog-extra v0.1.2 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling base64 v0.4.2 [INFO] [stderr] Compiling slog-atomic v0.4.3 [INFO] [stderr] Compiling slog-stream v1.2.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling uuid v0.4.0 [INFO] [stderr] Compiling chrono v0.2.25 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling backtrace v0.3.61 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling crossbeam-deque v0.7.4 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling slog-term v1.5.0 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling tokio-uds v0.2.7 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling error-chain v0.10.0 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling vatfluid v0.3.0 [INFO] [stderr] Compiling tokio-core v0.1.18 [INFO] [stderr] Compiling tokio-proto v0.1.1 [INFO] [stderr] Compiling twist v0.7.1 (/opt/rustwide/workdir) [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] | ^^^^^^^^^^ help: use `dyn`: `dyn PerMessage` [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 [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] | ^^^^^^^^ help: use `dyn`: `dyn PerFrame` [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/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: 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] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: use `//` for a plain comment [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] = note: `#[warn(ellipsis_inclusive_range_patterns)]` 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 [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: use of deprecated associated function `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] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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: use of deprecated associated function `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: 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: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 49.66s [INFO] running `Command { std: "docker" "inspect" "e468100be76e9ed1ba90619f0c473507902a01990972a1274b01c6d8a8a0c1f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e468100be76e9ed1ba90619f0c473507902a01990972a1274b01c6d8a8a0c1f6", kill_on_drop: false }` [INFO] [stdout] e468100be76e9ed1ba90619f0c473507902a01990972a1274b01c6d8a8a0c1f6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "+d5c88c22807925c189328ef9d923c5d2b11a95b8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d4f6295b705767759274cd68ab3541419b5b5547163e750b5e7f8829fae9eda8 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "d4f6295b705767759274cd68ab3541419b5b5547163e750b5e7f8829fae9eda8", kill_on_drop: false }` [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] | ^^^^^^^^^^ help: use `dyn`: `dyn PerMessage` [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 [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] | ^^^^^^^^ help: use `dyn`: `dyn PerFrame` [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/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: 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] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: use `//` for a plain comment [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] = note: `#[warn(ellipsis_inclusive_range_patterns)]` 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 [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: use of deprecated associated function `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] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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 associated function `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 associated function `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] [stderr] Compiling twist v0.7.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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: use of deprecated associated function `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: 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: 30 warnings emitted [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] | ^^^^^^^^^^ help: use `dyn`: `dyn PerMessage` [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 [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] | ^^^^^^^^ help: use `dyn`: `dyn PerFrame` [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/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: 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] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: use `//` for a plain comment [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] = note: `#[warn(ellipsis_inclusive_range_patterns)]` 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 [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: use of deprecated associated function `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] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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: use of deprecated associated function `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: 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: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 4.26s [INFO] running `Command { std: "docker" "inspect" "d4f6295b705767759274cd68ab3541419b5b5547163e750b5e7f8829fae9eda8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4f6295b705767759274cd68ab3541419b5b5547163e750b5e7f8829fae9eda8", kill_on_drop: false }` [INFO] [stdout] d4f6295b705767759274cd68ab3541419b5b5547163e750b5e7f8829fae9eda8