[INFO] cloning repository https://github.com/drewmudry/rust_trading_platform [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/drewmudry/rust_trading_platform" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdrewmudry%2Frust_trading_platform", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdrewmudry%2Frust_trading_platform'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c90765a7e0966ee4f2fde6eb97dfa98ca6e8382b [INFO] checking drewmudry/rust_trading_platform against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdrewmudry%2Frust_trading_platform" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/drewmudry/rust_trading_platform [INFO] finished tweaking git repo https://github.com/drewmudry/rust_trading_platform [INFO] tweaked toml for git repo https://github.com/drewmudry/rust_trading_platform written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/drewmudry/rust_trading_platform on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/drewmudry/rust_trading_platform 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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e21a60d8d525749babfa4963e205f5873f81e0dfdc247054ab1e5a71ea21819d [INFO] running `Command { std: "docker" "start" "-a" "e21a60d8d525749babfa4963e205f5873f81e0dfdc247054ab1e5a71ea21819d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e21a60d8d525749babfa4963e205f5873f81e0dfdc247054ab1e5a71ea21819d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e21a60d8d525749babfa4963e205f5873f81e0dfdc247054ab1e5a71ea21819d", kill_on_drop: false }` [INFO] [stdout] e21a60d8d525749babfa4963e205f5873f81e0dfdc247054ab1e5a71ea21819d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ffa579aebdcb0c74c3c3a83a6874511421ea55e6b1c15b28c2a425d440f957e2 [INFO] running `Command { std: "docker" "start" "-a" "ffa579aebdcb0c74c3c3a83a6874511421ea55e6b1c15b28c2a425d440f957e2", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling rust_decimal v1.33.1 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling rust_decimal_macros v1.33.1 [INFO] [stderr] Checking trade_platform v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/matching_engine/engine.rs:1:42 [INFO] [stdout] | [INFO] [stdout] 1 | use super::orderbook::{Orderbook, Order, self}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tests` [INFO] [stdout] --> src/matching_engine/orderbook.rs:139:7 [INFO] [stdout] | [INFO] [stdout] 139 | #[cfg(tests)] [INFO] [stdout] | ^^^^^ help: there is a config with a similar name: `test` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tests)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tests)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MatchingEngine` and `TradingPair` [INFO] [stdout] --> src/main.rs:2:31 [INFO] [stdout] | [INFO] [stdout] 2 | use matching_engine::engine::{MatchingEngine, TradingPair}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `matched_limit` [INFO] [stdout] --> src/main.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | let matched_limit = ask_limit.get(0).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_matched_limit` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TradingPair` is never constructed [INFO] [stdout] --> src/matching_engine/engine.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct TradingPair{ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `to_string` are never used [INFO] [stdout] --> src/matching_engine/engine.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl TradingPair{ [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 16 | pub fn new(base: String, quote: String) -> TradingPair{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn to_string(self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MatchingEngine` is never constructed [INFO] [stdout] --> src/matching_engine/engine.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct MatchingEngine{ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_new_market`, and `place_limit_order` are never used [INFO] [stdout] --> src/matching_engine/engine.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl MatchingEngine{ [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 30 | pub fn new() -> MatchingEngine{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn add_new_market(&mut self, pair: TradingPair) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn place_limit_order( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Orderbook` should have a snake case name [INFO] [stdout] --> src/main.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | let mut Orderbook = Orderbook::new(); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `orderbook` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/matching_engine/engine.rs:1:42 [INFO] [stdout] | [INFO] [stdout] 1 | use super::orderbook::{Orderbook, Order, self}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tests` [INFO] [stdout] --> src/matching_engine/orderbook.rs:139:7 [INFO] [stdout] | [INFO] [stdout] 139 | #[cfg(tests)] [INFO] [stdout] | ^^^^^ help: there is a config with a similar name: `test` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tests)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tests)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MatchingEngine` and `TradingPair` [INFO] [stdout] --> src/main.rs:2:31 [INFO] [stdout] | [INFO] [stdout] 2 | use matching_engine::engine::{MatchingEngine, TradingPair}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `matched_limit` [INFO] [stdout] --> src/main.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | let matched_limit = ask_limit.get(0).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_matched_limit` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TradingPair` is never constructed [INFO] [stdout] --> src/matching_engine/engine.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct TradingPair{ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `to_string` are never used [INFO] [stdout] --> src/matching_engine/engine.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl TradingPair{ [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 16 | pub fn new(base: String, quote: String) -> TradingPair{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn to_string(self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MatchingEngine` is never constructed [INFO] [stdout] --> src/matching_engine/engine.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct MatchingEngine{ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_new_market`, and `place_limit_order` are never used [INFO] [stdout] --> src/matching_engine/engine.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl MatchingEngine{ [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 30 | pub fn new() -> MatchingEngine{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn add_new_market(&mut self, pair: TradingPair) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn place_limit_order( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Orderbook` should have a snake case name [INFO] [stdout] --> src/main.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | let mut Orderbook = Orderbook::new(); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `orderbook` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.99s [INFO] running `Command { std: "docker" "inspect" "ffa579aebdcb0c74c3c3a83a6874511421ea55e6b1c15b28c2a425d440f957e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ffa579aebdcb0c74c3c3a83a6874511421ea55e6b1c15b28c2a425d440f957e2", kill_on_drop: false }` [INFO] [stdout] ffa579aebdcb0c74c3c3a83a6874511421ea55e6b1c15b28c2a425d440f957e2