[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] building 0xfauzi/order-book-rust against try#334963c956d25708feab489a3816ae63f639355d for pr-135216
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0xfauzi%2Forder-book-rust" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/0xfauzi/order-book-rust on toolchain 334963c956d25708feab489a3816ae63f639355d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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-tc2/source/Cargo.toml
[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" "+334963c956d25708feab489a3816ae63f639355d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[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-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f8d0c0fcbe25a5a7b35210d0bf015cd91603f59ca4b59b36daf8ecbef275d4fb
[INFO] running `Command { std: "docker" "start" "-a" "f8d0c0fcbe25a5a7b35210d0bf015cd91603f59ca4b59b36daf8ecbef275d4fb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f8d0c0fcbe25a5a7b35210d0bf015cd91603f59ca4b59b36daf8ecbef275d4fb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f8d0c0fcbe25a5a7b35210d0bf015cd91603f59ca4b59b36daf8ecbef275d4fb", kill_on_drop: false }`
[INFO] [stdout] f8d0c0fcbe25a5a7b35210d0bf015cd91603f59ca4b59b36daf8ecbef275d4fb
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e29250faad458ae6f17986505512b4f4e480e09302994537beb580da502299c8
[INFO] running `Command { std: "docker" "start" "-a" "e29250faad458ae6f17986505512b4f4e480e09302994537beb580da502299c8", kill_on_drop: false }`
[INFO] [stderr]    Compiling 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] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.57s
[INFO] running `Command { std: "docker" "inspect" "e29250faad458ae6f17986505512b4f4e480e09302994537beb580da502299c8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e29250faad458ae6f17986505512b4f4e480e09302994537beb580da502299c8", kill_on_drop: false }`
[INFO] [stdout] e29250faad458ae6f17986505512b4f4e480e09302994537beb580da502299c8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5934fd07c3fe422e837728d33a16e945c7aa6d89f40ed0cd78b5eac336be9456
[INFO] running `Command { std: "docker" "start" "-a" "5934fd07c3fe422e837728d33a16e945c7aa6d89f40ed0cd78b5eac336be9456", kill_on_drop: false }`
[INFO] [stderr]    Compiling 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] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.33s
[INFO] running `Command { std: "docker" "inspect" "5934fd07c3fe422e837728d33a16e945c7aa6d89f40ed0cd78b5eac336be9456", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5934fd07c3fe422e837728d33a16e945c7aa6d89f40ed0cd78b5eac336be9456", kill_on_drop: false }`
[INFO] [stdout] 5934fd07c3fe422e837728d33a16e945c7aa6d89f40ed0cd78b5eac336be9456
