[INFO] cloning repository https://github.com/sanjithVprabhu/optionsExchange
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sanjithVprabhu/optionsExchange" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FsanjithVprabhu%2FoptionsExchange", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FsanjithVprabhu%2FoptionsExchange'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 8d35473b0c35c7f64812337aaf99a3889a982b7c
[INFO] checking sanjithVprabhu/optionsExchange against e3d12f3322cb00126b2208c6b9df3ac4467951f5 for pr-159706
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FsanjithVprabhu%2FoptionsExchange" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/sanjithVprabhu/optionsExchange
[INFO] finished tweaking git repo https://github.com/sanjithVprabhu/optionsExchange
[INFO] tweaked toml for git repo https://github.com/sanjithVprabhu/optionsExchange written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/sanjithVprabhu/optionsExchange on toolchain e3d12f3322cb00126b2208c6b9df3ac4467951f5
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e3d12f3322cb00126b2208c6b9df3ac4467951f5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/sanjithVprabhu/optionsExchange 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" "+e3d12f3322cb00126b2208c6b9df3ac4467951f5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[ERROR] error running command: no output for 300 seconds
[INFO] checking sanjithVprabhu/optionsExchange against e3d12f3322cb00126b2208c6b9df3ac4467951f5 for pr-159706
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FsanjithVprabhu%2FoptionsExchange" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/sanjithVprabhu/optionsExchange
[INFO] finished tweaking git repo https://github.com/sanjithVprabhu/optionsExchange
[INFO] tweaked toml for git repo https://github.com/sanjithVprabhu/optionsExchange written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/sanjithVprabhu/optionsExchange on toolchain e3d12f3322cb00126b2208c6b9df3ac4467951f5
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e3d12f3322cb00126b2208c6b9df3ac4467951f5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/sanjithVprabhu/optionsExchange 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" "+e3d12f3322cb00126b2208c6b9df3ac4467951f5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded proptest v1.10.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 0323083c492ba448bb48099890f200ce2b94c3b674c7245d2ad6fe19c44578b9
[INFO] running `Command { std: "docker" "start" "0323083c492ba448bb48099890f200ce2b94c3b674c7245d2ad6fe19c44578b9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0323083c492ba448bb48099890f200ce2b94c3b674c7245d2ad6fe19c44578b9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "0323083c492ba448bb48099890f200ce2b94c3b674c7245d2ad6fe19c44578b9" "/opt/rustwide/cargo-home/bin/cargo" "+e3d12f3322cb00126b2208c6b9df3ac4467951f5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0323083c492ba448bb48099890f200ce2b94c3b674c7245d2ad6fe19c44578b9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "0323083c492ba448bb48099890f200ce2b94c3b674c7245d2ad6fe19c44578b9" "/opt/rustwide/cargo-home/bin/cargo" "+e3d12f3322cb00126b2208c6b9df3ac4467951f5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.181
[INFO] [stderr]    Compiling zmij v1.0.20
[INFO] [stderr]    Compiling zerocopy v0.8.39
[INFO] [stderr]     Checking exchange-integration-tests v0.1.0 (/opt/rustwide/workdir/tests/integration)
[INFO] [stderr]    Compiling syn v2.0.114
[INFO] [stderr]     Checking crypto-common v0.1.7
[INFO] [stderr]     Checking ordered-float v4.6.0
[INFO] [stderr]     Checking rustix v1.1.3
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking sha2 v0.10.9
[INFO] [stderr]     Checking serde_json v1.0.149
[INFO] [stderr]     Checking getrandom v0.3.4
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]     Checking errno v0.3.14
[INFO] [stderr]     Checking mio v1.1.1
[INFO] [stderr]     Checking socket2 v0.6.2
[INFO] [stderr]     Checking getrandom v0.4.1
[INFO] [stderr]     Checking wait-timeout v0.2.1
[INFO] [stderr]     Checking signal-hook-registry v1.4.8
[INFO] [stderr]     Checking uuid v1.20.0
[INFO] [stderr]     Checking rand_core v0.9.5
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]     Checking tempfile v3.25.0
[INFO] [stderr]     Checking rand_xorshift v0.4.0
[INFO] [stderr]     Checking rand v0.9.2
[INFO] [stderr]     Checking rusty-fork v0.3.1
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling thiserror-impl v2.0.18
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking tokio v1.49.0
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]     Checking proptest v1.10.0
[INFO] [stderr]     Checking thiserror v2.0.18
[INFO] [stderr]     Checking tracing v0.1.44
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking chrono v0.4.43
[INFO] [stderr]     Checking exchange-primitives v0.1.0 (/opt/rustwide/workdir/core/primitives)
[INFO] [stderr]     Checking exchange-instrument v0.1.0 (/opt/rustwide/workdir/core/instrument)
[INFO] [stderr]     Checking exchange-oms v0.1.0 (/opt/rustwide/workdir/core/oms)
[INFO] [stderr]     Checking exchange-risk v0.1.0 (/opt/rustwide/workdir/core/risk)
[INFO] [stderr]     Checking exchange-matching v0.1.0 (/opt/rustwide/workdir/core/matching)
[INFO] [stderr]     Checking exchange-adapters-storage v0.1.0 (/opt/rustwide/workdir/adapters/storage)
[INFO] [stderr]     Checking exchange-settlement v0.1.0 (/opt/rustwide/workdir/core/settlement)
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Asset` in this scope
[INFO] [stdout]    --> core/settlement/src/clearing_engine.rs:218:31
[INFO] [stdout]     |
[INFO] [stdout] 218 |             underlying_asset: Asset {
[INFO] [stdout]     |                               ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 210 +     use exchange_primitives::Asset;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: enum `OptionType` is private
[INFO] [stdout]    --> core/settlement/src/domain.rs:205:42
[INFO] [stdout]     |
[INFO] [stdout] 205 |         use exchange_instrument::domain::OptionType;
[INFO] [stdout]     |                                          ^^^^^^^^^^ private enum
[INFO] [stdout]     |
[INFO] [stdout] note: the enum `OptionType` is defined here
[INFO] [stdout]    --> core/instrument/src/domain.rs:3:79
[INFO] [stdout]     |
[INFO] [stdout]   3 |     Asset, Currency, InstrumentStatus, MarketStatus, MarketType, OptionStyle, OptionType,
[INFO] [stdout]     |                                                                               ^^^^^^^^^^
[INFO] [stdout] help: import `OptionType` directly
[INFO] [stdout]     |
[INFO] [stdout] 205 -         use exchange_instrument::domain::OptionType;
[INFO] [stdout] 205 +         use exchange_primitives::types::OptionType;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: enum `InstrumentStatus` is private
[INFO] [stdout]  --> core/settlement/src/settlement_engine.rs:2:35
[INFO] [stdout]   |
[INFO] [stdout] 2 | use exchange_instrument::domain::{InstrumentStatus, OptionInstrument};
[INFO] [stdout]   |                                   ^^^^^^^^^^^^^^^^ private enum
[INFO] [stdout]   |
[INFO] [stdout] note: the enum `InstrumentStatus` is defined here
[INFO] [stdout]  --> core/instrument/src/domain.rs:3:22
[INFO] [stdout]   |
[INFO] [stdout] 3 |     Asset, Currency, InstrumentStatus, MarketStatus, MarketType, OptionStyle, OptionType,
[INFO] [stdout]   |                      ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: enum `InstrumentStatus` is private
[INFO] [stdout]  --> core/settlement/src/expiry_monitor.rs:1:35
[INFO] [stdout]   |
[INFO] [stdout] 1 | use exchange_instrument::{domain::InstrumentStatus, traits::InstrumentStore};
[INFO] [stdout]   |                                   ^^^^^^^^^^^^^^^^ private enum
[INFO] [stdout]   |
[INFO] [stdout] note: the enum `InstrumentStatus` is defined here
[INFO] [stdout]  --> core/instrument/src/domain.rs:3:22
[INFO] [stdout]   |
[INFO] [stdout] 3 |     Asset, Currency, InstrumentStatus, MarketStatus, MarketType, OptionStyle, OptionType,
[INFO] [stdout]   |                      ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `OptionType` in this scope
[INFO] [stdout]    --> core/settlement/src/clearing_engine.rs:224:26
[INFO] [stdout]     |
[INFO] [stdout] 224 |             option_type: OptionType::Call,
[INFO] [stdout]     |                          ^^^^^^^^^^ use of undeclared type `OptionType`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 210 +     use exchange_primitives::OptionType;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `OptionStyle` in this scope
[INFO] [stdout]    --> core/settlement/src/clearing_engine.rs:225:20
[INFO] [stdout]     |
[INFO] [stdout] 225 |             style: OptionStyle::European,
[INFO] [stdout]     |                    ^^^^^^^^^^^ use of undeclared type `OptionStyle`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 210 +     use exchange_primitives::OptionStyle;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Currency` in this scope
[INFO] [stdout]    --> core/settlement/src/clearing_engine.rs:230:34
[INFO] [stdout]     |
[INFO] [stdout] 230 |             settlement_currency: Currency {
[INFO] [stdout]     |                                  ^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 210 +     use exchange_primitives::Currency;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `InstrumentStatus` in this scope
[INFO] [stdout]    --> core/settlement/src/clearing_engine.rs:237:21
[INFO] [stdout]     |
[INFO] [stdout] 237 |             status: InstrumentStatus::Active,
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^ use of undeclared type `InstrumentStatus`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 210 +     use exchange_primitives::InstrumentStatus;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `OrderSide` in this scope
[INFO] [stdout]    --> core/settlement/src/clearing_engine.rs:252:29
[INFO] [stdout]     |
[INFO] [stdout] 252 |             aggressor_side: OrderSide::Buy,
[INFO] [stdout]     |                             ^^^^^^^^^ use of undeclared type `OrderSide`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 210 +     use exchange_oms::OrderSide;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `OptionType` in this scope
[INFO] [stdout]    --> core/settlement/src/settlement_engine.rs:162:57
[INFO] [stdout]     |
[INFO] [stdout] 162 |     fn create_test_instrument(strike: f64, option_type: OptionType) -> OptionInstrument {
[INFO] [stdout]     |                                                         ^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 158 +     use exchange_primitives::OptionType;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `OptionType` in this scope
[INFO] [stdout]    --> core/settlement/src/settlement_engine.rs:165:17
[INFO] [stdout]     |
[INFO] [stdout] 165 |                 OptionType::Call => "call",
[INFO] [stdout]     |                 ^^^^^^^^^^ use of undeclared type `OptionType`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 158 +     use exchange_primitives::OptionType;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `OptionType` in this scope
[INFO] [stdout]    --> core/settlement/src/settlement_engine.rs:166:17
[INFO] [stdout]     |
[INFO] [stdout] 166 |                 OptionType::Put => "put",
[INFO] [stdout]     |                 ^^^^^^^^^^ use of undeclared type `OptionType`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 158 +     use exchange_primitives::OptionType;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Asset` in this scope
[INFO] [stdout]    --> core/settlement/src/settlement_engine.rs:169:31
[INFO] [stdout]     |
[INFO] [stdout] 169 |             underlying_asset: Asset {
[INFO] [stdout]     |                               ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 158 +     use exchange_primitives::Asset;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `OptionStyle` in this scope
[INFO] [stdout]    --> core/settlement/src/settlement_engine.rs:176:20
[INFO] [stdout]     |
[INFO] [stdout] 176 |             style: OptionStyle::European,
[INFO] [stdout]     |                    ^^^^^^^^^^^ use of undeclared type `OptionStyle`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 158 +     use exchange_primitives::OptionStyle;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Currency` in this scope
[INFO] [stdout]    --> core/settlement/src/settlement_engine.rs:181:34
[INFO] [stdout]     |
[INFO] [stdout] 181 |             settlement_currency: Currency {
[INFO] [stdout]     |                                  ^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 158 +     use exchange_primitives::Currency;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `OptionType` in this scope
[INFO] [stdout]    --> core/settlement/src/settlement_engine.rs:196:58
[INFO] [stdout]     |
[INFO] [stdout] 196 |         let instrument = create_test_instrument(50000.0, OptionType::Call);
[INFO] [stdout]     |                                                          ^^^^^^^^^^ use of undeclared type `OptionType`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 158 +     use exchange_primitives::OptionType;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `OptionType` in this scope
[INFO] [stdout]    --> core/settlement/src/settlement_engine.rs:235:58
[INFO] [stdout]     |
[INFO] [stdout] 235 |         let instrument = create_test_instrument(50000.0, OptionType::Call);
[INFO] [stdout]     |                                                          ^^^^^^^^^^ use of undeclared type `OptionType`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 158 +     use exchange_primitives::OptionType;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `OptionType` in this scope
[INFO] [stdout]    --> core/settlement/src/settlement_engine.rs:269:58
[INFO] [stdout]     |
[INFO] [stdout] 269 |         let instrument = create_test_instrument(50000.0, OptionType::Call);
[INFO] [stdout]     |                                                          ^^^^^^^^^^ use of undeclared type `OptionType`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 158 +     use exchange_primitives::OptionType;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `OptionType` in this scope
[INFO] [stdout]    --> core/settlement/src/settlement_engine.rs:316:58
[INFO] [stdout]     |
[INFO] [stdout] 316 |         let instrument = create_test_instrument(50000.0, OptionType::Put);
[INFO] [stdout]     |                                                          ^^^^^^^^^^ use of undeclared type `OptionType`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 158 +     use exchange_primitives::OptionType;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: enum `OptionType` is private
[INFO] [stdout]    --> core/settlement/src/domain.rs:205:42
[INFO] [stdout]     |
[INFO] [stdout] 205 |         use exchange_instrument::domain::OptionType;
[INFO] [stdout]     |                                          ^^^^^^^^^^ private enum
[INFO] [stdout]     |
[INFO] [stdout] note: the enum `OptionType` is defined here
[INFO] [stdout]    --> core/instrument/src/domain.rs:3:79
[INFO] [stdout]     |
[INFO] [stdout]   3 |     Asset, Currency, InstrumentStatus, MarketStatus, MarketType, OptionStyle, OptionType,
[INFO] [stdout]     |                                                                               ^^^^^^^^^^
[INFO] [stdout] help: import `OptionType` directly
[INFO] [stdout]     |
[INFO] [stdout] 205 -         use exchange_instrument::domain::OptionType;
[INFO] [stdout] 205 +         use exchange_primitives::types::OptionType;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: enum `InstrumentStatus` is private
[INFO] [stdout]  --> core/settlement/src/settlement_engine.rs:2:35
[INFO] [stdout]   |
[INFO] [stdout] 2 | use exchange_instrument::domain::{InstrumentStatus, OptionInstrument};
[INFO] [stdout]   |                                   ^^^^^^^^^^^^^^^^ private enum
[INFO] [stdout]   |
[INFO] [stdout] note: the enum `InstrumentStatus` is defined here
[INFO] [stdout]  --> core/instrument/src/domain.rs:3:22
[INFO] [stdout]   |
[INFO] [stdout] 3 |     Asset, Currency, InstrumentStatus, MarketStatus, MarketType, OptionStyle, OptionType,
[INFO] [stdout]   |                      ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: enum `InstrumentStatus` is private
[INFO] [stdout]  --> core/settlement/src/expiry_monitor.rs:1:35
[INFO] [stdout]   |
[INFO] [stdout] 1 | use exchange_instrument::{domain::InstrumentStatus, traits::InstrumentStore};
[INFO] [stdout]   |                                   ^^^^^^^^^^^^^^^^ private enum
[INFO] [stdout]   |
[INFO] [stdout] note: the enum `InstrumentStatus` is defined here
[INFO] [stdout]  --> core/instrument/src/domain.rs:3:22
[INFO] [stdout]   |
[INFO] [stdout] 3 |     Asset, Currency, InstrumentStatus, MarketStatus, MarketType, OptionStyle, OptionType,
[INFO] [stdout]   |                      ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: enum `OptionType` is private
[INFO] [stdout]    --> core/settlement/src/domain.rs:280:42
[INFO] [stdout]     |
[INFO] [stdout] 280 |         use exchange_instrument::domain::OptionType;
[INFO] [stdout]     |                                          ^^^^^^^^^^ private enum
[INFO] [stdout]     |
[INFO] [stdout] note: the enum `OptionType` is defined here
[INFO] [stdout]    --> core/instrument/src/domain.rs:3:79
[INFO] [stdout]     |
[INFO] [stdout]   3 |     Asset, Currency, InstrumentStatus, MarketStatus, MarketType, OptionStyle, OptionType,
[INFO] [stdout]     |                                                                               ^^^^^^^^^^
[INFO] [stdout] help: import `OptionType` directly
[INFO] [stdout]     |
[INFO] [stdout] 280 -         use exchange_instrument::domain::OptionType;
[INFO] [stdout] 280 +         use exchange_primitives::types::OptionType;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: enum `OptionType` is private
[INFO] [stdout]    --> core/settlement/src/domain.rs:298:42
[INFO] [stdout]     |
[INFO] [stdout] 298 |         use exchange_instrument::domain::OptionType;
[INFO] [stdout]     |                                          ^^^^^^^^^^ private enum
[INFO] [stdout]     |
[INFO] [stdout] note: the enum `OptionType` is defined here
[INFO] [stdout]    --> core/instrument/src/domain.rs:3:79
[INFO] [stdout]     |
[INFO] [stdout]   3 |     Asset, Currency, InstrumentStatus, MarketStatus, MarketType, OptionStyle, OptionType,
[INFO] [stdout]     |                                                                               ^^^^^^^^^^
[INFO] [stdout] help: import `OptionType` directly
[INFO] [stdout]     |
[INFO] [stdout] 298 -         use exchange_instrument::domain::OptionType;
[INFO] [stdout] 298 +         use exchange_primitives::types::OptionType;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: enum `OptionType` is private
[INFO] [stdout]    --> core/settlement/src/domain.rs:200:51
[INFO] [stdout]     |
[INFO] [stdout] 200 |         option_type: exchange_instrument::domain::OptionType,
[INFO] [stdout]     |                                                   ^^^^^^^^^^ private enum
[INFO] [stdout]     |
[INFO] [stdout] note: the enum `OptionType` is defined here
[INFO] [stdout]    --> core/instrument/src/domain.rs:3:79
[INFO] [stdout]     |
[INFO] [stdout]   3 |     Asset, Currency, InstrumentStatus, MarketStatus, MarketType, OptionStyle, OptionType,
[INFO] [stdout]     |                                                                               ^^^^^^^^^^
[INFO] [stdout] help: consider importing this enum instead
[INFO] [stdout]     |
[INFO] [stdout] 200 -         option_type: exchange_instrument::domain::OptionType,
[INFO] [stdout] 200 +         option_type: exchange_primitives::OptionType,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `exchange_instrument::domain::*`
[INFO] [stdout]    --> core/settlement/src/clearing_engine.rs:211:9
[INFO] [stdout]     |
[INFO] [stdout] 211 |     use exchange_instrument::domain::*;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `exchange_matching::domain::*`
[INFO] [stdout]    --> core/settlement/src/clearing_engine.rs:212:9
[INFO] [stdout]     |
[INFO] [stdout] 212 |     use exchange_matching::domain::*;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `exchange_instrument::domain::*`
[INFO] [stdout]    --> core/settlement/src/settlement_engine.rs:159:9
[INFO] [stdout]     |
[INFO] [stdout] 159 |     use exchange_instrument::domain::*;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `error`
[INFO] [stdout]   --> core/settlement/src/coordinator.rs:11:15
[INFO] [stdout]    |
[INFO] [stdout] 11 | use tracing::{error, info};
[INFO] [stdout]    |               ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: enum `OptionType` is private
[INFO] [stdout]    --> core/settlement/src/domain.rs:200:51
[INFO] [stdout]     |
[INFO] [stdout] 200 |         option_type: exchange_instrument::domain::OptionType,
[INFO] [stdout]     |                                                   ^^^^^^^^^^ private enum
[INFO] [stdout]     |
[INFO] [stdout] note: the enum `OptionType` is defined here
[INFO] [stdout]    --> core/instrument/src/domain.rs:3:79
[INFO] [stdout]     |
[INFO] [stdout]   3 |     Asset, Currency, InstrumentStatus, MarketStatus, MarketType, OptionStyle, OptionType,
[INFO] [stdout]     |                                                                               ^^^^^^^^^^
[INFO] [stdout] help: consider importing this enum instead
[INFO] [stdout]     |
[INFO] [stdout] 200 -         option_type: exchange_instrument::domain::OptionType,
[INFO] [stdout] 200 +         option_type: exchange_primitives::OptionType,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `error`
[INFO] [stdout]   --> core/settlement/src/coordinator.rs:11:15
[INFO] [stdout]    |
[INFO] [stdout] 11 | use tracing::{error, info};
[INFO] [stdout]    |               ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]    --> tests/integration/src/risk_tests.rs:169:18
[INFO] [stdout]     |
[INFO] [stdout] 169 |     RiskRejected(String),
[INFO] [stdout]     |     ------------ ^^^^^^
[INFO] [stdout]     |     |
[INFO] [stdout]     |     field in this variant
[INFO] [stdout]     |
[INFO] [stdout]     = note: `SubmitResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]     |
[INFO] [stdout] 169 -     RiskRejected(String),
[INFO] [stdout] 169 +     RiskRejected(()),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `list_instruments_by_status` found for struct `Arc<(dyn InstrumentStore + 'static)>` in the current scope
[INFO] [stdout]   --> core/settlement/src/expiry_monitor.rs:46:14
[INFO] [stdout]    |
[INFO] [stdout] 44 |           let instruments = self
[INFO] [stdout]    |  ___________________________-
[INFO] [stdout] 45 | |             .instrument_store
[INFO] [stdout] 46 | |             .list_instruments_by_status(InstrumentStatus::Active)
[INFO] [stdout]    | |_____________-^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `list_instruments` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 46 -             .list_instruments_by_status(InstrumentStatus::Active)
[INFO] [stdout] 46 +             .list_instruments(InstrumentStatus::Active)
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `list_instruments_by_status` found for struct `Arc<(dyn InstrumentStore + 'static)>` in the current scope
[INFO] [stdout]   --> core/settlement/src/expiry_monitor.rs:46:14
[INFO] [stdout]    |
[INFO] [stdout] 44 |           let instruments = self
[INFO] [stdout]    |  ___________________________-
[INFO] [stdout] 45 | |             .instrument_store
[INFO] [stdout] 46 | |             .list_instruments_by_status(InstrumentStatus::Active)
[INFO] [stdout]    | |_____________-^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `list_instruments` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 46 -             .list_instruments_by_status(InstrumentStatus::Active)
[INFO] [stdout] 46 +             .list_instruments(InstrumentStatus::Active)
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0599, E0603.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0599`.
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0433, E0599, E0603.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0422`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `exchange-settlement` (lib) due to 5 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `exchange-settlement` (lib test) due to 23 previous errors; 4 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "0323083c492ba448bb48099890f200ce2b94c3b674c7245d2ad6fe19c44578b9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0323083c492ba448bb48099890f200ce2b94c3b674c7245d2ad6fe19c44578b9", kill_on_drop: false }`
[INFO] [stdout] 0323083c492ba448bb48099890f200ce2b94c3b674c7245d2ad6fe19c44578b9
