[INFO] cloning repository https://github.com/Payathp/text-adventure [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Payathp/text-adventure" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPayathp%2Ftext-adventure", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPayathp%2Ftext-adventure'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 15342f7159d7024a6e3186bebf4dd84c944977ee [INFO] checking Payathp/text-adventure against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPayathp%2Ftext-adventure" "/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/Payathp/text-adventure on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Payathp/text-adventure [INFO] finished tweaking git repo https://github.com/Payathp/text-adventure [INFO] tweaked toml for git repo https://github.com/Payathp/text-adventure written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/Payathp/text-adventure already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7c02feb6b393eed4195f3871b6d205884a36f193d14668ed10a7ea4bbc477d4c [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" "7c02feb6b393eed4195f3871b6d205884a36f193d14668ed10a7ea4bbc477d4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7c02feb6b393eed4195f3871b6d205884a36f193d14668ed10a7ea4bbc477d4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c02feb6b393eed4195f3871b6d205884a36f193d14668ed10a7ea4bbc477d4c", kill_on_drop: false }` [INFO] [stdout] 7c02feb6b393eed4195f3871b6d205884a36f193d14668ed10a7ea4bbc477d4c [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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8cdb9e6fd0f1f92a3dfbe90b0f7e16c642ff2842ba897514734346e0d4d10a4c [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" "8cdb9e6fd0f1f92a3dfbe90b0f7e16c642ff2842ba897514734346e0d4d10a4c", kill_on_drop: false }` [INFO] [stderr] Checking text-adventure v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `enemies` [INFO] [stdout] --> src/player.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use enemies; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `enemies` [INFO] [stdout] --> src/player.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use enemies; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `victory` [INFO] [stdout] --> src/player.rs:19:66 [INFO] [stdout] | [INFO] [stdout] 19 | fn new(inventory: Vec, hp: i32, x: i32, y: i32, victory: bool) -> Player [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_victory` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `action_method` [INFO] [stdout] --> src/player.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | let mut action_method = actions::Action::identify_action_with_enemies(action, self, map); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_action_method` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/player.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | let mut action_method = actions::Action::identify_action_with_enemies(action, self, map); [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/game.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | let mut current_room = &mut world::tile_exists(&map, current_player.position.x, current_player.position.y).unwrap().clone(); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_name` [INFO] [stdout] --> src/tiles.rs:194:12 [INFO] [stdout] | [INFO] [stdout] 194 | pub fn get_name(&self) -> &'static str [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: `not_empty_tile` [INFO] [stdout] --> src/tiles.rs:199:12 [INFO] [stdout] | [INFO] [stdout] 199 | pub fn not_empty_tile(&self) -> bool [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_rock` [INFO] [stdout] --> src/items.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn new_rock() -> Item [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_damage` [INFO] [stdout] --> src/items.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn get_damage(&self) -> i32 [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_ogre` [INFO] [stdout] --> src/enemies.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn new_ogre() -> Enemy [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_name` [INFO] [stdout] --> src/enemies.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn get_name<'a>(&self) -> &'a str [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `current_position` [INFO] [stdout] --> src/player.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn current_position(&self) -> &tiles::Position [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `do_action` [INFO] [stdout] --> src/player.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn do_action<'a>(&mut self, map: &mut Vec, action: &'a str) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `victory` [INFO] [stdout] --> src/player.rs:19:66 [INFO] [stdout] | [INFO] [stdout] 19 | fn new(inventory: Vec, hp: i32, x: i32, y: i32, victory: bool) -> Player [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_victory` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `action_method` [INFO] [stdout] --> src/player.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | let mut action_method = actions::Action::identify_action_with_enemies(action, self, map); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_action_method` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/player.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | let mut action_method = actions::Action::identify_action_with_enemies(action, self, map); [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/game.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | let mut current_room = &mut world::tile_exists(&map, current_player.position.x, current_player.position.y).unwrap().clone(); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_name` [INFO] [stdout] --> src/tiles.rs:194:12 [INFO] [stdout] | [INFO] [stdout] 194 | pub fn get_name(&self) -> &'static str [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: `not_empty_tile` [INFO] [stdout] --> src/tiles.rs:199:12 [INFO] [stdout] | [INFO] [stdout] 199 | pub fn not_empty_tile(&self) -> bool [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_rock` [INFO] [stdout] --> src/items.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn new_rock() -> Item [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_damage` [INFO] [stdout] --> src/items.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn get_damage(&self) -> i32 [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_ogre` [INFO] [stdout] --> src/enemies.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn new_ogre() -> Enemy [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_name` [INFO] [stdout] --> src/enemies.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn get_name<'a>(&self) -> &'a str [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `current_position` [INFO] [stdout] --> src/player.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn current_position(&self) -> &tiles::Position [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `do_action` [INFO] [stdout] --> src/player.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn do_action<'a>(&mut self, map: &mut Vec, action: &'a str) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.53s [INFO] running `Command { std: "docker" "inspect" "8cdb9e6fd0f1f92a3dfbe90b0f7e16c642ff2842ba897514734346e0d4d10a4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8cdb9e6fd0f1f92a3dfbe90b0f7e16c642ff2842ba897514734346e0d4d10a4c", kill_on_drop: false }` [INFO] [stdout] 8cdb9e6fd0f1f92a3dfbe90b0f7e16c642ff2842ba897514734346e0d4d10a4c