[INFO] cloning repository https://github.com/0xfauzi/order-book-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/0xfauzi/order-book-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0xfauzi%2Forder-book-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0xfauzi%2Forder-book-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 3bf4543d39a85c824a484c5a13c8b609cd82202d
[INFO] checking 0xfauzi/order-book-rust against master#3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0 for pr-143164
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0xfauzi%2Forder-book-rust" "/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/0xfauzi/order-book-rust
[INFO] finished tweaking git repo https://github.com/0xfauzi/order-book-rust
[INFO] tweaked toml for git repo https://github.com/0xfauzi/order-book-rust written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/0xfauzi/order-book-rust on toolchain 3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/0xfauzi/order-book-rust 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" "+3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0" "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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2c3449c60c7302745b2585b7fd53592537ceec19192ba2df1a4a9da35b2a06a1
[INFO] running `Command { std: "docker" "start" "-a" "2c3449c60c7302745b2585b7fd53592537ceec19192ba2df1a4a9da35b2a06a1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2c3449c60c7302745b2585b7fd53592537ceec19192ba2df1a4a9da35b2a06a1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2c3449c60c7302745b2585b7fd53592537ceec19192ba2df1a4a9da35b2a06a1", kill_on_drop: false }`
[INFO] [stdout] 2c3449c60c7302745b2585b7fd53592537ceec19192ba2df1a4a9da35b2a06a1
[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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 307acaf1077377f0d4a9bfaef16042b50883334cf687568065b300aef1c9ed58
[INFO] running `Command { std: "docker" "start" "-a" "307acaf1077377f0d4a9bfaef16042b50883334cf687568065b300aef1c9ed58", kill_on_drop: false }`
[INFO] [stderr]     Checking order-book-rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variant `Ask` is never constructed
[INFO] [stdout]  --> src/matching_engine/orderbook.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub enum BidOrAsk {
[INFO] [stdout]   |          -------- variant in this enum
[INFO] [stdout] 7 |     Bid,
[INFO] [stdout] 8 |     Ask
[INFO] [stdout]   |     ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `BidOrAsk` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `bids` and `asks` are never read
[INFO] [stdout]   --> src/matching_engine/orderbook.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct OrderBook {
[INFO] [stdout]    |            --------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 15 |     bids: BinaryHeap<Reverse<Limit>>, //Min heap, lowest price first
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 16 |     asks: BinaryHeap<Limit> //Max heap, highest price first
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `OrderBook` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/matching_engine/orderbook.rs:21:12
[INFO] [stdout]    |
[INFO] [stdout] 20 | impl OrderBook {
[INFO] [stdout]    | -------------- associated function in this implementation
[INFO] [stdout] 21 |     pub fn new() -> OrderBook {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `reconstruct` is never used
[INFO] [stdout]    --> src/matching_engine/orderbook.rs:115:12
[INFO] [stdout]     |
[INFO] [stdout] 102 | impl Price {
[INFO] [stdout]     | ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 115 |     pub fn reconstruct(&mut self) -> f64 {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `size` is never read
[INFO] [stdout]    --> src/matching_engine/orderbook.rs:163:5
[INFO] [stdout]     |
[INFO] [stdout] 162 | pub struct Order {
[INFO] [stdout]     |            ----- field in this struct
[INFO] [stdout] 163 |     size: f64,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Order` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `add_new_market` is never used
[INFO] [stdout]   --> src/matching_engine/engine.rs:39:12
[INFO] [stdout]    |
[INFO] [stdout] 32 | impl MatchingEngine {
[INFO] [stdout]    | ------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 39 |     pub fn add_new_market(&mut self, pair: TradingPair) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Ask` is never constructed
[INFO] [stdout]  --> src/matching_engine/orderbook.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub enum BidOrAsk {
[INFO] [stdout]   |          -------- variant in this enum
[INFO] [stdout] 7 |     Bid,
[INFO] [stdout] 8 |     Ask
[INFO] [stdout]   |     ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `BidOrAsk` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `bids` and `asks` are never read
[INFO] [stdout]   --> src/matching_engine/orderbook.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct OrderBook {
[INFO] [stdout]    |            --------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 15 |     bids: BinaryHeap<Reverse<Limit>>, //Min heap, lowest price first
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 16 |     asks: BinaryHeap<Limit> //Max heap, highest price first
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `OrderBook` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/matching_engine/orderbook.rs:21:12
[INFO] [stdout]    |
[INFO] [stdout] 20 | impl OrderBook {
[INFO] [stdout]    | -------------- associated function in this implementation
[INFO] [stdout] 21 |     pub fn new() -> OrderBook {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `reconstruct` is never used
[INFO] [stdout]    --> src/matching_engine/orderbook.rs:115:12
[INFO] [stdout]     |
[INFO] [stdout] 102 | impl Price {
[INFO] [stdout]     | ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 115 |     pub fn reconstruct(&mut self) -> f64 {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `size` is never read
[INFO] [stdout]    --> src/matching_engine/orderbook.rs:163:5
[INFO] [stdout]     |
[INFO] [stdout] 162 | pub struct Order {
[INFO] [stdout]     |            ----- field in this struct
[INFO] [stdout] 163 |     size: f64,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Order` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `add_new_market` is never used
[INFO] [stdout]   --> src/matching_engine/engine.rs:39:12
[INFO] [stdout]    |
[INFO] [stdout] 32 | impl MatchingEngine {
[INFO] [stdout]    | ------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 39 |     pub fn add_new_market(&mut self, pair: TradingPair) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.31s
[INFO] running `Command { std: "docker" "inspect" "307acaf1077377f0d4a9bfaef16042b50883334cf687568065b300aef1c9ed58", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "307acaf1077377f0d4a9bfaef16042b50883334cf687568065b300aef1c9ed58", kill_on_drop: false }`
[INFO] [stdout] 307acaf1077377f0d4a9bfaef16042b50883334cf687568065b300aef1c9ed58
