[INFO] fetching crate twist 0.7.1... [INFO] checking twist-0.7.1 against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] extracting crate twist 0.7.1 into /workspace/builds/worker-10/source [INFO] validating manifest of crates.io crate twist 0.7.1 on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", 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-10/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6bcb473bf65e8f34325ca2ac59f0bcbf30c20c3c7bb3e80dd941bf3ea1cd08a8 [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" "6bcb473bf65e8f34325ca2ac59f0bcbf30c20c3c7bb3e80dd941bf3ea1cd08a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6bcb473bf65e8f34325ca2ac59f0bcbf30c20c3c7bb3e80dd941bf3ea1cd08a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6bcb473bf65e8f34325ca2ac59f0bcbf30c20c3c7bb3e80dd941bf3ea1cd08a8", kill_on_drop: false }` [INFO] [stdout] 6bcb473bf65e8f34325ca2ac59f0bcbf30c20c3c7bb3e80dd941bf3ea1cd08a8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6a387dc874311e810ade4bb975659ce3a958c397de70fdc14ebdac14aee7dd8f [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" "6a387dc874311e810ade4bb975659ce3a958c397de70fdc14ebdac14aee7dd8f", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking slog v1.7.1 [INFO] [stderr] Checking crossbeam v0.2.12 [INFO] [stderr] Checking log v0.4.11 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking slog-extra v0.1.2 [INFO] [stderr] Checking slog-atomic v0.4.3 [INFO] [stderr] Checking slog-stream v1.2.1 [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-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Checking base64 v0.4.2 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking parking_lot_core v0.6.2 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking isatty v0.1.9 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking tokio-executor v0.1.10 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking parking_lot v0.9.0 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking backtrace v0.3.55 [INFO] [stderr] Checking tokio-current-thread v0.1.7 [INFO] [stderr] Checking tokio-timer v0.2.13 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking uuid v0.4.0 [INFO] [stderr] Checking tokio-threadpool v0.1.18 [INFO] [stderr] Checking error-chain v0.10.0 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking tokio-reactor v0.1.12 [INFO] [stderr] Checking tokio-codec v0.1.2 [INFO] [stderr] Checking vatfluid v0.3.0 [INFO] [stderr] Checking tokio-udp v0.1.6 [INFO] [stderr] Checking tokio-tcp v0.1.4 [INFO] [stderr] Checking tokio-uds v0.2.7 [INFO] [stderr] Checking tokio-fs v0.1.7 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking chrono v0.2.25 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Checking tokio-core v0.1.18 [INFO] [stderr] Checking slog-term v1.5.0 [INFO] [stderr] Checking tokio-proto v0.1.1 [INFO] [stderr] Checking 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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [INFO] [stdout] warning: use of deprecated struct `tokio_io::codec::Framed`: Moved to tokio-codec [INFO] [stdout] --> src/proto/client/mod.rs:7:5 [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:5 [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 struct `tokio_io::codec::Framed`: Moved to tokio-codec [INFO] [stdout] --> src/proto/client/mod.rs:7:5 [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:5 [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 `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 `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 `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 `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 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: 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: 30 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: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 30.23s [INFO] running `Command { std: "docker" "inspect" "6a387dc874311e810ade4bb975659ce3a958c397de70fdc14ebdac14aee7dd8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a387dc874311e810ade4bb975659ce3a958c397de70fdc14ebdac14aee7dd8f", kill_on_drop: false }` [INFO] [stdout] 6a387dc874311e810ade4bb975659ce3a958c397de70fdc14ebdac14aee7dd8f