[INFO] fetching crate enumx 0.4.3... [INFO] checking enumx-0.4.3 against master#b56aaec52bc0fa35591a872fb4aac81f606e265c for pr-122661-1 [INFO] extracting crate enumx 0.4.3 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate enumx 0.4.3 [INFO] finished tweaking crates.io crate enumx 0.4.3 [INFO] tweaked toml for crates.io crate enumx 0.4.3 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate enumx 0.4.3 on toolchain b56aaec52bc0fa35591a872fb4aac81f606e265c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b56aaec52bc0fa35591a872fb4aac81f606e265c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b56aaec52bc0fa35591a872fb4aac81f606e265c" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 8 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b56aaec52bc0fa35591a872fb4aac81f606e265c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded enumx_derive v0.4.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+b56aaec52bc0fa35591a872fb4aac81f606e265c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 59c0cd01e88c011e8f67abc364b578231630ad14a31f56fc3d9359b20971166b [INFO] running `Command { std: "docker" "start" "-a" "59c0cd01e88c011e8f67abc364b578231630ad14a31f56fc3d9359b20971166b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "59c0cd01e88c011e8f67abc364b578231630ad14a31f56fc3d9359b20971166b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59c0cd01e88c011e8f67abc364b578231630ad14a31f56fc3d9359b20971166b", kill_on_drop: false }` [INFO] [stdout] 59c0cd01e88c011e8f67abc364b578231630ad14a31f56fc3d9359b20971166b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+b56aaec52bc0fa35591a872fb4aac81f606e265c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9a44ab6086ad6d4efcdd08f72943a97fe7b781ea42849cda697a3a78acb3309a [INFO] running `Command { std: "docker" "start" "-a" "9a44ab6086ad6d4efcdd08f72943a97fe7b781ea42849cda697a3a78acb3309a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling enumx_derive v0.4.2 [INFO] [stderr] Checking enumx v0.4.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `FromVariant as _` [INFO] [stdout] --> src/lib.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | FromVariant as _, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FromVariant as _` [INFO] [stdout] --> src/lib.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | FromVariant as _, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `unstable` [INFO] [stdout] --> tests/macro_inheritance.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | #![cfg_attr( unstable, feature( [INFO] [stdout] | ^^^^^^^^ help: found config with similar value: `feature = "unstable"` [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(unstable)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(unstable)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/macro_inheritance.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 21 | def_impls! { [INFO] [stdout] | - `Enum1` is not local [INFO] [stdout] 22 | impl<$($($gen,)*)*> std::fmt::Write for $($ty)+ [INFO] [stdout] | ^ --------------- `Write` is not local [INFO] [stdout] ... [INFO] [stdout] 47 | fn impl_std_fmt_write() { [INFO] [stdout] | ----------------------- move the `impl` block outside of this function `impl_std_fmt_write` [INFO] [stdout] 48 | impl_trait!{ std::fmt::Write _for!( Enum![1..3] )} [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_trait` 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: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/macro_inheritance.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 21 | def_impls! { [INFO] [stdout] | - `Enum2` is not local [INFO] [stdout] 22 | impl<$($($gen,)*)*> std::fmt::Write for $($ty)+ [INFO] [stdout] | ^ --------------- `Write` is not local [INFO] [stdout] ... [INFO] [stdout] 47 | fn impl_std_fmt_write() { [INFO] [stdout] | ----------------------- move the `impl` block outside of this function `impl_std_fmt_write` [INFO] [stdout] 48 | impl_trait!{ std::fmt::Write _for!( Enum![1..3] )} [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_trait` 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: this warning originates in the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ESI0` is never constructed [INFO] [stdout] --> tests/syntax.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 105 | struct ESI0; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ESI1` is never constructed [INFO] [stdout] --> tests/syntax.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 113 | struct ESI1; [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] --> tests/syntax.rs:155:5 [INFO] [stdout] | [INFO] [stdout] 154 | fn impl_for_predefined() { [INFO] [stdout] | ------------------------ move the `impl` block outside of this function `impl_for_predefined` [INFO] [stdout] 155 | impl_trait!{ _impl!(T) AsRef _for!( Enum![1..=3] )} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Enum1` is not local [INFO] [stdout] | `AsRef` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_trait` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `impl_trait` may come from an old version of the `enumx` crate, try updating your dependency with `cargo update -p enumx` [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: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/syntax.rs:155:5 [INFO] [stdout] | [INFO] [stdout] 154 | fn impl_for_predefined() { [INFO] [stdout] | ------------------------ move the `impl` block outside of this function `impl_for_predefined` [INFO] [stdout] 155 | impl_trait!{ _impl!(T) AsRef _for!( Enum![1..=3] )} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Enum2` is not local [INFO] [stdout] | `AsRef` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_trait` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `impl_trait` may come from an old version of the `enumx` crate, try updating your dependency with `cargo update -p enumx` [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: this warning originates in the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/syntax.rs:155:5 [INFO] [stdout] | [INFO] [stdout] 154 | fn impl_for_predefined() { [INFO] [stdout] | ------------------------ move the `impl` block outside of this function `impl_for_predefined` [INFO] [stdout] 155 | impl_trait!{ _impl!(T) AsRef _for!( Enum![1..=3] )} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Enum3` is not local [INFO] [stdout] | `AsRef` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_trait` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `impl_trait` may come from an old version of the `enumx` crate, try updating your dependency with `cargo update -p enumx` [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: this warning originates in the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/syntax.rs:156:5 [INFO] [stdout] | [INFO] [stdout] 154 | fn impl_for_predefined() { [INFO] [stdout] | ------------------------ move the `impl` block outside of this function `impl_for_predefined` [INFO] [stdout] 155 | impl_trait!{ _impl!(T) AsRef _for!( Enum![1..=3] )} [INFO] [stdout] 156 | impl_trait!{ _impl!(T) AsMut _for!( Enum![1..=3] )} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Enum1` is not local [INFO] [stdout] | `AsMut` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_trait` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `impl_trait` may come from an old version of the `enumx` crate, try updating your dependency with `cargo update -p enumx` [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: this warning originates in the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/syntax.rs:156:5 [INFO] [stdout] | [INFO] [stdout] 154 | fn impl_for_predefined() { [INFO] [stdout] | ------------------------ move the `impl` block outside of this function `impl_for_predefined` [INFO] [stdout] 155 | impl_trait!{ _impl!(T) AsRef _for!( Enum![1..=3] )} [INFO] [stdout] 156 | impl_trait!{ _impl!(T) AsMut _for!( Enum![1..=3] )} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Enum2` is not local [INFO] [stdout] | `AsMut` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_trait` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `impl_trait` may come from an old version of the `enumx` crate, try updating your dependency with `cargo update -p enumx` [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: this warning originates in the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/syntax.rs:156:5 [INFO] [stdout] | [INFO] [stdout] 154 | fn impl_for_predefined() { [INFO] [stdout] | ------------------------ move the `impl` block outside of this function `impl_for_predefined` [INFO] [stdout] 155 | impl_trait!{ _impl!(T) AsRef _for!( Enum![1..=3] )} [INFO] [stdout] 156 | impl_trait!{ _impl!(T) AsMut _for!( Enum![1..=3] )} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Enum3` is not local [INFO] [stdout] | `AsMut` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_trait` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `impl_trait` may come from an old version of the `enumx` crate, try updating your dependency with `cargo update -p enumx` [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: this warning originates in the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/syntax.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 154 | fn impl_for_predefined() { [INFO] [stdout] | ------------------------ move the `impl` block outside of this function `impl_for_predefined` [INFO] [stdout] ... [INFO] [stdout] 157 | impl_trait!{ DoubleEndedIterator _for!( Enum![1..=3] )} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Enum1` is not local [INFO] [stdout] | `DoubleEndedIterator` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_trait` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `impl_trait` may come from an old version of the `enumx` crate, try updating your dependency with `cargo update -p enumx` [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: this warning originates in the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/syntax.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 154 | fn impl_for_predefined() { [INFO] [stdout] | ------------------------ move the `impl` block outside of this function `impl_for_predefined` [INFO] [stdout] ... [INFO] [stdout] 157 | impl_trait!{ DoubleEndedIterator _for!( Enum![1..=3] )} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Enum2` is not local [INFO] [stdout] | `DoubleEndedIterator` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_trait` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `impl_trait` may come from an old version of the `enumx` crate, try updating your dependency with `cargo update -p enumx` [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: this warning originates in the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/syntax.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 154 | fn impl_for_predefined() { [INFO] [stdout] | ------------------------ move the `impl` block outside of this function `impl_for_predefined` [INFO] [stdout] ... [INFO] [stdout] 157 | impl_trait!{ DoubleEndedIterator _for!( Enum![1..=3] )} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Enum3` is not local [INFO] [stdout] | `DoubleEndedIterator` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_trait` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `impl_trait` may come from an old version of the `enumx` crate, try updating your dependency with `cargo update -p enumx` [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: this warning originates in the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/syntax.rs:158:5 [INFO] [stdout] | [INFO] [stdout] 154 | fn impl_for_predefined() { [INFO] [stdout] | ------------------------ move the `impl` block outside of this function `impl_for_predefined` [INFO] [stdout] ... [INFO] [stdout] 158 | impl_trait!{ ExactSizeIterator _for!( Enum![1..=3] )} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Enum1` is not local [INFO] [stdout] | `ExactSizeIterator` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_trait` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `impl_trait` may come from an old version of the `enumx` crate, try updating your dependency with `cargo update -p enumx` [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: this warning originates in the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/syntax.rs:158:5 [INFO] [stdout] | [INFO] [stdout] 154 | fn impl_for_predefined() { [INFO] [stdout] | ------------------------ move the `impl` block outside of this function `impl_for_predefined` [INFO] [stdout] ... [INFO] [stdout] 158 | impl_trait!{ ExactSizeIterator _for!( Enum![1..=3] )} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Enum2` is not local [INFO] [stdout] | `ExactSizeIterator` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_trait` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `impl_trait` may come from an old version of the `enumx` crate, try updating your dependency with `cargo update -p enumx` [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: this warning originates in the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/syntax.rs:158:5 [INFO] [stdout] | [INFO] [stdout] 154 | fn impl_for_predefined() { [INFO] [stdout] | ------------------------ move the `impl` block outside of this function `impl_for_predefined` [INFO] [stdout] ... [INFO] [stdout] 158 | impl_trait!{ ExactSizeIterator _for!( Enum![1..=3] )} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Enum3` is not local [INFO] [stdout] | `ExactSizeIterator` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_trait` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `impl_trait` may come from an old version of the `enumx` crate, try updating your dependency with `cargo update -p enumx` [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: this warning originates in the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/syntax.rs:159:5 [INFO] [stdout] | [INFO] [stdout] 154 | fn impl_for_predefined() { [INFO] [stdout] | ------------------------ move the `impl` block outside of this function `impl_for_predefined` [INFO] [stdout] ... [INFO] [stdout] 159 | impl_trait!{ _impl!(A) Extend _for!( Enum![1..=3] )} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Enum1` is not local [INFO] [stdout] | `Extend` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_trait` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `impl_trait` may come from an old version of the `enumx` crate, try updating your dependency with `cargo update -p enumx` [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: this warning originates in the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/syntax.rs:159:5 [INFO] [stdout] | [INFO] [stdout] 154 | fn impl_for_predefined() { [INFO] [stdout] | ------------------------ move the `impl` block outside of this function `impl_for_predefined` [INFO] [stdout] ... [INFO] [stdout] 159 | impl_trait!{ _impl!(A) Extend _for!( Enum![1..=3] )} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Enum2` is not local [INFO] [stdout] | `Extend` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_trait` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `impl_trait` may come from an old version of the `enumx` crate, try updating your dependency with `cargo update -p enumx` [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: this warning originates in the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/syntax.rs:159:5 [INFO] [stdout] | [INFO] [stdout] 154 | fn impl_for_predefined() { [INFO] [stdout] | ------------------------ move the `impl` block outside of this function `impl_for_predefined` [INFO] [stdout] ... [INFO] [stdout] 159 | impl_trait!{ _impl!(A) Extend _for!( Enum![1..=3] )} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Enum3` is not local [INFO] [stdout] | `Extend` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_trait` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `impl_trait` may come from an old version of the `enumx` crate, try updating your dependency with `cargo update -p enumx` [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: this warning originates in the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/syntax.rs:164:5 [INFO] [stdout] | [INFO] [stdout] 154 | fn impl_for_predefined() { [INFO] [stdout] | ------------------------ move the `impl` block outside of this function `impl_for_predefined` [INFO] [stdout] ... [INFO] [stdout] 164 | impl_trait!{ Iterator _for!( Enum![1..=3] )} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Enum1` is not local [INFO] [stdout] | `Iterator` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_trait` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `impl_trait` may come from an old version of the `enumx` crate, try updating your dependency with `cargo update -p enumx` [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: this warning originates in the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/syntax.rs:164:5 [INFO] [stdout] | [INFO] [stdout] 154 | fn impl_for_predefined() { [INFO] [stdout] | ------------------------ move the `impl` block outside of this function `impl_for_predefined` [INFO] [stdout] ... [INFO] [stdout] 164 | impl_trait!{ Iterator _for!( Enum![1..=3] )} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Enum2` is not local [INFO] [stdout] | `Iterator` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_trait` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `impl_trait` may come from an old version of the `enumx` crate, try updating your dependency with `cargo update -p enumx` [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: this warning originates in the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/syntax.rs:164:5 [INFO] [stdout] | [INFO] [stdout] 154 | fn impl_for_predefined() { [INFO] [stdout] | ------------------------ move the `impl` block outside of this function `impl_for_predefined` [INFO] [stdout] ... [INFO] [stdout] 164 | impl_trait!{ Iterator _for!( Enum![1..=3] )} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Enum3` is not local [INFO] [stdout] | `Iterator` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_trait` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `impl_trait` may come from an old version of the `enumx` crate, try updating your dependency with `cargo update -p enumx` [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: this warning originates in the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/syntax.rs:165:5 [INFO] [stdout] | [INFO] [stdout] 154 | fn impl_for_predefined() { [INFO] [stdout] | ------------------------ move the `impl` block outside of this function `impl_for_predefined` [INFO] [stdout] ... [INFO] [stdout] 165 | impl_trait!{ std::error::Error _for!( Enum![1..=3] )} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Enum1` is not local [INFO] [stdout] | `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_trait` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `impl_trait` may come from an old version of the `enumx` crate, try updating your dependency with `cargo update -p enumx` [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: this warning originates in the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/syntax.rs:165:5 [INFO] [stdout] | [INFO] [stdout] 154 | fn impl_for_predefined() { [INFO] [stdout] | ------------------------ move the `impl` block outside of this function `impl_for_predefined` [INFO] [stdout] ... [INFO] [stdout] 165 | impl_trait!{ std::error::Error _for!( Enum![1..=3] )} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Enum2` is not local [INFO] [stdout] | `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_trait` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `impl_trait` may come from an old version of the `enumx` crate, try updating your dependency with `cargo update -p enumx` [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: this warning originates in the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/syntax.rs:165:5 [INFO] [stdout] | [INFO] [stdout] 154 | fn impl_for_predefined() { [INFO] [stdout] | ------------------------ move the `impl` block outside of this function `impl_for_predefined` [INFO] [stdout] ... [INFO] [stdout] 165 | impl_trait!{ std::error::Error _for!( Enum![1..=3] )} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Enum3` is not local [INFO] [stdout] | `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_trait` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `impl_trait` may come from an old version of the `enumx` crate, try updating your dependency with `cargo update -p enumx` [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: this warning originates in the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/syntax.rs:166:5 [INFO] [stdout] | [INFO] [stdout] 154 | fn impl_for_predefined() { [INFO] [stdout] | ------------------------ move the `impl` block outside of this function `impl_for_predefined` [INFO] [stdout] ... [INFO] [stdout] 166 | impl_trait!{ std::fmt::Debug _for!( Enum![1..=3] )} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Enum1` is not local [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_trait` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `impl_trait` may come from an old version of the `enumx` crate, try updating your dependency with `cargo update -p enumx` [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: this warning originates in the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/syntax.rs:166:5 [INFO] [stdout] | [INFO] [stdout] 154 | fn impl_for_predefined() { [INFO] [stdout] | ------------------------ move the `impl` block outside of this function `impl_for_predefined` [INFO] [stdout] ... [INFO] [stdout] 166 | impl_trait!{ std::fmt::Debug _for!( Enum![1..=3] )} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Enum2` is not local [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_trait` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `impl_trait` may come from an old version of the `enumx` crate, try updating your dependency with `cargo update -p enumx` [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: this warning originates in the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/syntax.rs:166:5 [INFO] [stdout] | [INFO] [stdout] 154 | fn impl_for_predefined() { [INFO] [stdout] | ------------------------ move the `impl` block outside of this function `impl_for_predefined` [INFO] [stdout] ... [INFO] [stdout] 166 | impl_trait!{ std::fmt::Debug _for!( Enum![1..=3] )} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Enum3` is not local [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_trait` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `impl_trait` may come from an old version of the `enumx` crate, try updating your dependency with `cargo update -p enumx` [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: this warning originates in the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/syntax.rs:167:5 [INFO] [stdout] | [INFO] [stdout] 154 | fn impl_for_predefined() { [INFO] [stdout] | ------------------------ move the `impl` block outside of this function `impl_for_predefined` [INFO] [stdout] ... [INFO] [stdout] 167 | impl_trait!{ std::fmt::Display _for!( Enum![1..=3] )} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Enum1` is not local [INFO] [stdout] | `Display` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_trait` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `impl_trait` may come from an old version of the `enumx` crate, try updating your dependency with `cargo update -p enumx` [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: this warning originates in the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/syntax.rs:167:5 [INFO] [stdout] | [INFO] [stdout] 154 | fn impl_for_predefined() { [INFO] [stdout] | ------------------------ move the `impl` block outside of this function `impl_for_predefined` [INFO] [stdout] ... [INFO] [stdout] 167 | impl_trait!{ std::fmt::Display _for!( Enum![1..=3] )} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Enum2` is not local [INFO] [stdout] | `Display` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_trait` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `impl_trait` may come from an old version of the `enumx` crate, try updating your dependency with `cargo update -p enumx` [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: this warning originates in the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/syntax.rs:167:5 [INFO] [stdout] | [INFO] [stdout] 154 | fn impl_for_predefined() { [INFO] [stdout] | ------------------------ move the `impl` block outside of this function `impl_for_predefined` [INFO] [stdout] ... [INFO] [stdout] 167 | impl_trait!{ std::fmt::Display _for!( Enum![1..=3] )} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Enum3` is not local [INFO] [stdout] | `Display` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_trait` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `impl_trait` may come from an old version of the `enumx` crate, try updating your dependency with `cargo update -p enumx` [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: this warning originates in the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/syntax.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 154 | fn impl_for_predefined() { [INFO] [stdout] | ------------------------ move the `impl` block outside of this function `impl_for_predefined` [INFO] [stdout] ... [INFO] [stdout] 168 | impl_trait!{ std::iter::FusedIterator _for!( Enum![1..=3] )} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Enum1` is not local [INFO] [stdout] | `FusedIterator` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_trait` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `impl_trait` may come from an old version of the `enumx` crate, try updating your dependency with `cargo update -p enumx` [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: this warning originates in the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/syntax.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 154 | fn impl_for_predefined() { [INFO] [stdout] | ------------------------ move the `impl` block outside of this function `impl_for_predefined` [INFO] [stdout] ... [INFO] [stdout] 168 | impl_trait!{ std::iter::FusedIterator _for!( Enum![1..=3] )} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Enum2` is not local [INFO] [stdout] | `FusedIterator` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_trait` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `impl_trait` may come from an old version of the `enumx` crate, try updating your dependency with `cargo update -p enumx` [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: this warning originates in the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/syntax.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 154 | fn impl_for_predefined() { [INFO] [stdout] | ------------------------ move the `impl` block outside of this function `impl_for_predefined` [INFO] [stdout] ... [INFO] [stdout] 168 | impl_trait!{ std::iter::FusedIterator _for!( Enum![1..=3] )} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Enum3` is not local [INFO] [stdout] | `FusedIterator` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_trait` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `impl_trait` may come from an old version of the `enumx` crate, try updating your dependency with `cargo update -p enumx` [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: this warning originates in the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/syntax.rs:173:5 [INFO] [stdout] | [INFO] [stdout] 154 | fn impl_for_predefined() { [INFO] [stdout] | ------------------------ move the `impl` block outside of this function `impl_for_predefined` [INFO] [stdout] ... [INFO] [stdout] 173 | impl_trait!{ std::io::BufRead _for!( Enum![1..=3] )} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Enum1` is not local [INFO] [stdout] | `BufRead` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_trait` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `impl_trait` may come from an old version of the `enumx` crate, try updating your dependency with `cargo update -p enumx` [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: this warning originates in the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/syntax.rs:173:5 [INFO] [stdout] | [INFO] [stdout] 154 | fn impl_for_predefined() { [INFO] [stdout] | ------------------------ move the `impl` block outside of this function `impl_for_predefined` [INFO] [stdout] ... [INFO] [stdout] 173 | impl_trait!{ std::io::BufRead _for!( Enum![1..=3] )} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Enum2` is not local [INFO] [stdout] | `BufRead` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_trait` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `impl_trait` may come from an old version of the `enumx` crate, try updating your dependency with `cargo update -p enumx` [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: this warning originates in the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/syntax.rs:173:5 [INFO] [stdout] | [INFO] [stdout] 154 | fn impl_for_predefined() { [INFO] [stdout] | ------------------------ move the `impl` block outside of this function `impl_for_predefined` [INFO] [stdout] ... [INFO] [stdout] 173 | impl_trait!{ std::io::BufRead _for!( Enum![1..=3] )} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Enum3` is not local [INFO] [stdout] | `BufRead` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_trait` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `impl_trait` may come from an old version of the `enumx` crate, try updating your dependency with `cargo update -p enumx` [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: this warning originates in the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/syntax.rs:174:5 [INFO] [stdout] | [INFO] [stdout] 154 | fn impl_for_predefined() { [INFO] [stdout] | ------------------------ move the `impl` block outside of this function `impl_for_predefined` [INFO] [stdout] ... [INFO] [stdout] 174 | impl_trait!{ std::io::Read _for!( Enum![1..=3] )} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Enum1` is not local [INFO] [stdout] | `Read` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_trait` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `impl_trait` may come from an old version of the `enumx` crate, try updating your dependency with `cargo update -p enumx` [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: this warning originates in the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/syntax.rs:174:5 [INFO] [stdout] | [INFO] [stdout] 154 | fn impl_for_predefined() { [INFO] [stdout] | ------------------------ move the `impl` block outside of this function `impl_for_predefined` [INFO] [stdout] ... [INFO] [stdout] 174 | impl_trait!{ std::io::Read _for!( Enum![1..=3] )} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Enum2` is not local [INFO] [stdout] | `Read` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_trait` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `impl_trait` may come from an old version of the `enumx` crate, try updating your dependency with `cargo update -p enumx` [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: this warning originates in the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/syntax.rs:174:5 [INFO] [stdout] | [INFO] [stdout] 154 | fn impl_for_predefined() { [INFO] [stdout] | ------------------------ move the `impl` block outside of this function `impl_for_predefined` [INFO] [stdout] ... [INFO] [stdout] 174 | impl_trait!{ std::io::Read _for!( Enum![1..=3] )} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Enum3` is not local [INFO] [stdout] | `Read` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_trait` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `impl_trait` may come from an old version of the `enumx` crate, try updating your dependency with `cargo update -p enumx` [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: this warning originates in the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/syntax.rs:175:5 [INFO] [stdout] | [INFO] [stdout] 154 | fn impl_for_predefined() { [INFO] [stdout] | ------------------------ move the `impl` block outside of this function `impl_for_predefined` [INFO] [stdout] ... [INFO] [stdout] 175 | impl_trait!{ std::io::Seek _for!( Enum![1..=3] )} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Enum1` is not local [INFO] [stdout] | `Seek` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_trait` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `impl_trait` may come from an old version of the `enumx` crate, try updating your dependency with `cargo update -p enumx` [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: this warning originates in the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/syntax.rs:175:5 [INFO] [stdout] | [INFO] [stdout] 154 | fn impl_for_predefined() { [INFO] [stdout] | ------------------------ move the `impl` block outside of this function `impl_for_predefined` [INFO] [stdout] ... [INFO] [stdout] 175 | impl_trait!{ std::io::Seek _for!( Enum![1..=3] )} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Enum2` is not local [INFO] [stdout] | `Seek` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_trait` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `impl_trait` may come from an old version of the `enumx` crate, try updating your dependency with `cargo update -p enumx` [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: this warning originates in the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/syntax.rs:175:5 [INFO] [stdout] | [INFO] [stdout] 154 | fn impl_for_predefined() { [INFO] [stdout] | ------------------------ move the `impl` block outside of this function `impl_for_predefined` [INFO] [stdout] ... [INFO] [stdout] 175 | impl_trait!{ std::io::Seek _for!( Enum![1..=3] )} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Enum3` is not local [INFO] [stdout] | `Seek` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_trait` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `impl_trait` may come from an old version of the `enumx` crate, try updating your dependency with `cargo update -p enumx` [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: this warning originates in the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/syntax.rs:176:5 [INFO] [stdout] | [INFO] [stdout] 154 | fn impl_for_predefined() { [INFO] [stdout] | ------------------------ move the `impl` block outside of this function `impl_for_predefined` [INFO] [stdout] ... [INFO] [stdout] 176 | impl_trait!{ std::io::Write _for!( Enum![1..=3] )} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Enum1` is not local [INFO] [stdout] | `Write` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_trait` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `impl_trait` may come from an old version of the `enumx` crate, try updating your dependency with `cargo update -p enumx` [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: this warning originates in the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/syntax.rs:176:5 [INFO] [stdout] | [INFO] [stdout] 154 | fn impl_for_predefined() { [INFO] [stdout] | ------------------------ move the `impl` block outside of this function `impl_for_predefined` [INFO] [stdout] ... [INFO] [stdout] 176 | impl_trait!{ std::io::Write _for!( Enum![1..=3] )} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Enum2` is not local [INFO] [stdout] | `Write` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_trait` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `impl_trait` may come from an old version of the `enumx` crate, try updating your dependency with `cargo update -p enumx` [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: this warning originates in the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/syntax.rs:176:5 [INFO] [stdout] | [INFO] [stdout] 154 | fn impl_for_predefined() { [INFO] [stdout] | ------------------------ move the `impl` block outside of this function `impl_for_predefined` [INFO] [stdout] ... [INFO] [stdout] 176 | impl_trait!{ std::io::Write _for!( Enum![1..=3] )} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Enum3` is not local [INFO] [stdout] | `Write` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_trait` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `impl_trait` may come from an old version of the `enumx` crate, try updating your dependency with `cargo update -p enumx` [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: this warning originates in the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/syntax.rs:177:5 [INFO] [stdout] | [INFO] [stdout] 154 | fn impl_for_predefined() { [INFO] [stdout] | ------------------------ move the `impl` block outside of this function `impl_for_predefined` [INFO] [stdout] ... [INFO] [stdout] 177 | impl_trait!{ std::ops::Deref _for!( Enum![1..=3] )} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Enum1` is not local [INFO] [stdout] | `Deref` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_trait` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `impl_trait` may come from an old version of the `enumx` crate, try updating your dependency with `cargo update -p enumx` [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: this warning originates in the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/syntax.rs:177:5 [INFO] [stdout] | [INFO] [stdout] 154 | fn impl_for_predefined() { [INFO] [stdout] | ------------------------ move the `impl` block outside of this function `impl_for_predefined` [INFO] [stdout] ... [INFO] [stdout] 177 | impl_trait!{ std::ops::Deref _for!( Enum![1..=3] )} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Enum2` is not local [INFO] [stdout] | `Deref` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_trait` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `impl_trait` may come from an old version of the `enumx` crate, try updating your dependency with `cargo update -p enumx` [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: this warning originates in the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/syntax.rs:177:5 [INFO] [stdout] | [INFO] [stdout] 154 | fn impl_for_predefined() { [INFO] [stdout] | ------------------------ move the `impl` block outside of this function `impl_for_predefined` [INFO] [stdout] ... [INFO] [stdout] 177 | impl_trait!{ std::ops::Deref _for!( Enum![1..=3] )} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Enum3` is not local [INFO] [stdout] | `Deref` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_trait` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `impl_trait` may come from an old version of the `enumx` crate, try updating your dependency with `cargo update -p enumx` [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: this warning originates in the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/syntax.rs:178:5 [INFO] [stdout] | [INFO] [stdout] 154 | fn impl_for_predefined() { [INFO] [stdout] | ------------------------ move the `impl` block outside of this function `impl_for_predefined` [INFO] [stdout] ... [INFO] [stdout] 178 | impl_trait!{ std::ops::DerefMut _for!( Enum![1..=3] )} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Enum1` is not local [INFO] [stdout] | `DerefMut` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_trait` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `impl_trait` may come from an old version of the `enumx` crate, try updating your dependency with `cargo update -p enumx` [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: this warning originates in the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/syntax.rs:178:5 [INFO] [stdout] | [INFO] [stdout] 154 | fn impl_for_predefined() { [INFO] [stdout] | ------------------------ move the `impl` block outside of this function `impl_for_predefined` [INFO] [stdout] ... [INFO] [stdout] 178 | impl_trait!{ std::ops::DerefMut _for!( Enum![1..=3] )} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Enum2` is not local [INFO] [stdout] | `DerefMut` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_trait` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `impl_trait` may come from an old version of the `enumx` crate, try updating your dependency with `cargo update -p enumx` [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: this warning originates in the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/syntax.rs:178:5 [INFO] [stdout] | [INFO] [stdout] 154 | fn impl_for_predefined() { [INFO] [stdout] | ------------------------ move the `impl` block outside of this function `impl_for_predefined` [INFO] [stdout] ... [INFO] [stdout] 178 | impl_trait!{ std::ops::DerefMut _for!( Enum![1..=3] )} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Enum3` is not local [INFO] [stdout] | `DerefMut` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_trait` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `impl_trait` may come from an old version of the `enumx` crate, try updating your dependency with `cargo update -p enumx` [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: this warning originates in the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/syntax.rs:183:5 [INFO] [stdout] | [INFO] [stdout] 154 | fn impl_for_predefined() { [INFO] [stdout] | ------------------------ move the `impl` block outside of this function `impl_for_predefined` [INFO] [stdout] ... [INFO] [stdout] 183 | impl_trait!{ _impl!(Idx) std::ops::Index _for!( Enum![1..=3] )} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Enum1` is not local [INFO] [stdout] | `Index` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_trait` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `impl_trait` may come from an old version of the `enumx` crate, try updating your dependency with `cargo update -p enumx` [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: this warning originates in the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/syntax.rs:183:5 [INFO] [stdout] | [INFO] [stdout] 154 | fn impl_for_predefined() { [INFO] [stdout] | ------------------------ move the `impl` block outside of this function `impl_for_predefined` [INFO] [stdout] ... [INFO] [stdout] 183 | impl_trait!{ _impl!(Idx) std::ops::Index _for!( Enum![1..=3] )} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Enum2` is not local [INFO] [stdout] | `Index` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_trait` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `impl_trait` may come from an old version of the `enumx` crate, try updating your dependency with `cargo update -p enumx` [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: this warning originates in the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/syntax.rs:183:5 [INFO] [stdout] | [INFO] [stdout] 154 | fn impl_for_predefined() { [INFO] [stdout] | ------------------------ move the `impl` block outside of this function `impl_for_predefined` [INFO] [stdout] ... [INFO] [stdout] 183 | impl_trait!{ _impl!(Idx) std::ops::Index _for!( Enum![1..=3] )} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Enum3` is not local [INFO] [stdout] | `Index` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_trait` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `impl_trait` may come from an old version of the `enumx` crate, try updating your dependency with `cargo update -p enumx` [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: this warning originates in the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/syntax.rs:184:5 [INFO] [stdout] | [INFO] [stdout] 154 | fn impl_for_predefined() { [INFO] [stdout] | ------------------------ move the `impl` block outside of this function `impl_for_predefined` [INFO] [stdout] ... [INFO] [stdout] 184 | impl_trait!{ _impl!(Idx) std::ops::IndexMut _for!( Enum![1..=3] )} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Enum1` is not local [INFO] [stdout] | `IndexMut` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_trait` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `impl_trait` may come from an old version of the `enumx` crate, try updating your dependency with `cargo update -p enumx` [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: this warning originates in the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/syntax.rs:184:5 [INFO] [stdout] | [INFO] [stdout] 154 | fn impl_for_predefined() { [INFO] [stdout] | ------------------------ move the `impl` block outside of this function `impl_for_predefined` [INFO] [stdout] ... [INFO] [stdout] 184 | impl_trait!{ _impl!(Idx) std::ops::IndexMut _for!( Enum![1..=3] )} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Enum2` is not local [INFO] [stdout] | `IndexMut` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_trait` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `impl_trait` may come from an old version of the `enumx` crate, try updating your dependency with `cargo update -p enumx` [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: this warning originates in the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/syntax.rs:184:5 [INFO] [stdout] | [INFO] [stdout] 154 | fn impl_for_predefined() { [INFO] [stdout] | ------------------------ move the `impl` block outside of this function `impl_for_predefined` [INFO] [stdout] ... [INFO] [stdout] 184 | impl_trait!{ _impl!(Idx) std::ops::IndexMut _for!( Enum![1..=3] )} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Enum3` is not local [INFO] [stdout] | `IndexMut` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_trait` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `impl_trait` may come from an old version of the `enumx` crate, try updating your dependency with `cargo update -p enumx` [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: this warning originates in the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/syntax.rs:185:5 [INFO] [stdout] | [INFO] [stdout] 154 | fn impl_for_predefined() { [INFO] [stdout] | ------------------------ move the `impl` block outside of this function `impl_for_predefined` [INFO] [stdout] ... [INFO] [stdout] 185 | impl_trait!{ _impl!(T) std::ops::RangeBounds _for!( Enum![1..=3] )} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Enum1` is not local [INFO] [stdout] | `RangeBounds` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_trait` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `impl_trait` may come from an old version of the `enumx` crate, try updating your dependency with `cargo update -p enumx` [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: this warning originates in the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/syntax.rs:185:5 [INFO] [stdout] | [INFO] [stdout] 154 | fn impl_for_predefined() { [INFO] [stdout] | ------------------------ move the `impl` block outside of this function `impl_for_predefined` [INFO] [stdout] ... [INFO] [stdout] 185 | impl_trait!{ _impl!(T) std::ops::RangeBounds _for!( Enum![1..=3] )} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Enum2` is not local [INFO] [stdout] | `RangeBounds` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_trait` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `impl_trait` may come from an old version of the `enumx` crate, try updating your dependency with `cargo update -p enumx` [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: this warning originates in the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/syntax.rs:185:5 [INFO] [stdout] | [INFO] [stdout] 154 | fn impl_for_predefined() { [INFO] [stdout] | ------------------------ move the `impl` block outside of this function `impl_for_predefined` [INFO] [stdout] ... [INFO] [stdout] 185 | impl_trait!{ _impl!(T) std::ops::RangeBounds _for!( Enum![1..=3] )} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Enum3` is not local [INFO] [stdout] | `RangeBounds` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_trait` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `impl_trait` may come from an old version of the `enumx` crate, try updating your dependency with `cargo update -p enumx` [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: this warning originates in the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.09s [INFO] running `Command { std: "docker" "inspect" "9a44ab6086ad6d4efcdd08f72943a97fe7b781ea42849cda697a3a78acb3309a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a44ab6086ad6d4efcdd08f72943a97fe7b781ea42849cda697a3a78acb3309a", kill_on_drop: false }` [INFO] [stdout] 9a44ab6086ad6d4efcdd08f72943a97fe7b781ea42849cda697a3a78acb3309a