[INFO] fetching crate new_york_calculate_core 0.0.70... [INFO] testing new_york_calculate_core-0.0.70 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate new_york_calculate_core 0.0.70 into /workspace/builds/worker-3-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-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate new_york_calculate_core 0.0.70 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0b2517796e7749967ba3592d0e64c729a20fc3929434ffbb0e4febe731621ee9 [INFO] running `Command { std: "docker" "start" "-a" "0b2517796e7749967ba3592d0e64c729a20fc3929434ffbb0e4febe731621ee9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0b2517796e7749967ba3592d0e64c729a20fc3929434ffbb0e4febe731621ee9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b2517796e7749967ba3592d0e64c729a20fc3929434ffbb0e4febe731621ee9", kill_on_drop: false }` [INFO] [stdout] 0b2517796e7749967ba3592d0e64c729a20fc3929434ffbb0e4febe731621ee9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 69bf3f220bf261b950d1a253719c4a68d7d64fb4cca51b80e9c1b858839203a4 [INFO] running `Command { std: "docker" "start" "-a" "69bf3f220bf261b950d1a253719c4a68d7d64fb4cca51b80e9c1b858839203a4", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [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 11.04s [INFO] running `Command { std: "docker" "inspect" "69bf3f220bf261b950d1a253719c4a68d7d64fb4cca51b80e9c1b858839203a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69bf3f220bf261b950d1a253719c4a68d7d64fb4cca51b80e9c1b858839203a4", kill_on_drop: false }` [INFO] [stdout] 69bf3f220bf261b950d1a253719c4a68d7d64fb4cca51b80e9c1b858839203a4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 39a4a9cbf86efaec92c534e310cd2e62ad924878ea8f01899ca8dba4eeeba22f [INFO] running `Command { std: "docker" "start" "-a" "39a4a9cbf86efaec92c534e310cd2e62ad924878ea8f01899ca8dba4eeeba22f", 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.26s [INFO] running `Command { std: "docker" "inspect" "39a4a9cbf86efaec92c534e310cd2e62ad924878ea8f01899ca8dba4eeeba22f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39a4a9cbf86efaec92c534e310cd2e62ad924878ea8f01899ca8dba4eeeba22f", kill_on_drop: false }` [INFO] [stdout] 39a4a9cbf86efaec92c534e310cd2e62ad924878ea8f01899ca8dba4eeeba22f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2a5b47794b75d8cd8be955d1adbd61eb97ed21de8953205ae1d0375389df6c74 [INFO] running `Command { std: "docker" "start" "-a" "2a5b47794b75d8cd8be955d1adbd61eb97ed21de8953205ae1d0375389df6c74", 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-09-01T10:27:36.153617Z  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-09-01T10:27:36.153659Z  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-09-01T10:27:36.153623Z  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-09-01T10:27:36.153674Z  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-09-01T10:27:36.153630Z  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-09-01T10:27:36.153693Z  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-09-01T10:27:36.153704Z  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] 2025-09-01T10:27:36.153679Z  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-09-01T10:27:36.153742Z  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] test agent::tests::test_calculate_agent_market ... ok [INFO] [stdout] test agent::tests::test_calculate_agent_buy_expiration ... ok [INFO] [stdout] 2025-09-01T10:27:36.153710Z  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-09-01T10:27:36.153816Z  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-09-01T10:27:36.153861Z  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-09-01T10:27:36.153876Z  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] 2025-09-01T10:27:36.153893Z  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] 2025-09-01T10:27:36.153902Z  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_limit ... ok [INFO] [stdout] test agent::tests::test_calculate_agent_sell_expiration ... ok [INFO] [stdout] 2025-09-01T10:27:36.158693Z  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-09-01T10:27:36.158761Z  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] 2025-09-01T10:27:36.158782Z  INFO new_york_calculate_core::agent::tests: perform_order result=Ok(None) [INFO] [stdout] 2025-09-01T10:27:36.158805Z  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_cancel ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [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" "2a5b47794b75d8cd8be955d1adbd61eb97ed21de8953205ae1d0375389df6c74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a5b47794b75d8cd8be955d1adbd61eb97ed21de8953205ae1d0375389df6c74", kill_on_drop: false }` [INFO] [stdout] 2a5b47794b75d8cd8be955d1adbd61eb97ed21de8953205ae1d0375389df6c74