[INFO] fetching crate tetsy-codec 3.0.0... [INFO] testing tetsy-codec-3.0.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate tetsy-codec 3.0.0 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate tetsy-codec 3.0.0 [INFO] finished tweaking crates.io crate tetsy-codec 3.0.0 [INFO] tweaked toml for crates.io crate tetsy-codec 3.0.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate tetsy-codec 3.0.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 13 packages to latest compatible versions [INFO] [stderr] Adding arrayvec v0.4.12 (available: v0.7.6) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 22c8b1ea7772232a91ece8760bda1af6d5589490c31a88e9f6c106aeba2c4e27 [INFO] running `Command { std: "docker" "start" "-a" "22c8b1ea7772232a91ece8760bda1af6d5589490c31a88e9f6c106aeba2c4e27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "22c8b1ea7772232a91ece8760bda1af6d5589490c31a88e9f6c106aeba2c4e27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22c8b1ea7772232a91ece8760bda1af6d5589490c31a88e9f6c106aeba2c4e27", kill_on_drop: false }` [INFO] [stdout] 22c8b1ea7772232a91ece8760bda1af6d5589490c31a88e9f6c106aeba2c4e27 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 934342caec3e701387d4e6ea7b377dd871d22abf4f82042fe3dc1b76c7299a08 [INFO] running `Command { std: "docker" "start" "-a" "934342caec3e701387d4e6ea7b377dd871d22abf4f82042fe3dc1b76c7299a08", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling tetsy-codec v3.0.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 0.56s [INFO] running `Command { std: "docker" "inspect" "934342caec3e701387d4e6ea7b377dd871d22abf4f82042fe3dc1b76c7299a08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "934342caec3e701387d4e6ea7b377dd871d22abf4f82042fe3dc1b76c7299a08", kill_on_drop: false }` [INFO] [stdout] 934342caec3e701387d4e6ea7b377dd871d22abf4f82042fe3dc1b76c7299a08 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a82bd584112c6b95c45fe4f9b5a8bc96730e246bf19f7d8d9de3bb3ef7eb4a8a [INFO] running `Command { std: "docker" "start" "-a" "a82bd584112c6b95c45fe4f9b5a8bc96730e246bf19f7d8d9de3bb3ef7eb4a8a", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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] [stderr] Compiling tetsy-codec-derive v3.0.0 [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 tetsy-codec v3.0.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: 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 `tetsy-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 `tetsy_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_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 `tetsy-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 `tetsy_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_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 `tetsy-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 `tetsy_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_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 `tetsy-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 `tetsy_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_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 `tetsy-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 `tetsy_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_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 `tetsy-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 `tetsy_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_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 `tetsy-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 `tetsy_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_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 `tetsy-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 `tetsy_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_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 `tetsy-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 `tetsy_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_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 `tetsy-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 `tetsy_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_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 `tetsy-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 `tetsy_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_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 `tetsy-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 `tetsy_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_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 `tetsy-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 `tetsy_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_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 `tetsy-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 `tetsy_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_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 `tetsy-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 `tetsy_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_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 `tetsy-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 `tetsy_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_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:81:28 [INFO] [stdout] | [INFO] [stdout] 81 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `derive`, `full`, `serde`, `std`, and `tetsy-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 `tetsy_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_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:81:36 [INFO] [stdout] | [INFO] [stdout] 81 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `derive`, `full`, `serde`, `std`, and `tetsy-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 `tetsy_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_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:95:28 [INFO] [stdout] | [INFO] [stdout] 95 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `derive`, `full`, `serde`, `std`, and `tetsy-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 `tetsy_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_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:95:36 [INFO] [stdout] | [INFO] [stdout] 95 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `derive`, `full`, `serde`, `std`, and `tetsy-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 `tetsy_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_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:101:28 [INFO] [stdout] | [INFO] [stdout] 101 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `derive`, `full`, `serde`, `std`, and `tetsy-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 `tetsy_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_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:101:36 [INFO] [stdout] | [INFO] [stdout] 101 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `derive`, `full`, `serde`, `std`, and `tetsy-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 `tetsy_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_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: 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 `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 `tetsy_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_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 `tetsy_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_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 `tetsy_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_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 `tetsy_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_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 `tetsy_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_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 `tetsy_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_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 `tetsy_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_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 `tetsy_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_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 `tetsy_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_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 `tetsy_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_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 `tetsy_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_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 `tetsy_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_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 `tetsy_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_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 `tetsy_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_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_TestCompactHasCompact` [INFO] [stdout] 76 | struct TestCompactHasCompact { [INFO] [stdout] | --------------------- `TestCompactHasCompact` 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 `tetsy_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_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_TestCompactHasCompact` [INFO] [stdout] 76 | struct TestCompactHasCompact { [INFO] [stdout] | --------------------- `TestCompactHasCompact` 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 `tetsy_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_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:81:28 [INFO] [stdout] | [INFO] [stdout] 81 | #[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] 82 | 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 `tetsy_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_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:81:36 [INFO] [stdout] | [INFO] [stdout] 81 | #[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] 82 | 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 `tetsy_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_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:95:28 [INFO] [stdout] | [INFO] [stdout] 95 | #[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] 96 | 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 `tetsy_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_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:95:36 [INFO] [stdout] | [INFO] [stdout] 95 | #[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] 96 | 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 `tetsy_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_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:101:28 [INFO] [stdout] | [INFO] [stdout] 101 | #[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] 102 | 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 `tetsy_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_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:101:36 [INFO] [stdout] | [INFO] [stdout] 101 | #[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] 102 | 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 `tetsy_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_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: 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 1.68s [INFO] running `Command { std: "docker" "inspect" "a82bd584112c6b95c45fe4f9b5a8bc96730e246bf19f7d8d9de3bb3ef7eb4a8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a82bd584112c6b95c45fe4f9b5a8bc96730e246bf19f7d8d9de3bb3ef7eb4a8a", kill_on_drop: false }` [INFO] [stdout] a82bd584112c6b95c45fe4f9b5a8bc96730e246bf19f7d8d9de3bb3ef7eb4a8a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] bbd577d61b33d50c137db41068ae91d3cce673f8baa2cba3f7a04b2454b90399 [INFO] running `Command { std: "docker" "start" "-a" "bbd577d61b33d50c137db41068ae91d3cce673f8baa2cba3f7a04b2454b90399", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/codec.rs:158:17 [INFO] [stderr] | [INFO] [stderr] 158 | fn decode_from(Self::As) -> Self; [INFO] [stderr] | ^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Self::As` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] = note: `#[warn(anonymous_parameters)]` (part of `#[warn(rust_2018_compatibility)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/codec.rs:278:5 [INFO] [stderr] | [INFO] [stderr] 278 | 0...0b00111111 => dest.push_byte(self.0 << 2), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(ellipsis_inclusive_range_patterns)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/codec.rs:293:5 [INFO] [stderr] | [INFO] [stderr] 293 | 0...0b00111111 => dest.push_byte((*self.0 as u8) << 2), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/codec.rs:294:5 [INFO] [stderr] | [INFO] [stderr] 294 | 0...0b00111111_11111111 => ((*self.0 << 2) | 0b01).encode_to(dest), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/codec.rs:309:5 [INFO] [stderr] | [INFO] [stderr] 309 | 0...0b00111111 => dest.push_byte((*self.0 as u8) << 2), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/codec.rs:310:5 [INFO] [stderr] | [INFO] [stderr] 310 | 0...0b00111111_11111111 => (((*self.0 as u16) << 2) | 0b01).encode_to(dest), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/codec.rs:311:5 [INFO] [stderr] | [INFO] [stderr] 311 | 0...0b00111111_11111111_11111111_11111111 => ((*self.0 << 2) | 0b10).encode_to(dest), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/codec.rs:329:5 [INFO] [stderr] | [INFO] [stderr] 329 | 0...0b00111111 => dest.push_byte((*self.0 as u8) << 2), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/codec.rs:330:5 [INFO] [stderr] | [INFO] [stderr] 330 | 0...0b00111111_11111111 => (((*self.0 as u16) << 2) | 0b01).encode_to(dest), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/codec.rs:331:5 [INFO] [stderr] | [INFO] [stderr] 331 | 0...0b00111111_11111111_11111111_11111111 => (((*self.0 as u32) << 2) | 0b10).encode_to(dest), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/codec.rs:356:5 [INFO] [stderr] | [INFO] [stderr] 356 | 0...0b00111111 => dest.push_byte((*self.0 as u8) << 2), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/codec.rs:357:5 [INFO] [stderr] | [INFO] [stderr] 357 | 0...0b00111111_11111111 => (((*self.0 as u16) << 2) | 0b01).encode_to(dest), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/codec.rs:358:5 [INFO] [stderr] | [INFO] [stderr] 358 | 0...0b00111111_11111111_11111111_11111111 => (((*self.0 as u32) << 2) | 0b10).encode_to(dest), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/codec.rs:59:23 [INFO] [stderr] | [INFO] [stderr] 59 | match (self as &mut ::std::io::Read).read_exact(into) { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 59 | match (self as &mut dyn (::std::io::Read)).read_exact(into) { [INFO] [stderr] | +++++ + [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/codec.rs:108:17 [INFO] [stderr] | [INFO] [stderr] 108 | (self as &mut ::std::io::Write).write_all(bytes).expect("Codec outputs are infallible"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 108 | (self as &mut dyn (::std::io::Write)).write_all(bytes).expect("Codec outputs are infallible"); [INFO] [stderr] | +++++ + [INFO] [stderr] [INFO] [stderr] warning: struct `OptionBool` is never constructed [INFO] [stderr] --> src/codec.rs:513:12 [INFO] [stderr] | [INFO] [stderr] 513 | pub struct OptionBool(pub Option); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: methods `to_le`, `to_be`, `from_be`, and `as_be_then` are never used [INFO] [stderr] --> src/codec.rs:811:5 [INFO] [stderr] | [INFO] [stderr] 810 | trait EndianSensitive: Copy + 'static { [INFO] [stderr] | --------------- methods in this trait [INFO] [stderr] 811 | fn to_le(self) -> Self { self } [INFO] [stderr] | ^^^^^ [INFO] [stderr] 812 | fn to_be(self) -> Self { self } [INFO] [stderr] | ^^^^^ [INFO] [stderr] 813 | fn from_le(self) -> Self { self } [INFO] [stderr] 814 | fn from_be(self) -> Self { self } [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 815 | fn as_be_then T>(&self, f: F) -> T { f(&self) } [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `tetsy-codec` (lib) generated 17 warnings (run `cargo fix --lib -p tetsy-codec` to apply 15 suggestions) [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> tests/mod.rs:22:28 [INFO] [stderr] | [INFO] [stderr] 22 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `default`, `derive`, `full`, `serde`, `std`, and `tetsy-codec-derive` [INFO] [stderr] = 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] [stderr] = help: try referring to `Encode` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Encode` may come from an old version of the `tetsy_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_codec_derive` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> tests/mod.rs:22:36 [INFO] [stderr] | [INFO] [stderr] 22 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `default`, `derive`, `full`, `serde`, `std`, and `tetsy-codec-derive` [INFO] [stderr] = 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] [stderr] = help: try referring to `Decode` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Decode` may come from an old version of the `tetsy_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_codec_derive` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> tests/mod.rs:25:28 [INFO] [stderr] | [INFO] [stderr] 25 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `default`, `derive`, `full`, `serde`, `std`, and `tetsy-codec-derive` [INFO] [stderr] = 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] [stderr] = help: try referring to `Encode` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Encode` may come from an old version of the `tetsy_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_codec_derive` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> tests/mod.rs:25:36 [INFO] [stderr] | [INFO] [stderr] 25 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `default`, `derive`, `full`, `serde`, `std`, and `tetsy-codec-derive` [INFO] [stderr] = 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] [stderr] = help: try referring to `Decode` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Decode` may come from an old version of the `tetsy_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_codec_derive` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> tests/mod.rs:28:28 [INFO] [stderr] | [INFO] [stderr] 28 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `default`, `derive`, `full`, `serde`, `std`, and `tetsy-codec-derive` [INFO] [stderr] = 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] [stderr] = help: try referring to `Encode` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Encode` may come from an old version of the `tetsy_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_codec_derive` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> tests/mod.rs:28:36 [INFO] [stderr] | [INFO] [stderr] 28 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `default`, `derive`, `full`, `serde`, `std`, and `tetsy-codec-derive` [INFO] [stderr] = 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] [stderr] = help: try referring to `Decode` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Decode` may come from an old version of the `tetsy_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_codec_derive` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> tests/mod.rs:36:28 [INFO] [stderr] | [INFO] [stderr] 36 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `default`, `derive`, `full`, `serde`, `std`, and `tetsy-codec-derive` [INFO] [stderr] = 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] [stderr] = help: try referring to `Encode` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Encode` may come from an old version of the `tetsy_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_codec_derive` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> tests/mod.rs:36:36 [INFO] [stderr] | [INFO] [stderr] 36 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `default`, `derive`, `full`, `serde`, `std`, and `tetsy-codec-derive` [INFO] [stderr] = 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] [stderr] = help: try referring to `Decode` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Decode` may come from an old version of the `tetsy_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_codec_derive` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> tests/mod.rs:51:28 [INFO] [stderr] | [INFO] [stderr] 51 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `default`, `derive`, `full`, `serde`, `std`, and `tetsy-codec-derive` [INFO] [stderr] = 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] [stderr] = help: try referring to `Encode` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Encode` may come from an old version of the `tetsy_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_codec_derive` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> tests/mod.rs:51:36 [INFO] [stderr] | [INFO] [stderr] 51 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `default`, `derive`, `full`, `serde`, `std`, and `tetsy-codec-derive` [INFO] [stderr] = 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] [stderr] = help: try referring to `Decode` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Decode` may come from an old version of the `tetsy_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_codec_derive` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> tests/mod.rs:62:28 [INFO] [stderr] | [INFO] [stderr] 62 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `default`, `derive`, `full`, `serde`, `std`, and `tetsy-codec-derive` [INFO] [stderr] = 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] [stderr] = help: try referring to `Encode` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Encode` may come from an old version of the `tetsy_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_codec_derive` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> tests/mod.rs:62:36 [INFO] [stderr] | [INFO] [stderr] 62 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `default`, `derive`, `full`, `serde`, `std`, and `tetsy-codec-derive` [INFO] [stderr] = 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] [stderr] = help: try referring to `Decode` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Decode` may come from an old version of the `tetsy_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_codec_derive` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> tests/mod.rs:69:28 [INFO] [stderr] | [INFO] [stderr] 69 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `default`, `derive`, `full`, `serde`, `std`, and `tetsy-codec-derive` [INFO] [stderr] = 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] [stderr] = help: try referring to `Encode` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Encode` may come from an old version of the `tetsy_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_codec_derive` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> tests/mod.rs:69:36 [INFO] [stderr] | [INFO] [stderr] 69 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `default`, `derive`, `full`, `serde`, `std`, and `tetsy-codec-derive` [INFO] [stderr] = 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] [stderr] = help: try referring to `Decode` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Decode` may come from an old version of the `tetsy_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_codec_derive` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> tests/mod.rs:75:28 [INFO] [stderr] | [INFO] [stderr] 75 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `default`, `derive`, `full`, `serde`, `std`, and `tetsy-codec-derive` [INFO] [stderr] = 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] [stderr] = help: try referring to `Encode` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Encode` may come from an old version of the `tetsy_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_codec_derive` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> tests/mod.rs:75:36 [INFO] [stderr] | [INFO] [stderr] 75 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `default`, `derive`, `full`, `serde`, `std`, and `tetsy-codec-derive` [INFO] [stderr] = 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] [stderr] = help: try referring to `Decode` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Decode` may come from an old version of the `tetsy_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_codec_derive` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> tests/mod.rs:81:28 [INFO] [stderr] | [INFO] [stderr] 81 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `default`, `derive`, `full`, `serde`, `std`, and `tetsy-codec-derive` [INFO] [stderr] = 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] [stderr] = help: try referring to `Encode` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Encode` may come from an old version of the `tetsy_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_codec_derive` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> tests/mod.rs:81:36 [INFO] [stderr] | [INFO] [stderr] 81 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `default`, `derive`, `full`, `serde`, `std`, and `tetsy-codec-derive` [INFO] [stderr] = 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] [stderr] = help: try referring to `Decode` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Decode` may come from an old version of the `tetsy_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_codec_derive` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> tests/mod.rs:95:28 [INFO] [stderr] | [INFO] [stderr] 95 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `default`, `derive`, `full`, `serde`, `std`, and `tetsy-codec-derive` [INFO] [stderr] = 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] [stderr] = help: try referring to `Encode` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Encode` may come from an old version of the `tetsy_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_codec_derive` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> tests/mod.rs:95:36 [INFO] [stderr] | [INFO] [stderr] 95 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `default`, `derive`, `full`, `serde`, `std`, and `tetsy-codec-derive` [INFO] [stderr] = 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] [stderr] = help: try referring to `Decode` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Decode` may come from an old version of the `tetsy_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_codec_derive` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> tests/mod.rs:101:28 [INFO] [stderr] | [INFO] [stderr] 101 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `default`, `derive`, `full`, `serde`, `std`, and `tetsy-codec-derive` [INFO] [stderr] = 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] [stderr] = help: try referring to `Encode` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Encode` may come from an old version of the `tetsy_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_codec_derive` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> tests/mod.rs:101:36 [INFO] [stderr] | [INFO] [stderr] 101 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `default`, `derive`, `full`, `serde`, `std`, and `tetsy-codec-derive` [INFO] [stderr] = 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] [stderr] = help: try referring to `Decode` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Decode` may come from an old version of the `tetsy_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_codec_derive` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: struct `StructWithPhantom` is never constructed [INFO] [stderr] --> tests/mod.rs:37:8 [INFO] [stderr] | [INFO] [stderr] 37 | struct StructWithPhantom { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/mod.rs:22:28 [INFO] [stderr] | [INFO] [stderr] 22 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stderr] | ^----- [INFO] [stderr] | | [INFO] [stderr] | `Encode` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_ENCODE_FOR_Unit` [INFO] [stderr] 23 | struct Unit; [INFO] [stderr] | ---- `Unit` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Encode` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Encode` may come from an old version of the `tetsy_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_codec_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/mod.rs:22:36 [INFO] [stderr] | [INFO] [stderr] 22 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stderr] | ^----- [INFO] [stderr] | | [INFO] [stderr] | `Decode` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_DECODE_FOR_Unit` [INFO] [stderr] 23 | struct Unit; [INFO] [stderr] | ---- `Unit` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Decode` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Decode` may come from an old version of the `tetsy_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_codec_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/mod.rs:25:28 [INFO] [stderr] | [INFO] [stderr] 25 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stderr] | ^----- [INFO] [stderr] | | [INFO] [stderr] | `Encode` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_ENCODE_FOR_Indexed` [INFO] [stderr] 26 | struct Indexed(u32, u64); [INFO] [stderr] | ------- `Indexed` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Encode` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Encode` may come from an old version of the `tetsy_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_codec_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/mod.rs:25:36 [INFO] [stderr] | [INFO] [stderr] 25 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stderr] | ^----- [INFO] [stderr] | | [INFO] [stderr] | `Decode` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_DECODE_FOR_Indexed` [INFO] [stderr] 26 | struct Indexed(u32, u64); [INFO] [stderr] | ------- `Indexed` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Decode` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Decode` may come from an old version of the `tetsy_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_codec_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/mod.rs:28:28 [INFO] [stderr] | [INFO] [stderr] 28 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stderr] | ^----- [INFO] [stderr] | | [INFO] [stderr] | `Encode` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_ENCODE_FOR_Struct` [INFO] [stderr] 29 | struct Struct { [INFO] [stderr] | ------ `Struct` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Encode` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Encode` may come from an old version of the `tetsy_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_codec_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/mod.rs:28:36 [INFO] [stderr] | [INFO] [stderr] 28 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stderr] | ^----- [INFO] [stderr] | | [INFO] [stderr] | `Decode` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_DECODE_FOR_Struct` [INFO] [stderr] 29 | struct Struct { [INFO] [stderr] | ------ `Struct` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Decode` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Decode` may come from an old version of the `tetsy_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_codec_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/mod.rs:36:28 [INFO] [stderr] | [INFO] [stderr] 36 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stderr] | ^----- [INFO] [stderr] | | [INFO] [stderr] | `Encode` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_ENCODE_FOR_StructWithPhantom` [INFO] [stderr] 37 | struct StructWithPhantom { [INFO] [stderr] | ----------------- `StructWithPhantom` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Encode` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Encode` may come from an old version of the `tetsy_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_codec_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/mod.rs:36:36 [INFO] [stderr] | [INFO] [stderr] 36 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stderr] | ^----- [INFO] [stderr] | | [INFO] [stderr] | `Decode` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_DECODE_FOR_StructWithPhantom` [INFO] [stderr] 37 | struct StructWithPhantom { [INFO] [stderr] | ----------------- `StructWithPhantom` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Decode` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Decode` may come from an old version of the `tetsy_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_codec_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/mod.rs:51:28 [INFO] [stderr] | [INFO] [stderr] 51 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stderr] | ^----- [INFO] [stderr] | | [INFO] [stderr] | `Encode` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_ENCODE_FOR_EnumType` [INFO] [stderr] 52 | enum EnumType { [INFO] [stderr] | -------- `EnumType` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Encode` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Encode` may come from an old version of the `tetsy_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_codec_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/mod.rs:51:36 [INFO] [stderr] | [INFO] [stderr] 51 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stderr] | ^----- [INFO] [stderr] | | [INFO] [stderr] | `Decode` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_DECODE_FOR_EnumType` [INFO] [stderr] 52 | enum EnumType { [INFO] [stderr] | -------- `EnumType` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Decode` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Decode` may come from an old version of the `tetsy_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_codec_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/mod.rs:62:28 [INFO] [stderr] | [INFO] [stderr] 62 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stderr] | ^----- [INFO] [stderr] | | [INFO] [stderr] | `Encode` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_ENCODE_FOR_EnumWithDiscriminant` [INFO] [stderr] 63 | enum EnumWithDiscriminant { [INFO] [stderr] | -------------------- `EnumWithDiscriminant` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Encode` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Encode` may come from an old version of the `tetsy_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_codec_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/mod.rs:62:36 [INFO] [stderr] | [INFO] [stderr] 62 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stderr] | ^----- [INFO] [stderr] | | [INFO] [stderr] | `Decode` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_DECODE_FOR_EnumWithDiscriminant` [INFO] [stderr] 63 | enum EnumWithDiscriminant { [INFO] [stderr] | -------------------- `EnumWithDiscriminant` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Decode` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Decode` may come from an old version of the `tetsy_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_codec_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/mod.rs:69:28 [INFO] [stderr] | [INFO] [stderr] 69 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stderr] | ^----- [INFO] [stderr] | | [INFO] [stderr] | `Encode` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_ENCODE_FOR_TestHasCompact` [INFO] [stderr] 70 | struct TestHasCompact { [INFO] [stderr] | -------------- `TestHasCompact` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Encode` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Encode` may come from an old version of the `tetsy_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_codec_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/mod.rs:69:36 [INFO] [stderr] | [INFO] [stderr] 69 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stderr] | ^----- [INFO] [stderr] | | [INFO] [stderr] | `Decode` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_DECODE_FOR_TestHasCompact` [INFO] [stderr] 70 | struct TestHasCompact { [INFO] [stderr] | -------------- `TestHasCompact` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Decode` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Decode` may come from an old version of the `tetsy_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_codec_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/mod.rs:75:28 [INFO] [stderr] | [INFO] [stderr] 75 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stderr] | ^----- [INFO] [stderr] | | [INFO] [stderr] | `Encode` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_ENCODE_FOR_TestCompactHasCompact` [INFO] [stderr] 76 | struct TestCompactHasCompact { [INFO] [stderr] | --------------------- `TestCompactHasCompact` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Encode` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Encode` may come from an old version of the `tetsy_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_codec_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/mod.rs:75:36 [INFO] [stderr] | [INFO] [stderr] 75 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stderr] | ^----- [INFO] [stderr] | | [INFO] [stderr] | `Decode` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_DECODE_FOR_TestCompactHasCompact` [INFO] [stderr] 76 | struct TestCompactHasCompact { [INFO] [stderr] | --------------------- `TestCompactHasCompact` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Decode` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Decode` may come from an old version of the `tetsy_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_codec_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/mod.rs:81:28 [INFO] [stderr] | [INFO] [stderr] 81 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stderr] | ^----- [INFO] [stderr] | | [INFO] [stderr] | `Encode` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_ENCODE_FOR_TestHasCompactEnum` [INFO] [stderr] 82 | enum TestHasCompactEnum { [INFO] [stderr] | ------------------ `TestHasCompactEnum` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Encode` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Encode` may come from an old version of the `tetsy_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_codec_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/mod.rs:81:36 [INFO] [stderr] | [INFO] [stderr] 81 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stderr] | ^----- [INFO] [stderr] | | [INFO] [stderr] | `Decode` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_DECODE_FOR_TestHasCompactEnum` [INFO] [stderr] 82 | enum TestHasCompactEnum { [INFO] [stderr] | ------------------ `TestHasCompactEnum` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Decode` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Decode` may come from an old version of the `tetsy_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_codec_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/mod.rs:95:28 [INFO] [stderr] | [INFO] [stderr] 95 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stderr] | ^----- [INFO] [stderr] | | [INFO] [stderr] | `Encode` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_ENCODE_FOR_TestCompactAttribute` [INFO] [stderr] 96 | struct TestCompactAttribute { [INFO] [stderr] | -------------------- `TestCompactAttribute` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Encode` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Encode` may come from an old version of the `tetsy_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_codec_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/mod.rs:95:36 [INFO] [stderr] | [INFO] [stderr] 95 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stderr] | ^----- [INFO] [stderr] | | [INFO] [stderr] | `Decode` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_DECODE_FOR_TestCompactAttribute` [INFO] [stderr] 96 | struct TestCompactAttribute { [INFO] [stderr] | -------------------- `TestCompactAttribute` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Decode` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Decode` may come from an old version of the `tetsy_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_codec_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/mod.rs:101:28 [INFO] [stderr] | [INFO] [stderr] 101 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stderr] | ^----- [INFO] [stderr] | | [INFO] [stderr] | `Encode` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_ENCODE_FOR_TestCompactAttributeEnum` [INFO] [stderr] 102 | enum TestCompactAttributeEnum { [INFO] [stderr] | ------------------------ `TestCompactAttributeEnum` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Encode` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Encode` may come from an old version of the `tetsy_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_codec_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/mod.rs:101:36 [INFO] [stderr] | [INFO] [stderr] 101 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stderr] | ^----- [INFO] [stderr] | | [INFO] [stderr] | `Decode` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_DECODE_FOR_TestCompactAttributeEnum` [INFO] [stderr] 102 | enum TestCompactAttributeEnum { [INFO] [stderr] | ------------------------ `TestCompactAttributeEnum` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Decode` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Decode` may come from an old version of the `tetsy_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_codec_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: methods `to_le`, `to_be`, `from_be`, and `as_be_then` are never used [INFO] [stderr] --> src/codec.rs:811:5 [INFO] [stderr] | [INFO] [stderr] 810 | trait EndianSensitive: Copy + 'static { [INFO] [stderr] | --------------- methods in this trait [INFO] [stderr] 811 | fn to_le(self) -> Self { self } [INFO] [stderr] | ^^^^^ [INFO] [stderr] 812 | fn to_be(self) -> Self { self } [INFO] [stderr] | ^^^^^ [INFO] [stderr] 813 | fn from_le(self) -> Self { self } [INFO] [stderr] 814 | fn from_be(self) -> Self { self } [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 815 | fn as_be_then T>(&self, f: F) -> T { f(&self) } [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `tetsy-codec` (test "mod") generated 45 warnings [INFO] [stderr] warning: `tetsy-codec` (lib test) generated 16 warnings (15 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/tetsy_codec-1abb5f893c5a5f07) [INFO] [stdout] [INFO] [stdout] running 18 tests [INFO] [stdout] test codec::tests::compact_128_encoding_works ... ok [INFO] [stdout] test codec::tests::compact_16_encoding_works ... ok [INFO] [stdout] test codec::tests::compact_32_encoding_works ... ok [INFO] [stdout] test codec::tests::compact_as_has_compact ... ok [INFO] [stdout] test codec::tests::compact_integers_encoded_as_expected ... ok [INFO] [stdout] test codec::tests::cow_string_works ... ok [INFO] [stdout] test codec::tests::cow_works ... ok [INFO] [stdout] test codec::tests::encode_borrowed_tuple ... ok [INFO] [stdout] test codec::tests::string_encoded_as_expected ... ok [INFO] [stdout] test codec::tests::vec_is_slicable ... ok [INFO] [stdout] test codec::tests::vec_of_option_bool_encoded_as_expected ... ok [INFO] [stdout] test codec::tests::compact_64_encoding_works ... ok [INFO] [stdout] test codec::tests::vec_of_option_int_encoded_as_expected ... ok [INFO] [stdout] test codec::tests::vec_of_i16_encoded_as_expected ... ok [INFO] [stdout] test codec::tests::vec_of_string_encoded_as_expected ... ok [INFO] [stdout] test codec::tests::compact_8_encoding_works ... ok [INFO] [stdout] test codec::tests::compact_as_8_encoding_works ... ok [INFO] [stdout] test codec::tests::vec_of_u8_encoded_as_expected ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 18 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running tests/mod.rs (/opt/rustwide/target/debug/deps/mod-f6cfbc984cdfc074) [INFO] [stdout] [INFO] [stdout] running 11 tests [INFO] [stdout] test enum_compact_and_encoded_as_with_has_compact_works ... ok [INFO] [stdout] test enum_compact_meta_attribute_works ... ok [INFO] [stdout] test encoded_as_with_has_compact_works ... ok [INFO] [stdout] test compact_with_has_compact_works ... ok [INFO] [stdout] test compact_meta_attribute_works ... ok [INFO] [stdout] test should_derive_encode ... ok [INFO] [stdout] test should_derive_decode ... ok [INFO] [stdout] test should_work_for_enum_with_discriminant ... ok [INFO] [stdout] test should_work_for_indexed ... ok [INFO] [stdout] test should_work_for_simple_enum ... ok [INFO] [stderr] Doc-tests tetsy_codec [INFO] [stdout] test should_work_for_unit ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/codec.rs:278:5 [INFO] [stderr] | [INFO] [stderr] 278 | 0...0b00111111 => dest.push_byte(self.0 << 2), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(ellipsis_inclusive_range_patterns)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/codec.rs:293:5 [INFO] [stderr] | [INFO] [stderr] 293 | 0...0b00111111 => dest.push_byte((*self.0 as u8) << 2), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/codec.rs:294:5 [INFO] [stderr] | [INFO] [stderr] 294 | 0...0b00111111_11111111 => ((*self.0 << 2) | 0b01).encode_to(dest), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/codec.rs:309:5 [INFO] [stderr] | [INFO] [stderr] 309 | 0...0b00111111 => dest.push_byte((*self.0 as u8) << 2), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/codec.rs:310:5 [INFO] [stderr] | [INFO] [stderr] 310 | 0...0b00111111_11111111 => (((*self.0 as u16) << 2) | 0b01).encode_to(dest), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/codec.rs:311:5 [INFO] [stderr] | [INFO] [stderr] 311 | 0...0b00111111_11111111_11111111_11111111 => ((*self.0 << 2) | 0b10).encode_to(dest), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/codec.rs:329:5 [INFO] [stderr] | [INFO] [stderr] 329 | 0...0b00111111 => dest.push_byte((*self.0 as u8) << 2), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/codec.rs:330:5 [INFO] [stderr] | [INFO] [stderr] 330 | 0...0b00111111_11111111 => (((*self.0 as u16) << 2) | 0b01).encode_to(dest), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/codec.rs:331:5 [INFO] [stderr] | [INFO] [stderr] 331 | 0...0b00111111_11111111_11111111_11111111 => (((*self.0 as u32) << 2) | 0b10).encode_to(dest), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/codec.rs:356:5 [INFO] [stderr] | [INFO] [stderr] 356 | 0...0b00111111 => dest.push_byte((*self.0 as u8) << 2), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/codec.rs:357:5 [INFO] [stderr] | [INFO] [stderr] 357 | 0...0b00111111_11111111 => (((*self.0 as u16) << 2) | 0b01).encode_to(dest), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/codec.rs:358:5 [INFO] [stderr] | [INFO] [stderr] 358 | 0...0b00111111_11111111_11111111_11111111 => (((*self.0 as u32) << 2) | 0b10).encode_to(dest), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: 12 warnings emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "bbd577d61b33d50c137db41068ae91d3cce673f8baa2cba3f7a04b2454b90399", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bbd577d61b33d50c137db41068ae91d3cce673f8baa2cba3f7a04b2454b90399", kill_on_drop: false }` [INFO] [stdout] bbd577d61b33d50c137db41068ae91d3cce673f8baa2cba3f7a04b2454b90399