[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 master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [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 a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", 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" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 099cdd79c1d24af8cb41a86fd3ea3075a452a2ef2dc867180d2f15dab846c74e [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" "099cdd79c1d24af8cb41a86fd3ea3075a452a2ef2dc867180d2f15dab846c74e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "099cdd79c1d24af8cb41a86fd3ea3075a452a2ef2dc867180d2f15dab846c74e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "099cdd79c1d24af8cb41a86fd3ea3075a452a2ef2dc867180d2f15dab846c74e", kill_on_drop: false }` [INFO] [stdout] 099cdd79c1d24af8cb41a86fd3ea3075a452a2ef2dc867180d2f15dab846c74e [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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f7d1cb8fd907f3389f45b90a93957e3e042acac2aeb20e7009718f40ba1811e4 [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" "f7d1cb8fd907f3389f45b90a93957e3e042acac2aeb20e7009718f40ba1811e4", 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] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.46s [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f7d1cb8fd907f3389f45b90a93957e3e042acac2aeb20e7009718f40ba1811e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7d1cb8fd907f3389f45b90a93957e3e042acac2aeb20e7009718f40ba1811e4", kill_on_drop: false }` [INFO] [stdout] f7d1cb8fd907f3389f45b90a93957e3e042acac2aeb20e7009718f40ba1811e4