[INFO] cloning repository https://github.com/drewmudry/rust_trading_platform
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/drewmudry/rust_trading_platform" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdrewmudry%2Frust_trading_platform", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdrewmudry%2Frust_trading_platform'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c90765a7e0966ee4f2fde6eb97dfa98ca6e8382b
[INFO] checking drewmudry/rust_trading_platform against nightly-2024-02-05 for check-cfg-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdrewmudry%2Frust_trading_platform" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/drewmudry/rust_trading_platform on toolchain nightly-2024-02-05
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-02-05" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/drewmudry/rust_trading_platform
[INFO] finished tweaking git repo https://github.com/drewmudry/rust_trading_platform
[INFO] tweaked toml for git repo https://github.com/drewmudry/rust_trading_platform written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/drewmudry/rust_trading_platform 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" "+nightly-2024-02-05" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded toml_edit v0.20.2
[INFO] [stderr]   Downloaded proc-macro-crate v2.0.1
[INFO] [stderr]   Downloaded borsh v1.2.1
[INFO] [stderr]   Downloaded rust_decimal_macros v1.33.1
[INFO] [stderr]   Downloaded borsh-derive v1.2.1
[INFO] [stderr]   Downloaded rkyv_derive v0.7.43
[INFO] [stderr]   Downloaded rkyv v0.7.43
[INFO] [stderr]   Downloaded rust_decimal v1.33.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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-02-05" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a3599835a450e9385b06f9691f73f521d94cda771954720fdebc2ddf4d4d6c28
[INFO] running `Command { std: "docker" "start" "-a" "a3599835a450e9385b06f9691f73f521d94cda771954720fdebc2ddf4d4d6c28", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a3599835a450e9385b06f9691f73f521d94cda771954720fdebc2ddf4d4d6c28", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a3599835a450e9385b06f9691f73f521d94cda771954720fdebc2ddf4d4d6c28", kill_on_drop: false }`
[INFO] [stdout] a3599835a450e9385b06f9691f73f521d94cda771954720fdebc2ddf4d4d6c28
[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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-02-05" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 96a592d1d544515e2f4db506415c5171473abf7769258a3ca7a857868b6473f1
[INFO] running `Command { std: "docker" "start" "-a" "96a592d1d544515e2f4db506415c5171473abf7769258a3ca7a857868b6473f1", kill_on_drop: false }`
[INFO] [stderr]    Compiling num-traits v0.2.17
[INFO] [stderr]    Compiling proc-macro2 v1.0.70
[INFO] [stderr]    Compiling serde v1.0.193
[INFO] [stderr]    Compiling rust_decimal v1.33.1
[INFO] [stderr]    Compiling arrayvec v0.7.4
[INFO] [stderr]    Compiling quote v1.0.33
[INFO] [stderr]    Compiling rust_decimal_macros v1.33.1
[INFO] [stderr]     Checking trade_platform v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/matching_engine/engine.rs:1:42
[INFO] [stdout]   |
[INFO] [stdout] 1 | use super::orderbook::{Orderbook, Order, self};
[INFO] [stdout]   |                                          ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `MatchingEngine`, `TradingPair`
[INFO] [stdout]  --> src/main.rs:2:31
[INFO] [stdout]   |
[INFO] [stdout] 2 | use matching_engine::engine::{MatchingEngine, TradingPair};
[INFO] [stdout]   |                               ^^^^^^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/matching_engine/engine.rs:1:42
[INFO] [stdout]   |
[INFO] [stdout] 1 | use super::orderbook::{Orderbook, Order, self};
[INFO] [stdout]   |                                          ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `MatchingEngine`, `TradingPair`
[INFO] [stdout]  --> src/main.rs:2:31
[INFO] [stdout]   |
[INFO] [stdout] 2 | use matching_engine::engine::{MatchingEngine, TradingPair};
[INFO] [stdout]   |                               ^^^^^^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `matched_limit`
[INFO] [stdout]   --> src/main.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let matched_limit = ask_limit.get(0).unwrap();
[INFO] [stdout]    |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_matched_limit`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `to_string` are never used
[INFO] [stdout]   --> src/matching_engine/engine.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl TradingPair{
[INFO] [stdout]    | ---------------- associated items in this implementation
[INFO] [stdout] 16 |     pub fn new(base: String, quote: String) -> TradingPair{
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 20 |     pub fn to_string(self) -> String {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MatchingEngine` is never constructed
[INFO] [stdout]   --> src/matching_engine/engine.rs:25:12
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub struct MatchingEngine{
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `add_new_market`, and `place_limit_order` are never used
[INFO] [stdout]   --> src/matching_engine/engine.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 29 | impl MatchingEngine{
[INFO] [stdout]    | ------------------- associated items in this implementation
[INFO] [stdout] 30 |     pub fn new() -> MatchingEngine{
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 36 |     pub fn add_new_market(&mut self, pair: TradingPair) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 42 |     pub fn place_limit_order(
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `Orderbook` should have a snake case name
[INFO] [stdout]  --> src/main.rs:8:13
[INFO] [stdout]   |
[INFO] [stdout] 8 |     let mut Orderbook = Orderbook::new();
[INFO] [stdout]   |             ^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `orderbook`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 7 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `matched_limit`
[INFO] [stdout]   --> src/main.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let matched_limit = ask_limit.get(0).unwrap();
[INFO] [stdout]    |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_matched_limit`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `to_string` are never used
[INFO] [stdout]   --> src/matching_engine/engine.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl TradingPair{
[INFO] [stdout]    | ---------------- associated items in this implementation
[INFO] [stdout] 16 |     pub fn new(base: String, quote: String) -> TradingPair{
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 20 |     pub fn to_string(self) -> String {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MatchingEngine` is never constructed
[INFO] [stdout]   --> src/matching_engine/engine.rs:25:12
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub struct MatchingEngine{
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `add_new_market`, and `place_limit_order` are never used
[INFO] [stdout]   --> src/matching_engine/engine.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 29 | impl MatchingEngine{
[INFO] [stdout]    | ------------------- associated items in this implementation
[INFO] [stdout] 30 |     pub fn new() -> MatchingEngine{
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 36 |     pub fn add_new_market(&mut self, pair: TradingPair) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 42 |     pub fn place_limit_order(
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `Orderbook` should have a snake case name
[INFO] [stdout]  --> src/main.rs:8:13
[INFO] [stdout]   |
[INFO] [stdout] 8 |     let mut Orderbook = Orderbook::new();
[INFO] [stdout]   |             ^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `orderbook`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 7 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 5.16s
[INFO] running `Command { std: "docker" "inspect" "96a592d1d544515e2f4db506415c5171473abf7769258a3ca7a857868b6473f1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "96a592d1d544515e2f4db506415c5171473abf7769258a3ca7a857868b6473f1", kill_on_drop: false }`
[INFO] [stdout] 96a592d1d544515e2f4db506415c5171473abf7769258a3ca7a857868b6473f1
[INFO] checking drewmudry/rust_trading_platform against nightly-2024-02-05+rustflags=-Dunexpected_cfgs+cargoflags=-Zcheck-cfg for check-cfg-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdrewmudry%2Frust_trading_platform" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/drewmudry/rust_trading_platform on toolchain nightly-2024-02-05
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-02-05" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/drewmudry/rust_trading_platform
[INFO] finished tweaking git repo https://github.com/drewmudry/rust_trading_platform
[INFO] tweaked toml for git repo https://github.com/drewmudry/rust_trading_platform written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/drewmudry/rust_trading_platform 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" "+nightly-2024-02-05" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-02-05" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6f7d7837b3adf95be268f0c30ff23e049c04903aa0a801db49b7a67988bce7b0
[INFO] running `Command { std: "docker" "start" "-a" "6f7d7837b3adf95be268f0c30ff23e049c04903aa0a801db49b7a67988bce7b0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6f7d7837b3adf95be268f0c30ff23e049c04903aa0a801db49b7a67988bce7b0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6f7d7837b3adf95be268f0c30ff23e049c04903aa0a801db49b7a67988bce7b0", kill_on_drop: false }`
[INFO] [stdout] 6f7d7837b3adf95be268f0c30ff23e049c04903aa0a801db49b7a67988bce7b0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Dunexpected_cfgs" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-02-05" "check" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zcheck-cfg", kill_on_drop: false }`
[INFO] [stdout] c8cc992af5bb09cd6bbc164f95b790548abd454c204b8d99b7bc9560a98ea5cb
[INFO] running `Command { std: "docker" "start" "-a" "c8cc992af5bb09cd6bbc164f95b790548abd454c204b8d99b7bc9560a98ea5cb", kill_on_drop: false }`
[INFO] [stderr]    Compiling num-traits v0.2.17
[INFO] [stderr]    Compiling proc-macro2 v1.0.70
[INFO] [stderr]    Compiling serde v1.0.193
[INFO] [stderr]    Compiling rust_decimal v1.33.1
[INFO] [stderr]    Compiling arrayvec v0.7.4
[INFO] [stderr]    Compiling quote v1.0.33
[INFO] [stderr]    Compiling rust_decimal_macros v1.33.1
[INFO] [stderr]     Checking trade_platform v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/matching_engine/engine.rs:1:42
[INFO] [stdout]   |
[INFO] [stdout] 1 | use super::orderbook::{Orderbook, Order, self};
[INFO] [stdout]   |                                          ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unexpected `cfg` condition name: `tests`
[INFO] [stdout]    --> src/matching_engine/orderbook.rs:139:7
[INFO] [stdout]     |
[INFO] [stdout] 139 | #[cfg(tests)]
[INFO] [stdout]     |       ^^^^^ help: there is a config with a similar name: `test`
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider using a Cargo feature instead or adding `println!("cargo:rustc-check-cfg=cfg(tests)");` to the top of a `build.rs`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#check-cfg> for more information about checking conditional configuration
[INFO] [stdout]     = note: requested on the command line with `-D unexpected-cfgs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `MatchingEngine`, `TradingPair`
[INFO] [stdout]  --> src/main.rs:2:31
[INFO] [stdout]   |
[INFO] [stdout] 2 | use matching_engine::engine::{MatchingEngine, TradingPair};
[INFO] [stdout]   |                               ^^^^^^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/matching_engine/engine.rs:1:42
[INFO] [stdout]   |
[INFO] [stdout] 1 | use super::orderbook::{Orderbook, Order, self};
[INFO] [stdout]   |                                          ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unexpected `cfg` condition name: `tests`
[INFO] [stdout]    --> src/matching_engine/orderbook.rs:139:7
[INFO] [stdout]     |
[INFO] [stdout] 139 | #[cfg(tests)]
[INFO] [stdout]     |       ^^^^^ help: there is a config with a similar name: `test`
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider using a Cargo feature instead or adding `println!("cargo:rustc-check-cfg=cfg(tests)");` to the top of a `build.rs`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#check-cfg> for more information about checking conditional configuration
[INFO] [stdout]     = note: requested on the command line with `-D unexpected-cfgs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `MatchingEngine`, `TradingPair`
[INFO] [stdout]  --> src/main.rs:2:31
[INFO] [stdout]   |
[INFO] [stdout] 2 | use matching_engine::engine::{MatchingEngine, TradingPair};
[INFO] [stdout]   |                               ^^^^^^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `matched_limit`
[INFO] [stdout]   --> src/main.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let matched_limit = ask_limit.get(0).unwrap();
[INFO] [stdout]    |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_matched_limit`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `to_string` are never used
[INFO] [stdout]   --> src/matching_engine/engine.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl TradingPair{
[INFO] [stdout]    | ---------------- associated items in this implementation
[INFO] [stdout] 16 |     pub fn new(base: String, quote: String) -> TradingPair{
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 20 |     pub fn to_string(self) -> String {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MatchingEngine` is never constructed
[INFO] [stdout]   --> src/matching_engine/engine.rs:25:12
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub struct MatchingEngine{
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `add_new_market`, and `place_limit_order` are never used
[INFO] [stdout]   --> src/matching_engine/engine.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 29 | impl MatchingEngine{
[INFO] [stdout]    | ------------------- associated items in this implementation
[INFO] [stdout] 30 |     pub fn new() -> MatchingEngine{
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 36 |     pub fn add_new_market(&mut self, pair: TradingPair) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 42 |     pub fn place_limit_order(
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `Orderbook` should have a snake case name
[INFO] [stdout]  --> src/main.rs:8:13
[INFO] [stdout]   |
[INFO] [stdout] 8 |     let mut Orderbook = Orderbook::new();
[INFO] [stdout]   |             ^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `orderbook`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `matched_limit`
[INFO] [stdout]   --> src/main.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let matched_limit = ask_limit.get(0).unwrap();
[INFO] [stdout]    |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_matched_limit`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error; 7 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `to_string` are never used
[INFO] [stdout]   --> src/matching_engine/engine.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl TradingPair{
[INFO] [stdout]    | ---------------- associated items in this implementation
[INFO] [stdout] 16 |     pub fn new(base: String, quote: String) -> TradingPair{
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 20 |     pub fn to_string(self) -> String {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MatchingEngine` is never constructed
[INFO] [stdout]   --> src/matching_engine/engine.rs:25:12
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub struct MatchingEngine{
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `add_new_market`, and `place_limit_order` are never used
[INFO] [stdout]   --> src/matching_engine/engine.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 29 | impl MatchingEngine{
[INFO] [stdout]    | ------------------- associated items in this implementation
[INFO] [stdout] 30 |     pub fn new() -> MatchingEngine{
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 36 |     pub fn add_new_market(&mut self, pair: TradingPair) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 42 |     pub fn place_limit_order(
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `Orderbook` should have a snake case name
[INFO] [stdout]  --> src/main.rs:8:13
[INFO] [stdout]   |
[INFO] [stdout] 8 |     let mut Orderbook = Orderbook::new();
[INFO] [stdout]   |             ^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `orderbook`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error; 7 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `trade_platform` (bin "trade_platform" test) due to 2 previous errors; 7 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `trade_platform` (bin "trade_platform") due to 2 previous errors; 7 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "c8cc992af5bb09cd6bbc164f95b790548abd454c204b8d99b7bc9560a98ea5cb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c8cc992af5bb09cd6bbc164f95b790548abd454c204b8d99b7bc9560a98ea5cb", kill_on_drop: false }`
[INFO] [stdout] c8cc992af5bb09cd6bbc164f95b790548abd454c204b8d99b7bc9560a98ea5cb
