[INFO] fetching crate kubera 0.0.2...
[INFO] testing kubera-0.0.2 against master#2fd6efc32704647e64d3d646d21c4c68eae100e4 for pr-149852-1
[INFO] extracting crate kubera 0.0.2 into /workspace/builds/worker-6-tc1/source
[INFO] started tweaking crates.io crate kubera 0.0.2
[INFO] finished tweaking crates.io crate kubera 0.0.2
[INFO] tweaked toml for crates.io crate kubera 0.0.2 written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate kubera 0.0.2 on toolchain 2fd6efc32704647e64d3d646d21c4c68eae100e4
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate kubera 0.0.2 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" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded core_affinity v0.8.1
[INFO] [stderr]   Downloaded bincode v2.0.0-rc.3
[INFO] [stderr]   Downloaded bincode_derive v2.0.0-rc.3
[INFO] [stderr]   Downloaded virtue v0.0.13
[INFO] [stderr]   Downloaded cc v1.0.104
[INFO] [stderr]   Downloaded redb v2.1.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 62a7fbfc3fea28171e9d5b6b67d607ced6c32dfdb119b26e32923af7d10260ba
[INFO] running `Command { std: "docker" "start" "-a" "62a7fbfc3fea28171e9d5b6b67d607ced6c32dfdb119b26e32923af7d10260ba", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "62a7fbfc3fea28171e9d5b6b67d607ced6c32dfdb119b26e32923af7d10260ba", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "62a7fbfc3fea28171e9d5b6b67d607ced6c32dfdb119b26e32923af7d10260ba", kill_on_drop: false }`
[INFO] [stdout] 62a7fbfc3fea28171e9d5b6b67d607ced6c32dfdb119b26e32923af7d10260ba
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5c7c4ae4d74b932c91f2ce5ac51b6934129bd103253178df8990633822da24b8
[INFO] running `Command { std: "docker" "start" "-a" "5c7c4ae4d74b932c91f2ce5ac51b6934129bd103253178df8990633822da24b8", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.153
[INFO] [stderr]    Compiling crossbeam-utils v0.8.20
[INFO] [stderr]    Compiling redb v2.1.1
[INFO] [stderr]    Compiling virtue v0.0.13
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling syn v2.0.53
[INFO] [stderr]    Compiling bincode_derive v2.0.0-rc.3
[INFO] [stderr]    Compiling crossbeam-queue v0.3.11
[INFO] [stderr]    Compiling num_cpus v1.16.0
[INFO] [stderr]    Compiling bincode v2.0.0-rc.3
[INFO] [stderr]    Compiling chrono v0.4.38
[INFO] [stderr]    Compiling core_affinity v0.8.1
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling kubera v0.0.2 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.85s
[INFO] running `Command { std: "docker" "inspect" "5c7c4ae4d74b932c91f2ce5ac51b6934129bd103253178df8990633822da24b8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5c7c4ae4d74b932c91f2ce5ac51b6934129bd103253178df8990633822da24b8", kill_on_drop: false }`
[INFO] [stdout] 5c7c4ae4d74b932c91f2ce5ac51b6934129bd103253178df8990633822da24b8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8b2039b050779ccf41b7a818f513f09f608e03199a107e06d096c032e437a0bf
[INFO] running `Command { std: "docker" "start" "-a" "8b2039b050779ccf41b7a818f513f09f608e03199a107e06d096c032e437a0bf", kill_on_drop: false }`
[INFO] [stderr]    Compiling overload v0.1.1
[INFO] [stderr]    Compiling tracing-core v0.1.32
[INFO] [stderr]    Compiling thread_local v1.1.8
[INFO] [stderr]    Compiling sharded-slab v0.1.7
[INFO] [stderr]    Compiling nu-ansi-term v0.46.0
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling kubera v0.0.2 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling tracing-subscriber v0.3.18
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 4.79s
[INFO] running `Command { std: "docker" "inspect" "8b2039b050779ccf41b7a818f513f09f608e03199a107e06d096c032e437a0bf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8b2039b050779ccf41b7a818f513f09f608e03199a107e06d096c032e437a0bf", kill_on_drop: false }`
[INFO] [stdout] 8b2039b050779ccf41b7a818f513f09f608e03199a107e06d096c032e437a0bf
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] f061a8e8a26016c64b083cb2b086d22eae9dabcf4d4c7ac945ce5b5aa6f6dac1
[INFO] running `Command { std: "docker" "start" "-a" "f061a8e8a26016c64b083cb2b086d22eae9dabcf4d4c7ac945ce5b5aa6f6dac1", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/kubera-d069712c2b134c8b)
[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] [stderr]    Doc-tests kubera
[INFO] [stdout] 
[INFO] [stdout] running 2 tests
[INFO] [stdout] test src/lib.rs - (line 123) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 32) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - (line 123) stdout ----
[INFO] [stdout] error: unknown start of token: \
[INFO] [stdout]    --> src/lib.rs:124:56
[INFO] [stdout]     |
[INFO] [stdout] 124 | 2024-07-08T14:55:28.291721Z  INFO ThreadId(01) examples\trade-engine.rs:81: AccountId: 1 Name: Alice Timestamp: 2024-07-08 19:55:28
[INFO] [stdout]     |                                                        ^
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \
[INFO] [stdout]    --> src/lib.rs:125:56
[INFO] [stdout]     |
[INFO] [stdout] 125 | 2024-07-08T14:55:28.291953Z  INFO ThreadId(01) examples\trade-engine.rs:86: CurrencyId: 1 Symbol: USD Balance: 100000.00
[INFO] [stdout]     |                                                        ^
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \
[INFO] [stdout]    --> src/lib.rs:126:56
[INFO] [stdout]     |
[INFO] [stdout] 126 | 2024-07-08T14:55:28.292068Z  INFO ThreadId(01) examples\trade-engine.rs:92: CurrencyHistoryId: 1 Balance: 100000.00 Timestamp: 2024...
[INFO] [stdout]     |                                                        ^
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \
[INFO] [stdout]    --> src/lib.rs:127:56
[INFO] [stdout]     |
[INFO] [stdout] 127 | 2024-07-08T14:55:28.292168Z  INFO ThreadId(01) examples\trade-engine.rs:81: AccountId: 2 Name: Bob Timestamp: 2024-07-08 19:55:28
[INFO] [stdout]     |                                                        ^
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \
[INFO] [stdout]    --> src/lib.rs:128:56
[INFO] [stdout]     |
[INFO] [stdout] 128 | 2024-07-08T14:55:28.292261Z  INFO ThreadId(01) examples\trade-engine.rs:86: CurrencyId: 2 Symbol: USD Balance: 0.00
[INFO] [stdout]     |                                                        ^
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \
[INFO] [stdout]    --> src/lib.rs:129:56
[INFO] [stdout]     |
[INFO] [stdout] 129 | 2024-07-08T14:55:28.292380Z  INFO ThreadId(01) examples\trade-engine.rs:98: CryptoCurrencyId: 1 BTC Amount: 1
[INFO] [stdout]     |                                                        ^
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \
[INFO] [stdout]    --> src/lib.rs:130:56
[INFO] [stdout]     |
[INFO] [stdout] 130 | 2024-07-08T14:55:28.292476Z  INFO ThreadId(01) examples\trade-engine.rs:104: CryptoCurrencyHistoryId: 1 Quantity: 1 Timestamp: 2024...
[INFO] [stdout]     |                                                        ^
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \
[INFO] [stdout]    --> src/lib.rs:131:51
[INFO] [stdout]     |
[INFO] [stdout] 131 | 2024-07-08T14:55:29.288109Z  INFO ThreadId(02) src\matcher.rs:157: Before Matching
[INFO] [stdout]     |                                                   ^
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \
[INFO] [stdout]    --> src/lib.rs:132:51
[INFO] [stdout]     |
[INFO] [stdout] 132 | 2024-07-08T14:55:29.288289Z  INFO ThreadId(02) src\matcher.rs:160: Buy Order: Order { id: 1, account_id: 1, trade_type: Buy, price_...
[INFO] [stdout]     |                                                   ^
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \
[INFO] [stdout]    --> src/lib.rs:133:51
[INFO] [stdout]     |
[INFO] [stdout] 133 | 2024-07-08T14:55:29.288362Z  INFO ThreadId(02) src\matcher.rs:163: Sell Order: Order { id: 2, account_id: 2, trade_type: Sell, pric...
[INFO] [stdout]     |                                                   ^
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \
[INFO] [stdout]    --> src/lib.rs:134:51
[INFO] [stdout]     |
[INFO] [stdout] 134 | 2024-07-08T14:55:29.288436Z  INFO ThreadId(02) src\matcher.rs:157: After Matching
[INFO] [stdout]     |                                                   ^
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \
[INFO] [stdout]    --> src/lib.rs:135:51
[INFO] [stdout]     |
[INFO] [stdout] 135 | 2024-07-08T14:55:29.288492Z  INFO ThreadId(02) src\matcher.rs:163: Sell Order: Order { id: 2, account_id: 2, trade_type: Sell, pric...
[INFO] [stdout]     |                                                   ^
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \
[INFO] [stdout]    --> src/lib.rs:136:56
[INFO] [stdout]     |
[INFO] [stdout] 136 | 2024-07-08T14:55:29.292973Z  INFO ThreadId(01) examples\trade-engine.rs:64: OrderMatch: Buy Order Id: 1 Sell Order Id: 2 Quantity: ...
[INFO] [stdout]     |                                                        ^
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \
[INFO] [stdout]    --> src/lib.rs:137:56
[INFO] [stdout]     |
[INFO] [stdout] 137 | 2024-07-08T14:55:29.312581Z  INFO ThreadId(01) examples\trade-engine.rs:81: AccountId: 1 Name: Alice Timestamp: 2024-07-08 19:55:28
[INFO] [stdout]     |                                                        ^
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \
[INFO] [stdout]    --> src/lib.rs:138:56
[INFO] [stdout]     |
[INFO] [stdout] 138 | 2024-07-08T14:55:29.312779Z  INFO ThreadId(01) examples\trade-engine.rs:86: CurrencyId: 1 Symbol: USD Balance: 75000.00
[INFO] [stdout]     |                                                        ^
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \
[INFO] [stdout]    --> src/lib.rs:139:56
[INFO] [stdout]     |
[INFO] [stdout] 139 | 2024-07-08T14:55:29.312920Z  INFO ThreadId(01) examples\trade-engine.rs:92: CurrencyHistoryId: 1 Balance: 100000.00 Timestamp: 2024...
[INFO] [stdout]     |                                                        ^
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \
[INFO] [stdout]    --> src/lib.rs:140:56
[INFO] [stdout]     |
[INFO] [stdout] 140 | 2024-07-08T14:55:29.313002Z  INFO ThreadId(01) examples\trade-engine.rs:92: CurrencyHistoryId: 2 Balance: 75000.00 Timestamp: 2024-...
[INFO] [stdout]     |                                                        ^
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \
[INFO] [stdout]    --> src/lib.rs:141:56
[INFO] [stdout]     |
[INFO] [stdout] 141 | 2024-07-08T14:55:29.313127Z  INFO ThreadId(01) examples\trade-engine.rs:98: CryptoCurrencyId: 2 BTC Amount: 0.5
[INFO] [stdout]     |                                                        ^
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \
[INFO] [stdout]    --> src/lib.rs:142:56
[INFO] [stdout]     |
[INFO] [stdout] 142 | 2024-07-08T14:55:29.313255Z  INFO ThreadId(01) examples\trade-engine.rs:104: CryptoCurrencyHistoryId: 2 Quantity: 0.5 Timestamp: 20...
[INFO] [stdout]     |                                                        ^
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \
[INFO] [stdout]    --> src/lib.rs:143:56
[INFO] [stdout]     |
[INFO] [stdout] 143 | 2024-07-08T14:55:29.313335Z  INFO ThreadId(01) examples\trade-engine.rs:81: AccountId: 2 Name: Bob Timestamp: 2024-07-08 19:55:28
[INFO] [stdout]     |                                                        ^
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \
[INFO] [stdout]    --> src/lib.rs:144:56
[INFO] [stdout]     |
[INFO] [stdout] 144 | 2024-07-08T14:55:29.313454Z  INFO ThreadId(01) examples\trade-engine.rs:86: CurrencyId: 2 Symbol: USD Balance: 25000.00
[INFO] [stdout]     |                                                        ^
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \
[INFO] [stdout]    --> src/lib.rs:145:56
[INFO] [stdout]     |
[INFO] [stdout] 145 | 2024-07-08T14:55:29.313579Z  INFO ThreadId(01) examples\trade-engine.rs:92: CurrencyHistoryId: 3 Balance: 25000.00 Timestamp: 2024-...
[INFO] [stdout]     |                                                        ^
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \
[INFO] [stdout]    --> src/lib.rs:146:56
[INFO] [stdout]     |
[INFO] [stdout] 146 | 2024-07-08T14:55:29.313707Z  INFO ThreadId(01) examples\trade-engine.rs:98: CryptoCurrencyId: 1 BTC Amount: 0.5
[INFO] [stdout]     |                                                        ^
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \
[INFO] [stdout]    --> src/lib.rs:147:56
[INFO] [stdout]     |
[INFO] [stdout] 147 | 2024-07-08T14:55:29.313814Z  INFO ThreadId(01) examples\trade-engine.rs:104: CryptoCurrencyHistoryId: 1 Quantity: 1 Timestamp: 2024...
[INFO] [stdout]     |                                                        ^
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \
[INFO] [stdout]    --> src/lib.rs:148:56
[INFO] [stdout]     |
[INFO] [stdout] 148 | 2024-07-08T14:55:29.313881Z  INFO ThreadId(01) examples\trade-engine.rs:104: CryptoCurrencyHistoryId: 3 Quantity: 0.5 Timestamp: 20...
[INFO] [stdout]     |                                                        ^
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \
[INFO] [stdout]    --> src/lib.rs:149:51
[INFO] [stdout]     |
[INFO] [stdout] 149 | 2024-07-08T14:55:30.288721Z  INFO ThreadId(02) src\matcher.rs:157: Before Matching
[INFO] [stdout]     |                                                   ^
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \
[INFO] [stdout]    --> src/lib.rs:150:51
[INFO] [stdout]     |
[INFO] [stdout] 150 | 2024-07-08T14:55:30.288946Z  INFO ThreadId(02) src\matcher.rs:160: Buy Order: Order { id: 3, account_id: 1, trade_type: Buy, price_...
[INFO] [stdout]     |                                                   ^
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \
[INFO] [stdout]    --> src/lib.rs:151:51
[INFO] [stdout]     |
[INFO] [stdout] 151 | 2024-07-08T14:55:30.289023Z  INFO ThreadId(02) src\matcher.rs:163: Sell Order: Order { id: 2, account_id: 2, trade_type: Sell, pric...
[INFO] [stdout]     |                                                   ^
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \
[INFO] [stdout]    --> src/lib.rs:152:56
[INFO] [stdout]     |
[INFO] [stdout] 152 | 2024-07-08T14:55:30.315944Z  INFO ThreadId(01) examples\trade-engine.rs:64: OrderMatch: Buy Order Id: 3 Sell Order Id: 2 Quantity: ...
[INFO] [stdout]     |                                                        ^
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \
[INFO] [stdout]    --> src/lib.rs:153:56
[INFO] [stdout]     |
[INFO] [stdout] 153 | 2024-07-08T14:55:30.334073Z  INFO ThreadId(01) examples\trade-engine.rs:81: AccountId: 1 Name: Alice Timestamp: 2024-07-08 19:55:28
[INFO] [stdout]     |                                                        ^
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \
[INFO] [stdout]    --> src/lib.rs:154:56
[INFO] [stdout]     |
[INFO] [stdout] 154 | 2024-07-08T14:55:30.334267Z  INFO ThreadId(01) examples\trade-engine.rs:86: CurrencyId: 1 Symbol: USD Balance: 50000.00
[INFO] [stdout]     |                                                        ^
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \
[INFO] [stdout]    --> src/lib.rs:155:56
[INFO] [stdout]     |
[INFO] [stdout] 155 | 2024-07-08T14:55:30.334448Z  INFO ThreadId(01) examples\trade-engine.rs:92: CurrencyHistoryId: 1 Balance: 100000.00 Timestamp: 2024...
[INFO] [stdout]     |                                                        ^
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \
[INFO] [stdout]    --> src/lib.rs:156:56
[INFO] [stdout]     |
[INFO] [stdout] 156 | 2024-07-08T14:55:30.334571Z  INFO ThreadId(01) examples\trade-engine.rs:92: CurrencyHistoryId: 2 Balance: 75000.00 Timestamp: 2024-...
[INFO] [stdout]     |                                                        ^
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \
[INFO] [stdout]    --> src/lib.rs:157:56
[INFO] [stdout]     |
[INFO] [stdout] 157 | 2024-07-08T14:55:30.334686Z  INFO ThreadId(01) examples\trade-engine.rs:92: CurrencyHistoryId: 4 Balance: 50000.00 Timestamp: 2024-...
[INFO] [stdout]     |                                                        ^
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \
[INFO] [stdout]    --> src/lib.rs:158:56
[INFO] [stdout]     |
[INFO] [stdout] 158 | 2024-07-08T14:55:30.334863Z  INFO ThreadId(01) examples\trade-engine.rs:98: CryptoCurrencyId: 2 BTC Amount: 1
[INFO] [stdout]     |                                                        ^
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \
[INFO] [stdout]    --> src/lib.rs:159:56
[INFO] [stdout]     |
[INFO] [stdout] 159 | 2024-07-08T14:55:30.335030Z  INFO ThreadId(01) examples\trade-engine.rs:104: CryptoCurrencyHistoryId: 2 Quantity: 0.5 Timestamp: 20...
[INFO] [stdout]     |                                                        ^
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \
[INFO] [stdout]    --> src/lib.rs:160:56
[INFO] [stdout]     |
[INFO] [stdout] 160 | 2024-07-08T14:55:30.335130Z  INFO ThreadId(01) examples\trade-engine.rs:104: CryptoCurrencyHistoryId: 4 Quantity: 1 Timestamp: 2024...
[INFO] [stdout]     |                                                        ^
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \
[INFO] [stdout]    --> src/lib.rs:161:56
[INFO] [stdout]     |
[INFO] [stdout] 161 | 2024-07-08T14:55:30.335217Z  INFO ThreadId(01) examples\trade-engine.rs:81: AccountId: 2 Name: Bob Timestamp: 2024-07-08 19:55:28
[INFO] [stdout]     |                                                        ^
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \
[INFO] [stdout]    --> src/lib.rs:162:56
[INFO] [stdout]     |
[INFO] [stdout] 162 | 2024-07-08T14:55:30.335340Z  INFO ThreadId(01) examples\trade-engine.rs:86: CurrencyId: 2 Symbol: USD Balance: 50000.00
[INFO] [stdout]     |                                                        ^
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \
[INFO] [stdout]    --> src/lib.rs:163:56
[INFO] [stdout]     |
[INFO] [stdout] 163 | 2024-07-08T14:55:30.335495Z  INFO ThreadId(01) examples\trade-engine.rs:92: CurrencyHistoryId: 3 Balance: 25000.00 Timestamp: 2024-...
[INFO] [stdout]     |                                                        ^
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \
[INFO] [stdout]    --> src/lib.rs:164:56
[INFO] [stdout]     |
[INFO] [stdout] 164 | 2024-07-08T14:55:30.335588Z  INFO ThreadId(01) examples\trade-engine.rs:92: CurrencyHistoryId: 5 Balance: 50000.00 Timestamp: 2024-...
[INFO] [stdout]     |                                                        ^
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \
[INFO] [stdout]    --> src/lib.rs:165:56
[INFO] [stdout]     |
[INFO] [stdout] 165 | 2024-07-08T14:55:30.335720Z  INFO ThreadId(01) examples\trade-engine.rs:98: CryptoCurrencyId: 1 BTC Amount: 0
[INFO] [stdout]     |                                                        ^
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \
[INFO] [stdout]    --> src/lib.rs:166:56
[INFO] [stdout]     |
[INFO] [stdout] 166 | 2024-07-08T14:55:30.335846Z  INFO ThreadId(01) examples\trade-engine.rs:104: CryptoCurrencyHistoryId: 1 Quantity: 1 Timestamp: 2024...
[INFO] [stdout]     |                                                        ^
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \
[INFO] [stdout]    --> src/lib.rs:167:56
[INFO] [stdout]     |
[INFO] [stdout] 167 | 2024-07-08T14:55:30.335923Z  INFO ThreadId(01) examples\trade-engine.rs:104: CryptoCurrencyHistoryId: 3 Quantity: 0.5 Timestamp: 20...
[INFO] [stdout]     |                                                        ^
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \
[INFO] [stdout]    --> src/lib.rs:168:56
[INFO] [stdout]     |
[INFO] [stdout] 168 | 2024-07-08T14:55:30.335993Z  INFO ThreadId(01) examples\trade-engine.rs:104: CryptoCurrencyHistoryId: 5 Quantity: 0 Timestamp: 2024...
[INFO] [stdout]     |                                                        ^
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \
[INFO] [stdout]    --> src/lib.rs:169:51
[INFO] [stdout]     |
[INFO] [stdout] 169 | 2024-07-08T14:55:31.289822Z  INFO ThreadId(02) src\matcher.rs:157: Before Matching
[INFO] [stdout]     |                                                   ^
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \
[INFO] [stdout]    --> src/lib.rs:170:51
[INFO] [stdout]     |
[INFO] [stdout] 170 | 2024-07-08T14:55:31.290319Z  INFO ThreadId(02) src\matcher.rs:160: Buy Order: Order { id: 4, account_id: 1, trade_type: Buy, price_...
[INFO] [stdout]     |                                                   ^
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \
[INFO] [stdout]    --> src/lib.rs:171:51
[INFO] [stdout]     |
[INFO] [stdout] 171 | 2024-07-08T14:55:31.290590Z  INFO ThreadId(02) src\matcher.rs:157: After Matching
[INFO] [stdout]     |                                                   ^
[INFO] [stdout] 
[INFO] [stdout] error: expected item, found `2024`
[INFO] [stdout]    --> src/lib.rs:124:1
[INFO] [stdout]     |
[INFO] [stdout] 124 | 2024-07-08T14:55:28.291721Z  INFO ThreadId(01) examples\trade-engine.rs:81: AccountId: 1 Name: Alice Timestamp: 2024-07-08 19:55:28
[INFO] [stdout]     | ^^^^ expected item
[INFO] [stdout]     |
[INFO] [stdout]     = note: for a full list of items that can appear in modules, see <https://doc.rust-lang.org/reference/items.html>
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 49 previous errors
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 32) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Arc`
[INFO] [stdout]   --> src/lib.rs:34:26
[INFO] [stdout]    |
[INFO] [stdout] 34 |     let storage_system = Arc::new(StorageSystem::new());
[INFO] [stdout]    |                          ^^^ use of undeclared type `Arc`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 33 + use std::sync::Arc;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StorageSystem`
[INFO] [stdout]   --> src/lib.rs:34:35
[INFO] [stdout]    |
[INFO] [stdout] 34 |     let storage_system = Arc::new(StorageSystem::new());
[INFO] [stdout]    |                                   ^^^^^^^^^^^^^ use of undeclared type `StorageSystem`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 33 + use kubera::storage::StorageSystem;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetSystem`
[INFO] [stdout]   --> src/lib.rs:35:30
[INFO] [stdout]    |
[INFO] [stdout] 35 |     let mut assets_system =  AssetSystem::new(storage_system.clone());
[INFO] [stdout]    |                              ^^^^^^^^^^^ use of undeclared type `AssetSystem`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 33 + use kubera::assets::AssetSystem;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Currency` in this scope
[INFO] [stdout]   --> src/lib.rs:37:47
[INFO] [stdout]    |
[INFO] [stdout] 37 |         let _ = assets_system.create_currency(Currency { id: 0, symbol: "USD".to_string() });
[INFO] [stdout]    |                                               ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 33 + use kubera::assets::Currency;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `CryptoCurrency` in this scope
[INFO] [stdout]   --> src/lib.rs:40:54
[INFO] [stdout]    |
[INFO] [stdout] 40 |         let _ = assets_system.create_crypto_currency(CryptoCurrency { id: 0, symbol: "BTC".to_string() });
[INFO] [stdout]    |                                                      ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 33 + use kubera::assets::CryptoCurrency;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Arc`
[INFO] [stdout]   --> src/lib.rs:43:25
[INFO] [stdout]    |
[INFO] [stdout] 43 |     let assets_system = Arc::new(assets_system);
[INFO] [stdout]    |                         ^^^ use of undeclared type `Arc`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 33 + use std::sync::Arc;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AccountSystem`
[INFO] [stdout]   --> src/lib.rs:44:31
[INFO] [stdout]    |
[INFO] [stdout] 44 |     let mut accounts_system = AccountSystem::new(storage_system.clone(), assets_system.clone());
[INFO] [stdout]    |                               ^^^^^^^^^^^^^ use of undeclared type `AccountSystem`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 33 + use kubera::accounts::AccountSystem;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Account` in this scope
[INFO] [stdout]   --> src/lib.rs:50:58
[INFO] [stdout]    |
[INFO] [stdout] 50 |         let account1_id = accounts_system.create_account(Account { id: 0, name: "Alice".to_string(), timestamp: SystemTime::now() });
[INFO] [stdout]    |                                                          ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 33 + use kubera::accounts::Account;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SystemTime`
[INFO] [stdout]   --> src/lib.rs:50:113
[INFO] [stdout]    |
[INFO] [stdout] 50 |         let account1_id = accounts_system.create_account(Account { id: 0, name: "Alice".to_string(), timestamp: SystemTime::now() });
[INFO] [stdout]    |                                                                                                                 ^^^^^^^^^^ use of undeclared type `SystemTime`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]    |
[INFO] [stdout] 33 + use std::time::SystemTime;
[INFO] [stdout]    |
[INFO] [stdout] 33 + use tracing_subscriber::fmt::time::SystemTime;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Account` in this scope
[INFO] [stdout]   --> src/lib.rs:51:58
[INFO] [stdout]    |
[INFO] [stdout] 51 |         let account2_id = accounts_system.create_account(Account { id: 0, name: "Bob".to_string(), timestamp: SystemTime::now() });
[INFO] [stdout]    |                                                          ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 33 + use kubera::accounts::Account;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SystemTime`
[INFO] [stdout]   --> src/lib.rs:51:111
[INFO] [stdout]    |
[INFO] [stdout] 51 |         let account2_id = accounts_system.create_account(Account { id: 0, name: "Bob".to_string(), timestamp: SystemTime::now() });
[INFO] [stdout]    |                                                                                                               ^^^^^^^^^^ use of undeclared type `SystemTime`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]    |
[INFO] [stdout] 33 + use std::time::SystemTime;
[INFO] [stdout]    |
[INFO] [stdout] 33 + use tracing_subscriber::fmt::time::SystemTime;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OrderSystem`
[INFO] [stdout]   --> src/lib.rs:59:28
[INFO] [stdout]    |
[INFO] [stdout] 59 |     let mut order_system = OrderSystem::new(storage_system.clone(), assets_system.clone());
[INFO] [stdout]    |                            ^^^^^^^^^^^ use of undeclared type `OrderSystem`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 33 + use kubera::orders::OrderSystem;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MatcherSystem`
[INFO] [stdout]   --> src/lib.rs:64:26
[INFO] [stdout]    |
[INFO] [stdout] 64 |     let matcher_system = MatcherSystem::start(crypto_currency_id, currency_id, core_id);
[INFO] [stdout]    |                          ^^^^^^^^^^^^^ use of undeclared type `MatcherSystem`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 33 + use kubera::matcher::MatcherSystem;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Order` in this scope
[INFO] [stdout]   --> src/lib.rs:65:44
[INFO] [stdout]    |
[INFO] [stdout] 65 |     let order1 = order_system.create_order(Order { id: 0, account_id: account1_id, trade_type: TradeType::Buy, price_type: PriceType...
[INFO] [stdout]    |                                            ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 33 + use kubera::orders::Order;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TradeType`
[INFO] [stdout]   --> src/lib.rs:65:96
[INFO] [stdout]    |
[INFO] [stdout] 65 | ...: 0, account_id: account1_id, trade_type: TradeType::Buy, price_type: PriceType::Market, execution_type: ExecutionType::Full, cry...
[INFO] [stdout]    |                                              ^^^^^^^^^ use of undeclared type `TradeType`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 33 + use kubera::orders::TradeType;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PriceType`
[INFO] [stdout]   --> src/lib.rs:65:124
[INFO] [stdout]    |
[INFO] [stdout] 65 | ..., trade_type: TradeType::Buy, price_type: PriceType::Market, execution_type: ExecutionType::Full, crypto_currency_id: crypto_curr...
[INFO] [stdout]    |                                              ^^^^^^^^^ use of undeclared type `PriceType`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 33 + use kubera::orders::PriceType;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExecutionType`
[INFO] [stdout]   --> src/lib.rs:65:159
[INFO] [stdout]    |
[INFO] [stdout] 65 | ...e: PriceType::Market, execution_type: ExecutionType::Full, crypto_currency_id: crypto_currency_id, currency_id, quantity: 0.5,  s...
[INFO] [stdout]    |                                          ^^^^^^^^^^^^^ use of undeclared type `ExecutionType`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 33 + use kubera::orders::ExecutionType;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OrderStatus`
[INFO] [stdout]   --> src/lib.rs:65:257
[INFO] [stdout]    |
[INFO] [stdout] 65 | ...d, currency_id, quantity: 0.5,  status: OrderStatus::Open, timestamp: SystemTime::now()});
[INFO] [stdout]    |                                            ^^^^^^^^^^^ use of undeclared type `OrderStatus`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 33 + use kubera::orders::OrderStatus;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SystemTime`
[INFO] [stdout]   --> src/lib.rs:65:287
[INFO] [stdout]    |
[INFO] [stdout] 65 | ...,  status: OrderStatus::Open, timestamp: SystemTime::now()});
[INFO] [stdout]    |                                             ^^^^^^^^^^ use of undeclared type `SystemTime`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]    |
[INFO] [stdout] 33 + use std::time::SystemTime;
[INFO] [stdout]    |
[INFO] [stdout] 33 + use tracing_subscriber::fmt::time::SystemTime;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Order` in this scope
[INFO] [stdout]   --> src/lib.rs:66:44
[INFO] [stdout]    |
[INFO] [stdout] 66 |     let order2 = order_system.create_order(Order { id: 0, account_id: account2_id, trade_type: TradeType::Sell, price_type: PriceTyp...
[INFO] [stdout]    |                                            ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 33 + use kubera::orders::Order;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TradeType`
[INFO] [stdout]   --> src/lib.rs:66:96
[INFO] [stdout]    |
[INFO] [stdout] 66 | ...: 0, account_id: account2_id, trade_type: TradeType::Sell, price_type: PriceType::Limit(50000.00), execution_type: ExecutionType:...
[INFO] [stdout]    |                                              ^^^^^^^^^ use of undeclared type `TradeType`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 33 + use kubera::orders::TradeType;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PriceType`
[INFO] [stdout]   --> src/lib.rs:66:125
[INFO] [stdout]    |
[INFO] [stdout] 66 | ... trade_type: TradeType::Sell, price_type: PriceType::Limit(50000.00), execution_type: ExecutionType::Partial, crypto_currency_id:...
[INFO] [stdout]    |                                              ^^^^^^^^^ use of undeclared type `PriceType`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 33 + use kubera::orders::PriceType;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExecutionType`
[INFO] [stdout]   --> src/lib.rs:66:169
[INFO] [stdout]    |
[INFO] [stdout] 66 | ...ype::Limit(50000.00), execution_type: ExecutionType::Partial, crypto_currency_id: crypto_currency_id, currency_id, quantity: 1.0,...
[INFO] [stdout]    |                                          ^^^^^^^^^^^^^ use of undeclared type `ExecutionType`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 33 + use kubera::orders::ExecutionType;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OrderStatus`
[INFO] [stdout]   --> src/lib.rs:66:270
[INFO] [stdout]    |
[INFO] [stdout] 66 | ...d, currency_id, quantity: 1.0,  status: OrderStatus::Open, timestamp: SystemTime::now()});
[INFO] [stdout]    |                                            ^^^^^^^^^^^ use of undeclared type `OrderStatus`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 33 + use kubera::orders::OrderStatus;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SystemTime`
[INFO] [stdout]   --> src/lib.rs:66:300
[INFO] [stdout]    |
[INFO] [stdout] 66 | ...,  status: OrderStatus::Open, timestamp: SystemTime::now()});
[INFO] [stdout]    |                                             ^^^^^^^^^^ use of undeclared type `SystemTime`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]    |
[INFO] [stdout] 33 + use std::time::SystemTime;
[INFO] [stdout]    |
[INFO] [stdout] 33 + use tracing_subscriber::fmt::time::SystemTime;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Order` in this scope
[INFO] [stdout]   --> src/lib.rs:76:54
[INFO] [stdout]    |
[INFO] [stdout] 76 | ...   let order = order_system.create_order(Order { id: 0, account_id: account1_id, trade_type: TradeType::Buy, price_type: PriceTyp...
[INFO] [stdout]    |                                             ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 33 + use kubera::orders::Order;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TradeType`
[INFO] [stdout]   --> src/lib.rs:76:106
[INFO] [stdout]    |
[INFO] [stdout] 76 | ...: 0, account_id: account1_id, trade_type: TradeType::Buy, price_type: PriceType::Market, execution_type: ExecutionType::Full, cry...
[INFO] [stdout]    |                                              ^^^^^^^^^ use of undeclared type `TradeType`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 33 + use kubera::orders::TradeType;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PriceType`
[INFO] [stdout]   --> src/lib.rs:76:134
[INFO] [stdout]    |
[INFO] [stdout] 76 | ..., trade_type: TradeType::Buy, price_type: PriceType::Market, execution_type: ExecutionType::Full, crypto_currency_id: crypto_curr...
[INFO] [stdout]    |                                              ^^^^^^^^^ use of undeclared type `PriceType`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 33 + use kubera::orders::PriceType;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExecutionType`
[INFO] [stdout]   --> src/lib.rs:76:169
[INFO] [stdout]    |
[INFO] [stdout] 76 | ...e: PriceType::Market, execution_type: ExecutionType::Full, crypto_currency_id: crypto_currency_id, currency_id, quantity: 0.5,  s...
[INFO] [stdout]    |                                          ^^^^^^^^^^^^^ use of undeclared type `ExecutionType`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 33 + use kubera::orders::ExecutionType;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OrderStatus`
[INFO] [stdout]   --> src/lib.rs:76:267
[INFO] [stdout]    |
[INFO] [stdout] 76 | ...d, currency_id, quantity: 0.5,  status: OrderStatus::Open, timestamp: SystemTime::now()});
[INFO] [stdout]    |                                            ^^^^^^^^^^^ use of undeclared type `OrderStatus`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 33 + use kubera::orders::OrderStatus;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SystemTime`
[INFO] [stdout]   --> src/lib.rs:76:297
[INFO] [stdout]    |
[INFO] [stdout] 76 | ...,  status: OrderStatus::Open, timestamp: SystemTime::now()});
[INFO] [stdout]    |                                             ^^^^^^^^^^ use of undeclared type `SystemTime`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]    |
[INFO] [stdout] 33 + use std::time::SystemTime;
[INFO] [stdout]    |
[INFO] [stdout] 33 + use tracing_subscriber::fmt::time::SystemTime;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Arc` in this scope
[INFO] [stdout]   --> src/lib.rs:85:35
[INFO] [stdout]    |
[INFO] [stdout] 85 | fn print_accounts(storage_system: Arc<StorageSystem>) {
[INFO] [stdout]    |                                   ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 33 + use std::sync::Arc;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `StorageSystem` in this scope
[INFO] [stdout]   --> src/lib.rs:85:39
[INFO] [stdout]    |
[INFO] [stdout] 85 | fn print_accounts(storage_system: Arc<StorageSystem>) {
[INFO] [stdout]    |                                       ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 33 + use kubera::storage::StorageSystem;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `DateTime` in this scope
[INFO] [stdout]   --> src/lib.rs:88:23
[INFO] [stdout]    |
[INFO] [stdout] 88 |         let datetime: DateTime<Local> = account.timestamp.into();
[INFO] [stdout]    |                       ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 33 + use chrono::DateTime;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Local` in this scope
[INFO] [stdout]   --> src/lib.rs:88:32
[INFO] [stdout]    |
[INFO] [stdout] 88 |         let datetime: DateTime<Local> = account.timestamp.into();
[INFO] [stdout]    |                                ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 33 + use chrono::Local;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `DateTime` in this scope
[INFO] [stdout]   --> src/lib.rs:99:31
[INFO] [stdout]    |
[INFO] [stdout] 99 |                 let datetime: DateTime<Local> = account_currency_history.timestamp.into();
[INFO] [stdout]    |                               ^^^^^^^^ not found in this scope
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 33 + use chrono::DateTime;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Local` in this scope
[INFO] [stdout]   --> src/lib.rs:99:40
[INFO] [stdout]    |
[INFO] [stdout] 99 |                 let datetime: DateTime<Local> = account_currency_history.timestamp.into();
[INFO] [stdout]    |                                        ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 33 + use chrono::Local;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `DateTime` in this scope
[INFO] [stdout]    --> src/lib.rs:111:31
[INFO] [stdout]     |
[INFO] [stdout] 111 |                 let datetime: DateTime<Local> = account_crypto_currency_history.timestamp.into();
[INFO] [stdout]     |                               ^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout]  33 + use chrono::DateTime;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Local` in this scope
[INFO] [stdout]    --> src/lib.rs:111:40
[INFO] [stdout]     |
[INFO] [stdout] 111 |                 let datetime: DateTime<Local> = account_crypto_currency_history.timestamp.into();
[INFO] [stdout]     |                                        ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout]  33 + use chrono::Local;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 39 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0422`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - (line 123)
[INFO] [stdout]     src/lib.rs - (line 32)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.29s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "f061a8e8a26016c64b083cb2b086d22eae9dabcf4d4c7ac945ce5b5aa6f6dac1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f061a8e8a26016c64b083cb2b086d22eae9dabcf4d4c7ac945ce5b5aa6f6dac1", kill_on_drop: false }`
[INFO] [stdout] f061a8e8a26016c64b083cb2b086d22eae9dabcf4d4c7ac945ce5b5aa6f6dac1
