[INFO] fetching crate new_york_calculate_core 0.0.70... [INFO] testing new_york_calculate_core-0.0.70 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate new_york_calculate_core 0.0.70 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate new_york_calculate_core 0.0.70 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate new_york_calculate_core 0.0.70 [INFO] tweaked toml for crates.io crate new_york_calculate_core 0.0.70 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate new_york_calculate_core 0.0.70 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate new_york_calculate_core 0.0.70 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a3b07065e8f727c43620c67d875f4ba79a717347c12d0b5956c3efb31c6f5522 [INFO] running `Command { std: "docker" "start" "-a" "a3b07065e8f727c43620c67d875f4ba79a717347c12d0b5956c3efb31c6f5522", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a3b07065e8f727c43620c67d875f4ba79a717347c12d0b5956c3efb31c6f5522", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3b07065e8f727c43620c67d875f4ba79a717347c12d0b5956c3efb31c6f5522", kill_on_drop: false }` [INFO] [stdout] a3b07065e8f727c43620c67d875f4ba79a717347c12d0b5956c3efb31c6f5522 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b1b895a4f68b0df9935cc95288304fcb68c5c9295d7825463eafbd526536f8cd [INFO] running `Command { std: "docker" "start" "-a" "b1b895a4f68b0df9935cc95288304fcb68c5c9295d7825463eafbd526536f8cd", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling new_york_calculate_core v0.0.70 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/agent.rs:60:22 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn get_stats(&self, candle: &C) -> CalculateStats { [INFO] [stdout] | ^^^^^ -------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 60 | pub fn get_stats(&self, candle: &C) -> CalculateStats<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.55s [INFO] running `Command { std: "docker" "inspect" "b1b895a4f68b0df9935cc95288304fcb68c5c9295d7825463eafbd526536f8cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1b895a4f68b0df9935cc95288304fcb68c5c9295d7825463eafbd526536f8cd", kill_on_drop: false }` [INFO] [stdout] b1b895a4f68b0df9935cc95288304fcb68c5c9295d7825463eafbd526536f8cd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6af7308c350b25be20d705d18e7f8fa4e29ec19f5f5bd3b2671d44b796ba31b2 [INFO] running `Command { std: "docker" "start" "-a" "6af7308c350b25be20d705d18e7f8fa4e29ec19f5f5bd3b2671d44b796ba31b2", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/agent.rs:60:22 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn get_stats(&self, candle: &C) -> CalculateStats { [INFO] [stdout] | ^^^^^ -------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 60 | pub fn get_stats(&self, candle: &C) -> CalculateStats<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling new_york_calculate_core v0.0.70 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/agent.rs:60:22 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn get_stats(&self, candle: &C) -> CalculateStats { [INFO] [stdout] | ^^^^^ -------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 60 | pub fn get_stats(&self, candle: &C) -> CalculateStats<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 7.29s [INFO] running `Command { std: "docker" "inspect" "6af7308c350b25be20d705d18e7f8fa4e29ec19f5f5bd3b2671d44b796ba31b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6af7308c350b25be20d705d18e7f8fa4e29ec19f5f5bd3b2671d44b796ba31b2", kill_on_drop: false }` [INFO] [stdout] 6af7308c350b25be20d705d18e7f8fa4e29ec19f5f5bd3b2671d44b796ba31b2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6bfd35eeaeff1cd737c2e742f27be30592af48707e8d41415c27f67f3776817e [INFO] running `Command { std: "docker" "start" "-a" "6bfd35eeaeff1cd737c2e742f27be30592af48707e8d41415c27f67f3776817e", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/agent.rs:60:22 [INFO] [stderr] | [INFO] [stderr] 60 | pub fn get_stats(&self, candle: &C) -> CalculateStats { [INFO] [stderr] | ^^^^^ -------------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 60 | pub fn get_stats(&self, candle: &C) -> CalculateStats<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `new_york_calculate_core` (lib) generated 1 warning (run `cargo fix --lib -p new_york_calculate_core` to apply 1 suggestion) [INFO] [stderr] warning: `new_york_calculate_core` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/new_york_calculate_core-1bd582d4157da5f9) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] 2025-10-02T03:31:04.469019Z  INFO new_york_calculate_core::agent::tests: candle_1 result=CalculateResult { balance: 575.0, min_balance: 575.0, opened_orders: 1, executed_orders: 0, assets_available: {}, assets_frozen: {} } [INFO] [stdout] 2025-10-02T03:31:04.469128Z  INFO new_york_calculate_core::agent::tests: candle_2 result=CalculateResult { balance: 575.0, min_balance: 575.0, opened_orders: 1, executed_orders: 0, assets_available: {}, assets_frozen: {} } [INFO] [stdout] 2025-10-02T03:31:04.469201Z  INFO new_york_calculate_core::agent::tests: candle_3 result=CalculateResult { balance: 1000.0, min_balance: 575.0, opened_orders: 0, executed_orders: 1, assets_available: {}, assets_frozen: {} } [INFO] [stdout] 2025-10-02T03:31:04.469360Z  INFO new_york_calculate_core::agent::tests: candle_1 result=CalculateResult { balance: 499.95, min_balance: 499.95, opened_orders: 1, executed_orders: 1, assets_available: {"BTC": 0.0}, assets_frozen: {"BTC": 5.0} } [INFO] [stdout] 2025-10-02T03:31:04.469402Z  INFO new_york_calculate_core::agent::tests: candle_2 result=CalculateResult { balance: 499.95, min_balance: 499.95, opened_orders: 1, executed_orders: 1, assets_available: {"BTC": 0.0}, assets_frozen: {"BTC": 5.0} } [INFO] [stdout] test agent::tests::test_calculate_agent_buy_expiration ... ok [INFO] [stdout] 2025-10-02T03:31:04.469424Z  INFO new_york_calculate_core::agent::tests: perform_order result=Ok(None) [INFO] [stdout] 2025-10-02T03:31:04.469443Z  INFO new_york_calculate_core::agent::tests: candle_3 result=CalculateResult { balance: 499.95, min_balance: 499.95, opened_orders: 0, executed_orders: 2, assets_available: {"BTC": 5.0}, assets_frozen: {"BTC": 0.0} } [INFO] [stdout] 2025-10-02T03:31:04.469201Z  INFO new_york_calculate_core::agent::tests: candle_1 result=CalculateResult { balance: 499.95, min_balance: 499.95, opened_orders: 1, executed_orders: 1, assets_available: {"BTC": 0.0}, assets_frozen: {"BTC": 5.0} } [INFO] [stdout] 2025-10-02T03:31:04.469491Z  INFO new_york_calculate_core::agent::tests: candle_2 result=CalculateResult { balance: 499.95, min_balance: 499.95, opened_orders: 1, executed_orders: 1, assets_available: {"BTC": 0.0}, assets_frozen: {"BTC": 5.0} } [INFO] [stdout] test agent::tests::test_calculate_agent_sell_cancel ... ok [INFO] [stdout] 2025-10-02T03:31:04.469521Z  INFO new_york_calculate_core::agent::tests: candle_3 result=CalculateResult { balance: 499.95, min_balance: 499.95, opened_orders: 0, executed_orders: 2, assets_available: {"BTC": 5.0}, assets_frozen: {"BTC": 0.0} } [INFO] [stdout] test agent::tests::test_calculate_agent_sell_expiration ... ok [INFO] [stdout] 2025-10-02T03:31:04.469618Z  INFO new_york_calculate_core::agent::tests: candle_1 result=CalculateResult { balance: 575.0, min_balance: 575.0, opened_orders: 1, executed_orders: 0, assets_available: {}, assets_frozen: {} } [INFO] [stdout] 2025-10-02T03:31:04.469652Z  INFO new_york_calculate_core::agent::tests: candle_2 result=CalculateResult { balance: 574.9575, min_balance: 574.9575, opened_orders: 0, executed_orders: 1, assets_available: {"BTC": 5.0}, assets_frozen: {} } [INFO] [stdout] 2025-10-02T03:31:04.469685Z  INFO new_york_calculate_core::agent::tests: candle_3 result=CalculateResult { balance: 574.9575, min_balance: 574.9575, opened_orders: 1, executed_orders: 1, assets_available: {"BTC": 0.0}, assets_frozen: {"BTC": 5.0} } [INFO] [stdout] 2025-10-02T03:31:04.469713Z  INFO new_york_calculate_core::agent::tests: candle_4 result=CalculateResult { balance: 1249.89, min_balance: 574.9575, opened_orders: 0, executed_orders: 2, assets_available: {"BTC": 0.0}, assets_frozen: {"BTC": 0.0} } [INFO] [stdout] test agent::tests::test_calculate_agent_limit ... ok [INFO] [stdout] 2025-10-02T03:31:04.469228Z  INFO new_york_calculate_core::agent::tests: candle_1 result=CalculateResult { balance: 575.0, min_balance: 575.0, opened_orders: 1, executed_orders: 0, assets_available: {}, assets_frozen: {} } [INFO] [stdout] 2025-10-02T03:31:04.469829Z  INFO new_york_calculate_core::agent::tests: candle_2 result=CalculateResult { balance: 575.0, min_balance: 575.0, opened_orders: 1, executed_orders: 0, assets_available: {}, assets_frozen: {} } [INFO] [stdout] 2025-10-02T03:31:04.469850Z  INFO new_york_calculate_core::agent::tests: candle_3 result=CalculateResult { balance: 1000.0, min_balance: 575.0, opened_orders: 0, executed_orders: 1, assets_available: {}, assets_frozen: {} } [INFO] [stdout] test agent::tests::test_calculate_agent_buy_cancel ... ok [INFO] [stdout] 2025-10-02T03:31:04.470117Z  INFO new_york_calculate_core::agent::tests: candle_1 results=CalculateResult { balance: 499.95, min_balance: 499.95, opened_orders: 0, executed_orders: 1, assets_available: {"BTC": 5.0}, assets_frozen: {} } [INFO] [stdout] 2025-10-02T03:31:04.470318Z  INFO new_york_calculate_core::agent::tests: candle_2 results=CalculateResult { balance: 1099.8899, min_balance: 499.95, opened_orders: 0, executed_orders: 2, assets_available: {"BTC": 0.0}, assets_frozen: {"BTC": 0.0} } [INFO] [stdout] test agent::tests::test_calculate_agent_market ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests new_york_calculate_core [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "6bfd35eeaeff1cd737c2e742f27be30592af48707e8d41415c27f67f3776817e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6bfd35eeaeff1cd737c2e742f27be30592af48707e8d41415c27f67f3776817e", kill_on_drop: false }` [INFO] [stdout] 6bfd35eeaeff1cd737c2e742f27be30592af48707e8d41415c27f67f3776817e