[INFO] cloning repository https://github.com/vvbae/toy-trading-bot
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vvbae/toy-trading-bot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvvbae%2Ftoy-trading-bot", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvvbae%2Ftoy-trading-bot'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 0c9c6c6e26554059c24f86a0ea7a6483ed0c0353
[INFO] checking vvbae/toy-trading-bot against master#32cd9114712a24010b0583624dc52ac302194128 for pr-143717
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvvbae%2Ftoy-trading-bot" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/vvbae/toy-trading-bot
[INFO] finished tweaking git repo https://github.com/vvbae/toy-trading-bot
[INFO] tweaked toml for git repo https://github.com/vvbae/toy-trading-bot written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/vvbae/toy-trading-bot on toolchain 32cd9114712a24010b0583624dc52ac302194128
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+32cd9114712a24010b0583624dc52ac302194128" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/vvbae/toy-trading-bot 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" "+32cd9114712a24010b0583624dc52ac302194128" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded rust_decimal_macros v1.30.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+32cd9114712a24010b0583624dc52ac302194128" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 7979e770c408737ba92900fb0e5631ca4bd3e68872d7bdebe0d7f27996e6b36f
[INFO] running `Command { std: "docker" "start" "-a" "7979e770c408737ba92900fb0e5631ca4bd3e68872d7bdebe0d7f27996e6b36f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7979e770c408737ba92900fb0e5631ca4bd3e68872d7bdebe0d7f27996e6b36f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7979e770c408737ba92900fb0e5631ca4bd3e68872d7bdebe0d7f27996e6b36f", kill_on_drop: false }`
[INFO] [stdout] 7979e770c408737ba92900fb0e5631ca4bd3e68872d7bdebe0d7f27996e6b36f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+32cd9114712a24010b0583624dc52ac302194128" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] be99402239b0eb83743234feba1cfe14a97f18d5da07e669afcf16a7d1f9e38c
[INFO] running `Command { std: "docker" "start" "-a" "be99402239b0eb83743234feba1cfe14a97f18d5da07e669afcf16a7d1f9e38c", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.60
[INFO] [stderr]    Compiling rust_decimal v1.30.0
[INFO] [stderr]    Compiling unicode-ident v1.0.9
[INFO] [stderr]    Compiling serde v1.0.164
[INFO] [stderr]    Compiling quote v1.0.28
[INFO] [stderr]    Compiling arrayvec v0.7.4
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling rust_decimal_macros v1.30.0
[INFO] [stderr]     Checking trading-bot v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `OrderBook` and `self`
[INFO] [stdout]  --> src/main.rs:4:14
[INFO] [stdout]   |
[INFO] [stdout] 4 |     engine::{self, MatchingEngine, TradingPair},
[INFO] [stdout]   |              ^^^^
[INFO] [stdout] 5 |     orderbook::{BidOrAsk, Order, OrderBook},
[INFO] [stdout]   |                                  ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `OrderBook` and `self`
[INFO] [stdout]  --> src/main.rs:4:14
[INFO] [stdout]   |
[INFO] [stdout] 4 |     engine::{self, MatchingEngine, TradingPair},
[INFO] [stdout]   |              ^^^^
[INFO] [stdout] 5 |     orderbook::{BidOrAsk, Order, OrderBook},
[INFO] [stdout]   |                                  ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `limits`
[INFO] [stdout]   --> src/matching_engine/orderbook.rs:46:13
[INFO] [stdout]    |
[INFO] [stdout] 46 |         let limits = match market_order.bid_or_ask {
[INFO] [stdout]    |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_limits`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `eth_pair`
[INFO] [stdout]   --> src/main.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let eth_pair = TradingPair::new("ETH".to_string(), "USD".to_string());
[INFO] [stdout]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_eth_pair`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `limits`
[INFO] [stdout]   --> src/matching_engine/orderbook.rs:46:13
[INFO] [stdout]    |
[INFO] [stdout] 46 |         let limits = match market_order.bid_or_ask {
[INFO] [stdout]    |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_limits`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Ask` is never constructed
[INFO] [stdout]  --> src/matching_engine/orderbook.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub enum BidOrAsk {
[INFO] [stdout]   |          -------- variant in this enum
[INFO] [stdout] 8 |     Bid,
[INFO] [stdout] 9 |     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: methods `ask_limits`, `bid_limits`, and `fill_market_order` are never used
[INFO] [stdout]   --> src/matching_engine/orderbook.rs:27:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | impl OrderBook {
[INFO] [stdout]    | -------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 27 |     pub fn ask_limits(&mut self) -> Vec<&mut Limit> {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 36 |     pub fn bid_limits(&mut self) -> Vec<&mut Limit> {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 44 |     pub fn fill_market_order(&mut self, market_order: &mut Order) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `price` is never read
[INFO] [stdout]   --> src/matching_engine/orderbook.rs:88:5
[INFO] [stdout]    |
[INFO] [stdout] 87 | pub struct Limit {
[INFO] [stdout]    |            ----- field in this struct
[INFO] [stdout] 88 |     price: Decimal,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Limit` 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 `total_volume` and `fill_order` are never used
[INFO] [stdout]    --> src/matching_engine/orderbook.rs:100:8
[INFO] [stdout]     |
[INFO] [stdout] 92  | impl Limit {
[INFO] [stdout]     | ---------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 100 |     fn total_volume(&self) -> f64 {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 108 |     fn fill_order(&mut self, market_order: &mut Order) {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `size` is never read
[INFO] [stdout]    --> src/matching_engine/orderbook.rs:134:5
[INFO] [stdout]     |
[INFO] [stdout] 133 | pub struct Order {
[INFO] [stdout]     |            ----- field in this struct
[INFO] [stdout] 134 |     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 `is_filled` is never used
[INFO] [stdout]    --> src/matching_engine/orderbook.rs:143:12
[INFO] [stdout]     |
[INFO] [stdout] 138 | impl Order {
[INFO] [stdout]     | ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 143 |     pub fn is_filled(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `eth_pair`
[INFO] [stdout]   --> src/main.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let eth_pair = TradingPair::new("ETH".to_string(), "USD".to_string());
[INFO] [stdout]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_eth_pair`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.62s
[INFO] running `Command { std: "docker" "inspect" "be99402239b0eb83743234feba1cfe14a97f18d5da07e669afcf16a7d1f9e38c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "be99402239b0eb83743234feba1cfe14a97f18d5da07e669afcf16a7d1f9e38c", kill_on_drop: false }`
[INFO] [stdout] be99402239b0eb83743234feba1cfe14a97f18d5da07e669afcf16a7d1f9e38c
