[INFO] cloning repository https://github.com/zulrah93/orderbook [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zulrah93/orderbook" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzulrah93%2Forderbook", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzulrah93%2Forderbook'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cfe91a0ba08d48cbc031e08b9b561f2062c0d97b [INFO] checking zulrah93/orderbook against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzulrah93%2Forderbook" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zulrah93/orderbook on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/zulrah93/orderbook [INFO] finished tweaking git repo https://github.com/zulrah93/orderbook [INFO] tweaked toml for git repo https://github.com/zulrah93/orderbook written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/zulrah93/orderbook 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c373a8cfad7e21b53ace66b39a4da083290cad61c89e326bba0866c96f3e53c0 [INFO] running `Command { std: "docker" "start" "-a" "c373a8cfad7e21b53ace66b39a4da083290cad61c89e326bba0866c96f3e53c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c373a8cfad7e21b53ace66b39a4da083290cad61c89e326bba0866c96f3e53c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c373a8cfad7e21b53ace66b39a4da083290cad61c89e326bba0866c96f3e53c0", kill_on_drop: false }` [INFO] [stdout] c373a8cfad7e21b53ace66b39a4da083290cad61c89e326bba0866c96f3e53c0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b384b777441e2a30b9e4b777a53866d2eb486d7b69aa85c6bcde6dc44bab81d9 [INFO] running `Command { std: "docker" "start" "-a" "b384b777441e2a30b9e4b777a53866d2eb486d7b69aa85c6bcde6dc44bab81d9", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Checking os_str_bytes v6.0.1 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking clap_lex v0.2.0 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v3.1.18 [INFO] [stderr] Checking orderbook v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0583]: file not found for module `methods` [INFO] [stdout] --> src/helper/mod.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod methods; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `methods`, create file "src/helper/methods.rs" or "src/helper/methods/mod.rs" [INFO] [stdout] = note: if there is a `mod methods` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `methods` [INFO] [stdout] --> src/helper/mod.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod methods; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `methods`, create file "src/helper/methods.rs" or "src/helper/methods/mod.rs" [INFO] [stdout] = note: if there is a `mod methods` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `has_invalid_column` in module `helper::methods` [INFO] [stdout] --> src/main.rs:54:29 [INFO] [stdout] | [INFO] [stdout] 54 | if helper::methods::has_invalid_column(&serialized_columns) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in `helper::methods` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `debug_println` in module `helper::methods` [INFO] [stdout] --> src/main.rs:60:30 [INFO] [stdout] | [INFO] [stdout] 60 | helper::methods::debug_println(format!( [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `helper::methods` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `order_type_to_string` in module `helper::methods` [INFO] [stdout] --> src/main.rs:63:34 [INFO] [stdout] | [INFO] [stdout] 63 | helper::methods::order_type_to_string(order_type) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in `helper::methods` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `trim_string` in module `helper::methods` [INFO] [stdout] --> src/main.rs:116:39 [INFO] [stdout] | [INFO] [stdout] 116 | .map(helper::methods::trim_string) // Avoid any whitespaces in our columns [INFO] [stdout] | ^^^^^^^^^^^ not found in `helper::methods` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `debug_println` in module `helper::methods` [INFO] [stdout] --> src/main.rs:118:30 [INFO] [stdout] | [INFO] [stdout] 118 | helper::methods::debug_println(format!("raw_columns: {:?}", raw_columns)); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `helper::methods` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `char_to_transaction_type` in module `helper::methods` [INFO] [stdout] --> src/main.rs:129:38 [INFO] [stdout] | [INFO] [stdout] 129 | helper::methods::char_to_transaction_type(order_type_char), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in `helper::methods` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_u64_from` in module `helper::methods` [INFO] [stdout] --> src/main.rs:130:38 [INFO] [stdout] | [INFO] [stdout] 130 | helper::methods::parse_u64_from(client_name_raw), [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `helper::methods` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_price_line` in module `helper::methods` [INFO] [stdout] --> src/main.rs:132:38 [INFO] [stdout] | [INFO] [stdout] 132 | helper::methods::parse_price_line(price_line_raw), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `helper::methods` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_u64_from` in module `helper::methods` [INFO] [stdout] --> src/main.rs:133:38 [INFO] [stdout] | [INFO] [stdout] 133 | helper::methods::parse_u64_from(quantity_raw), [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `helper::methods` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `char_to_side` in module `helper::methods` [INFO] [stdout] --> src/main.rs:134:38 [INFO] [stdout] | [INFO] [stdout] 134 | helper::methods::char_to_side(side_char), [INFO] [stdout] | ^^^^^^^^^^^^ not found in `helper::methods` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_u64_from` in module `helper::methods` [INFO] [stdout] --> src/main.rs:135:38 [INFO] [stdout] | [INFO] [stdout] 135 | helper::methods::parse_u64_from(order_id_raw), [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `helper::methods` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `debug_println` in module `helper::methods` [INFO] [stdout] --> src/main.rs:192:26 [INFO] [stdout] | [INFO] [stdout] 192 | helper::methods::debug_println(format!("Current CSV Line: {}", csv_line)); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `helper::methods` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `debug_println` in module `helper::methods` [INFO] [stdout] --> src/main.rs:209:30 [INFO] [stdout] | [INFO] [stdout] 209 | helper::methods::debug_println("FAILED TO PARSE LINE".to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `helper::methods` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `debug_println` in module `helper::methods` [INFO] [stdout] --> src/main.rs:293:22 [INFO] [stdout] | [INFO] [stdout] 293 | helper::methods::debug_println(format!("args = {:?}", args)); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `helper::methods` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `MARKET_ORDER` should have an upper camel case name [INFO] [stdout] --> src/helper/types.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | MARKET_ORDER, // Buy at the current market price [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `MarketOrder` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LIMIT_ORDER` should have an upper camel case name [INFO] [stdout] --> src/helper/types.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | LIMIT_ORDER, // Buy at that price level or below that amount [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `LimitOrder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ORDER_PRIMARY_KEY` should have an upper camel case name [INFO] [stdout] --> src/helper/types.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | pub type ORDER_PRIMARY_KEY = (u64, u64); // Tuple representing the primary key of an Order which will be used when querying for a specifi... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `OrderPrimaryKey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ORDERTYPE_PRICE` should have an upper camel case name [INFO] [stdout] --> src/helper/types.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | pub type ORDERTYPE_PRICE = (OrderType, u64); // Tuple representing the order type (MARKET/LIMIT) and price level expressed as a 64 bit un... [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `OrdertypePrice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `SERIALIZED_COLUMNS` should have an upper camel case name [INFO] [stdout] --> src/helper/types.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 34 | pub type SERIALIZED_COLUMNS = ( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SerializedColumns` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::helper::constants` [INFO] [stdout] --> src/tests.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::helper::constants; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/main.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | mod tests; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::OrderBook` [INFO] [stdout] --> src/tests.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::OrderBook; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/main.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | mod tests; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `has_invalid_column` in module `helper::methods` [INFO] [stdout] --> src/main.rs:54:29 [INFO] [stdout] | [INFO] [stdout] 54 | if helper::methods::has_invalid_column(&serialized_columns) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in `helper::methods` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `debug_println` in module `helper::methods` [INFO] [stdout] --> src/main.rs:60:30 [INFO] [stdout] | [INFO] [stdout] 60 | helper::methods::debug_println(format!( [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `helper::methods` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `order_type_to_string` in module `helper::methods` [INFO] [stdout] --> src/main.rs:63:34 [INFO] [stdout] | [INFO] [stdout] 63 | helper::methods::order_type_to_string(order_type) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in `helper::methods` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `trim_string` in module `helper::methods` [INFO] [stdout] --> src/main.rs:116:39 [INFO] [stdout] | [INFO] [stdout] 116 | .map(helper::methods::trim_string) // Avoid any whitespaces in our columns [INFO] [stdout] | ^^^^^^^^^^^ not found in `helper::methods` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `debug_println` in module `helper::methods` [INFO] [stdout] --> src/main.rs:118:30 [INFO] [stdout] | [INFO] [stdout] 118 | helper::methods::debug_println(format!("raw_columns: {:?}", raw_columns)); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `helper::methods` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `char_to_transaction_type` in module `helper::methods` [INFO] [stdout] --> src/main.rs:129:38 [INFO] [stdout] | [INFO] [stdout] 129 | helper::methods::char_to_transaction_type(order_type_char), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in `helper::methods` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_u64_from` in module `helper::methods` [INFO] [stdout] --> src/main.rs:130:38 [INFO] [stdout] | [INFO] [stdout] 130 | helper::methods::parse_u64_from(client_name_raw), [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `helper::methods` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_price_line` in module `helper::methods` [INFO] [stdout] --> src/main.rs:132:38 [INFO] [stdout] | [INFO] [stdout] 132 | helper::methods::parse_price_line(price_line_raw), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `helper::methods` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_u64_from` in module `helper::methods` [INFO] [stdout] --> src/main.rs:133:38 [INFO] [stdout] | [INFO] [stdout] 133 | helper::methods::parse_u64_from(quantity_raw), [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `helper::methods` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `char_to_side` in module `helper::methods` [INFO] [stdout] --> src/main.rs:134:38 [INFO] [stdout] | [INFO] [stdout] 134 | helper::methods::char_to_side(side_char), [INFO] [stdout] | ^^^^^^^^^^^^ not found in `helper::methods` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_u64_from` in module `helper::methods` [INFO] [stdout] --> src/main.rs:135:38 [INFO] [stdout] | [INFO] [stdout] 135 | helper::methods::parse_u64_from(order_id_raw), [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `helper::methods` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `debug_println` in module `helper::methods` [INFO] [stdout] --> src/main.rs:192:26 [INFO] [stdout] | [INFO] [stdout] 192 | helper::methods::debug_println(format!("Current CSV Line: {}", csv_line)); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `helper::methods` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `debug_println` in module `helper::methods` [INFO] [stdout] --> src/main.rs:209:30 [INFO] [stdout] | [INFO] [stdout] 209 | helper::methods::debug_println("FAILED TO PARSE LINE".to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `helper::methods` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `debug_println` in module `helper::methods` [INFO] [stdout] --> src/main.rs:293:22 [INFO] [stdout] | [INFO] [stdout] 293 | helper::methods::debug_println(format!("args = {:?}", args)); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `helper::methods` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `MARKET_ORDER` should have an upper camel case name [INFO] [stdout] --> src/helper/types.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | MARKET_ORDER, // Buy at the current market price [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `MarketOrder` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LIMIT_ORDER` should have an upper camel case name [INFO] [stdout] --> src/helper/types.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | LIMIT_ORDER, // Buy at that price level or below that amount [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `LimitOrder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ORDER_PRIMARY_KEY` should have an upper camel case name [INFO] [stdout] --> src/helper/types.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | pub type ORDER_PRIMARY_KEY = (u64, u64); // Tuple representing the primary key of an Order which will be used when querying for a specifi... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `OrderPrimaryKey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ORDERTYPE_PRICE` should have an upper camel case name [INFO] [stdout] --> src/helper/types.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | pub type ORDERTYPE_PRICE = (OrderType, u64); // Tuple representing the order type (MARKET/LIMIT) and price level expressed as a 64 bit un... [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `OrdertypePrice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `SERIALIZED_COLUMNS` should have an upper camel case name [INFO] [stdout] --> src/helper/types.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 34 | pub type SERIALIZED_COLUMNS = ( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SerializedColumns` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::helper::constants` [INFO] [stdout] --> src/tests.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::helper::constants; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::OrderBook` [INFO] [stdout] --> src/tests.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::OrderBook; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0583. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `orderbook` (bin "orderbook") due to 16 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 15 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0583. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `orderbook` (bin "orderbook" test) due to 16 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b384b777441e2a30b9e4b777a53866d2eb486d7b69aa85c6bcde6dc44bab81d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b384b777441e2a30b9e4b777a53866d2eb486d7b69aa85c6bcde6dc44bab81d9", kill_on_drop: false }` [INFO] [stdout] b384b777441e2a30b9e4b777a53866d2eb486d7b69aa85c6bcde6dc44bab81d9 [INFO] checking zulrah93/orderbook against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzulrah93%2Forderbook" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zulrah93/orderbook on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/zulrah93/orderbook [INFO] finished tweaking git repo https://github.com/zulrah93/orderbook [INFO] tweaked toml for git repo https://github.com/zulrah93/orderbook written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/zulrah93/orderbook 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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f5e9b6fecbbd5aa399c02ccb0b9a7a20b8b18893c621fb67040bf762f44bbd0a [INFO] running `Command { std: "docker" "start" "-a" "f5e9b6fecbbd5aa399c02ccb0b9a7a20b8b18893c621fb67040bf762f44bbd0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f5e9b6fecbbd5aa399c02ccb0b9a7a20b8b18893c621fb67040bf762f44bbd0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5e9b6fecbbd5aa399c02ccb0b9a7a20b8b18893c621fb67040bf762f44bbd0a", kill_on_drop: false }` [INFO] [stdout] f5e9b6fecbbd5aa399c02ccb0b9a7a20b8b18893c621fb67040bf762f44bbd0a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d49c44ad0ea5be69e838e356ad7667f7f0b1d45517a32ce60ed235eddc87b2dc [INFO] running `Command { std: "docker" "start" "-a" "d49c44ad0ea5be69e838e356ad7667f7f0b1d45517a32ce60ed235eddc87b2dc", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] skipping non-2021 edition `2018` [INFO] running `Command { std: "docker" "inspect" "d49c44ad0ea5be69e838e356ad7667f7f0b1d45517a32ce60ed235eddc87b2dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d49c44ad0ea5be69e838e356ad7667f7f0b1d45517a32ce60ed235eddc87b2dc", kill_on_drop: false }` [INFO] [stdout] d49c44ad0ea5be69e838e356ad7667f7f0b1d45517a32ce60ed235eddc87b2dc