[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#f5711a55f5d5e2f942057d0f6d648dd2d8b2c37b for pr-148329
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0xfauzi%2Forder-book-rust" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/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-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/0xfauzi/order-book-rust on toolchain f5711a55f5d5e2f942057d0f6d648dd2d8b2c37b
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f5711a55f5d5e2f942057d0f6d648dd2d8b2c37b" "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" "+f5711a55f5d5e2f942057d0f6d648dd2d8b2c37b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+f5711a55f5d5e2f942057d0f6d648dd2d8b2c37b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] cf30c8e16efd17cc70138301865a133974ea54523e1bb7a7c947220acf41f0b9
[INFO] running `Command { std: "docker" "start" "-a" "cf30c8e16efd17cc70138301865a133974ea54523e1bb7a7c947220acf41f0b9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "cf30c8e16efd17cc70138301865a133974ea54523e1bb7a7c947220acf41f0b9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cf30c8e16efd17cc70138301865a133974ea54523e1bb7a7c947220acf41f0b9", kill_on_drop: false }`
[INFO] [stdout] cf30c8e16efd17cc70138301865a133974ea54523e1bb7a7c947220acf41f0b9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+f5711a55f5d5e2f942057d0f6d648dd2d8b2c37b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 75a366d93cf09172280d9e67853c205b37054e23aa688e9f62380c7d1d5df968
[INFO] running `Command { std: "docker" "start" "-a" "75a366d93cf09172280d9e67853c205b37054e23aa688e9f62380c7d1d5df968", 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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.24s
[INFO] running `Command { std: "docker" "inspect" "75a366d93cf09172280d9e67853c205b37054e23aa688e9f62380c7d1d5df968", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "75a366d93cf09172280d9e67853c205b37054e23aa688e9f62380c7d1d5df968", kill_on_drop: false }`
[INFO] [stdout] 75a366d93cf09172280d9e67853c205b37054e23aa688e9f62380c7d1d5df968
