[INFO] cloning repository https://github.com/Lucas-thullier/character_creator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Lucas-thullier/character_creator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLucas-thullier%2Fcharacter_creator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLucas-thullier%2Fcharacter_creator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] de8821e9f8f1802b6c5f9ce3bffc8cf1c42948c3 [INFO] checking Lucas-thullier/character_creator against master#bca37a20bd376ce3fd138e7cdee7fe704e0f8814 for pr-139493-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLucas-thullier%2Fcharacter_creator" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Lucas-thullier/character_creator [INFO] finished tweaking git repo https://github.com/Lucas-thullier/character_creator [INFO] tweaked toml for git repo https://github.com/Lucas-thullier/character_creator written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Lucas-thullier/character_creator on toolchain bca37a20bd376ce3fd138e7cdee7fe704e0f8814 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Lucas-thullier/character_creator 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" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded failure_derive v0.1.8 [INFO] [stderr] Downloaded dotenv v0.14.1 [INFO] [stderr] Downloaded synstructure v0.12.6 [INFO] [stderr] Downloaded failure v0.1.8 [INFO] [stderr] Downloaded addr2line v0.17.0 [INFO] [stderr] Downloaded rustc-demangle v0.1.21 [INFO] [stderr] Downloaded backtrace v0.3.63 [INFO] [stderr] Downloaded syn v1.0.81 [INFO] [stderr] Downloaded object v0.27.1 [INFO] [stderr] Downloaded serde_json v1.0.69 [INFO] [stderr] Downloaded gimli v0.26.1 [INFO] [stderr] Downloaded libc v0.2.107 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2005ea06e47d11d2ca06baab33d94e15ce46b6a35ab5ff3305108cc382418616 [INFO] running `Command { std: "docker" "start" "-a" "2005ea06e47d11d2ca06baab33d94e15ce46b6a35ab5ff3305108cc382418616", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2005ea06e47d11d2ca06baab33d94e15ce46b6a35ab5ff3305108cc382418616", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2005ea06e47d11d2ca06baab33d94e15ce46b6a35ab5ff3305108cc382418616", kill_on_drop: false }` [INFO] [stdout] 2005ea06e47d11d2ca06baab33d94e15ce46b6a35ab5ff3305108cc382418616 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0cd4f9d9b8624310172f92d35ab06faf49e3922d4c700bce69fc586aa928557f [INFO] running `Command { std: "docker" "start" "-a" "0cd4f9d9b8624310172f92d35ab06faf49e3922d4c700bce69fc586aa928557f", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling libc v0.2.107 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Checking gimli v0.26.1 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking object v0.27.1 [INFO] [stderr] Checking rustc-demangle v0.1.21 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling serde_json v1.0.69 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Compiling backtrace v0.3.63 [INFO] [stderr] Checking addr2line v0.17.0 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking dotenv v0.14.1 [INFO] [stderr] Checking character_creator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: found module declaration for lib.rs [INFO] [stdout] --> src/main.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | mod lib; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: lib.rs is the root of this crate's library target [INFO] [stdout] = help: to refer to it from other targets, use the library's name as the path [INFO] [stdout] = note: `#[warn(special_module_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: found module declaration for lib.rs [INFO] [stdout] --> src/main.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | mod lib; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: lib.rs is the root of this crate's library target [INFO] [stdout] = help: to refer to it from other targets, use the library's name as the path [INFO] [stdout] = note: `#[warn(special_module_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `character` [INFO] [stdout] --> src/lib/knowledge.rs:164:29 [INFO] [stdout] | [INFO] [stdout] 164 | fn apply_modifiers(&self, character: &mut Character) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_character` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `equipments`, `spells`, and `features` are never read [INFO] [stdout] --> src/lib/knowledge.rs:128:3 [INFO] [stdout] | [INFO] [stdout] 124 | struct ClassModifiers { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 128 | equipments: HashMap>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 129 | spells: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 130 | features: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ClassModifiers` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `proficiencies`, `equipments`, and `features` are never read [INFO] [stdout] --> src/lib/knowledge.rs:158:3 [INFO] [stdout] | [INFO] [stdout] 157 | struct BackgroundModifiers { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 158 | proficiencies: HashMap>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 159 | equipments: HashMap>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 160 | features: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BackgroundModifiers` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/lib/knowledge.rs:180:7 [INFO] [stdout] | [INFO] [stdout] 179 | pub struct Character { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 180 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 181 | pub age: u64, [INFO] [stdout] | ^^^ [INFO] [stdout] 182 | pub background: String, [INFO] [stdout] 183 | pub alignment: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 186 | pub level: u64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 187 | pub experience: u64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | pub skills: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 193 | pub armor_class: ArmorClass, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 197 | pub proficiency_bonus: i16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Character` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `natural_value` and `temporary_modifier` are never read [INFO] [stdout] --> src/lib/knowledge.rs:265:3 [INFO] [stdout] | [INFO] [stdout] 264 | pub struct Ability { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 265 | natural_value: i16, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 266 | race_modifier: i16, [INFO] [stdout] 267 | temporary_modifier: i16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Ability` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `character` [INFO] [stdout] --> src/lib/knowledge.rs:164:29 [INFO] [stdout] | [INFO] [stdout] 164 | fn apply_modifiers(&self, character: &mut Character) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_character` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `value` is never used [INFO] [stdout] --> src/lib/knowledge.rs:271:10 [INFO] [stdout] | [INFO] [stdout] 270 | impl Ability { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 271 | pub fn value(&self) -> i16 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HitPoint` is never constructed [INFO] [stdout] --> src/lib/knowledge.rs:287:12 [INFO] [stdout] | [INFO] [stdout] 287 | pub struct HitPoint {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `equipments`, `spells`, and `features` are never read [INFO] [stdout] --> src/lib/knowledge.rs:128:3 [INFO] [stdout] | [INFO] [stdout] 124 | struct ClassModifiers { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 128 | equipments: HashMap>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 129 | spells: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 130 | features: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ClassModifiers` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `proficiencies`, `equipments`, and `features` are never read [INFO] [stdout] --> src/lib/knowledge.rs:158:3 [INFO] [stdout] | [INFO] [stdout] 157 | struct BackgroundModifiers { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 158 | proficiencies: HashMap>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 159 | equipments: HashMap>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 160 | features: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BackgroundModifiers` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/lib/knowledge.rs:180:7 [INFO] [stdout] | [INFO] [stdout] 179 | pub struct Character { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 180 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 181 | pub age: u64, [INFO] [stdout] | ^^^ [INFO] [stdout] 182 | pub background: String, [INFO] [stdout] 183 | pub alignment: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 186 | pub level: u64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 187 | pub experience: u64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | pub skills: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 193 | pub armor_class: ArmorClass, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 197 | pub proficiency_bonus: i16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Character` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `natural_value` and `temporary_modifier` are never read [INFO] [stdout] --> src/lib/knowledge.rs:265:3 [INFO] [stdout] | [INFO] [stdout] 264 | pub struct Ability { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 265 | natural_value: i16, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 266 | race_modifier: i16, [INFO] [stdout] 267 | temporary_modifier: i16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Ability` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `value` is never used [INFO] [stdout] --> src/lib/knowledge.rs:271:10 [INFO] [stdout] | [INFO] [stdout] 270 | impl Ability { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 271 | pub fn value(&self) -> i16 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HitPoint` is never constructed [INFO] [stdout] --> src/lib/knowledge.rs:287:12 [INFO] [stdout] | [INFO] [stdout] 287 | pub struct HitPoint {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.04s [INFO] running `Command { std: "docker" "inspect" "0cd4f9d9b8624310172f92d35ab06faf49e3922d4c700bce69fc586aa928557f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0cd4f9d9b8624310172f92d35ab06faf49e3922d4c700bce69fc586aa928557f", kill_on_drop: false }` [INFO] [stdout] 0cd4f9d9b8624310172f92d35ab06faf49e3922d4c700bce69fc586aa928557f