[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#8321f00bf4a5f25cad5ec8861c5469afe6e0ce8b for pr-133925 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjkasalt%2Fwfdmgcalc" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jkasalt/wfdmgcalc on toolchain 8321f00bf4a5f25cad5ec8861c5469afe6e0ce8b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8321f00bf4a5f25cad5ec8861c5469afe6e0ce8b" "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-2-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" "+8321f00bf4a5f25cad5ec8861c5469afe6e0ce8b" "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-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+8321f00bf4a5f25cad5ec8861c5469afe6e0ce8b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 83dd5b4e3f8d312e095ad47217ce9f29a675c844ea5c75ad90e153953fd1e9da [INFO] running `Command { std: "docker" "start" "-a" "83dd5b4e3f8d312e095ad47217ce9f29a675c844ea5c75ad90e153953fd1e9da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "83dd5b4e3f8d312e095ad47217ce9f29a675c844ea5c75ad90e153953fd1e9da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83dd5b4e3f8d312e095ad47217ce9f29a675c844ea5c75ad90e153953fd1e9da", kill_on_drop: false }` [INFO] [stdout] 83dd5b4e3f8d312e095ad47217ce9f29a675c844ea5c75ad90e153953fd1e9da [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+8321f00bf4a5f25cad5ec8861c5469afe6e0ce8b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7074d3e62e1fdf537e3e17d528f572c6e564cc2679d45b8ebd41ec216663e852 [INFO] running `Command { std: "docker" "start" "-a" "7074d3e62e1fdf537e3e17d528f572c6e564cc2679d45b8ebd41ec216663e852", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling fnv v1.0.7 [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 10.18s [INFO] running `Command { std: "docker" "inspect" "7074d3e62e1fdf537e3e17d528f572c6e564cc2679d45b8ebd41ec216663e852", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7074d3e62e1fdf537e3e17d528f572c6e564cc2679d45b8ebd41ec216663e852", kill_on_drop: false }` [INFO] [stdout] 7074d3e62e1fdf537e3e17d528f572c6e564cc2679d45b8ebd41ec216663e852