[INFO] cloning repository https://github.com/0x-pankaj/probo
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/0x-pankaj/probo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0x-pankaj%2Fprobo", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0x-pankaj%2Fprobo'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 1600dcd1a6cdaa872ac1a5fb27a10ad61068efac
[INFO] checking 0x-pankaj/probo against try#51de2e90f91fdec6cf64ff542a4e15b9c177a797 for pr-147294
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0x-pankaj%2Fprobo" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/0x-pankaj/probo
[INFO] finished tweaking git repo https://github.com/0x-pankaj/probo
[INFO] tweaked toml for git repo https://github.com/0x-pankaj/probo written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/0x-pankaj/probo on toolchain 51de2e90f91fdec6cf64ff542a4e15b9c177a797
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+51de2e90f91fdec6cf64ff542a4e15b9c177a797" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/0x-pankaj/probo 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" "+51de2e90f91fdec6cf64ff542a4e15b9c177a797" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+51de2e90f91fdec6cf64ff542a4e15b9c177a797" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 1f66bba10010f200f1052d36b7ee84b0956a6ed3a5c2be3970391b75f41d93f2
[INFO] running `Command { std: "docker" "start" "-a" "1f66bba10010f200f1052d36b7ee84b0956a6ed3a5c2be3970391b75f41d93f2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1f66bba10010f200f1052d36b7ee84b0956a6ed3a5c2be3970391b75f41d93f2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1f66bba10010f200f1052d36b7ee84b0956a6ed3a5c2be3970391b75f41d93f2", kill_on_drop: false }`
[INFO] [stdout] 1f66bba10010f200f1052d36b7ee84b0956a6ed3a5c2be3970391b75f41d93f2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+51de2e90f91fdec6cf64ff542a4e15b9c177a797" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6e2f050c52bce95a793f274d9a18309162d3a5bdf4e89fd60e16925da2e81fe1
[INFO] running `Command { std: "docker" "start" "-a" "6e2f050c52bce95a793f274d9a18309162d3a5bdf4e89fd60e16925da2e81fe1", kill_on_drop: false }`
[INFO] [stderr]    Compiling icu_properties_data v2.0.0
[INFO] [stderr]     Checking signal-hook-registry v1.4.5
[INFO] [stderr]     Checking parking_lot_core v0.9.10
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking form_urlencoded v1.2.1
[INFO] [stderr]    Compiling async-trait v0.1.88
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking num_cpus v1.16.0
[INFO] [stderr]     Checking arc-swap v1.7.1
[INFO] [stderr]     Checking serde v1.0.219
[INFO] [stderr]     Checking env_filter v0.1.3
[INFO] [stderr]     Checking anstream v0.6.18
[INFO] [stderr]     Checking sha1_smol v1.0.1
[INFO] [stderr]     Checking jiff v0.2.13
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]     Checking icu_properties v2.0.0
[INFO] [stderr]     Checking tokio v1.45.0
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking num-bigint v0.4.6
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]     Checking idna v1.0.3
[INFO] [stderr]     Checking url v2.5.4
[INFO] [stderr]     Checking serde_json v1.0.140
[INFO] [stderr]     Checking env_logger v0.11.8
[INFO] [stderr]     Checking tokio-util v0.7.15
[INFO] [stderr]     Checking deadpool-runtime v0.1.4
[INFO] [stderr]     Checking deadpool v0.12.2
[INFO] [stderr]     Checking combine v4.6.7
[INFO] [stderr]     Checking redis v0.26.1
[INFO] [stderr]     Checking redis v0.25.4
[INFO] [stderr]     Checking deadpool-redis v0.16.0
[INFO] [stderr]     Checking probo-engine v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variant `Sell` is never constructed
[INFO] [stdout]   --> src/main.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | enum OrderType {
[INFO] [stdout]    |      --------- variant in this enum
[INFO] [stdout] 14 |     Buy,
[INFO] [stdout] 15 |     Sell,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `OrderType` has derived impls for the traits `Debug` and `Clone`, 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: fields `user_id` and `timestamp` are never read
[INFO] [stdout]   --> src/main.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | struct Order {
[INFO] [stdout]    |        ----- fields in this struct
[INFO] [stdout] 20 |     id: u64,
[INFO] [stdout] 21 |     user_id: u32,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |     timestamp: u64,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Order` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `buy_order_id`, `sell_order_id`, `option`, `price`, and `quantity` are never read
[INFO] [stdout]   --> src/main.rs:31:5
[INFO] [stdout]    |
[INFO] [stdout] 30 | struct Trade {
[INFO] [stdout]    |        ----- fields in this struct
[INFO] [stdout] 31 |     buy_order_id: u64,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 32 |     sell_order_id: u64,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 33 |     option: OptionType,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 34 |     price: f64,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 35 |     quantity: u32,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Trade` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `option` is never read
[INFO] [stdout]   --> src/main.rs:39:5
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub struct OrderBook {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] 39 |     option: OptionType,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `remove_order` is never used
[INFO] [stdout]   --> src/main.rs:70:8
[INFO] [stdout]    |
[INFO] [stdout] 44 | impl OrderBook {
[INFO] [stdout]    | -------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 70 |     fn remove_order(&mut self, order_type: OrderType, price: f64, order_id: u64) {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `commision_rate` is never read
[INFO] [stdout]   --> src/main.rs:90:5
[INFO] [stdout]    |
[INFO] [stdout] 86 | struct MatchingEngine {
[INFO] [stdout]    |        -------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 90 |     commision_rate: f64, //eg 0.0223 -> 2.23 percentage
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `cancel_order`, `get_market_price`, and `get_order_book` are never used
[INFO] [stdout]    --> src/main.rs:153:8
[INFO] [stdout]     |
[INFO] [stdout]  93 | impl MatchingEngine {
[INFO] [stdout]     | ------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 153 |     fn cancel_order(
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 491 |     fn get_market_price(&self, option: OptionType) -> (Option<f64>, Option<f64>) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 506 |     fn get_order_book(&self, option: OptionType) -> (BTreeMap<u64, u32>, BTreeMap<u64, u32>) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Sell` is never constructed
[INFO] [stdout]   --> src/main.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | enum OrderType {
[INFO] [stdout]    |      --------- variant in this enum
[INFO] [stdout] 14 |     Buy,
[INFO] [stdout] 15 |     Sell,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `OrderType` has derived impls for the traits `Debug` and `Clone`, 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: fields `user_id` and `timestamp` are never read
[INFO] [stdout]   --> src/main.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | struct Order {
[INFO] [stdout]    |        ----- fields in this struct
[INFO] [stdout] 20 |     id: u64,
[INFO] [stdout] 21 |     user_id: u32,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |     timestamp: u64,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Order` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `buy_order_id`, `sell_order_id`, `option`, `price`, and `quantity` are never read
[INFO] [stdout]   --> src/main.rs:31:5
[INFO] [stdout]    |
[INFO] [stdout] 30 | struct Trade {
[INFO] [stdout]    |        ----- fields in this struct
[INFO] [stdout] 31 |     buy_order_id: u64,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 32 |     sell_order_id: u64,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 33 |     option: OptionType,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 34 |     price: f64,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 35 |     quantity: u32,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Trade` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `option` is never read
[INFO] [stdout]   --> src/main.rs:39:5
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub struct OrderBook {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] 39 |     option: OptionType,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `remove_order` is never used
[INFO] [stdout]   --> src/main.rs:70:8
[INFO] [stdout]    |
[INFO] [stdout] 44 | impl OrderBook {
[INFO] [stdout]    | -------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 70 |     fn remove_order(&mut self, order_type: OrderType, price: f64, order_id: u64) {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `commision_rate` is never read
[INFO] [stdout]   --> src/main.rs:90:5
[INFO] [stdout]    |
[INFO] [stdout] 86 | struct MatchingEngine {
[INFO] [stdout]    |        -------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 90 |     commision_rate: f64, //eg 0.0223 -> 2.23 percentage
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `cancel_order`, `get_market_price`, and `get_order_book` are never used
[INFO] [stdout]    --> src/main.rs:153:8
[INFO] [stdout]     |
[INFO] [stdout]  93 | impl MatchingEngine {
[INFO] [stdout]     | ------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 153 |     fn cancel_order(
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 491 |     fn get_market_price(&self, option: OptionType) -> (Option<f64>, Option<f64>) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 506 |     fn get_order_book(&self, option: OptionType) -> (BTreeMap<u64, u32>, BTreeMap<u64, u32>) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.35s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: redis v0.25.4
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] running `Command { std: "docker" "inspect" "6e2f050c52bce95a793f274d9a18309162d3a5bdf4e89fd60e16925da2e81fe1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6e2f050c52bce95a793f274d9a18309162d3a5bdf4e89fd60e16925da2e81fe1", kill_on_drop: false }`
[INFO] [stdout] 6e2f050c52bce95a793f274d9a18309162d3a5bdf4e89fd60e16925da2e81fe1
