[INFO] cloning repository https://github.com/dmndpl/order-book-server
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dmndpl/order-book-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdmndpl%2Forder-book-server", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdmndpl%2Forder-book-server'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ba0b6f17fd5eb70c500ab5d9f8833652f4dd6bea
[INFO] checking dmndpl/order-book-server against try#53f0b05ecbcf011a1f77f1c627304e87ebd05801 for pr-154492
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdmndpl%2Forder-book-server" "/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/dmndpl/order-book-server
[INFO] finished tweaking git repo https://github.com/dmndpl/order-book-server
[INFO] tweaked toml for git repo https://github.com/dmndpl/order-book-server written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/dmndpl/order-book-server on toolchain 53f0b05ecbcf011a1f77f1c627304e87ebd05801
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+53f0b05ecbcf011a1f77f1c627304e87ebd05801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/dmndpl/order-book-server 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" "+53f0b05ecbcf011a1f77f1c627304e87ebd05801" "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-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+53f0b05ecbcf011a1f77f1c627304e87ebd05801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2b14b7a350c70207b3ac8038b42231d7d79539e16ab08e0414ff6e6ce094f176
[INFO] running `Command { std: "docker" "start" "-a" "2b14b7a350c70207b3ac8038b42231d7d79539e16ab08e0414ff6e6ce094f176", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2b14b7a350c70207b3ac8038b42231d7d79539e16ab08e0414ff6e6ce094f176", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2b14b7a350c70207b3ac8038b42231d7d79539e16ab08e0414ff6e6ce094f176", kill_on_drop: false }`
[INFO] [stdout] 2b14b7a350c70207b3ac8038b42231d7d79539e16ab08e0414ff6e6ce094f176
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+53f0b05ecbcf011a1f77f1c627304e87ebd05801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d4e7e1df2a1b3ac171c0726290d71dfa8bcef76f7be721bbf806bc56005d971e
[INFO] running `Command { std: "docker" "start" "-a" "d4e7e1df2a1b3ac171c0726290d71dfa8bcef76f7be721bbf806bc56005d971e", kill_on_drop: false }`
[INFO] [stderr]     Checking order-book-server v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `order`
[INFO] [stdout]   --> src/order_book/order.rs:23:35
[INFO] [stdout]    |
[INFO] [stdout] 23 |     pub fn match_order(&mut self, order: Order) -> MatchResult {
[INFO] [stdout]    |                                   ^^^^^ help: if this is intentional, prefix it with an underscore: `_order`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `maybe_order`
[INFO] [stdout]   --> src/order_book/order_book.rs:23:21
[INFO] [stdout]    |
[INFO] [stdout] 23 |                     maybe_order,
[INFO] [stdout]    |                     ^^^^^^^^^^^ help: try ignoring the field: `maybe_order: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `maybe_order`
[INFO] [stdout]   --> src/order_book/order_book.rs:30:21
[INFO] [stdout]    |
[INFO] [stdout] 30 |                     maybe_order,
[INFO] [stdout]    |                     ^^^^^^^^^^^ help: try ignoring the field: `maybe_order: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `side`
[INFO] [stdout]   --> src/order_book/order_queue.rs:20:16
[INFO] [stdout]    |
[INFO] [stdout] 20 |     pub fn new(side: Side) -> OrderQueue {
[INFO] [stdout]    |                ^^^^ help: if this is intentional, prefix it with an underscore: `_side`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `order`
[INFO] [stdout]   --> src/order_book/order_queue.rs:26:31
[INFO] [stdout]    |
[INFO] [stdout] 26 |     pub fn match_order(&self, order: Order) -> MatchResult {
[INFO] [stdout]    |                               ^^^^^ help: if this is intentional, prefix it with an underscore: `_order`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Fill` is never constructed
[INFO] [stdout]  --> src/order_book/fill.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Fill {
[INFO] [stdout]   |            ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/order_book/fill.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl Fill {
[INFO] [stdout]    | --------- associated function in this implementation
[INFO] [stdout] 13 |     pub fn new(
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Order` is never constructed
[INFO] [stdout]  --> src/order_book/order.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct Order {
[INFO] [stdout]   |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `match_order` are never used
[INFO] [stdout]   --> src/order_book/order.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl Order {
[INFO] [stdout]    | ---------- associated items in this implementation
[INFO] [stdout] 14 |     pub fn new(trader: String, side: Side, size: i32, price: i32) -> Order {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |     pub fn match_order(&mut self, order: Order) -> MatchResult {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `OrderBook` is never constructed
[INFO] [stdout]  --> src/order_book/order_book.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct OrderBook {
[INFO] [stdout]   |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `handle` are never used
[INFO] [stdout]   --> src/order_book/order_book.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl OrderBook {
[INFO] [stdout]    | -------------- associated items in this implementation
[INFO] [stdout] 12 |     pub fn new() -> OrderBook {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 19 |     pub fn handle(&self, order: Order) -> Vec<Fill> {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CAPACITY` is never used
[INFO] [stdout]  --> src/order_book/order_queue.rs:7:7
[INFO] [stdout]   |
[INFO] [stdout] 7 | const CAPACITY: i32 = 10000;
[INFO] [stdout]   |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `OrderQueue` is never constructed
[INFO] [stdout]  --> src/order_book/order_queue.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct OrderQueue {
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MatchResult` is never constructed
[INFO] [stdout]   --> src/order_book/order_queue.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct MatchResult {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `match_order` are never used
[INFO] [stdout]   --> src/order_book/order_queue.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 19 | impl OrderQueue {
[INFO] [stdout]    | --------------- associated items in this implementation
[INFO] [stdout] 20 |     pub fn new(side: Side) -> OrderQueue {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub fn match_order(&self, order: Order) -> MatchResult {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Side` is never used
[INFO] [stdout]  --> src/order_book/side.rs:2:10
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub enum Side {
[INFO] [stdout]   |          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `opposite` is never used
[INFO] [stdout]  --> src/order_book/side.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | impl Side {
[INFO] [stdout]   | --------- method in this implementation
[INFO] [stdout] 8 |     pub fn opposite(&self) -> Side {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `order`
[INFO] [stdout]   --> src/order_book/order.rs:23:35
[INFO] [stdout]    |
[INFO] [stdout] 23 |     pub fn match_order(&mut self, order: Order) -> MatchResult {
[INFO] [stdout]    |                                   ^^^^^ help: if this is intentional, prefix it with an underscore: `_order`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `maybe_order`
[INFO] [stdout]   --> src/order_book/order_book.rs:23:21
[INFO] [stdout]    |
[INFO] [stdout] 23 |                     maybe_order,
[INFO] [stdout]    |                     ^^^^^^^^^^^ help: try ignoring the field: `maybe_order: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `maybe_order`
[INFO] [stdout]   --> src/order_book/order_book.rs:30:21
[INFO] [stdout]    |
[INFO] [stdout] 30 |                     maybe_order,
[INFO] [stdout]    |                     ^^^^^^^^^^^ help: try ignoring the field: `maybe_order: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `side`
[INFO] [stdout]   --> src/order_book/order_queue.rs:20:16
[INFO] [stdout]    |
[INFO] [stdout] 20 |     pub fn new(side: Side) -> OrderQueue {
[INFO] [stdout]    |                ^^^^ help: if this is intentional, prefix it with an underscore: `_side`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `order`
[INFO] [stdout]   --> src/order_book/order_queue.rs:26:31
[INFO] [stdout]    |
[INFO] [stdout] 26 |     pub fn match_order(&self, order: Order) -> MatchResult {
[INFO] [stdout]    |                               ^^^^^ help: if this is intentional, prefix it with an underscore: `_order`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Fill` is never constructed
[INFO] [stdout]  --> src/order_book/fill.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Fill {
[INFO] [stdout]   |            ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/order_book/fill.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl Fill {
[INFO] [stdout]    | --------- associated function in this implementation
[INFO] [stdout] 13 |     pub fn new(
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Order` is never constructed
[INFO] [stdout]  --> src/order_book/order.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct Order {
[INFO] [stdout]   |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `match_order` are never used
[INFO] [stdout]   --> src/order_book/order.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl Order {
[INFO] [stdout]    | ---------- associated items in this implementation
[INFO] [stdout] 14 |     pub fn new(trader: String, side: Side, size: i32, price: i32) -> Order {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |     pub fn match_order(&mut self, order: Order) -> MatchResult {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `OrderBook` is never constructed
[INFO] [stdout]  --> src/order_book/order_book.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct OrderBook {
[INFO] [stdout]   |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `handle` are never used
[INFO] [stdout]   --> src/order_book/order_book.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl OrderBook {
[INFO] [stdout]    | -------------- associated items in this implementation
[INFO] [stdout] 12 |     pub fn new() -> OrderBook {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 19 |     pub fn handle(&self, order: Order) -> Vec<Fill> {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CAPACITY` is never used
[INFO] [stdout]  --> src/order_book/order_queue.rs:7:7
[INFO] [stdout]   |
[INFO] [stdout] 7 | const CAPACITY: i32 = 10000;
[INFO] [stdout]   |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `OrderQueue` is never constructed
[INFO] [stdout]  --> src/order_book/order_queue.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct OrderQueue {
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MatchResult` is never constructed
[INFO] [stdout]   --> src/order_book/order_queue.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct MatchResult {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `match_order` are never used
[INFO] [stdout]   --> src/order_book/order_queue.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 19 | impl OrderQueue {
[INFO] [stdout]    | --------------- associated items in this implementation
[INFO] [stdout] 20 |     pub fn new(side: Side) -> OrderQueue {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub fn match_order(&self, order: Order) -> MatchResult {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Side` is never used
[INFO] [stdout]  --> src/order_book/side.rs:2:10
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub enum Side {
[INFO] [stdout]   |          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `opposite` is never used
[INFO] [stdout]  --> src/order_book/side.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | impl Side {
[INFO] [stdout]   | --------- method in this implementation
[INFO] [stdout] 8 |     pub fn opposite(&self) -> Side {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.09s
[INFO] running `Command { std: "docker" "inspect" "d4e7e1df2a1b3ac171c0726290d71dfa8bcef76f7be721bbf806bc56005d971e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d4e7e1df2a1b3ac171c0726290d71dfa8bcef76f7be721bbf806bc56005d971e", kill_on_drop: false }`
[INFO] [stdout] d4e7e1df2a1b3ac171c0726290d71dfa8bcef76f7be721bbf806bc56005d971e
