[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 52995a223f2919dd3e2e427231db90a257350ded for pr-129249-4
[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-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-2-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-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/buckley-w-david/plato-smart-device-client on toolchain 52995a223f2919dd3e2e427231db90a257350ded
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+52995a223f2919dd3e2e427231db90a257350ded" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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" "+52995a223f2919dd3e2e427231db90a257350ded" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:c0af3998e971868164375a7dfb646c9933ddd1a3bdb00fa2041266763dc1eeab" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 5cfd0609a9885c93fb073b489f665ca7bdb96fd25658ae926819b338e64fd05e
[INFO] running `Command { std: "docker" "start" "5cfd0609a9885c93fb073b489f665ca7bdb96fd25658ae926819b338e64fd05e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5cfd0609a9885c93fb073b489f665ca7bdb96fd25658ae926819b338e64fd05e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "5cfd0609a9885c93fb073b489f665ca7bdb96fd25658ae926819b338e64fd05e" "/opt/rustwide/cargo-home/bin/cargo" "+52995a223f2919dd3e2e427231db90a257350ded" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5cfd0609a9885c93fb073b489f665ca7bdb96fd25658ae926819b338e64fd05e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "5cfd0609a9885c93fb073b489f665ca7bdb96fd25658ae926819b338e64fd05e" "/opt/rustwide/cargo-home/bin/cargo" "+52995a223f2919dd3e2e427231db90a257350ded" "check" "--frozen" "--all" "--all-targets" "--message-format=json", 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 version_check v0.9.3
[INFO] [stderr]    Compiling typenum v1.14.0
[INFO] [stderr]    Compiling serde_derive v1.0.130
[INFO] [stderr]    Compiling serde v1.0.130
[INFO] [stderr]    Compiling signal-hook v0.3.10
[INFO] [stderr]    Compiling anyhow v1.0.48
[INFO] [stderr]    Compiling serde_json v1.0.71
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling memoffset v0.6.4
[INFO] [stderr]     Checking cpufeatures v0.2.1
[INFO] [stderr]     Checking opaque-debug v0.3.0
[INFO] [stderr]     Checking itoa v0.4.8
[INFO] [stderr]    Compiling generic-array v0.14.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 const_format v0.2.22
[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 chrono v0.4.19
[INFO] [stderr]     Checking block-buffer v0.9.0
[INFO] [stderr]     Checking digest v0.9.0
[INFO] [stderr]     Checking sha-1 v0.9.8
[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 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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: `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]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[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] 
[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]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[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] 
[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: 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)]` (part of `#[warn(unused)]`) 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(NetworkResults),
[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] error: useless conversion to the same type: `anyhow::Error`
[INFO] [stdout]   --> src/settings.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 28 | /     toml::from_str(&s)
[INFO] [stdout] 29 | |         .with_context(|| format!("can't parse TOML content from {}", path.as_ref().display()))
[INFO] [stdout] 30 | |         .map_err(Into::into)
[INFO] [stdout]    | |____________________________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout]    = note: `#[deny(self_type_conversion)]` on by default
[INFO] [stdout] help: consider removing the conversion call
[INFO] [stdout]    |
[INFO] [stdout] 29 -         .with_context(|| format!("can't parse TOML content from {}", path.as_ref().display()))
[INFO] [stdout] 30 -         .map_err(Into::into)
[INFO] [stdout] 29 +         .with_context(|| format!("can't parse TOML content from {}", path.as_ref().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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `plato-smart-device-client` (bin "plato-smart-device-client" test) due to 1 previous error; 13 warnings emitted
[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(NetworkResults),
[INFO] [stdout] 20 +     NetworkStatus(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[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] [stderr] error: could not compile `plato-smart-device-client` (bin "plato-smart-device-client") due to 1 previous error; 13 warnings emitted
[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: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/smart_device_client.rs:38:10
[INFO] [stdout]    |
[INFO] [stdout] 38 | #[derive(FromPrimitive, Debug, Serialize)]
[INFO] [stdout]    |          ^------------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `FromPrimitive` is not local
[INFO] [stdout]    |          move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Opcode`
[INFO] [stdout] 39 | enum Opcode {
[INFO] [stdout]    |      ------ `Opcode` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `anyhow::Error`
[INFO] [stdout]   --> src/settings.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 28 | /     toml::from_str(&s)
[INFO] [stdout] 29 | |         .with_context(|| format!("can't parse TOML content from {}", path.as_ref().display()))
[INFO] [stdout] 30 | |         .map_err(Into::into)
[INFO] [stdout]    | |____________________________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout]    = note: `#[deny(self_type_conversion)]` on by default
[INFO] [stdout] help: consider removing the conversion call
[INFO] [stdout]    |
[INFO] [stdout] 29 -         .with_context(|| format!("can't parse TOML content from {}", path.as_ref().display()))
[INFO] [stdout] 30 -         .map_err(Into::into)
[INFO] [stdout] 29 +         .with_context(|| format!("can't parse TOML content from {}", path.as_ref().display()))
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/smart_device_client.rs:38:10
[INFO] [stdout]    |
[INFO] [stdout] 38 | #[derive(FromPrimitive, Debug, Serialize)]
[INFO] [stdout]    |          ^------------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `FromPrimitive` is not local
[INFO] [stdout]    |          move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Opcode`
[INFO] [stdout] 39 | enum Opcode {
[INFO] [stdout]    |      ------ `Opcode` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "5cfd0609a9885c93fb073b489f665ca7bdb96fd25658ae926819b338e64fd05e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5cfd0609a9885c93fb073b489f665ca7bdb96fd25658ae926819b338e64fd05e", kill_on_drop: false }`
[INFO] [stdout] 5cfd0609a9885c93fb073b489f665ca7bdb96fd25658ae926819b338e64fd05e
