[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 try#901d6c1c62d7c61e05469e996c297476078ee06b for pr-157082 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLachlanPond%2Fstocktax" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/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-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/LachlanPond/stocktax on toolchain 901d6c1c62d7c61e05469e996c297476078ee06b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+901d6c1c62d7c61e05469e996c297476078ee06b" "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" "+901d6c1c62d7c61e05469e996c297476078ee06b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 8db29fa9110b4ff1e71f52734efae53e56af44966c70ae41c495151801b79acd [INFO] running `Command { std: "docker" "start" "8db29fa9110b4ff1e71f52734efae53e56af44966c70ae41c495151801b79acd", 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" "8db29fa9110b4ff1e71f52734efae53e56af44966c70ae41c495151801b79acd" "/opt/rustwide/cargo-home/bin/cargo" "+901d6c1c62d7c61e05469e996c297476078ee06b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8db29fa9110b4ff1e71f52734efae53e56af44966c70ae41c495151801b79acd", 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" "8db29fa9110b4ff1e71f52734efae53e56af44966c70ae41c495151801b79acd" "/opt/rustwide/cargo-home/bin/cargo" "+901d6c1c62d7c61e05469e996c297476078ee06b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.17 [INFO] [stderr] Compiling rust_decimal v1.36.0 [INFO] [stderr] Compiling serde v1.0.218 [INFO] [stderr] Checking foldhash v0.1.4 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Checking smallvec v1.14.0 [INFO] [stderr] Checking iana-time-zone v0.1.61 [INFO] [stderr] Checking fallible-iterator v0.3.0 [INFO] [stderr] Checking bitflags v2.9.0 [INFO] [stderr] Checking fallible-streaming-iterator v0.1.9 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Compiling libsqlite3-sys v0.31.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Checking hashlink v0.10.0 [INFO] [stderr] Checking rusqlite v0.33.0 [INFO] [stderr] Checking chrono v0.4.40 [INFO] [stderr] Compiling rust_decimal_macros v1.36.0 [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 6.20s [INFO] running `Command { std: "docker" "inspect" "8db29fa9110b4ff1e71f52734efae53e56af44966c70ae41c495151801b79acd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8db29fa9110b4ff1e71f52734efae53e56af44966c70ae41c495151801b79acd", kill_on_drop: false }` [INFO] [stdout] 8db29fa9110b4ff1e71f52734efae53e56af44966c70ae41c495151801b79acd