[INFO] cloning repository https://github.com/Project-Wartemis/package-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Project-Wartemis/package-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FProject-Wartemis%2Fpackage-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FProject-Wartemis%2Fpackage-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d1dfd22df5125a7fb9b9f79b1b843f47e97fbf22 [INFO] checking Project-Wartemis/package-rust against master#3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 for pr-65819 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FProject-Wartemis%2Fpackage-rust" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Project-Wartemis/package-rust on toolchain 3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Project-Wartemis/package-rust [INFO] finished tweaking git repo https://github.com/Project-Wartemis/package-rust [INFO] tweaked toml for git repo https://github.com/Project-Wartemis/package-rust written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/Project-Wartemis/package-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "fetch" "--locked" "--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-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 1f8ba7f6637fdcf38a7efba58132eaf8ccd311641dcfc8db57381b0d8aba98fe [INFO] running `Command { std: "docker" "start" "-a" "1f8ba7f6637fdcf38a7efba58132eaf8ccd311641dcfc8db57381b0d8aba98fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1f8ba7f6637fdcf38a7efba58132eaf8ccd311641dcfc8db57381b0d8aba98fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f8ba7f6637fdcf38a7efba58132eaf8ccd311641dcfc8db57381b0d8aba98fe", kill_on_drop: false }` [INFO] [stdout] 1f8ba7f6637fdcf38a7efba58132eaf8ccd311641dcfc8db57381b0d8aba98fe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 23107fef15a5a6df28e56b28fa8cb25fb1fd815e4c82f7dd022b86551a80871a [INFO] running `Command { std: "docker" "start" "-a" "23107fef15a5a6df28e56b28fa8cb25fb1fd815e4c82f7dd022b86551a80871a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Compiling serde_derive v1.0.123 [INFO] [stderr] Checking serde v1.0.123 [INFO] [stderr] Checking package-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/message.rs:14:3 [INFO] [stdout] | [INFO] [stdout] 14 | #[serde(tag = "type")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 15 | #[derive(Serialize, Deserialize,Debug,PartialEq)] [INFO] [stdout] | --------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(legacy_derive_helpers)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/client.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 20 | handler: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn handler::Handler` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/client.rs:24:25 [INFO] [stdout] | [INFO] [stdout] 24 | fn new(handler: Box) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn handler::Handler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/message.rs:14:3 [INFO] [stdout] | [INFO] [stdout] 14 | #[serde(tag = "type")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 15 | #[derive(Serialize, Deserialize,Debug,PartialEq)] [INFO] [stdout] | --------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(legacy_derive_helpers)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/client.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 20 | handler: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn handler::Handler` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/client.rs:24:25 [INFO] [stdout] | [INFO] [stdout] 24 | fn new(handler: Box) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn handler::Handler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/client.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `deserialize_message` [INFO] [stdout] --> src/message.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn deserialize_message(json: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `ClientConfig` [INFO] [stdout] --> src/client.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct ClientConfig { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Client` [INFO] [stdout] --> src/client.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Client { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/client.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | fn new(handler: Box) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_raw_message` [INFO] [stdout] --> src/client.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | fn parse_raw_message(&self, raw_message: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `handle_message` [INFO] [stdout] --> src/client.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | fn handle_message(&self, message: msg::Message) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/handler.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn new(client_config: ClientConfig) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `clientType` should have a snake case name [INFO] [stdout] --> src/message.rs:57:6 [INFO] [stdout] | [INFO] [stdout] 57 | pub clientType: String, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `client_type` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/client.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | self.handler.handle(message); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `clientType` should have a snake case name [INFO] [stdout] --> src/handler.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | pub clientType: String, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `client_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/handler.rs:203:13 [INFO] [stdout] | [INFO] [stdout] 203 | let mut handler = ServerMessageHandler::new(default_client_config()); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `ClientConfig` [INFO] [stdout] --> src/client.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct ClientConfig { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `handler` [INFO] [stdout] --> src/client.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | handler: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `handle_message` [INFO] [stdout] --> src/client.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | fn handle_message(&self, message: msg::Message) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `clientType` should have a snake case name [INFO] [stdout] --> src/message.rs:57:6 [INFO] [stdout] | [INFO] [stdout] 57 | pub clientType: String, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `client_type` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/client.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | self.handler.handle(message); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parsing_correct_connected_message_returns_Some` should have a snake case name [INFO] [stdout] --> src/client.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 70 | fn parsing_correct_connected_message_returns_Some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `parsing_correct_connected_message_returns_some` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parsing_incorrect_message_returns_None` should have a snake case name [INFO] [stdout] --> src/client.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | fn parsing_incorrect_message_returns_None() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `parsing_incorrect_message_returns_none` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `clientType` should have a snake case name [INFO] [stdout] --> src/handler.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | pub clientType: String, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `client_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 38.95s [INFO] running `Command { std: "docker" "inspect" "23107fef15a5a6df28e56b28fa8cb25fb1fd815e4c82f7dd022b86551a80871a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23107fef15a5a6df28e56b28fa8cb25fb1fd815e4c82f7dd022b86551a80871a", kill_on_drop: false }` [INFO] [stdout] 23107fef15a5a6df28e56b28fa8cb25fb1fd815e4c82f7dd022b86551a80871a