[INFO] fetching crate nt-core 1.0.0... [INFO] testing nt-core-1.0.0 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-2 [INFO] extracting crate nt-core 1.0.0 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate nt-core 1.0.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate nt-core 1.0.0 [INFO] tweaked toml for crates.io crate nt-core 1.0.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate nt-core 1.0.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 nt-core 1.0.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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 6c6e808b721c8dce26e73745ed44ae4d8c66cb37a9dafe2927148c581a75ebbd [INFO] running `Command { std: "docker" "start" "-a" "6c6e808b721c8dce26e73745ed44ae4d8c66cb37a9dafe2927148c581a75ebbd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6c6e808b721c8dce26e73745ed44ae4d8c66cb37a9dafe2927148c581a75ebbd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c6e808b721c8dce26e73745ed44ae4d8c66cb37a9dafe2927148c581a75ebbd", kill_on_drop: false }` [INFO] [stdout] 6c6e808b721c8dce26e73745ed44ae4d8c66cb37a9dafe2927148c581a75ebbd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 9d99c4921a9cc40f6b006b1548ac09ba1a1ea1ff750ad9ee1eb7f58106f5772a [INFO] running `Command { std: "docker" "start" "-a" "9d99c4921a9cc40f6b006b1548ac09ba1a1ea1ff750ad9ee1eb7f58106f5772a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling litemap v0.8.1 [INFO] [stderr] Compiling writeable v0.6.2 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Compiling icu_properties_data v2.1.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling rust_decimal v1.39.0 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling if_chain v1.0.3 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling unicode-normalization v0.1.25 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling indexmap v2.12.0 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling socket2 v0.6.1 [INFO] [stderr] Compiling mio v1.1.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling validator_types v0.16.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling validator_derive v0.16.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.1 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling validator v0.16.1 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling nt-core v1.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 35.90s [INFO] running `Command { std: "docker" "inspect" "9d99c4921a9cc40f6b006b1548ac09ba1a1ea1ff750ad9ee1eb7f58106f5772a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d99c4921a9cc40f6b006b1548ac09ba1a1ea1ff750ad9ee1eb7f58106f5772a", kill_on_drop: false }` [INFO] [stdout] 9d99c4921a9cc40f6b006b1548ac09ba1a1ea1ff750ad9ee1eb7f58106f5772a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 0664665a67a64ffc3bcffeaab0d61b1143ccf626780800d708e2c156d1da27fd [INFO] running `Command { std: "docker" "start" "-a" "0664665a67a64ffc3bcffeaab0d61b1143ccf626780800d708e2c156d1da27fd", kill_on_drop: false }` [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling wait-timeout v0.2.1 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling rand_xorshift v0.4.0 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling rust_decimal v1.39.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Compiling rusty-fork v0.3.1 [INFO] [stderr] Compiling proptest v1.9.0 [INFO] [stderr] Compiling nt-core v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `rust_decimal_macros` [INFO] [stdout] --> tests/types_comprehensive_tests.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use rust_decimal_macros::dec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `rust_decimal_macros` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rust_decimal_macros`, use `cargo add rust_decimal_macros` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `config` in this scope [INFO] [stdout] --> tests/integration_tests.rs:264:13 [INFO] [stdout] | [INFO] [stdout] 263 | let _config = AppConfig::default_test_config(); [INFO] [stdout] | ------- `_config` defined here [INFO] [stdout] 264 | assert!(config.validate().is_ok()); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: the leading underscore in `_config` marks it as unused, consider renaming it to `config` [INFO] [stdout] | [INFO] [stdout] 263 - let _config = AppConfig::default_test_config(); [INFO] [stdout] 263 + let config = AppConfig::default_test_config(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `config` in this scope [INFO] [stdout] --> tests/integration_tests.rs:277:13 [INFO] [stdout] | [INFO] [stdout] 276 | let _config = RiskConfig::default(); [INFO] [stdout] | ------- `_config` defined here [INFO] [stdout] 277 | assert!(config.validate().is_ok()); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: the leading underscore in `_config` marks it as unused, consider renaming it to `config` [INFO] [stdout] | [INFO] [stdout] 276 - let _config = RiskConfig::default(); [INFO] [stdout] 276 + let config = RiskConfig::default(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `config` in this scope [INFO] [stdout] --> tests/integration_tests.rs:279:16 [INFO] [stdout] | [INFO] [stdout] 276 | let _config = RiskConfig::default(); [INFO] [stdout] | ------- `_config` defined here [INFO] [stdout] ... [INFO] [stdout] 279 | assert_eq!(config.max_position_size, 0.1); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: the leading underscore in `_config` marks it as unused, consider renaming it to `config` [INFO] [stdout] | [INFO] [stdout] 276 - let _config = RiskConfig::default(); [INFO] [stdout] 276 + let config = RiskConfig::default(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `config` in this scope [INFO] [stdout] --> tests/integration_tests.rs:280:16 [INFO] [stdout] | [INFO] [stdout] 276 | let _config = RiskConfig::default(); [INFO] [stdout] | ------- `_config` defined here [INFO] [stdout] ... [INFO] [stdout] 280 | assert_eq!(config.max_daily_loss, 0.05); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: the leading underscore in `_config` marks it as unused, consider renaming it to `config` [INFO] [stdout] | [INFO] [stdout] 276 - let _config = RiskConfig::default(); [INFO] [stdout] 276 + let config = RiskConfig::default(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `config` in this scope [INFO] [stdout] --> tests/integration_tests.rs:281:16 [INFO] [stdout] | [INFO] [stdout] 276 | let _config = RiskConfig::default(); [INFO] [stdout] | ------- `_config` defined here [INFO] [stdout] ... [INFO] [stdout] 281 | assert_eq!(config.max_drawdown, 0.2); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: the leading underscore in `_config` marks it as unused, consider renaming it to `config` [INFO] [stdout] | [INFO] [stdout] 276 - let _config = RiskConfig::default(); [INFO] [stdout] 276 + let config = RiskConfig::default(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `config` in this scope [INFO] [stdout] --> tests/integration_tests.rs:282:16 [INFO] [stdout] | [INFO] [stdout] 276 | let _config = RiskConfig::default(); [INFO] [stdout] | ------- `_config` defined here [INFO] [stdout] ... [INFO] [stdout] 282 | assert_eq!(config.max_leverage, 1.0); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: the leading underscore in `_config` marks it as unused, consider renaming it to `config` [INFO] [stdout] | [INFO] [stdout] 276 - let _config = RiskConfig::default(); [INFO] [stdout] 276 + let config = RiskConfig::default(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `config` in this scope [INFO] [stdout] --> tests/integration_tests.rs:283:16 [INFO] [stdout] | [INFO] [stdout] 276 | let _config = RiskConfig::default(); [INFO] [stdout] | ------- `_config` defined here [INFO] [stdout] ... [INFO] [stdout] 283 | assert_eq!(config.default_stop_loss, 0.02); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: the leading underscore in `_config` marks it as unused, consider renaming it to `config` [INFO] [stdout] | [INFO] [stdout] 276 - let _config = RiskConfig::default(); [INFO] [stdout] 276 + let config = RiskConfig::default(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `config` in this scope [INFO] [stdout] --> tests/integration_tests.rs:284:16 [INFO] [stdout] | [INFO] [stdout] 276 | let _config = RiskConfig::default(); [INFO] [stdout] | ------- `_config` defined here [INFO] [stdout] ... [INFO] [stdout] 284 | assert_eq!(config.default_take_profit, 0.05); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: the leading underscore in `_config` marks it as unused, consider renaming it to `config` [INFO] [stdout] | [INFO] [stdout] 276 - let _config = RiskConfig::default(); [INFO] [stdout] 276 + let config = RiskConfig::default(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `config` in this scope [INFO] [stdout] --> tests/integration_tests.rs:285:13 [INFO] [stdout] | [INFO] [stdout] 276 | let _config = RiskConfig::default(); [INFO] [stdout] | ------- `_config` defined here [INFO] [stdout] ... [INFO] [stdout] 285 | assert!(config.enable_circuit_breakers); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: the leading underscore in `_config` marks it as unused, consider renaming it to `config` [INFO] [stdout] | [INFO] [stdout] 276 - let _config = RiskConfig::default(); [INFO] [stdout] 276 + let config = RiskConfig::default(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `body_size` found for struct `nt_core::types::Bar` in the current scope [INFO] [stdout] --> tests/types_comprehensive_tests.rs:349:20 [INFO] [stdout] | [INFO] [stdout] 349 | assert_eq!(bar.body_size(), dec!(3)); [INFO] [stdout] | ^^^^^^^^^ method not found in `nt_core::types::Bar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `vwap` found for struct `nt_core::types::Bar` in the current scope [INFO] [stdout] --> tests/types_comprehensive_tests.rs:367:20 [INFO] [stdout] | [INFO] [stdout] 367 | assert_eq!(bar.vwap(), expected); [INFO] [stdout] | ^^^^ method not found in `nt_core::types::Bar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `nt-core` (test "integration_tests") due to 9 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no function or associated item named `stop_limit` found for struct `nt_core::types::Order` in the current scope [INFO] [stdout] --> tests/types_comprehensive_tests.rs:444:24 [INFO] [stdout] | [INFO] [stdout] 444 | let order = Order::stop_limit( [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `nt_core::types::Order` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `nt_core::types::Order` consider using one of the following associated functions: [INFO] [stdout] nt_core::types::Order::market [INFO] [stdout] nt_core::types::Order::limit [INFO] [stdout] nt_core::types::Order::stop_loss [INFO] [stdout] --> src/types.rs:460:5 [INFO] [stdout] | [INFO] [stdout] 460 | pub fn market(symbol: Symbol, side: Side, quantity: Volume) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 475 | pub fn limit(symbol: Symbol, side: Side, quantity: Volume, limit_price: Price) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 490 | pub fn stop_loss(symbol: Symbol, side: Side, quantity: Volume, stop_price: Price) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is an associated function `limit` with a similar name [INFO] [stdout] --> src/types.rs:475:5 [INFO] [stdout] | [INFO] [stdout] 475 | pub fn limit(symbol: Symbol, side: Side, quantity: Volume, limit_price: Price) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `return_pct` found for struct `nt_core::types::Position` in the current scope [INFO] [stdout] --> tests/types_comprehensive_tests.rs:539:25 [INFO] [stdout] | [INFO] [stdout] 539 | assert_eq!(position.return_pct(), 0.10); // 10% [INFO] [stdout] | ^^^^^^^^^^ method not found in `nt_core::types::Position` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `nt-core` (test "types_comprehensive_tests") due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "0664665a67a64ffc3bcffeaab0d61b1143ccf626780800d708e2c156d1da27fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0664665a67a64ffc3bcffeaab0d61b1143ccf626780800d708e2c156d1da27fd", kill_on_drop: false }` [INFO] [stdout] 0664665a67a64ffc3bcffeaab0d61b1143ccf626780800d708e2c156d1da27fd