[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#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatindi%2Fcheck_generic_types" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/matindi/check_generic_types on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "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-6-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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rust_decimal_macros v1.25.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 35a37bad07e8ca3cf2fef78c2d3647020112957aa24d46cb6896ee887bffa604 [INFO] running `Command { std: "docker" "start" "-a" "35a37bad07e8ca3cf2fef78c2d3647020112957aa24d46cb6896ee887bffa604", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "35a37bad07e8ca3cf2fef78c2d3647020112957aa24d46cb6896ee887bffa604", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35a37bad07e8ca3cf2fef78c2d3647020112957aa24d46cb6896ee887bffa604", kill_on_drop: false }` [INFO] [stdout] 35a37bad07e8ca3cf2fef78c2d3647020112957aa24d46cb6896ee887bffa604 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a804861d62aa03dd1361945eb890e9322d2741123a487a17c890311c48592e11 [INFO] running `Command { std: "docker" "start" "-a" "a804861d62aa03dd1361945eb890e9322d2741123a487a17c890311c48592e11", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling rust_decimal v1.25.0 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling arrayvec v0.7.2 [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: 5 warnings emitted [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] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.68s [INFO] running `Command { std: "docker" "inspect" "a804861d62aa03dd1361945eb890e9322d2741123a487a17c890311c48592e11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a804861d62aa03dd1361945eb890e9322d2741123a487a17c890311c48592e11", kill_on_drop: false }` [INFO] [stdout] a804861d62aa03dd1361945eb890e9322d2741123a487a17c890311c48592e11