[INFO] cloning repository https://github.com/jveer634/matcher
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jveer634/matcher" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjveer634%2Fmatcher", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjveer634%2Fmatcher'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] a885802cb32c8650eb1d9713401818dc2a789718
[INFO] checking jveer634/matcher against master#8f21a5c92ea55c348c275a1bc4fedbdf181e0d64 for pr-143011
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjveer634%2Fmatcher" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/jveer634/matcher
[INFO] finished tweaking git repo https://github.com/jveer634/matcher
[INFO] tweaked toml for git repo https://github.com/jveer634/matcher written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/jveer634/matcher on toolchain 8f21a5c92ea55c348c275a1bc4fedbdf181e0d64
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8f21a5c92ea55c348c275a1bc4fedbdf181e0d64" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/jveer634/matcher 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" "+8f21a5c92ea55c348c275a1bc4fedbdf181e0d64" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8f21a5c92ea55c348c275a1bc4fedbdf181e0d64" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 4781c9881bc772aa5c5e0c16717a4d40307cd33f49e230916674f005794e33d1
[INFO] running `Command { std: "docker" "start" "-a" "4781c9881bc772aa5c5e0c16717a4d40307cd33f49e230916674f005794e33d1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4781c9881bc772aa5c5e0c16717a4d40307cd33f49e230916674f005794e33d1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4781c9881bc772aa5c5e0c16717a4d40307cd33f49e230916674f005794e33d1", kill_on_drop: false }`
[INFO] [stdout] 4781c9881bc772aa5c5e0c16717a4d40307cd33f49e230916674f005794e33d1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8f21a5c92ea55c348c275a1bc4fedbdf181e0d64" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d6c16d64f4bff4c96f434ad7bed898cd4405f81631d3f76fb93878e71d79b47b
[INFO] running `Command { std: "docker" "start" "-a" "d6c16d64f4bff4c96f434ad7bed898cd4405f81631d3f76fb93878e71d79b47b", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.4.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.92
[INFO] [stderr]    Compiling unicode-ident v1.0.14
[INFO] [stderr]    Compiling rust_decimal v1.36.0
[INFO] [stderr]    Compiling serde v1.0.217
[INFO] [stderr]    Compiling arrayvec v0.7.6
[INFO] [stderr]     Checking iana-time-zone v0.1.61
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling quote v1.0.38
[INFO] [stderr]     Checking chrono v0.4.39
[INFO] [stderr]    Compiling rust_decimal_macros v1.36.0
[INFO] [stderr]     Checking matcher v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `fmt::format`
[INFO] [stdout]  --> src/exchange/mod.rs:2:33
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::{collections::HashMap, fmt::format};
[INFO] [stdout]   |                                 ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `exchange::Matcher`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use exchange::Matcher;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `fmt::format`
[INFO] [stdout]  --> src/exchange/mod.rs:2:33
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::{collections::HashMap, fmt::format};
[INFO] [stdout]   |                                 ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `exchange::Matcher`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use exchange::Matcher;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `buy`
[INFO] [stdout]   --> src/main.rs:33:9
[INFO] [stdout]    |
[INFO] [stdout] 33 |     let buy = book
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_buy`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sell`
[INFO] [stdout]   --> src/main.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 37 |     let sell = book
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_sell`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TradingPair` is never constructed
[INFO] [stdout]  --> src/exchange/mod.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct TradingPair {
[INFO] [stdout]   |            ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/exchange/mod.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl TradingPair {
[INFO] [stdout]    | ---------------- associated function in this implementation
[INFO] [stdout] 16 |     pub fn new(base: String, quote: String, listing_price: f64) -> TradingPair {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Matcher` is never constructed
[INFO] [stdout]   --> src/exchange/mod.rs:39:12
[INFO] [stdout]    |
[INFO] [stdout] 39 | pub struct Matcher {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/exchange/mod.rs:45:12
[INFO] [stdout]     |
[INFO] [stdout] 44  | impl Matcher {
[INFO] [stdout]     | ------------ associated items in this implementation
[INFO] [stdout] 45  |     pub fn new() -> Matcher {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 52  |     pub fn add_pair(
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 74  |     pub fn get_pair(&self, pair_id: String) -> Result<&TradingPair, String> {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 81  |     pub fn update_pool(&mut self, pair_id: String, enable: bool) -> Result<(), String> {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 91  |     pub fn add_order(
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 108 |     pub fn cancel_order(&mut self, order_id: String) -> Result<(), String> {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 117 |     pub fn update_order(
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `order`, `book_order`, and `quantity` are never read
[INFO] [stdout]   --> src/orderbook/orderbook.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct Trade {
[INFO] [stdout]    |            ----- fields in this struct
[INFO] [stdout] 12 |     order: Order,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 13 |     book_order: Order,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 14 |     quantity: f64,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Trade` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `last_traded_price` is never read
[INFO] [stdout]   --> src/orderbook/orderbook.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct OrderBook {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 25 |     last_traded_price: Decimal,
[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: methods `cancel_order`, `update_order`, and `get_order` are never used
[INFO] [stdout]    --> src/orderbook/orderbook.rs:174:12
[INFO] [stdout]     |
[INFO] [stdout] 28  | impl OrderBook {
[INFO] [stdout]     | -------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 174 |     pub fn cancel_order(&mut self, order_id: String) -> Result<(), String> {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 195 |     pub fn update_order(
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 253 |     pub fn get_order(&self, order_id: String) -> Option<&Order> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Sell` is never constructed
[INFO] [stdout]  --> src/orderbook/order.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub enum OrderType {
[INFO] [stdout]   |          --------- variant in this enum
[INFO] [stdout] 6 |     Buy,
[INFO] [stdout] 7 |     Sell,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `OrderType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Cancelled` is never constructed
[INFO] [stdout]   --> src/orderbook/order.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub enum OrderStatus {
[INFO] [stdout]    |          ----------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 16 |     Cancelled,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `OrderStatus` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `timestamp` is never read
[INFO] [stdout]   --> src/orderbook/order.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub struct Order {
[INFO] [stdout]    |            ----- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 27 |     timestamp: i64,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Order` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `update` and `cancel` are never used
[INFO] [stdout]    --> src/orderbook/order.rs:61:12
[INFO] [stdout]     |
[INFO] [stdout] 30  | impl Order {
[INFO] [stdout]     | ---------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 61  |     pub fn update(
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 104 |     pub fn cancel(&mut self) -> Result<(), String> {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `buy`
[INFO] [stdout]   --> src/main.rs:33:9
[INFO] [stdout]    |
[INFO] [stdout] 33 |     let buy = book
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_buy`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sell`
[INFO] [stdout]   --> src/main.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 37 |     let sell = book
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_sell`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `update_pool`, `add_order`, `cancel_order`, and `update_order` are never used
[INFO] [stdout]    --> src/exchange/mod.rs:81:12
[INFO] [stdout]     |
[INFO] [stdout] 44  | impl Matcher {
[INFO] [stdout]     | ------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 81  |     pub fn update_pool(&mut self, pair_id: String, enable: bool) -> Result<(), String> {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 91  |     pub fn add_order(
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 108 |     pub fn cancel_order(&mut self, order_id: String) -> Result<(), String> {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 117 |     pub fn update_order(
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `order`, `book_order`, and `quantity` are never read
[INFO] [stdout]   --> src/orderbook/orderbook.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct Trade {
[INFO] [stdout]    |            ----- fields in this struct
[INFO] [stdout] 12 |     order: Order,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 13 |     book_order: Order,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 14 |     quantity: f64,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Trade` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `last_traded_price` is never read
[INFO] [stdout]   --> src/orderbook/orderbook.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct OrderBook {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 25 |     last_traded_price: Decimal,
[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: variant `Cancelled` is never constructed
[INFO] [stdout]   --> src/orderbook/order.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub enum OrderStatus {
[INFO] [stdout]    |          ----------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 16 |     Cancelled,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `OrderStatus` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `cancel` is never used
[INFO] [stdout]    --> src/orderbook/order.rs:104:12
[INFO] [stdout]     |
[INFO] [stdout] 30  | impl Order {
[INFO] [stdout]     | ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 104 |     pub fn cancel(&mut self) -> Result<(), String> {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.24s
[INFO] running `Command { std: "docker" "inspect" "d6c16d64f4bff4c96f434ad7bed898cd4405f81631d3f76fb93878e71d79b47b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d6c16d64f4bff4c96f434ad7bed898cd4405f81631d3f76fb93878e71d79b47b", kill_on_drop: false }`
[INFO] [stdout] d6c16d64f4bff4c96f434ad7bed898cd4405f81631d3f76fb93878e71d79b47b
