[INFO] fetching crate gc-sequence 0.2.2... [INFO] checking gc-sequence-0.2.2 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate gc-sequence 0.2.2 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate gc-sequence 0.2.2 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate gc-sequence 0.2.2 [INFO] finished tweaking crates.io crate gc-sequence 0.2.2 [INFO] tweaked toml for crates.io crate gc-sequence 0.2.2 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 8 packages to latest compatible versions [INFO] [stderr] Adding gc-arena v0.2.2 (available: v0.5.3) [INFO] [stderr] Adding gc-arena-derive v0.2.2 (available: v0.5.3) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.79) [INFO] [stderr] Adding synstructure v0.12.6 (available: v0.13.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 328c33550a68b0778580a18c2f6d9011ff5ba53ac9e5b5d91420d9e1c5d3011b [INFO] running `Command { std: "docker" "start" "-a" "328c33550a68b0778580a18c2f6d9011ff5ba53ac9e5b5d91420d9e1c5d3011b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "328c33550a68b0778580a18c2f6d9011ff5ba53ac9e5b5d91420d9e1c5d3011b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "328c33550a68b0778580a18c2f6d9011ff5ba53ac9e5b5d91420d9e1c5d3011b", kill_on_drop: false }` [INFO] [stdout] 328c33550a68b0778580a18c2f6d9011ff5ba53ac9e5b5d91420d9e1c5d3011b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9d58b8bb8146c3d8622f17dc5331e5c1daeeb8c92b1c169363356d0c1985a1d3 [INFO] running `Command { std: "docker" "start" "-a" "9d58b8bb8146c3d8622f17dc5331e5c1daeeb8c92b1c169363356d0c1985a1d3", kill_on_drop: false }` [INFO] [stderr] Compiling gc-arena-derive v0.2.2 [INFO] [stderr] Checking gc-arena v0.2.2 [INFO] [stderr] Checking gc-sequence v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/and_then.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Collect)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Collect` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_gc_arena_Collect_FOR_AndThen` [INFO] [stdout] 7 | #[collect(no_drop)] [INFO] [stdout] 8 | pub enum AndThen { [INFO] [stdout] | ------- `AndThen` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Collect` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Collect` may come from an old version of the `gc_arena_derive` crate, try updating your dependency with `cargo update -p gc_arena_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Collect` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/and_then.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Collect)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `MustNotImplDrop` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_gc_arena_MustNotImplDrop_FOR_AndThen` [INFO] [stdout] 7 | #[collect(no_drop)] [INFO] [stdout] 8 | pub enum AndThen { [INFO] [stdout] | ------- `AndThen` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Collect` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Collect` may come from an old version of the `gc_arena_derive` crate, try updating your dependency with `cargo update -p gc_arena_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Collect` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/and_then.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(Debug, Collect)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Collect` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_gc_arena_Collect_FOR_AndThenWith` [INFO] [stdout] 50 | #[collect(no_drop)] [INFO] [stdout] 51 | pub enum AndThenWith { [INFO] [stdout] | ----------- `AndThenWith` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Collect` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Collect` may come from an old version of the `gc_arena_derive` crate, try updating your dependency with `cargo update -p gc_arena_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Collect` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/and_then.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(Debug, Collect)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `MustNotImplDrop` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_gc_arena_MustNotImplDrop_FOR_AndThenWith` [INFO] [stdout] 50 | #[collect(no_drop)] [INFO] [stdout] 51 | pub enum AndThenWith { [INFO] [stdout] | ----------- `AndThenWith` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Collect` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Collect` may come from an old version of the `gc_arena_derive` crate, try updating your dependency with `cargo update -p gc_arena_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Collect` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/done.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Collect)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Collect` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_gc_arena_Collect_FOR_Done` [INFO] [stdout] 7 | #[collect(no_drop)] [INFO] [stdout] 8 | pub struct Done(Option); [INFO] [stdout] | ---- `Done` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Collect` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Collect` may come from an old version of the `gc_arena_derive` crate, try updating your dependency with `cargo update -p gc_arena_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Collect` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/done.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Collect)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `MustNotImplDrop` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_gc_arena_MustNotImplDrop_FOR_Done` [INFO] [stdout] 7 | #[collect(no_drop)] [INFO] [stdout] 8 | pub struct Done(Option); [INFO] [stdout] | ---- `Done` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Collect` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Collect` may come from an old version of the `gc_arena_derive` crate, try updating your dependency with `cargo update -p gc_arena_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Collect` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/flatten.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Collect)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Collect` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_gc_arena_Collect_FOR_Flatten` [INFO] [stdout] 7 | #[collect(no_drop)] [INFO] [stdout] 8 | pub enum Flatten<'gc, S> [INFO] [stdout] | ------- `Flatten` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Collect` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Collect` may come from an old version of the `gc_arena_derive` crate, try updating your dependency with `cargo update -p gc_arena_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Collect` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/flatten.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Collect)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `MustNotImplDrop` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_gc_arena_MustNotImplDrop_FOR_Flatten` [INFO] [stdout] 7 | #[collect(no_drop)] [INFO] [stdout] 8 | pub enum Flatten<'gc, S> [INFO] [stdout] | ------- `Flatten` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Collect` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Collect` may come from an old version of the `gc_arena_derive` crate, try updating your dependency with `cargo update -p gc_arena_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Collect` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/flatten_result.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Collect)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Collect` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_gc_arena_Collect_FOR_FlattenOk` [INFO] [stdout] 7 | #[collect(no_drop)] [INFO] [stdout] 8 | pub enum FlattenOk { [INFO] [stdout] | --------- `FlattenOk` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Collect` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Collect` may come from an old version of the `gc_arena_derive` crate, try updating your dependency with `cargo update -p gc_arena_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Collect` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/flatten_result.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Collect)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `MustNotImplDrop` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_gc_arena_MustNotImplDrop_FOR_FlattenOk` [INFO] [stdout] 7 | #[collect(no_drop)] [INFO] [stdout] 8 | pub enum FlattenOk { [INFO] [stdout] | --------- `FlattenOk` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Collect` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Collect` may come from an old version of the `gc_arena_derive` crate, try updating your dependency with `cargo update -p gc_arena_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Collect` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/map.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Collect)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Collect` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_gc_arena_Collect_FOR_Map` [INFO] [stdout] 7 | #[collect(no_drop)] [INFO] [stdout] 8 | pub struct Map(S, Option>); [INFO] [stdout] | --- `Map` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Collect` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Collect` may come from an old version of the `gc_arena_derive` crate, try updating your dependency with `cargo update -p gc_arena_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Collect` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/map.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Collect)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `MustNotImplDrop` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_gc_arena_MustNotImplDrop_FOR_Map` [INFO] [stdout] 7 | #[collect(no_drop)] [INFO] [stdout] 8 | pub struct Map(S, Option>); [INFO] [stdout] | --- `Map` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Collect` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Collect` may come from an old version of the `gc_arena_derive` crate, try updating your dependency with `cargo update -p gc_arena_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Collect` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/map.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | #[derive(Debug, Collect)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Collect` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_gc_arena_Collect_FOR_MapWith` [INFO] [stdout] 35 | #[collect(no_drop)] [INFO] [stdout] 36 | pub struct MapWith(S, Option<(C, StaticCollect)>); [INFO] [stdout] | ------- `MapWith` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Collect` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Collect` may come from an old version of the `gc_arena_derive` crate, try updating your dependency with `cargo update -p gc_arena_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Collect` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/map.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | #[derive(Debug, Collect)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `MustNotImplDrop` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_gc_arena_MustNotImplDrop_FOR_MapWith` [INFO] [stdout] 35 | #[collect(no_drop)] [INFO] [stdout] 36 | pub struct MapWith(S, Option<(C, StaticCollect)>); [INFO] [stdout] | ------- `MapWith` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Collect` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Collect` may come from an old version of the `gc_arena_derive` crate, try updating your dependency with `cargo update -p gc_arena_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Collect` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/map_result.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Collect)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Collect` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_gc_arena_Collect_FOR_MapOk` [INFO] [stdout] 7 | #[collect(no_drop)] [INFO] [stdout] 8 | pub struct MapOk(S, Option>); [INFO] [stdout] | ----- `MapOk` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Collect` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Collect` may come from an old version of the `gc_arena_derive` crate, try updating your dependency with `cargo update -p gc_arena_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Collect` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/map_result.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Collect)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `MustNotImplDrop` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_gc_arena_MustNotImplDrop_FOR_MapOk` [INFO] [stdout] 7 | #[collect(no_drop)] [INFO] [stdout] 8 | pub struct MapOk(S, Option>); [INFO] [stdout] | ----- `MapOk` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Collect` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Collect` may come from an old version of the `gc_arena_derive` crate, try updating your dependency with `cargo update -p gc_arena_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Collect` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/map_result.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(Debug, Collect)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Collect` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_gc_arena_Collect_FOR_MapOkWith` [INFO] [stdout] 38 | #[collect(no_drop)] [INFO] [stdout] 39 | pub struct MapOkWith(S, Option<(C, StaticCollect)>); [INFO] [stdout] | --------- `MapOkWith` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Collect` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Collect` may come from an old version of the `gc_arena_derive` crate, try updating your dependency with `cargo update -p gc_arena_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Collect` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/map_result.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(Debug, Collect)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `MustNotImplDrop` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_gc_arena_MustNotImplDrop_FOR_MapOkWith` [INFO] [stdout] 38 | #[collect(no_drop)] [INFO] [stdout] 39 | pub struct MapOkWith(S, Option<(C, StaticCollect)>); [INFO] [stdout] | --------- `MapOkWith` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Collect` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Collect` may come from an old version of the `gc_arena_derive` crate, try updating your dependency with `cargo update -p gc_arena_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Collect` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/map_result.rs:68:17 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Debug, Collect)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Collect` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_gc_arena_Collect_FOR_MapError` [INFO] [stdout] 69 | #[collect(no_drop)] [INFO] [stdout] 70 | pub struct MapError(S, Option>); [INFO] [stdout] | -------- `MapError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Collect` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Collect` may come from an old version of the `gc_arena_derive` crate, try updating your dependency with `cargo update -p gc_arena_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Collect` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/map_result.rs:68:17 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Debug, Collect)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `MustNotImplDrop` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_gc_arena_MustNotImplDrop_FOR_MapError` [INFO] [stdout] 69 | #[collect(no_drop)] [INFO] [stdout] 70 | pub struct MapError(S, Option>); [INFO] [stdout] | -------- `MapError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Collect` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Collect` may come from an old version of the `gc_arena_derive` crate, try updating your dependency with `cargo update -p gc_arena_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Collect` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sequence_fn.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug, Collect)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Collect` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_gc_arena_Collect_FOR_SequenceFn` [INFO] [stdout] 14 | #[collect(no_drop)] [INFO] [stdout] 15 | pub struct SequenceFn(Option>); [INFO] [stdout] | ---------- `SequenceFn` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Collect` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Collect` may come from an old version of the `gc_arena_derive` crate, try updating your dependency with `cargo update -p gc_arena_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Collect` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sequence_fn.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug, Collect)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `MustNotImplDrop` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_gc_arena_MustNotImplDrop_FOR_SequenceFn` [INFO] [stdout] 14 | #[collect(no_drop)] [INFO] [stdout] 15 | pub struct SequenceFn(Option>); [INFO] [stdout] | ---------- `SequenceFn` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Collect` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Collect` may come from an old version of the `gc_arena_derive` crate, try updating your dependency with `cargo update -p gc_arena_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Collect` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sequence_fn.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | #[derive(Debug, Collect)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Collect` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_gc_arena_Collect_FOR_SequenceFnWith` [INFO] [stdout] 46 | #[collect(no_drop)] [INFO] [stdout] 47 | pub struct SequenceFnWith(Option<(C, StaticCollect)>); [INFO] [stdout] | -------------- `SequenceFnWith` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Collect` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Collect` may come from an old version of the `gc_arena_derive` crate, try updating your dependency with `cargo update -p gc_arena_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Collect` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sequence_fn.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | #[derive(Debug, Collect)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `MustNotImplDrop` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_gc_arena_MustNotImplDrop_FOR_SequenceFnWith` [INFO] [stdout] 46 | #[collect(no_drop)] [INFO] [stdout] 47 | pub struct SequenceFnWith(Option<(C, StaticCollect)>); [INFO] [stdout] | -------------- `SequenceFnWith` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Collect` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Collect` may come from an old version of the `gc_arena_derive` crate, try updating your dependency with `cargo update -p gc_arena_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Collect` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/then.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Collect)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Collect` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_gc_arena_Collect_FOR_Then` [INFO] [stdout] 7 | #[collect(no_drop)] [INFO] [stdout] 8 | pub enum Then<'gc, S, F> [INFO] [stdout] | ---- `Then` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Collect` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Collect` may come from an old version of the `gc_arena_derive` crate, try updating your dependency with `cargo update -p gc_arena_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Collect` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/and_then.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Collect)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Collect` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_gc_arena_Collect_FOR_AndThen` [INFO] [stdout] 7 | #[collect(no_drop)] [INFO] [stdout] 8 | pub enum AndThen { [INFO] [stdout] | ------- `AndThen` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Collect` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Collect` may come from an old version of the `gc_arena_derive` crate, try updating your dependency with `cargo update -p gc_arena_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Collect` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/then.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Collect)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `MustNotImplDrop` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_gc_arena_MustNotImplDrop_FOR_Then` [INFO] [stdout] 7 | #[collect(no_drop)] [INFO] [stdout] 8 | pub enum Then<'gc, S, F> [INFO] [stdout] | ---- `Then` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Collect` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Collect` may come from an old version of the `gc_arena_derive` crate, try updating your dependency with `cargo update -p gc_arena_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Collect` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/then.rs:51:17 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Debug, Collect)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Collect` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_gc_arena_Collect_FOR_ThenWith` [INFO] [stdout] 52 | #[collect(no_drop)] [INFO] [stdout] 53 | pub enum ThenWith<'gc, S, C, F> [INFO] [stdout] | -------- `ThenWith` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Collect` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Collect` may come from an old version of the `gc_arena_derive` crate, try updating your dependency with `cargo update -p gc_arena_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Collect` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/then.rs:51:17 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Debug, Collect)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `MustNotImplDrop` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_gc_arena_MustNotImplDrop_FOR_ThenWith` [INFO] [stdout] 52 | #[collect(no_drop)] [INFO] [stdout] 53 | pub enum ThenWith<'gc, S, C, F> [INFO] [stdout] | -------- `ThenWith` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Collect` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Collect` may come from an old version of the `gc_arena_derive` crate, try updating your dependency with `cargo update -p gc_arena_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Collect` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/and_then.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Collect)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `MustNotImplDrop` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_gc_arena_MustNotImplDrop_FOR_AndThen` [INFO] [stdout] 7 | #[collect(no_drop)] [INFO] [stdout] 8 | pub enum AndThen { [INFO] [stdout] | ------- `AndThen` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Collect` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Collect` may come from an old version of the `gc_arena_derive` crate, try updating your dependency with `cargo update -p gc_arena_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Collect` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/and_then.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(Debug, Collect)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Collect` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_gc_arena_Collect_FOR_AndThenWith` [INFO] [stdout] 50 | #[collect(no_drop)] [INFO] [stdout] 51 | pub enum AndThenWith { [INFO] [stdout] | ----------- `AndThenWith` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Collect` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Collect` may come from an old version of the `gc_arena_derive` crate, try updating your dependency with `cargo update -p gc_arena_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Collect` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/and_then.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(Debug, Collect)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `MustNotImplDrop` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_gc_arena_MustNotImplDrop_FOR_AndThenWith` [INFO] [stdout] 50 | #[collect(no_drop)] [INFO] [stdout] 51 | pub enum AndThenWith { [INFO] [stdout] | ----------- `AndThenWith` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Collect` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Collect` may come from an old version of the `gc_arena_derive` crate, try updating your dependency with `cargo update -p gc_arena_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Collect` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/done.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Collect)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Collect` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_gc_arena_Collect_FOR_Done` [INFO] [stdout] 7 | #[collect(no_drop)] [INFO] [stdout] 8 | pub struct Done(Option); [INFO] [stdout] | ---- `Done` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Collect` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Collect` may come from an old version of the `gc_arena_derive` crate, try updating your dependency with `cargo update -p gc_arena_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Collect` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/done.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Collect)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `MustNotImplDrop` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_gc_arena_MustNotImplDrop_FOR_Done` [INFO] [stdout] 7 | #[collect(no_drop)] [INFO] [stdout] 8 | pub struct Done(Option); [INFO] [stdout] | ---- `Done` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Collect` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Collect` may come from an old version of the `gc_arena_derive` crate, try updating your dependency with `cargo update -p gc_arena_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Collect` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/flatten.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Collect)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Collect` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_gc_arena_Collect_FOR_Flatten` [INFO] [stdout] 7 | #[collect(no_drop)] [INFO] [stdout] 8 | pub enum Flatten<'gc, S> [INFO] [stdout] | ------- `Flatten` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Collect` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Collect` may come from an old version of the `gc_arena_derive` crate, try updating your dependency with `cargo update -p gc_arena_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Collect` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/flatten.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Collect)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `MustNotImplDrop` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_gc_arena_MustNotImplDrop_FOR_Flatten` [INFO] [stdout] 7 | #[collect(no_drop)] [INFO] [stdout] 8 | pub enum Flatten<'gc, S> [INFO] [stdout] | ------- `Flatten` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Collect` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Collect` may come from an old version of the `gc_arena_derive` crate, try updating your dependency with `cargo update -p gc_arena_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Collect` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/flatten_result.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Collect)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Collect` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_gc_arena_Collect_FOR_FlattenOk` [INFO] [stdout] 7 | #[collect(no_drop)] [INFO] [stdout] 8 | pub enum FlattenOk { [INFO] [stdout] | --------- `FlattenOk` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Collect` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Collect` may come from an old version of the `gc_arena_derive` crate, try updating your dependency with `cargo update -p gc_arena_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Collect` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/flatten_result.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Collect)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `MustNotImplDrop` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_gc_arena_MustNotImplDrop_FOR_FlattenOk` [INFO] [stdout] 7 | #[collect(no_drop)] [INFO] [stdout] 8 | pub enum FlattenOk { [INFO] [stdout] | --------- `FlattenOk` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Collect` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Collect` may come from an old version of the `gc_arena_derive` crate, try updating your dependency with `cargo update -p gc_arena_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Collect` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/map.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Collect)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Collect` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_gc_arena_Collect_FOR_Map` [INFO] [stdout] 7 | #[collect(no_drop)] [INFO] [stdout] 8 | pub struct Map(S, Option>); [INFO] [stdout] | --- `Map` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Collect` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Collect` may come from an old version of the `gc_arena_derive` crate, try updating your dependency with `cargo update -p gc_arena_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Collect` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/map.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Collect)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `MustNotImplDrop` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_gc_arena_MustNotImplDrop_FOR_Map` [INFO] [stdout] 7 | #[collect(no_drop)] [INFO] [stdout] 8 | pub struct Map(S, Option>); [INFO] [stdout] | --- `Map` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Collect` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Collect` may come from an old version of the `gc_arena_derive` crate, try updating your dependency with `cargo update -p gc_arena_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Collect` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/map.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | #[derive(Debug, Collect)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Collect` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_gc_arena_Collect_FOR_MapWith` [INFO] [stdout] 35 | #[collect(no_drop)] [INFO] [stdout] 36 | pub struct MapWith(S, Option<(C, StaticCollect)>); [INFO] [stdout] | ------- `MapWith` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Collect` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Collect` may come from an old version of the `gc_arena_derive` crate, try updating your dependency with `cargo update -p gc_arena_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Collect` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/map.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | #[derive(Debug, Collect)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `MustNotImplDrop` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_gc_arena_MustNotImplDrop_FOR_MapWith` [INFO] [stdout] 35 | #[collect(no_drop)] [INFO] [stdout] 36 | pub struct MapWith(S, Option<(C, StaticCollect)>); [INFO] [stdout] | ------- `MapWith` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Collect` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Collect` may come from an old version of the `gc_arena_derive` crate, try updating your dependency with `cargo update -p gc_arena_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Collect` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/map_result.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Collect)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Collect` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_gc_arena_Collect_FOR_MapOk` [INFO] [stdout] 7 | #[collect(no_drop)] [INFO] [stdout] 8 | pub struct MapOk(S, Option>); [INFO] [stdout] | ----- `MapOk` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Collect` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Collect` may come from an old version of the `gc_arena_derive` crate, try updating your dependency with `cargo update -p gc_arena_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Collect` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/map_result.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Collect)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `MustNotImplDrop` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_gc_arena_MustNotImplDrop_FOR_MapOk` [INFO] [stdout] 7 | #[collect(no_drop)] [INFO] [stdout] 8 | pub struct MapOk(S, Option>); [INFO] [stdout] | ----- `MapOk` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Collect` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Collect` may come from an old version of the `gc_arena_derive` crate, try updating your dependency with `cargo update -p gc_arena_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Collect` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/map_result.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(Debug, Collect)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Collect` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_gc_arena_Collect_FOR_MapOkWith` [INFO] [stdout] 38 | #[collect(no_drop)] [INFO] [stdout] 39 | pub struct MapOkWith(S, Option<(C, StaticCollect)>); [INFO] [stdout] | --------- `MapOkWith` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Collect` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Collect` may come from an old version of the `gc_arena_derive` crate, try updating your dependency with `cargo update -p gc_arena_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Collect` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/map_result.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(Debug, Collect)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `MustNotImplDrop` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_gc_arena_MustNotImplDrop_FOR_MapOkWith` [INFO] [stdout] 38 | #[collect(no_drop)] [INFO] [stdout] 39 | pub struct MapOkWith(S, Option<(C, StaticCollect)>); [INFO] [stdout] | --------- `MapOkWith` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Collect` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Collect` may come from an old version of the `gc_arena_derive` crate, try updating your dependency with `cargo update -p gc_arena_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Collect` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/map_result.rs:68:17 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Debug, Collect)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Collect` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_gc_arena_Collect_FOR_MapError` [INFO] [stdout] 69 | #[collect(no_drop)] [INFO] [stdout] 70 | pub struct MapError(S, Option>); [INFO] [stdout] | -------- `MapError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Collect` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Collect` may come from an old version of the `gc_arena_derive` crate, try updating your dependency with `cargo update -p gc_arena_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Collect` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/map_result.rs:68:17 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Debug, Collect)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `MustNotImplDrop` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_gc_arena_MustNotImplDrop_FOR_MapError` [INFO] [stdout] 69 | #[collect(no_drop)] [INFO] [stdout] 70 | pub struct MapError(S, Option>); [INFO] [stdout] | -------- `MapError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Collect` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Collect` may come from an old version of the `gc_arena_derive` crate, try updating your dependency with `cargo update -p gc_arena_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Collect` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sequence_fn.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug, Collect)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Collect` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_gc_arena_Collect_FOR_SequenceFn` [INFO] [stdout] 14 | #[collect(no_drop)] [INFO] [stdout] 15 | pub struct SequenceFn(Option>); [INFO] [stdout] | ---------- `SequenceFn` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Collect` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Collect` may come from an old version of the `gc_arena_derive` crate, try updating your dependency with `cargo update -p gc_arena_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Collect` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sequence_fn.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug, Collect)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `MustNotImplDrop` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_gc_arena_MustNotImplDrop_FOR_SequenceFn` [INFO] [stdout] 14 | #[collect(no_drop)] [INFO] [stdout] 15 | pub struct SequenceFn(Option>); [INFO] [stdout] | ---------- `SequenceFn` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Collect` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Collect` may come from an old version of the `gc_arena_derive` crate, try updating your dependency with `cargo update -p gc_arena_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Collect` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sequence_fn.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | #[derive(Debug, Collect)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Collect` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_gc_arena_Collect_FOR_SequenceFnWith` [INFO] [stdout] 46 | #[collect(no_drop)] [INFO] [stdout] 47 | pub struct SequenceFnWith(Option<(C, StaticCollect)>); [INFO] [stdout] | -------------- `SequenceFnWith` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Collect` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Collect` may come from an old version of the `gc_arena_derive` crate, try updating your dependency with `cargo update -p gc_arena_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Collect` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sequence_fn.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | #[derive(Debug, Collect)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `MustNotImplDrop` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_gc_arena_MustNotImplDrop_FOR_SequenceFnWith` [INFO] [stdout] 46 | #[collect(no_drop)] [INFO] [stdout] 47 | pub struct SequenceFnWith(Option<(C, StaticCollect)>); [INFO] [stdout] | -------------- `SequenceFnWith` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Collect` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Collect` may come from an old version of the `gc_arena_derive` crate, try updating your dependency with `cargo update -p gc_arena_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Collect` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/then.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Collect)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Collect` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_gc_arena_Collect_FOR_Then` [INFO] [stdout] 7 | #[collect(no_drop)] [INFO] [stdout] 8 | pub enum Then<'gc, S, F> [INFO] [stdout] | ---- `Then` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Collect` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Collect` may come from an old version of the `gc_arena_derive` crate, try updating your dependency with `cargo update -p gc_arena_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Collect` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/then.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Collect)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `MustNotImplDrop` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_gc_arena_MustNotImplDrop_FOR_Then` [INFO] [stdout] 7 | #[collect(no_drop)] [INFO] [stdout] 8 | pub enum Then<'gc, S, F> [INFO] [stdout] | ---- `Then` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Collect` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Collect` may come from an old version of the `gc_arena_derive` crate, try updating your dependency with `cargo update -p gc_arena_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Collect` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/then.rs:51:17 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Debug, Collect)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Collect` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_gc_arena_Collect_FOR_ThenWith` [INFO] [stdout] 52 | #[collect(no_drop)] [INFO] [stdout] 53 | pub enum ThenWith<'gc, S, C, F> [INFO] [stdout] | -------- `ThenWith` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Collect` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Collect` may come from an old version of the `gc_arena_derive` crate, try updating your dependency with `cargo update -p gc_arena_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Collect` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/then.rs:51:17 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Debug, Collect)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `MustNotImplDrop` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_gc_arena_MustNotImplDrop_FOR_ThenWith` [INFO] [stdout] 52 | #[collect(no_drop)] [INFO] [stdout] 53 | pub enum ThenWith<'gc, S, C, F> [INFO] [stdout] | -------- `ThenWith` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Collect` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Collect` may come from an old version of the `gc_arena_derive` crate, try updating your dependency with `cargo update -p gc_arena_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Collect` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 28 warnings emitted [INFO] [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/tests.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Collect)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Collect` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_gc_arena_Collect_FOR_TestRoot` [INFO] [stdout] 5 | #[collect(no_drop)] [INFO] [stdout] 6 | struct TestRoot<'gc> { [INFO] [stdout] | -------- `TestRoot` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Collect` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Collect` may come from an old version of the `gc_arena_derive` crate, try updating your dependency with `cargo update -p gc_arena_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Collect` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [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/tests.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Collect)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `MustNotImplDrop` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_gc_arena_MustNotImplDrop_FOR_TestRoot` [INFO] [stdout] 5 | #[collect(no_drop)] [INFO] [stdout] 6 | struct TestRoot<'gc> { [INFO] [stdout] | -------- `TestRoot` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Collect` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Collect` may come from an old version of the `gc_arena_derive` crate, try updating your dependency with `cargo update -p gc_arena_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Collect` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [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/tests.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | make_sequencable_arena!(test_sequencer, TestRoot); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `InnerRoot` is not local [INFO] [stdout] | `Collect` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_gc_arena_Collect_FOR_InnerRoot` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Collect` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Collect` may come from an old version of the `gc_arena_derive` crate, try updating your dependency with `cargo update -p gc_arena_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Collect` which comes from the expansion of the macro `make_sequencable_arena` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [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/tests.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | make_sequencable_arena!(test_sequencer, TestRoot); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `InnerRoot` is not local [INFO] [stdout] | `MustNotImplDrop` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_gc_arena_MustNotImplDrop_FOR_InnerRoot` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Collect` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Collect` may come from an old version of the `gc_arena_derive` crate, try updating your dependency with `cargo update -p gc_arena_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Collect` which comes from the expansion of the macro `make_sequencable_arena` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.93s [INFO] running `Command { std: "docker" "inspect" "9d58b8bb8146c3d8622f17dc5331e5c1daeeb8c92b1c169363356d0c1985a1d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d58b8bb8146c3d8622f17dc5331e5c1daeeb8c92b1c169363356d0c1985a1d3", kill_on_drop: false }` [INFO] [stdout] 9d58b8bb8146c3d8622f17dc5331e5c1daeeb8c92b1c169363356d0c1985a1d3