[INFO] cloning repository https://github.com/skymavis/steit [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/skymavis/steit" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fskymavis%2Fsteit", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fskymavis%2Fsteit'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3091225b9635bcce9215f70de4144195cd348d5f [INFO] checking skymavis/steit against try#7b3da9103634dffd4f4365cfd8642427c781d99f+rustflags=-Dinherent-method-on-receiver for 152214-denied-retry-0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fskymavis%2Fsteit" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/skymavis/steit [INFO] finished tweaking git repo https://github.com/skymavis/steit [INFO] tweaked toml for git repo https://github.com/skymavis/steit written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/skymavis/steit on toolchain 7b3da9103634dffd4f4365cfd8642427c781d99f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/skymavis/steit already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0411a0420d18c0538f9950095b84b3a228db19933d3b1d3b08a6ac5fff0d9d78 [INFO] running `Command { std: "docker" "start" "-a" "0411a0420d18c0538f9950095b84b3a228db19933d3b1d3b08a6ac5fff0d9d78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0411a0420d18c0538f9950095b84b3a228db19933d3b1d3b08a6ac5fff0d9d78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0411a0420d18c0538f9950095b84b3a228db19933d3b1d3b08a6ac5fff0d9d78", kill_on_drop: false }` [INFO] [stdout] 0411a0420d18c0538f9950095b84b3a228db19933d3b1d3b08a6ac5fff0d9d78 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -Dinherent-method-on-receiver" "-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fc2aa1b064f6958109636bccbf8597f0358d449b6e1d98826d49221bd82f212d [INFO] running `Command { std: "docker" "start" "-a" "fc2aa1b064f6958109636bccbf8597f0358d449b6e1d98826d49221bd82f212d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling serde_derive v1.0.113 [INFO] [stderr] Compiling serde v1.0.113 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling serde_json v1.0.85 [INFO] [stderr] Checking ryu v1.0.11 [INFO] [stderr] Checking itoa v1.0.3 [INFO] [stderr] Checking iowrap v0.2.0 [INFO] [stderr] Compiling indexmap v1.3.0 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking steit-derive v0.1.0 (/opt/rustwide/workdir/steit-derive) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> steit-derive/src/derive/struct.rs:148:20 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn variant(&self) -> Option<&Variant> { [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 148 | pub fn variant(&self) -> Option<&Variant<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> steit-derive/src/derive/struct.rs:148:20 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn variant(&self) -> Option<&Variant> { [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 148 | pub fn variant(&self) -> Option<&Variant<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> steit-derive/src/derive/struct.rs:148:20 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn variant(&self) -> Option<&Variant> { [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 148 | pub fn variant(&self) -> Option<&Variant<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking steit v0.1.0 (/opt/rustwide/workdir/steit) [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> steit/src/gen/setting.rs:35:26 [INFO] [stdout] | [INFO] [stdout] 13 | impl Deref for Setting { [INFO] [stdout] | ---------------------------- trait implemented here [INFO] [stdout] 14 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn get_name_rust(mut self) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D inherent-method-on-receiver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> steit/src/gen/setting.rs:40:28 [INFO] [stdout] | [INFO] [stdout] 13 | impl Deref for Setting { [INFO] [stdout] | ---------------------------- trait implemented here [INFO] [stdout] 14 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn get_name_csharp(mut self) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> steit/src/gen/setting.rs:45:26 [INFO] [stdout] | [INFO] [stdout] 13 | impl Deref for Setting { [INFO] [stdout] | ---------------------------- trait implemented here [INFO] [stdout] 14 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn skip_builtins(mut self, skip_builtins: bool) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> steit/src/gen/setting.rs:50:23 [INFO] [stdout] | [INFO] [stdout] 13 | impl Deref for Setting { [INFO] [stdout] | ---------------------------- trait implemented here [INFO] [stdout] 14 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn skip_names(mut self, skip_names: impl IntoIterator) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> steit/src/log/entry.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | #[steit_derive(Clone, Debug, Serialize, Deserialize, JsonSerialize)] [INFO] [stdout] | ^------------------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_STEIT_FOR_LOG_ENTRY` [INFO] [stdout] 20 | #[steit(steit_owned, ctor_prefix = "empty")] [INFO] [stdout] 21 | pub enum LogEntry { [INFO] [stdout] | -------- `LogEntry` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `steit_derive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `steit_derive` may come from an old version of the `steit_derive` crate, try updating your dependency with `cargo update -p steit_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 attribute macro `steit_derive` (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] --> steit/src/log/entry.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | #[steit_derive(Clone, Debug, Serialize, Deserialize, JsonSerialize)] [INFO] [stdout] | ^------------------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | `Default` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_STEIT_FOR_LOG_ENTRY` [INFO] [stdout] 20 | #[steit(steit_owned, ctor_prefix = "empty")] [INFO] [stdout] 21 | pub enum LogEntry { [INFO] [stdout] | -------- `LogEntry` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `steit_derive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `steit_derive` may come from an old version of the `steit_derive` crate, try updating your dependency with `cargo update -p steit_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 attribute macro `steit_derive` (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] --> steit/src/log/entry.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | #[steit_derive(Clone, Debug, Serialize, Deserialize, JsonSerialize)] [INFO] [stdout] | ^------------------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | `HasWireType` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_STEIT_FOR_LOG_ENTRY` [INFO] [stdout] 20 | #[steit(steit_owned, ctor_prefix = "empty")] [INFO] [stdout] 21 | pub enum LogEntry { [INFO] [stdout] | -------- `LogEntry` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `steit_derive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `steit_derive` may come from an old version of the `steit_derive` crate, try updating your dependency with `cargo update -p steit_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 attribute macro `steit_derive` (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] --> steit/src/log/entry.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | #[steit_derive(Clone, Debug, Serialize, Deserialize, JsonSerialize)] [INFO] [stdout] | ^------------------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_STEIT_FOR_LOG_ENTRY` [INFO] [stdout] 20 | #[steit(steit_owned, ctor_prefix = "empty")] [INFO] [stdout] 21 | pub enum LogEntry { [INFO] [stdout] | -------- `LogEntry` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `steit_derive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `steit_derive` may come from an old version of the `steit_derive` crate, try updating your dependency with `cargo update -p steit_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 attribute macro `steit_derive` (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] --> steit/src/log/entry.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | #[steit_derive(Clone, Debug, Serialize, Deserialize, JsonSerialize)] [INFO] [stdout] | ^------------------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_STEIT_FOR_LOG_ENTRY` [INFO] [stdout] 20 | #[steit(steit_owned, ctor_prefix = "empty")] [INFO] [stdout] 21 | pub enum LogEntry { [INFO] [stdout] | -------- `LogEntry` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `steit_derive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `steit_derive` may come from an old version of the `steit_derive` crate, try updating your dependency with `cargo update -p steit_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 attribute macro `steit_derive` (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] --> steit/src/log/entry.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | #[steit_derive(Clone, Debug, Serialize, Deserialize, JsonSerialize)] [INFO] [stdout] | ^------------------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | `HasMeta` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_STEIT_FOR_LOG_ENTRY` [INFO] [stdout] 20 | #[steit(steit_owned, ctor_prefix = "empty")] [INFO] [stdout] 21 | pub enum LogEntry { [INFO] [stdout] | -------- `LogEntry` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `steit_derive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `steit_derive` may come from an old version of the `steit_derive` crate, try updating your dependency with `cargo update -p steit_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 attribute macro `steit_derive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> steit/src/rt/logger.rs:26:20 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn replace(&mut self, inner: T) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | impl Deref for RuntimeLogger { [INFO] [stdout] | ------------------------------------------ trait implemented here [INFO] [stdout] 57 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> steit/src/types/list.rs:113:21 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn iter_mut(&mut self) -> slice::IterMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 113 | pub fn iter_mut(&mut self) -> slice::IterMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> steit/src/types/map/map.rs:81:17 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn iter(&self) -> MapIter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 81 | pub fn iter(&self) -> MapIter<'_, K, V> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> steit/src/types/map/map.rs:85:21 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn iter_mut(&mut self) -> MapIterMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 85 | pub fn iter_mut(&mut self) -> MapIterMut<'_, K, V> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> steit/src/types/maybe.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[steit_derive(Clone, PartialEq, Eq, Hash, Debug, State, JsonSerialize)] [INFO] [stdout] | ^----------------------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_STEIT_FOR_MAYBE` [INFO] [stdout] 10 | #[steit(steit_owned)] [INFO] [stdout] 11 | pub enum Maybe { [INFO] [stdout] | ----- `Maybe` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `steit_derive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `steit_derive` may come from an old version of the `steit_derive` crate, try updating your dependency with `cargo update -p steit_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 attribute macro `steit_derive` (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] --> steit/src/types/maybe.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[steit_derive(Clone, PartialEq, Eq, Hash, Debug, State, JsonSerialize)] [INFO] [stdout] | ^----------------------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | `PartialEq` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_STEIT_FOR_MAYBE` [INFO] [stdout] 10 | #[steit(steit_owned)] [INFO] [stdout] 11 | pub enum Maybe { [INFO] [stdout] | ----- `Maybe` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `steit_derive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `steit_derive` may come from an old version of the `steit_derive` crate, try updating your dependency with `cargo update -p steit_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 attribute macro `steit_derive` (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] --> steit/src/types/maybe.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[steit_derive(Clone, PartialEq, Eq, Hash, Debug, State, JsonSerialize)] [INFO] [stdout] | ^----------------------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | `Default` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_STEIT_FOR_MAYBE` [INFO] [stdout] 10 | #[steit(steit_owned)] [INFO] [stdout] 11 | pub enum Maybe { [INFO] [stdout] | ----- `Maybe` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `steit_derive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `steit_derive` may come from an old version of the `steit_derive` crate, try updating your dependency with `cargo update -p steit_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 attribute macro `steit_derive` (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] --> steit/src/types/maybe.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[steit_derive(Clone, PartialEq, Eq, Hash, Debug, State, JsonSerialize)] [INFO] [stdout] | ^----------------------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | `Hash` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_STEIT_FOR_MAYBE` [INFO] [stdout] 10 | #[steit(steit_owned)] [INFO] [stdout] 11 | pub enum Maybe { [INFO] [stdout] | ----- `Maybe` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `steit_derive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `steit_derive` may come from an old version of the `steit_derive` crate, try updating your dependency with `cargo update -p steit_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 attribute macro `steit_derive` (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] --> steit/src/types/maybe.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[steit_derive(Clone, PartialEq, Eq, Hash, Debug, State, JsonSerialize)] [INFO] [stdout] | ^----------------------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | `HasWireType` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_STEIT_FOR_MAYBE` [INFO] [stdout] 10 | #[steit(steit_owned)] [INFO] [stdout] 11 | pub enum Maybe { [INFO] [stdout] | ----- `Maybe` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `steit_derive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `steit_derive` may come from an old version of the `steit_derive` crate, try updating your dependency with `cargo update -p steit_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 attribute macro `steit_derive` (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] --> steit/src/types/maybe.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[steit_derive(Clone, PartialEq, Eq, Hash, Debug, State, JsonSerialize)] [INFO] [stdout] | ^----------------------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_STEIT_FOR_MAYBE` [INFO] [stdout] 10 | #[steit(steit_owned)] [INFO] [stdout] 11 | pub enum Maybe { [INFO] [stdout] | ----- `Maybe` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `steit_derive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `steit_derive` may come from an old version of the `steit_derive` crate, try updating your dependency with `cargo update -p steit_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 attribute macro `steit_derive` (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] --> steit/src/types/maybe.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[steit_derive(Clone, PartialEq, Eq, Hash, Debug, State, JsonSerialize)] [INFO] [stdout] | ^----------------------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_STEIT_FOR_MAYBE` [INFO] [stdout] 10 | #[steit(steit_owned)] [INFO] [stdout] 11 | pub enum Maybe { [INFO] [stdout] | ----- `Maybe` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `steit_derive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `steit_derive` may come from an old version of the `steit_derive` crate, try updating your dependency with `cargo update -p steit_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 attribute macro `steit_derive` (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] --> steit/src/types/maybe.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[steit_derive(Clone, PartialEq, Eq, Hash, Debug, State, JsonSerialize)] [INFO] [stdout] | ^----------------------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | `State` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_STEIT_FOR_MAYBE` [INFO] [stdout] 10 | #[steit(steit_owned)] [INFO] [stdout] 11 | pub enum Maybe { [INFO] [stdout] | ----- `Maybe` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `steit_derive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `steit_derive` may come from an old version of the `steit_derive` crate, try updating your dependency with `cargo update -p steit_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 attribute macro `steit_derive` (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] --> steit/src/types/maybe.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[steit_derive(Clone, PartialEq, Eq, Hash, Debug, State, JsonSerialize)] [INFO] [stdout] | ^----------------------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | `HasMeta` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_STEIT_FOR_MAYBE` [INFO] [stdout] 10 | #[steit(steit_owned)] [INFO] [stdout] 11 | pub enum Maybe { [INFO] [stdout] | ----- `Maybe` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `steit_derive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `steit_derive` may come from an old version of the `steit_derive` crate, try updating your dependency with `cargo update -p steit_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 attribute macro `steit_derive` (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] --> steit/src/impls/varint.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 11 | const $dummy: () = { [INFO] [stdout] | ---------------- move the `impl` block outside of this constant `_U8_IMPLS` [INFO] [stdout] 12 | impl $crate::wire_fmt::HasWireType for $type { [INFO] [stdout] | ^ ----------------------------- `HasWireType` is not local [INFO] [stdout] ... [INFO] [stdout] 71 | impl_unsigned_varint!(u8, _U8_IMPLS, "Byte"); [INFO] [stdout] | -------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_unsigned_varint` defines the non-local `impl`, and may need to be changed [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 macro `impl_unsigned_varint` (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] --> steit/src/impls/macros.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | impl $crate::ser::Serialize for $type { [INFO] [stdout] | ^ ---------------------- `Serialize` is not local [INFO] [stdout] | [INFO] [stdout] ::: steit/src/impls/varint.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | const $dummy: () = { [INFO] [stdout] | ---------------- move the `impl` block outside of this constant `_U8_IMPLS` [INFO] [stdout] ... [INFO] [stdout] 71 | impl_unsigned_varint!(u8, _U8_IMPLS, "Byte"); [INFO] [stdout] | -------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_serialize_primitive` defines the non-local `impl`, and may need to be changed [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 macro `$crate::impl_serialize_primitive` which comes from the expansion of the macro `impl_unsigned_varint` (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] --> steit/src/impls/varint.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 11 | const $dummy: () = { [INFO] [stdout] | ---------------- move the `impl` block outside of this constant `_U8_IMPLS` [INFO] [stdout] ... [INFO] [stdout] 39 | impl $crate::de::Deserialize for $type { [INFO] [stdout] | ^ ----------------------- `Deserialize` is not local [INFO] [stdout] ... [INFO] [stdout] 71 | impl_unsigned_varint!(u8, _U8_IMPLS, "Byte"); [INFO] [stdout] | -------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_unsigned_varint` defines the non-local `impl`, and may need to be changed [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 macro `impl_unsigned_varint` (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] --> steit/src/impls/macros.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | impl $crate::state::State for $type { [INFO] [stdout] | ^ -------------------- `State` is not local [INFO] [stdout] | [INFO] [stdout] ::: steit/src/impls/varint.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | const $dummy: () = { [INFO] [stdout] | ---------------- move the `impl` block outside of this constant `_U8_IMPLS` [INFO] [stdout] ... [INFO] [stdout] 71 | impl_unsigned_varint!(u8, _U8_IMPLS, "Byte"); [INFO] [stdout] | -------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_state_primitive` defines the non-local `impl`, and may need to be changed [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 macro `$crate::impl_state_primitive` which comes from the expansion of the macro `impl_unsigned_varint` (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] --> steit/src/impls/macros.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | impl $crate::meta::HasMeta for $type { [INFO] [stdout] | ^ --------------------- `HasMeta` is not local [INFO] [stdout] | [INFO] [stdout] ::: steit/src/impls/varint.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | const $dummy: () = { [INFO] [stdout] | ---------------- move the `impl` block outside of this constant `_U8_IMPLS` [INFO] [stdout] ... [INFO] [stdout] 71 | impl_unsigned_varint!(u8, _U8_IMPLS, "Byte"); [INFO] [stdout] | -------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_meta_primitive` defines the non-local `impl`, and may need to be changed [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 macro `$crate::impl_meta_primitive` which comes from the expansion of the macro `impl_unsigned_varint` (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] --> steit/src/impls/varint.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 11 | const $dummy: () = { [INFO] [stdout] | ---------------- move the `impl` block outside of this constant `_U16_IMPLS` [INFO] [stdout] 12 | impl $crate::wire_fmt::HasWireType for $type { [INFO] [stdout] | ^ ----------------------------- `HasWireType` is not local [INFO] [stdout] ... [INFO] [stdout] 72 | impl_unsigned_varint!(u16, _U16_IMPLS, "UInt16"); [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_unsigned_varint` defines the non-local `impl`, and may need to be changed [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 macro `impl_unsigned_varint` (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] --> steit/src/impls/macros.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | impl $crate::ser::Serialize for $type { [INFO] [stdout] | ^ ---------------------- `Serialize` is not local [INFO] [stdout] | [INFO] [stdout] ::: steit/src/impls/varint.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | const $dummy: () = { [INFO] [stdout] | ---------------- move the `impl` block outside of this constant `_U16_IMPLS` [INFO] [stdout] ... [INFO] [stdout] 72 | impl_unsigned_varint!(u16, _U16_IMPLS, "UInt16"); [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_serialize_primitive` defines the non-local `impl`, and may need to be changed [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 macro `$crate::impl_serialize_primitive` which comes from the expansion of the macro `impl_unsigned_varint` (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] --> steit/src/impls/varint.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 11 | const $dummy: () = { [INFO] [stdout] | ---------------- move the `impl` block outside of this constant `_U16_IMPLS` [INFO] [stdout] ... [INFO] [stdout] 39 | impl $crate::de::Deserialize for $type { [INFO] [stdout] | ^ ----------------------- `Deserialize` is not local [INFO] [stdout] ... [INFO] [stdout] 72 | impl_unsigned_varint!(u16, _U16_IMPLS, "UInt16"); [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_unsigned_varint` defines the non-local `impl`, and may need to be changed [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 macro `impl_unsigned_varint` (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] --> steit/src/impls/macros.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | impl $crate::state::State for $type { [INFO] [stdout] | ^ -------------------- `State` is not local [INFO] [stdout] | [INFO] [stdout] ::: steit/src/impls/varint.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | const $dummy: () = { [INFO] [stdout] | ---------------- move the `impl` block outside of this constant `_U16_IMPLS` [INFO] [stdout] ... [INFO] [stdout] 72 | impl_unsigned_varint!(u16, _U16_IMPLS, "UInt16"); [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_state_primitive` defines the non-local `impl`, and may need to be changed [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 macro `$crate::impl_state_primitive` which comes from the expansion of the macro `impl_unsigned_varint` (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] --> steit/src/impls/macros.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | impl $crate::meta::HasMeta for $type { [INFO] [stdout] | ^ --------------------- `HasMeta` is not local [INFO] [stdout] | [INFO] [stdout] ::: steit/src/impls/varint.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | const $dummy: () = { [INFO] [stdout] | ---------------- move the `impl` block outside of this constant `_U16_IMPLS` [INFO] [stdout] ... [INFO] [stdout] 72 | impl_unsigned_varint!(u16, _U16_IMPLS, "UInt16"); [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_meta_primitive` defines the non-local `impl`, and may need to be changed [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 macro `$crate::impl_meta_primitive` which comes from the expansion of the macro `impl_unsigned_varint` (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] --> steit/src/impls/varint.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 11 | const $dummy: () = { [INFO] [stdout] | ---------------- move the `impl` block outside of this constant `_U32_IMPLS` [INFO] [stdout] 12 | impl $crate::wire_fmt::HasWireType for $type { [INFO] [stdout] | ^ ----------------------------- `HasWireType` is not local [INFO] [stdout] ... [INFO] [stdout] 73 | impl_unsigned_varint!(u32, _U32_IMPLS, "UInt32"); [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_unsigned_varint` defines the non-local `impl`, and may need to be changed [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 macro `impl_unsigned_varint` (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] --> steit/src/impls/macros.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | impl $crate::ser::Serialize for $type { [INFO] [stdout] | ^ ---------------------- `Serialize` is not local [INFO] [stdout] | [INFO] [stdout] ::: steit/src/impls/varint.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | const $dummy: () = { [INFO] [stdout] | ---------------- move the `impl` block outside of this constant `_U32_IMPLS` [INFO] [stdout] ... [INFO] [stdout] 73 | impl_unsigned_varint!(u32, _U32_IMPLS, "UInt32"); [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_serialize_primitive` defines the non-local `impl`, and may need to be changed [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 macro `$crate::impl_serialize_primitive` which comes from the expansion of the macro `impl_unsigned_varint` (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] --> steit/src/impls/varint.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 11 | const $dummy: () = { [INFO] [stdout] | ---------------- move the `impl` block outside of this constant `_U32_IMPLS` [INFO] [stdout] ... [INFO] [stdout] 39 | impl $crate::de::Deserialize for $type { [INFO] [stdout] | ^ ----------------------- `Deserialize` is not local [INFO] [stdout] ... [INFO] [stdout] 73 | impl_unsigned_varint!(u32, _U32_IMPLS, "UInt32"); [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_unsigned_varint` defines the non-local `impl`, and may need to be changed [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 macro `impl_unsigned_varint` (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] --> steit/src/impls/macros.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | impl $crate::state::State for $type { [INFO] [stdout] | ^ -------------------- `State` is not local [INFO] [stdout] | [INFO] [stdout] ::: steit/src/impls/varint.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | const $dummy: () = { [INFO] [stdout] | ---------------- move the `impl` block outside of this constant `_U32_IMPLS` [INFO] [stdout] ... [INFO] [stdout] 73 | impl_unsigned_varint!(u32, _U32_IMPLS, "UInt32"); [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_state_primitive` defines the non-local `impl`, and may need to be changed [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 macro `$crate::impl_state_primitive` which comes from the expansion of the macro `impl_unsigned_varint` (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] --> steit/src/impls/macros.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | impl $crate::meta::HasMeta for $type { [INFO] [stdout] | ^ --------------------- `HasMeta` is not local [INFO] [stdout] | [INFO] [stdout] ::: steit/src/impls/varint.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | const $dummy: () = { [INFO] [stdout] | ---------------- move the `impl` block outside of this constant `_U32_IMPLS` [INFO] [stdout] ... [INFO] [stdout] 73 | impl_unsigned_varint!(u32, _U32_IMPLS, "UInt32"); [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_meta_primitive` defines the non-local `impl`, and may need to be changed [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 macro `$crate::impl_meta_primitive` which comes from the expansion of the macro `impl_unsigned_varint` (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] --> steit/src/impls/varint.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 11 | const $dummy: () = { [INFO] [stdout] | ---------------- move the `impl` block outside of this constant `_U64_IMPLS` [INFO] [stdout] 12 | impl $crate::wire_fmt::HasWireType for $type { [INFO] [stdout] | ^^^^^-----------------------------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `HasWireType` is not local [INFO] [stdout] ... [INFO] [stdout] 74 | impl_unsigned_varint!(u64, _U64_IMPLS, "UInt64"); [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_unsigned_varint` defines the non-local `impl`, and may need to be changed [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 macro `impl_unsigned_varint` (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] --> steit/src/impls/macros.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | impl $crate::ser::Serialize for $type { [INFO] [stdout] | ^ ---------------------- `Serialize` is not local [INFO] [stdout] | [INFO] [stdout] ::: steit/src/impls/varint.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | const $dummy: () = { [INFO] [stdout] | ---------------- move the `impl` block outside of this constant `_U64_IMPLS` [INFO] [stdout] ... [INFO] [stdout] 74 | impl_unsigned_varint!(u64, _U64_IMPLS, "UInt64"); [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_serialize_primitive` defines the non-local `impl`, and may need to be changed [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 macro `$crate::impl_serialize_primitive` which comes from the expansion of the macro `impl_unsigned_varint` (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] --> steit/src/impls/varint.rs:12:52 [INFO] [stdout] | [INFO] [stdout] 11 | const $dummy: () = { [INFO] [stdout] | ---------------- move the `impl` block outside of this constant `_U64_IMPLS` [INFO] [stdout] 12 | impl $crate::wire_fmt::HasWireType for $type { [INFO] [stdout] | ____________________________________________________^ [INFO] [stdout] 13 | | const WIRE_TYPE: $crate::wire_fmt::WireType = [INFO] [stdout] 14 | | $crate::wire_fmt::WireType::Varint; [INFO] [stdout] ... | [INFO] [stdout] 39 | | impl $crate::de::Deserialize for $type { [INFO] [stdout] | | ^ ----------------------- `Deserialize` is not local [INFO] [stdout] | |____________| [INFO] [stdout] | [INFO] [stdout] ... [INFO] [stdout] 74 | impl_unsigned_varint!(u64, _U64_IMPLS, "UInt64"); [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_unsigned_varint` defines the non-local `impl`, and may need to be changed [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 macro `impl_unsigned_varint` (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] --> steit/src/impls/macros.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | impl $crate::state::State for $type { [INFO] [stdout] | ^ -------------------- `State` is not local [INFO] [stdout] | [INFO] [stdout] ::: steit/src/impls/varint.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | const $dummy: () = { [INFO] [stdout] | ---------------- move the `impl` block outside of this constant `_U64_IMPLS` [INFO] [stdout] ... [INFO] [stdout] 74 | impl_unsigned_varint!(u64, _U64_IMPLS, "UInt64"); [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_state_primitive` defines the non-local `impl`, and may need to be changed [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 macro `$crate::impl_state_primitive` which comes from the expansion of the macro `impl_unsigned_varint` (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] --> steit/src/impls/macros.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | impl $crate::meta::HasMeta for $type { [INFO] [stdout] | ^ --------------------- `HasMeta` is not local [INFO] [stdout] | [INFO] [stdout] ::: steit/src/impls/varint.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | const $dummy: () = { [INFO] [stdout] | ---------------- move the `impl` block outside of this constant `_U64_IMPLS` [INFO] [stdout] ... [INFO] [stdout] 74 | impl_unsigned_varint!(u64, _U64_IMPLS, "UInt64"); [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_meta_primitive` defines the non-local `impl`, and may need to be changed [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 macro `$crate::impl_meta_primitive` which comes from the expansion of the macro `impl_unsigned_varint` (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] --> steit/src/impls/varint.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 78 | const $dummy: () = { [INFO] [stdout] | ---------------- move the `impl` block outside of this constant `_I8_IMPLS` [INFO] [stdout] 79 | impl $crate::wire_fmt::HasWireType for $type { [INFO] [stdout] | ^^^^^-----------------------------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `HasWireType` is not local [INFO] [stdout] ... [INFO] [stdout] 126 | impl_signed_varint!(i8, _I8_IMPLS, u8, "SByte"); [INFO] [stdout] | ----------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_signed_varint` defines the non-local `impl`, and may need to be changed [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 macro `impl_signed_varint` (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] --> steit/src/impls/macros.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | impl $crate::ser::Serialize for $type { [INFO] [stdout] | ^ ---------------------- `Serialize` is not local [INFO] [stdout] | [INFO] [stdout] ::: steit/src/impls/varint.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | const $dummy: () = { [INFO] [stdout] | ---------------- move the `impl` block outside of this constant `_I8_IMPLS` [INFO] [stdout] ... [INFO] [stdout] 126 | impl_signed_varint!(i8, _I8_IMPLS, u8, "SByte"); [INFO] [stdout] | ----------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_serialize_primitive` defines the non-local `impl`, and may need to be changed [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 macro `$crate::impl_serialize_primitive` which comes from the expansion of the macro `impl_signed_varint` (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] --> steit/src/impls/varint.rs:79:52 [INFO] [stdout] | [INFO] [stdout] 78 | const $dummy: () = { [INFO] [stdout] | ---------------- move the `impl` block outside of this constant `_I8_IMPLS` [INFO] [stdout] 79 | impl $crate::wire_fmt::HasWireType for $type { [INFO] [stdout] | ____________________________________________________^ [INFO] [stdout] 80 | | const WIRE_TYPE: $crate::wire_fmt::WireType = $crate::wire_fmt::WireType::Varint; [INFO] [stdout] ... | [INFO] [stdout] 109 | | impl $crate::de::Deserialize for $type { [INFO] [stdout] | | ^ ----------------------- `Deserialize` is not local [INFO] [stdout] | |____________| [INFO] [stdout] | [INFO] [stdout] ... [INFO] [stdout] 126 | impl_signed_varint!(i8, _I8_IMPLS, u8, "SByte"); [INFO] [stdout] | ----------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_signed_varint` defines the non-local `impl`, and may need to be changed [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 macro `impl_signed_varint` (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] --> steit/src/impls/macros.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | impl $crate::state::State for $type { [INFO] [stdout] | ^ -------------------- `State` is not local [INFO] [stdout] | [INFO] [stdout] ::: steit/src/impls/varint.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | const $dummy: () = { [INFO] [stdout] | ---------------- move the `impl` block outside of this constant `_I8_IMPLS` [INFO] [stdout] ... [INFO] [stdout] 126 | impl_signed_varint!(i8, _I8_IMPLS, u8, "SByte"); [INFO] [stdout] | ----------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_state_primitive` defines the non-local `impl`, and may need to be changed [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 macro `$crate::impl_state_primitive` which comes from the expansion of the macro `impl_signed_varint` (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] --> steit/src/impls/macros.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | impl $crate::meta::HasMeta for $type { [INFO] [stdout] | ^ --------------------- `HasMeta` is not local [INFO] [stdout] | [INFO] [stdout] ::: steit/src/impls/varint.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | const $dummy: () = { [INFO] [stdout] | ---------------- move the `impl` block outside of this constant `_I8_IMPLS` [INFO] [stdout] ... [INFO] [stdout] 126 | impl_signed_varint!(i8, _I8_IMPLS, u8, "SByte"); [INFO] [stdout] | ----------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_meta_primitive` defines the non-local `impl`, and may need to be changed [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 macro `$crate::impl_meta_primitive` which comes from the expansion of the macro `impl_signed_varint` (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] --> steit/src/impls/varint.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 78 | const $dummy: () = { [INFO] [stdout] | ---------------- move the `impl` block outside of this constant `_I16_IMPLS` [INFO] [stdout] 79 | impl $crate::wire_fmt::HasWireType for $type { [INFO] [stdout] | ^^^^^-----------------------------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `HasWireType` is not local [INFO] [stdout] ... [INFO] [stdout] 127 | impl_signed_varint!(i16, _I16_IMPLS, u16, "Int16"); [INFO] [stdout] | -------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_signed_varint` defines the non-local `impl`, and may need to be changed [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 macro `impl_signed_varint` (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] --> steit/src/impls/macros.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | impl $crate::ser::Serialize for $type { [INFO] [stdout] | ^ ---------------------- `Serialize` is not local [INFO] [stdout] | [INFO] [stdout] ::: steit/src/impls/varint.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | const $dummy: () = { [INFO] [stdout] | ---------------- move the `impl` block outside of this constant `_I16_IMPLS` [INFO] [stdout] ... [INFO] [stdout] 127 | impl_signed_varint!(i16, _I16_IMPLS, u16, "Int16"); [INFO] [stdout] | -------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_serialize_primitive` defines the non-local `impl`, and may need to be changed [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 macro `$crate::impl_serialize_primitive` which comes from the expansion of the macro `impl_signed_varint` (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] --> steit/src/impls/varint.rs:79:52 [INFO] [stdout] | [INFO] [stdout] 78 | const $dummy: () = { [INFO] [stdout] | ---------------- move the `impl` block outside of this constant `_I16_IMPLS` [INFO] [stdout] 79 | impl $crate::wire_fmt::HasWireType for $type { [INFO] [stdout] | ____________________________________________________^ [INFO] [stdout] 80 | | const WIRE_TYPE: $crate::wire_fmt::WireType = $crate::wire_fmt::WireType::Varint; [INFO] [stdout] ... | [INFO] [stdout] 109 | | impl $crate::de::Deserialize for $type { [INFO] [stdout] | | ^ ----------------------- `Deserialize` is not local [INFO] [stdout] | |____________| [INFO] [stdout] | [INFO] [stdout] ... [INFO] [stdout] 127 | impl_signed_varint!(i16, _I16_IMPLS, u16, "Int16"); [INFO] [stdout] | -------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_signed_varint` defines the non-local `impl`, and may need to be changed [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 macro `impl_signed_varint` (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] --> steit/src/impls/macros.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | impl $crate::state::State for $type { [INFO] [stdout] | ^ -------------------- `State` is not local [INFO] [stdout] | [INFO] [stdout] ::: steit/src/impls/varint.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | const $dummy: () = { [INFO] [stdout] | ---------------- move the `impl` block outside of this constant `_I16_IMPLS` [INFO] [stdout] ... [INFO] [stdout] 127 | impl_signed_varint!(i16, _I16_IMPLS, u16, "Int16"); [INFO] [stdout] | -------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_state_primitive` defines the non-local `impl`, and may need to be changed [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 macro `$crate::impl_state_primitive` which comes from the expansion of the macro `impl_signed_varint` (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] --> steit/src/impls/macros.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | impl $crate::meta::HasMeta for $type { [INFO] [stdout] | ^ --------------------- `HasMeta` is not local [INFO] [stdout] | [INFO] [stdout] ::: steit/src/impls/varint.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | const $dummy: () = { [INFO] [stdout] | ---------------- move the `impl` block outside of this constant `_I16_IMPLS` [INFO] [stdout] ... [INFO] [stdout] 127 | impl_signed_varint!(i16, _I16_IMPLS, u16, "Int16"); [INFO] [stdout] | -------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_meta_primitive` defines the non-local `impl`, and may need to be changed [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 macro `$crate::impl_meta_primitive` which comes from the expansion of the macro `impl_signed_varint` (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] --> steit/src/impls/varint.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 78 | const $dummy: () = { [INFO] [stdout] | ---------------- move the `impl` block outside of this constant `_I32_IMPLS` [INFO] [stdout] 79 | impl $crate::wire_fmt::HasWireType for $type { [INFO] [stdout] | ^^^^^-----------------------------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `HasWireType` is not local [INFO] [stdout] ... [INFO] [stdout] 128 | impl_signed_varint!(i32, _I32_IMPLS, u32, "Int32"); [INFO] [stdout] | -------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_signed_varint` defines the non-local `impl`, and may need to be changed [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 macro `impl_signed_varint` (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] --> steit/src/impls/macros.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | impl $crate::ser::Serialize for $type { [INFO] [stdout] | ^ ---------------------- `Serialize` is not local [INFO] [stdout] | [INFO] [stdout] ::: steit/src/impls/varint.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | const $dummy: () = { [INFO] [stdout] | ---------------- move the `impl` block outside of this constant `_I32_IMPLS` [INFO] [stdout] ... [INFO] [stdout] 128 | impl_signed_varint!(i32, _I32_IMPLS, u32, "Int32"); [INFO] [stdout] | -------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_serialize_primitive` defines the non-local `impl`, and may need to be changed [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 macro `$crate::impl_serialize_primitive` which comes from the expansion of the macro `impl_signed_varint` (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] --> steit/src/impls/varint.rs:79:52 [INFO] [stdout] | [INFO] [stdout] 78 | const $dummy: () = { [INFO] [stdout] | ---------------- move the `impl` block outside of this constant `_I32_IMPLS` [INFO] [stdout] 79 | impl $crate::wire_fmt::HasWireType for $type { [INFO] [stdout] | ____________________________________________________^ [INFO] [stdout] 80 | | const WIRE_TYPE: $crate::wire_fmt::WireType = $crate::wire_fmt::WireType::Varint; [INFO] [stdout] ... | [INFO] [stdout] 109 | | impl $crate::de::Deserialize for $type { [INFO] [stdout] | | ^ ----------------------- `Deserialize` is not local [INFO] [stdout] | |____________| [INFO] [stdout] | [INFO] [stdout] ... [INFO] [stdout] 128 | impl_signed_varint!(i32, _I32_IMPLS, u32, "Int32"); [INFO] [stdout] | -------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_signed_varint` defines the non-local `impl`, and may need to be changed [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 macro `impl_signed_varint` (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] --> steit/src/impls/macros.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | impl $crate::state::State for $type { [INFO] [stdout] | ^ -------------------- `State` is not local [INFO] [stdout] | [INFO] [stdout] ::: steit/src/impls/varint.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | const $dummy: () = { [INFO] [stdout] | ---------------- move the `impl` block outside of this constant `_I32_IMPLS` [INFO] [stdout] ... [INFO] [stdout] 128 | impl_signed_varint!(i32, _I32_IMPLS, u32, "Int32"); [INFO] [stdout] | -------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_state_primitive` defines the non-local `impl`, and may need to be changed [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 macro `$crate::impl_state_primitive` which comes from the expansion of the macro `impl_signed_varint` (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] --> steit/src/impls/macros.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | impl $crate::meta::HasMeta for $type { [INFO] [stdout] | ^ --------------------- `HasMeta` is not local [INFO] [stdout] | [INFO] [stdout] ::: steit/src/impls/varint.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | const $dummy: () = { [INFO] [stdout] | ---------------- move the `impl` block outside of this constant `_I32_IMPLS` [INFO] [stdout] ... [INFO] [stdout] 128 | impl_signed_varint!(i32, _I32_IMPLS, u32, "Int32"); [INFO] [stdout] | -------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_meta_primitive` defines the non-local `impl`, and may need to be changed [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 macro `$crate::impl_meta_primitive` which comes from the expansion of the macro `impl_signed_varint` (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] --> steit/src/impls/varint.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 78 | const $dummy: () = { [INFO] [stdout] | ---------------- move the `impl` block outside of this constant `_I64_IMPLS` [INFO] [stdout] 79 | impl $crate::wire_fmt::HasWireType for $type { [INFO] [stdout] | ^^^^^-----------------------------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `HasWireType` is not local [INFO] [stdout] ... [INFO] [stdout] 129 | impl_signed_varint!(i64, _I64_IMPLS, u64, "Int64"); [INFO] [stdout] | -------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_signed_varint` defines the non-local `impl`, and may need to be changed [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 macro `impl_signed_varint` (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] --> steit/src/impls/macros.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | impl $crate::ser::Serialize for $type { [INFO] [stdout] | ^ ---------------------- `Serialize` is not local [INFO] [stdout] | [INFO] [stdout] ::: steit/src/impls/varint.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | const $dummy: () = { [INFO] [stdout] | ---------------- move the `impl` block outside of this constant `_I64_IMPLS` [INFO] [stdout] ... [INFO] [stdout] 129 | impl_signed_varint!(i64, _I64_IMPLS, u64, "Int64"); [INFO] [stdout] | -------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_serialize_primitive` defines the non-local `impl`, and may need to be changed [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 macro `$crate::impl_serialize_primitive` which comes from the expansion of the macro `impl_signed_varint` (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] --> steit/src/impls/varint.rs:79:52 [INFO] [stdout] | [INFO] [stdout] 78 | const $dummy: () = { [INFO] [stdout] | ---------------- move the `impl` block outside of this constant `_I64_IMPLS` [INFO] [stdout] 79 | impl $crate::wire_fmt::HasWireType for $type { [INFO] [stdout] | ____________________________________________________^ [INFO] [stdout] 80 | | const WIRE_TYPE: $crate::wire_fmt::WireType = $crate::wire_fmt::WireType::Varint; [INFO] [stdout] ... | [INFO] [stdout] 109 | | impl $crate::de::Deserialize for $type { [INFO] [stdout] | | ^ ----------------------- `Deserialize` is not local [INFO] [stdout] | |____________| [INFO] [stdout] | [INFO] [stdout] ... [INFO] [stdout] 129 | impl_signed_varint!(i64, _I64_IMPLS, u64, "Int64"); [INFO] [stdout] | -------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_signed_varint` defines the non-local `impl`, and may need to be changed [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 macro `impl_signed_varint` (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] --> steit/src/impls/macros.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | impl $crate::state::State for $type { [INFO] [stdout] | ^ -------------------- `State` is not local [INFO] [stdout] | [INFO] [stdout] ::: steit/src/impls/varint.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | const $dummy: () = { [INFO] [stdout] | ---------------- move the `impl` block outside of this constant `_I64_IMPLS` [INFO] [stdout] ... [INFO] [stdout] 129 | impl_signed_varint!(i64, _I64_IMPLS, u64, "Int64"); [INFO] [stdout] | -------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_state_primitive` defines the non-local `impl`, and may need to be changed [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 macro `$crate::impl_state_primitive` which comes from the expansion of the macro `impl_signed_varint` (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] --> steit/src/impls/macros.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | impl $crate::meta::HasMeta for $type { [INFO] [stdout] | ^ --------------------- `HasMeta` is not local [INFO] [stdout] | [INFO] [stdout] ::: steit/src/impls/varint.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | const $dummy: () = { [INFO] [stdout] | ---------------- move the `impl` block outside of this constant `_I64_IMPLS` [INFO] [stdout] ... [INFO] [stdout] 129 | impl_signed_varint!(i64, _I64_IMPLS, u64, "Int64"); [INFO] [stdout] | -------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_meta_primitive` defines the non-local `impl`, and may need to be changed [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 macro `$crate::impl_meta_primitive` which comes from the expansion of the macro `impl_signed_varint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `steit` (lib) due to 5 previous errors; 58 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> steit/src/gen/setting.rs:35:26 [INFO] [stdout] | [INFO] [stdout] 13 | impl Deref for Setting { [INFO] [stdout] | ---------------------------- trait implemented here [INFO] [stdout] 14 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn get_name_rust(mut self) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D inherent-method-on-receiver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> steit/src/gen/setting.rs:40:28 [INFO] [stdout] | [INFO] [stdout] 13 | impl Deref for Setting { [INFO] [stdout] | ---------------------------- trait implemented here [INFO] [stdout] 14 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn get_name_csharp(mut self) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> steit/src/gen/setting.rs:45:26 [INFO] [stdout] | [INFO] [stdout] 13 | impl Deref for Setting { [INFO] [stdout] | ---------------------------- trait implemented here [INFO] [stdout] 14 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn skip_builtins(mut self, skip_builtins: bool) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> steit/src/gen/setting.rs:50:23 [INFO] [stdout] | [INFO] [stdout] 13 | impl Deref for Setting { [INFO] [stdout] | ---------------------------- trait implemented here [INFO] [stdout] 14 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn skip_names(mut self, skip_names: impl IntoIterator) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> steit/src/log/entry.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | #[steit_derive(Clone, Debug, Serialize, Deserialize, JsonSerialize)] [INFO] [stdout] | ^------------------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_STEIT_FOR_LOG_ENTRY` [INFO] [stdout] 20 | #[steit(steit_owned, ctor_prefix = "empty")] [INFO] [stdout] 21 | pub enum LogEntry { [INFO] [stdout] | -------- `LogEntry` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `steit_derive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `steit_derive` may come from an old version of the `steit_derive` crate, try updating your dependency with `cargo update -p steit_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 attribute macro `steit_derive` (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] --> steit/src/log/entry.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | #[steit_derive(Clone, Debug, Serialize, Deserialize, JsonSerialize)] [INFO] [stdout] | ^------------------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | `Default` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_STEIT_FOR_LOG_ENTRY` [INFO] [stdout] 20 | #[steit(steit_owned, ctor_prefix = "empty")] [INFO] [stdout] 21 | pub enum LogEntry { [INFO] [stdout] | -------- `LogEntry` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `steit_derive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `steit_derive` may come from an old version of the `steit_derive` crate, try updating your dependency with `cargo update -p steit_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 attribute macro `steit_derive` (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] --> steit/src/log/entry.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | #[steit_derive(Clone, Debug, Serialize, Deserialize, JsonSerialize)] [INFO] [stdout] | ^------------------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | `HasWireType` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_STEIT_FOR_LOG_ENTRY` [INFO] [stdout] 20 | #[steit(steit_owned, ctor_prefix = "empty")] [INFO] [stdout] 21 | pub enum LogEntry { [INFO] [stdout] | -------- `LogEntry` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `steit_derive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `steit_derive` may come from an old version of the `steit_derive` crate, try updating your dependency with `cargo update -p steit_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 attribute macro `steit_derive` (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] --> steit/src/log/entry.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | #[steit_derive(Clone, Debug, Serialize, Deserialize, JsonSerialize)] [INFO] [stdout] | ^------------------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_STEIT_FOR_LOG_ENTRY` [INFO] [stdout] 20 | #[steit(steit_owned, ctor_prefix = "empty")] [INFO] [stdout] 21 | pub enum LogEntry { [INFO] [stdout] | -------- `LogEntry` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `steit_derive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `steit_derive` may come from an old version of the `steit_derive` crate, try updating your dependency with `cargo update -p steit_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 attribute macro `steit_derive` (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] --> steit/src/log/entry.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | #[steit_derive(Clone, Debug, Serialize, Deserialize, JsonSerialize)] [INFO] [stdout] | ^------------------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_STEIT_FOR_LOG_ENTRY` [INFO] [stdout] 20 | #[steit(steit_owned, ctor_prefix = "empty")] [INFO] [stdout] 21 | pub enum LogEntry { [INFO] [stdout] | -------- `LogEntry` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `steit_derive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `steit_derive` may come from an old version of the `steit_derive` crate, try updating your dependency with `cargo update -p steit_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 attribute macro `steit_derive` (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] --> steit/src/log/entry.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | #[steit_derive(Clone, Debug, Serialize, Deserialize, JsonSerialize)] [INFO] [stdout] | ^------------------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | `HasMeta` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_STEIT_FOR_LOG_ENTRY` [INFO] [stdout] 20 | #[steit(steit_owned, ctor_prefix = "empty")] [INFO] [stdout] 21 | pub enum LogEntry { [INFO] [stdout] | -------- `LogEntry` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `steit_derive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `steit_derive` may come from an old version of the `steit_derive` crate, try updating your dependency with `cargo update -p steit_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 attribute macro `steit_derive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> steit/src/rt/logger.rs:26:20 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn replace(&mut self, inner: T) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | impl Deref for RuntimeLogger { [INFO] [stdout] | ------------------------------------------ trait implemented here [INFO] [stdout] 57 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> steit/src/types/list.rs:113:21 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn iter_mut(&mut self) -> slice::IterMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 113 | pub fn iter_mut(&mut self) -> slice::IterMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> steit/src/types/map/map.rs:81:17 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn iter(&self) -> MapIter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 81 | pub fn iter(&self) -> MapIter<'_, K, V> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> steit/src/types/map/map.rs:85:21 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn iter_mut(&mut self) -> MapIterMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 85 | pub fn iter_mut(&mut self) -> MapIterMut<'_, K, V> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> steit/src/types/maybe.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[steit_derive(Clone, PartialEq, Eq, Hash, Debug, State, JsonSerialize)] [INFO] [stdout] | ^----------------------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_STEIT_FOR_MAYBE` [INFO] [stdout] 10 | #[steit(steit_owned)] [INFO] [stdout] 11 | pub enum Maybe { [INFO] [stdout] | ----- `Maybe` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `steit_derive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `steit_derive` may come from an old version of the `steit_derive` crate, try updating your dependency with `cargo update -p steit_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 attribute macro `steit_derive` (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] --> steit/src/types/maybe.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[steit_derive(Clone, PartialEq, Eq, Hash, Debug, State, JsonSerialize)] [INFO] [stdout] | ^----------------------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | `PartialEq` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_STEIT_FOR_MAYBE` [INFO] [stdout] 10 | #[steit(steit_owned)] [INFO] [stdout] 11 | pub enum Maybe { [INFO] [stdout] | ----- `Maybe` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `steit_derive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `steit_derive` may come from an old version of the `steit_derive` crate, try updating your dependency with `cargo update -p steit_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 attribute macro `steit_derive` (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] --> steit/src/types/maybe.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[steit_derive(Clone, PartialEq, Eq, Hash, Debug, State, JsonSerialize)] [INFO] [stdout] | ^----------------------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | `Default` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_STEIT_FOR_MAYBE` [INFO] [stdout] 10 | #[steit(steit_owned)] [INFO] [stdout] 11 | pub enum Maybe { [INFO] [stdout] | ----- `Maybe` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `steit_derive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `steit_derive` may come from an old version of the `steit_derive` crate, try updating your dependency with `cargo update -p steit_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 attribute macro `steit_derive` (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] --> steit/src/types/maybe.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[steit_derive(Clone, PartialEq, Eq, Hash, Debug, State, JsonSerialize)] [INFO] [stdout] | ^----------------------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | `Hash` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_STEIT_FOR_MAYBE` [INFO] [stdout] 10 | #[steit(steit_owned)] [INFO] [stdout] 11 | pub enum Maybe { [INFO] [stdout] | ----- `Maybe` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `steit_derive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `steit_derive` may come from an old version of the `steit_derive` crate, try updating your dependency with `cargo update -p steit_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 attribute macro `steit_derive` (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] --> steit/src/types/maybe.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[steit_derive(Clone, PartialEq, Eq, Hash, Debug, State, JsonSerialize)] [INFO] [stdout] | ^----------------------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | `HasWireType` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_STEIT_FOR_MAYBE` [INFO] [stdout] 10 | #[steit(steit_owned)] [INFO] [stdout] 11 | pub enum Maybe { [INFO] [stdout] | ----- `Maybe` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `steit_derive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `steit_derive` may come from an old version of the `steit_derive` crate, try updating your dependency with `cargo update -p steit_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 attribute macro `steit_derive` (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] --> steit/src/types/maybe.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[steit_derive(Clone, PartialEq, Eq, Hash, Debug, State, JsonSerialize)] [INFO] [stdout] | ^----------------------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_STEIT_FOR_MAYBE` [INFO] [stdout] 10 | #[steit(steit_owned)] [INFO] [stdout] 11 | pub enum Maybe { [INFO] [stdout] | ----- `Maybe` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `steit_derive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `steit_derive` may come from an old version of the `steit_derive` crate, try updating your dependency with `cargo update -p steit_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 attribute macro `steit_derive` (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] --> steit/src/types/maybe.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[steit_derive(Clone, PartialEq, Eq, Hash, Debug, State, JsonSerialize)] [INFO] [stdout] | ^----------------------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_STEIT_FOR_MAYBE` [INFO] [stdout] 10 | #[steit(steit_owned)] [INFO] [stdout] 11 | pub enum Maybe { [INFO] [stdout] | ----- `Maybe` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `steit_derive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `steit_derive` may come from an old version of the `steit_derive` crate, try updating your dependency with `cargo update -p steit_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 attribute macro `steit_derive` (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] --> steit/src/types/maybe.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[steit_derive(Clone, PartialEq, Eq, Hash, Debug, State, JsonSerialize)] [INFO] [stdout] | ^----------------------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | `State` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_STEIT_FOR_MAYBE` [INFO] [stdout] 10 | #[steit(steit_owned)] [INFO] [stdout] 11 | pub enum Maybe { [INFO] [stdout] | ----- `Maybe` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `steit_derive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `steit_derive` may come from an old version of the `steit_derive` crate, try updating your dependency with `cargo update -p steit_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 attribute macro `steit_derive` (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] --> steit/src/types/maybe.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[steit_derive(Clone, PartialEq, Eq, Hash, Debug, State, JsonSerialize)] [INFO] [stdout] | ^----------------------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | `HasMeta` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_STEIT_FOR_MAYBE` [INFO] [stdout] 10 | #[steit(steit_owned)] [INFO] [stdout] 11 | pub enum Maybe { [INFO] [stdout] | ----- `Maybe` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `steit_derive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `steit_derive` may come from an old version of the `steit_derive` crate, try updating your dependency with `cargo update -p steit_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 attribute macro `steit_derive` (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] --> steit/src/impls/varint.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 11 | const $dummy: () = { [INFO] [stdout] | ---------------- move the `impl` block outside of this constant `_U8_IMPLS` [INFO] [stdout] 12 | impl $crate::wire_fmt::HasWireType for $type { [INFO] [stdout] | ^ ----------------------------- `HasWireType` is not local [INFO] [stdout] ... [INFO] [stdout] 71 | impl_unsigned_varint!(u8, _U8_IMPLS, "Byte"); [INFO] [stdout] | -------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_unsigned_varint` defines the non-local `impl`, and may need to be changed [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 macro `impl_unsigned_varint` (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] --> steit/src/impls/macros.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | impl $crate::ser::Serialize for $type { [INFO] [stdout] | ^ ---------------------- `Serialize` is not local [INFO] [stdout] | [INFO] [stdout] ::: steit/src/impls/varint.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | const $dummy: () = { [INFO] [stdout] | ---------------- move the `impl` block outside of this constant `_U8_IMPLS` [INFO] [stdout] ... [INFO] [stdout] 71 | impl_unsigned_varint!(u8, _U8_IMPLS, "Byte"); [INFO] [stdout] | -------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_serialize_primitive` defines the non-local `impl`, and may need to be changed [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 macro `$crate::impl_serialize_primitive` which comes from the expansion of the macro `impl_unsigned_varint` (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] --> steit/src/impls/varint.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 11 | const $dummy: () = { [INFO] [stdout] | ---------------- move the `impl` block outside of this constant `_U8_IMPLS` [INFO] [stdout] ... [INFO] [stdout] 39 | impl $crate::de::Deserialize for $type { [INFO] [stdout] | ^ ----------------------- `Deserialize` is not local [INFO] [stdout] ... [INFO] [stdout] 71 | impl_unsigned_varint!(u8, _U8_IMPLS, "Byte"); [INFO] [stdout] | -------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_unsigned_varint` defines the non-local `impl`, and may need to be changed [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 macro `impl_unsigned_varint` (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] --> steit/src/impls/macros.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | impl $crate::state::State for $type { [INFO] [stdout] | ^ -------------------- `State` is not local [INFO] [stdout] | [INFO] [stdout] ::: steit/src/impls/varint.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | const $dummy: () = { [INFO] [stdout] | ---------------- move the `impl` block outside of this constant `_U8_IMPLS` [INFO] [stdout] ... [INFO] [stdout] 71 | impl_unsigned_varint!(u8, _U8_IMPLS, "Byte"); [INFO] [stdout] | -------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_state_primitive` defines the non-local `impl`, and may need to be changed [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 macro `$crate::impl_state_primitive` which comes from the expansion of the macro `impl_unsigned_varint` (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] --> steit/src/impls/macros.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | impl $crate::meta::HasMeta for $type { [INFO] [stdout] | ^ --------------------- `HasMeta` is not local [INFO] [stdout] | [INFO] [stdout] ::: steit/src/impls/varint.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | const $dummy: () = { [INFO] [stdout] | ---------------- move the `impl` block outside of this constant `_U8_IMPLS` [INFO] [stdout] ... [INFO] [stdout] 71 | impl_unsigned_varint!(u8, _U8_IMPLS, "Byte"); [INFO] [stdout] | -------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_meta_primitive` defines the non-local `impl`, and may need to be changed [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 macro `$crate::impl_meta_primitive` which comes from the expansion of the macro `impl_unsigned_varint` (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] --> steit/src/impls/varint.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 11 | const $dummy: () = { [INFO] [stdout] | ---------------- move the `impl` block outside of this constant `_U16_IMPLS` [INFO] [stdout] 12 | impl $crate::wire_fmt::HasWireType for $type { [INFO] [stdout] | ^ ----------------------------- `HasWireType` is not local [INFO] [stdout] ... [INFO] [stdout] 72 | impl_unsigned_varint!(u16, _U16_IMPLS, "UInt16"); [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_unsigned_varint` defines the non-local `impl`, and may need to be changed [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 macro `impl_unsigned_varint` (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] --> steit/src/impls/macros.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | impl $crate::ser::Serialize for $type { [INFO] [stdout] | ^ ---------------------- `Serialize` is not local [INFO] [stdout] | [INFO] [stdout] ::: steit/src/impls/varint.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | const $dummy: () = { [INFO] [stdout] | ---------------- move the `impl` block outside of this constant `_U16_IMPLS` [INFO] [stdout] ... [INFO] [stdout] 72 | impl_unsigned_varint!(u16, _U16_IMPLS, "UInt16"); [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_serialize_primitive` defines the non-local `impl`, and may need to be changed [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 macro `$crate::impl_serialize_primitive` which comes from the expansion of the macro `impl_unsigned_varint` (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] --> steit/src/impls/varint.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 11 | const $dummy: () = { [INFO] [stdout] | ---------------- move the `impl` block outside of this constant `_U16_IMPLS` [INFO] [stdout] ... [INFO] [stdout] 39 | impl $crate::de::Deserialize for $type { [INFO] [stdout] | ^ ----------------------- `Deserialize` is not local [INFO] [stdout] ... [INFO] [stdout] 72 | impl_unsigned_varint!(u16, _U16_IMPLS, "UInt16"); [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_unsigned_varint` defines the non-local `impl`, and may need to be changed [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 macro `impl_unsigned_varint` (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] --> steit/src/impls/macros.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | impl $crate::state::State for $type { [INFO] [stdout] | ^ -------------------- `State` is not local [INFO] [stdout] | [INFO] [stdout] ::: steit/src/impls/varint.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | const $dummy: () = { [INFO] [stdout] | ---------------- move the `impl` block outside of this constant `_U16_IMPLS` [INFO] [stdout] ... [INFO] [stdout] 72 | impl_unsigned_varint!(u16, _U16_IMPLS, "UInt16"); [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_state_primitive` defines the non-local `impl`, and may need to be changed [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 macro `$crate::impl_state_primitive` which comes from the expansion of the macro `impl_unsigned_varint` (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] --> steit/src/impls/macros.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | impl $crate::meta::HasMeta for $type { [INFO] [stdout] | ^ --------------------- `HasMeta` is not local [INFO] [stdout] | [INFO] [stdout] ::: steit/src/impls/varint.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | const $dummy: () = { [INFO] [stdout] | ---------------- move the `impl` block outside of this constant `_U16_IMPLS` [INFO] [stdout] ... [INFO] [stdout] 72 | impl_unsigned_varint!(u16, _U16_IMPLS, "UInt16"); [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_meta_primitive` defines the non-local `impl`, and may need to be changed [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 macro `$crate::impl_meta_primitive` which comes from the expansion of the macro `impl_unsigned_varint` (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] --> steit/src/impls/varint.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 11 | const $dummy: () = { [INFO] [stdout] | ---------------- move the `impl` block outside of this constant `_U32_IMPLS` [INFO] [stdout] 12 | impl $crate::wire_fmt::HasWireType for $type { [INFO] [stdout] | ^ ----------------------------- `HasWireType` is not local [INFO] [stdout] ... [INFO] [stdout] 73 | impl_unsigned_varint!(u32, _U32_IMPLS, "UInt32"); [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_unsigned_varint` defines the non-local `impl`, and may need to be changed [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 macro `impl_unsigned_varint` (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] --> steit/src/impls/macros.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | impl $crate::ser::Serialize for $type { [INFO] [stdout] | ^ ---------------------- `Serialize` is not local [INFO] [stdout] | [INFO] [stdout] ::: steit/src/impls/varint.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | const $dummy: () = { [INFO] [stdout] | ---------------- move the `impl` block outside of this constant `_U32_IMPLS` [INFO] [stdout] ... [INFO] [stdout] 73 | impl_unsigned_varint!(u32, _U32_IMPLS, "UInt32"); [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_serialize_primitive` defines the non-local `impl`, and may need to be changed [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 macro `$crate::impl_serialize_primitive` which comes from the expansion of the macro `impl_unsigned_varint` (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] --> steit/src/impls/varint.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 11 | const $dummy: () = { [INFO] [stdout] | ---------------- move the `impl` block outside of this constant `_U32_IMPLS` [INFO] [stdout] ... [INFO] [stdout] 39 | impl $crate::de::Deserialize for $type { [INFO] [stdout] | ^ ----------------------- `Deserialize` is not local [INFO] [stdout] ... [INFO] [stdout] 73 | impl_unsigned_varint!(u32, _U32_IMPLS, "UInt32"); [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_unsigned_varint` defines the non-local `impl`, and may need to be changed [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 macro `impl_unsigned_varint` (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] --> steit/src/impls/macros.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | impl $crate::state::State for $type { [INFO] [stdout] | ^ -------------------- `State` is not local [INFO] [stdout] | [INFO] [stdout] ::: steit/src/impls/varint.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | const $dummy: () = { [INFO] [stdout] | ---------------- move the `impl` block outside of this constant `_U32_IMPLS` [INFO] [stdout] ... [INFO] [stdout] 73 | impl_unsigned_varint!(u32, _U32_IMPLS, "UInt32"); [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_state_primitive` defines the non-local `impl`, and may need to be changed [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 macro `$crate::impl_state_primitive` which comes from the expansion of the macro `impl_unsigned_varint` (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] --> steit/src/impls/macros.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | impl $crate::meta::HasMeta for $type { [INFO] [stdout] | ^ --------------------- `HasMeta` is not local [INFO] [stdout] | [INFO] [stdout] ::: steit/src/impls/varint.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | const $dummy: () = { [INFO] [stdout] | ---------------- move the `impl` block outside of this constant `_U32_IMPLS` [INFO] [stdout] ... [INFO] [stdout] 73 | impl_unsigned_varint!(u32, _U32_IMPLS, "UInt32"); [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_meta_primitive` defines the non-local `impl`, and may need to be changed [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 macro `$crate::impl_meta_primitive` which comes from the expansion of the macro `impl_unsigned_varint` (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] --> steit/src/impls/varint.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 11 | const $dummy: () = { [INFO] [stdout] | ---------------- move the `impl` block outside of this constant `_U64_IMPLS` [INFO] [stdout] 12 | impl $crate::wire_fmt::HasWireType for $type { [INFO] [stdout] | ^^^^^-----------------------------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `HasWireType` is not local [INFO] [stdout] ... [INFO] [stdout] 74 | impl_unsigned_varint!(u64, _U64_IMPLS, "UInt64"); [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_unsigned_varint` defines the non-local `impl`, and may need to be changed [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 macro `impl_unsigned_varint` (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] --> steit/src/impls/macros.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | impl $crate::ser::Serialize for $type { [INFO] [stdout] | ^ ---------------------- `Serialize` is not local [INFO] [stdout] | [INFO] [stdout] ::: steit/src/impls/varint.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | const $dummy: () = { [INFO] [stdout] | ---------------- move the `impl` block outside of this constant `_U64_IMPLS` [INFO] [stdout] ... [INFO] [stdout] 74 | impl_unsigned_varint!(u64, _U64_IMPLS, "UInt64"); [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_serialize_primitive` defines the non-local `impl`, and may need to be changed [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 macro `$crate::impl_serialize_primitive` which comes from the expansion of the macro `impl_unsigned_varint` (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] --> steit/src/impls/varint.rs:12:52 [INFO] [stdout] | [INFO] [stdout] 11 | const $dummy: () = { [INFO] [stdout] | ---------------- move the `impl` block outside of this constant `_U64_IMPLS` [INFO] [stdout] 12 | impl $crate::wire_fmt::HasWireType for $type { [INFO] [stdout] | ____________________________________________________^ [INFO] [stdout] 13 | | const WIRE_TYPE: $crate::wire_fmt::WireType = [INFO] [stdout] 14 | | $crate::wire_fmt::WireType::Varint; [INFO] [stdout] ... | [INFO] [stdout] 39 | | impl $crate::de::Deserialize for $type { [INFO] [stdout] | | ^ ----------------------- `Deserialize` is not local [INFO] [stdout] | |____________| [INFO] [stdout] | [INFO] [stdout] ... [INFO] [stdout] 74 | impl_unsigned_varint!(u64, _U64_IMPLS, "UInt64"); [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_unsigned_varint` defines the non-local `impl`, and may need to be changed [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 macro `impl_unsigned_varint` (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] --> steit/src/impls/macros.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | impl $crate::state::State for $type { [INFO] [stdout] | ^ -------------------- `State` is not local [INFO] [stdout] | [INFO] [stdout] ::: steit/src/impls/varint.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | const $dummy: () = { [INFO] [stdout] | ---------------- move the `impl` block outside of this constant `_U64_IMPLS` [INFO] [stdout] ... [INFO] [stdout] 74 | impl_unsigned_varint!(u64, _U64_IMPLS, "UInt64"); [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_state_primitive` defines the non-local `impl`, and may need to be changed [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 macro `$crate::impl_state_primitive` which comes from the expansion of the macro `impl_unsigned_varint` (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] --> steit/src/impls/macros.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | impl $crate::meta::HasMeta for $type { [INFO] [stdout] | ^ --------------------- `HasMeta` is not local [INFO] [stdout] | [INFO] [stdout] ::: steit/src/impls/varint.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | const $dummy: () = { [INFO] [stdout] | ---------------- move the `impl` block outside of this constant `_U64_IMPLS` [INFO] [stdout] ... [INFO] [stdout] 74 | impl_unsigned_varint!(u64, _U64_IMPLS, "UInt64"); [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_meta_primitive` defines the non-local `impl`, and may need to be changed [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 macro `$crate::impl_meta_primitive` which comes from the expansion of the macro `impl_unsigned_varint` (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] --> steit/src/impls/varint.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 78 | const $dummy: () = { [INFO] [stdout] | ---------------- move the `impl` block outside of this constant `_I8_IMPLS` [INFO] [stdout] 79 | impl $crate::wire_fmt::HasWireType for $type { [INFO] [stdout] | ^^^^^-----------------------------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `HasWireType` is not local [INFO] [stdout] ... [INFO] [stdout] 126 | impl_signed_varint!(i8, _I8_IMPLS, u8, "SByte"); [INFO] [stdout] | ----------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_signed_varint` defines the non-local `impl`, and may need to be changed [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 macro `impl_signed_varint` (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] --> steit/src/impls/macros.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | impl $crate::ser::Serialize for $type { [INFO] [stdout] | ^ ---------------------- `Serialize` is not local [INFO] [stdout] | [INFO] [stdout] ::: steit/src/impls/varint.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | const $dummy: () = { [INFO] [stdout] | ---------------- move the `impl` block outside of this constant `_I8_IMPLS` [INFO] [stdout] ... [INFO] [stdout] 126 | impl_signed_varint!(i8, _I8_IMPLS, u8, "SByte"); [INFO] [stdout] | ----------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_serialize_primitive` defines the non-local `impl`, and may need to be changed [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 macro `$crate::impl_serialize_primitive` which comes from the expansion of the macro `impl_signed_varint` (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] --> steit/src/impls/varint.rs:79:52 [INFO] [stdout] | [INFO] [stdout] 78 | const $dummy: () = { [INFO] [stdout] | ---------------- move the `impl` block outside of this constant `_I8_IMPLS` [INFO] [stdout] 79 | impl $crate::wire_fmt::HasWireType for $type { [INFO] [stdout] | ____________________________________________________^ [INFO] [stdout] 80 | | const WIRE_TYPE: $crate::wire_fmt::WireType = $crate::wire_fmt::WireType::Varint; [INFO] [stdout] ... | [INFO] [stdout] 109 | | impl $crate::de::Deserialize for $type { [INFO] [stdout] | | ^ ----------------------- `Deserialize` is not local [INFO] [stdout] | |____________| [INFO] [stdout] | [INFO] [stdout] ... [INFO] [stdout] 126 | impl_signed_varint!(i8, _I8_IMPLS, u8, "SByte"); [INFO] [stdout] | ----------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_signed_varint` defines the non-local `impl`, and may need to be changed [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 macro `impl_signed_varint` (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] --> steit/src/impls/macros.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | impl $crate::state::State for $type { [INFO] [stdout] | ^ -------------------- `State` is not local [INFO] [stdout] | [INFO] [stdout] ::: steit/src/impls/varint.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | const $dummy: () = { [INFO] [stdout] | ---------------- move the `impl` block outside of this constant `_I8_IMPLS` [INFO] [stdout] ... [INFO] [stdout] 126 | impl_signed_varint!(i8, _I8_IMPLS, u8, "SByte"); [INFO] [stdout] | ----------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_state_primitive` defines the non-local `impl`, and may need to be changed [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 macro `$crate::impl_state_primitive` which comes from the expansion of the macro `impl_signed_varint` (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] --> steit/src/impls/macros.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | impl $crate::meta::HasMeta for $type { [INFO] [stdout] | ^ --------------------- `HasMeta` is not local [INFO] [stdout] | [INFO] [stdout] ::: steit/src/impls/varint.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | const $dummy: () = { [INFO] [stdout] | ---------------- move the `impl` block outside of this constant `_I8_IMPLS` [INFO] [stdout] ... [INFO] [stdout] 126 | impl_signed_varint!(i8, _I8_IMPLS, u8, "SByte"); [INFO] [stdout] | ----------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_meta_primitive` defines the non-local `impl`, and may need to be changed [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 macro `$crate::impl_meta_primitive` which comes from the expansion of the macro `impl_signed_varint` (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] --> steit/src/impls/varint.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 78 | const $dummy: () = { [INFO] [stdout] | ---------------- move the `impl` block outside of this constant `_I16_IMPLS` [INFO] [stdout] 79 | impl $crate::wire_fmt::HasWireType for $type { [INFO] [stdout] | ^^^^^-----------------------------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `HasWireType` is not local [INFO] [stdout] ... [INFO] [stdout] 127 | impl_signed_varint!(i16, _I16_IMPLS, u16, "Int16"); [INFO] [stdout] | -------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_signed_varint` defines the non-local `impl`, and may need to be changed [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 macro `impl_signed_varint` (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] --> steit/src/impls/macros.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | impl $crate::ser::Serialize for $type { [INFO] [stdout] | ^ ---------------------- `Serialize` is not local [INFO] [stdout] | [INFO] [stdout] ::: steit/src/impls/varint.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | const $dummy: () = { [INFO] [stdout] | ---------------- move the `impl` block outside of this constant `_I16_IMPLS` [INFO] [stdout] ... [INFO] [stdout] 127 | impl_signed_varint!(i16, _I16_IMPLS, u16, "Int16"); [INFO] [stdout] | -------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_serialize_primitive` defines the non-local `impl`, and may need to be changed [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 macro `$crate::impl_serialize_primitive` which comes from the expansion of the macro `impl_signed_varint` (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] --> steit/src/impls/varint.rs:79:52 [INFO] [stdout] | [INFO] [stdout] 78 | const $dummy: () = { [INFO] [stdout] | ---------------- move the `impl` block outside of this constant `_I16_IMPLS` [INFO] [stdout] 79 | impl $crate::wire_fmt::HasWireType for $type { [INFO] [stdout] | ____________________________________________________^ [INFO] [stdout] 80 | | const WIRE_TYPE: $crate::wire_fmt::WireType = $crate::wire_fmt::WireType::Varint; [INFO] [stdout] ... | [INFO] [stdout] 109 | | impl $crate::de::Deserialize for $type { [INFO] [stdout] | | ^ ----------------------- `Deserialize` is not local [INFO] [stdout] | |____________| [INFO] [stdout] | [INFO] [stdout] ... [INFO] [stdout] 127 | impl_signed_varint!(i16, _I16_IMPLS, u16, "Int16"); [INFO] [stdout] | -------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_signed_varint` defines the non-local `impl`, and may need to be changed [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 macro `impl_signed_varint` (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] --> steit/src/impls/macros.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | impl $crate::state::State for $type { [INFO] [stdout] | ^ -------------------- `State` is not local [INFO] [stdout] | [INFO] [stdout] ::: steit/src/impls/varint.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | const $dummy: () = { [INFO] [stdout] | ---------------- move the `impl` block outside of this constant `_I16_IMPLS` [INFO] [stdout] ... [INFO] [stdout] 127 | impl_signed_varint!(i16, _I16_IMPLS, u16, "Int16"); [INFO] [stdout] | -------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_state_primitive` defines the non-local `impl`, and may need to be changed [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 macro `$crate::impl_state_primitive` which comes from the expansion of the macro `impl_signed_varint` (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] --> steit/src/impls/macros.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | impl $crate::meta::HasMeta for $type { [INFO] [stdout] | ^ --------------------- `HasMeta` is not local [INFO] [stdout] | [INFO] [stdout] ::: steit/src/impls/varint.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | const $dummy: () = { [INFO] [stdout] | ---------------- move the `impl` block outside of this constant `_I16_IMPLS` [INFO] [stdout] ... [INFO] [stdout] 127 | impl_signed_varint!(i16, _I16_IMPLS, u16, "Int16"); [INFO] [stdout] | -------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_meta_primitive` defines the non-local `impl`, and may need to be changed [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 macro `$crate::impl_meta_primitive` which comes from the expansion of the macro `impl_signed_varint` (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] --> steit/src/impls/varint.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 78 | const $dummy: () = { [INFO] [stdout] | ---------------- move the `impl` block outside of this constant `_I32_IMPLS` [INFO] [stdout] 79 | impl $crate::wire_fmt::HasWireType for $type { [INFO] [stdout] | ^^^^^-----------------------------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `HasWireType` is not local [INFO] [stdout] ... [INFO] [stdout] 128 | impl_signed_varint!(i32, _I32_IMPLS, u32, "Int32"); [INFO] [stdout] | -------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_signed_varint` defines the non-local `impl`, and may need to be changed [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 macro `impl_signed_varint` (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] --> steit/src/impls/macros.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | impl $crate::ser::Serialize for $type { [INFO] [stdout] | ^ ---------------------- `Serialize` is not local [INFO] [stdout] | [INFO] [stdout] ::: steit/src/impls/varint.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | const $dummy: () = { [INFO] [stdout] | ---------------- move the `impl` block outside of this constant `_I32_IMPLS` [INFO] [stdout] ... [INFO] [stdout] 128 | impl_signed_varint!(i32, _I32_IMPLS, u32, "Int32"); [INFO] [stdout] | -------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_serialize_primitive` defines the non-local `impl`, and may need to be changed [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 macro `$crate::impl_serialize_primitive` which comes from the expansion of the macro `impl_signed_varint` (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] --> steit/src/impls/varint.rs:79:52 [INFO] [stdout] | [INFO] [stdout] 78 | const $dummy: () = { [INFO] [stdout] | ---------------- move the `impl` block outside of this constant `_I32_IMPLS` [INFO] [stdout] 79 | impl $crate::wire_fmt::HasWireType for $type { [INFO] [stdout] | ____________________________________________________^ [INFO] [stdout] 80 | | const WIRE_TYPE: $crate::wire_fmt::WireType = $crate::wire_fmt::WireType::Varint; [INFO] [stdout] ... | [INFO] [stdout] 109 | | impl $crate::de::Deserialize for $type { [INFO] [stdout] | | ^ ----------------------- `Deserialize` is not local [INFO] [stdout] | |____________| [INFO] [stdout] | [INFO] [stdout] ... [INFO] [stdout] 128 | impl_signed_varint!(i32, _I32_IMPLS, u32, "Int32"); [INFO] [stdout] | -------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_signed_varint` defines the non-local `impl`, and may need to be changed [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 macro `impl_signed_varint` (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] --> steit/src/impls/macros.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | impl $crate::state::State for $type { [INFO] [stdout] | ^ -------------------- `State` is not local [INFO] [stdout] | [INFO] [stdout] ::: steit/src/impls/varint.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | const $dummy: () = { [INFO] [stdout] | ---------------- move the `impl` block outside of this constant `_I32_IMPLS` [INFO] [stdout] ... [INFO] [stdout] 128 | impl_signed_varint!(i32, _I32_IMPLS, u32, "Int32"); [INFO] [stdout] | -------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_state_primitive` defines the non-local `impl`, and may need to be changed [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 macro `$crate::impl_state_primitive` which comes from the expansion of the macro `impl_signed_varint` (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] --> steit/src/impls/macros.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | impl $crate::meta::HasMeta for $type { [INFO] [stdout] | ^ --------------------- `HasMeta` is not local [INFO] [stdout] | [INFO] [stdout] ::: steit/src/impls/varint.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | const $dummy: () = { [INFO] [stdout] | ---------------- move the `impl` block outside of this constant `_I32_IMPLS` [INFO] [stdout] ... [INFO] [stdout] 128 | impl_signed_varint!(i32, _I32_IMPLS, u32, "Int32"); [INFO] [stdout] | -------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_meta_primitive` defines the non-local `impl`, and may need to be changed [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 macro `$crate::impl_meta_primitive` which comes from the expansion of the macro `impl_signed_varint` (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] --> steit/src/impls/varint.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 78 | const $dummy: () = { [INFO] [stdout] | ---------------- move the `impl` block outside of this constant `_I64_IMPLS` [INFO] [stdout] 79 | impl $crate::wire_fmt::HasWireType for $type { [INFO] [stdout] | ^^^^^-----------------------------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `HasWireType` is not local [INFO] [stdout] ... [INFO] [stdout] 129 | impl_signed_varint!(i64, _I64_IMPLS, u64, "Int64"); [INFO] [stdout] | -------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_signed_varint` defines the non-local `impl`, and may need to be changed [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 macro `impl_signed_varint` (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] --> steit/src/impls/macros.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | impl $crate::ser::Serialize for $type { [INFO] [stdout] | ^ ---------------------- `Serialize` is not local [INFO] [stdout] | [INFO] [stdout] ::: steit/src/impls/varint.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | const $dummy: () = { [INFO] [stdout] | ---------------- move the `impl` block outside of this constant `_I64_IMPLS` [INFO] [stdout] ... [INFO] [stdout] 129 | impl_signed_varint!(i64, _I64_IMPLS, u64, "Int64"); [INFO] [stdout] | -------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_serialize_primitive` defines the non-local `impl`, and may need to be changed [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 macro `$crate::impl_serialize_primitive` which comes from the expansion of the macro `impl_signed_varint` (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] --> steit/src/impls/varint.rs:79:52 [INFO] [stdout] | [INFO] [stdout] 78 | const $dummy: () = { [INFO] [stdout] | ---------------- move the `impl` block outside of this constant `_I64_IMPLS` [INFO] [stdout] 79 | impl $crate::wire_fmt::HasWireType for $type { [INFO] [stdout] | ____________________________________________________^ [INFO] [stdout] 80 | | const WIRE_TYPE: $crate::wire_fmt::WireType = $crate::wire_fmt::WireType::Varint; [INFO] [stdout] ... | [INFO] [stdout] 109 | | impl $crate::de::Deserialize for $type { [INFO] [stdout] | | ^ ----------------------- `Deserialize` is not local [INFO] [stdout] | |____________| [INFO] [stdout] | [INFO] [stdout] ... [INFO] [stdout] 129 | impl_signed_varint!(i64, _I64_IMPLS, u64, "Int64"); [INFO] [stdout] | -------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_signed_varint` defines the non-local `impl`, and may need to be changed [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 macro `impl_signed_varint` (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] --> steit/src/impls/macros.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | impl $crate::state::State for $type { [INFO] [stdout] | ^ -------------------- `State` is not local [INFO] [stdout] | [INFO] [stdout] ::: steit/src/impls/varint.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | const $dummy: () = { [INFO] [stdout] | ---------------- move the `impl` block outside of this constant `_I64_IMPLS` [INFO] [stdout] ... [INFO] [stdout] 129 | impl_signed_varint!(i64, _I64_IMPLS, u64, "Int64"); [INFO] [stdout] | -------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_state_primitive` defines the non-local `impl`, and may need to be changed [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 macro `$crate::impl_state_primitive` which comes from the expansion of the macro `impl_signed_varint` (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] --> steit/src/impls/macros.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | impl $crate::meta::HasMeta for $type { [INFO] [stdout] | ^ --------------------- `HasMeta` is not local [INFO] [stdout] | [INFO] [stdout] ::: steit/src/impls/varint.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | const $dummy: () = { [INFO] [stdout] | ---------------- move the `impl` block outside of this constant `_I64_IMPLS` [INFO] [stdout] ... [INFO] [stdout] 129 | impl_signed_varint!(i64, _I64_IMPLS, u64, "Int64"); [INFO] [stdout] | -------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_meta_primitive` defines the non-local `impl`, and may need to be changed [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 macro `$crate::impl_meta_primitive` which comes from the expansion of the macro `impl_signed_varint` (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] --> steit/src/test_util.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[steit_derive(PartialEq, Debug, Serialize, Deserialize)] [INFO] [stdout] | ^-------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_STEIT_FOR_FOO` [INFO] [stdout] 26 | #[steit(steit_owned, ctor_prefix = "empty")] [INFO] [stdout] 27 | pub struct Foo(#[steit(tag = 0)] pub i32, #[steit(tag = 1)] pub i32); [INFO] [stdout] | --- `Foo` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `steit_derive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `steit_derive` may come from an old version of the `steit_derive` crate, try updating your dependency with `cargo update -p steit_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 attribute macro `steit_derive` (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] --> steit/src/test_util.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[steit_derive(PartialEq, Debug, Serialize, Deserialize)] [INFO] [stdout] | ^-------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | `PartialEq` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_STEIT_FOR_FOO` [INFO] [stdout] 26 | #[steit(steit_owned, ctor_prefix = "empty")] [INFO] [stdout] 27 | pub struct Foo(#[steit(tag = 0)] pub i32, #[steit(tag = 1)] pub i32); [INFO] [stdout] | --- `Foo` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `steit_derive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `steit_derive` may come from an old version of the `steit_derive` crate, try updating your dependency with `cargo update -p steit_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 attribute macro `steit_derive` (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] --> steit/src/test_util.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[steit_derive(PartialEq, Debug, Serialize, Deserialize)] [INFO] [stdout] | ^-------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | `Default` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_STEIT_FOR_FOO` [INFO] [stdout] 26 | #[steit(steit_owned, ctor_prefix = "empty")] [INFO] [stdout] 27 | pub struct Foo(#[steit(tag = 0)] pub i32, #[steit(tag = 1)] pub i32); [INFO] [stdout] | --- `Foo` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `steit_derive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `steit_derive` may come from an old version of the `steit_derive` crate, try updating your dependency with `cargo update -p steit_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 attribute macro `steit_derive` (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] --> steit/src/test_util.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[steit_derive(PartialEq, Debug, Serialize, Deserialize)] [INFO] [stdout] | ^-------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | `HasWireType` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_STEIT_FOR_FOO` [INFO] [stdout] 26 | #[steit(steit_owned, ctor_prefix = "empty")] [INFO] [stdout] 27 | pub struct Foo(#[steit(tag = 0)] pub i32, #[steit(tag = 1)] pub i32); [INFO] [stdout] | --- `Foo` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `steit_derive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `steit_derive` may come from an old version of the `steit_derive` crate, try updating your dependency with `cargo update -p steit_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 attribute macro `steit_derive` (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] --> steit/src/test_util.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[steit_derive(PartialEq, Debug, Serialize, Deserialize)] [INFO] [stdout] | ^-------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_STEIT_FOR_FOO` [INFO] [stdout] 26 | #[steit(steit_owned, ctor_prefix = "empty")] [INFO] [stdout] 27 | pub struct Foo(#[steit(tag = 0)] pub i32, #[steit(tag = 1)] pub i32); [INFO] [stdout] | --- `Foo` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `steit_derive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `steit_derive` may come from an old version of the `steit_derive` crate, try updating your dependency with `cargo update -p steit_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 attribute macro `steit_derive` (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] --> steit/src/test_util.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[steit_derive(PartialEq, Debug, Serialize, Deserialize)] [INFO] [stdout] | ^-------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_STEIT_FOR_FOO` [INFO] [stdout] 26 | #[steit(steit_owned, ctor_prefix = "empty")] [INFO] [stdout] 27 | pub struct Foo(#[steit(tag = 0)] pub i32, #[steit(tag = 1)] pub i32); [INFO] [stdout] | --- `Foo` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `steit_derive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `steit_derive` may come from an old version of the `steit_derive` crate, try updating your dependency with `cargo update -p steit_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 attribute macro `steit_derive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `steit` (lib test) due to 5 previous errors; 73 warnings emitted [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> steit/src/test_util.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[steit_derive(PartialEq, Debug, Serialize, Deserialize)] [INFO] [stdout] | ^-------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | `HasMeta` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_STEIT_FOR_FOO` [INFO] [stdout] 26 | #[steit(steit_owned, ctor_prefix = "empty")] [INFO] [stdout] 27 | pub struct Foo(#[steit(tag = 0)] pub i32, #[steit(tag = 1)] pub i32); [INFO] [stdout] | --- `Foo` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `steit_derive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `steit_derive` may come from an old version of the `steit_derive` crate, try updating your dependency with `cargo update -p steit_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 attribute macro `steit_derive` (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] --> steit/src/test_util.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | #[steit_derive(PartialEq, Debug, State)] [INFO] [stdout] | ^--------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_STEIT_FOR_POINT` [INFO] [stdout] 40 | #[steit(steit_owned, ctor_prefix = "empty")] [INFO] [stdout] 41 | pub struct Point { [INFO] [stdout] | ----- `Point` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `steit_derive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `steit_derive` may come from an old version of the `steit_derive` crate, try updating your dependency with `cargo update -p steit_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 attribute macro `steit_derive` (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] --> steit/src/test_util.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | #[steit_derive(PartialEq, Debug, State)] [INFO] [stdout] | ^--------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | `PartialEq` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_STEIT_FOR_POINT` [INFO] [stdout] 40 | #[steit(steit_owned, ctor_prefix = "empty")] [INFO] [stdout] 41 | pub struct Point { [INFO] [stdout] | ----- `Point` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `steit_derive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `steit_derive` may come from an old version of the `steit_derive` crate, try updating your dependency with `cargo update -p steit_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 attribute macro `steit_derive` (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] --> steit/src/test_util.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | #[steit_derive(PartialEq, Debug, State)] [INFO] [stdout] | ^--------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | `Default` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_STEIT_FOR_POINT` [INFO] [stdout] 40 | #[steit(steit_owned, ctor_prefix = "empty")] [INFO] [stdout] 41 | pub struct Point { [INFO] [stdout] | ----- `Point` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `steit_derive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `steit_derive` may come from an old version of the `steit_derive` crate, try updating your dependency with `cargo update -p steit_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 attribute macro `steit_derive` (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] --> steit/src/test_util.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | #[steit_derive(PartialEq, Debug, State)] [INFO] [stdout] | ^--------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | `HasWireType` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_STEIT_FOR_POINT` [INFO] [stdout] 40 | #[steit(steit_owned, ctor_prefix = "empty")] [INFO] [stdout] 41 | pub struct Point { [INFO] [stdout] | ----- `Point` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `steit_derive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `steit_derive` may come from an old version of the `steit_derive` crate, try updating your dependency with `cargo update -p steit_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 attribute macro `steit_derive` (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] --> steit/src/test_util.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | #[steit_derive(PartialEq, Debug, State)] [INFO] [stdout] | ^--------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_STEIT_FOR_POINT` [INFO] [stdout] 40 | #[steit(steit_owned, ctor_prefix = "empty")] [INFO] [stdout] 41 | pub struct Point { [INFO] [stdout] | ----- `Point` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `steit_derive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `steit_derive` may come from an old version of the `steit_derive` crate, try updating your dependency with `cargo update -p steit_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 attribute macro `steit_derive` (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] --> steit/src/test_util.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | #[steit_derive(PartialEq, Debug, State)] [INFO] [stdout] | ^--------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_STEIT_FOR_POINT` [INFO] [stdout] 40 | #[steit(steit_owned, ctor_prefix = "empty")] [INFO] [stdout] 41 | pub struct Point { [INFO] [stdout] | ----- `Point` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `steit_derive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `steit_derive` may come from an old version of the `steit_derive` crate, try updating your dependency with `cargo update -p steit_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 attribute macro `steit_derive` (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] --> steit/src/test_util.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | #[steit_derive(PartialEq, Debug, State)] [INFO] [stdout] | ^--------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | `State` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_STEIT_FOR_POINT` [INFO] [stdout] 40 | #[steit(steit_owned, ctor_prefix = "empty")] [INFO] [stdout] 41 | pub struct Point { [INFO] [stdout] | ----- `Point` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `steit_derive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `steit_derive` may come from an old version of the `steit_derive` crate, try updating your dependency with `cargo update -p steit_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 attribute macro `steit_derive` (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] --> steit/src/test_util.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | #[steit_derive(PartialEq, Debug, State)] [INFO] [stdout] | ^--------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | `HasMeta` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_STEIT_FOR_POINT` [INFO] [stdout] 40 | #[steit(steit_owned, ctor_prefix = "empty")] [INFO] [stdout] 41 | pub struct Point { [INFO] [stdout] | ----- `Point` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `steit_derive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `steit_derive` may come from an old version of the `steit_derive` crate, try updating your dependency with `cargo update -p steit_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 attribute macro `steit_derive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "fc2aa1b064f6958109636bccbf8597f0358d449b6e1d98826d49221bd82f212d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc2aa1b064f6958109636bccbf8597f0358d449b6e1d98826d49221bd82f212d", kill_on_drop: false }` [INFO] [stdout] fc2aa1b064f6958109636bccbf8597f0358d449b6e1d98826d49221bd82f212d