[INFO] cloning repository https://github.com/saifsuleman/nanomarket
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/saifsuleman/nanomarket" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsaifsuleman%2Fnanomarket", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsaifsuleman%2Fnanomarket'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] a879bc6b4f1b2616c1a2c7d1d43cee2a22db2efc
[INFO] checking saifsuleman/nanomarket against try#0611f7de057c584b8771102fde7aed6c70c71d3b for pr-146440
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsaifsuleman%2Fnanomarket" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/saifsuleman/nanomarket
[INFO] finished tweaking git repo https://github.com/saifsuleman/nanomarket
[INFO] tweaked toml for git repo https://github.com/saifsuleman/nanomarket written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/saifsuleman/nanomarket on toolchain 0611f7de057c584b8771102fde7aed6c70c71d3b
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/saifsuleman/nanomarket 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" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] aa9cdd4de8371abae790bf5936b0558e483455c908fa6c46f9c83326115e6ce7
[INFO] running `Command { std: "docker" "start" "-a" "aa9cdd4de8371abae790bf5936b0558e483455c908fa6c46f9c83326115e6ce7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "aa9cdd4de8371abae790bf5936b0558e483455c908fa6c46f9c83326115e6ce7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "aa9cdd4de8371abae790bf5936b0558e483455c908fa6c46f9c83326115e6ce7", kill_on_drop: false }`
[INFO] [stdout] aa9cdd4de8371abae790bf5936b0558e483455c908fa6c46f9c83326115e6ce7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e02627a903711af65375bb49cc974dce12749954ca9530ef24638dcc4146b138
[INFO] running `Command { std: "docker" "start" "-a" "e02627a903711af65375bb49cc974dce12749954ca9530ef24638dcc4146b138", kill_on_drop: false }`
[INFO] [stderr]     Checking events v0.1.0 (/opt/rustwide/workdir/crates/events)
[INFO] [stderr]     Checking grpc v0.1.0 (/opt/rustwide/workdir/crates/grpc)
[INFO] [stderr]     Checking engine v0.1.0 (/opt/rustwide/workdir/crates/engine)
[INFO] [stderr]     Checking orders v0.1.0 (/opt/rustwide/workdir/crates/orders)
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> crates/orders/src/book.rs:68:30
[INFO] [stdout]    |
[INFO] [stdout] 68 |     pub fn submit(&mut self, mut order: Order) -> MatchResult {
[INFO] [stdout]    |                              ----^^^^^
[INFO] [stdout]    |                              |
[INFO] [stdout]    |                              help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `order`
[INFO] [stdout]   --> crates/orders/src/book.rs:68:30
[INFO] [stdout]    |
[INFO] [stdout] 68 |     pub fn submit(&mut self, mut 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] error: struct `OrderBook` is never constructed
[INFO] [stdout]   --> crates/orders/src/book.rs:40:12
[INFO] [stdout]    |
[INFO] [stdout] 40 | pub struct OrderBook {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it
[INFO] [stdout]    = note: `#[deny(unused_unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> crates/orders/src/book.rs:68:30
[INFO] [stdout]    |
[INFO] [stdout] 68 |     pub fn submit(&mut self, mut order: Order) -> MatchResult {
[INFO] [stdout]    |                              ----^^^^^
[INFO] [stdout]    |                              |
[INFO] [stdout]    |                              help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `orders` is never read
[INFO] [stdout]  --> crates/orders/src/book.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct PriceLevel {
[INFO] [stdout]   |        ---------- field in this struct
[INFO] [stdout] 7 |     orders: Vec<Order>,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `PriceLevel` has derived impls for the traits `Clone` and `Debug`, but these are 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: associated items `new`, `push`, `is_empty`, `total_quantity`, and `order_count` are never used
[INFO] [stdout]   --> crates/orders/src/book.rs:11:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl PriceLevel {
[INFO] [stdout]    | --------------- associated items in this implementation
[INFO] [stdout] 11 |     fn new() -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 15 |     fn push(&mut self, order: Order) {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 19 |     fn is_empty(&self) -> bool {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |     fn total_quantity(&self) -> Quantity {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 |     fn order_count(&self) -> usize {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `order`
[INFO] [stdout]   --> crates/orders/src/book.rs:68:30
[INFO] [stdout]    |
[INFO] [stdout] 68 |     pub fn submit(&mut self, mut 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] error: struct `OrderBook` is never constructed
[INFO] [stdout]   --> crates/orders/src/book.rs:40:12
[INFO] [stdout]    |
[INFO] [stdout] 40 | pub struct OrderBook {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it
[INFO] [stdout]    = note: `#[deny(unused_unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `orders` is never read
[INFO] [stdout]  --> crates/orders/src/book.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct PriceLevel {
[INFO] [stdout]   |        ---------- field in this struct
[INFO] [stdout] 7 |     orders: Vec<Order>,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `PriceLevel` has derived impls for the traits `Clone` and `Debug`, but these are 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: associated items `new`, `push`, `is_empty`, `total_quantity`, and `order_count` are never used
[INFO] [stdout]   --> crates/orders/src/book.rs:11:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl PriceLevel {
[INFO] [stdout]    | --------------- associated items in this implementation
[INFO] [stdout] 11 |     fn new() -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 15 |     fn push(&mut self, order: Order) {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 19 |     fn is_empty(&self) -> bool {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |     fn total_quantity(&self) -> Quantity {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 |     fn order_count(&self) -> usize {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `orders` (lib) due to 1 previous error; 4 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `orders` (lib test) due to 1 previous error; 4 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "e02627a903711af65375bb49cc974dce12749954ca9530ef24638dcc4146b138", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e02627a903711af65375bb49cc974dce12749954ca9530ef24638dcc4146b138", kill_on_drop: false }`
[INFO] [stdout] e02627a903711af65375bb49cc974dce12749954ca9530ef24638dcc4146b138
