[INFO] cloning repository https://github.com/jkasalt/wfdmgcalc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jkasalt/wfdmgcalc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjkasalt%2Fwfdmgcalc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjkasalt%2Fwfdmgcalc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5f3553abb0627bede7d00c3484602c0dcd3a627a [INFO] checking jkasalt/wfdmgcalc against master#8e37e151835d96d6a7415e93e6876561485a3354 for pr-134218 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjkasalt%2Fwfdmgcalc" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jkasalt/wfdmgcalc on toolchain 8e37e151835d96d6a7415e93e6876561485a3354 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8e37e151835d96d6a7415e93e6876561485a3354" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jkasalt/wfdmgcalc [INFO] finished tweaking git repo https://github.com/jkasalt/wfdmgcalc [INFO] tweaked toml for git repo https://github.com/jkasalt/wfdmgcalc written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/jkasalt/wfdmgcalc 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" "+8e37e151835d96d6a7415e93e6876561485a3354" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+8e37e151835d96d6a7415e93e6876561485a3354" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ea00de2a07bb798b8ffe3c778c6a594086ac0b33a1ad821a186cb65129653b7e [INFO] running `Command { std: "docker" "start" "-a" "ea00de2a07bb798b8ffe3c778c6a594086ac0b33a1ad821a186cb65129653b7e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ea00de2a07bb798b8ffe3c778c6a594086ac0b33a1ad821a186cb65129653b7e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea00de2a07bb798b8ffe3c778c6a594086ac0b33a1ad821a186cb65129653b7e", kill_on_drop: false }` [INFO] [stdout] ea00de2a07bb798b8ffe3c778c6a594086ac0b33a1ad821a186cb65129653b7e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+8e37e151835d96d6a7415e93e6876561485a3354" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 939eac3b0f15af197e05ccd5c8a9bb86c8819076b68e2c7968aa75ecd6c96878 [INFO] running `Command { std: "docker" "start" "-a" "939eac3b0f15af197e05ccd5c8a9bb86c8819076b68e2c7968aa75ecd6c96878", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.89 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling derive_builder_core v0.20.2 [INFO] [stderr] Compiling derive_builder_macro v0.20.2 [INFO] [stderr] Checking derive_builder v0.20.2 [INFO] [stderr] Checking wfdmgcalc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Deref` [INFO] [stdout] --> src/lib.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | ops::{Deref, Index}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `derive_builder::Builder` [INFO] [stdout] --> src/lib.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use derive_builder::Builder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Deref` [INFO] [stdout] --> src/lib.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | ops::{Deref, Index}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `derive_builder::Builder` [INFO] [stdout] --> src/lib.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use derive_builder::Builder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bonus` [INFO] [stdout] --> src/lib.rs:108:27 [INFO] [stdout] | [INFO] [stdout] 108 | fn apply_bonus(&self, bonus: Bonus) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bonus` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/lib.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | enum DamageType { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 10 | Impact, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 11 | Puncture, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 12 | Slash, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 13 | Cold, [INFO] [stdout] | ^^^^ [INFO] [stdout] 14 | Electricity, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 15 | Heat, [INFO] [stdout] | ^^^^ [INFO] [stdout] 16 | Toxin, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 17 | Blast, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 18 | Corrosive, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 19 | Gas, [INFO] [stdout] | ^^^ [INFO] [stdout] 20 | Magnetic, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 21 | Radiation, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 22 | Viral, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DamageType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `total`, `scale`, `round`, and `scaled` are never used [INFO] [stdout] --> src/lib.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 54 | impl DamageSet { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 55 | pub fn total(&self) -> f32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | fn scale(&self) -> f32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | fn round(&self, damage: f32) -> f32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn scaled(&self) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `damage`, `multishot`, `crit_chance`, `crit_multi`, `status_chance`, and `fire_rate` are never read [INFO] [stdout] --> src/lib.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 78 | struct Weapon { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 79 | damage: DamageSet, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 80 | multishot: f32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 81 | crit_chance: f32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 82 | crit_multi: f32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 83 | status_chance: f32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 84 | fire_rate: f32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `dps` and `apply_bonus` are never used [INFO] [stdout] --> src/lib.rs:101:8 [INFO] [stdout] | [INFO] [stdout] 100 | impl Weapon { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] 101 | fn dps(&self) -> f32 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | fn apply_bonus(&self, bonus: Bonus) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Bonus` is never used [INFO] [stdout] --> src/lib.rs:113:6 [INFO] [stdout] | [INFO] [stdout] 113 | enum Bonus { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bonus` [INFO] [stdout] --> src/lib.rs:108:27 [INFO] [stdout] | [INFO] [stdout] 108 | fn apply_bonus(&self, bonus: Bonus) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bonus` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/lib.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 9 | enum DamageType { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 13 | Cold, [INFO] [stdout] | ^^^^ [INFO] [stdout] 14 | Electricity, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 15 | Heat, [INFO] [stdout] | ^^^^ [INFO] [stdout] 16 | Toxin, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 17 | Blast, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 18 | Corrosive, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 19 | Gas, [INFO] [stdout] | ^^^ [INFO] [stdout] 20 | Magnetic, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 21 | Radiation, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 22 | Viral, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DamageType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `status_chance` is never read [INFO] [stdout] --> src/lib.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 78 | struct Weapon { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 83 | status_chance: f32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:114:10 [INFO] [stdout] | [INFO] [stdout] 114 | Cold(f32), [INFO] [stdout] | ---- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 114 | Cold(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.98s [INFO] running `Command { std: "docker" "inspect" "939eac3b0f15af197e05ccd5c8a9bb86c8819076b68e2c7968aa75ecd6c96878", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "939eac3b0f15af197e05ccd5c8a9bb86c8819076b68e2c7968aa75ecd6c96878", kill_on_drop: false }` [INFO] [stdout] 939eac3b0f15af197e05ccd5c8a9bb86c8819076b68e2c7968aa75ecd6c96878