[INFO] fetching crate susy-codec 2.2.0... [INFO] checking susy-codec-2.2.0 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate susy-codec 2.2.0 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate susy-codec 2.2.0 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate susy-codec 2.2.0 [INFO] finished tweaking crates.io crate susy-codec 2.2.0 [INFO] tweaked toml for crates.io crate susy-codec 2.2.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 13 packages to latest compatible versions [INFO] [stderr] Adding arrayvec v0.4.12 (available: v0.7.6) [INFO] [stderr] Adding proc-macro2 v0.4.30 (available: v1.0.86) [INFO] [stderr] Adding quote v0.6.13 (available: v1.0.37) [INFO] [stderr] Adding susy-codec-derive v2.2.0 (available: v3.3.0) [INFO] [stderr] Adding syn v0.15.44 (available: v2.0.79) [INFO] [stderr] Adding unicode-xid v0.1.0 (available: v0.2.6) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 44736f6403481457840f8d7e3e99ddde5991e54d80e919facb3f06a1cbb86a1c [INFO] running `Command { std: "docker" "start" "-a" "44736f6403481457840f8d7e3e99ddde5991e54d80e919facb3f06a1cbb86a1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "44736f6403481457840f8d7e3e99ddde5991e54d80e919facb3f06a1cbb86a1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44736f6403481457840f8d7e3e99ddde5991e54d80e919facb3f06a1cbb86a1c", kill_on_drop: false }` [INFO] [stdout] 44736f6403481457840f8d7e3e99ddde5991e54d80e919facb3f06a1cbb86a1c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Dtail_expr_drop_order" "-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 31f289107b2a4d4fe3efe6a887617ab678d38e44745284ad5166528ad8d7a55c [INFO] running `Command { std: "docker" "start" "-a" "31f289107b2a4d4fe3efe6a887617ab678d38e44745284ad5166528ad8d7a55c", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking susy-codec v2.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/codec.rs:158:17 [INFO] [stdout] | [INFO] [stdout] 158 | fn decode_from(Self::As) -> Self; [INFO] [stdout] | ^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Self::As` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/codec.rs:278:5 [INFO] [stdout] | [INFO] [stdout] 278 | 0...0b00111111 => dest.push_byte(self.0 << 2), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/codec.rs:293:5 [INFO] [stdout] | [INFO] [stdout] 293 | 0...0b00111111 => dest.push_byte((*self.0 as u8) << 2), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/codec.rs:294:5 [INFO] [stdout] | [INFO] [stdout] 294 | 0...0b00111111_11111111 => ((*self.0 << 2) | 0b01).encode_to(dest), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/codec.rs:309:5 [INFO] [stdout] | [INFO] [stdout] 309 | 0...0b00111111 => dest.push_byte((*self.0 as u8) << 2), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/codec.rs:310:5 [INFO] [stdout] | [INFO] [stdout] 310 | 0...0b00111111_11111111 => (((*self.0 as u16) << 2) | 0b01).encode_to(dest), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/codec.rs:311:5 [INFO] [stdout] | [INFO] [stdout] 311 | 0...0b00111111_11111111_11111111_11111111 => ((*self.0 << 2) | 0b10).encode_to(dest), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/codec.rs:329:5 [INFO] [stdout] | [INFO] [stdout] 329 | 0...0b00111111 => dest.push_byte((*self.0 as u8) << 2), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/codec.rs:330:5 [INFO] [stdout] | [INFO] [stdout] 330 | 0...0b00111111_11111111 => (((*self.0 as u16) << 2) | 0b01).encode_to(dest), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/codec.rs:331:5 [INFO] [stdout] | [INFO] [stdout] 331 | 0...0b00111111_11111111_11111111_11111111 => (((*self.0 as u32) << 2) | 0b10).encode_to(dest), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/codec.rs:356:5 [INFO] [stdout] | [INFO] [stdout] 356 | 0...0b00111111 => dest.push_byte((*self.0 as u8) << 2), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/codec.rs:357:5 [INFO] [stdout] | [INFO] [stdout] 357 | 0...0b00111111_11111111 => (((*self.0 as u16) << 2) | 0b01).encode_to(dest), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/codec.rs:358:5 [INFO] [stdout] | [INFO] [stdout] 358 | 0...0b00111111_11111111_11111111_11111111 => (((*self.0 as u32) << 2) | 0b10).encode_to(dest), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/codec.rs:59:23 [INFO] [stdout] | [INFO] [stdout] 59 | match (self as &mut ::std::io::Read).read_exact(into) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 59 | match (self as &mut dyn (::std::io::Read)).read_exact(into) { [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/codec.rs:108:17 [INFO] [stdout] | [INFO] [stdout] 108 | (self as &mut ::std::io::Write).write_all(bytes).expect("Codec outputs are infallible"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 108 | (self as &mut dyn (::std::io::Write)).write_all(bytes).expect("Codec outputs are infallible"); [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `to_le`, `to_be`, `from_be`, and `as_be_then` are never used [INFO] [stdout] --> src/codec.rs:811:5 [INFO] [stdout] | [INFO] [stdout] 810 | trait EndianSensitive: Copy + 'static { [INFO] [stdout] | --------------- methods in this trait [INFO] [stdout] 811 | fn to_le(self) -> Self { self } [INFO] [stdout] | ^^^^^ [INFO] [stdout] 812 | fn to_be(self) -> Self { self } [INFO] [stdout] | ^^^^^ [INFO] [stdout] 813 | fn from_le(self) -> Self { self } [INFO] [stdout] 814 | fn from_be(self) -> Self { self } [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 815 | fn as_be_then T>(&self, f: F) -> T { f(&self) } [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling susy-codec-derive v2.2.0 [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/codec.rs:158:17 [INFO] [stdout] | [INFO] [stdout] 158 | fn decode_from(Self::As) -> Self; [INFO] [stdout] | ^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Self::As` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/codec.rs:278:5 [INFO] [stdout] | [INFO] [stdout] 278 | 0...0b00111111 => dest.push_byte(self.0 << 2), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/codec.rs:293:5 [INFO] [stdout] | [INFO] [stdout] 293 | 0...0b00111111 => dest.push_byte((*self.0 as u8) << 2), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/codec.rs:294:5 [INFO] [stdout] | [INFO] [stdout] 294 | 0...0b00111111_11111111 => ((*self.0 << 2) | 0b01).encode_to(dest), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/codec.rs:309:5 [INFO] [stdout] | [INFO] [stdout] 309 | 0...0b00111111 => dest.push_byte((*self.0 as u8) << 2), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/codec.rs:310:5 [INFO] [stdout] | [INFO] [stdout] 310 | 0...0b00111111_11111111 => (((*self.0 as u16) << 2) | 0b01).encode_to(dest), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/codec.rs:311:5 [INFO] [stdout] | [INFO] [stdout] 311 | 0...0b00111111_11111111_11111111_11111111 => ((*self.0 << 2) | 0b10).encode_to(dest), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/codec.rs:329:5 [INFO] [stdout] | [INFO] [stdout] 329 | 0...0b00111111 => dest.push_byte((*self.0 as u8) << 2), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/codec.rs:330:5 [INFO] [stdout] | [INFO] [stdout] 330 | 0...0b00111111_11111111 => (((*self.0 as u16) << 2) | 0b01).encode_to(dest), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/codec.rs:331:5 [INFO] [stdout] | [INFO] [stdout] 331 | 0...0b00111111_11111111_11111111_11111111 => (((*self.0 as u32) << 2) | 0b10).encode_to(dest), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/codec.rs:356:5 [INFO] [stdout] | [INFO] [stdout] 356 | 0...0b00111111 => dest.push_byte((*self.0 as u8) << 2), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/codec.rs:357:5 [INFO] [stdout] | [INFO] [stdout] 357 | 0...0b00111111_11111111 => (((*self.0 as u16) << 2) | 0b01).encode_to(dest), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/codec.rs:358:5 [INFO] [stdout] | [INFO] [stdout] 358 | 0...0b00111111_11111111_11111111_11111111 => (((*self.0 as u32) << 2) | 0b10).encode_to(dest), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/codec.rs:59:23 [INFO] [stdout] | [INFO] [stdout] 59 | match (self as &mut ::std::io::Read).read_exact(into) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 59 | match (self as &mut dyn (::std::io::Read)).read_exact(into) { [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/codec.rs:108:17 [INFO] [stdout] | [INFO] [stdout] 108 | (self as &mut ::std::io::Write).write_all(bytes).expect("Codec outputs are infallible"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 108 | (self as &mut dyn (::std::io::Write)).write_all(bytes).expect("Codec outputs are infallible"); [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] --> tests/mod.rs:22:28 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Encode` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ENCODE_FOR_Unit` [INFO] [stdout] 23 | struct Unit; [INFO] [stdout] | ---- `Unit` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Encode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Encode` may come from an old version of the `susy_codec_derive` crate, try updating your dependency with `cargo update -p susy_codec_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: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/mod.rs:22:36 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Decode` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DECODE_FOR_Unit` [INFO] [stdout] 23 | struct Unit; [INFO] [stdout] | ---- `Unit` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Decode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Decode` may come from an old version of the `susy_codec_derive` crate, try updating your dependency with `cargo update -p susy_codec_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: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/mod.rs:25:28 [INFO] [stdout] | [INFO] [stdout] 25 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Encode` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ENCODE_FOR_Indexed` [INFO] [stdout] 26 | struct Indexed(u32, u64); [INFO] [stdout] | ------- `Indexed` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Encode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Encode` may come from an old version of the `susy_codec_derive` crate, try updating your dependency with `cargo update -p susy_codec_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: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/mod.rs:25:36 [INFO] [stdout] | [INFO] [stdout] 25 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Decode` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DECODE_FOR_Indexed` [INFO] [stdout] 26 | struct Indexed(u32, u64); [INFO] [stdout] | ------- `Indexed` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Decode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Decode` may come from an old version of the `susy_codec_derive` crate, try updating your dependency with `cargo update -p susy_codec_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: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/mod.rs:28:28 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Encode` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ENCODE_FOR_Struct` [INFO] [stdout] 29 | struct Struct { [INFO] [stdout] | ------ `Struct` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Encode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Encode` may come from an old version of the `susy_codec_derive` crate, try updating your dependency with `cargo update -p susy_codec_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: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/mod.rs:28:36 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Decode` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DECODE_FOR_Struct` [INFO] [stdout] 29 | struct Struct { [INFO] [stdout] | ------ `Struct` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Decode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Decode` may come from an old version of the `susy_codec_derive` crate, try updating your dependency with `cargo update -p susy_codec_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: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/mod.rs:36:28 [INFO] [stdout] | [INFO] [stdout] 36 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Encode` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ENCODE_FOR_StructWithPhantom` [INFO] [stdout] 37 | struct StructWithPhantom { [INFO] [stdout] | ----------------- `StructWithPhantom` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Encode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Encode` may come from an old version of the `susy_codec_derive` crate, try updating your dependency with `cargo update -p susy_codec_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: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/mod.rs:36:36 [INFO] [stdout] | [INFO] [stdout] 36 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Decode` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DECODE_FOR_StructWithPhantom` [INFO] [stdout] 37 | struct StructWithPhantom { [INFO] [stdout] | ----------------- `StructWithPhantom` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Decode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Decode` may come from an old version of the `susy_codec_derive` crate, try updating your dependency with `cargo update -p susy_codec_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: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/mod.rs:51:28 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Encode` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ENCODE_FOR_EnumType` [INFO] [stdout] 52 | enum EnumType { [INFO] [stdout] | -------- `EnumType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Encode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Encode` may come from an old version of the `susy_codec_derive` crate, try updating your dependency with `cargo update -p susy_codec_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: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/mod.rs:51:36 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Decode` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DECODE_FOR_EnumType` [INFO] [stdout] 52 | enum EnumType { [INFO] [stdout] | -------- `EnumType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Decode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Decode` may come from an old version of the `susy_codec_derive` crate, try updating your dependency with `cargo update -p susy_codec_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: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/mod.rs:62:28 [INFO] [stdout] | [INFO] [stdout] 62 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Encode` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ENCODE_FOR_EnumWithDiscriminant` [INFO] [stdout] 63 | enum EnumWithDiscriminant { [INFO] [stdout] | -------------------- `EnumWithDiscriminant` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Encode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Encode` may come from an old version of the `susy_codec_derive` crate, try updating your dependency with `cargo update -p susy_codec_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: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/mod.rs:62:36 [INFO] [stdout] | [INFO] [stdout] 62 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Decode` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DECODE_FOR_EnumWithDiscriminant` [INFO] [stdout] 63 | enum EnumWithDiscriminant { [INFO] [stdout] | -------------------- `EnumWithDiscriminant` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Decode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Decode` may come from an old version of the `susy_codec_derive` crate, try updating your dependency with `cargo update -p susy_codec_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: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/mod.rs:69:28 [INFO] [stdout] | [INFO] [stdout] 69 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Encode` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ENCODE_FOR_TestHasCompact` [INFO] [stdout] 70 | struct TestHasCompact { [INFO] [stdout] | -------------- `TestHasCompact` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Encode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Encode` may come from an old version of the `susy_codec_derive` crate, try updating your dependency with `cargo update -p susy_codec_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: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/mod.rs:69:36 [INFO] [stdout] | [INFO] [stdout] 69 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Decode` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DECODE_FOR_TestHasCompact` [INFO] [stdout] 70 | struct TestHasCompact { [INFO] [stdout] | -------------- `TestHasCompact` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Decode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Decode` may come from an old version of the `susy_codec_derive` crate, try updating your dependency with `cargo update -p susy_codec_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: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/mod.rs:75:28 [INFO] [stdout] | [INFO] [stdout] 75 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Encode` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ENCODE_FOR_TestHasCompactEnum` [INFO] [stdout] 76 | enum TestHasCompactEnum { [INFO] [stdout] | ------------------ `TestHasCompactEnum` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Encode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Encode` may come from an old version of the `susy_codec_derive` crate, try updating your dependency with `cargo update -p susy_codec_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: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/mod.rs:75:36 [INFO] [stdout] | [INFO] [stdout] 75 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Decode` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DECODE_FOR_TestHasCompactEnum` [INFO] [stdout] 76 | enum TestHasCompactEnum { [INFO] [stdout] | ------------------ `TestHasCompactEnum` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Decode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Decode` may come from an old version of the `susy_codec_derive` crate, try updating your dependency with `cargo update -p susy_codec_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: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/mod.rs:84:28 [INFO] [stdout] | [INFO] [stdout] 84 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Encode` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ENCODE_FOR_TestCompactAttribute` [INFO] [stdout] 85 | struct TestCompactAttribute { [INFO] [stdout] | -------------------- `TestCompactAttribute` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Encode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Encode` may come from an old version of the `susy_codec_derive` crate, try updating your dependency with `cargo update -p susy_codec_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: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/mod.rs:84:36 [INFO] [stdout] | [INFO] [stdout] 84 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Decode` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DECODE_FOR_TestCompactAttribute` [INFO] [stdout] 85 | struct TestCompactAttribute { [INFO] [stdout] | -------------------- `TestCompactAttribute` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Decode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Decode` may come from an old version of the `susy_codec_derive` crate, try updating your dependency with `cargo update -p susy_codec_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: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/mod.rs:90:28 [INFO] [stdout] | [INFO] [stdout] 90 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Encode` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ENCODE_FOR_TestCompactAttributeEnum` [INFO] [stdout] 91 | enum TestCompactAttributeEnum { [INFO] [stdout] | ------------------------ `TestCompactAttributeEnum` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Encode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Encode` may come from an old version of the `susy_codec_derive` crate, try updating your dependency with `cargo update -p susy_codec_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: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/mod.rs:90:36 [INFO] [stdout] | [INFO] [stdout] 90 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Decode` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DECODE_FOR_TestCompactAttributeEnum` [INFO] [stdout] 91 | enum TestCompactAttributeEnum { [INFO] [stdout] | ------------------------ `TestCompactAttributeEnum` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Decode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Decode` may come from an old version of the `susy_codec_derive` crate, try updating your dependency with `cargo update -p susy_codec_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: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `to_le`, `to_be`, `from_be`, and `as_be_then` are never used [INFO] [stdout] --> src/codec.rs:811:5 [INFO] [stdout] | [INFO] [stdout] 810 | trait EndianSensitive: Copy + 'static { [INFO] [stdout] | --------------- methods in this trait [INFO] [stdout] 811 | fn to_le(self) -> Self { self } [INFO] [stdout] | ^^^^^ [INFO] [stdout] 812 | fn to_be(self) -> Self { self } [INFO] [stdout] | ^^^^^ [INFO] [stdout] 813 | fn from_le(self) -> Self { self } [INFO] [stdout] 814 | fn from_be(self) -> Self { self } [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 815 | fn as_be_then T>(&self, f: F) -> T { f(&self) } [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.13s [INFO] running `Command { std: "docker" "inspect" "31f289107b2a4d4fe3efe6a887617ab678d38e44745284ad5166528ad8d7a55c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31f289107b2a4d4fe3efe6a887617ab678d38e44745284ad5166528ad8d7a55c", kill_on_drop: false }` [INFO] [stdout] 31f289107b2a4d4fe3efe6a887617ab678d38e44745284ad5166528ad8d7a55c