[INFO] cloning repository https://github.com/buckley-w-david/plato-smart-device-client [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/buckley-w-david/plato-smart-device-client" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbuckley-w-david%2Fplato-smart-device-client", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbuckley-w-david%2Fplato-smart-device-client'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 90c54751726b4abf7455baf6097cee470935cdc8 [INFO] checking buckley-w-david/plato-smart-device-client against master#22572d0994593197593e2a1b7b18d720a9a349a7 for pr-126452-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbuckley-w-david%2Fplato-smart-device-client" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/buckley-w-david/plato-smart-device-client on toolchain 22572d0994593197593e2a1b7b18d720a9a349a7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-1-tc1/source/.cargo/config [INFO] started tweaking git repo https://github.com/buckley-w-david/plato-smart-device-client [INFO] finished tweaking git repo https://github.com/buckley-w-david/plato-smart-device-client [INFO] tweaked toml for git repo https://github.com/buckley-w-david/plato-smart-device-client written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/buckley-w-david/plato-smart-device-client 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" "+22572d0994593197593e2a1b7b18d720a9a349a7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_json v1.0.71 [INFO] [stderr] Downloaded anyhow v1.0.48 [INFO] [stderr] Downloaded const_format v0.2.22 [INFO] [stderr] Downloaded signal-hook v0.3.10 [INFO] [stderr] Downloaded nix v0.23.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 187421bd25e725706e9e48364d1c464f8a17134f6543114e69b13d4a347ecd9d [INFO] running `Command { std: "docker" "start" "-a" "187421bd25e725706e9e48364d1c464f8a17134f6543114e69b13d4a347ecd9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "187421bd25e725706e9e48364d1c464f8a17134f6543114e69b13d4a347ecd9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "187421bd25e725706e9e48364d1c464f8a17134f6543114e69b13d4a347ecd9d", kill_on_drop: false }` [INFO] [stdout] 187421bd25e725706e9e48364d1c464f8a17134f6543114e69b13d4a347ecd9d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 82df725aa8e759c969a744cd74cc15c5499c0f6fd3bd19aafd52d3c29569e5fc [INFO] running `Command { std: "docker" "start" "-a" "82df725aa8e759c969a744cd74cc15c5499c0f6fd3bd19aafd52d3c29569e5fc", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling signal-hook v0.3.10 [INFO] [stderr] Compiling serde_json v1.0.71 [INFO] [stderr] Compiling anyhow v1.0.48 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling const_format_proc_macros v0.2.22 [INFO] [stderr] Checking num-integer v0.1.44 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking nix v0.23.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking const_format v0.2.22 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking serde v1.0.130 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking plato-smart-device-client v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/smart_device_client.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs::{self, File}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow` [INFO] [stdout] --> src/smart_device_client.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | use anyhow::{anyhow, Error}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime` and `Utc` [INFO] [stdout] --> src/smart_device_client.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | use chrono::{DateTime, Utc}; [INFO] [stdout] | ^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/smart_device_client.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs::{self, File}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow` [INFO] [stdout] --> src/smart_device_client.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | use anyhow::{anyhow, Error}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime` and `Utc` [INFO] [stdout] --> src/smart_device_client.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | use chrono::{DateTime, Utc}; [INFO] [stdout] | ^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `count` [INFO] [stdout] --> src/smart_device_client.rs:290:28 [INFO] [stdout] | [INFO] [stdout] 290 | } else if let Some(count) = message.get("count") { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_count` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pri_key` [INFO] [stdout] --> src/smart_device_client.rs:293:28 [INFO] [stdout] | [INFO] [stdout] 293 | } else if let Some(pri_key) = message.get("priKey") { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pri_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stream` [INFO] [stdout] --> src/smart_device_client.rs:282:9 [INFO] [stdout] | [INFO] [stdout] 282 | stream: &TcpStream, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `count` [INFO] [stdout] --> src/smart_device_client.rs:290:28 [INFO] [stdout] | [INFO] [stdout] 290 | } else if let Some(count) = message.get("count") { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_count` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pri_key` [INFO] [stdout] --> src/smart_device_client.rs:293:28 [INFO] [stdout] | [INFO] [stdout] 293 | } else if let Some(pri_key) = message.get("priKey") { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pri_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stream` [INFO] [stdout] --> src/smart_device_client.rs:282:9 [INFO] [stdout] | [INFO] [stdout] 282 | stream: &TcpStream, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `UpdateDocument` is never constructed [INFO] [stdout] --> src/event.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum Event<'a> { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 14 | UpdateDocument(&'a Path, Info), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/event.rs:20:19 [INFO] [stdout] | [INFO] [stdout] 20 | NetworkStatus(NetworkResults), [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 20 | NetworkStatus(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `event_type` is never read [INFO] [stdout] --> src/event.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct SearchResults { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 25 | #[serde(rename = "type")] [INFO] [stdout] 26 | pub event_type: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SearchResults` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `event_type` and `status` are never read [INFO] [stdout] --> src/event.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct NetworkResults { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 32 | #[serde(rename = "type")] [INFO] [stdout] 33 | pub event_type: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 34 | pub status: String, // TODO: This *should* probably be a bool [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NetworkResults` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VERBOSE` is never used [INFO] [stdout] --> src/logger.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub const VERBOSE: u8 = 2; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `verbose` is never used [INFO] [stdout] --> src/logger.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Logger { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn verbose(&self, msg: &[&dyn Display]) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `UpdateDocument` is never constructed [INFO] [stdout] --> src/event.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum Event<'a> { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 14 | UpdateDocument(&'a Path, Info), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/event.rs:20:19 [INFO] [stdout] | [INFO] [stdout] 20 | NetworkStatus(NetworkResults), [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 20 | NetworkStatus(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `event_type` is never read [INFO] [stdout] --> src/event.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct SearchResults { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 25 | #[serde(rename = "type")] [INFO] [stdout] 26 | pub event_type: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SearchResults` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `event_type` and `status` are never read [INFO] [stdout] --> src/event.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct NetworkResults { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 32 | #[serde(rename = "type")] [INFO] [stdout] 33 | pub event_type: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 34 | pub status: String, // TODO: This *should* probably be a bool [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NetworkResults` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VERBOSE` is never used [INFO] [stdout] --> src/logger.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub const VERBOSE: u8 = 2; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `verbose` is never used [INFO] [stdout] --> src/logger.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Logger { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn verbose(&self, msg: &[&dyn Display]) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.43s [INFO] running `Command { std: "docker" "inspect" "82df725aa8e759c969a744cd74cc15c5499c0f6fd3bd19aafd52d3c29569e5fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82df725aa8e759c969a744cd74cc15c5499c0f6fd3bd19aafd52d3c29569e5fc", kill_on_drop: false }` [INFO] [stdout] 82df725aa8e759c969a744cd74cc15c5499c0f6fd3bd19aafd52d3c29569e5fc [INFO] checking buckley-w-david/plato-smart-device-client against try#6289438dbad80b1a0029c66dd3f6abf57c2c51be for pr-126452-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbuckley-w-david%2Fplato-smart-device-client" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/buckley-w-david/plato-smart-device-client on toolchain 6289438dbad80b1a0029c66dd3f6abf57c2c51be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-1-tc2/source/.cargo/config [INFO] started tweaking git repo https://github.com/buckley-w-david/plato-smart-device-client [INFO] finished tweaking git repo https://github.com/buckley-w-david/plato-smart-device-client [INFO] tweaked toml for git repo https://github.com/buckley-w-david/plato-smart-device-client written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/buckley-w-david/plato-smart-device-client 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" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 482fe3e56a7d7486e3bdc3d19d8b838c2ec0d086a6e49ce0bc81a2dc0fd1ae06 [INFO] running `Command { std: "docker" "start" "-a" "482fe3e56a7d7486e3bdc3d19d8b838c2ec0d086a6e49ce0bc81a2dc0fd1ae06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "482fe3e56a7d7486e3bdc3d19d8b838c2ec0d086a6e49ce0bc81a2dc0fd1ae06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "482fe3e56a7d7486e3bdc3d19d8b838c2ec0d086a6e49ce0bc81a2dc0fd1ae06", kill_on_drop: false }` [INFO] [stdout] 482fe3e56a7d7486e3bdc3d19d8b838c2ec0d086a6e49ce0bc81a2dc0fd1ae06 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c40882eea12ce617c9bfde23cc2c5f7f5d6342fdac2ddc71ad76e04c2e5edc85 [INFO] running `Command { std: "docker" "start" "-a" "c40882eea12ce617c9bfde23cc2c5f7f5d6342fdac2ddc71ad76e04c2e5edc85", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling serde_json v1.0.71 [INFO] [stderr] Compiling signal-hook v0.3.10 [INFO] [stderr] Compiling anyhow v1.0.48 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling const_format_proc_macros v0.2.22 [INFO] [stderr] Checking num-integer v0.1.44 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking nix v0.23.0 [INFO] [stderr] Checking const_format v0.2.22 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking serde v1.0.130 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking plato-smart-device-client v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/smart_device_client.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs::{self, File}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow` [INFO] [stdout] --> src/smart_device_client.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | use anyhow::{anyhow, Error}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime` and `Utc` [INFO] [stdout] --> src/smart_device_client.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | use chrono::{DateTime, Utc}; [INFO] [stdout] | ^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/smart_device_client.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs::{self, File}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow` [INFO] [stdout] --> src/smart_device_client.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | use anyhow::{anyhow, Error}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime` and `Utc` [INFO] [stdout] --> src/smart_device_client.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | use chrono::{DateTime, Utc}; [INFO] [stdout] | ^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `count` [INFO] [stdout] --> src/smart_device_client.rs:290:28 [INFO] [stdout] | [INFO] [stdout] 290 | } else if let Some(count) = message.get("count") { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_count` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pri_key` [INFO] [stdout] --> src/smart_device_client.rs:293:28 [INFO] [stdout] | [INFO] [stdout] 293 | } else if let Some(pri_key) = message.get("priKey") { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pri_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stream` [INFO] [stdout] --> src/smart_device_client.rs:282:9 [INFO] [stdout] | [INFO] [stdout] 282 | stream: &TcpStream, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `count` [INFO] [stdout] --> src/smart_device_client.rs:290:28 [INFO] [stdout] | [INFO] [stdout] 290 | } else if let Some(count) = message.get("count") { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_count` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pri_key` [INFO] [stdout] --> src/smart_device_client.rs:293:28 [INFO] [stdout] | [INFO] [stdout] 293 | } else if let Some(pri_key) = message.get("priKey") { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pri_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stream` [INFO] [stdout] --> src/smart_device_client.rs:282:9 [INFO] [stdout] | [INFO] [stdout] 282 | stream: &TcpStream, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `UpdateDocument` is never constructed [INFO] [stdout] --> src/event.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum Event<'a> { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 14 | UpdateDocument(&'a Path, Info), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/event.rs:20:19 [INFO] [stdout] | [INFO] [stdout] 20 | NetworkStatus(NetworkResults), [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 20 | NetworkStatus(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `event_type` is never read [INFO] [stdout] --> src/event.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct SearchResults { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 25 | #[serde(rename = "type")] [INFO] [stdout] 26 | pub event_type: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SearchResults` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `event_type` and `status` are never read [INFO] [stdout] --> src/event.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct NetworkResults { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 32 | #[serde(rename = "type")] [INFO] [stdout] 33 | pub event_type: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 34 | pub status: String, // TODO: This *should* probably be a bool [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NetworkResults` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VERBOSE` is never used [INFO] [stdout] --> src/logger.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub const VERBOSE: u8 = 2; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `verbose` is never used [INFO] [stdout] --> src/logger.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Logger { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn verbose(&self, msg: &[&dyn Display]) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `UpdateDocument` is never constructed [INFO] [stdout] --> src/event.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum Event<'a> { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 14 | UpdateDocument(&'a Path, Info), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/event.rs:20:19 [INFO] [stdout] | [INFO] [stdout] 20 | NetworkStatus(NetworkResults), [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 20 | NetworkStatus(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `event_type` is never read [INFO] [stdout] --> src/event.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct SearchResults { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 25 | #[serde(rename = "type")] [INFO] [stdout] 26 | pub event_type: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SearchResults` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `event_type` and `status` are never read [INFO] [stdout] --> src/event.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct NetworkResults { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 32 | #[serde(rename = "type")] [INFO] [stdout] 33 | pub event_type: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 34 | pub status: String, // TODO: This *should* probably be a bool [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NetworkResults` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VERBOSE` is never used [INFO] [stdout] --> src/logger.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub const VERBOSE: u8 = 2; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `verbose` is never used [INFO] [stdout] --> src/logger.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Logger { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn verbose(&self, msg: &[&dyn Display]) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.03s [INFO] running `Command { std: "docker" "inspect" "c40882eea12ce617c9bfde23cc2c5f7f5d6342fdac2ddc71ad76e04c2e5edc85", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c40882eea12ce617c9bfde23cc2c5f7f5d6342fdac2ddc71ad76e04c2e5edc85", kill_on_drop: false }` [INFO] [stdout] c40882eea12ce617c9bfde23cc2c5f7f5d6342fdac2ddc71ad76e04c2e5edc85