[INFO] fetching crate nautilus-risk 0.55.0... [INFO] testing nautilus-risk-0.55.0 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-2 [INFO] extracting crate nautilus-risk 0.55.0 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate nautilus-risk 0.55.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate nautilus-risk 0.55.0 [INFO] tweaked toml for crates.io crate nautilus-risk 0.55.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate nautilus-risk 0.55.0 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate nautilus-risk 0.55.0 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b2d676117ea6dd653e247f51c86eef5673239bbaf71240fdb250662fd6f2e1a9 [INFO] running `Command { std: "docker" "start" "-a" "b2d676117ea6dd653e247f51c86eef5673239bbaf71240fdb250662fd6f2e1a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b2d676117ea6dd653e247f51c86eef5673239bbaf71240fdb250662fd6f2e1a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2d676117ea6dd653e247f51c86eef5673239bbaf71240fdb250662fd6f2e1a9", kill_on_drop: false }` [INFO] [stdout] b2d676117ea6dd653e247f51c86eef5673239bbaf71240fdb250662fd6f2e1a9 [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=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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7716a149f0c02c4a30a46c92229d076ad9026b20446ec363769e3009c687a129 [INFO] running `Command { std: "docker" "start" "-a" "7716a149f0c02c4a30a46c92229d076ad9026b20446ec363769e3009c687a129", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling libm v0.2.16 [INFO] [stderr] Compiling libc v0.2.184 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling hashbrown v0.16.1 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling bitflags v2.11.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling semver v1.0.28 [INFO] [stderr] Compiling lexical-util v1.0.7 [INFO] [stderr] Compiling zerocopy-derive v0.8.48 [INFO] [stderr] Compiling regex-syntax v0.8.10 [INFO] [stderr] Compiling darling_core v0.23.0 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling rand_core v0.10.0 [INFO] [stderr] Compiling arrow-schema v58.1.0 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Compiling ryu v1.0.23 [INFO] [stderr] Compiling lexical-parse-integer v1.0.6 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling lexical-write-integer v1.0.6 [INFO] [stderr] Compiling lexical-parse-float v1.0.6 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling lexical-write-float v1.0.6 [INFO] [stderr] Compiling flatbuffers v25.12.19 [INFO] [stderr] Compiling futures-sink v0.3.32 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling futures-channel v0.3.32 [INFO] [stderr] Compiling rstest_macros v0.26.1 [INFO] [stderr] Compiling lexical-core v1.0.6 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling csv-core v0.1.13 [INFO] [stderr] Compiling rust_decimal v1.41.0 [INFO] [stderr] Compiling indexmap v2.13.1 [INFO] [stderr] Compiling cpufeatures v0.3.0 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling chacha20 v0.10.0 [INFO] [stderr] Compiling zerocopy v0.8.48 [INFO] [stderr] Compiling simdutf8 v0.1.5 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling unicode-width v0.2.2 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling implied-vol v2.0.0 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Compiling value-bag v1.12.0 [INFO] [stderr] Compiling papergrid v0.17.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling rmp v0.8.15 [INFO] [stderr] Compiling rand v0.10.0 [INFO] [stderr] Compiling tabled_derive v0.11.0 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling toml_datetime v1.1.1+spec-1.1.0 [INFO] [stderr] Compiling bytes v1.11.1 [INFO] [stderr] Compiling chrono v0.4.44 [INFO] [stderr] Compiling serde_spanned v1.1.1 [INFO] [stderr] Compiling toml v1.1.2+spec-1.1.0 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling toml_edit v0.25.10+spec-1.1.0 [INFO] [stderr] Compiling csv v1.4.0 [INFO] [stderr] Compiling darling_macro v0.23.0 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling derive_builder_core v0.20.2 [INFO] [stderr] Compiling rmp-serde v1.3.1 [INFO] [stderr] Compiling darling v0.23.0 [INFO] [stderr] Compiling bon-macros v3.9.1 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling proc-macro-crate v3.5.0 [INFO] [stderr] Compiling uuid v1.23.0 [INFO] [stderr] Compiling strum_macros v0.28.0 [INFO] [stderr] Compiling nautilus-core v0.55.0 [INFO] [stderr] Compiling arc-swap v1.9.1 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling futures-timer v3.0.3 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling nautilus-model v0.55.0 [INFO] [stderr] Compiling tabled v0.20.0 [INFO] [stderr] Compiling rust_decimal_macros v1.40.0 [INFO] [stderr] Compiling enum_dispatch v0.3.13 [INFO] [stderr] Compiling cc v1.2.59 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling derive_builder_macro v0.20.2 [INFO] [stderr] Compiling arraydeque v0.5.1 [INFO] [stderr] Compiling dashmap v6.1.0 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] Compiling nautilus-common v0.55.0 [INFO] [stderr] Compiling clap_builder v4.6.0 [INFO] [stderr] Compiling derive_builder v0.20.2 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling futures v0.3.32 [INFO] [stderr] Compiling sysinfo v0.38.4 [INFO] [stderr] Compiling criterion-plot v0.8.2 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling page_size v0.6.0 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling strum v0.28.0 [INFO] [stderr] Compiling alloca v0.4.0 [INFO] [stderr] Compiling half v2.7.1 [INFO] [stderr] Compiling ustr v1.1.0 [INFO] [stderr] Compiling arrow-buffer v58.1.0 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling clap v4.6.0 [INFO] [stderr] Compiling bon v3.9.1 [INFO] [stderr] Compiling criterion v0.8.2 [INFO] [stderr] Compiling arrow-data v58.1.0 [INFO] [stderr] Compiling arrow-array v58.1.0 [INFO] [stderr] Compiling rstest v0.26.1 [INFO] [stderr] Compiling arrow-select v58.1.0 [INFO] [stderr] Compiling arrow-arith v58.1.0 [INFO] [stderr] Compiling arrow-row v58.1.0 [INFO] [stderr] Compiling arrow-ord v58.1.0 [INFO] [stderr] Compiling arrow-ipc v58.1.0 [INFO] [stderr] Compiling arrow-string v58.1.0 [INFO] [stderr] Compiling arrow-cast v58.1.0 [INFO] [stderr] Compiling arrow-csv v58.1.0 [INFO] [stderr] Compiling arrow-json v58.1.0 [INFO] [stderr] Compiling arrow v58.1.0 [INFO] [stderr] Compiling nautilus-indicators v0.55.0 [INFO] [stderr] Compiling nautilus-analysis v0.55.0 [INFO] [stderr] Compiling nautilus-execution v0.55.0 [INFO] [stderr] Compiling nautilus-portfolio v0.55.0 [INFO] [stderr] Compiling nautilus-risk v0.55.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 21s [INFO] running `Command { std: "docker" "inspect" "7716a149f0c02c4a30a46c92229d076ad9026b20446ec363769e3009c687a129", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7716a149f0c02c4a30a46c92229d076ad9026b20446ec363769e3009c687a129", kill_on_drop: false }` [INFO] [stdout] 7716a149f0c02c4a30a46c92229d076ad9026b20446ec363769e3009c687a129 [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=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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ab25dafb7e77114047efdcbe1a6789d696f8bc9499c3d6b096f35d2f01af91b2 [INFO] running `Command { std: "docker" "start" "-a" "ab25dafb7e77114047efdcbe1a6789d696f8bc9499c3d6b096f35d2f01af91b2", kill_on_drop: false }` [INFO] [stderr] Compiling nautilus-risk v0.55.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 5.46s [INFO] running `Command { std: "docker" "inspect" "ab25dafb7e77114047efdcbe1a6789d696f8bc9499c3d6b096f35d2f01af91b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab25dafb7e77114047efdcbe1a6789d696f8bc9499c3d6b096f35d2f01af91b2", kill_on_drop: false }` [INFO] [stdout] ab25dafb7e77114047efdcbe1a6789d696f8bc9499c3d6b096f35d2f01af91b2 [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=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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] fd668cfa96f799b27d4375f88acc1e9dbc82bd728615fd6ae647cf8bc5fead6b [INFO] running `Command { std: "docker" "start" "-a" "fd668cfa96f799b27d4375f88acc1e9dbc82bd728615fd6ae647cf8bc5fead6b", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.47s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/nautilus_risk-cbcb08727d78cce4) [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test sizing::tests::test_calculate_for_gbpusd_with_commission ... ok [INFO] [stdout] test sizing::tests::test_calculate_single_unit_size ... ok [INFO] [stdout] test sizing::tests::test_impose_hard_limit ... ok [INFO] [stdout] test sizing::tests::test_calculate_with_zero_risk ... ok [INFO] [stdout] test sizing::tests::test_calculate_single_unit_with_exchange_rate ... ok [INFO] [stdout] test sizing::tests::test_calculate_with_zero_equity_returns_quantity_zero ... ok [INFO] [stdout] test sizing::tests::test_calculate_multiple_unit_size_larger_batches ... ok [INFO] [stdout] test sizing::tests::test_calculate_with_zero_exchange_rate ... ok [INFO] [stdout] test sizing::tests::test_calculate_multiple_unit_size ... ok [INFO] [stdout] test sizing::tests::test_calculate_single_unit_size_when_risk_too_high ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.08s [INFO] [stdout] [INFO] [stderr] Running tests/risk_engine.rs (/opt/rustwide/target/debug/deps/risk_engine-9fe771e1b73545ef) [INFO] [stdout] [INFO] [stdout] running 78 tests [INFO] [stdout] test test_modify_order_for_emulated_order_then_sends_to_emulator ... ignored, Waiting on emulator implementation [INFO] [stdout] test test_partial_fill_and_full_fill_account_balance_correct ... ignored, Waiting on account balance tracking implementation [INFO] [stdout] test test_max_notionals_per_order_when_no_risk_config_returns_empty_hashmap ... ok [INFO] [stdout] test test_bypass_config_risk_engine ... ok [INFO] [stdout] test test_max_order_submit_rate_when_no_risk_config_returns_10_per_second ... ok [INFO] [stdout] test test_max_order_modify_rate_when_no_risk_config_returns_5_per_second ... ok [INFO] [stdout] test test_reset_restores_trading_state_and_config_notionals ... ok [INFO] [stdout] test test_modify_order_with_default_settings_then_sends_to_client ... ok [INFO] [stdout] test test_modify_order_when_no_order_found_logs_error ... ok [INFO] [stdout] test test_set_max_notional_per_order_changes_setting ... ok [INFO] [stdout] test test_modify_order_when_trading_halted_then_rejects ... ok [INFO] [stdout] test test_set_trading_state_changes_value_and_publishes_event ... ok [INFO] [stdout] test test_given_random_command_then_logs_and_continues ... ok [INFO] [stdout] test test_modify_order_beyond_rate_limit_then_rejects ... ok [INFO] [stdout] test test_submit_bracket_order_when_instrument_not_in_cache_then_denies ... ok [INFO] [stdout] test test_modify_order_with_invalid_quantity_precision_then_rejects ... ok [INFO] [stdout] test test_modify_order_with_invalid_price_precision_then_rejects ... ok [INFO] [stdout] test test_deny_order_on_price_precision_exceeded ... ok [INFO] [stdout] test test_set_trading_state_from_halted_to_reducing ... ok [INFO] [stdout] test test_set_trading_state_from_reducing_to_active ... ok [INFO] [stdout] test test_set_trading_state_publishes_trading_state_changed_event ... ok [INFO] [stdout] test test_set_trading_state_when_no_change_logs_warning ... ok [INFO] [stdout] test test_submit_bracket_with_emulated_orders_sends_to_emulator ... ignored, Waiting on emulator implementation [INFO] [stdout] test test_submit_order_for_emulation_sends_command_to_emulator ... ignored, Waiting on emulator implementation [INFO] [stdout] test test_submit_order_list_buys_when_trading_reducing_then_denies_orders ... ignored, Under development - requires portfolio state tracking integration [INFO] [stdout] test test_submit_order_list_sells_when_trading_reducing_then_denies_orders ... ignored, Waiting on high-precision decimal merge [INFO] [stdout] test test_submit_order_beyond_rate_limit_then_denies_order ... ok [INFO] [stdout] test test_submit_order_for_less_than_max_cum_transaction_value_adausdt_with_crypto_cash_account ... ok [INFO] [stdout] test test_submit_order_list_sells_when_over_free_balance_then_denies ... ok [INFO] [stdout] test test_submit_order_list_buys_when_over_free_balance_then_denies ... ok [INFO] [stdout] test test_submit_order_list_when_trading_halted_then_denies_orders ... ok [INFO] [stdout] test test_submit_order_list_beyond_rate_limit_denies_all_orders_in_list ... ok [INFO] [stdout] test test_submit_order_list_within_rate_limit_passes_through ... ok [INFO] [stdout] test test_submit_order_list_beyond_rate_limit_then_denies_all_orders ... ok [INFO] [stdout] test test_submit_order_margin_account_buy_exceeds_free_balance ... ok [INFO] [stdout] test test_submit_order_margin_account_buy_within_free_balance ... ok [INFO] [stdout] test test_submit_order_list_margin_account_cum_margin_exceeds_free_balance ... ok [INFO] [stdout] test test_submit_order_margin_account_limit_order_within_balance ... ok [INFO] [stdout] test test_submit_order_margin_account_position_reducing_buy_passes ... ok [INFO] [stdout] test test_submit_buy_when_reducing_and_net_long_then_denies ... ok [INFO] [stdout] test test_submit_order_when_betting_back_order_liability_within_free_balance_then_accepts ... ok [INFO] [stdout] test test_submit_order_when_betting_back_order_liability_exceeds_free_balance_then_denies ... ok [INFO] [stdout] test test_submit_order_when_betting_sell_reduces_long_position_then_accepts ... ok [INFO] [stdout] test test_submit_order_reduce_only_order_with_custom_position_id_not_open_then_denies ... ok [INFO] [stdout] test test_submit_order_when_invalid_negative_price_and_not_option_then_denies ... ok [INFO] [stdout] test test_submit_order_margin_account_sell_short_exceeds_free_balance ... ok [INFO] [stdout] test test_submit_order_when_greater_than_max_notional_for_instrument_then_denies ... ok [INFO] [stdout] test test_submit_order_when_buy_market_order_and_over_max_notional_then_denies ... ok [INFO] [stdout] test test_submit_order_when_instrument_not_in_cache_then_denies ... ok [INFO] [stdout] test test_submit_order_when_invalid_quantity_less_than_minimum_then_denies ... ok [INFO] [stdout] test test_submit_order_when_invalid_price_precision_then_denies ... ok [INFO] [stdout] test test_submit_order_when_invalid_trigger_price_then_denies ... ok [INFO] [stdout] test test_submit_order_when_invalid_quantity_exceeds_maximum_then_denies ... ok [INFO] [stdout] test test_submit_order_margin_account_position_reducing_sell_passes ... ok [INFO] [stdout] test test_submit_order_when_less_than_min_notional_for_instrument_then_denies ... ok [INFO] [stdout] test test_submit_order_when_trading_halted_then_denies_order ... ok [INFO] [stdout] test test_submit_order_when_market_order_and_no_market_then_logs_warning ... ok [INFO] [stdout] test test_submit_order_with_gtd_expire_time_already_passed ... ok [INFO] [stdout] test test_submit_order_when_market_order_over_free_balance_with_borrowing_enabled_then_accepts ... ok [INFO] [stdout] test test_submit_order_with_quote_quantity_exceeds_max_after_conversion ... ok [INFO] [stdout] test test_submit_order_when_market_order_and_over_free_balance_then_denies ... ok [INFO] [stdout] test test_submit_order_when_negative_price_for_futures_spread_then_allows ... ok [INFO] [stdout] test test_submit_order_with_default_settings_then_sends_to_client ... ok [INFO] [stdout] test test_submit_order_when_negative_price_for_option_spread_then_allows ... ok [INFO] [stdout] test test_submit_order_when_risk_bypassed_sends_to_execution_engine ... ok [INFO] [stdout] test test_submit_order_when_sell_market_order_and_over_max_notional_then_denies ... ok [INFO] [stdout] test test_submit_order_with_zero_price_on_non_spread_instrument_then_denies ... ok [INFO] [stdout] test test_trading_state_after_instantiation_returns_active ... ok [INFO] [stdout] test test_submit_order_with_quote_quantity_validates_correctly ... ok [INFO] [stdout] test test_submit_reduce_only_order_when_position_already_closed_then_denies ... ok [INFO] [stdout] test test_submit_trailing_stop_market_buy_with_trigger_price_then_passes ... ok [INFO] [stdout] test test_submit_sell_cash_account_with_long_position_reduces_then_passes ... ok [INFO] [stdout] test test_submit_sell_when_reducing_and_net_long_then_allows ... ok [INFO] [stdout] test test_submit_reduce_only_order_when_position_would_be_increased_then_denies ... ok [INFO] [stdout] test test_deny_order_exceeding_max_notional ... ok [INFO] [stdout] test test_submit_order_when_invalid_quantity_precision_then_denies ... ok [INFO] [stdout] test test_submit_sell_when_reducing_and_net_short_then_denies ... ok [INFO] [stdout] test test_submit_trailing_stop_with_trigger_price_set_then_passes ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 72 passed; 0 failed; 6 ignored; 0 measured; 0 filtered out; finished in 0.15s [INFO] [stdout] [INFO] [stderr] Doc-tests nautilus_risk [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" "fd668cfa96f799b27d4375f88acc1e9dbc82bd728615fd6ae647cf8bc5fead6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd668cfa96f799b27d4375f88acc1e9dbc82bd728615fd6ae647cf8bc5fead6b", kill_on_drop: false }` [INFO] [stdout] fd668cfa96f799b27d4375f88acc1e9dbc82bd728615fd6ae647cf8bc5fead6b