[INFO] cloning repository https://github.com/marcograss/portfolio-rebalancer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/marcograss/portfolio-rebalancer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarcograss%2Fportfolio-rebalancer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarcograss%2Fportfolio-rebalancer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3cff565c195ef8d8ac40f6e4315149872f8310b8 [INFO] checking marcograss/portfolio-rebalancer against try#fafe42c59556a4233f03dd0d900b575a9afeece8 for pr-143764 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarcograss%2Fportfolio-rebalancer" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/marcograss/portfolio-rebalancer [INFO] finished tweaking git repo https://github.com/marcograss/portfolio-rebalancer [INFO] tweaked toml for git repo https://github.com/marcograss/portfolio-rebalancer written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/marcograss/portfolio-rebalancer on toolchain fafe42c59556a4233f03dd0d900b575a9afeece8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fafe42c59556a4233f03dd0d900b575a9afeece8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/marcograss/portfolio-rebalancer 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" "+fafe42c59556a4233f03dd0d900b575a9afeece8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rust_decimal_macros v1.37.1 [INFO] [stderr] Downloaded termion v2.0.3 [INFO] [stderr] Downloaded borsh v1.2.0 [INFO] [stderr] Downloaded json_comments v0.2.2 [INFO] [stderr] Downloaded numtoa v0.2.4 [INFO] [stderr] Downloaded borsh-derive v1.2.0 [INFO] [stderr] Downloaded ratatui v0.22.0 [INFO] [stderr] Downloaded termion v4.0.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+fafe42c59556a4233f03dd0d900b575a9afeece8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b1c7c2d007a9199be086ac6d94662b7722d1cfad0ebce9bdef05bdaa81d0470f [INFO] running `Command { std: "docker" "start" "-a" "b1c7c2d007a9199be086ac6d94662b7722d1cfad0ebce9bdef05bdaa81d0470f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b1c7c2d007a9199be086ac6d94662b7722d1cfad0ebce9bdef05bdaa81d0470f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1c7c2d007a9199be086ac6d94662b7722d1cfad0ebce9bdef05bdaa81d0470f", kill_on_drop: false }` [INFO] [stdout] b1c7c2d007a9199be086ac6d94662b7722d1cfad0ebce9bdef05bdaa81d0470f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+fafe42c59556a4233f03dd0d900b575a9afeece8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4bd857145d53630a584422a5f3e0b071151b22e36325b227d268b2efbf3bad55 [INFO] running `Command { std: "docker" "start" "-a" "4bd857145d53630a584422a5f3e0b071151b22e36325b227d268b2efbf3bad55", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking anstyle-query v1.0.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking numtoa v0.1.0 [INFO] [stderr] Checking clap_lex v0.7.4 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Checking strsim v0.11.0 [INFO] [stderr] Compiling rust_decimal v1.37.2 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Checking anstyle-parse v0.2.1 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Compiling indoc v2.0.3 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking unicode-segmentation v1.10.1 [INFO] [stderr] Checking unicode-width v0.1.10 [INFO] [stderr] Checking numtoa v0.2.4 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking cassowary v0.3.0 [INFO] [stderr] Checking json_comments v0.2.2 [INFO] [stderr] Checking anstream v0.6.7 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking clap_builder v4.5.40 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.85 [INFO] [stderr] Checking termion v2.0.3 [INFO] [stderr] Checking termion v4.0.4 [INFO] [stderr] Checking ratatui v0.22.0 [INFO] [stderr] Checking clap v4.5.40 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling rust_decimal_macros v1.37.1 [INFO] [stderr] Checking portfolio-rebalancer v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `currency` is never read [INFO] [stdout] --> src/portfolio.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Portfolio { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 29 | pub currency: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Portfolio` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/main.rs:26:36 [INFO] [stdout] | [INFO] [stdout] 26 | fn get_actions_to_display(actions: &[Action]) -> Vec { [INFO] [stdout] | ^^^^^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 26 | fn get_actions_to_display(actions: &[Action]) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/tuiutil/mod.rs:9:29 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn new(titles: Vec<&'a str>) -> TabsState { [INFO] [stdout] | ^^ --------- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 9 | pub fn new(titles: Vec<&'a str>) -> TabsState<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `currency` is never read [INFO] [stdout] --> src/portfolio.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Portfolio { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 29 | pub currency: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Portfolio` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/main.rs:26:36 [INFO] [stdout] | [INFO] [stdout] 26 | fn get_actions_to_display(actions: &[Action]) -> Vec { [INFO] [stdout] | ^^^^^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 26 | fn get_actions_to_display(actions: &[Action]) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/tuiutil/mod.rs:9:29 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn new(titles: Vec<&'a str>) -> TabsState { [INFO] [stdout] | ^^ --------- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 9 | pub fn new(titles: Vec<&'a str>) -> TabsState<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.03s [INFO] running `Command { std: "docker" "inspect" "4bd857145d53630a584422a5f3e0b071151b22e36325b227d268b2efbf3bad55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4bd857145d53630a584422a5f3e0b071151b22e36325b227d268b2efbf3bad55", kill_on_drop: false }` [INFO] [stdout] 4bd857145d53630a584422a5f3e0b071151b22e36325b227d268b2efbf3bad55