[INFO] fetching crate struct_deser 0.1.1... [INFO] testing struct_deser-0.1.1 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate struct_deser 0.1.1 into /workspace/builds/worker-3-tc2/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-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate struct_deser 0.1.1 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b89a21506739597c1bb591335a8b9389d59204b2bf31f03a27567537e50514dc [INFO] running `Command { std: "docker" "start" "-a" "b89a21506739597c1bb591335a8b9389d59204b2bf31f03a27567537e50514dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b89a21506739597c1bb591335a8b9389d59204b2bf31f03a27567537e50514dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b89a21506739597c1bb591335a8b9389d59204b2bf31f03a27567537e50514dc", kill_on_drop: false }` [INFO] [stdout] b89a21506739597c1bb591335a8b9389d59204b2bf31f03a27567537e50514dc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 92f80837388f8c16cb6e514e81d5a46ed864ec2f1bde03be3f15923e2c8060f4 [INFO] running `Command { std: "docker" "start" "-a" "92f80837388f8c16cb6e514e81d5a46ed864ec2f1bde03be3f15923e2c8060f4", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition 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.67s [INFO] running `Command { std: "docker" "inspect" "92f80837388f8c16cb6e514e81d5a46ed864ec2f1bde03be3f15923e2c8060f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92f80837388f8c16cb6e514e81d5a46ed864ec2f1bde03be3f15923e2c8060f4", kill_on_drop: false }` [INFO] [stdout] 92f80837388f8c16cb6e514e81d5a46ed864ec2f1bde03be3f15923e2c8060f4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5e96812a0024f45213ec743f17b35115b6292df8133f5a1dae114757ee388afa [INFO] running `Command { std: "docker" "start" "-a" "5e96812a0024f45213ec743f17b35115b6292df8133f5a1dae114757ee388afa", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition 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_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_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_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] [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_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_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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.35s [INFO] running `Command { std: "docker" "inspect" "5e96812a0024f45213ec743f17b35115b6292df8133f5a1dae114757ee388afa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e96812a0024f45213ec743f17b35115b6292df8133f5a1dae114757ee388afa", kill_on_drop: false }` [INFO] [stdout] 5e96812a0024f45213ec743f17b35115b6292df8133f5a1dae114757ee388afa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d291e52290225082668a4e786b507178f66e3d2a29b1b0f32a08c1555e3b18b0 [INFO] running `Command { std: "docker" "start" "-a" "d291e52290225082668a4e786b507178f66e3d2a29b1b0f32a08c1555e3b18b0", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition 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_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: 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] [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] | `I64` is not local [INFO] [stderr] | `FromBytes` 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: 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] | `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] [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] | `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_struct") generated 4 warnings [INFO] [stderr] warning: `struct_deser` (test "test_tuple_struct") generated 4 warnings [INFO] [stderr] warning: `struct_deser` (test "test_byte_order") generated 18 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/struct_deser-20212150b3d0e10d) [INFO] [stdout] [INFO] [stderr] Running tests/test_byte_order.rs (/opt/rustwide/target/debug/deps/test_byte_order-7d27a990a5e99cfd) [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test I16 ... ok [INFO] [stdout] test I32 ... ok [INFO] [stdout] test I64 ... ok [INFO] [stdout] test U64 ... ok [INFO] [stdout] test U32 ... ok [INFO] [stdout] test U16 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/test_struct.rs (/opt/rustwide/target/debug/deps/test_struct-199408be20373f27) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test main ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/test_tuple_struct.rs (/opt/rustwide/target/debug/deps/test_tuple_struct-085e386d388e54a4) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test main ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [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.32s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d291e52290225082668a4e786b507178f66e3d2a29b1b0f32a08c1555e3b18b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d291e52290225082668a4e786b507178f66e3d2a29b1b0f32a08c1555e3b18b0", kill_on_drop: false }` [INFO] [stdout] d291e52290225082668a4e786b507178f66e3d2a29b1b0f32a08c1555e3b18b0