[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#c8551d3c63c51f290cf1dc9dc4714249ea849fd1 for pr-148946
[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 c8551d3c63c51f290cf1dc9dc4714249ea849fd1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c8551d3c63c51f290cf1dc9dc4714249ea849fd1" "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" "+c8551d3c63c51f290cf1dc9dc4714249ea849fd1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[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" "+c8551d3c63c51f290cf1dc9dc4714249ea849fd1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a21270a566ab38f06de2de6c831e182df8a7a641d9d3a6187e37f0d4c9917a0a
[INFO] running `Command { std: "docker" "start" "-a" "a21270a566ab38f06de2de6c831e182df8a7a641d9d3a6187e37f0d4c9917a0a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a21270a566ab38f06de2de6c831e182df8a7a641d9d3a6187e37f0d4c9917a0a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a21270a566ab38f06de2de6c831e182df8a7a641d9d3a6187e37f0d4c9917a0a", kill_on_drop: false }`
[INFO] [stdout] a21270a566ab38f06de2de6c831e182df8a7a641d9d3a6187e37f0d4c9917a0a
[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" "+c8551d3c63c51f290cf1dc9dc4714249ea849fd1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ee0884f494ac52e65fa0037b0673e2b277dae45e7ae46267e14c955b1bec11af
[INFO] running `Command { std: "docker" "start" "-a" "ee0884f494ac52e65fa0037b0673e2b277dae45e7ae46267e14c955b1bec11af", 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.30s
[INFO] running `Command { std: "docker" "inspect" "ee0884f494ac52e65fa0037b0673e2b277dae45e7ae46267e14c955b1bec11af", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ee0884f494ac52e65fa0037b0673e2b277dae45e7ae46267e14c955b1bec11af", kill_on_drop: false }`
[INFO] [stdout] ee0884f494ac52e65fa0037b0673e2b277dae45e7ae46267e14c955b1bec11af
