[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
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdrewmudry%2Frust_trading_platform" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-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-3-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]  Downloading crates ...
[INFO] [stderr]   Downloaded borsh-derive v1.2.1
[INFO] [stderr]   Downloaded rust_decimal_macros v1.33.1
[INFO] [stderr]   Downloaded borsh v1.2.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 82610f8149dc21b59fe0e05434e0d2c318c7fe59c9e56688e2e8e4c744960663
[INFO] running `Command { std: "docker" "start" "-a" "82610f8149dc21b59fe0e05434e0d2c318c7fe59c9e56688e2e8e4c744960663", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "82610f8149dc21b59fe0e05434e0d2c318c7fe59c9e56688e2e8e4c744960663", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "82610f8149dc21b59fe0e05434e0d2c318c7fe59c9e56688e2e8e4c744960663", kill_on_drop: false }`
[INFO] [stdout] 82610f8149dc21b59fe0e05434e0d2c318c7fe59c9e56688e2e8e4c744960663
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 541660a3f370e18b3c6d5bc57536331ac67acef911ad4fd7b84e14c153a35127
[INFO] running `Command { std: "docker" "start" "-a" "541660a3f370e18b3c6d5bc57536331ac67acef911ad4fd7b84e14c153a35127", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.70
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]    Compiling rust_decimal v1.33.1
[INFO] [stderr]    Compiling serde v1.0.193
[INFO] [stderr]    Compiling arrayvec v0.7.4
[INFO] [stderr]    Compiling num-traits v0.2.17
[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: 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` 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: 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: 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: 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: 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: 7 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 2.12s
[INFO] running `Command { std: "docker" "inspect" "541660a3f370e18b3c6d5bc57536331ac67acef911ad4fd7b84e14c153a35127", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "541660a3f370e18b3c6d5bc57536331ac67acef911ad4fd7b84e14c153a35127", kill_on_drop: false }`
[INFO] [stdout] 541660a3f370e18b3c6d5bc57536331ac67acef911ad4fd7b84e14c153a35127
[INFO] checking drewmudry/rust_trading_platform against nightly-2024-02-05+rustflags=-Dunexpected_cfgs+cargoflags=-Zcheck-cfg for check-cfg
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdrewmudry%2Frust_trading_platform" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-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-3-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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] b586a25676f2ba2fe9d1863dff869c334d6639d79f8bd0a8d0c3136fcd9ecf59
[INFO] running `Command { std: "docker" "start" "-a" "b586a25676f2ba2fe9d1863dff869c334d6639d79f8bd0a8d0c3136fcd9ecf59", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b586a25676f2ba2fe9d1863dff869c334d6639d79f8bd0a8d0c3136fcd9ecf59", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b586a25676f2ba2fe9d1863dff869c334d6639d79f8bd0a8d0c3136fcd9ecf59", kill_on_drop: false }`
[INFO] [stdout] b586a25676f2ba2fe9d1863dff869c334d6639d79f8bd0a8d0c3136fcd9ecf59
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 7d07c25e664fa12842aa9d51a4c9de4f40c0a2ae54672e55b5a842a935ac222d
[INFO] running `Command { std: "docker" "start" "-a" "7d07c25e664fa12842aa9d51a4c9de4f40c0a2ae54672e55b5a842a935ac222d", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.1.0
[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 unicode-ident v1.0.12
[INFO] [stderr]    Compiling arrayvec v0.7.4
[INFO] [stderr]    Compiling num-traits v0.2.17
[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") 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" test) due to 2 previous errors; 7 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "7d07c25e664fa12842aa9d51a4c9de4f40c0a2ae54672e55b5a842a935ac222d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7d07c25e664fa12842aa9d51a4c9de4f40c0a2ae54672e55b5a842a935ac222d", kill_on_drop: false }`
[INFO] [stdout] 7d07c25e664fa12842aa9d51a4c9de4f40c0a2ae54672e55b5a842a935ac222d
