[INFO] fetching crate enumx 0.4.3... [INFO] testing enumx-0.4.3 against beta-2025-09-21 for beta-1.91-3 [INFO] extracting crate enumx 0.4.3 into /workspace/builds/worker-3-tc2/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-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate enumx 0.4.3 on toolchain beta-2025-09-21 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "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" "+beta-2025-09-21" "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" "+beta-2025-09-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ff1e16e915ebfebf6653603540d0bd7763d3d697b8c7a955ada8f00611cdb423 [INFO] running `Command { std: "docker" "start" "-a" "ff1e16e915ebfebf6653603540d0bd7763d3d697b8c7a955ada8f00611cdb423", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ff1e16e915ebfebf6653603540d0bd7763d3d697b8c7a955ada8f00611cdb423", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff1e16e915ebfebf6653603540d0bd7763d3d697b8c7a955ada8f00611cdb423", kill_on_drop: false }` [INFO] [stdout] ff1e16e915ebfebf6653603540d0bd7763d3d697b8c7a955ada8f00611cdb423 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 80986ef52eeb15fb04ddafb48a906e3acbcd9323089bc4eef97db5810ddc465f [INFO] running `Command { std: "docker" "start" "-a" "80986ef52eeb15fb04ddafb48a906e3acbcd9323089bc4eef97db5810ddc465f", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling enumx_derive v0.4.2 [INFO] [stderr] Compiling 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.84s [INFO] running `Command { std: "docker" "inspect" "80986ef52eeb15fb04ddafb48a906e3acbcd9323089bc4eef97db5810ddc465f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80986ef52eeb15fb04ddafb48a906e3acbcd9323089bc4eef97db5810ddc465f", kill_on_drop: false }` [INFO] [stdout] 80986ef52eeb15fb04ddafb48a906e3acbcd9323089bc4eef97db5810ddc465f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4ccff920e6883a43427edda806a52e24c35081c070ff1ff798439068abbf10c2 [INFO] running `Command { std: "docker" "start" "-a" "4ccff920e6883a43427edda806a52e24c35081c070ff1ff798439068abbf10c2", kill_on_drop: false }` [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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling enumx v0.4.3 (/opt/rustwide/workdir) [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)]` (part of `#[warn(unused)]`) 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] [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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.93s [INFO] running `Command { std: "docker" "inspect" "4ccff920e6883a43427edda806a52e24c35081c070ff1ff798439068abbf10c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ccff920e6883a43427edda806a52e24c35081c070ff1ff798439068abbf10c2", kill_on_drop: false }` [INFO] [stdout] 4ccff920e6883a43427edda806a52e24c35081c070ff1ff798439068abbf10c2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ea7ba35e49ef543609070046eaeff4ffb0c9504f9e6aac6fd11572788c0b1179 [INFO] running `Command { std: "docker" "start" "-a" "ea7ba35e49ef543609070046eaeff4ffb0c9504f9e6aac6fd11572788c0b1179", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `FromVariant as _` [INFO] [stderr] --> src/lib.rs:43:13 [INFO] [stderr] | [INFO] [stderr] 43 | FromVariant as _, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `enumx` (lib) generated 1 warning (run `cargo fix --lib -p enumx` to apply 1 suggestion) [INFO] [stderr] warning: `enumx` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] warning: unexpected `cfg` condition name: `unstable` [INFO] [stderr] --> tests/macro_inheritance.rs:1:14 [INFO] [stderr] | [INFO] [stderr] 1 | #![cfg_attr( unstable, feature( [INFO] [stderr] | ^^^^^^^^ help: found config with similar value: `feature = "unstable"` [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(unstable)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(unstable)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/macro_inheritance.rs:22:13 [INFO] [stderr] | [INFO] [stderr] 21 | def_impls! { [INFO] [stderr] | - `Enum1` is not local [INFO] [stderr] 22 | impl<$($($gen,)*)*> std::fmt::Write for $($ty)+ [INFO] [stderr] | ^ --------------- `Write` is not local [INFO] [stderr] ... [INFO] [stderr] 47 | fn impl_std_fmt_write() { [INFO] [stderr] | ----------------------- move the `impl` block outside of this function `impl_std_fmt_write` [INFO] [stderr] 48 | impl_trait!{ std::fmt::Write _for!( Enum![1..3] )} [INFO] [stderr] | -------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the macro `impl_trait` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/macro_inheritance.rs:22:13 [INFO] [stderr] | [INFO] [stderr] 21 | def_impls! { [INFO] [stderr] | - `Enum2` is not local [INFO] [stderr] 22 | impl<$($($gen,)*)*> std::fmt::Write for $($ty)+ [INFO] [stderr] | ^ --------------- `Write` is not local [INFO] [stderr] ... [INFO] [stderr] 47 | fn impl_std_fmt_write() { [INFO] [stderr] | ----------------------- move the `impl` block outside of this function `impl_std_fmt_write` [INFO] [stderr] 48 | impl_trait!{ std::fmt::Write _for!( Enum![1..3] )} [INFO] [stderr] | -------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the macro `impl_trait` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: struct `ESI0` is never constructed [INFO] [stderr] --> tests/syntax.rs:105:12 [INFO] [stderr] | [INFO] [stderr] 105 | struct ESI0; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: struct `ESI1` is never constructed [INFO] [stderr] --> tests/syntax.rs:113:12 [INFO] [stderr] | [INFO] [stderr] 113 | struct ESI1; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/syntax.rs:155:5 [INFO] [stderr] | [INFO] [stderr] 154 | fn impl_for_predefined() { [INFO] [stderr] | ------------------------ move the `impl` block outside of this function `impl_for_predefined` [INFO] [stderr] 155 | impl_trait!{ _impl!(T) AsRef _for!( Enum![1..=3] )} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Enum1` is not local [INFO] [stderr] | `AsRef` is not local [INFO] [stderr] | [INFO] [stderr] = note: the macro `impl_trait` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/syntax.rs:155:5 [INFO] [stderr] | [INFO] [stderr] 154 | fn impl_for_predefined() { [INFO] [stderr] | ------------------------ move the `impl` block outside of this function `impl_for_predefined` [INFO] [stderr] 155 | impl_trait!{ _impl!(T) AsRef _for!( Enum![1..=3] )} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Enum2` is not local [INFO] [stderr] | `AsRef` is not local [INFO] [stderr] | [INFO] [stderr] = note: the macro `impl_trait` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/syntax.rs:155:5 [INFO] [stderr] | [INFO] [stderr] 154 | fn impl_for_predefined() { [INFO] [stderr] | ------------------------ move the `impl` block outside of this function `impl_for_predefined` [INFO] [stderr] 155 | impl_trait!{ _impl!(T) AsRef _for!( Enum![1..=3] )} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Enum3` is not local [INFO] [stderr] | `AsRef` is not local [INFO] [stderr] | [INFO] [stderr] = note: the macro `impl_trait` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/syntax.rs:156:5 [INFO] [stderr] | [INFO] [stderr] 154 | fn impl_for_predefined() { [INFO] [stderr] | ------------------------ move the `impl` block outside of this function `impl_for_predefined` [INFO] [stderr] 155 | impl_trait!{ _impl!(T) AsRef _for!( Enum![1..=3] )} [INFO] [stderr] 156 | impl_trait!{ _impl!(T) AsMut _for!( Enum![1..=3] )} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Enum1` is not local [INFO] [stderr] | `AsMut` is not local [INFO] [stderr] | [INFO] [stderr] = note: the macro `impl_trait` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/syntax.rs:156:5 [INFO] [stderr] | [INFO] [stderr] 154 | fn impl_for_predefined() { [INFO] [stderr] | ------------------------ move the `impl` block outside of this function `impl_for_predefined` [INFO] [stderr] 155 | impl_trait!{ _impl!(T) AsRef _for!( Enum![1..=3] )} [INFO] [stderr] 156 | impl_trait!{ _impl!(T) AsMut _for!( Enum![1..=3] )} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Enum2` is not local [INFO] [stderr] | `AsMut` is not local [INFO] [stderr] | [INFO] [stderr] = note: the macro `impl_trait` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/syntax.rs:156:5 [INFO] [stderr] | [INFO] [stderr] 154 | fn impl_for_predefined() { [INFO] [stderr] | ------------------------ move the `impl` block outside of this function `impl_for_predefined` [INFO] [stderr] 155 | impl_trait!{ _impl!(T) AsRef _for!( Enum![1..=3] )} [INFO] [stderr] 156 | impl_trait!{ _impl!(T) AsMut _for!( Enum![1..=3] )} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Enum3` is not local [INFO] [stderr] | `AsMut` is not local [INFO] [stderr] | [INFO] [stderr] = note: the macro `impl_trait` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/syntax.rs:157:5 [INFO] [stderr] | [INFO] [stderr] 154 | fn impl_for_predefined() { [INFO] [stderr] | ------------------------ move the `impl` block outside of this function `impl_for_predefined` [INFO] [stderr] ... [INFO] [stderr] 157 | impl_trait!{ DoubleEndedIterator _for!( Enum![1..=3] )} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Enum1` is not local [INFO] [stderr] | `DoubleEndedIterator` is not local [INFO] [stderr] | [INFO] [stderr] = note: the macro `impl_trait` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/syntax.rs:157:5 [INFO] [stderr] | [INFO] [stderr] 154 | fn impl_for_predefined() { [INFO] [stderr] | ------------------------ move the `impl` block outside of this function `impl_for_predefined` [INFO] [stderr] ... [INFO] [stderr] 157 | impl_trait!{ DoubleEndedIterator _for!( Enum![1..=3] )} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Enum2` is not local [INFO] [stderr] | `DoubleEndedIterator` is not local [INFO] [stderr] | [INFO] [stderr] = note: the macro `impl_trait` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/syntax.rs:157:5 [INFO] [stderr] | [INFO] [stderr] 154 | fn impl_for_predefined() { [INFO] [stderr] | ------------------------ move the `impl` block outside of this function `impl_for_predefined` [INFO] [stderr] ... [INFO] [stderr] 157 | impl_trait!{ DoubleEndedIterator _for!( Enum![1..=3] )} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Enum3` is not local [INFO] [stderr] | `DoubleEndedIterator` is not local [INFO] [stderr] | [INFO] [stderr] = note: the macro `impl_trait` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/syntax.rs:158:5 [INFO] [stderr] | [INFO] [stderr] 154 | fn impl_for_predefined() { [INFO] [stderr] | ------------------------ move the `impl` block outside of this function `impl_for_predefined` [INFO] [stderr] ... [INFO] [stderr] 158 | impl_trait!{ ExactSizeIterator _for!( Enum![1..=3] )} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Enum1` is not local [INFO] [stderr] | `ExactSizeIterator` is not local [INFO] [stderr] | [INFO] [stderr] = note: the macro `impl_trait` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/syntax.rs:158:5 [INFO] [stderr] | [INFO] [stderr] 154 | fn impl_for_predefined() { [INFO] [stderr] | ------------------------ move the `impl` block outside of this function `impl_for_predefined` [INFO] [stderr] ... [INFO] [stderr] 158 | impl_trait!{ ExactSizeIterator _for!( Enum![1..=3] )} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Enum2` is not local [INFO] [stderr] | `ExactSizeIterator` is not local [INFO] [stderr] | [INFO] [stderr] = note: the macro `impl_trait` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/syntax.rs:158:5 [INFO] [stderr] | [INFO] [stderr] 154 | fn impl_for_predefined() { [INFO] [stderr] | ------------------------ move the `impl` block outside of this function `impl_for_predefined` [INFO] [stdout] [INFO] [stderr] ... [INFO] [stdout] running 12 tests [INFO] [stderr] 158 | impl_trait!{ ExactSizeIterator _for!( Enum![1..=3] )} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Enum3` is not local [INFO] [stderr] | `ExactSizeIterator` is not local [INFO] [stderr] | [INFO] [stderr] = note: the macro `impl_trait` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/syntax.rs:159:5 [INFO] [stderr] | [INFO] [stderr] 154 | fn impl_for_predefined() { [INFO] [stderr] | ------------------------ move the `impl` block outside of this function `impl_for_predefined` [INFO] [stderr] ... [INFO] [stderr] 159 | impl_trait!{ _impl!(A) Extend _for!( Enum![1..=3] )} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Enum1` is not local [INFO] [stderr] | `Extend` is not local [INFO] [stderr] | [INFO] [stderr] = note: the macro `impl_trait` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/syntax.rs:159:5 [INFO] [stderr] | [INFO] [stderr] 154 | fn impl_for_predefined() { [INFO] [stderr] | ------------------------ move the `impl` block outside of this function `impl_for_predefined` [INFO] [stderr] ... [INFO] [stderr] 159 | impl_trait!{ _impl!(A) Extend _for!( Enum![1..=3] )} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Enum2` is not local [INFO] [stderr] | `Extend` is not local [INFO] [stderr] | [INFO] [stderr] = note: the macro `impl_trait` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/syntax.rs:159:5 [INFO] [stderr] | [INFO] [stderr] 154 | fn impl_for_predefined() { [INFO] [stderr] | ------------------------ move the `impl` block outside of this function `impl_for_predefined` [INFO] [stderr] ... [INFO] [stderr] 159 | impl_trait!{ _impl!(A) Extend _for!( Enum![1..=3] )} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Enum3` is not local [INFO] [stderr] | `Extend` is not local [INFO] [stderr] | [INFO] [stderr] = note: the macro `impl_trait` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/syntax.rs:164:5 [INFO] [stderr] | [INFO] [stderr] 154 | fn impl_for_predefined() { [INFO] [stderr] | ------------------------ move the `impl` block outside of this function `impl_for_predefined` [INFO] [stderr] ... [INFO] [stderr] 164 | impl_trait!{ Iterator _for!( Enum![1..=3] )} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Enum1` is not local [INFO] [stderr] | `Iterator` is not local [INFO] [stderr] | [INFO] [stderr] = note: the macro `impl_trait` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/syntax.rs:164:5 [INFO] [stderr] | [INFO] [stderr] 154 | fn impl_for_predefined() { [INFO] [stderr] | ------------------------ move the `impl` block outside of this function `impl_for_predefined` [INFO] [stderr] ... [INFO] [stderr] 164 | impl_trait!{ Iterator _for!( Enum![1..=3] )} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Enum2` is not local [INFO] [stderr] | `Iterator` is not local [INFO] [stderr] | [INFO] [stderr] = note: the macro `impl_trait` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/syntax.rs:164:5 [INFO] [stderr] | [INFO] [stderr] 154 | fn impl_for_predefined() { [INFO] [stderr] | ------------------------ move the `impl` block outside of this function `impl_for_predefined` [INFO] [stderr] ... [INFO] [stderr] 164 | impl_trait!{ Iterator _for!( Enum![1..=3] )} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Enum3` is not local [INFO] [stderr] | `Iterator` is not local [INFO] [stderr] | [INFO] [stderr] = note: the macro `impl_trait` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/syntax.rs:165:5 [INFO] [stderr] | [INFO] [stderr] 154 | fn impl_for_predefined() { [INFO] [stderr] | ------------------------ move the `impl` block outside of this function `impl_for_predefined` [INFO] [stderr] ... [INFO] [stderr] 165 | impl_trait!{ std::error::Error _for!( Enum![1..=3] )} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Enum1` is not local [INFO] [stderr] | `Error` is not local [INFO] [stderr] | [INFO] [stderr] = note: the macro `impl_trait` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/syntax.rs:165:5 [INFO] [stderr] | [INFO] [stderr] 154 | fn impl_for_predefined() { [INFO] [stderr] | ------------------------ move the `impl` block outside of this function `impl_for_predefined` [INFO] [stderr] ... [INFO] [stderr] 165 | impl_trait!{ std::error::Error _for!( Enum![1..=3] )} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Enum2` is not local [INFO] [stderr] | `Error` is not local [INFO] [stderr] | [INFO] [stderr] = note: the macro `impl_trait` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/syntax.rs:165:5 [INFO] [stderr] | [INFO] [stderr] 154 | fn impl_for_predefined() { [INFO] [stderr] | ------------------------ move the `impl` block outside of this function `impl_for_predefined` [INFO] [stderr] ... [INFO] [stderr] 165 | impl_trait!{ std::error::Error _for!( Enum![1..=3] )} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Enum3` is not local [INFO] [stderr] | `Error` is not local [INFO] [stderr] | [INFO] [stderr] = note: the macro `impl_trait` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/syntax.rs:166:5 [INFO] [stderr] | [INFO] [stderr] 154 | fn impl_for_predefined() { [INFO] [stderr] | ------------------------ move the `impl` block outside of this function `impl_for_predefined` [INFO] [stderr] ... [INFO] [stderr] 166 | impl_trait!{ std::fmt::Debug _for!( Enum![1..=3] )} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Enum1` is not local [INFO] [stderr] | `Debug` is not local [INFO] [stderr] | [INFO] [stderr] = note: the macro `impl_trait` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/syntax.rs:166:5 [INFO] [stderr] | [INFO] [stderr] 154 | fn impl_for_predefined() { [INFO] [stderr] | ------------------------ move the `impl` block outside of this function `impl_for_predefined` [INFO] [stderr] ... [INFO] [stderr] 166 | impl_trait!{ std::fmt::Debug _for!( Enum![1..=3] )} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Enum2` is not local [INFO] [stderr] | `Debug` is not local [INFO] [stderr] | [INFO] [stderr] = note: the macro `impl_trait` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/syntax.rs:166:5 [INFO] [stderr] | [INFO] [stderr] 154 | fn impl_for_predefined() { [INFO] [stderr] | ------------------------ move the `impl` block outside of this function `impl_for_predefined` [INFO] [stderr] ... [INFO] [stderr] 166 | impl_trait!{ std::fmt::Debug _for!( Enum![1..=3] )} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Enum3` is not local [INFO] [stderr] | `Debug` is not local [INFO] [stderr] | [INFO] [stderr] = note: the macro `impl_trait` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/syntax.rs:167:5 [INFO] [stderr] | [INFO] [stderr] 154 | fn impl_for_predefined() { [INFO] [stderr] | ------------------------ move the `impl` block outside of this function `impl_for_predefined` [INFO] [stderr] ... [INFO] [stderr] 167 | impl_trait!{ std::fmt::Display _for!( Enum![1..=3] )} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Enum1` is not local [INFO] [stderr] | `Display` is not local [INFO] [stderr] | [INFO] [stderr] = note: the macro `impl_trait` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/syntax.rs:167:5 [INFO] [stderr] | [INFO] [stderr] 154 | fn impl_for_predefined() { [INFO] [stderr] | ------------------------ move the `impl` block outside of this function `impl_for_predefined` [INFO] [stderr] ... [INFO] [stderr] 167 | impl_trait!{ std::fmt::Display _for!( Enum![1..=3] )} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Enum2` is not local [INFO] [stderr] | `Display` is not local [INFO] [stderr] | [INFO] [stderr] = note: the macro `impl_trait` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/syntax.rs:167:5 [INFO] [stderr] | [INFO] [stderr] 154 | fn impl_for_predefined() { [INFO] [stderr] | ------------------------ move the `impl` block outside of this function `impl_for_predefined` [INFO] [stderr] ... [INFO] [stderr] 167 | impl_trait!{ std::fmt::Display _for!( Enum![1..=3] )} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Enum3` is not local [INFO] [stderr] | `Display` is not local [INFO] [stderr] | [INFO] [stderr] = note: the macro `impl_trait` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/syntax.rs:168:5 [INFO] [stderr] | [INFO] [stderr] 154 | fn impl_for_predefined() { [INFO] [stderr] | ------------------------ move the `impl` block outside of this function `impl_for_predefined` [INFO] [stderr] ... [INFO] [stderr] 168 | impl_trait!{ std::iter::FusedIterator _for!( Enum![1..=3] )} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Enum1` is not local [INFO] [stderr] | `FusedIterator` is not local [INFO] [stderr] | [INFO] [stderr] = note: the macro `impl_trait` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/syntax.rs:168:5 [INFO] [stderr] | [INFO] [stderr] 154 | fn impl_for_predefined() { [INFO] [stderr] | ------------------------ move the `impl` block outside of this function `impl_for_predefined` [INFO] [stderr] ... [INFO] [stderr] 168 | impl_trait!{ std::iter::FusedIterator _for!( Enum![1..=3] )} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Enum2` is not local [INFO] [stderr] | `FusedIterator` is not local [INFO] [stderr] | [INFO] [stderr] = note: the macro `impl_trait` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/syntax.rs:168:5 [INFO] [stderr] | [INFO] [stderr] 154 | fn impl_for_predefined() { [INFO] [stderr] | ------------------------ move the `impl` block outside of this function `impl_for_predefined` [INFO] [stderr] ... [INFO] [stderr] 168 | impl_trait!{ std::iter::FusedIterator _for!( Enum![1..=3] )} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Enum3` is not local [INFO] [stderr] | `FusedIterator` is not local [INFO] [stderr] | [INFO] [stderr] = note: the macro `impl_trait` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/syntax.rs:173:5 [INFO] [stderr] | [INFO] [stderr] 154 | fn impl_for_predefined() { [INFO] [stderr] | ------------------------ move the `impl` block outside of this function `impl_for_predefined` [INFO] [stderr] ... [INFO] [stderr] 173 | impl_trait!{ std::io::BufRead _for!( Enum![1..=3] )} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Enum1` is not local [INFO] [stderr] | `BufRead` is not local [INFO] [stderr] | [INFO] [stderr] = note: the macro `impl_trait` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/syntax.rs:173:5 [INFO] [stderr] | [INFO] [stderr] 154 | fn impl_for_predefined() { [INFO] [stderr] | ------------------------ move the `impl` block outside of this function `impl_for_predefined` [INFO] [stderr] ... [INFO] [stderr] 173 | impl_trait!{ std::io::BufRead _for!( Enum![1..=3] )} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Enum2` is not local [INFO] [stderr] | `BufRead` is not local [INFO] [stderr] | [INFO] [stderr] = note: the macro `impl_trait` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/syntax.rs:173:5 [INFO] [stderr] | [INFO] [stderr] 154 | fn impl_for_predefined() { [INFO] [stderr] | ------------------------ move the `impl` block outside of this function `impl_for_predefined` [INFO] [stderr] ... [INFO] [stderr] 173 | impl_trait!{ std::io::BufRead _for!( Enum![1..=3] )} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Enum3` is not local [INFO] [stderr] | `BufRead` is not local [INFO] [stderr] | [INFO] [stderr] = note: the macro `impl_trait` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/syntax.rs:174:5 [INFO] [stderr] | [INFO] [stderr] 154 | fn impl_for_predefined() { [INFO] [stderr] | ------------------------ move the `impl` block outside of this function `impl_for_predefined` [INFO] [stderr] ... [INFO] [stderr] 174 | impl_trait!{ std::io::Read _for!( Enum![1..=3] )} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Enum1` is not local [INFO] [stderr] | `Read` is not local [INFO] [stderr] | [INFO] [stderr] = note: the macro `impl_trait` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/syntax.rs:174:5 [INFO] [stderr] | [INFO] [stderr] 154 | fn impl_for_predefined() { [INFO] [stderr] | ------------------------ move the `impl` block outside of this function `impl_for_predefined` [INFO] [stderr] ... [INFO] [stderr] 174 | impl_trait!{ std::io::Read _for!( Enum![1..=3] )} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Enum2` is not local [INFO] [stderr] | `Read` is not local [INFO] [stderr] | [INFO] [stderr] = note: the macro `impl_trait` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] test tests::test_named::test_adhoc_into_named ... ok [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/syntax.rs:174:5 [INFO] [stdout] test tests::test_named::test_adhoc_from_named ... ok [INFO] [stderr] | [INFO] [stdout] test tests::test_named::test_into_enum ... ok [INFO] [stderr] 154 | fn impl_for_predefined() { [INFO] [stdout] test tests::test_named::test_exchange_from ... ok [INFO] [stderr] | ------------------------ move the `impl` block outside of this function `impl_for_predefined` [INFO] [stdout] test tests::test_named::test_named_from_adhoc ... ok [INFO] [stderr] ... [INFO] [stdout] test tests::test_named::test_exchange_into ... ok [INFO] [stderr] 174 | impl_trait!{ std::io::Read _for!( Enum![1..=3] )} [INFO] [stdout] test tests::test_named::test_named_into_adhoc ... ok [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] test tests::test_named::test_from_variant ... ok [INFO] [stderr] | | [INFO] [stdout] test tests::test_unnamed::test_exchange_from ... ok [INFO] [stderr] | `Enum3` is not local [INFO] [stdout] test tests::test_unnamed::test_exchange_into ... ok [INFO] [stderr] | `Read` is not local [INFO] [stderr] | [INFO] [stderr] = note: the macro `impl_trait` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/syntax.rs:175:5 [INFO] [stderr] | [INFO] [stderr] 154 | fn impl_for_predefined() { [INFO] [stderr] | ------------------------ move the `impl` block outside of this function `impl_for_predefined` [INFO] [stderr] ... [INFO] [stderr] 175 | impl_trait!{ std::io::Seek _for!( Enum![1..=3] )} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Enum1` is not local [INFO] [stderr] | `Seek` is not local [INFO] [stderr] | [INFO] [stderr] = note: the macro `impl_trait` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/syntax.rs:175:5 [INFO] [stderr] | [INFO] [stderr] 154 | fn impl_for_predefined() { [INFO] [stderr] | ------------------------ move the `impl` block outside of this function `impl_for_predefined` [INFO] [stderr] ... [INFO] [stderr] 175 | impl_trait!{ std::io::Seek _for!( Enum![1..=3] )} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Enum2` is not local [INFO] [stderr] | `Seek` is not local [INFO] [stderr] | [INFO] [stderr] = note: the macro `impl_trait` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/syntax.rs:175:5 [INFO] [stderr] | [INFO] [stderr] 154 | fn impl_for_predefined() { [INFO] [stdout] test tests::test_unnamed::test_from_variant ... ok [INFO] [stderr] | ------------------------ move the `impl` block outside of this function `impl_for_predefined` [INFO] [stdout] test tests::test_unnamed::test_into_enum ... ok [INFO] [stderr] ... [INFO] [stdout] [INFO] [stderr] 175 | impl_trait!{ std::io::Seek _for!( Enum![1..=3] )} [INFO] [stdout] test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stderr] | | [INFO] [stderr] | `Enum3` is not local [INFO] [stderr] | `Seek` is not local [INFO] [stderr] | [INFO] [stderr] = note: the macro `impl_trait` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/syntax.rs:176:5 [INFO] [stderr] | [INFO] [stderr] 154 | fn impl_for_predefined() { [INFO] [stderr] | ------------------------ move the `impl` block outside of this function `impl_for_predefined` [INFO] [stderr] ... [INFO] [stderr] 176 | impl_trait!{ std::io::Write _for!( Enum![1..=3] )} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Enum1` is not local [INFO] [stderr] | `Write` is not local [INFO] [stderr] | [INFO] [stderr] = note: the macro `impl_trait` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/syntax.rs:176:5 [INFO] [stderr] | [INFO] [stderr] 154 | fn impl_for_predefined() { [INFO] [stderr] | ------------------------ move the `impl` block outside of this function `impl_for_predefined` [INFO] [stderr] ... [INFO] [stderr] 176 | impl_trait!{ std::io::Write _for!( Enum![1..=3] )} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Enum2` is not local [INFO] [stderr] | `Write` is not local [INFO] [stderr] | [INFO] [stderr] = note: the macro `impl_trait` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/syntax.rs:176:5 [INFO] [stderr] | [INFO] [stderr] 154 | fn impl_for_predefined() { [INFO] [stderr] | ------------------------ move the `impl` block outside of this function `impl_for_predefined` [INFO] [stderr] ... [INFO] [stderr] 176 | impl_trait!{ std::io::Write _for!( Enum![1..=3] )} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Enum3` is not local [INFO] [stderr] | `Write` is not local [INFO] [stderr] | [INFO] [stderr] = note: the macro `impl_trait` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/syntax.rs:177:5 [INFO] [stderr] | [INFO] [stderr] 154 | fn impl_for_predefined() { [INFO] [stderr] | ------------------------ move the `impl` block outside of this function `impl_for_predefined` [INFO] [stderr] ... [INFO] [stderr] 177 | impl_trait!{ std::ops::Deref _for!( Enum![1..=3] )} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Enum1` is not local [INFO] [stderr] | `Deref` is not local [INFO] [stderr] | [INFO] [stderr] = note: the macro `impl_trait` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/syntax.rs:177:5 [INFO] [stderr] | [INFO] [stderr] 154 | fn impl_for_predefined() { [INFO] [stderr] | ------------------------ move the `impl` block outside of this function `impl_for_predefined` [INFO] [stderr] ... [INFO] [stderr] 177 | impl_trait!{ std::ops::Deref _for!( Enum![1..=3] )} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Enum2` is not local [INFO] [stderr] | `Deref` is not local [INFO] [stderr] | [INFO] [stderr] = note: the macro `impl_trait` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/syntax.rs:177:5 [INFO] [stderr] | [INFO] [stderr] 154 | fn impl_for_predefined() { [INFO] [stderr] | ------------------------ move the `impl` block outside of this function `impl_for_predefined` [INFO] [stderr] ... [INFO] [stderr] 177 | impl_trait!{ std::ops::Deref _for!( Enum![1..=3] )} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Enum3` is not local [INFO] [stderr] | `Deref` is not local [INFO] [stderr] | [INFO] [stderr] = note: the macro `impl_trait` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/syntax.rs:178:5 [INFO] [stderr] | [INFO] [stderr] 154 | fn impl_for_predefined() { [INFO] [stderr] | ------------------------ move the `impl` block outside of this function `impl_for_predefined` [INFO] [stderr] ... [INFO] [stderr] 178 | impl_trait!{ std::ops::DerefMut _for!( Enum![1..=3] )} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Enum1` is not local [INFO] [stderr] | `DerefMut` is not local [INFO] [stderr] | [INFO] [stderr] = note: the macro `impl_trait` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/syntax.rs:178:5 [INFO] [stderr] | [INFO] [stderr] 154 | fn impl_for_predefined() { [INFO] [stderr] | ------------------------ move the `impl` block outside of this function `impl_for_predefined` [INFO] [stderr] ... [INFO] [stderr] 178 | impl_trait!{ std::ops::DerefMut _for!( Enum![1..=3] )} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Enum2` is not local [INFO] [stderr] | `DerefMut` is not local [INFO] [stderr] | [INFO] [stderr] = note: the macro `impl_trait` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/syntax.rs:178:5 [INFO] [stderr] | [INFO] [stderr] 154 | fn impl_for_predefined() { [INFO] [stderr] | ------------------------ move the `impl` block outside of this function `impl_for_predefined` [INFO] [stderr] ... [INFO] [stderr] 178 | impl_trait!{ std::ops::DerefMut _for!( Enum![1..=3] )} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Enum3` is not local [INFO] [stderr] | `DerefMut` is not local [INFO] [stderr] | [INFO] [stderr] = note: the macro `impl_trait` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/syntax.rs:183:5 [INFO] [stderr] | [INFO] [stderr] 154 | fn impl_for_predefined() { [INFO] [stderr] | ------------------------ move the `impl` block outside of this function `impl_for_predefined` [INFO] [stderr] ... [INFO] [stderr] 183 | impl_trait!{ _impl!(Idx) std::ops::Index _for!( Enum![1..=3] )} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Enum1` is not local [INFO] [stderr] | `Index` is not local [INFO] [stderr] | [INFO] [stderr] = note: the macro `impl_trait` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/syntax.rs:183:5 [INFO] [stderr] | [INFO] [stderr] 154 | fn impl_for_predefined() { [INFO] [stderr] | ------------------------ move the `impl` block outside of this function `impl_for_predefined` [INFO] [stderr] ... [INFO] [stderr] 183 | impl_trait!{ _impl!(Idx) std::ops::Index _for!( Enum![1..=3] )} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Enum2` is not local [INFO] [stderr] | `Index` is not local [INFO] [stderr] | [INFO] [stderr] = note: the macro `impl_trait` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/syntax.rs:183:5 [INFO] [stderr] | [INFO] [stderr] 154 | fn impl_for_predefined() { [INFO] [stderr] | ------------------------ move the `impl` block outside of this function `impl_for_predefined` [INFO] [stderr] ... [INFO] [stderr] 183 | impl_trait!{ _impl!(Idx) std::ops::Index _for!( Enum![1..=3] )} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Enum3` is not local [INFO] [stderr] | `Index` is not local [INFO] [stderr] | [INFO] [stderr] = note: the macro `impl_trait` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/syntax.rs:184:5 [INFO] [stderr] | [INFO] [stderr] 154 | fn impl_for_predefined() { [INFO] [stderr] | ------------------------ move the `impl` block outside of this function `impl_for_predefined` [INFO] [stderr] ... [INFO] [stderr] 184 | impl_trait!{ _impl!(Idx) std::ops::IndexMut _for!( Enum![1..=3] )} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Enum1` is not local [INFO] [stderr] | `IndexMut` is not local [INFO] [stderr] | [INFO] [stderr] = note: the macro `impl_trait` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/syntax.rs:184:5 [INFO] [stderr] | [INFO] [stderr] 154 | fn impl_for_predefined() { [INFO] [stderr] | ------------------------ move the `impl` block outside of this function `impl_for_predefined` [INFO] [stderr] ... [INFO] [stderr] 184 | impl_trait!{ _impl!(Idx) std::ops::IndexMut _for!( Enum![1..=3] )} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Enum2` is not local [INFO] [stderr] | `IndexMut` is not local [INFO] [stderr] | [INFO] [stderr] = note: the macro `impl_trait` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/syntax.rs:184:5 [INFO] [stderr] | [INFO] [stderr] 154 | fn impl_for_predefined() { [INFO] [stderr] | ------------------------ move the `impl` block outside of this function `impl_for_predefined` [INFO] [stderr] ... [INFO] [stderr] 184 | impl_trait!{ _impl!(Idx) std::ops::IndexMut _for!( Enum![1..=3] )} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Enum3` is not local [INFO] [stderr] | `IndexMut` is not local [INFO] [stderr] | [INFO] [stderr] = note: the macro `impl_trait` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/syntax.rs:185:5 [INFO] [stderr] | [INFO] [stderr] 154 | fn impl_for_predefined() { [INFO] [stderr] | ------------------------ move the `impl` block outside of this function `impl_for_predefined` [INFO] [stderr] ... [INFO] [stderr] 185 | impl_trait!{ _impl!(T) std::ops::RangeBounds _for!( Enum![1..=3] )} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Enum1` is not local [INFO] [stderr] | `RangeBounds` is not local [INFO] [stderr] | [INFO] [stderr] = note: the macro `impl_trait` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/syntax.rs:185:5 [INFO] [stderr] | [INFO] [stderr] 154 | fn impl_for_predefined() { [INFO] [stderr] | ------------------------ move the `impl` block outside of this function `impl_for_predefined` [INFO] [stderr] ... [INFO] [stderr] 185 | impl_trait!{ _impl!(T) std::ops::RangeBounds _for!( Enum![1..=3] )} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Enum2` is not local [INFO] [stderr] | `RangeBounds` is not local [INFO] [stderr] | [INFO] [stderr] = note: the macro `impl_trait` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/syntax.rs:185:5 [INFO] [stderr] | [INFO] [stderr] 154 | fn impl_for_predefined() { [INFO] [stderr] | ------------------------ move the `impl` block outside of this function `impl_for_predefined` [INFO] [stderr] ... [INFO] [stderr] 185 | impl_trait!{ _impl!(T) std::ops::RangeBounds _for!( Enum![1..=3] )} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Enum3` is not local [INFO] [stderr] | `RangeBounds` is not local [INFO] [stderr] | [INFO] [stderr] = note: the macro `impl_trait` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `enumx` (test "macro_inheritance") generated 3 warnings [INFO] [stderr] warning: `enumx` (test "syntax") generated 59 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/enumx-40d71a872c76ca99) [INFO] [stderr] Running tests/macro_inheritance.rs (/opt/rustwide/target/debug/deps/macro_inheritance-53029eda16f52725) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test impl_std_fmt_write ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/syntax.rs (/opt/rustwide/target/debug/deps/syntax-38df40f953155a7c) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test single_impl ... ok [INFO] [stdout] test impl_for_predefined ... ok [INFO] [stdout] test sum_syntax ... ok [INFO] [stdout] test single_impl_with_generics ... ok [INFO] [stdout] test syntax ... ok [INFO] [stdout] test impl_trait_for_def ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests enumx [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/lib.rs - TyPat (line 253) - compile ... ok [INFO] [stdout] test src/macros.rs - macros::impl_trait (line 142) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.14s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ea7ba35e49ef543609070046eaeff4ffb0c9504f9e6aac6fd11572788c0b1179", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea7ba35e49ef543609070046eaeff4ffb0c9504f9e6aac6fd11572788c0b1179", kill_on_drop: false }` [INFO] [stdout] ea7ba35e49ef543609070046eaeff4ffb0c9504f9e6aac6fd11572788c0b1179