[INFO] cloning repository https://github.com/DeepakMehra53/trading_engine
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DeepakMehra53/trading_engine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDeepakMehra53%2Ftrading_engine", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDeepakMehra53%2Ftrading_engine'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] a17933103f220f9941ed63758161b421eb83a93a
[INFO] checking DeepakMehra53/trading_engine against try#438eb4c1a1c3841523d7f672601e8adbe04cff28 for pr-147589-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDeepakMehra53%2Ftrading_engine" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/DeepakMehra53/trading_engine
[INFO] finished tweaking git repo https://github.com/DeepakMehra53/trading_engine
[INFO] tweaked toml for git repo https://github.com/DeepakMehra53/trading_engine written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/DeepakMehra53/trading_engine on toolchain 438eb4c1a1c3841523d7f672601e8adbe04cff28
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+438eb4c1a1c3841523d7f672601e8adbe04cff28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/DeepakMehra53/trading_engine 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" "+438eb4c1a1c3841523d7f672601e8adbe04cff28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+438eb4c1a1c3841523d7f672601e8adbe04cff28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3ad92a06def3e6e7f231146a0f98949859c4bbaf0b592e0520a28bf868ffec4e
[INFO] running `Command { std: "docker" "start" "-a" "3ad92a06def3e6e7f231146a0f98949859c4bbaf0b592e0520a28bf868ffec4e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3ad92a06def3e6e7f231146a0f98949859c4bbaf0b592e0520a28bf868ffec4e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3ad92a06def3e6e7f231146a0f98949859c4bbaf0b592e0520a28bf868ffec4e", kill_on_drop: false }`
[INFO] [stdout] 3ad92a06def3e6e7f231146a0f98949859c4bbaf0b592e0520a28bf868ffec4e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+438eb4c1a1c3841523d7f672601e8adbe04cff28" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] feb71d3e87077faabb04c391347a1072c752ed4ebf61a1dafa1a7a52b7b5d5fb
[INFO] running `Command { std: "docker" "start" "-a" "feb71d3e87077faabb04c391347a1072c752ed4ebf61a1dafa1a7a52b7b5d5fb", kill_on_drop: false }`
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking ordered-float v4.6.0
[INFO] [stderr]     Checking trading_engine v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `ordered_float::OrderedFloat`
[INFO] [stdout]  --> src/order_book.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use ordered_float::OrderedFloat;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `f64: Ord` is not satisfied
[INFO] [stdout]   --> src/order_book.rs:25:14
[INFO] [stdout]    |
[INFO] [stdout] 25 |         book.entry(price).or_insert_with(VecDeque::new).push_back(order);
[INFO] [stdout]    |              ^^^^^ the trait `Ord` is not implemented for `f64`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the following other types implement trait `Ord`:
[INFO] [stdout]              i128
[INFO] [stdout]              i16
[INFO] [stdout]              i32
[INFO] [stdout]              i64
[INFO] [stdout]              i8
[INFO] [stdout]              isize
[INFO] [stdout]              u128
[INFO] [stdout]              u16
[INFO] [stdout]            and 4 others
[INFO] [stdout] note: required by a bound in `BTreeMap::<K, V, A>::entry`
[INFO] [stdout]   --> /rustc/438eb4c1a1c3841523d7f672601e8adbe04cff28/library/alloc/src/collections/btree/map.rs:1339:5
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ordered_float::OrderedFloat`
[INFO] [stdout]  --> src/order_book.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use ordered_float::OrderedFloat;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `or_insert_with` exists for enum `std::collections::btree_map::Entry<'_, f64, VecDeque<Order>>`, but its trait bounds were not satisfied
[INFO] [stdout]   --> src/order_book.rs:25:27
[INFO] [stdout]    |
[INFO] [stdout] 25 |         book.entry(price).or_insert_with(VecDeque::new).push_back(order);
[INFO] [stdout]    |                           ^^^^^^^^^^^^^^ method cannot be called due to unsatisfied trait bounds
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `f64: Ord`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `f64: Ord` is not satisfied
[INFO] [stdout]   --> src/order_book.rs:47:39
[INFO] [stdout]    |
[INFO] [stdout] 47 |             if let Some(queue) = book.get_mut(&price) {
[INFO] [stdout]    |                                       ^^^^^^^ the trait `Ord` is not implemented for `f64`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the following other types implement trait `Ord`:
[INFO] [stdout]              i128
[INFO] [stdout]              i16
[INFO] [stdout]              i32
[INFO] [stdout]              i64
[INFO] [stdout]              i8
[INFO] [stdout]              isize
[INFO] [stdout]              u128
[INFO] [stdout]              u16
[INFO] [stdout]            and 4 others
[INFO] [stdout] note: required by a bound in `BTreeMap::<K, V, A>::get_mut`
[INFO] [stdout]   --> /rustc/438eb4c1a1c3841523d7f672601e8adbe04cff28/library/alloc/src/collections/btree/map.rs:1007:5
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `f64: Ord` is not satisfied
[INFO] [stdout]   --> src/order_book.rs:47:47
[INFO] [stdout]    |
[INFO] [stdout] 47 |             if let Some(queue) = book.get_mut(&price) {
[INFO] [stdout]    |                                       ------- ^^^^^^ the trait `Ord` is not implemented for `f64`
[INFO] [stdout]    |                                       |
[INFO] [stdout]    |                                       required by a bound introduced by this call
[INFO] [stdout]    |
[INFO] [stdout]    = help: the following other types implement trait `Ord`:
[INFO] [stdout]              i128
[INFO] [stdout]              i16
[INFO] [stdout]              i32
[INFO] [stdout]              i64
[INFO] [stdout]              i8
[INFO] [stdout]              isize
[INFO] [stdout]              u128
[INFO] [stdout]              u16
[INFO] [stdout]            and 4 others
[INFO] [stdout] note: required by a bound in `BTreeMap::<K, V, A>::get_mut`
[INFO] [stdout]   --> /rustc/438eb4c1a1c3841523d7f672601e8adbe04cff28/library/alloc/src/collections/btree/map.rs:1007:5
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `f64: Ord` is not satisfied
[INFO] [stdout]   --> src/order_book.rs:50:26
[INFO] [stdout]    |
[INFO] [stdout] 50 |                     book.remove(&price);
[INFO] [stdout]    |                          ^^^^^^ the trait `Ord` is not implemented for `f64`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the following other types implement trait `Ord`:
[INFO] [stdout]              i128
[INFO] [stdout]              i16
[INFO] [stdout]              i32
[INFO] [stdout]              i64
[INFO] [stdout]              i8
[INFO] [stdout]              isize
[INFO] [stdout]              u128
[INFO] [stdout]              u16
[INFO] [stdout]            and 4 others
[INFO] [stdout] note: required by a bound in `BTreeMap::<K, V, A>::remove`
[INFO] [stdout]   --> /rustc/438eb4c1a1c3841523d7f672601e8adbe04cff28/library/alloc/src/collections/btree/map.rs:1109:5
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `f64: Ord` is not satisfied
[INFO] [stdout]   --> src/order_book.rs:50:33
[INFO] [stdout]    |
[INFO] [stdout] 50 |                     book.remove(&price);
[INFO] [stdout]    |                          ------ ^^^^^^ the trait `Ord` is not implemented for `f64`
[INFO] [stdout]    |                          |
[INFO] [stdout]    |                          required by a bound introduced by this call
[INFO] [stdout]    |
[INFO] [stdout]    = help: the following other types implement trait `Ord`:
[INFO] [stdout]              i128
[INFO] [stdout]              i16
[INFO] [stdout]              i32
[INFO] [stdout]              i64
[INFO] [stdout]              i8
[INFO] [stdout]              isize
[INFO] [stdout]              u128
[INFO] [stdout]              u16
[INFO] [stdout]            and 4 others
[INFO] [stdout] note: required by a bound in `BTreeMap::<K, V, A>::remove`
[INFO] [stdout]   --> /rustc/438eb4c1a1c3841523d7f672601e8adbe04cff28/library/alloc/src/collections/btree/map.rs:1109:5
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `OrderSide` doesn't implement `std::fmt::Display`
[INFO] [stdout]   --> src/engine.rs:38:25
[INFO] [stdout]    |
[INFO] [stdout] 37 |                         "Trade: {} {:?} @ {} for {}",
[INFO] [stdout]    |                                 -- required by this formatting parameter
[INFO] [stdout] 38 |                         order.side, OrderType::Market, best_price, traded_qty
[INFO] [stdout]    |                         ^^^^^^^^^^ `OrderSide` cannot be formatted with the default formatter
[INFO] [stdout]    |
[INFO] [stdout] help: the trait `std::fmt::Display` is not implemented for `OrderSide`
[INFO] [stdout]   --> src/order.rs:4:1
[INFO] [stdout]    |
[INFO] [stdout]  4 | pub enum OrderSide {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
[INFO] [stdout]    = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `OrderSide` doesn't implement `std::fmt::Display`
[INFO] [stdout]   --> src/engine.rs:75:25
[INFO] [stdout]    |
[INFO] [stdout] 74 |                         "Trade: {} {:?} @ {} for {}",
[INFO] [stdout]    |                                 -- required by this formatting parameter
[INFO] [stdout] 75 |                         order.side, OrderType::Limit, best_price, traded_qty
[INFO] [stdout]    |                         ^^^^^^^^^^ `OrderSide` cannot be formatted with the default formatter
[INFO] [stdout]    |
[INFO] [stdout] help: the trait `std::fmt::Display` is not implemented for `OrderSide`
[INFO] [stdout]   --> src/order.rs:4:1
[INFO] [stdout]    |
[INFO] [stdout]  4 | pub enum OrderSide {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
[INFO] [stdout]    = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `trading_engine` (bin "trading_engine") due to 8 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0277]: the trait bound `f64: Ord` is not satisfied
[INFO] [stdout]   --> src/order_book.rs:25:14
[INFO] [stdout]    |
[INFO] [stdout] 25 |         book.entry(price).or_insert_with(VecDeque::new).push_back(order);
[INFO] [stdout]    |              ^^^^^ the trait `Ord` is not implemented for `f64`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the following other types implement trait `Ord`:
[INFO] [stdout]              i128
[INFO] [stdout]              i16
[INFO] [stdout]              i32
[INFO] [stdout]              i64
[INFO] [stdout]              i8
[INFO] [stdout]              isize
[INFO] [stdout]              u128
[INFO] [stdout]              u16
[INFO] [stdout]            and 4 others
[INFO] [stdout] note: required by a bound in `BTreeMap::<K, V, A>::entry`
[INFO] [stdout]   --> /rustc/438eb4c1a1c3841523d7f672601e8adbe04cff28/library/alloc/src/collections/btree/map.rs:1339:5
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `or_insert_with` exists for enum `std::collections::btree_map::Entry<'_, f64, VecDeque<Order>>`, but its trait bounds were not satisfied
[INFO] [stdout]   --> src/order_book.rs:25:27
[INFO] [stdout]    |
[INFO] [stdout] 25 |         book.entry(price).or_insert_with(VecDeque::new).push_back(order);
[INFO] [stdout]    |                           ^^^^^^^^^^^^^^ method cannot be called due to unsatisfied trait bounds
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `f64: Ord`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `f64: Ord` is not satisfied
[INFO] [stdout]   --> src/order_book.rs:47:39
[INFO] [stdout]    |
[INFO] [stdout] 47 |             if let Some(queue) = book.get_mut(&price) {
[INFO] [stdout]    |                                       ^^^^^^^ the trait `Ord` is not implemented for `f64`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the following other types implement trait `Ord`:
[INFO] [stdout]              i128
[INFO] [stdout]              i16
[INFO] [stdout]              i32
[INFO] [stdout]              i64
[INFO] [stdout]              i8
[INFO] [stdout]              isize
[INFO] [stdout]              u128
[INFO] [stdout]              u16
[INFO] [stdout]            and 4 others
[INFO] [stdout] note: required by a bound in `BTreeMap::<K, V, A>::get_mut`
[INFO] [stdout]   --> /rustc/438eb4c1a1c3841523d7f672601e8adbe04cff28/library/alloc/src/collections/btree/map.rs:1007:5
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `f64: Ord` is not satisfied
[INFO] [stdout]   --> src/order_book.rs:47:47
[INFO] [stdout]    |
[INFO] [stdout] 47 |             if let Some(queue) = book.get_mut(&price) {
[INFO] [stdout]    |                                       ------- ^^^^^^ the trait `Ord` is not implemented for `f64`
[INFO] [stdout]    |                                       |
[INFO] [stdout]    |                                       required by a bound introduced by this call
[INFO] [stdout]    |
[INFO] [stdout]    = help: the following other types implement trait `Ord`:
[INFO] [stdout]              i128
[INFO] [stdout]              i16
[INFO] [stdout]              i32
[INFO] [stdout]              i64
[INFO] [stdout]              i8
[INFO] [stdout]              isize
[INFO] [stdout]              u128
[INFO] [stdout]              u16
[INFO] [stdout]            and 4 others
[INFO] [stdout] note: required by a bound in `BTreeMap::<K, V, A>::get_mut`
[INFO] [stdout]   --> /rustc/438eb4c1a1c3841523d7f672601e8adbe04cff28/library/alloc/src/collections/btree/map.rs:1007:5
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `f64: Ord` is not satisfied
[INFO] [stdout]   --> src/order_book.rs:50:26
[INFO] [stdout]    |
[INFO] [stdout] 50 |                     book.remove(&price);
[INFO] [stdout]    |                          ^^^^^^ the trait `Ord` is not implemented for `f64`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the following other types implement trait `Ord`:
[INFO] [stdout]              i128
[INFO] [stdout]              i16
[INFO] [stdout]              i32
[INFO] [stdout]              i64
[INFO] [stdout]              i8
[INFO] [stdout]              isize
[INFO] [stdout]              u128
[INFO] [stdout]              u16
[INFO] [stdout]            and 4 others
[INFO] [stdout] note: required by a bound in `BTreeMap::<K, V, A>::remove`
[INFO] [stdout]   --> /rustc/438eb4c1a1c3841523d7f672601e8adbe04cff28/library/alloc/src/collections/btree/map.rs:1109:5
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `f64: Ord` is not satisfied
[INFO] [stdout]   --> src/order_book.rs:50:33
[INFO] [stdout]    |
[INFO] [stdout] 50 |                     book.remove(&price);
[INFO] [stdout]    |                          ------ ^^^^^^ the trait `Ord` is not implemented for `f64`
[INFO] [stdout]    |                          |
[INFO] [stdout]    |                          required by a bound introduced by this call
[INFO] [stdout]    |
[INFO] [stdout]    = help: the following other types implement trait `Ord`:
[INFO] [stdout]              i128
[INFO] [stdout]              i16
[INFO] [stdout]              i32
[INFO] [stdout]              i64
[INFO] [stdout]              i8
[INFO] [stdout]              isize
[INFO] [stdout]              u128
[INFO] [stdout]              u16
[INFO] [stdout]            and 4 others
[INFO] [stdout] note: required by a bound in `BTreeMap::<K, V, A>::remove`
[INFO] [stdout]   --> /rustc/438eb4c1a1c3841523d7f672601e8adbe04cff28/library/alloc/src/collections/btree/map.rs:1109:5
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `OrderSide` doesn't implement `std::fmt::Display`
[INFO] [stdout]   --> src/engine.rs:38:25
[INFO] [stdout]    |
[INFO] [stdout] 37 |                         "Trade: {} {:?} @ {} for {}",
[INFO] [stdout]    |                                 -- required by this formatting parameter
[INFO] [stdout] 38 |                         order.side, OrderType::Market, best_price, traded_qty
[INFO] [stdout]    |                         ^^^^^^^^^^ `OrderSide` cannot be formatted with the default formatter
[INFO] [stdout]    |
[INFO] [stdout] help: the trait `std::fmt::Display` is not implemented for `OrderSide`
[INFO] [stdout]   --> src/order.rs:4:1
[INFO] [stdout]    |
[INFO] [stdout]  4 | pub enum OrderSide {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
[INFO] [stdout]    = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `OrderSide` doesn't implement `std::fmt::Display`
[INFO] [stdout]   --> src/engine.rs:75:25
[INFO] [stdout]    |
[INFO] [stdout] 74 |                         "Trade: {} {:?} @ {} for {}",
[INFO] [stdout]    |                                 -- required by this formatting parameter
[INFO] [stdout] 75 |                         order.side, OrderType::Limit, best_price, traded_qty
[INFO] [stdout]    |                         ^^^^^^^^^^ `OrderSide` cannot be formatted with the default formatter
[INFO] [stdout]    |
[INFO] [stdout] help: the trait `std::fmt::Display` is not implemented for `OrderSide`
[INFO] [stdout]   --> src/order.rs:4:1
[INFO] [stdout]    |
[INFO] [stdout]  4 | pub enum OrderSide {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
[INFO] [stdout]    = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `trading_engine` (bin "trading_engine" test) due to 8 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "feb71d3e87077faabb04c391347a1072c752ed4ebf61a1dafa1a7a52b7b5d5fb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "feb71d3e87077faabb04c391347a1072c752ed4ebf61a1dafa1a7a52b7b5d5fb", kill_on_drop: false }`
[INFO] [stdout] feb71d3e87077faabb04c391347a1072c752ed4ebf61a1dafa1a7a52b7b5d5fb
