[INFO] cloning repository https://github.com/Twister915/rustcord [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Twister915/rustcord" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTwister915%2Frustcord", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTwister915%2Frustcord'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5a33702e7aceb04bc87fab351b0791ed62988445 [INFO] testing Twister915/rustcord against try#d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2 for pr-86479 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTwister915%2Frustcord" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Twister915/rustcord on toolchain d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-2/source/.cargo/config [INFO] started tweaking git repo https://github.com/Twister915/rustcord [INFO] finished tweaking git repo https://github.com/Twister915/rustcord [INFO] tweaked toml for git repo https://github.com/Twister915/rustcord written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/Twister915/rustcord already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/Twister915/mcproto-rs` [INFO] [stderr] Updating git repository `https://github.com/Twister915/mctokio` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded backtrace v0.3.53 [INFO] [stderr] Downloaded aes-soft v0.6.0 [INFO] [stderr] Downloaded object v0.21.1 [INFO] [stderr] Downloaded cipher v0.2.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aed7212a3f2c23696c5f0af6b97063440c0010f22d5563d80b604a0f24303b8d [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" "aed7212a3f2c23696c5f0af6b97063440c0010f22d5563d80b604a0f24303b8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aed7212a3f2c23696c5f0af6b97063440c0010f22d5563d80b604a0f24303b8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aed7212a3f2c23696c5f0af6b97063440c0010f22d5563d80b604a0f24303b8d", kill_on_drop: false }` [INFO] [stdout] aed7212a3f2c23696c5f0af6b97063440c0010f22d5563d80b604a0f24303b8d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8ee3cd381b0da975c7425b6fe0407345f893734e653fe1c28545b45326d656b7 [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" "8ee3cd381b0da975c7425b6fe0407345f893734e653fe1c28545b45326d656b7", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.46 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling cc v1.0.61 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling futures-core v0.3.6 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Compiling futures-sink v0.3.6 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling pin-project-lite v0.1.11 [INFO] [stderr] Compiling proc-macro-hack v0.5.18 [INFO] [stderr] Compiling once_cell v1.4.1 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling futures-io v0.3.6 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.9 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling tinyvec v0.3.4 [INFO] [stderr] Compiling fs_extra v1.2.0 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling libm v0.2.1 [INFO] [stderr] Compiling gimli v0.22.0 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling tower-service v0.3.0 [INFO] [stderr] Compiling object v0.21.1 [INFO] [stderr] Compiling httpdate v0.3.2 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling encoding_rs v0.8.24 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling rustc-demangle v0.1.18 [INFO] [stderr] Compiling anyhow v1.0.33 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling smallvec v1.4.2 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling dtoa v0.4.6 [INFO] [stderr] Compiling ipnet v2.3.0 [INFO] [stderr] Compiling subtle v2.3.0 [INFO] [stderr] Compiling sha1 v0.6.0 [INFO] [stderr] Compiling md5 v0.7.0 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling futures-channel v0.3.6 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling futures-task v0.3.6 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling num-bigint-dig v0.6.0 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling unicode-normalization v0.1.13 [INFO] [stderr] Compiling tracing-core v0.1.17 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling libz-sys v1.1.2 [INFO] [stderr] Compiling jemalloc-sys v0.3.2 [INFO] [stderr] Compiling tracing v0.1.21 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling net2 v0.2.35 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling socket2 v0.3.15 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling addr2line v0.13.0 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling cipher v0.2.1 [INFO] [stderr] Compiling backtrace v0.3.53 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling aes-soft v0.6.0 [INFO] [stderr] Compiling flate2 v1.0.18 [INFO] [stderr] Compiling aes v0.6.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling simple_asn1 v0.4.1 [INFO] [stderr] Compiling rsa-der v0.2.1 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.6 [INFO] [stderr] Compiling zeroize_derive v1.0.1 [INFO] [stderr] Compiling zeroize v1.1.1 [INFO] [stderr] Compiling tokio v0.2.22 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling pin-project v0.4.27 [INFO] [stderr] Compiling futures-util v0.3.6 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tokio-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.2.6 [INFO] [stderr] Compiling futures-executor v0.3.6 [INFO] [stderr] Compiling futures v0.3.6 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling mcproto-rs v0.2.0 (https://github.com/Twister915/mcproto-rs?branch=master#e94567e0) [INFO] [stderr] Compiling rsa v0.2.0 [INFO] [stderr] Compiling hyper v0.13.8 [INFO] [stderr] Compiling jemallocator v0.3.2 [INFO] [stderr] Compiling hyper-tls v0.4.3 [INFO] [stderr] Compiling reqwest v0.10.8 [INFO] [stderr] Compiling mctokio v0.1.0 (https://github.com/Twister915/mctokio?branch=master#61ea9f4f) [INFO] [stderr] Compiling rustcord v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/proxy/upstream.rs:694:35 [INFO] [stdout] | [INFO] [stdout] 694 | if self.is_in_players.compare_and_swap(true, false, Ordering::SeqCst) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/proxy/upstream.rs:169:54 [INFO] [stdout] | [INFO] [stdout] 169 | ForwardingStatus::ClientDisconnected(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/proxy/upstream.rs:175:54 [INFO] [stdout] | [INFO] [stdout] 175 | ForwardingStatus::ServerDisconnected(err, name) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_default_level` [INFO] [stdout] --> src/proxy/logger.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn with_default_level(mut self, level: Level) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `fatal` [INFO] [stdout] --> src/proxy/logger.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn fatal(&self, args: fmt::Arguments<'_>) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `trace` [INFO] [stdout] --> src/proxy/logger.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn trace(&self, args: fmt::Arguments<'_>) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write` [INFO] [stdout] --> src/proxy/logger.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn write(&self, args: fmt::Arguments) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Fatal` [INFO] [stdout] --> src/proxy/logger.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | Fatal, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `player_by_id` [INFO] [stdout] --> src/proxy/proxy.rs:151:12 [INFO] [stdout] | [INFO] [stdout] 151 | pub fn player_by_id(&self, id: &UUID4) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `player_by_name` [INFO] [stdout] --> src/proxy/proxy.rs:159:12 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn player_by_name(&self, name: &String) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `as_ref` [INFO] [stdout] --> src/proxy/util.rs:151:12 [INFO] [stdout] | [INFO] [stdout] 151 | pub fn as_ref(&self) -> Result<&T> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/proxy/upstream.rs:172:21 [INFO] [stdout] | [INFO] [stdout] 172 | self.take_streams_disconnect().await; // ignore error [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/proxy/upstream.rs:185:21 [INFO] [stdout] | [INFO] [stdout] 185 | self.take_streams_disconnect().await; //ignore error [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/proxy/upstream.rs:344:9 [INFO] [stdout] | [INFO] [stdout] 344 | prev.streams.take().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/proxy/initial.rs:238:13 [INFO] [stdout] | [INFO] [stdout] 238 | upstream.take_streams_disconnect().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [optimized + debuginfo] target(s) in 4m 12s [INFO] running `Command { std: "docker" "inspect" "8ee3cd381b0da975c7425b6fe0407345f893734e653fe1c28545b45326d656b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ee3cd381b0da975c7425b6fe0407345f893734e653fe1c28545b45326d656b7", kill_on_drop: false }` [INFO] [stdout] 8ee3cd381b0da975c7425b6fe0407345f893734e653fe1c28545b45326d656b7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 49d8f19ebbdae006a2e94a1878e258d9a483a7b90b2fcf0957bfc232cfa7ce86 [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" "49d8f19ebbdae006a2e94a1878e258d9a483a7b90b2fcf0957bfc232cfa7ce86", kill_on_drop: false }` [INFO] [stderr] Compiling rustcord v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/proxy/upstream.rs:694:35 [INFO] [stdout] | [INFO] [stdout] 694 | if self.is_in_players.compare_and_swap(true, false, Ordering::SeqCst) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/proxy/upstream.rs:169:54 [INFO] [stdout] | [INFO] [stdout] 169 | ForwardingStatus::ClientDisconnected(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/proxy/upstream.rs:175:54 [INFO] [stdout] | [INFO] [stdout] 175 | ForwardingStatus::ServerDisconnected(err, name) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_default_level` [INFO] [stdout] --> src/proxy/logger.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn with_default_level(mut self, level: Level) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `fatal` [INFO] [stdout] --> src/proxy/logger.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn fatal(&self, args: fmt::Arguments<'_>) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `trace` [INFO] [stdout] --> src/proxy/logger.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn trace(&self, args: fmt::Arguments<'_>) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write` [INFO] [stdout] --> src/proxy/logger.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn write(&self, args: fmt::Arguments) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Fatal` [INFO] [stdout] --> src/proxy/logger.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | Fatal, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `player_by_id` [INFO] [stdout] --> src/proxy/proxy.rs:151:12 [INFO] [stdout] | [INFO] [stdout] 151 | pub fn player_by_id(&self, id: &UUID4) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `player_by_name` [INFO] [stdout] --> src/proxy/proxy.rs:159:12 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn player_by_name(&self, name: &String) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `as_ref` [INFO] [stdout] --> src/proxy/util.rs:151:12 [INFO] [stdout] | [INFO] [stdout] 151 | pub fn as_ref(&self) -> Result<&T> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/proxy/upstream.rs:172:21 [INFO] [stdout] | [INFO] [stdout] 172 | self.take_streams_disconnect().await; // ignore error [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/proxy/upstream.rs:185:21 [INFO] [stdout] | [INFO] [stdout] 185 | self.take_streams_disconnect().await; //ignore error [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/proxy/upstream.rs:344:9 [INFO] [stdout] | [INFO] [stdout] 344 | prev.streams.take().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/proxy/initial.rs:238:13 [INFO] [stdout] | [INFO] [stdout] 238 | upstream.take_streams_disconnect().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [optimized + debuginfo] target(s) in 4.07s [INFO] running `Command { std: "docker" "inspect" "49d8f19ebbdae006a2e94a1878e258d9a483a7b90b2fcf0957bfc232cfa7ce86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49d8f19ebbdae006a2e94a1878e258d9a483a7b90b2fcf0957bfc232cfa7ce86", kill_on_drop: false }` [INFO] [stdout] 49d8f19ebbdae006a2e94a1878e258d9a483a7b90b2fcf0957bfc232cfa7ce86 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5ec745d4e01b94c82927cf75b9a647d8f591f6f222f850e493e5fc366b073d2b [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" "5ec745d4e01b94c82927cf75b9a647d8f591f6f222f850e493e5fc366b073d2b", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: use of deprecated associated function `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stderr] --> src/proxy/upstream.rs:694:35 [INFO] [stderr] | [INFO] [stderr] 694 | if self.is_in_players.compare_and_swap(true, false, Ordering::SeqCst) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `err` [INFO] [stderr] --> src/proxy/upstream.rs:169:54 [INFO] [stderr] | [INFO] [stderr] 169 | ForwardingStatus::ClientDisconnected(err) => { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `err` [INFO] [stderr] --> src/proxy/upstream.rs:175:54 [INFO] [stderr] | [INFO] [stderr] 175 | ForwardingStatus::ServerDisconnected(err, name) => { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `with_default_level` [INFO] [stderr] --> src/proxy/logger.rs:19:12 [INFO] [stderr] | [INFO] [stderr] 19 | pub fn with_default_level(mut self, level: Level) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `fatal` [INFO] [stderr] --> src/proxy/logger.rs:24:12 [INFO] [stderr] | [INFO] [stderr] 24 | pub fn fatal(&self, args: fmt::Arguments<'_>) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `trace` [INFO] [stderr] --> src/proxy/logger.rs:45:12 [INFO] [stderr] | [INFO] [stderr] 45 | pub fn trace(&self, args: fmt::Arguments<'_>) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `write` [INFO] [stderr] --> src/proxy/logger.rs:49:12 [INFO] [stderr] | [INFO] [stderr] 49 | pub fn write(&self, args: fmt::Arguments) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Fatal` [INFO] [stderr] --> src/proxy/logger.rs:73:5 [INFO] [stderr] | [INFO] [stderr] 73 | Fatal, [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `player_by_id` [INFO] [stderr] --> src/proxy/proxy.rs:151:12 [INFO] [stderr] | [INFO] [stderr] 151 | pub fn player_by_id(&self, id: &UUID4) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `player_by_name` [INFO] [stderr] --> src/proxy/proxy.rs:159:12 [INFO] [stderr] | [INFO] [stderr] 159 | pub fn player_by_name(&self, name: &String) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `as_ref` [INFO] [stderr] --> src/proxy/util.rs:151:12 [INFO] [stderr] | [INFO] [stderr] 151 | pub fn as_ref(&self) -> Result<&T> { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/proxy/upstream.rs:172:21 [INFO] [stderr] | [INFO] [stderr] 172 | self.take_streams_disconnect().await; // ignore error [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/proxy/upstream.rs:185:21 [INFO] [stderr] | [INFO] [stderr] 185 | self.take_streams_disconnect().await; //ignore error [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/proxy/upstream.rs:344:9 [INFO] [stderr] | [INFO] [stderr] 344 | prev.streams.take().await; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/proxy/initial.rs:238:13 [INFO] [stderr] | [INFO] [stderr] 238 | upstream.take_streams_disconnect().await; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: `rustcord` (bin "rustcord" test) generated 15 warnings [INFO] [stderr] Finished test [optimized + debuginfo] target(s) in 0.44s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/rustcord-a8f440a02f652142) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test proxy::config::tests::test_file_path_with_no_dir ... ok [INFO] [stdout] test proxy::config::tests::test_file_with_multiple_dots ... ok [INFO] [stdout] test proxy::auth::tests::calc_hashes ... ok [INFO] [stdout] test proxy::config::tests::test_file_with_dir ... ok [INFO] [stdout] test proxy::config::tests::test_file_path_with_no_ext_no_dir ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "5ec745d4e01b94c82927cf75b9a647d8f591f6f222f850e493e5fc366b073d2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ec745d4e01b94c82927cf75b9a647d8f591f6f222f850e493e5fc366b073d2b", kill_on_drop: false }` [INFO] [stdout] 5ec745d4e01b94c82927cf75b9a647d8f591f6f222f850e493e5fc366b073d2b