[INFO] fetching crate new_york_calculate_core 0.0.70... [INFO] testing new_york_calculate_core-0.0.70 against beta-2025-10-28 for beta-1.92-2 [INFO] extracting crate new_york_calculate_core 0.0.70 into /workspace/builds/worker-0-tc2/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-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate new_york_calculate_core 0.0.70 on toolchain beta-2025-10-28 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-10-28" "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" "+beta-2025-10-28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6a03c66ecb0291e753fa999fc37a6461a18a89f3baaa59c2fcbe1207986e2d29 [INFO] running `Command { std: "docker" "start" "-a" "6a03c66ecb0291e753fa999fc37a6461a18a89f3baaa59c2fcbe1207986e2d29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6a03c66ecb0291e753fa999fc37a6461a18a89f3baaa59c2fcbe1207986e2d29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a03c66ecb0291e753fa999fc37a6461a18a89f3baaa59c2fcbe1207986e2d29", kill_on_drop: false }` [INFO] [stdout] 6a03c66ecb0291e753fa999fc37a6461a18a89f3baaa59c2fcbe1207986e2d29 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2f3be4a1a147067bb9d6d408f186b79a6e6a9689a873b27ea5e35f4146e9f886 [INFO] running `Command { std: "docker" "start" "-a" "2f3be4a1a147067bb9d6d408f186b79a6e6a9689a873b27ea5e35f4146e9f886", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling tokio-macros v2.5.0 [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 13.07s [INFO] running `Command { std: "docker" "inspect" "2f3be4a1a147067bb9d6d408f186b79a6e6a9689a873b27ea5e35f4146e9f886", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f3be4a1a147067bb9d6d408f186b79a6e6a9689a873b27ea5e35f4146e9f886", kill_on_drop: false }` [INFO] [stdout] 2f3be4a1a147067bb9d6d408f186b79a6e6a9689a873b27ea5e35f4146e9f886 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b35e4c01757759bfa7830fd8ee1a8d9d6bbbf11a238a6457c2083d237180cba8 [INFO] running `Command { std: "docker" "start" "-a" "b35e4c01757759bfa7830fd8ee1a8d9d6bbbf11a238a6457c2083d237180cba8", 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.11s [INFO] running `Command { std: "docker" "inspect" "b35e4c01757759bfa7830fd8ee1a8d9d6bbbf11a238a6457c2083d237180cba8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b35e4c01757759bfa7830fd8ee1a8d9d6bbbf11a238a6457c2083d237180cba8", kill_on_drop: false }` [INFO] [stdout] b35e4c01757759bfa7830fd8ee1a8d9d6bbbf11a238a6457c2083d237180cba8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7c0cd399d0cc2a3f2f2ce4358173cd43dc7ced9f85f1b281cca4e0277585e6ba [INFO] running `Command { std: "docker" "start" "-a" "7c0cd399d0cc2a3f2f2ce4358173cd43dc7ced9f85f1b281cca4e0277585e6ba", 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.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/new_york_calculate_core-a474053863be98c6) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] 2025-11-05T03:27:28.987543Z  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-11-05T03:27:28.988392Z  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-11-05T03:27:28.988666Z  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-11-05T03:27:28.988805Z  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-11-05T03:27:28.989196Z  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-11-05T03:27:28.989239Z  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-11-05T03:27:28.989216Z  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-11-05T03:27:28.989296Z  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-11-05T03:27:28.989397Z  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-11-05T03:27:28.989260Z  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-11-05T03:27:28.989717Z  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] test agent::tests::test_calculate_agent_limit ... ok [INFO] [stdout] test agent::tests::test_calculate_agent_buy_expiration ... 2025-11-05T03:27:28.992833Z  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-11-05T03:27:28.992894Z  INFO new_york_calculate_core::agent::tests: perform_order result=Ok(None) [INFO] [stdout] 2025-11-05T03:27:28.992911Z  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-11-05T03:27:28.989489Z  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-11-05T03:27:28.993045Z  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-11-05T03:27:28.989551Z  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-11-05T03:27:28.993141Z  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-11-05T03:27:28.993170Z  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] ok [INFO] [stdout] test agent::tests::test_calculate_agent_buy_cancel ... ok [INFO] [stdout] test agent::tests::test_calculate_agent_sell_cancel ... ok [INFO] [stdout] test agent::tests::test_calculate_agent_market ... ok [INFO] [stdout] test agent::tests::test_calculate_agent_sell_expiration ... 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" "7c0cd399d0cc2a3f2f2ce4358173cd43dc7ced9f85f1b281cca4e0277585e6ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c0cd399d0cc2a3f2f2ce4358173cd43dc7ced9f85f1b281cca4e0277585e6ba", kill_on_drop: false }` [INFO] [stdout] 7c0cd399d0cc2a3f2f2ce4358173cd43dc7ced9f85f1b281cca4e0277585e6ba