[INFO] cloning repository https://github.com/LachlanPond/stocktax
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LachlanPond/stocktax" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLachlanPond%2Fstocktax", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLachlanPond%2Fstocktax'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 2be6ff33601a648e6aafe77f215c9b0656cc234b
[INFO] checking LachlanPond/stocktax against master#485ec3fbcc12fa14ef6596dabb125ad710499c9e for pr-157710
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLachlanPond%2Fstocktax" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/LachlanPond/stocktax
[INFO] finished tweaking git repo https://github.com/LachlanPond/stocktax
[INFO] tweaked toml for git repo https://github.com/LachlanPond/stocktax written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/LachlanPond/stocktax on toolchain 485ec3fbcc12fa14ef6596dabb125ad710499c9e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+485ec3fbcc12fa14ef6596dabb125ad710499c9e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/LachlanPond/stocktax 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" "+485ec3fbcc12fa14ef6596dabb125ad710499c9e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded foldhash v0.1.4
[INFO] [stderr]   Downloaded windows-link v0.1.0
[INFO] [stderr]   Downloaded rust_decimal_macros v1.36.0
[INFO] [stderr]   Downloaded proc-macro-crate v3.2.0
[INFO] [stderr]   Downloaded rkyv_derive v0.7.45
[INFO] [stderr]   Downloaded rustversion v1.0.19
[INFO] [stderr]   Downloaded quote v1.0.38
[INFO] [stderr]   Downloaded pkg-config v0.3.31
[INFO] [stderr]   Downloaded borsh-derive v1.5.5
[INFO] [stderr]   Downloaded once_cell v1.20.3
[INFO] [stderr]   Downloaded ryu v1.0.19
[INFO] [stderr]   Downloaded serde v1.0.218
[INFO] [stderr]   Downloaded tinyvec v1.8.1
[INFO] [stderr]   Downloaded unicode-ident v1.0.17
[INFO] [stderr]   Downloaded proc-macro2 v1.0.93
[INFO] [stderr]   Downloaded serde_derive v1.0.218
[INFO] [stderr]   Downloaded uuid v1.15.1
[INFO] [stderr]   Downloaded bytes v1.10.0
[INFO] [stderr]   Downloaded indexmap v2.7.1
[INFO] [stderr]   Downloaded borsh v1.5.5
[INFO] [stderr]   Downloaded rust_decimal v1.36.0
[INFO] [stderr]   Downloaded rkyv v0.7.45
[INFO] [stderr]   Downloaded serde_json v1.0.139
[INFO] [stderr]   Downloaded winnow v0.7.3
[INFO] [stderr]   Downloaded rusqlite v0.33.0
[INFO] [stderr]   Downloaded syn v2.0.98
[INFO] [stderr]   Downloaded libc v0.2.170
[INFO] [stderr]   Downloaded libsqlite3-sys v0.31.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] cf77ca47b64e32586eb6c0f6f1a41fd7413c6979e7e2d6a38bc6d8a1df869ce1
[INFO] running `Command { std: "docker" "start" "cf77ca47b64e32586eb6c0f6f1a41fd7413c6979e7e2d6a38bc6d8a1df869ce1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "cf77ca47b64e32586eb6c0f6f1a41fd7413c6979e7e2d6a38bc6d8a1df869ce1" "/opt/rustwide/cargo-home/bin/cargo" "+485ec3fbcc12fa14ef6596dabb125ad710499c9e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "cf77ca47b64e32586eb6c0f6f1a41fd7413c6979e7e2d6a38bc6d8a1df869ce1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "cf77ca47b64e32586eb6c0f6f1a41fd7413c6979e7e2d6a38bc6d8a1df869ce1" "/opt/rustwide/cargo-home/bin/cargo" "+485ec3fbcc12fa14ef6596dabb125ad710499c9e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling proc-macro2 v1.0.93
[INFO] [stderr]    Compiling pkg-config v0.3.31
[INFO] [stderr]    Compiling unicode-ident v1.0.17
[INFO] [stderr]     Checking foldhash v0.1.4
[INFO] [stderr]    Compiling serde v1.0.218
[INFO] [stderr]    Compiling rust_decimal v1.36.0
[INFO] [stderr]    Compiling arrayvec v0.7.6
[INFO] [stderr]     Checking fallible-iterator v0.3.0
[INFO] [stderr]     Checking fallible-streaming-iterator v0.1.9
[INFO] [stderr]     Checking bitflags v2.9.0
[INFO] [stderr]     Checking smallvec v1.14.0
[INFO] [stderr]     Checking iana-time-zone v0.1.61
[INFO] [stderr]     Checking hashbrown v0.15.2
[INFO] [stderr]    Compiling libsqlite3-sys v0.31.0
[INFO] [stderr]     Checking hashlink v0.10.0
[INFO] [stderr]    Compiling quote v1.0.38
[INFO] [stderr]     Checking rusqlite v0.33.0
[INFO] [stderr]    Compiling rust_decimal_macros v1.36.0
[INFO] [stderr]     Checking chrono v0.4.40
[INFO] [stderr]     Checking stocktax v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `str::FromStr`
[INFO] [stdout]  --> src/main.rs:1:16
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{env, str::FromStr};
[INFO] [stdout]   |                ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DateTime`, `FixedOffset`, `Local`, `Months`, `NaiveDateTime`, and `Utc`
[INFO] [stdout]  --> src/main.rs:2:14
[INFO] [stdout]   |
[INFO] [stdout] 2 | use chrono::{DateTime, FixedOffset, Local, Months, NaiveDate, NaiveDateTime, Utc};
[INFO] [stdout]   |              ^^^^^^^^  ^^^^^^^^^^^  ^^^^^  ^^^^^^             ^^^^^^^^^^^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rust_decimal_macros::dec`
[INFO] [stdout]  --> src/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use rust_decimal_macros::dec;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `str::FromStr`
[INFO] [stdout]  --> src/main.rs:1:16
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{env, str::FromStr};
[INFO] [stdout]   |                ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DateTime`, `FixedOffset`, `Local`, `Months`, `NaiveDateTime`, and `Utc`
[INFO] [stdout]  --> src/main.rs:2:14
[INFO] [stdout]   |
[INFO] [stdout] 2 | use chrono::{DateTime, FixedOffset, Local, Months, NaiveDate, NaiveDateTime, Utc};
[INFO] [stdout]   |              ^^^^^^^^  ^^^^^^^^^^^  ^^^^^  ^^^^^^             ^^^^^^^^^^^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rust_decimal_macros::dec`
[INFO] [stdout]  --> src/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use rust_decimal_macros::dec;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `date_from`
[INFO] [stdout]   --> src/main.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let date_from = match NaiveDate::parse_from_str(&args[2], "%Y-%m-%d") {
[INFO] [stdout]    |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_date_from`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `date_to`
[INFO] [stdout]   --> src/main.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 18 |     let date_to = match NaiveDate::parse_from_str(&args[2], "%Y-%m-%d") {
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_date_to`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `date`, `number`, `price`, `commission`, and `amount` are never read
[INFO] [stdout]    --> src/main.rs:140:9
[INFO] [stdout]     |
[INFO] [stdout] 139 |     Purchase {
[INFO] [stdout]     |     -------- fields in this variant
[INFO] [stdout] 140 |         date: NaiveDate,
[INFO] [stdout]     |         ^^^^
[INFO] [stdout] 141 |         number: Decimal,
[INFO] [stdout]     |         ^^^^^^
[INFO] [stdout] 142 |         price: Decimal,
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout] 143 |         commission: Decimal,
[INFO] [stdout]     |         ^^^^^^^^^^
[INFO] [stdout] 144 |         amount: Decimal,
[INFO] [stdout]     |         ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Transaction` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `date`, `number`, `price`, `commission`, `amount`, and `capital_gains` are never read
[INFO] [stdout]    --> src/main.rs:147:9
[INFO] [stdout]     |
[INFO] [stdout] 146 |     Sale {
[INFO] [stdout]     |     ---- fields in this variant
[INFO] [stdout] 147 |         date: NaiveDate,
[INFO] [stdout]     |         ^^^^
[INFO] [stdout] 148 |         number: Decimal,
[INFO] [stdout]     |         ^^^^^^
[INFO] [stdout] 149 |         price: Decimal,
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout] 150 |         commission: Decimal,
[INFO] [stdout]     |         ^^^^^^^^^^
[INFO] [stdout] 151 |         amount: Decimal,
[INFO] [stdout]     |         ^^^^^^
[INFO] [stdout] 152 |         capital_gains: Decimal,
[INFO] [stdout]     |         ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Transaction` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `share_count` and `capital_gain` are never read
[INFO] [stdout]    --> src/main.rs:160:5
[INFO] [stdout]     |
[INFO] [stdout] 157 | struct StockData {
[INFO] [stdout]     |        --------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 160 |     share_count: i32,
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout] 161 |     capital_gain: Decimal,
[INFO] [stdout]     |     ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `StockData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name` and `symbol` are never read
[INFO] [stdout]    --> src/main.rs:167:5
[INFO] [stdout]     |
[INFO] [stdout] 165 | struct Stock {
[INFO] [stdout]     |        ----- fields in this struct
[INFO] [stdout] 166 |     id: u64,
[INFO] [stdout] 167 |     name: String,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 168 |     symbol: String,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Stock` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `date_from`
[INFO] [stdout]   --> src/main.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let date_from = match NaiveDate::parse_from_str(&args[2], "%Y-%m-%d") {
[INFO] [stdout]    |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_date_from`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `date_to`
[INFO] [stdout]   --> src/main.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 18 |     let date_to = match NaiveDate::parse_from_str(&args[2], "%Y-%m-%d") {
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_date_to`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `date`, `number`, `price`, `commission`, and `amount` are never read
[INFO] [stdout]    --> src/main.rs:140:9
[INFO] [stdout]     |
[INFO] [stdout] 139 |     Purchase {
[INFO] [stdout]     |     -------- fields in this variant
[INFO] [stdout] 140 |         date: NaiveDate,
[INFO] [stdout]     |         ^^^^
[INFO] [stdout] 141 |         number: Decimal,
[INFO] [stdout]     |         ^^^^^^
[INFO] [stdout] 142 |         price: Decimal,
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout] 143 |         commission: Decimal,
[INFO] [stdout]     |         ^^^^^^^^^^
[INFO] [stdout] 144 |         amount: Decimal,
[INFO] [stdout]     |         ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Transaction` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `date`, `number`, `price`, `commission`, `amount`, and `capital_gains` are never read
[INFO] [stdout]    --> src/main.rs:147:9
[INFO] [stdout]     |
[INFO] [stdout] 146 |     Sale {
[INFO] [stdout]     |     ---- fields in this variant
[INFO] [stdout] 147 |         date: NaiveDate,
[INFO] [stdout]     |         ^^^^
[INFO] [stdout] 148 |         number: Decimal,
[INFO] [stdout]     |         ^^^^^^
[INFO] [stdout] 149 |         price: Decimal,
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout] 150 |         commission: Decimal,
[INFO] [stdout]     |         ^^^^^^^^^^
[INFO] [stdout] 151 |         amount: Decimal,
[INFO] [stdout]     |         ^^^^^^
[INFO] [stdout] 152 |         capital_gains: Decimal,
[INFO] [stdout]     |         ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Transaction` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `share_count` and `capital_gain` are never read
[INFO] [stdout]    --> src/main.rs:160:5
[INFO] [stdout]     |
[INFO] [stdout] 157 | struct StockData {
[INFO] [stdout]     |        --------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 160 |     share_count: i32,
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout] 161 |     capital_gain: Decimal,
[INFO] [stdout]     |     ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `StockData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name` and `symbol` are never read
[INFO] [stdout]    --> src/main.rs:167:5
[INFO] [stdout]     |
[INFO] [stdout] 165 | struct Stock {
[INFO] [stdout]     |        ----- fields in this struct
[INFO] [stdout] 166 |     id: u64,
[INFO] [stdout] 167 |     name: String,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 168 |     symbol: String,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Stock` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.23s
[INFO] running `Command { std: "docker" "inspect" "cf77ca47b64e32586eb6c0f6f1a41fd7413c6979e7e2d6a38bc6d8a1df869ce1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cf77ca47b64e32586eb6c0f6f1a41fd7413c6979e7e2d6a38bc6d8a1df869ce1", kill_on_drop: false }`
[INFO] [stdout] cf77ca47b64e32586eb6c0f6f1a41fd7413c6979e7e2d6a38bc6d8a1df869ce1
