[INFO] fetching crate susy-codec 2.2.0... [INFO] building susy-codec-2.2.0 against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] extracting crate susy-codec 2.2.0 into /workspace/builds/worker-7-tc2/source [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-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate susy-codec 2.2.0 on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 14 packages to latest compatible versions [INFO] [stderr] Adding arrayvec v0.4.12 (available: v0.7.6) [INFO] [stderr] Adding susy-codec-derive v2.2.0 (available: v3.3.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ccd1d1c887d2fa32d2e1ce0fd3621d759046ccbc9799ac89f92f5bf2bcf9f9f9 [INFO] running `Command { std: "docker" "start" "-a" "ccd1d1c887d2fa32d2e1ce0fd3621d759046ccbc9799ac89f92f5bf2bcf9f9f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ccd1d1c887d2fa32d2e1ce0fd3621d759046ccbc9799ac89f92f5bf2bcf9f9f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ccd1d1c887d2fa32d2e1ce0fd3621d759046ccbc9799ac89f92f5bf2bcf9f9f9", kill_on_drop: false }` [INFO] [stdout] ccd1d1c887d2fa32d2e1ce0fd3621d759046ccbc9799ac89f92f5bf2bcf9f9f9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 930254c8632af5be3cea502ccb07ff1f4745b6454509403deee7f20526beef7f [INFO] running `Command { std: "docker" "start" "-a" "930254c8632af5be3cea502ccb07ff1f4745b6454509403deee7f20526beef7f", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling 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)]` (part of `#[warn(rust_2018_compatibility)]`) 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)]` (part of `#[warn(rust_2021_compatibility)]`) 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)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible 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 a dyn-compatible 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: struct `OptionBool` is never constructed [INFO] [stdout] --> src/codec.rs:513:12 [INFO] [stdout] | [INFO] [stdout] 513 | pub struct OptionBool(pub Option); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [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] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.47s [INFO] running `Command { std: "docker" "inspect" "930254c8632af5be3cea502ccb07ff1f4745b6454509403deee7f20526beef7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "930254c8632af5be3cea502ccb07ff1f4745b6454509403deee7f20526beef7f", kill_on_drop: false }` [INFO] [stdout] 930254c8632af5be3cea502ccb07ff1f4745b6454509403deee7f20526beef7f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8eb2c20f7d7129b91f663fb12cda010a8652eb60c45eb586bf801e748fbd2727 [INFO] running `Command { std: "docker" "start" "-a" "8eb2c20f7d7129b91f663fb12cda010a8652eb60c45eb586bf801e748fbd2727", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.44 [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)]` (part of `#[warn(rust_2018_compatibility)]`) 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)]` (part of `#[warn(rust_2021_compatibility)]`) 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)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible 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 a dyn-compatible 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: struct `OptionBool` is never constructed [INFO] [stdout] --> src/codec.rs:513:12 [INFO] [stdout] | [INFO] [stdout] 513 | pub struct OptionBool(pub Option); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [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] [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling susy-codec-derive v2.2.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling susy-codec v2.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> tests/mod.rs:22:28 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `derive`, `full`, `serde`, `std`, and `susy-codec-derive` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Encode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: 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: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` 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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> tests/mod.rs:22:36 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `derive`, `full`, `serde`, `std`, and `susy-codec-derive` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Decode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: 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: see for more information about checking conditional configuration [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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> tests/mod.rs:25:28 [INFO] [stdout] | [INFO] [stdout] 25 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `derive`, `full`, `serde`, `std`, and `susy-codec-derive` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Encode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: 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: see for more information about checking conditional configuration [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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> tests/mod.rs:25:36 [INFO] [stdout] | [INFO] [stdout] 25 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `derive`, `full`, `serde`, `std`, and `susy-codec-derive` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Decode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: 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: see for more information about checking conditional configuration [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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> tests/mod.rs:28:28 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `derive`, `full`, `serde`, `std`, and `susy-codec-derive` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Encode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: 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: see for more information about checking conditional configuration [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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> tests/mod.rs:28:36 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `derive`, `full`, `serde`, `std`, and `susy-codec-derive` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Decode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: 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: see for more information about checking conditional configuration [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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> tests/mod.rs:36:28 [INFO] [stdout] | [INFO] [stdout] 36 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `derive`, `full`, `serde`, `std`, and `susy-codec-derive` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Encode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: 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: see for more information about checking conditional configuration [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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> tests/mod.rs:36:36 [INFO] [stdout] | [INFO] [stdout] 36 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `derive`, `full`, `serde`, `std`, and `susy-codec-derive` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Decode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: 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: see for more information about checking conditional configuration [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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> tests/mod.rs:51:28 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `derive`, `full`, `serde`, `std`, and `susy-codec-derive` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Encode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: 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: see for more information about checking conditional configuration [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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> tests/mod.rs:51:36 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `derive`, `full`, `serde`, `std`, and `susy-codec-derive` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Decode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: 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: see for more information about checking conditional configuration [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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> tests/mod.rs:62:28 [INFO] [stdout] | [INFO] [stdout] 62 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `derive`, `full`, `serde`, `std`, and `susy-codec-derive` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Encode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: 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: see for more information about checking conditional configuration [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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> tests/mod.rs:62:36 [INFO] [stdout] | [INFO] [stdout] 62 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `derive`, `full`, `serde`, `std`, and `susy-codec-derive` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Decode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: 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: see for more information about checking conditional configuration [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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> tests/mod.rs:69:28 [INFO] [stdout] | [INFO] [stdout] 69 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `derive`, `full`, `serde`, `std`, and `susy-codec-derive` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Encode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: 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: see for more information about checking conditional configuration [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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> tests/mod.rs:69:36 [INFO] [stdout] | [INFO] [stdout] 69 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `derive`, `full`, `serde`, `std`, and `susy-codec-derive` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Decode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: 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: see for more information about checking conditional configuration [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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> tests/mod.rs:75:28 [INFO] [stdout] | [INFO] [stdout] 75 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `derive`, `full`, `serde`, `std`, and `susy-codec-derive` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Encode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: 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: see for more information about checking conditional configuration [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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> tests/mod.rs:75:36 [INFO] [stdout] | [INFO] [stdout] 75 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `derive`, `full`, `serde`, `std`, and `susy-codec-derive` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Decode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: 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: see for more information about checking conditional configuration [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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> tests/mod.rs:84:28 [INFO] [stdout] | [INFO] [stdout] 84 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `derive`, `full`, `serde`, `std`, and `susy-codec-derive` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Encode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: 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: see for more information about checking conditional configuration [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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> tests/mod.rs:84:36 [INFO] [stdout] | [INFO] [stdout] 84 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `derive`, `full`, `serde`, `std`, and `susy-codec-derive` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Decode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: 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: see for more information about checking conditional configuration [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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> tests/mod.rs:90:28 [INFO] [stdout] | [INFO] [stdout] 90 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `derive`, `full`, `serde`, `std`, and `susy-codec-derive` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Encode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: 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: see for more information about checking conditional configuration [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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> tests/mod.rs:90:36 [INFO] [stdout] | [INFO] [stdout] 90 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `derive`, `full`, `serde`, `std`, and `susy-codec-derive` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Decode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: 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: see for more information about checking conditional configuration [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: 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)]` (part of `#[warn(rust_2018_compatibility)]`) 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)]` (part of `#[warn(rust_2021_compatibility)]`) 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: struct `StructWithPhantom` is never constructed [INFO] [stdout] --> tests/mod.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | struct StructWithPhantom { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [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: `#[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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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: 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)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible 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 a dyn-compatible 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 10.62s [INFO] running `Command { std: "docker" "inspect" "8eb2c20f7d7129b91f663fb12cda010a8652eb60c45eb586bf801e748fbd2727", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8eb2c20f7d7129b91f663fb12cda010a8652eb60c45eb586bf801e748fbd2727", kill_on_drop: false }` [INFO] [stdout] 8eb2c20f7d7129b91f663fb12cda010a8652eb60c45eb586bf801e748fbd2727