[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] testing 0x-pankaj/probo against try#9f93af291970322f4f1c6315ccde4d7078201159 for pr-146098-6
[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 9f93af291970322f4f1c6315ccde4d7078201159
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "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" "+9f93af291970322f4f1c6315ccde4d7078201159" "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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8efd2a5225a44f7b006f3d2b87238754582f0dd98e4f71f96d4e65de9f3114d4
[INFO] running `Command { std: "docker" "start" "-a" "8efd2a5225a44f7b006f3d2b87238754582f0dd98e4f71f96d4e65de9f3114d4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8efd2a5225a44f7b006f3d2b87238754582f0dd98e4f71f96d4e65de9f3114d4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8efd2a5225a44f7b006f3d2b87238754582f0dd98e4f71f96d4e65de9f3114d4", kill_on_drop: false }`
[INFO] [stdout] 8efd2a5225a44f7b006f3d2b87238754582f0dd98e4f71f96d4e65de9f3114d4
[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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8c662e7af988d2decdefab20672fa1ab49c0b451355ee6871db9728d5aed0d0d
[INFO] running `Command { std: "docker" "start" "-a" "8c662e7af988d2decdefab20672fa1ab49c0b451355ee6871db9728d5aed0d0d", kill_on_drop: false }`
[INFO] [stderr]    Compiling icu_properties_data v2.0.0
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling syn v2.0.101
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling mio v1.0.3
[INFO] [stderr]    Compiling socket2 v0.5.9
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling anstyle-parse v0.2.6
[INFO] [stderr]    Compiling num_cpus v1.16.0
[INFO] [stderr]    Compiling anstyle v1.0.10
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling log v0.4.27
[INFO] [stderr]    Compiling arc-swap v1.7.1
[INFO] [stderr]    Compiling anstyle-query v1.1.2
[INFO] [stderr]    Compiling colorchoice v1.0.3
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling anstream v0.6.18
[INFO] [stderr]    Compiling jiff v0.2.13
[INFO] [stderr]    Compiling sha1_smol v1.0.1
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling num-bigint v0.4.6
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling env_filter v0.1.3
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling zerovec-derive v0.11.1
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling async-trait v0.1.88
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.0
[INFO] [stderr]    Compiling tokio v1.45.0
[INFO] [stderr]    Compiling env_logger v0.11.8
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling yoke v0.8.0
[INFO] [stderr]    Compiling zerovec v0.11.2
[INFO] [stderr]    Compiling zerotrie v0.2.2
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling tinystr v0.8.1
[INFO] [stderr]    Compiling potential_utf v0.1.2
[INFO] [stderr]    Compiling icu_collections v2.0.0
[INFO] [stderr]    Compiling icu_locale_core v2.0.0
[INFO] [stderr]    Compiling icu_provider v2.0.0
[INFO] [stderr]    Compiling icu_properties v2.0.0
[INFO] [stderr]    Compiling icu_normalizer v2.0.0
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.0.3
[INFO] [stderr]    Compiling url v2.5.4
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]    Compiling tokio-util v0.7.15
[INFO] [stderr]    Compiling deadpool-runtime v0.1.4
[INFO] [stderr]    Compiling deadpool v0.12.2
[INFO] [stderr]    Compiling combine v4.6.7
[INFO] [stderr]    Compiling redis v0.26.1
[INFO] [stderr]    Compiling redis v0.25.4
[INFO] [stderr]    Compiling deadpool-redis v0.16.0
[INFO] [stderr]    Compiling 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] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 31s
[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 1`
[INFO] running `Command { std: "docker" "inspect" "8c662e7af988d2decdefab20672fa1ab49c0b451355ee6871db9728d5aed0d0d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8c662e7af988d2decdefab20672fa1ab49c0b451355ee6871db9728d5aed0d0d", kill_on_drop: false }`
[INFO] [stdout] 8c662e7af988d2decdefab20672fa1ab49c0b451355ee6871db9728d5aed0d0d
[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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ff9cbab546805d768ea6c72392a2730833348ba0da477636718776af02ae061a
[INFO] running `Command { std: "docker" "start" "-a" "ff9cbab546805d768ea6c72392a2730833348ba0da477636718776af02ae061a", kill_on_drop: false }`
[INFO] [stderr]    Compiling 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] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.54s
[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 1`
[INFO] running `Command { std: "docker" "inspect" "ff9cbab546805d768ea6c72392a2730833348ba0da477636718776af02ae061a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ff9cbab546805d768ea6c72392a2730833348ba0da477636718776af02ae061a", kill_on_drop: false }`
[INFO] [stdout] ff9cbab546805d768ea6c72392a2730833348ba0da477636718776af02ae061a
[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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] be1179805cafd26331cda224a601b3dd8cfa7ac9e268a4bf09bed206abcb6db4
[INFO] running `Command { std: "docker" "start" "-a" "be1179805cafd26331cda224a601b3dd8cfa7ac9e268a4bf09bed206abcb6db4", kill_on_drop: false }`
[INFO] [stderr] warning: variant `Sell` is never constructed
[INFO] [stderr]   --> src/main.rs:15:5
[INFO] [stderr]    |
[INFO] [stderr] 13 | enum OrderType {
[INFO] [stderr]    |      --------- variant in this enum
[INFO] [stderr] 14 |     Buy,
[INFO] [stderr] 15 |     Sell,
[INFO] [stderr]    |     ^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `OrderType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: fields `user_id` and `timestamp` are never read
[INFO] [stderr]   --> src/main.rs:21:5
[INFO] [stderr]    |
[INFO] [stderr] 19 | struct Order {
[INFO] [stderr]    |        ----- fields in this struct
[INFO] [stderr] 20 |     id: u64,
[INFO] [stderr] 21 |     user_id: u32,
[INFO] [stderr]    |     ^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 26 |     timestamp: u64,
[INFO] [stderr]    |     ^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `Order` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: fields `buy_order_id`, `sell_order_id`, `option`, `price`, and `quantity` are never read
[INFO] [stderr]   --> src/main.rs:31:5
[INFO] [stderr]    |
[INFO] [stderr] 30 | struct Trade {
[INFO] [stderr]    |        ----- fields in this struct
[INFO] [stderr] 31 |     buy_order_id: u64,
[INFO] [stderr]    |     ^^^^^^^^^^^^
[INFO] [stderr] 32 |     sell_order_id: u64,
[INFO] [stderr]    |     ^^^^^^^^^^^^^
[INFO] [stderr] 33 |     option: OptionType,
[INFO] [stderr]    |     ^^^^^^
[INFO] [stderr] 34 |     price: f64,
[INFO] [stderr]    |     ^^^^^
[INFO] [stderr] 35 |     quantity: u32,
[INFO] [stderr]    |     ^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `Trade` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: field `option` is never read
[INFO] [stderr]   --> src/main.rs:39:5
[INFO] [stderr]    |
[INFO] [stderr] 38 | pub struct OrderBook {
[INFO] [stderr]    |            --------- field in this struct
[INFO] [stderr] 39 |     option: OptionType,
[INFO] [stderr]    |     ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `remove_order` is never used
[INFO] [stderr]   --> src/main.rs:70:8
[INFO] [stderr]    |
[INFO] [stderr] 44 | impl OrderBook {
[INFO] [stderr]    | -------------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 70 |     fn remove_order(&mut self, order_type: OrderType, price: f64, order_id: u64) {
[INFO] [stderr]    |        ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `commision_rate` is never read
[INFO] [stderr]   --> src/main.rs:90:5
[INFO] [stderr]    |
[INFO] [stderr] 86 | struct MatchingEngine {
[INFO] [stderr]    |        -------------- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 90 |     commision_rate: f64, //eg 0.0223 -> 2.23 percentage
[INFO] [stderr]    |     ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: methods `cancel_order`, `get_market_price`, and `get_order_book` are never used
[INFO] [stderr]    --> src/main.rs:153:8
[INFO] [stderr]     |
[INFO] [stderr]  93 | impl MatchingEngine {
[INFO] [stderr]     | ------------------- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 153 |     fn cancel_order(
[INFO] [stderr]     |        ^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 491 |     fn get_market_price(&self, option: OptionType) -> (Option<f64>, Option<f64>) {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 506 |     fn get_order_book(&self, option: OptionType) -> (BTreeMap<u64, u32>, BTreeMap<u64, u32>) {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `probo-engine` (bin "probo-engine" test) generated 7 warnings
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s
[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 1`
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/probo_engine-cc322d1515517d63)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "be1179805cafd26331cda224a601b3dd8cfa7ac9e268a4bf09bed206abcb6db4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "be1179805cafd26331cda224a601b3dd8cfa7ac9e268a4bf09bed206abcb6db4", kill_on_drop: false }`
[INFO] [stdout] be1179805cafd26331cda224a601b3dd8cfa7ac9e268a4bf09bed206abcb6db4
