[INFO] cloning repository https://github.com/Dieff/not-a-backdoor [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Dieff/not-a-backdoor" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDieff%2Fnot-a-backdoor", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDieff%2Fnot-a-backdoor'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] de6f98867b194620ee820ba854b75c09361192ea [INFO] checking Dieff/not-a-backdoor against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDieff%2Fnot-a-backdoor" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Dieff/not-a-backdoor on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Dieff/not-a-backdoor [INFO] finished tweaking git repo https://github.com/Dieff/not-a-backdoor [INFO] tweaked toml for git repo https://github.com/Dieff/not-a-backdoor written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Dieff/not-a-backdoor already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cc v1.0.18 [INFO] [stderr] Downloaded md5 v0.3.7 [INFO] [stderr] Downloaded bitflags v1.0.3 [INFO] [stderr] Downloaded version_check v0.1.4 [INFO] [stderr] Downloaded lazycell v0.6.0 [INFO] [stderr] Downloaded slab v0.4.1 [INFO] [stderr] Downloaded rand_core v0.2.1 [INFO] [stderr] Downloaded proc-macro2 v0.4.12 [INFO] [stderr] Downloaded quote v0.6.6 [INFO] [stderr] Downloaded serde_derive v1.0.71 [INFO] [stderr] Downloaded mio v0.6.15 [INFO] [stderr] Downloaded syn v0.14.8 [INFO] [stderr] Downloaded chrono v0.4.6 [INFO] [stderr] Downloaded serde v1.0.71 [INFO] [stderr] Downloaded serde_json v1.0.26 [INFO] [stderr] Downloaded winapi v0.3.5 [INFO] [stderr] Downloaded itoa v0.4.2 [INFO] [stderr] Downloaded ryu v0.2.3 [INFO] [stderr] Downloaded num-traits v0.2.5 [INFO] [stderr] Downloaded redox_syscall v0.1.40 [INFO] [stderr] Downloaded time v0.1.40 [INFO] [stderr] Downloaded cfg-if v0.1.5 [INFO] [stderr] Downloaded log v0.4.3 [INFO] [stderr] Downloaded lazy_static v1.1.0 [INFO] [stderr] Downloaded stderrlog v0.4.1 [INFO] [stderr] Downloaded sys-info v0.5.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5ca9cc5fe402fd70e323fedcaa0ba7c6957b4d1a6674e697827fdb275cdccb17 [INFO] running `Command { std: "docker" "start" "-a" "5ca9cc5fe402fd70e323fedcaa0ba7c6957b4d1a6674e697827fdb275cdccb17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5ca9cc5fe402fd70e323fedcaa0ba7c6957b4d1a6674e697827fdb275cdccb17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ca9cc5fe402fd70e323fedcaa0ba7c6957b4d1a6674e697827fdb275cdccb17", kill_on_drop: false }` [INFO] [stdout] 5ca9cc5fe402fd70e323fedcaa0ba7c6957b4d1a6674e697827fdb275cdccb17 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 41a1a4291f58b360ebf4be0b14b465981528627d9a044fb60f5567aff47f843a [INFO] running `Command { std: "docker" "start" "-a" "41a1a4291f58b360ebf4be0b14b465981528627d9a044fb60f5567aff47f843a", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.43 [INFO] [stderr] Compiling proc-macro2 v0.4.12 [INFO] [stderr] Compiling num-traits v0.2.5 [INFO] [stderr] Compiling version_check v0.1.4 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking cfg-if v0.1.5 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling cc v1.0.18 [INFO] [stderr] Compiling serde v1.0.71 [INFO] [stderr] Compiling ryu v0.2.3 [INFO] [stderr] Checking termcolor v0.3.6 [INFO] [stderr] Checking rand_core v0.2.1 [INFO] [stderr] Checking itoa v0.4.2 [INFO] [stderr] Checking slab v0.4.1 [INFO] [stderr] Checking lazycell v0.6.0 [INFO] [stderr] Checking md5 v0.3.7 [INFO] [stderr] Checking log v0.4.3 [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stderr] Checking time v0.1.40 [INFO] [stderr] Checking iovec v0.1.2 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking rand v0.5.5 [INFO] [stderr] Checking mio v0.6.15 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Compiling quote v0.6.6 [INFO] [stderr] Compiling syn v0.14.8 [INFO] [stderr] Compiling sys-info v0.5.6 [INFO] [stderr] Checking chrono v0.4.6 [INFO] [stderr] Checking stderrlog v0.4.1 [INFO] [stderr] Compiling serde_derive v1.0.71 [INFO] [stderr] Checking serde_json v1.0.26 [INFO] [stderr] Checking not-a-backdoor v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `md5` is imported redundantly [INFO] [stdout] --> src/lib_client/os_interacts.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use md5; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/client.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate md5; [INFO] [stdout] | ----------------- the item `md5` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `sys_info` is imported redundantly [INFO] [stdout] --> src/lib_client/os_interacts.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use sys_info; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/client.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate sys_info; [INFO] [stdout] | ---------------------- the item `sys_info` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/lib_client/senders/udp.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/client.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate serde_json; [INFO] [stdout] | ------------------------ the item `serde_json` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sleep` [INFO] [stdout] --> src/lib_client/senders/udp.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | use std::thread::{sleep, spawn}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/net_messages.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/client.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate serde_json; [INFO] [stdout] | ------------------------ the item `serde_json` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Display` [INFO] [stdout] --> src/lib_server/eventloop.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::Display; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/lib_server/udp.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/server.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate serde_json; [INFO] [stdout] | ------------------------ the item `serde_json` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/net_messages.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/server.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate serde_json; [INFO] [stdout] | ------------------------ the item `serde_json` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib_server/eventloop.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | pub reply: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 | pub reply: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `md5` is imported redundantly [INFO] [stdout] --> src/lib_client/os_interacts.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use md5; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/client.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate md5; [INFO] [stdout] | ----------------- the item `md5` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `sys_info` is imported redundantly [INFO] [stdout] --> src/lib_client/os_interacts.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use sys_info; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/client.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate sys_info; [INFO] [stdout] | ---------------------- the item `sys_info` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/lib_client/senders/udp.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/client.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate serde_json; [INFO] [stdout] | ------------------------ the item `serde_json` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sleep` [INFO] [stdout] --> src/lib_client/senders/udp.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | use std::thread::{sleep, spawn}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/net_messages.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/client.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate serde_json; [INFO] [stdout] | ------------------------ the item `serde_json` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Display` [INFO] [stdout] --> src/lib_server/eventloop.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::Display; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/lib_server/udp.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/server.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate serde_json; [INFO] [stdout] | ------------------------ the item `serde_json` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/net_messages.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/server.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate serde_json; [INFO] [stdout] | ------------------------ the item `serde_json` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib_server/eventloop.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | pub reply: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 | pub reply: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_id` is never used [INFO] [stdout] --> src/lib_client/senders/sender_trait.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait MessageSender { [INFO] [stdout] | ------------- method in this trait [INFO] [stdout] 6 | fn send_message(&mut self, msg: net_messages::ClientToServer, tx: Sender); [INFO] [stdout] 7 | fn get_id(&self) -> u32; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_input` is never used [INFO] [stdout] --> src/net_messages.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 10 | impl Command { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 11 | pub fn from_input(input: String, id: usize) -> Command { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_str` is never used [INFO] [stdout] --> src/net_messages.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 30 | impl ClientToServer { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 31 | pub fn from_str(string: String) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_cmds` is never used [INFO] [stdout] --> src/net_messages.rs:48:10 [INFO] [stdout] | [INFO] [stdout] 44 | impl ServerToClient { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn from_cmds(commands: Vec) -> ServerToClient { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/lib_server/udp.rs:78:21 [INFO] [stdout] | [INFO] [stdout] 78 | Err(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: method `get_id` is never used [INFO] [stdout] --> src/lib_client/senders/sender_trait.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait MessageSender { [INFO] [stdout] | ------------- method in this trait [INFO] [stdout] 6 | fn send_message(&mut self, msg: net_messages::ClientToServer, tx: Sender); [INFO] [stdout] 7 | fn get_id(&self) -> u32; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_input` is never used [INFO] [stdout] --> src/net_messages.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 10 | impl Command { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 11 | pub fn from_input(input: String, id: usize) -> Command { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_str` is never used [INFO] [stdout] --> src/net_messages.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 30 | impl ClientToServer { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 31 | pub fn from_str(string: String) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_cmds` is never used [INFO] [stdout] --> src/net_messages.rs:48:10 [INFO] [stdout] | [INFO] [stdout] 44 | impl ServerToClient { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn from_cmds(commands: Vec) -> ServerToClient { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/lib_server/udp.rs:78:21 [INFO] [stdout] | [INFO] [stdout] 78 | Err(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: fields `sent` and `recieved` are never read [INFO] [stdout] --> src/lib_server/client_tracker.rs:9:3 [INFO] [stdout] | [INFO] [stdout] 6 | struct CommandResult { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | sent: i64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | recieved: i64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ip` and `os` are never read [INFO] [stdout] --> src/lib_server/client_tracker.rs:32:3 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Client { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 31 | commands: HashMap, [INFO] [stdout] 32 | ip: IpAddr, [INFO] [stdout] | ^^ [INFO] [stdout] 33 | os: String, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `sent` and `recieved` are never read [INFO] [stdout] --> src/lib_server/client_tracker.rs:9:3 [INFO] [stdout] | [INFO] [stdout] 6 | struct CommandResult { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | sent: i64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | recieved: i64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ip` and `os` are never read [INFO] [stdout] --> src/lib_server/client_tracker.rs:32:3 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Client { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 31 | commands: HashMap, [INFO] [stdout] 32 | ip: IpAddr, [INFO] [stdout] | ^^ [INFO] [stdout] 33 | os: String, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_elapsed` is never used [INFO] [stdout] --> src/lib_server/client_tracker.rs:51:6 [INFO] [stdout] | [INFO] [stdout] 37 | impl Client { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 51 | fn get_elapsed(&self) -> Duration { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_elapsed` is never used [INFO] [stdout] --> src/lib_server/client_tracker.rs:51:6 [INFO] [stdout] | [INFO] [stdout] 37 | impl Client { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 51 | fn get_elapsed(&self) -> Duration { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib_server/udp.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | Bytes(FromUtf8Error), [INFO] [stdout] | ----- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 98 | Bytes(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib_server/udp.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | Bytes(FromUtf8Error), [INFO] [stdout] | ----- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 98 | Bytes(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib_server/udp.rs:99:8 [INFO] [stdout] | [INFO] [stdout] 99 | Json(serde_json::Error), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 99 | Json(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib_server/udp.rs:99:8 [INFO] [stdout] | [INFO] [stdout] 99 | Json(serde_json::Error), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 99 | Json(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_output` is never used [INFO] [stdout] --> src/net_messages.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 10 | impl Command { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn add_output(&mut self, output: String) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_output` is never used [INFO] [stdout] --> src/net_messages.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 10 | impl Command { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn add_output(&mut self, output: String) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_cmds` is never used [INFO] [stdout] --> src/net_messages.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 30 | impl ClientToServer { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn from_cmds(id: String, commands: Vec) -> ClientToServer { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_cmds` is never used [INFO] [stdout] --> src/net_messages.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 30 | impl ClientToServer { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn from_cmds(id: String, commands: Vec) -> ClientToServer { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_str` is never used [INFO] [stdout] --> src/net_messages.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 44 | impl ServerToClient { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 45 | pub fn from_str(string: String) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_str` is never used [INFO] [stdout] --> src/net_messages.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 44 | impl ServerToClient { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 45 | pub fn from_str(string: String) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.58s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: syn v0.14.8 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "41a1a4291f58b360ebf4be0b14b465981528627d9a044fb60f5567aff47f843a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41a1a4291f58b360ebf4be0b14b465981528627d9a044fb60f5567aff47f843a", kill_on_drop: false }` [INFO] [stdout] 41a1a4291f58b360ebf4be0b14b465981528627d9a044fb60f5567aff47f843a [INFO] checking Dieff/not-a-backdoor against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDieff%2Fnot-a-backdoor" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Dieff/not-a-backdoor on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Dieff/not-a-backdoor [INFO] finished tweaking git repo https://github.com/Dieff/not-a-backdoor [INFO] tweaked toml for git repo https://github.com/Dieff/not-a-backdoor written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Dieff/not-a-backdoor already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] da5eb1bfc36c5130d2bf7171ee65f634d29ea4528e11acf44180a77218d73b5d [INFO] running `Command { std: "docker" "start" "-a" "da5eb1bfc36c5130d2bf7171ee65f634d29ea4528e11acf44180a77218d73b5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "da5eb1bfc36c5130d2bf7171ee65f634d29ea4528e11acf44180a77218d73b5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da5eb1bfc36c5130d2bf7171ee65f634d29ea4528e11acf44180a77218d73b5d", kill_on_drop: false }` [INFO] [stdout] da5eb1bfc36c5130d2bf7171ee65f634d29ea4528e11acf44180a77218d73b5d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7121f909619b1782984d71ae74180f9d546f6cd241fb8106dfb7bbc2f34c6e8b [INFO] running `Command { std: "docker" "start" "-a" "7121f909619b1782984d71ae74180f9d546f6cd241fb8106dfb7bbc2f34c6e8b", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.43 [INFO] [stderr] Compiling version_check v0.1.4 [INFO] [stderr] Compiling proc-macro2 v0.4.12 [INFO] [stderr] Compiling num-traits v0.2.5 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking cfg-if v0.1.5 [INFO] [stderr] Compiling ryu v0.2.3 [INFO] [stderr] Compiling cc v1.0.18 [INFO] [stderr] Compiling serde v1.0.71 [INFO] [stderr] Checking slab v0.4.1 [INFO] [stderr] Checking termcolor v0.3.6 [INFO] [stderr] Checking itoa v0.4.2 [INFO] [stderr] Checking rand_core v0.2.1 [INFO] [stderr] Checking lazycell v0.6.0 [INFO] [stderr] Checking md5 v0.3.7 [INFO] [stderr] Checking log v0.4.3 [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking time v0.1.40 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking iovec v0.1.2 [INFO] [stderr] Checking rand v0.5.5 [INFO] [stderr] Compiling quote v0.6.6 [INFO] [stderr] Compiling sys-info v0.5.6 [INFO] [stderr] Checking mio v0.6.15 [INFO] [stderr] Compiling syn v0.14.8 [INFO] [stderr] Checking chrono v0.4.6 [INFO] [stderr] Checking stderrlog v0.4.1 [INFO] [stderr] Compiling serde_derive v1.0.71 [INFO] [stderr] Checking serde_json v1.0.26 [INFO] [stderr] Checking not-a-backdoor v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `md5` is imported redundantly [INFO] [stdout] --> src/lib_client/os_interacts.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use md5; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/client.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate md5; [INFO] [stdout] | ----------------- the item `md5` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `sys_info` is imported redundantly [INFO] [stdout] --> src/lib_client/os_interacts.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use sys_info; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/client.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate sys_info; [INFO] [stdout] | ---------------------- the item `sys_info` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/lib_client/senders/udp.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/client.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate serde_json; [INFO] [stdout] | ------------------------ the item `serde_json` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sleep` [INFO] [stdout] --> src/lib_client/senders/udp.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | use std::thread::{sleep, spawn}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/net_messages.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/client.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate serde_json; [INFO] [stdout] | ------------------------ the item `serde_json` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Display` [INFO] [stdout] --> src/lib_server/eventloop.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::Display; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/lib_server/udp.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/server.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate serde_json; [INFO] [stdout] | ------------------------ the item `serde_json` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/net_messages.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/server.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate serde_json; [INFO] [stdout] | ------------------------ the item `serde_json` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib_server/eventloop.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | pub reply: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 | pub reply: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `md5` is imported redundantly [INFO] [stdout] --> src/lib_client/os_interacts.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use md5; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/client.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate md5; [INFO] [stdout] | ----------------- the item `md5` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `sys_info` is imported redundantly [INFO] [stdout] --> src/lib_client/os_interacts.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use sys_info; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/client.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate sys_info; [INFO] [stdout] | ---------------------- the item `sys_info` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/lib_client/senders/udp.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/client.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate serde_json; [INFO] [stdout] | ------------------------ the item `serde_json` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sleep` [INFO] [stdout] --> src/lib_client/senders/udp.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | use std::thread::{sleep, spawn}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/net_messages.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/client.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate serde_json; [INFO] [stdout] | ------------------------ the item `serde_json` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Display` [INFO] [stdout] --> src/lib_server/eventloop.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::Display; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/lib_server/udp.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/server.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate serde_json; [INFO] [stdout] | ------------------------ the item `serde_json` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/net_messages.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/server.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate serde_json; [INFO] [stdout] | ------------------------ the item `serde_json` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib_server/eventloop.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | pub reply: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 | pub reply: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/lib_server/udp.rs:78:21 [INFO] [stdout] | [INFO] [stdout] 78 | Err(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/lib_server/udp.rs:78:21 [INFO] [stdout] | [INFO] [stdout] 78 | Err(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: fields `sent` and `recieved` are never read [INFO] [stdout] --> src/lib_server/client_tracker.rs:9:3 [INFO] [stdout] | [INFO] [stdout] 6 | struct CommandResult { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | sent: i64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | recieved: i64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ip` and `os` are never read [INFO] [stdout] --> src/lib_server/client_tracker.rs:32:3 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Client { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 31 | commands: HashMap, [INFO] [stdout] 32 | ip: IpAddr, [INFO] [stdout] | ^^ [INFO] [stdout] 33 | os: String, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_elapsed` is never used [INFO] [stdout] --> src/lib_server/client_tracker.rs:51:6 [INFO] [stdout] | [INFO] [stdout] 37 | impl Client { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 51 | fn get_elapsed(&self) -> Duration { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib_server/udp.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | Bytes(FromUtf8Error), [INFO] [stdout] | ----- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 98 | Bytes(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib_server/udp.rs:99:8 [INFO] [stdout] | [INFO] [stdout] 99 | Json(serde_json::Error), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 99 | Json(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_output` is never used [INFO] [stdout] --> src/net_messages.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 10 | impl Command { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn add_output(&mut self, output: String) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_cmds` is never used [INFO] [stdout] --> src/net_messages.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 30 | impl ClientToServer { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn from_cmds(id: String, commands: Vec) -> ClientToServer { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_str` is never used [INFO] [stdout] --> src/net_messages.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 44 | impl ServerToClient { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 45 | pub fn from_str(string: String) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_id` is never used [INFO] [stdout] --> src/lib_client/senders/sender_trait.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait MessageSender { [INFO] [stdout] | ------------- method in this trait [INFO] [stdout] 6 | fn send_message(&mut self, msg: net_messages::ClientToServer, tx: Sender); [INFO] [stdout] 7 | fn get_id(&self) -> u32; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `sent` and `recieved` are never read [INFO] [stdout] --> src/lib_server/client_tracker.rs:9:3 [INFO] [stdout] | [INFO] [stdout] 6 | struct CommandResult { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | sent: i64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | recieved: i64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ip` and `os` are never read [INFO] [stdout] --> src/lib_server/client_tracker.rs:32:3 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Client { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 31 | commands: HashMap, [INFO] [stdout] 32 | ip: IpAddr, [INFO] [stdout] | ^^ [INFO] [stdout] 33 | os: String, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_elapsed` is never used [INFO] [stdout] --> src/lib_server/client_tracker.rs:51:6 [INFO] [stdout] | [INFO] [stdout] 37 | impl Client { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 51 | fn get_elapsed(&self) -> Duration { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_input` is never used [INFO] [stdout] --> src/net_messages.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 10 | impl Command { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 11 | pub fn from_input(input: String, id: usize) -> Command { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib_server/udp.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | Bytes(FromUtf8Error), [INFO] [stdout] | ----- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 98 | Bytes(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_str` is never used [INFO] [stdout] --> src/net_messages.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 30 | impl ClientToServer { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 31 | pub fn from_str(string: String) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib_server/udp.rs:99:8 [INFO] [stdout] | [INFO] [stdout] 99 | Json(serde_json::Error), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 99 | Json(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_output` is never used [INFO] [stdout] --> src/net_messages.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 10 | impl Command { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn add_output(&mut self, output: String) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_cmds` is never used [INFO] [stdout] --> src/net_messages.rs:48:10 [INFO] [stdout] | [INFO] [stdout] 44 | impl ServerToClient { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn from_cmds(commands: Vec) -> ServerToClient { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_cmds` is never used [INFO] [stdout] --> src/net_messages.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 30 | impl ClientToServer { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn from_cmds(id: String, commands: Vec) -> ClientToServer { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_str` is never used [INFO] [stdout] --> src/net_messages.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 44 | impl ServerToClient { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 45 | pub fn from_str(string: String) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_id` is never used [INFO] [stdout] --> src/lib_client/senders/sender_trait.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait MessageSender { [INFO] [stdout] | ------------- method in this trait [INFO] [stdout] 6 | fn send_message(&mut self, msg: net_messages::ClientToServer, tx: Sender); [INFO] [stdout] 7 | fn get_id(&self) -> u32; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_input` is never used [INFO] [stdout] --> src/net_messages.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 10 | impl Command { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 11 | pub fn from_input(input: String, id: usize) -> Command { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_str` is never used [INFO] [stdout] --> src/net_messages.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 30 | impl ClientToServer { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 31 | pub fn from_str(string: String) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_cmds` is never used [INFO] [stdout] --> src/net_messages.rs:48:10 [INFO] [stdout] | [INFO] [stdout] 44 | impl ServerToClient { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn from_cmds(commands: Vec) -> ServerToClient { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.83s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: syn v0.14.8 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "7121f909619b1782984d71ae74180f9d546f6cd241fb8106dfb7bbc2f34c6e8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7121f909619b1782984d71ae74180f9d546f6cd241fb8106dfb7bbc2f34c6e8b", kill_on_drop: false }` [INFO] [stdout] 7121f909619b1782984d71ae74180f9d546f6cd241fb8106dfb7bbc2f34c6e8b