[INFO] fetching crate struct_deser 0.1.1... [INFO] testing struct_deser-0.1.1 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-1 [INFO] extracting crate struct_deser 0.1.1 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate struct_deser 0.1.1 [INFO] finished tweaking crates.io crate struct_deser 0.1.1 [INFO] tweaked toml for crates.io crate struct_deser 0.1.1 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate struct_deser 0.1.1 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "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" "+562dee4820c458d823175268e41601d4c060588a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 6 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded struct_deser-derive v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 181693b93502a894e8df4639ad568cf41768f8bef1c6ad32eec17b1e5aaccc39 [INFO] running `Command { std: "docker" "start" "-a" "181693b93502a894e8df4639ad568cf41768f8bef1c6ad32eec17b1e5aaccc39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "181693b93502a894e8df4639ad568cf41768f8bef1c6ad32eec17b1e5aaccc39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "181693b93502a894e8df4639ad568cf41768f8bef1c6ad32eec17b1e5aaccc39", kill_on_drop: false }` [INFO] [stdout] 181693b93502a894e8df4639ad568cf41768f8bef1c6ad32eec17b1e5aaccc39 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ec19fd08b20158c8ea1486b2515bdcdedb656f596c5f506ac6bb19dba5f9801c [INFO] running `Command { std: "docker" "start" "-a" "ec19fd08b20158c8ea1486b2515bdcdedb656f596c5f506ac6bb19dba5f9801c", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] Compiling struct_deser v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.46s [INFO] running `Command { std: "docker" "inspect" "ec19fd08b20158c8ea1486b2515bdcdedb656f596c5f506ac6bb19dba5f9801c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec19fd08b20158c8ea1486b2515bdcdedb656f596c5f506ac6bb19dba5f9801c", kill_on_drop: false }` [INFO] [stdout] ec19fd08b20158c8ea1486b2515bdcdedb656f596c5f506ac6bb19dba5f9801c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a683672af558a262ffa420409e23279839212c648f9b5cf7fba0f0be9d8e922b [INFO] running `Command { std: "docker" "start" "-a" "a683672af558a262ffa420409e23279839212c648f9b5cf7fba0f0be9d8e922b", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling struct_deser-derive v0.1.0 [INFO] [stderr] Compiling struct_deser v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/test_tuple_struct.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(StructDeser, Debug, Eq, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Integers` is not local [INFO] [stdout] | `Identifier` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_STRUCT_DESER_FOR_Integers` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `StructDeser` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `StructDeser` may come from an old version of the `struct_deser_derive` crate, try updating your dependency with `cargo update -p struct_deser_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 `StructDeser` (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/test_tuple_struct.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(StructDeser, Debug, Eq, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Integers` is not local [INFO] [stdout] | `FromBytes` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_STRUCT_DESER_FOR_Integers` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `StructDeser` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `StructDeser` may come from an old version of the `struct_deser_derive` crate, try updating your dependency with `cargo update -p struct_deser_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 `StructDeser` (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/test_byte_order.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(StructDeser, Debug, Eq, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `U16` is not local [INFO] [stdout] | `FromBytes` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_STRUCT_DESER_FOR_U16` [INFO] [stdout] ... [INFO] [stdout] 31 | test_primitive!(u16, U16, 42, [42, 0, 0, 42]); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `StructDeser` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `StructDeser` may come from an old version of the `struct_deser_derive` crate, try updating your dependency with `cargo update -p struct_deser_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 `StructDeser` which comes from the expansion of the macro `test_primitive` (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/test_tuple_struct.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(StructDeser, Debug, Eq, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Integers` is not local [INFO] [stdout] | `IntoBytes` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_STRUCT_DESER_FOR_Integers` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `StructDeser` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `StructDeser` may come from an old version of the `struct_deser_derive` crate, try updating your dependency with `cargo update -p struct_deser_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 `StructDeser` (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/test_byte_order.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(StructDeser, Debug, Eq, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `U16` is not local [INFO] [stdout] | `IntoBytes` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_STRUCT_DESER_FOR_U16` [INFO] [stdout] ... [INFO] [stdout] 31 | test_primitive!(u16, U16, 42, [42, 0, 0, 42]); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `StructDeser` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `StructDeser` may come from an old version of the `struct_deser_derive` crate, try updating your dependency with `cargo update -p struct_deser_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 `StructDeser` which comes from the expansion of the macro `test_primitive` (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/test_tuple_struct.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(StructDeser, Debug, Eq, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Integers` is not local [INFO] [stdout] | `SerializedByteLen` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_STRUCT_DESER_FOR_Integers` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `StructDeser` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `StructDeser` may come from an old version of the `struct_deser_derive` crate, try updating your dependency with `cargo update -p struct_deser_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 `StructDeser` (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/test_byte_order.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(StructDeser, Debug, Eq, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `U16` is not local [INFO] [stdout] | `SerializedByteLen` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_STRUCT_DESER_FOR_U16` [INFO] [stdout] ... [INFO] [stdout] 31 | test_primitive!(u16, U16, 42, [42, 0, 0, 42]); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `StructDeser` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `StructDeser` may come from an old version of the `struct_deser_derive` crate, try updating your dependency with `cargo update -p struct_deser_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 `StructDeser` which comes from the expansion of the macro `test_primitive` (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/test_byte_order.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(StructDeser, Debug, Eq, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `U32` is not local [INFO] [stdout] | `FromBytes` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_STRUCT_DESER_FOR_U32` [INFO] [stdout] ... [INFO] [stdout] 32 | test_primitive!(u32, U32, 42, [42, 0, 0, 0, 0, 0, 0, 42]); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `StructDeser` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `StructDeser` may come from an old version of the `struct_deser_derive` crate, try updating your dependency with `cargo update -p struct_deser_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 `StructDeser` which comes from the expansion of the macro `test_primitive` (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/test_byte_order.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(StructDeser, Debug, Eq, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `U32` is not local [INFO] [stdout] | `IntoBytes` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_STRUCT_DESER_FOR_U32` [INFO] [stdout] ... [INFO] [stdout] 32 | test_primitive!(u32, U32, 42, [42, 0, 0, 0, 0, 0, 0, 42]); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `StructDeser` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `StructDeser` may come from an old version of the `struct_deser_derive` crate, try updating your dependency with `cargo update -p struct_deser_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 `StructDeser` which comes from the expansion of the macro `test_primitive` (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/test_byte_order.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(StructDeser, Debug, Eq, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `U32` is not local [INFO] [stdout] | `SerializedByteLen` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_STRUCT_DESER_FOR_U32` [INFO] [stdout] ... [INFO] [stdout] 32 | test_primitive!(u32, U32, 42, [42, 0, 0, 0, 0, 0, 0, 42]); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `StructDeser` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `StructDeser` may come from an old version of the `struct_deser_derive` crate, try updating your dependency with `cargo update -p struct_deser_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 `StructDeser` which comes from the expansion of the macro `test_primitive` (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/test_byte_order.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(StructDeser, Debug, Eq, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `U64` is not local [INFO] [stdout] | `FromBytes` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_STRUCT_DESER_FOR_U64` [INFO] [stdout] ... [INFO] [stdout] 33 | test_primitive!(u64, U64, 42, [42, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 42]); [INFO] [stdout] | --------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `StructDeser` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `StructDeser` may come from an old version of the `struct_deser_derive` crate, try updating your dependency with `cargo update -p struct_deser_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 `StructDeser` which comes from the expansion of the macro `test_primitive` (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/test_byte_order.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(StructDeser, Debug, Eq, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `U64` is not local [INFO] [stdout] | `IntoBytes` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_STRUCT_DESER_FOR_U64` [INFO] [stdout] ... [INFO] [stdout] 33 | test_primitive!(u64, U64, 42, [42, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 42]); [INFO] [stdout] | --------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `StructDeser` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `StructDeser` may come from an old version of the `struct_deser_derive` crate, try updating your dependency with `cargo update -p struct_deser_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 `StructDeser` which comes from the expansion of the macro `test_primitive` (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/test_byte_order.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(StructDeser, Debug, Eq, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `U64` is not local [INFO] [stdout] | `SerializedByteLen` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_STRUCT_DESER_FOR_U64` [INFO] [stdout] ... [INFO] [stdout] 33 | test_primitive!(u64, U64, 42, [42, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 42]); [INFO] [stdout] | --------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `StructDeser` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `StructDeser` may come from an old version of the `struct_deser_derive` crate, try updating your dependency with `cargo update -p struct_deser_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 `StructDeser` which comes from the expansion of the macro `test_primitive` (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/test_byte_order.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(StructDeser, Debug, Eq, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `I16` is not local [INFO] [stdout] | `FromBytes` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_STRUCT_DESER_FOR_I16` [INFO] [stdout] ... [INFO] [stdout] 34 | test_primitive!(i16, I16, 42, [42, 0, 0, 42]); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `StructDeser` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `StructDeser` may come from an old version of the `struct_deser_derive` crate, try updating your dependency with `cargo update -p struct_deser_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 `StructDeser` which comes from the expansion of the macro `test_primitive` (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/test_byte_order.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(StructDeser, Debug, Eq, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `I16` is not local [INFO] [stdout] | `IntoBytes` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_STRUCT_DESER_FOR_I16` [INFO] [stdout] ... [INFO] [stdout] 34 | test_primitive!(i16, I16, 42, [42, 0, 0, 42]); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `StructDeser` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `StructDeser` may come from an old version of the `struct_deser_derive` crate, try updating your dependency with `cargo update -p struct_deser_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 `StructDeser` which comes from the expansion of the macro `test_primitive` (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/test_byte_order.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(StructDeser, Debug, Eq, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `I16` is not local [INFO] [stdout] | `SerializedByteLen` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_STRUCT_DESER_FOR_I16` [INFO] [stdout] ... [INFO] [stdout] 34 | test_primitive!(i16, I16, 42, [42, 0, 0, 42]); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `StructDeser` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `StructDeser` may come from an old version of the `struct_deser_derive` crate, try updating your dependency with `cargo update -p struct_deser_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 `StructDeser` which comes from the expansion of the macro `test_primitive` (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/test_byte_order.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(StructDeser, Debug, Eq, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `I32` is not local [INFO] [stdout] | `FromBytes` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_STRUCT_DESER_FOR_I32` [INFO] [stdout] ... [INFO] [stdout] 35 | test_primitive!(i32, I32, 42, [42, 0, 0, 0, 0, 0, 0, 42]); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `StructDeser` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `StructDeser` may come from an old version of the `struct_deser_derive` crate, try updating your dependency with `cargo update -p struct_deser_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 `StructDeser` which comes from the expansion of the macro `test_primitive` (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/test_byte_order.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(StructDeser, Debug, Eq, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `I32` is not local [INFO] [stdout] | `IntoBytes` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_STRUCT_DESER_FOR_I32` [INFO] [stdout] ... [INFO] [stdout] 35 | test_primitive!(i32, I32, 42, [42, 0, 0, 0, 0, 0, 0, 42]); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `StructDeser` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `StructDeser` may come from an old version of the `struct_deser_derive` crate, try updating your dependency with `cargo update -p struct_deser_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 `StructDeser` which comes from the expansion of the macro `test_primitive` (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/test_byte_order.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(StructDeser, Debug, Eq, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `I32` is not local [INFO] [stdout] | `SerializedByteLen` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_STRUCT_DESER_FOR_I32` [INFO] [stdout] ... [INFO] [stdout] 35 | test_primitive!(i32, I32, 42, [42, 0, 0, 0, 0, 0, 0, 42]); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `StructDeser` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `StructDeser` may come from an old version of the `struct_deser_derive` crate, try updating your dependency with `cargo update -p struct_deser_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 `StructDeser` which comes from the expansion of the macro `test_primitive` (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/test_byte_order.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(StructDeser, Debug, Eq, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `I64` is not local [INFO] [stdout] | `FromBytes` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_STRUCT_DESER_FOR_I64` [INFO] [stdout] ... [INFO] [stdout] 36 | test_primitive!(i64, I64, 42, [42, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 42]); [INFO] [stdout] | --------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `StructDeser` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `StructDeser` may come from an old version of the `struct_deser_derive` crate, try updating your dependency with `cargo update -p struct_deser_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 `StructDeser` which comes from the expansion of the macro `test_primitive` (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/test_byte_order.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(StructDeser, Debug, Eq, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `I64` is not local [INFO] [stdout] | `IntoBytes` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_STRUCT_DESER_FOR_I64` [INFO] [stdout] ... [INFO] [stdout] 36 | test_primitive!(i64, I64, 42, [42, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 42]); [INFO] [stdout] | --------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `StructDeser` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `StructDeser` may come from an old version of the `struct_deser_derive` crate, try updating your dependency with `cargo update -p struct_deser_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 `StructDeser` which comes from the expansion of the macro `test_primitive` (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/test_byte_order.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(StructDeser, Debug, Eq, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `I64` is not local [INFO] [stdout] | `SerializedByteLen` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_STRUCT_DESER_FOR_I64` [INFO] [stdout] ... [INFO] [stdout] 36 | test_primitive!(i64, I64, 42, [42, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 42]); [INFO] [stdout] | --------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `StructDeser` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `StructDeser` may come from an old version of the `struct_deser_derive` crate, try updating your dependency with `cargo update -p struct_deser_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 `StructDeser` which comes from the expansion of the macro `test_primitive` (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/test_struct.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(StructDeser, Debug, Eq, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Integers` is not local [INFO] [stdout] | `Identifier` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_STRUCT_DESER_FOR_Integers` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `StructDeser` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `StructDeser` may come from an old version of the `struct_deser_derive` crate, try updating your dependency with `cargo update -p struct_deser_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 `StructDeser` (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/test_struct.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(StructDeser, Debug, Eq, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Integers` is not local [INFO] [stdout] | `FromBytes` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_STRUCT_DESER_FOR_Integers` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `StructDeser` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `StructDeser` may come from an old version of the `struct_deser_derive` crate, try updating your dependency with `cargo update -p struct_deser_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 `StructDeser` (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/test_struct.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(StructDeser, Debug, Eq, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Integers` is not local [INFO] [stdout] | `IntoBytes` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_STRUCT_DESER_FOR_Integers` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `StructDeser` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `StructDeser` may come from an old version of the `struct_deser_derive` crate, try updating your dependency with `cargo update -p struct_deser_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 `StructDeser` (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/test_struct.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(StructDeser, Debug, Eq, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Integers` is not local [INFO] [stdout] | `SerializedByteLen` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_STRUCT_DESER_FOR_Integers` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `StructDeser` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `StructDeser` may come from an old version of the `struct_deser_derive` crate, try updating your dependency with `cargo update -p struct_deser_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 `StructDeser` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.82s [INFO] running `Command { std: "docker" "inspect" "a683672af558a262ffa420409e23279839212c648f9b5cf7fba0f0be9d8e922b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a683672af558a262ffa420409e23279839212c648f9b5cf7fba0f0be9d8e922b", kill_on_drop: false }` [INFO] [stdout] a683672af558a262ffa420409e23279839212c648f9b5cf7fba0f0be9d8e922b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] bdeb8464ad59e59eb6c722a89b4132d17bd89d9eaa085865066f39f5f47c6cfc [INFO] running `Command { std: "docker" "start" "-a" "bdeb8464ad59e59eb6c722a89b4132d17bd89d9eaa085865066f39f5f47c6cfc", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/test_byte_order.rs:7:18 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(StructDeser, Debug, Eq, PartialEq)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `U16` is not local [INFO] [stderr] | `FromBytes` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_STRUCT_DESER_FOR_U16` [INFO] [stderr] ... [INFO] [stderr] 31 | test_primitive!(u16, U16, 42, [42, 0, 0, 42]); [INFO] [stderr] | --------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `StructDeser` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `StructDeser` may come from an old version of the `struct_deser_derive` crate, try updating your dependency with `cargo update -p struct_deser_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 `StructDeser` which comes from the expansion of the macro `test_primitive` (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/test_byte_order.rs:7:18 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(StructDeser, Debug, Eq, PartialEq)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `U16` is not local [INFO] [stderr] | `IntoBytes` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_STRUCT_DESER_FOR_U16` [INFO] [stderr] ... [INFO] [stderr] 31 | test_primitive!(u16, U16, 42, [42, 0, 0, 42]); [INFO] [stderr] | --------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `StructDeser` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `StructDeser` may come from an old version of the `struct_deser_derive` crate, try updating your dependency with `cargo update -p struct_deser_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 `StructDeser` which comes from the expansion of the macro `test_primitive` (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/test_byte_order.rs:7:18 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(StructDeser, Debug, Eq, PartialEq)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `U16` is not local [INFO] [stderr] | `SerializedByteLen` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_STRUCT_DESER_FOR_U16` [INFO] [stderr] ... [INFO] [stderr] 31 | test_primitive!(u16, U16, 42, [42, 0, 0, 42]); [INFO] [stderr] | --------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `StructDeser` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `StructDeser` may come from an old version of the `struct_deser_derive` crate, try updating your dependency with `cargo update -p struct_deser_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 `StructDeser` which comes from the expansion of the macro `test_primitive` (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/test_byte_order.rs:7:18 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(StructDeser, Debug, Eq, PartialEq)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `U32` is not local [INFO] [stderr] | `FromBytes` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_STRUCT_DESER_FOR_U32` [INFO] [stderr] ... [INFO] [stderr] 32 | test_primitive!(u32, U32, 42, [42, 0, 0, 0, 0, 0, 0, 42]); [INFO] [stderr] | --------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `StructDeser` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `StructDeser` may come from an old version of the `struct_deser_derive` crate, try updating your dependency with `cargo update -p struct_deser_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 `StructDeser` which comes from the expansion of the macro `test_primitive` (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/test_byte_order.rs:7:18 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(StructDeser, Debug, Eq, PartialEq)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `U32` is not local [INFO] [stderr] | `IntoBytes` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_STRUCT_DESER_FOR_U32` [INFO] [stderr] ... [INFO] [stderr] 32 | test_primitive!(u32, U32, 42, [42, 0, 0, 0, 0, 0, 0, 42]); [INFO] [stderr] | --------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `StructDeser` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `StructDeser` may come from an old version of the `struct_deser_derive` crate, try updating your dependency with `cargo update -p struct_deser_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 `StructDeser` which comes from the expansion of the macro `test_primitive` (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/test_byte_order.rs:7:18 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(StructDeser, Debug, Eq, PartialEq)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `U32` is not local [INFO] [stderr] | `SerializedByteLen` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_STRUCT_DESER_FOR_U32` [INFO] [stderr] ... [INFO] [stderr] 32 | test_primitive!(u32, U32, 42, [42, 0, 0, 0, 0, 0, 0, 42]); [INFO] [stderr] | --------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `StructDeser` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `StructDeser` may come from an old version of the `struct_deser_derive` crate, try updating your dependency with `cargo update -p struct_deser_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 `StructDeser` which comes from the expansion of the macro `test_primitive` (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/test_byte_order.rs:7:18 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(StructDeser, Debug, Eq, PartialEq)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `U64` is not local [INFO] [stderr] | `FromBytes` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_STRUCT_DESER_FOR_U64` [INFO] [stderr] ... [INFO] [stderr] 33 | test_primitive!(u64, U64, 42, [42, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 42]); [INFO] [stderr] | --------------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `StructDeser` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `StructDeser` may come from an old version of the `struct_deser_derive` crate, try updating your dependency with `cargo update -p struct_deser_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 `StructDeser` which comes from the expansion of the macro `test_primitive` (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/test_byte_order.rs:7:18 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(StructDeser, Debug, Eq, PartialEq)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `U64` is not local [INFO] [stderr] | `IntoBytes` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_STRUCT_DESER_FOR_U64` [INFO] [stderr] ... [INFO] [stderr] 33 | test_primitive!(u64, U64, 42, [42, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 42]); [INFO] [stderr] | --------------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `StructDeser` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `StructDeser` may come from an old version of the `struct_deser_derive` crate, try updating your dependency with `cargo update -p struct_deser_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 `StructDeser` which comes from the expansion of the macro `test_primitive` (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/test_byte_order.rs:7:18 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(StructDeser, Debug, Eq, PartialEq)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `U64` is not local [INFO] [stderr] | `SerializedByteLen` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_STRUCT_DESER_FOR_U64` [INFO] [stderr] ... [INFO] [stderr] 33 | test_primitive!(u64, U64, 42, [42, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 42]); [INFO] [stderr] | --------------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `StructDeser` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `StructDeser` may come from an old version of the `struct_deser_derive` crate, try updating your dependency with `cargo update -p struct_deser_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 `StructDeser` which comes from the expansion of the macro `test_primitive` (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/test_byte_order.rs:7:18 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(StructDeser, Debug, Eq, PartialEq)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `I16` is not local [INFO] [stderr] | `FromBytes` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_STRUCT_DESER_FOR_I16` [INFO] [stderr] ... [INFO] [stderr] 34 | test_primitive!(i16, I16, 42, [42, 0, 0, 42]); [INFO] [stderr] | --------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `StructDeser` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `StructDeser` may come from an old version of the `struct_deser_derive` crate, try updating your dependency with `cargo update -p struct_deser_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 `StructDeser` which comes from the expansion of the macro `test_primitive` (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/test_byte_order.rs:7:18 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(StructDeser, Debug, Eq, PartialEq)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `I16` is not local [INFO] [stderr] | `IntoBytes` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_STRUCT_DESER_FOR_I16` [INFO] [stderr] ... [INFO] [stderr] 34 | test_primitive!(i16, I16, 42, [42, 0, 0, 42]); [INFO] [stderr] | --------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `StructDeser` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `StructDeser` may come from an old version of the `struct_deser_derive` crate, try updating your dependency with `cargo update -p struct_deser_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 `StructDeser` which comes from the expansion of the macro `test_primitive` (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/test_byte_order.rs:7:18 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(StructDeser, Debug, Eq, PartialEq)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `I16` is not local [INFO] [stderr] | `SerializedByteLen` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_STRUCT_DESER_FOR_I16` [INFO] [stderr] ... [INFO] [stderr] 34 | test_primitive!(i16, I16, 42, [42, 0, 0, 42]); [INFO] [stderr] | --------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `StructDeser` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `StructDeser` may come from an old version of the `struct_deser_derive` crate, try updating your dependency with `cargo update -p struct_deser_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 `StructDeser` which comes from the expansion of the macro `test_primitive` (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/test_byte_order.rs:7:18 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(StructDeser, Debug, Eq, PartialEq)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `I32` is not local [INFO] [stderr] | `FromBytes` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_STRUCT_DESER_FOR_I32` [INFO] [stderr] ... [INFO] [stderr] 35 | test_primitive!(i32, I32, 42, [42, 0, 0, 0, 0, 0, 0, 42]); [INFO] [stderr] | --------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `StructDeser` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `StructDeser` may come from an old version of the `struct_deser_derive` crate, try updating your dependency with `cargo update -p struct_deser_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 `StructDeser` which comes from the expansion of the macro `test_primitive` (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/test_byte_order.rs:7:18 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(StructDeser, Debug, Eq, PartialEq)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `I32` is not local [INFO] [stderr] | `IntoBytes` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_STRUCT_DESER_FOR_I32` [INFO] [stderr] ... [INFO] [stderr] 35 | test_primitive!(i32, I32, 42, [42, 0, 0, 0, 0, 0, 0, 42]); [INFO] [stderr] | --------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `StructDeser` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `StructDeser` may come from an old version of the `struct_deser_derive` crate, try updating your dependency with `cargo update -p struct_deser_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 `StructDeser` which comes from the expansion of the macro `test_primitive` (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/test_byte_order.rs:7:18 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(StructDeser, Debug, Eq, PartialEq)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `I32` is not local [INFO] [stderr] | `SerializedByteLen` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_STRUCT_DESER_FOR_I32` [INFO] [stderr] ... [INFO] [stderr] 35 | test_primitive!(i32, I32, 42, [42, 0, 0, 0, 0, 0, 0, 42]); [INFO] [stderr] | --------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `StructDeser` defines the non-local `impl`, and may need to be changed [INFO] [stdout] [INFO] [stderr] = note: the derive macro `StructDeser` may come from an old version of the `struct_deser_derive` crate, try updating your dependency with `cargo update -p struct_deser_derive` [INFO] [stdout] running 0 tests [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] [stdout] [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] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] = note: this warning originates in the derive macro `StructDeser` which comes from the expansion of the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] running 6 tests [INFO] [stderr] --> tests/test_byte_order.rs:7:18 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(StructDeser, Debug, Eq, PartialEq)] [INFO] [stdout] test I16 ... ok [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stdout] test I64 ... ok [INFO] [stderr] | | [INFO] [stdout] test I32 ... ok [INFO] [stderr] | `I64` is not local [INFO] [stdout] test U32 ... ok [INFO] [stderr] | `FromBytes` is not local [INFO] [stdout] test U16 ... ok [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_STRUCT_DESER_FOR_I64` [INFO] [stdout] test U64 ... ok [INFO] [stderr] ... [INFO] [stdout] [INFO] [stderr] 36 | test_primitive!(i64, I64, 42, [42, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 42]); [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] | --------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `StructDeser` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `StructDeser` may come from an old version of the `struct_deser_derive` crate, try updating your dependency with `cargo update -p struct_deser_derive` [INFO] [stdout] [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] [stdout] running 1 test [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 `StructDeser` which comes from the expansion of the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stdout] test main ... ok [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] [INFO] [stderr] --> tests/test_byte_order.rs:7:18 [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] | [INFO] [stdout] [INFO] [stderr] 7 | #[derive(StructDeser, Debug, Eq, PartialEq)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `I64` is not local [INFO] [stderr] | `IntoBytes` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_STRUCT_DESER_FOR_I64` [INFO] [stderr] ... [INFO] [stderr] 36 | test_primitive!(i64, I64, 42, [42, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 42]); [INFO] [stderr] | --------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] running 1 test [INFO] [stderr] = note: the derive macro `StructDeser` defines the non-local `impl`, and may need to be changed [INFO] [stdout] test main ... ok [INFO] [stderr] = note: the derive macro `StructDeser` may come from an old version of the `struct_deser_derive` crate, try updating your dependency with `cargo update -p struct_deser_derive` [INFO] [stdout] [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] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [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] [stdout] [INFO] [stderr] = note: this warning originates in the derive macro `StructDeser` which comes from the expansion of the macro `test_primitive` (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/test_byte_order.rs:7:18 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(StructDeser, Debug, Eq, PartialEq)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `I64` is not local [INFO] [stderr] | `SerializedByteLen` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_STRUCT_DESER_FOR_I64` [INFO] [stderr] ... [INFO] [stderr] 36 | test_primitive!(i64, I64, 42, [42, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 42]); [INFO] [stderr] | --------------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `StructDeser` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `StructDeser` may come from an old version of the `struct_deser_derive` crate, try updating your dependency with `cargo update -p struct_deser_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 `StructDeser` which comes from the expansion of the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `struct_deser` (test "test_byte_order") generated 18 warnings [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/test_struct.rs:5:10 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(StructDeser, Debug, Eq, PartialEq)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Integers` is not local [INFO] [stderr] | `Identifier` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_STRUCT_DESER_FOR_Integers` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `StructDeser` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `StructDeser` may come from an old version of the `struct_deser_derive` crate, try updating your dependency with `cargo update -p struct_deser_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 `StructDeser` (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/test_struct.rs:5:10 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(StructDeser, Debug, Eq, PartialEq)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Integers` is not local [INFO] [stderr] | `FromBytes` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_STRUCT_DESER_FOR_Integers` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `StructDeser` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `StructDeser` may come from an old version of the `struct_deser_derive` crate, try updating your dependency with `cargo update -p struct_deser_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 `StructDeser` (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/test_struct.rs:5:10 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(StructDeser, Debug, Eq, PartialEq)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Integers` is not local [INFO] [stderr] | `IntoBytes` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_STRUCT_DESER_FOR_Integers` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `StructDeser` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `StructDeser` may come from an old version of the `struct_deser_derive` crate, try updating your dependency with `cargo update -p struct_deser_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 `StructDeser` (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/test_struct.rs:5:10 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(StructDeser, Debug, Eq, PartialEq)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Integers` is not local [INFO] [stderr] | `SerializedByteLen` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_STRUCT_DESER_FOR_Integers` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `StructDeser` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `StructDeser` may come from an old version of the `struct_deser_derive` crate, try updating your dependency with `cargo update -p struct_deser_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 `StructDeser` (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/test_tuple_struct.rs:5:10 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(StructDeser, Debug, Eq, PartialEq)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Integers` is not local [INFO] [stderr] | `Identifier` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_STRUCT_DESER_FOR_Integers` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `StructDeser` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `StructDeser` may come from an old version of the `struct_deser_derive` crate, try updating your dependency with `cargo update -p struct_deser_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 `StructDeser` (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/test_tuple_struct.rs:5:10 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(StructDeser, Debug, Eq, PartialEq)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Integers` is not local [INFO] [stderr] | `FromBytes` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_STRUCT_DESER_FOR_Integers` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `StructDeser` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `StructDeser` may come from an old version of the `struct_deser_derive` crate, try updating your dependency with `cargo update -p struct_deser_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 `StructDeser` (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/test_tuple_struct.rs:5:10 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(StructDeser, Debug, Eq, PartialEq)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Integers` is not local [INFO] [stderr] | `IntoBytes` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_STRUCT_DESER_FOR_Integers` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `StructDeser` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `StructDeser` may come from an old version of the `struct_deser_derive` crate, try updating your dependency with `cargo update -p struct_deser_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 `StructDeser` (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/test_tuple_struct.rs:5:10 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(StructDeser, Debug, Eq, PartialEq)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Integers` is not local [INFO] [stderr] | `SerializedByteLen` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_STRUCT_DESER_FOR_Integers` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `StructDeser` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `StructDeser` may come from an old version of the `struct_deser_derive` crate, try updating your dependency with `cargo update -p struct_deser_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 `StructDeser` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `struct_deser` (test "test_struct") generated 4 warnings [INFO] [stderr] warning: `struct_deser` (test "test_tuple_struct") generated 4 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/struct_deser-c01892d0ac886ad9) [INFO] [stderr] Running tests/test_byte_order.rs (/opt/rustwide/target/debug/deps/test_byte_order-ac2ed27543eea8a3) [INFO] [stderr] Running tests/test_struct.rs (/opt/rustwide/target/debug/deps/test_struct-6bef3653915dd1a2) [INFO] [stderr] Running tests/test_tuple_struct.rs (/opt/rustwide/target/debug/deps/test_tuple_struct-9f83222c288dc19a) [INFO] [stderr] Doc-tests struct_deser [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - (line 12) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.14s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "bdeb8464ad59e59eb6c722a89b4132d17bd89d9eaa085865066f39f5f47c6cfc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bdeb8464ad59e59eb6c722a89b4132d17bd89d9eaa085865066f39f5f47c6cfc", kill_on_drop: false }` [INFO] [stdout] bdeb8464ad59e59eb6c722a89b4132d17bd89d9eaa085865066f39f5f47c6cfc