[INFO] cloning repository https://github.com/optifat/text_rpg_game [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/optifat/text_rpg_game" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foptifat%2Ftext_rpg_game", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foptifat%2Ftext_rpg_game'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d984a5a69e263f43494cb91d884252b841f7ecdc [INFO] checking optifat/text_rpg_game against master#dfd7b8d03fb93d0e03147d28b3be6d93260fa94d for pr-87050 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foptifat%2Ftext_rpg_game" "/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/optifat/text_rpg_game on toolchain dfd7b8d03fb93d0e03147d28b3be6d93260fa94d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/optifat/text_rpg_game [INFO] finished tweaking git repo https://github.com/optifat/text_rpg_game [INFO] tweaked toml for git repo https://github.com/optifat/text_rpg_game written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/optifat/text_rpg_game already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d521e63c53723436cb30410166cbaa6f48db2f3351653d6864bf50d9732e0182 [INFO] running `Command { std: "docker" "start" "-a" "d521e63c53723436cb30410166cbaa6f48db2f3351653d6864bf50d9732e0182", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d521e63c53723436cb30410166cbaa6f48db2f3351653d6864bf50d9732e0182", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d521e63c53723436cb30410166cbaa6f48db2f3351653d6864bf50d9732e0182", kill_on_drop: false }` [INFO] [stdout] d521e63c53723436cb30410166cbaa6f48db2f3351653d6864bf50d9732e0182 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 07fcbb0a3efe965782f9427a4b31cb8c76038e49e2c6830575fa43f1545f7168 [INFO] running `Command { std: "docker" "start" "-a" "07fcbb0a3efe965782f9427a4b31cb8c76038e49e2c6830575fa43f1545f7168", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking text_rpg_game v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::npc` [INFO] [stdout] --> src/main_hero.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::npc; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::npc` [INFO] [stdout] --> src/location.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::npc; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::npc` [INFO] [stdout] --> src/main_hero.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::npc; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::npc` [INFO] [stdout] --> src/location.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::npc; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `intelligence` [INFO] [stdout] --> src/main_hero.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | intelligence: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `charisma` [INFO] [stdout] --> src/main_hero.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | charisma: u8, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `health` [INFO] [stdout] --> src/main_hero.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | health: i16, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `tiredness` [INFO] [stdout] --> src/main_hero.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | tiredness: i16 [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `race` [INFO] [stdout] --> src/npc.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | race: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `has_quest` [INFO] [stdout] --> src/npc.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | has_quest: bool [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Location` [INFO] [stdout] --> src/location.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct Location { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/location.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new(name: String, loc_type: String, characters: Vec) -> Location{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Spacecraft` [INFO] [stdout] --> src/spacecraft.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Spacecraft { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/spacecraft.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(name: String, hp: u16, shields: u16, firepower: u16, speed: u16, max_fuel: u16) -> Spacecraft{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `take_damage` [INFO] [stdout] --> src/spacecraft.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn take_damage(&mut self, damage: u16){ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Shepard` should have a snake case name [INFO] [stdout] --> src/main.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let Shepard = npc::NPC::new("Commander Shepard".to_string(), "Human".to_string(), false); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `shepard` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `interact_with_NPC` should have a snake case name [INFO] [stdout] --> src/main_hero.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn interact_with_NPC(&mut self, npc: crate::npc::NPC){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `interact_with_npc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `intelligence` [INFO] [stdout] --> src/main_hero.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | intelligence: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `charisma` [INFO] [stdout] --> src/main_hero.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | charisma: u8, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `health` [INFO] [stdout] --> src/main_hero.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | health: i16, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `tiredness` [INFO] [stdout] --> src/main_hero.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | tiredness: i16 [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `race` [INFO] [stdout] --> src/npc.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | race: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `has_quest` [INFO] [stdout] --> src/npc.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | has_quest: bool [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Location` [INFO] [stdout] --> src/location.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct Location { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/location.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new(name: String, loc_type: String, characters: Vec) -> Location{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Spacecraft` [INFO] [stdout] --> src/spacecraft.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Spacecraft { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/spacecraft.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(name: String, hp: u16, shields: u16, firepower: u16, speed: u16, max_fuel: u16) -> Spacecraft{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `take_damage` [INFO] [stdout] --> src/spacecraft.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn take_damage(&mut self, damage: u16){ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Shepard` should have a snake case name [INFO] [stdout] --> src/main.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let Shepard = npc::NPC::new("Commander Shepard".to_string(), "Human".to_string(), false); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `shepard` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `interact_with_NPC` should have a snake case name [INFO] [stdout] --> src/main_hero.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn interact_with_NPC(&mut self, npc: crate::npc::NPC){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `interact_with_npc` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.40s [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "07fcbb0a3efe965782f9427a4b31cb8c76038e49e2c6830575fa43f1545f7168", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07fcbb0a3efe965782f9427a4b31cb8c76038e49e2c6830575fa43f1545f7168", kill_on_drop: false }` [INFO] [stdout] 07fcbb0a3efe965782f9427a4b31cb8c76038e49e2c6830575fa43f1545f7168