[INFO] cloning repository https://github.com/fwcd/SC18-RustClient [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fwcd/SC18-RustClient" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffwcd%2FSC18-RustClient", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffwcd%2FSC18-RustClient'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c763d61e0f50783c552b8f6180a361a1d6058817 [INFO] checking fwcd/SC18-RustClient/c763d61e0f50783c552b8f6180a361a1d6058817 against master#f8192ba0d00bbbc58a10c45823ba010e98ea4474 for pr-130531 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffwcd%2FSC18-RustClient" "/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/fwcd/SC18-RustClient on toolchain f8192ba0d00bbbc58a10c45823ba010e98ea4474 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f8192ba0d00bbbc58a10c45823ba010e98ea4474" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/fwcd/SC18-RustClient [INFO] finished tweaking git repo https://github.com/fwcd/SC18-RustClient [INFO] tweaked toml for git repo https://github.com/fwcd/SC18-RustClient written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/fwcd/SC18-RustClient 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" "+f8192ba0d00bbbc58a10c45823ba010e98ea4474" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] 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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f8192ba0d00bbbc58a10c45823ba010e98ea4474" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e711962e7d4e0fae95cb8470e1f8676efb1066cdb5a35b6ef6d0a2553ca53928 [INFO] running `Command { std: "docker" "start" "-a" "e711962e7d4e0fae95cb8470e1f8676efb1066cdb5a35b6ef6d0a2553ca53928", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e711962e7d4e0fae95cb8470e1f8676efb1066cdb5a35b6ef6d0a2553ca53928", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e711962e7d4e0fae95cb8470e1f8676efb1066cdb5a35b6ef6d0a2553ca53928", kill_on_drop: false }` [INFO] [stdout] e711962e7d4e0fae95cb8470e1f8676efb1066cdb5a35b6ef6d0a2553ca53928 [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f8192ba0d00bbbc58a10c45823ba010e98ea4474" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e097484f6ffe67d003758cb4796728925c502d2f405030a3401b8effcc9ef204 [INFO] running `Command { std: "docker" "start" "-a" "e097484f6ffe67d003758cb4796728925c502d2f405030a3401b8effcc9ef204", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking bitflags v1.0.1 [INFO] [stderr] Checking xml-rs v0.7.0 [INFO] [stderr] Checking sc18_rustclient v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/xml_client.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | listeners: Vec>, [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] 10 | listeners: Vec>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/xml_client.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | listeners: Vec>, [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] 10 | listeners: Vec>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/xml_client.rs:26:47 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn add_listener(&mut self, listener: 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] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 26 | pub fn add_listener(&mut self, listener: Box) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/xml_client.rs:26:47 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn add_listener(&mut self, listener: 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] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 26 | pub fn add_listener(&mut self, listener: Box) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/xml_client.rs:52:46 [INFO] [stdout] | [INFO] [stdout] 52 | fn fire_listeners(&mut self, notifier: &mut FnMut(&mut ClientListener)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 52 | fn fire_listeners(&mut self, notifier: &mut dyn FnMut(&mut ClientListener)) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/xml_client.rs:52:46 [INFO] [stdout] | [INFO] [stdout] 52 | fn fire_listeners(&mut self, notifier: &mut FnMut(&mut ClientListener)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 52 | fn fire_listeners(&mut self, notifier: &mut dyn FnMut(&mut ClientListener)) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/xml_client.rs:52:57 [INFO] [stdout] | [INFO] [stdout] 52 | fn fire_listeners(&mut self, notifier: &mut FnMut(&mut ClientListener)) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 52 | fn fire_listeners(&mut self, notifier: &mut FnMut(&mut dyn ClientListener)) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/xml_client.rs:52:57 [INFO] [stdout] | [INFO] [stdout] 52 | fn fire_listeners(&mut self, notifier: &mut FnMut(&mut ClientListener)) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 52 | fn fire_listeners(&mut self, notifier: &mut FnMut(&mut dyn ClientListener)) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/xml_client.rs:115:64 [INFO] [stdout] | [INFO] [stdout] 115 | fn get_move_upon_request(color: &str, move_req_listener: &mut ClientListener, game_state: &GameState, node: &mut XMLNode) -> Move { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 115 | fn get_move_upon_request(color: &str, move_req_listener: &mut dyn ClientListener, game_state: &GameState, node: &mut XMLNode) -> Move { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/xml_client.rs:115:64 [INFO] [stdout] | [INFO] [stdout] 115 | fn get_move_upon_request(color: &str, move_req_listener: &mut ClientListener, game_state: &GameState, node: &mut XMLNode) -> Move { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 115 | fn get_move_upon_request(color: &str, move_req_listener: &mut dyn ClientListener, game_state: &GameState, node: &mut XMLNode) -> Move { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/xml_client.rs:55:28 [INFO] [stdout] | [INFO] [stdout] 55 | let mut boxed: &mut Box = &mut self.listeners[i]; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 55 | let mut boxed: &mut Box = &mut self.listeners[i]; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/xml_client.rs:55:28 [INFO] [stdout] | [INFO] [stdout] 55 | let mut boxed: &mut Box = &mut self.listeners[i]; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 55 | let mut boxed: &mut Box = &mut self.listeners[i]; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/xml_client.rs:76:40 [INFO] [stdout] | [INFO] [stdout] 76 | ... let mut move_req_listener: &mut ClientListener; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 76 | let mut move_req_listener: &mut dyn ClientListener; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/xml_client.rs:76:40 [INFO] [stdout] | [INFO] [stdout] 76 | ... let mut move_req_listener: &mut ClientListener; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 76 | let mut move_req_listener: &mut dyn ClientListener; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/xml_client.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn run(mut self, target: &String, reservation: &String) { [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/xml_client.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn run(mut self, target: &String, reservation: &String) { [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/xml_client.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | let mut boxed: &mut Box = &mut self.listeners[i]; [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/xml_client.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | let mut reference = boxed.as_mut(); [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/xml_client.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | let mut boxed: &mut Box = &mut self.listeners[i]; [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/xml_client.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | let mut reference = boxed.as_mut(); [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/xml_client.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | ... let mut move_req_listener: &mut ClientListener; [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/xml_client.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | ... let mut move_req_listener: &mut ClientListener; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/xml_client.rs:115:104 [INFO] [stdout] | [INFO] [stdout] 115 | fn get_move_upon_request(color: &str, move_req_listener: &mut ClientListener, game_state: &GameState, node: &mut XMLNode) -> Move { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/xml_client.rs:115:104 [INFO] [stdout] | [INFO] [stdout] 115 | fn get_move_upon_request(color: &str, move_req_listener: &mut ClientListener, game_state: &GameState, node: &mut XMLNode) -> Move { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/xml_client.rs:139:32 [INFO] [stdout] | [INFO] [stdout] 139 | fn on_update_state(&mut self, state: &GameState) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `welcome_message` [INFO] [stdout] --> src/xml_client.rs:141:35 [INFO] [stdout] | [INFO] [stdout] 141 | fn on_welcome_message(&mut self, welcome_message: &WelcomeMessage) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_welcome_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/xml_client.rs:139:32 [INFO] [stdout] | [INFO] [stdout] 139 | fn on_update_state(&mut self, state: &GameState) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `welcome_message` [INFO] [stdout] --> src/xml_client.rs:141:35 [INFO] [stdout] | [INFO] [stdout] 141 | fn on_welcome_message(&mut self, welcome_message: &WelcomeMessage) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_welcome_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `room` [INFO] [stdout] --> src/xml_client.rs:167:24 [INFO] [stdout] | [INFO] [stdout] 167 | fn on_join(&mut self, room: &Room) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_room` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `room` [INFO] [stdout] --> src/xml_client.rs:167:24 [INFO] [stdout] | [INFO] [stdout] 167 | fn on_join(&mut self, room: &Room) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_room` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_int` is never used [INFO] [stdout] --> src/arg_parser.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 9 | impl ArgParser { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn get_int(&self, key: &str) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_int` is never used [INFO] [stdout] --> src/arg_parser.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 9 | impl ArgParser { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn get_int(&self, key: &str) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/game.rs:4:6 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Room { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 4 | pub id: String [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/game.rs:4:6 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Room { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 4 | pub id: String [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Joined` is never constructed [INFO] [stdout] --> src/game.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Joined { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Joined` is never constructed [INFO] [stdout] --> src/game.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Joined { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `index` is never read [INFO] [stdout] --> src/game.rs:65:6 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct Field { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 64 | pub field_type: String, [INFO] [stdout] 65 | pub index: i32 [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `index` is never read [INFO] [stdout] --> src/game.rs:65:6 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct Field { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 64 | pub field_type: String, [INFO] [stdout] 65 | pub index: i32 [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `as_joined`, `get_attributes`, and `get_childs` are never used [INFO] [stdout] --> src/xml_utils.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 20 | impl XMLNode { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn as_joined(&self) -> Joined { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 152 | pub fn get_attributes(&self) -> &HashMap> { return &self.attribs; } [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 168 | pub fn get_childs(&self) -> &Vec { return &self.childs; } [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LEVEL_NONE` is never used [INFO] [stdout] --> src/logger.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | const LEVEL_NONE: i32 = 100; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `as_joined`, `get_attributes`, and `get_childs` are never used [INFO] [stdout] --> src/xml_utils.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 20 | impl XMLNode { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn as_joined(&self) -> Joined { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 152 | pub fn get_attributes(&self) -> &HashMap> { return &self.attribs; } [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 168 | pub fn get_childs(&self) -> &Vec { return &self.childs; } [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LEVEL_WARN` is never used [INFO] [stdout] --> src/logger.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | const LEVEL_WARN: i32 = 1; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LEVEL_INFO` is never used [INFO] [stdout] --> src/logger.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const LEVEL_INFO: i32 = 0; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LEVEL_NONE` is never used [INFO] [stdout] --> src/logger.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | const LEVEL_NONE: i32 = 100; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LEVEL_DEBUG` is never used [INFO] [stdout] --> src/logger.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | const LEVEL_DEBUG: i32 = -1; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LEVEL_WARN` is never used [INFO] [stdout] --> src/logger.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | const LEVEL_WARN: i32 = 1; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LEVEL_VERY_DEEP_TRACE` is never used [INFO] [stdout] --> src/logger.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const LEVEL_VERY_DEEP_TRACE: i32 = -4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LEVEL_INFO` is never used [INFO] [stdout] --> src/logger.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const LEVEL_INFO: i32 = 0; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LEVEL_DEBUG` is never used [INFO] [stdout] --> src/logger.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | const LEVEL_DEBUG: i32 = -1; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `warn`, `info`, `debug`, and `very_deep_trace` are never used [INFO] [stdout] --> src/logger.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 14 | impl Logger { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn warn(&self, msg: F) where F: Fn() -> String { self.log("[WARN] ", msg, LEVEL_WARN); } [INFO] [stdout] | ^^^^ [INFO] [stdout] 24 | [INFO] [stdout] 25 | pub fn info(&self, msg: F) where F: Fn() -> String { self.log("[INFO] ", msg, LEVEL_INFO); } [INFO] [stdout] | ^^^^ [INFO] [stdout] 26 | [INFO] [stdout] 27 | pub fn debug(&self, msg: F) where F: Fn() -> String { self.log("[DEBUG] ", msg, LEVEL_DEBUG); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn very_deep_trace(&self, msg: F) where F: Fn() -> String { self.log("[V_DEEP_TRACE]", msg, LEVEL_VERY_DEEP_TRACE); } [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LEVEL_VERY_DEEP_TRACE` is never used [INFO] [stdout] --> src/logger.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const LEVEL_VERY_DEEP_TRACE: i32 = -4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `warn`, `info`, `debug`, and `very_deep_trace` are never used [INFO] [stdout] --> src/logger.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 14 | impl Logger { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn warn(&self, msg: F) where F: Fn() -> String { self.log("[WARN] ", msg, LEVEL_WARN); } [INFO] [stdout] | ^^^^ [INFO] [stdout] 24 | [INFO] [stdout] 25 | pub fn info(&self, msg: F) where F: Fn() -> String { self.log("[INFO] ", msg, LEVEL_INFO); } [INFO] [stdout] | ^^^^ [INFO] [stdout] 26 | [INFO] [stdout] 27 | pub fn debug(&self, msg: F) where F: Fn() -> String { self.log("[DEBUG] ", msg, LEVEL_DEBUG); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn very_deep_trace(&self, msg: F) where F: Fn() -> String { self.log("[V_DEEP_TRACE]", msg, LEVEL_VERY_DEEP_TRACE); } [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.39s [INFO] running `Command { std: "docker" "inspect" "e097484f6ffe67d003758cb4796728925c502d2f405030a3401b8effcc9ef204", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e097484f6ffe67d003758cb4796728925c502d2f405030a3401b8effcc9ef204", kill_on_drop: false }` [INFO] [stdout] e097484f6ffe67d003758cb4796728925c502d2f405030a3401b8effcc9ef204