[INFO] fetching crate echonet-lite 0.1.6... [INFO] testing echonet-lite-0.1.6 against 1.90.0 for beta-1.91-3 [INFO] extracting crate echonet-lite 0.1.6 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate echonet-lite 0.1.6 [INFO] finished tweaking crates.io crate echonet-lite 0.1.6 [INFO] tweaked toml for crates.io crate echonet-lite 0.1.6 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate echonet-lite 0.1.6 on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate echonet-lite 0.1.6 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" "+1.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_repr v0.1.10 [INFO] [stderr] Downloaded num v0.4.0 [INFO] [stderr] Downloaded num-complex v0.4.2 [INFO] [stderr] Downloaded phf_shared v0.9.0 [INFO] [stderr] Downloaded phf_macros v0.9.0 [INFO] [stderr] Downloaded phf_generator v0.9.1 [INFO] [stderr] Downloaded phf v0.9.0 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b870798ea2d889bc2a3c449a97c1ff63eec2932a527ecccc01358bcdb86b82b3 [INFO] running `Command { std: "docker" "start" "-a" "b870798ea2d889bc2a3c449a97c1ff63eec2932a527ecccc01358bcdb86b82b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b870798ea2d889bc2a3c449a97c1ff63eec2932a527ecccc01358bcdb86b82b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b870798ea2d889bc2a3c449a97c1ff63eec2932a527ecccc01358bcdb86b82b3", kill_on_drop: false }` [INFO] [stdout] b870798ea2d889bc2a3c449a97c1ff63eec2932a527ecccc01358bcdb86b82b3 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 031953d2e414d65bb9bf96f840fa9af50c27dc02eae04f395671c008fadfe89b [INFO] running `Command { std: "docker" "start" "-a" "031953d2e414d65bb9bf96f840fa9af50c27dc02eae04f395671c008fadfe89b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.49 [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling unicode-ident v1.0.6 [INFO] [stderr] Compiling quote v1.0.23 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling syn v1.0.107 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling phf_shared v0.9.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling serde_derive v1.0.152 [INFO] [stderr] Compiling serde v1.0.152 [INFO] [stderr] Compiling core2 v0.4.0 [INFO] [stderr] Compiling getrandom v0.2.8 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling num-complex v0.4.2 [INFO] [stderr] Compiling phf_generator v0.9.1 [INFO] [stderr] Compiling num v0.4.0 [INFO] [stderr] Compiling phf_macros v0.9.0 [INFO] [stderr] Compiling serde_repr v0.1.10 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling phf v0.9.0 [INFO] [stderr] Compiling echonet-lite v0.1.6 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Clone` and `self` [INFO] [stdout] --> src/lib.rs:21:33 [INFO] [stdout] | [INFO] [stdout] 21 | pub use self::core::clone::{self, Clone}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `From`, `Into`, and `self` [INFO] [stdout] --> src/lib.rs:22:35 [INFO] [stdout] | [INFO] [stdout] 22 | pub use self::core::convert::{self, From, Into}; [INFO] [stdout] | ^^^^ ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Default` and `self` [INFO] [stdout] --> src/lib.rs:23:35 [INFO] [stdout] | [INFO] [stdout] 23 | pub use self::core::default::{self, Default}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Debug` and `Display` [INFO] [stdout] --> src/lib.rs:24:37 [INFO] [stdout] | [INFO] [stdout] 24 | pub use self::core::fmt::{self, Debug, Display}; [INFO] [stdout] | ^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Result` and `self` [INFO] [stdout] --> src/lib.rs:25:34 [INFO] [stdout] | [INFO] [stdout] 25 | pub use self::core::result::{self, Result}; [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error` [INFO] [stdout] --> src/lib.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | pub use std::error; [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/el_packet.rs:88:45 [INFO] [stdout] | [INFO] [stdout] 88 | #[derive(Debug, PartialEq, Eq, Clone, Copy, FromPrimitive, Serialize_repr, Deserialize_repr)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_ServiceCode` [INFO] [stdout] 89 | #[repr(u8)] [INFO] [stdout] 90 | pub enum ServiceCode { [INFO] [stdout] | ----------- `ServiceCode` 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] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/el_packet.rs:166:17 [INFO] [stdout] | [INFO] [stdout] 166 | pub fn iter(&self) -> core::slice::Iter { [INFO] [stdout] | ^^^^^ --------------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 166 | pub fn iter(&self) -> core::slice::Iter<'_, Property> { [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/de/mod.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 205 | / fn deserialize_enum( [INFO] [stdout] 206 | | self, [INFO] [stdout] 207 | | _enum: &'static str, [INFO] [stdout] 208 | | _variants: &'static [&'static str], [INFO] [stdout] ... | [INFO] [stdout] 211 | | where [INFO] [stdout] 212 | | V: serde::de::Visitor<'de>, [INFO] [stdout] | |___________________________________- move the `impl` block outside of this method `deserialize_enum` [INFO] [stdout] 213 | { [INFO] [stdout] 214 | impl<'de, 'a, R: 'a> serde::de::EnumAccess<'de> for &'a mut Deserializer [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^---------------------^^^^^^^^^^^^^^^^^^------------^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `Deserializer` is not local [INFO] [stdout] | `EnumAccess` is not local [INFO] [stdout] | [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] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.39s [INFO] running `Command { std: "docker" "inspect" "031953d2e414d65bb9bf96f840fa9af50c27dc02eae04f395671c008fadfe89b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "031953d2e414d65bb9bf96f840fa9af50c27dc02eae04f395671c008fadfe89b", kill_on_drop: false }` [INFO] [stdout] 031953d2e414d65bb9bf96f840fa9af50c27dc02eae04f395671c008fadfe89b [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7b904d18590d46d2e3d89bad11e9e9346d6339089e9701597c3810fa14f79083 [INFO] running `Command { std: "docker" "start" "-a" "7b904d18590d46d2e3d89bad11e9e9346d6339089e9701597c3810fa14f79083", kill_on_drop: false }` [INFO] [stdout] warning: unused imports: `Clone` and `self` [INFO] [stdout] --> src/lib.rs:21:33 [INFO] [stdout] | [INFO] [stdout] 21 | pub use self::core::clone::{self, Clone}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `From`, `Into`, and `self` [INFO] [stdout] --> src/lib.rs:22:35 [INFO] [stdout] | [INFO] [stdout] 22 | pub use self::core::convert::{self, From, Into}; [INFO] [stdout] | ^^^^ ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Default` and `self` [INFO] [stdout] --> src/lib.rs:23:35 [INFO] [stdout] | [INFO] [stdout] 23 | pub use self::core::default::{self, Default}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Debug` and `Display` [INFO] [stdout] --> src/lib.rs:24:37 [INFO] [stdout] | [INFO] [stdout] 24 | pub use self::core::fmt::{self, Debug, Display}; [INFO] [stdout] | ^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Result` and `self` [INFO] [stdout] --> src/lib.rs:25:34 [INFO] [stdout] | [INFO] [stdout] 25 | pub use self::core::result::{self, Result}; [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error` [INFO] [stdout] --> src/lib.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | pub use std::error; [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/el_packet.rs:88:45 [INFO] [stdout] | [INFO] [stdout] 88 | #[derive(Debug, PartialEq, Eq, Clone, Copy, FromPrimitive, Serialize_repr, Deserialize_repr)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_ServiceCode` [INFO] [stdout] 89 | #[repr(u8)] [INFO] [stdout] 90 | pub enum ServiceCode { [INFO] [stdout] | ----------- `ServiceCode` 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] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/el_packet.rs:166:17 [INFO] [stdout] | [INFO] [stdout] 166 | pub fn iter(&self) -> core::slice::Iter { [INFO] [stdout] | ^^^^^ --------------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 166 | pub fn iter(&self) -> core::slice::Iter<'_, Property> { [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/de/mod.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 205 | / fn deserialize_enum( [INFO] [stdout] 206 | | self, [INFO] [stdout] 207 | | _enum: &'static str, [INFO] [stdout] 208 | | _variants: &'static [&'static str], [INFO] [stdout] ... | [INFO] [stdout] 211 | | where [INFO] [stdout] 212 | | V: serde::de::Visitor<'de>, [INFO] [stdout] | |___________________________________- move the `impl` block outside of this method `deserialize_enum` [INFO] [stdout] 213 | { [INFO] [stdout] 214 | impl<'de, 'a, R: 'a> serde::de::EnumAccess<'de> for &'a mut Deserializer [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^---------------------^^^^^^^^^^^^^^^^^^------------^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `Deserializer` is not local [INFO] [stdout] | `EnumAccess` is not local [INFO] [stdout] | [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] [INFO] [stdout] [INFO] [stderr] Compiling echonet-lite v0.1.6 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Clone` and `self` [INFO] [stdout] --> src/lib.rs:21:33 [INFO] [stdout] | [INFO] [stdout] 21 | pub use self::core::clone::{self, Clone}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `From`, `Into`, and `self` [INFO] [stdout] --> src/lib.rs:22:35 [INFO] [stdout] | [INFO] [stdout] 22 | pub use self::core::convert::{self, From, Into}; [INFO] [stdout] | ^^^^ ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Default` and `self` [INFO] [stdout] --> src/lib.rs:23:35 [INFO] [stdout] | [INFO] [stdout] 23 | pub use self::core::default::{self, Default}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Debug` and `Display` [INFO] [stdout] --> src/lib.rs:24:37 [INFO] [stdout] | [INFO] [stdout] 24 | pub use self::core::fmt::{self, Debug, Display}; [INFO] [stdout] | ^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Result` and `self` [INFO] [stdout] --> src/lib.rs:25:34 [INFO] [stdout] | [INFO] [stdout] 25 | pub use self::core::result::{self, Result}; [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error` [INFO] [stdout] --> src/lib.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | pub use std::error; [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/el_packet.rs:88:45 [INFO] [stdout] | [INFO] [stdout] 88 | #[derive(Debug, PartialEq, Eq, Clone, Copy, FromPrimitive, Serialize_repr, Deserialize_repr)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_ServiceCode` [INFO] [stdout] 89 | #[repr(u8)] [INFO] [stdout] 90 | pub enum ServiceCode { [INFO] [stdout] | ----------- `ServiceCode` 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] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/el_packet.rs:166:17 [INFO] [stdout] | [INFO] [stdout] 166 | pub fn iter(&self) -> core::slice::Iter { [INFO] [stdout] | ^^^^^ --------------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 166 | pub fn iter(&self) -> core::slice::Iter<'_, Property> { [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/de/mod.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 205 | / fn deserialize_enum( [INFO] [stdout] 206 | | self, [INFO] [stdout] 207 | | _enum: &'static str, [INFO] [stdout] 208 | | _variants: &'static [&'static str], [INFO] [stdout] ... | [INFO] [stdout] 211 | | where [INFO] [stdout] 212 | | V: serde::de::Visitor<'de>, [INFO] [stdout] | |___________________________________- move the `impl` block outside of this method `deserialize_enum` [INFO] [stdout] 213 | { [INFO] [stdout] 214 | impl<'de, 'a, R: 'a> serde::de::EnumAccess<'de> for &'a mut Deserializer [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^---------------------^^^^^^^^^^^^^^^^^^------------^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `Deserializer` is not local [INFO] [stdout] | `EnumAccess` is not local [INFO] [stdout] | [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] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.08s [INFO] running `Command { std: "docker" "inspect" "7b904d18590d46d2e3d89bad11e9e9346d6339089e9701597c3810fa14f79083", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b904d18590d46d2e3d89bad11e9e9346d6339089e9701597c3810fa14f79083", kill_on_drop: false }` [INFO] [stdout] 7b904d18590d46d2e3d89bad11e9e9346d6339089e9701597c3810fa14f79083 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ca643b67033c56a75767ffe54d294d166b4db41d9db6b213f8f7d17606feb2e3 [INFO] running `Command { std: "docker" "start" "-a" "ca643b67033c56a75767ffe54d294d166b4db41d9db6b213f8f7d17606feb2e3", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `Clone` and `self` [INFO] [stderr] --> src/lib.rs:21:33 [INFO] [stderr] | [INFO] [stderr] 21 | pub use self::core::clone::{self, Clone}; [INFO] [stderr] | ^^^^ ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `From`, `Into`, and `self` [INFO] [stderr] --> src/lib.rs:22:35 [INFO] [stderr] | [INFO] [stderr] 22 | pub use self::core::convert::{self, From, Into}; [INFO] [stderr] | ^^^^ ^^^^ ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Default` and `self` [INFO] [stderr] --> src/lib.rs:23:35 [INFO] [stderr] | [INFO] [stderr] 23 | pub use self::core::default::{self, Default}; [INFO] [stderr] | ^^^^ ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Debug` and `Display` [INFO] [stderr] --> src/lib.rs:24:37 [INFO] [stderr] | [INFO] [stderr] 24 | pub use self::core::fmt::{self, Debug, Display}; [INFO] [stderr] | ^^^^^ ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Result` and `self` [INFO] [stderr] --> src/lib.rs:25:34 [INFO] [stderr] | [INFO] [stderr] 25 | pub use self::core::result::{self, Result}; [INFO] [stderr] | ^^^^ ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::error` [INFO] [stderr] --> src/lib.rs:44:13 [INFO] [stderr] | [INFO] [stderr] 44 | pub use std::error; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/el_packet.rs:88:45 [INFO] [stderr] | [INFO] [stderr] 88 | #[derive(Debug, PartialEq, Eq, Clone, Copy, FromPrimitive, Serialize_repr, Deserialize_repr)] [INFO] [stderr] | ^------------ [INFO] [stderr] | | [INFO] [stderr] | `FromPrimitive` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_ServiceCode` [INFO] [stderr] 89 | #[repr(u8)] [INFO] [stderr] 90 | pub enum ServiceCode { [INFO] [stderr] | ----------- `ServiceCode` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/el_packet.rs:166:17 [INFO] [stderr] | [INFO] [stderr] 166 | pub fn iter(&self) -> core::slice::Iter { [INFO] [stderr] | ^^^^^ --------------------------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 166 | pub fn iter(&self) -> core::slice::Iter<'_, Property> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/de/mod.rs:214:9 [INFO] [stderr] | [INFO] [stderr] 205 | / fn deserialize_enum( [INFO] [stderr] 206 | | self, [INFO] [stderr] 207 | | _enum: &'static str, [INFO] [stderr] 208 | | _variants: &'static [&'static str], [INFO] [stderr] ... | [INFO] [stderr] 211 | | where [INFO] [stderr] 212 | | V: serde::de::Visitor<'de>, [INFO] [stderr] | |___________________________________- move the `impl` block outside of this method `deserialize_enum` [INFO] [stderr] 213 | { [INFO] [stderr] 214 | impl<'de, 'a, R: 'a> serde::de::EnumAccess<'de> for &'a mut Deserializer [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^---------------------^^^^^^^^^^^^^^^^^^------------^^^ [INFO] [stderr] | | | [INFO] [stderr] | | `Deserializer` is not local [INFO] [stderr] | `EnumAccess` is not local [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: `echonet-lite` (lib) generated 9 warnings (run `cargo fix --lib -p echonet-lite` to apply 6 suggestions) [INFO] [stderr] warning: `echonet-lite` (lib test) generated 9 warnings (9 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/echonet_lite-8fdc8b3d1a3f4d79) [INFO] [stdout] [INFO] [stdout] running 13 tests [INFO] [stdout] test el_packet::test::deserialize ... ok [INFO] [stdout] test el_packet::test::deserialize_eoj ... ok [INFO] [stdout] test el_packet::test::deserialize_edt ... ok [INFO] [stdout] test el_packet::test::deserialize_esv ... ok [INFO] [stdout] test el_packet::test::deserialize_empty_edt ... ok [INFO] [stdout] test el_packet::test::deserialize_props ... ok [INFO] [stdout] test el_packet::test::deserialize_tid ... ok [INFO] [stdout] test el_packet::test::iter_properties ... ok [INFO] [stdout] test el_packet::test::serialize ... ok [INFO] [stdout] test object::test::to_echonet_object ... ok [INFO] [stdout] test object::test::serialize_el_class ... ok [INFO] [stdout] test object::test::to_elclass ... ok [INFO] [stdout] test object::test::deserialize_el_class ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stderr] Doc-tests echonet_lite [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/el_packet.rs - el_packet::ElPacketBuilder (line 298) ... ok [INFO] [stdout] test src/el_packet.rs - el_packet::bulk_read (line 426) ... ok [INFO] [stdout] test src/el_packet.rs - el_packet::prop (line 384) ... ok [INFO] [stdout] test src/el_packet.rs - el_packet::props (line 405) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.57s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ca643b67033c56a75767ffe54d294d166b4db41d9db6b213f8f7d17606feb2e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca643b67033c56a75767ffe54d294d166b4db41d9db6b213f8f7d17606feb2e3", kill_on_drop: false }` [INFO] [stdout] ca643b67033c56a75767ffe54d294d166b4db41d9db6b213f8f7d17606feb2e3