[INFO] cloning repository https://github.com/mathiversen/debt_calculator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mathiversen/debt_calculator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmathiversen%2Fdebt_calculator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmathiversen%2Fdebt_calculator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d9cc36ff311876d81d0f1216ea091f390f5e2e99 [INFO] checking mathiversen/debt_calculator/d9cc36ff311876d81d0f1216ea091f390f5e2e99 against master#c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3 for pr-141352 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmathiversen%2Fdebt_calculator" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mathiversen/debt_calculator on toolchain c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mathiversen/debt_calculator [INFO] finished tweaking git repo https://github.com/mathiversen/debt_calculator [INFO] tweaked toml for git repo https://github.com/mathiversen/debt_calculator written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/mathiversen/debt_calculator 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" "+c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: package.licence [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded Lotus v0.2.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1b998cec69980e95575088091a53c8c1289afbf4d5dbcf3a70016fff907dafc8 [INFO] running `Command { std: "docker" "start" "-a" "1b998cec69980e95575088091a53c8c1289afbf4d5dbcf3a70016fff907dafc8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1b998cec69980e95575088091a53c8c1289afbf4d5dbcf3a70016fff907dafc8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b998cec69980e95575088091a53c8c1289afbf4d5dbcf3a70016fff907dafc8", kill_on_drop: false }` [INFO] [stdout] 1b998cec69980e95575088091a53c8c1289afbf4d5dbcf3a70016fff907dafc8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 096c9a65d37129c95457bdc31e83ba7ca69248d93af79106c332d4e0ce9babde [INFO] running `Command { std: "docker" "start" "-a" "096c9a65d37129c95457bdc31e83ba7ca69248d93af79106c332d4e0ce9babde", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: package.licence [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling syn v1.0.8 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking unicode-width v0.1.6 [INFO] [stderr] Compiling derive_builder v0.7.2 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling num-traits v0.2.10 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking atty v0.2.13 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking chrono v0.4.10 [INFO] [stderr] Compiling proc-macro-error v0.2.6 [INFO] [stderr] Compiling structopt-derive v0.3.5 [INFO] [stderr] Compiling darling_core v0.9.0 [INFO] [stderr] Checking structopt v0.3.5 [INFO] [stderr] Compiling darling_macro v0.9.0 [INFO] [stderr] Compiling darling v0.9.0 [INFO] [stderr] Compiling derive_builder_core v0.5.0 [INFO] [stderr] Checking Lotus v0.2.1 [INFO] [stderr] Checking debt_calculator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `id`, `interest_npv`, `month`, and `year` are never read [INFO] [stdout] --> src/cli.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Payment { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 32 | pub amortization: u32, [INFO] [stdout] 33 | pub id: u32, [INFO] [stdout] | ^^ [INFO] [stdout] 34 | pub interest_npv: f32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 35 | pub interest: f32, [INFO] [stdout] 36 | pub month: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 37 | pub year: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Payment` has a derived impl for the trait `Debug`, 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: associated function `new` is never used [INFO] [stdout] --> src/cli.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 71 | impl Calculator { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 72 | pub fn new(interest: f32, discount_rate: f32, loan: u32, amortization: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `interest_npv`, `month`, and `year` are never read [INFO] [stdout] --> src/cli.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Payment { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 32 | pub amortization: u32, [INFO] [stdout] 33 | pub id: u32, [INFO] [stdout] | ^^ [INFO] [stdout] 34 | pub interest_npv: f32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 35 | pub interest: f32, [INFO] [stdout] 36 | pub month: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 37 | pub year: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Payment` has a derived impl for the trait `Debug`, 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: associated function `new` is never used [INFO] [stdout] --> src/cli.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 71 | impl Calculator { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 72 | pub fn new(interest: f32, discount_rate: f32, loan: u32, amortization: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.94s [INFO] running `Command { std: "docker" "inspect" "096c9a65d37129c95457bdc31e83ba7ca69248d93af79106c332d4e0ce9babde", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "096c9a65d37129c95457bdc31e83ba7ca69248d93af79106c332d4e0ce9babde", kill_on_drop: false }` [INFO] [stdout] 096c9a65d37129c95457bdc31e83ba7ca69248d93af79106c332d4e0ce9babde