[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#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzulrah93%2Forderbook" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [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-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/zulrah93/orderbook on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 02c16ad9267be0f93a734e8f4a5e15d1780b44cc907aa8b45f4f8d202df80e2c [INFO] running `Command { std: "docker" "start" "-a" "02c16ad9267be0f93a734e8f4a5e15d1780b44cc907aa8b45f4f8d202df80e2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "02c16ad9267be0f93a734e8f4a5e15d1780b44cc907aa8b45f4f8d202df80e2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02c16ad9267be0f93a734e8f4a5e15d1780b44cc907aa8b45f4f8d202df80e2c", kill_on_drop: false }` [INFO] [stdout] 02c16ad9267be0f93a734e8f4a5e15d1780b44cc907aa8b45f4f8d202df80e2c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bd643a351c8192d3c8b518128d7201db6503a9476ed468d78a3ad61ff39f1027 [INFO] running `Command { std: "docker" "start" "-a" "bd643a351c8192d3c8b518128d7201db6503a9476ed468d78a3ad61ff39f1027", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking os_str_bytes v6.0.1 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Checking clap_lex v0.2.0 [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] 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[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] 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] For more information about this error, try `rustc --explain E0583`. [INFO] [stdout] [INFO] [stderr] error: could not compile `orderbook` (bin "orderbook" test) due to 1 previous error; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0583`. [INFO] [stdout] [INFO] [stderr] error: could not compile `orderbook` (bin "orderbook") due to 1 previous error; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "bd643a351c8192d3c8b518128d7201db6503a9476ed468d78a3ad61ff39f1027", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd643a351c8192d3c8b518128d7201db6503a9476ed468d78a3ad61ff39f1027", kill_on_drop: false }` [INFO] [stdout] bd643a351c8192d3c8b518128d7201db6503a9476ed468d78a3ad61ff39f1027