[INFO] cloning repository https://github.com/dafmdev/finance [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dafmdev/finance" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdafmdev%2Ffinance", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdafmdev%2Ffinance'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b5e5680a80f070394bb63dfbfc3fa57e2dbf4aea [INFO] checking dafmdev/finance against try#93086cfebfccb79083c59d0d3b2052944bba643c for pr-146440-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdafmdev%2Ffinance" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/dafmdev/finance [INFO] finished tweaking git repo https://github.com/dafmdev/finance [INFO] tweaked toml for git repo https://github.com/dafmdev/finance written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/dafmdev/finance on toolchain 93086cfebfccb79083c59d0d3b2052944bba643c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/dafmdev/finance 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" "+93086cfebfccb79083c59d0d3b2052944bba643c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bc6f10ab4298ce3ec32091407c093f1878cf9bb2f25c46203fc03ba1d6503623 [INFO] running `Command { std: "docker" "start" "-a" "bc6f10ab4298ce3ec32091407c093f1878cf9bb2f25c46203fc03ba1d6503623", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bc6f10ab4298ce3ec32091407c093f1878cf9bb2f25c46203fc03ba1d6503623", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc6f10ab4298ce3ec32091407c093f1878cf9bb2f25c46203fc03ba1d6503623", kill_on_drop: false }` [INFO] [stdout] bc6f10ab4298ce3ec32091407c093f1878cf9bb2f25c46203fc03ba1d6503623 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4ec864d60067331371946b13fa1242ef6446e5379337d3cf13eb028cd88ec505 [INFO] running `Command { std: "docker" "start" "-a" "4ec864d60067331371946b13fa1242ef6446e5379337d3cf13eb028cd88ec505", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling rust_decimal v1.42.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking iana-time-zone v0.1.65 [INFO] [stderr] Compiling quote v1.0.45 [INFO] [stderr] Checking chrono v0.4.44 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling rust_decimal_macros v1.40.0 [INFO] [stderr] Checking finance v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: struct `Credit` is never constructed [INFO] [stdout] --> src/models/credit.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Credit { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] = note: `#[deny(unused_unconstructable_pub_structs)]` (part of `#[deny(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `Credit` is never constructed [INFO] [stdout] --> src/models/credit.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Credit { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] = note: `#[deny(unused_unconstructable_pub_structs)]` (part of `#[deny(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `responsible`, `date`, `principal`, `interest_rate`, `loan_term`, and `interest_payment_timing` are never read [INFO] [stdout] --> src/models/credit.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Credit { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 10 | responsible: Person, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 11 | date: NaiveDate, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | principal: Money, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 13 | interest_rate: InterestRate, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 14 | loan_term: LoanTerm, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 15 | interest_payment_timing: InterestPaymentTiming, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `InterestRate` is never constructed [INFO] [stdout] --> src/models/interest_rate.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct InterestRate { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `responsible`, `date`, `principal`, `interest_rate`, `loan_term`, and `interest_payment_timing` are never read [INFO] [stdout] --> src/models/credit.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Credit { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 10 | responsible: Person, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 11 | date: NaiveDate, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | principal: Money, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 13 | interest_rate: InterestRate, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 14 | loan_term: LoanTerm, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 15 | interest_payment_timing: InterestPaymentTiming, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `percentage` and `effective_annual_rate` are never read [INFO] [stdout] --> src/models/interest_rate.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct InterestRate { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 4 | percentage: Decimal, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 5 | effective_annual_rate: Decimal, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `LoanTerm` is never constructed [INFO] [stdout] --> src/models/loan_term.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct LoanTerm { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `months` is never read [INFO] [stdout] --> src/models/loan_term.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct LoanTerm { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 2 | months: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `Money` is never constructed [INFO] [stdout] --> src/models/money.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Money { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `amount` and `currency_code` are never read [INFO] [stdout] --> src/models/money.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Money { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 5 | amount: Decimal, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 6 | currency_code: Currency, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `Person` is never constructed [INFO] [stdout] --> src/models/person.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Person { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `birth_date` are never read [INFO] [stdout] --> src/models/person.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Person { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 4 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 5 | birth_date: NaiveDate, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `InterestRate` is never constructed [INFO] [stdout] --> src/models/interest_rate.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct InterestRate { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `percentage` and `effective_annual_rate` are never read [INFO] [stdout] --> src/models/interest_rate.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct InterestRate { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 4 | percentage: Decimal, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 5 | effective_annual_rate: Decimal, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `LoanTerm` is never constructed [INFO] [stdout] --> src/models/loan_term.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct LoanTerm { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `months` is never read [INFO] [stdout] --> src/models/loan_term.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct LoanTerm { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 2 | months: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `Money` is never constructed [INFO] [stdout] --> src/models/money.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Money { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `amount` and `currency_code` are never read [INFO] [stdout] --> src/models/money.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Money { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 5 | amount: Decimal, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 6 | currency_code: Currency, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `Person` is never constructed [INFO] [stdout] --> src/models/person.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Person { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `birth_date` are never read [INFO] [stdout] --> src/models/person.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Person { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 4 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 5 | birth_date: NaiveDate, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `finance` (bin "finance") due to 5 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `finance` (bin "finance" test) due to 5 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "4ec864d60067331371946b13fa1242ef6446e5379337d3cf13eb028cd88ec505", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ec864d60067331371946b13fa1242ef6446e5379337d3cf13eb028cd88ec505", kill_on_drop: false }` [INFO] [stdout] 4ec864d60067331371946b13fa1242ef6446e5379337d3cf13eb028cd88ec505