[INFO] cloning repository https://github.com/matindi/check_generic_types [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/matindi/check_generic_types" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatindi%2Fcheck_generic_types", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatindi%2Fcheck_generic_types'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 66c40f9db01c966984ca66e12ba607a016f7ac9b [INFO] checking matindi/check_generic_types against master#a932eb36f8adf6c8cdfc450f063943da3112d621 for pr-140209-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatindi%2Fcheck_generic_types" "/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/matindi/check_generic_types on toolchain a932eb36f8adf6c8cdfc450f063943da3112d621 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a932eb36f8adf6c8cdfc450f063943da3112d621" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/matindi/check_generic_types [INFO] finished tweaking git repo https://github.com/matindi/check_generic_types [INFO] tweaked toml for git repo https://github.com/matindi/check_generic_types written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/matindi/check_generic_types 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" "+a932eb36f8adf6c8cdfc450f063943da3112d621" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rust_decimal_macros v1.25.0 [INFO] [stderr] Downloaded rust_decimal v1.25.0 [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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+a932eb36f8adf6c8cdfc450f063943da3112d621" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1c6e83dec8059ef671bc41f82800df86507dd91ed988ad891ba00533b7f05055 [INFO] running `Command { std: "docker" "start" "-a" "1c6e83dec8059ef671bc41f82800df86507dd91ed988ad891ba00533b7f05055", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1c6e83dec8059ef671bc41f82800df86507dd91ed988ad891ba00533b7f05055", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c6e83dec8059ef671bc41f82800df86507dd91ed988ad891ba00533b7f05055", kill_on_drop: false }` [INFO] [stdout] 1c6e83dec8059ef671bc41f82800df86507dd91ed988ad891ba00533b7f05055 [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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+a932eb36f8adf6c8cdfc450f063943da3112d621" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6051090838aa07fc862152c1e613d704b0759f30ab7433fd8616c65ca8bc9144 [INFO] running `Command { std: "docker" "start" "-a" "6051090838aa07fc862152c1e613d704b0759f30ab7433fd8616c65ca8bc9144", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling rust_decimal v1.25.0 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling rust_decimal_macros v1.25.0 [INFO] [stderr] Checking floats v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `rust_decimal_macros::dec` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rust_decimal_macros::dec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Loan` is never constructed [INFO] [stdout] --> src/main.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct Loan { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `LoanType` is never used [INFO] [stdout] --> src/main.rs:14:6 [INFO] [stdout] | [INFO] [stdout] 14 | enum LoanType { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `LoanObjective` is never used [INFO] [stdout] --> src/main.rs:19:6 [INFO] [stdout] | [INFO] [stdout] 19 | enum LoanObjective { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `CalculateLoan` is never used [INFO] [stdout] --> src/main.rs:25:7 [INFO] [stdout] | [INFO] [stdout] 25 | trait CalculateLoan { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `loan_type`, `loan_objective`, `loan_amount`, `loan_period`, and `present_value` are never read [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | struct Loan { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 6 | loan_type: LoanType, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 7 | loan_objective: LoanObjective, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 8 | interest_rate: T, [INFO] [stdout] 9 | loan_amount: T, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 10 | loan_period: T, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 11 | present_value: T, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Serial` is never constructed [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 14 | enum LoanType { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] 15 | Anniuty, [INFO] [stdout] 16 | Serial, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Housing` and `Consumer` are never constructed [INFO] [stdout] --> src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 19 | enum LoanObjective { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] 20 | Car, [INFO] [stdout] 21 | Housing, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 22 | Consumer, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.37s [INFO] running `Command { std: "docker" "inspect" "6051090838aa07fc862152c1e613d704b0759f30ab7433fd8616c65ca8bc9144", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6051090838aa07fc862152c1e613d704b0759f30ab7433fd8616c65ca8bc9144", kill_on_drop: false }` [INFO] [stdout] 6051090838aa07fc862152c1e613d704b0759f30ab7433fd8616c65ca8bc9144