[INFO] fetching crate jrsonnet-gc 0.4.2... [INFO] testing jrsonnet-gc-0.4.2 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate jrsonnet-gc 0.4.2 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate jrsonnet-gc 0.4.2 [INFO] finished tweaking crates.io crate jrsonnet-gc 0.4.2 [INFO] tweaked toml for crates.io crate jrsonnet-gc 0.4.2 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate jrsonnet-gc 0.4.2 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 7 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded jrsonnet-gc-derive v0.4.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b641a8deeccd906756f930c627738f121b39937c140eb2c00162d1e630bfb674 [INFO] running `Command { std: "docker" "start" "-a" "b641a8deeccd906756f930c627738f121b39937c140eb2c00162d1e630bfb674", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b641a8deeccd906756f930c627738f121b39937c140eb2c00162d1e630bfb674", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b641a8deeccd906756f930c627738f121b39937c140eb2c00162d1e630bfb674", kill_on_drop: false }` [INFO] [stdout] b641a8deeccd906756f930c627738f121b39937c140eb2c00162d1e630bfb674 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5b254c0575b13e6afbbe6069ad206f2873cb26f48bde31960771c30bd0f0851d [INFO] running `Command { std: "docker" "start" "-a" "5b254c0575b13e6afbbe6069ad206f2873cb26f48bde31960771c30bd0f0851d", kill_on_drop: false }` [INFO] [stderr] Compiling jrsonnet-gc v0.4.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.65s [INFO] running `Command { std: "docker" "inspect" "5b254c0575b13e6afbbe6069ad206f2873cb26f48bde31960771c30bd0f0851d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b254c0575b13e6afbbe6069ad206f2873cb26f48bde31960771c30bd0f0851d", kill_on_drop: false }` [INFO] [stdout] 5b254c0575b13e6afbbe6069ad206f2873cb26f48bde31960771c30bd0f0851d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1cfe4520e2a846f3a3af29bfc0b1b4eb6efdfdf1d4c592850ace498ab23484f7 [INFO] running `Command { std: "docker" "start" "-a" "1cfe4520e2a846f3a3af29bfc0b1b4eb6efdfdf1d4c592850ace498ab23484f7", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling jrsonnet-gc-derive v0.4.1 [INFO] [stderr] Compiling jrsonnet-gc v0.4.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] --> tests/unsized.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Trace, Finalize)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Trace` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_jrsonnet_gc_Trace_FOR_Bar` [INFO] [stdout] 7 | struct Bar; [INFO] [stdout] | --- `Bar` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Trace` may come from an old version of the `jrsonnet_gc_derive` crate, try updating your dependency with `cargo update -p jrsonnet_gc_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [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/unsized.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Trace, Finalize)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Drop` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_std_ops_Drop_FOR_Bar` [INFO] [stdout] 7 | struct Bar; [INFO] [stdout] | --- `Bar` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Trace` may come from an old version of the `jrsonnet_gc_derive` crate, try updating your dependency with `cargo update -p jrsonnet_gc_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [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/unsized.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Trace, Finalize)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Finalize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_jrsonnet_gc_Finalize_FOR_Bar` [INFO] [stdout] 7 | struct Bar; [INFO] [stdout] | --- `Bar` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Finalize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Finalize` may come from an old version of the `jrsonnet_gc_derive` crate, try updating your dependency with `cargo update -p jrsonnet_gc_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Finalize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [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/unsized.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Trace, Finalize)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Trace` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_jrsonnet_gc_Trace_FOR_AnyFoo` [INFO] [stdout] 11 | struct AnyFoo(dyn Foo); [INFO] [stdout] | ------ `AnyFoo` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Trace` may come from an old version of the `jrsonnet_gc_derive` crate, try updating your dependency with `cargo update -p jrsonnet_gc_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [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/unsized.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Trace, Finalize)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Drop` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_std_ops_Drop_FOR_AnyFoo` [INFO] [stdout] 11 | struct AnyFoo(dyn Foo); [INFO] [stdout] | ------ `AnyFoo` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Trace` may come from an old version of the `jrsonnet_gc_derive` crate, try updating your dependency with `cargo update -p jrsonnet_gc_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [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/unsized.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Trace, Finalize)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Finalize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_jrsonnet_gc_Finalize_FOR_AnyFoo` [INFO] [stdout] 11 | struct AnyFoo(dyn Foo); [INFO] [stdout] | ------ `AnyFoo` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Finalize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Finalize` may come from an old version of the `jrsonnet_gc_derive` crate, try updating your dependency with `cargo update -p jrsonnet_gc_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Finalize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [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/derive_bounds.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Finalize, Trace)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Finalize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_jrsonnet_gc_Finalize_FOR_Thunk` [INFO] [stdout] 6 | struct Thunk(fn() -> T); [INFO] [stdout] | ----- `Thunk` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Finalize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Finalize` may come from an old version of the `jrsonnet_gc_derive` crate, try updating your dependency with `cargo update -p jrsonnet_gc_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Finalize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [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/derive_bounds.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Finalize, Trace)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Trace` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_jrsonnet_gc_Trace_FOR_Thunk` [INFO] [stdout] 6 | struct Thunk(fn() -> T); [INFO] [stdout] | ----- `Thunk` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Trace` may come from an old version of the `jrsonnet_gc_derive` crate, try updating your dependency with `cargo update -p jrsonnet_gc_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [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/derive_bounds.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Finalize, Trace)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Drop` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_std_ops_Drop_FOR_Thunk` [INFO] [stdout] 6 | struct Thunk(fn() -> T); [INFO] [stdout] | ----- `Thunk` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Trace` may come from an old version of the `jrsonnet_gc_derive` crate, try updating your dependency with `cargo update -p jrsonnet_gc_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `X` is never constructed [INFO] [stdout] --> tests/finalize.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | struct X(Box); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/finalize.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Trace)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Trace` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_jrsonnet_gc_Trace_FOR_A` [INFO] [stdout] 9 | struct A { [INFO] [stdout] | - `A` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Trace` may come from an old version of the `jrsonnet_gc_derive` crate, try updating your dependency with `cargo update -p jrsonnet_gc_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [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/finalize.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Trace)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Drop` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_std_ops_Drop_FOR_A` [INFO] [stdout] 9 | struct A { [INFO] [stdout] | - `A` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Trace` may come from an old version of the `jrsonnet_gc_derive` crate, try updating your dependency with `cargo update -p jrsonnet_gc_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [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/finalize.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Trace)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Trace` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_jrsonnet_gc_Trace_FOR_B` [INFO] [stdout] 14 | struct B; [INFO] [stdout] | - `B` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Trace` may come from an old version of the `jrsonnet_gc_derive` crate, try updating your dependency with `cargo update -p jrsonnet_gc_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [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/finalize.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Trace)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Drop` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_std_ops_Drop_FOR_B` [INFO] [stdout] 14 | struct B; [INFO] [stdout] | - `B` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Trace` may come from an old version of the `jrsonnet_gc_derive` crate, try updating your dependency with `cargo update -p jrsonnet_gc_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [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/finalize.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(Trace, Finalize)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Trace` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_jrsonnet_gc_Trace_FOR_X` [INFO] [stdout] 39 | struct X(Box); [INFO] [stdout] | - `X` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Trace` may come from an old version of the `jrsonnet_gc_derive` crate, try updating your dependency with `cargo update -p jrsonnet_gc_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [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/finalize.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(Trace, Finalize)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Drop` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_std_ops_Drop_FOR_X` [INFO] [stdout] 39 | struct X(Box); [INFO] [stdout] | - `X` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Trace` may come from an old version of the `jrsonnet_gc_derive` crate, try updating your dependency with `cargo update -p jrsonnet_gc_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [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/finalize.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(Trace, Finalize)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Finalize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_jrsonnet_gc_Finalize_FOR_X` [INFO] [stdout] 39 | struct X(Box); [INFO] [stdout] | - `X` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Finalize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Finalize` may come from an old version of the `jrsonnet_gc_derive` crate, try updating your dependency with `cargo update -p jrsonnet_gc_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Finalize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InnerBoxSlice` is never constructed [INFO] [stdout] --> tests/trace_impl.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | struct InnerBoxSlice { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InnerBoxStr` is never constructed [INFO] [stdout] --> tests/trace_impl.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | struct InnerBoxStr { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InnerRcSlice` is never constructed [INFO] [stdout] --> tests/trace_impl.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | struct InnerRcSlice { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InnerRcStr` is never constructed [INFO] [stdout] --> tests/trace_impl.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | struct InnerRcStr { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/trace_impl.rs:9:23 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Copy, Clone, Finalize)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Finalize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_jrsonnet_gc_Finalize_FOR_Foo` [INFO] [stdout] 10 | struct Foo; [INFO] [stdout] | --- `Foo` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Finalize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Finalize` may come from an old version of the `jrsonnet_gc_derive` crate, try updating your dependency with `cargo update -p jrsonnet_gc_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Finalize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [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/trace_impl.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Trace, Finalize)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Trace` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_jrsonnet_gc_Trace_FOR_FooWithoutCopy` [INFO] [stdout] 13 | struct FooWithoutCopy; [INFO] [stdout] | -------------- `FooWithoutCopy` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Trace` may come from an old version of the `jrsonnet_gc_derive` crate, try updating your dependency with `cargo update -p jrsonnet_gc_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [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/trace_impl.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Trace, Finalize)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Drop` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_std_ops_Drop_FOR_FooWithoutCopy` [INFO] [stdout] 13 | struct FooWithoutCopy; [INFO] [stdout] | -------------- `FooWithoutCopy` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Trace` may come from an old version of the `jrsonnet_gc_derive` crate, try updating your dependency with `cargo update -p jrsonnet_gc_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [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/trace_impl.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Trace, Finalize)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Finalize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_jrsonnet_gc_Finalize_FOR_FooWithoutCopy` [INFO] [stdout] 13 | struct FooWithoutCopy; [INFO] [stdout] | -------------- `FooWithoutCopy` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Finalize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Finalize` may come from an old version of the `jrsonnet_gc_derive` crate, try updating your dependency with `cargo update -p jrsonnet_gc_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Finalize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [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/trace_impl.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Trace, Clone, Finalize)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Trace` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_jrsonnet_gc_Trace_FOR_Bar` [INFO] [stdout] 28 | struct Bar { [INFO] [stdout] | --- `Bar` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Trace` may come from an old version of the `jrsonnet_gc_derive` crate, try updating your dependency with `cargo update -p jrsonnet_gc_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [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/trace_impl.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Trace, Clone, Finalize)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Drop` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_std_ops_Drop_FOR_Bar` [INFO] [stdout] 28 | struct Bar { [INFO] [stdout] | --- `Bar` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Trace` may come from an old version of the `jrsonnet_gc_derive` crate, try updating your dependency with `cargo update -p jrsonnet_gc_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [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/trace_impl.rs:27:24 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Trace, Clone, Finalize)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Finalize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_jrsonnet_gc_Finalize_FOR_Bar` [INFO] [stdout] 28 | struct Bar { [INFO] [stdout] | --- `Bar` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Finalize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Finalize` may come from an old version of the `jrsonnet_gc_derive` crate, try updating your dependency with `cargo update -p jrsonnet_gc_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Finalize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [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/trace_impl.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | #[derive(Trace, Clone, Finalize)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Trace` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_jrsonnet_gc_Trace_FOR_InnerBoxSlice` [INFO] [stdout] 33 | struct InnerBoxSlice { [INFO] [stdout] | ------------- `InnerBoxSlice` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Trace` may come from an old version of the `jrsonnet_gc_derive` crate, try updating your dependency with `cargo update -p jrsonnet_gc_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [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/trace_impl.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | #[derive(Trace, Clone, Finalize)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Drop` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_std_ops_Drop_FOR_InnerBoxSlice` [INFO] [stdout] 33 | struct InnerBoxSlice { [INFO] [stdout] | ------------- `InnerBoxSlice` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Trace` may come from an old version of the `jrsonnet_gc_derive` crate, try updating your dependency with `cargo update -p jrsonnet_gc_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [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/trace_impl.rs:32:24 [INFO] [stdout] | [INFO] [stdout] 32 | #[derive(Trace, Clone, Finalize)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Finalize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_jrsonnet_gc_Finalize_FOR_InnerBoxSlice` [INFO] [stdout] 33 | struct InnerBoxSlice { [INFO] [stdout] | ------------- `InnerBoxSlice` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Finalize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Finalize` may come from an old version of the `jrsonnet_gc_derive` crate, try updating your dependency with `cargo update -p jrsonnet_gc_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Finalize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [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/trace_impl.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(Trace, Clone, Finalize)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Trace` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_jrsonnet_gc_Trace_FOR_InnerBoxStr` [INFO] [stdout] 38 | struct InnerBoxStr { [INFO] [stdout] | ----------- `InnerBoxStr` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Trace` may come from an old version of the `jrsonnet_gc_derive` crate, try updating your dependency with `cargo update -p jrsonnet_gc_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [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/trace_impl.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(Trace, Clone, Finalize)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Drop` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_std_ops_Drop_FOR_InnerBoxStr` [INFO] [stdout] 38 | struct InnerBoxStr { [INFO] [stdout] | ----------- `InnerBoxStr` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Trace` may come from an old version of the `jrsonnet_gc_derive` crate, try updating your dependency with `cargo update -p jrsonnet_gc_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [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/trace_impl.rs:37:24 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(Trace, Clone, Finalize)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Finalize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_jrsonnet_gc_Finalize_FOR_InnerBoxStr` [INFO] [stdout] 38 | struct InnerBoxStr { [INFO] [stdout] | ----------- `InnerBoxStr` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Finalize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Finalize` may come from an old version of the `jrsonnet_gc_derive` crate, try updating your dependency with `cargo update -p jrsonnet_gc_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Finalize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [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/trace_impl.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Trace, Clone, Finalize)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Trace` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_jrsonnet_gc_Trace_FOR_InnerRcSlice` [INFO] [stdout] 43 | struct InnerRcSlice { [INFO] [stdout] | ------------ `InnerRcSlice` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Trace` may come from an old version of the `jrsonnet_gc_derive` crate, try updating your dependency with `cargo update -p jrsonnet_gc_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [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/trace_impl.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Trace, Clone, Finalize)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Drop` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_std_ops_Drop_FOR_InnerRcSlice` [INFO] [stdout] 43 | struct InnerRcSlice { [INFO] [stdout] | ------------ `InnerRcSlice` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Trace` may come from an old version of the `jrsonnet_gc_derive` crate, try updating your dependency with `cargo update -p jrsonnet_gc_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [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/trace_impl.rs:42:24 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Trace, Clone, Finalize)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Finalize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_jrsonnet_gc_Finalize_FOR_InnerRcSlice` [INFO] [stdout] 43 | struct InnerRcSlice { [INFO] [stdout] | ------------ `InnerRcSlice` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Finalize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Finalize` may come from an old version of the `jrsonnet_gc_derive` crate, try updating your dependency with `cargo update -p jrsonnet_gc_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Finalize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [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/trace_impl.rs:47:10 [INFO] [stdout] | [INFO] [stdout] 47 | #[derive(Trace, Clone, Finalize)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Trace` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_jrsonnet_gc_Trace_FOR_InnerRcStr` [INFO] [stdout] 48 | struct InnerRcStr { [INFO] [stdout] | ---------- `InnerRcStr` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Trace` may come from an old version of the `jrsonnet_gc_derive` crate, try updating your dependency with `cargo update -p jrsonnet_gc_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [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/trace_impl.rs:47:10 [INFO] [stdout] | [INFO] [stdout] 47 | #[derive(Trace, Clone, Finalize)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Drop` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_std_ops_Drop_FOR_InnerRcStr` [INFO] [stdout] 48 | struct InnerRcStr { [INFO] [stdout] | ---------- `InnerRcStr` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Trace` may come from an old version of the `jrsonnet_gc_derive` crate, try updating your dependency with `cargo update -p jrsonnet_gc_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [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/trace_impl.rs:47:24 [INFO] [stdout] | [INFO] [stdout] 47 | #[derive(Trace, Clone, Finalize)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Finalize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_jrsonnet_gc_Finalize_FOR_InnerRcStr` [INFO] [stdout] 48 | struct InnerRcStr { [INFO] [stdout] | ---------- `InnerRcStr` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Finalize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Finalize` may come from an old version of the `jrsonnet_gc_derive` crate, try updating your dependency with `cargo update -p jrsonnet_gc_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Finalize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [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/trace_impl.rs:52:10 [INFO] [stdout] | [INFO] [stdout] 52 | #[derive(Trace, Finalize)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Trace` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_jrsonnet_gc_Trace_FOR_Baz` [INFO] [stdout] 53 | struct Baz { [INFO] [stdout] | --- `Baz` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Trace` may come from an old version of the `jrsonnet_gc_derive` crate, try updating your dependency with `cargo update -p jrsonnet_gc_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [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/trace_impl.rs:52:10 [INFO] [stdout] | [INFO] [stdout] 52 | #[derive(Trace, Finalize)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Drop` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_std_ops_Drop_FOR_Baz` [INFO] [stdout] 53 | struct Baz { [INFO] [stdout] | --- `Baz` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Trace` may come from an old version of the `jrsonnet_gc_derive` crate, try updating your dependency with `cargo update -p jrsonnet_gc_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [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/trace_impl.rs:52:17 [INFO] [stdout] | [INFO] [stdout] 52 | #[derive(Trace, Finalize)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Finalize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_jrsonnet_gc_Finalize_FOR_Baz` [INFO] [stdout] 53 | struct Baz { [INFO] [stdout] | --- `Baz` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Finalize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Finalize` may come from an old version of the `jrsonnet_gc_derive` crate, try updating your dependency with `cargo update -p jrsonnet_gc_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Finalize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [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/trace_impl.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | #[derive(Trace)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Trace` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_jrsonnet_gc_Trace_FOR_Dereferenced` [INFO] [stdout] 59 | #[trivially_drop] [INFO] [stdout] 60 | struct Dereferenced { [INFO] [stdout] | ------------ `Dereferenced` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Trace` may come from an old version of the `jrsonnet_gc_derive` crate, try updating your dependency with `cargo update -p jrsonnet_gc_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [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/trace_impl.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | #[derive(Trace)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Finalize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_jrsonnet_gc_Finalize_FOR_Dereferenced` [INFO] [stdout] 59 | #[trivially_drop] [INFO] [stdout] 60 | struct Dereferenced { [INFO] [stdout] | ------------ `Dereferenced` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Trace` may come from an old version of the `jrsonnet_gc_derive` crate, try updating your dependency with `cargo update -p jrsonnet_gc_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [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/gymnastics_cycle.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Trace)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Trace` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_jrsonnet_gc_Trace_FOR_Cyclic` [INFO] [stdout] 8 | struct Cyclic { [INFO] [stdout] | ------ `Cyclic` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Trace` may come from an old version of the `jrsonnet_gc_derive` crate, try updating your dependency with `cargo update -p jrsonnet_gc_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [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/gymnastics_cycle.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Trace)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Drop` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_std_ops_Drop_FOR_Cyclic` [INFO] [stdout] 8 | struct Cyclic { [INFO] [stdout] | ------ `Cyclic` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Trace` may come from an old version of the `jrsonnet_gc_derive` crate, try updating your dependency with `cargo update -p jrsonnet_gc_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [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/gc_semantics.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Trace, Finalize)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Trace` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_jrsonnet_gc_Trace_FOR_GcWatchCycle` [INFO] [stdout] 88 | struct GcWatchCycle { [INFO] [stdout] | ------------ `GcWatchCycle` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Trace` may come from an old version of the `jrsonnet_gc_derive` crate, try updating your dependency with `cargo update -p jrsonnet_gc_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [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/gc_semantics.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Trace, Finalize)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Drop` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_std_ops_Drop_FOR_GcWatchCycle` [INFO] [stdout] 88 | struct GcWatchCycle { [INFO] [stdout] | ------------ `GcWatchCycle` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Trace` may come from an old version of the `jrsonnet_gc_derive` crate, try updating your dependency with `cargo update -p jrsonnet_gc_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [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/gc_semantics.rs:87:17 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Trace, Finalize)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Finalize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_jrsonnet_gc_Finalize_FOR_GcWatchCycle` [INFO] [stdout] 88 | struct GcWatchCycle { [INFO] [stdout] | ------------ `GcWatchCycle` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Finalize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Finalize` may come from an old version of the `jrsonnet_gc_derive` crate, try updating your dependency with `cargo update -p jrsonnet_gc_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Finalize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [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/gc_semantics.rs:271:14 [INFO] [stdout] | [INFO] [stdout] 271 | #[derive(Finalize, Trace)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Finalize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_jrsonnet_gc_Finalize_FOR_A` and up 2 bodies [INFO] [stdout] 272 | struct A; [INFO] [stdout] | - `A` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Finalize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Finalize` may come from an old version of the `jrsonnet_gc_derive` crate, try updating your dependency with `cargo update -p jrsonnet_gc_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Finalize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [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/gc_semantics.rs:271:24 [INFO] [stdout] | [INFO] [stdout] 271 | #[derive(Finalize, Trace)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Trace` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_jrsonnet_gc_Trace_FOR_A` and up 2 bodies [INFO] [stdout] 272 | struct A; [INFO] [stdout] | - `A` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Trace` may come from an old version of the `jrsonnet_gc_derive` crate, try updating your dependency with `cargo update -p jrsonnet_gc_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [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/gc_semantics.rs:271:24 [INFO] [stdout] | [INFO] [stdout] 271 | #[derive(Finalize, Trace)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Drop` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_std_ops_Drop_FOR_A` and up 2 bodies [INFO] [stdout] 272 | struct A; [INFO] [stdout] | - `A` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Trace` may come from an old version of the `jrsonnet_gc_derive` crate, try updating your dependency with `cargo update -p jrsonnet_gc_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [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/gc_semantics.rs:273:14 [INFO] [stdout] | [INFO] [stdout] 273 | #[derive(Finalize, Trace)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Finalize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_jrsonnet_gc_Finalize_FOR_B` and up 2 bodies [INFO] [stdout] 274 | struct B(Gc); [INFO] [stdout] | - `B` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Finalize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Finalize` may come from an old version of the `jrsonnet_gc_derive` crate, try updating your dependency with `cargo update -p jrsonnet_gc_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Finalize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [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/gc_semantics.rs:273:24 [INFO] [stdout] | [INFO] [stdout] 273 | #[derive(Finalize, Trace)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Trace` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_jrsonnet_gc_Trace_FOR_B` and up 2 bodies [INFO] [stdout] 274 | struct B(Gc); [INFO] [stdout] | - `B` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Trace` may come from an old version of the `jrsonnet_gc_derive` crate, try updating your dependency with `cargo update -p jrsonnet_gc_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [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/gc_semantics.rs:273:24 [INFO] [stdout] | [INFO] [stdout] 273 | #[derive(Finalize, Trace)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Drop` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_std_ops_Drop_FOR_B` and up 2 bodies [INFO] [stdout] 274 | struct B(Gc); [INFO] [stdout] | - `B` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Trace` may come from an old version of the `jrsonnet_gc_derive` crate, try updating your dependency with `cargo update -p jrsonnet_gc_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.63s [INFO] running `Command { std: "docker" "inspect" "1cfe4520e2a846f3a3af29bfc0b1b4eb6efdfdf1d4c592850ace498ab23484f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1cfe4520e2a846f3a3af29bfc0b1b4eb6efdfdf1d4c592850ace498ab23484f7", kill_on_drop: false }` [INFO] [stdout] 1cfe4520e2a846f3a3af29bfc0b1b4eb6efdfdf1d4c592850ace498ab23484f7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1a83da09bafd7cde485846b8317c856282008c2a76d08fec7e5b5daa06cb19f9 [INFO] running `Command { std: "docker" "start" "-a" "1a83da09bafd7cde485846b8317c856282008c2a76d08fec7e5b5daa06cb19f9", kill_on_drop: false }` [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/gc_semantics.rs:87:10 [INFO] [stderr] | [INFO] [stderr] 87 | #[derive(Trace, Finalize)] [INFO] [stderr] | ^---- [INFO] [stderr] | | [INFO] [stderr] | `Trace` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_jrsonnet_gc_Trace_FOR_GcWatchCycle` [INFO] [stderr] 88 | struct GcWatchCycle { [INFO] [stderr] | ------------ `GcWatchCycle` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Trace` may come from an old version of the `jrsonnet_gc_derive` crate, try updating your dependency with `cargo update -p jrsonnet_gc_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/gc_semantics.rs:87:10 [INFO] [stderr] | [INFO] [stderr] 87 | #[derive(Trace, Finalize)] [INFO] [stderr] | ^---- [INFO] [stderr] | | [INFO] [stderr] | `Drop` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_std_ops_Drop_FOR_GcWatchCycle` [INFO] [stderr] 88 | struct GcWatchCycle { [INFO] [stderr] | ------------ `GcWatchCycle` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Trace` may come from an old version of the `jrsonnet_gc_derive` crate, try updating your dependency with `cargo update -p jrsonnet_gc_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/gc_semantics.rs:87:17 [INFO] [stderr] | [INFO] [stderr] 87 | #[derive(Trace, Finalize)] [INFO] [stderr] | ^------- [INFO] [stderr] | | [INFO] [stderr] | `Finalize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_jrsonnet_gc_Finalize_FOR_GcWatchCycle` [INFO] [stderr] 88 | struct GcWatchCycle { [INFO] [stderr] | ------------ `GcWatchCycle` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Finalize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Finalize` may come from an old version of the `jrsonnet_gc_derive` crate, try updating your dependency with `cargo update -p jrsonnet_gc_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Finalize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/gc_semantics.rs:271:14 [INFO] [stderr] | [INFO] [stderr] 271 | #[derive(Finalize, Trace)] [INFO] [stderr] | ^------- [INFO] [stderr] | | [INFO] [stderr] | `Finalize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_jrsonnet_gc_Finalize_FOR_A` and up 2 bodies [INFO] [stderr] 272 | struct A; [INFO] [stderr] | - `A` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Finalize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Finalize` may come from an old version of the `jrsonnet_gc_derive` crate, try updating your dependency with `cargo update -p jrsonnet_gc_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Finalize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/gc_semantics.rs:271:24 [INFO] [stderr] | [INFO] [stderr] 271 | #[derive(Finalize, Trace)] [INFO] [stderr] | ^---- [INFO] [stderr] | | [INFO] [stderr] | `Trace` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_jrsonnet_gc_Trace_FOR_A` and up 2 bodies [INFO] [stderr] 272 | struct A; [INFO] [stderr] | - `A` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Trace` may come from an old version of the `jrsonnet_gc_derive` crate, try updating your dependency with `cargo update -p jrsonnet_gc_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/gc_semantics.rs:271:24 [INFO] [stderr] | [INFO] [stderr] 271 | #[derive(Finalize, Trace)] [INFO] [stderr] | ^---- [INFO] [stderr] | | [INFO] [stderr] | `Drop` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_std_ops_Drop_FOR_A` and up 2 bodies [INFO] [stderr] 272 | struct A; [INFO] [stderr] | - `A` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Trace` may come from an old version of the `jrsonnet_gc_derive` crate, try updating your dependency with `cargo update -p jrsonnet_gc_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/gc_semantics.rs:273:14 [INFO] [stderr] | [INFO] [stderr] 273 | #[derive(Finalize, Trace)] [INFO] [stderr] | ^------- [INFO] [stderr] | | [INFO] [stderr] | `Finalize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_jrsonnet_gc_Finalize_FOR_B` and up 2 bodies [INFO] [stderr] 274 | struct B(Gc); [INFO] [stderr] | - `B` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Finalize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Finalize` may come from an old version of the `jrsonnet_gc_derive` crate, try updating your dependency with `cargo update -p jrsonnet_gc_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Finalize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/gc_semantics.rs:273:24 [INFO] [stderr] | [INFO] [stderr] 273 | #[derive(Finalize, Trace)] [INFO] [stderr] | ^---- [INFO] [stderr] | | [INFO] [stderr] | `Trace` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_jrsonnet_gc_Trace_FOR_B` and up 2 bodies [INFO] [stderr] 274 | struct B(Gc); [INFO] [stderr] | - `B` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Trace` may come from an old version of the `jrsonnet_gc_derive` crate, try updating your dependency with `cargo update -p jrsonnet_gc_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/gc_semantics.rs:273:24 [INFO] [stderr] | [INFO] [stderr] 273 | #[derive(Finalize, Trace)] [INFO] [stderr] | ^---- [INFO] [stderr] | | [INFO] [stderr] | `Drop` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_std_ops_Drop_FOR_B` and up 2 bodies [INFO] [stderr] 274 | struct B(Gc); [INFO] [stderr] | - `B` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Trace` may come from an old version of the `jrsonnet_gc_derive` crate, try updating your dependency with `cargo update -p jrsonnet_gc_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `jrsonnet-gc` (test "gc_semantics") generated 9 warnings [INFO] [stderr] warning: struct `InnerBoxSlice` is never constructed [INFO] [stderr] --> tests/trace_impl.rs:33:8 [INFO] [stderr] | [INFO] [stderr] 33 | struct InnerBoxSlice { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: struct `InnerBoxStr` is never constructed [INFO] [stderr] --> tests/trace_impl.rs:38:8 [INFO] [stderr] | [INFO] [stderr] 38 | struct InnerBoxStr { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `InnerRcSlice` is never constructed [INFO] [stderr] --> tests/trace_impl.rs:43:8 [INFO] [stderr] | [INFO] [stderr] 43 | struct InnerRcSlice { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `InnerRcStr` is never constructed [INFO] [stderr] --> tests/trace_impl.rs:48:8 [INFO] [stderr] | [INFO] [stderr] 48 | struct InnerRcStr { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/trace_impl.rs:9:23 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Copy, Clone, Finalize)] [INFO] [stderr] | ^------- [INFO] [stderr] | | [INFO] [stderr] | `Finalize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_jrsonnet_gc_Finalize_FOR_Foo` [INFO] [stderr] 10 | struct Foo; [INFO] [stderr] | --- `Foo` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Finalize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Finalize` may come from an old version of the `jrsonnet_gc_derive` crate, try updating your dependency with `cargo update -p jrsonnet_gc_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Finalize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/trace_impl.rs:12:10 [INFO] [stderr] | [INFO] [stderr] 12 | #[derive(Trace, Finalize)] [INFO] [stderr] | ^---- [INFO] [stderr] | | [INFO] [stderr] | `Trace` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_jrsonnet_gc_Trace_FOR_FooWithoutCopy` [INFO] [stderr] 13 | struct FooWithoutCopy; [INFO] [stderr] | -------------- `FooWithoutCopy` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Trace` may come from an old version of the `jrsonnet_gc_derive` crate, try updating your dependency with `cargo update -p jrsonnet_gc_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/trace_impl.rs:12:10 [INFO] [stderr] | [INFO] [stderr] 12 | #[derive(Trace, Finalize)] [INFO] [stderr] | ^---- [INFO] [stderr] | | [INFO] [stderr] | `Drop` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_std_ops_Drop_FOR_FooWithoutCopy` [INFO] [stderr] 13 | struct FooWithoutCopy; [INFO] [stderr] | -------------- `FooWithoutCopy` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Trace` may come from an old version of the `jrsonnet_gc_derive` crate, try updating your dependency with `cargo update -p jrsonnet_gc_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/trace_impl.rs:12:17 [INFO] [stderr] | [INFO] [stderr] 12 | #[derive(Trace, Finalize)] [INFO] [stderr] | ^------- [INFO] [stderr] | | [INFO] [stderr] | `Finalize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_jrsonnet_gc_Finalize_FOR_FooWithoutCopy` [INFO] [stderr] 13 | struct FooWithoutCopy; [INFO] [stderr] | -------------- `FooWithoutCopy` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Finalize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Finalize` may come from an old version of the `jrsonnet_gc_derive` crate, try updating your dependency with `cargo update -p jrsonnet_gc_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Finalize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/trace_impl.rs:27:10 [INFO] [stderr] | [INFO] [stderr] 27 | #[derive(Trace, Clone, Finalize)] [INFO] [stderr] | ^---- [INFO] [stderr] | | [INFO] [stderr] | `Trace` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_jrsonnet_gc_Trace_FOR_Bar` [INFO] [stderr] 28 | struct Bar { [INFO] [stderr] | --- `Bar` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Trace` may come from an old version of the `jrsonnet_gc_derive` crate, try updating your dependency with `cargo update -p jrsonnet_gc_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/trace_impl.rs:27:10 [INFO] [stderr] | [INFO] [stderr] 27 | #[derive(Trace, Clone, Finalize)] [INFO] [stderr] | ^---- [INFO] [stderr] | | [INFO] [stderr] | `Drop` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_std_ops_Drop_FOR_Bar` [INFO] [stderr] 28 | struct Bar { [INFO] [stderr] | --- `Bar` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Trace` may come from an old version of the `jrsonnet_gc_derive` crate, try updating your dependency with `cargo update -p jrsonnet_gc_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/trace_impl.rs:27:24 [INFO] [stderr] | [INFO] [stderr] 27 | #[derive(Trace, Clone, Finalize)] [INFO] [stderr] | ^------- [INFO] [stderr] | | [INFO] [stderr] | `Finalize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_jrsonnet_gc_Finalize_FOR_Bar` [INFO] [stderr] 28 | struct Bar { [INFO] [stderr] | --- `Bar` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Finalize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Finalize` may come from an old version of the `jrsonnet_gc_derive` crate, try updating your dependency with `cargo update -p jrsonnet_gc_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Finalize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/trace_impl.rs:32:10 [INFO] [stderr] | [INFO] [stderr] 32 | #[derive(Trace, Clone, Finalize)] [INFO] [stderr] | ^---- [INFO] [stderr] | | [INFO] [stderr] | `Trace` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_jrsonnet_gc_Trace_FOR_InnerBoxSlice` [INFO] [stderr] 33 | struct InnerBoxSlice { [INFO] [stderr] | ------------- `InnerBoxSlice` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Trace` may come from an old version of the `jrsonnet_gc_derive` crate, try updating your dependency with `cargo update -p jrsonnet_gc_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/trace_impl.rs:32:10 [INFO] [stderr] | [INFO] [stderr] 32 | #[derive(Trace, Clone, Finalize)] [INFO] [stderr] | ^---- [INFO] [stderr] | | [INFO] [stderr] | `Drop` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_std_ops_Drop_FOR_InnerBoxSlice` [INFO] [stderr] 33 | struct InnerBoxSlice { [INFO] [stderr] | ------------- `InnerBoxSlice` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Trace` may come from an old version of the `jrsonnet_gc_derive` crate, try updating your dependency with `cargo update -p jrsonnet_gc_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/trace_impl.rs:32:24 [INFO] [stderr] | [INFO] [stderr] 32 | #[derive(Trace, Clone, Finalize)] [INFO] [stderr] | ^------- [INFO] [stderr] | | [INFO] [stderr] | `Finalize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_jrsonnet_gc_Finalize_FOR_InnerBoxSlice` [INFO] [stderr] 33 | struct InnerBoxSlice { [INFO] [stderr] | ------------- `InnerBoxSlice` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Finalize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Finalize` may come from an old version of the `jrsonnet_gc_derive` crate, try updating your dependency with `cargo update -p jrsonnet_gc_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Finalize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/trace_impl.rs:37:10 [INFO] [stderr] | [INFO] [stderr] 37 | #[derive(Trace, Clone, Finalize)] [INFO] [stderr] | ^---- [INFO] [stderr] | | [INFO] [stderr] | `Trace` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_jrsonnet_gc_Trace_FOR_InnerBoxStr` [INFO] [stderr] 38 | struct InnerBoxStr { [INFO] [stderr] | ----------- `InnerBoxStr` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Trace` may come from an old version of the `jrsonnet_gc_derive` crate, try updating your dependency with `cargo update -p jrsonnet_gc_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/trace_impl.rs:37:10 [INFO] [stderr] | [INFO] [stderr] 37 | #[derive(Trace, Clone, Finalize)] [INFO] [stderr] | ^---- [INFO] [stderr] | | [INFO] [stderr] | `Drop` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_std_ops_Drop_FOR_InnerBoxStr` [INFO] [stderr] 38 | struct InnerBoxStr { [INFO] [stderr] | ----------- `InnerBoxStr` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Trace` may come from an old version of the `jrsonnet_gc_derive` crate, try updating your dependency with `cargo update -p jrsonnet_gc_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/trace_impl.rs:37:24 [INFO] [stderr] | [INFO] [stderr] 37 | #[derive(Trace, Clone, Finalize)] [INFO] [stderr] | ^------- [INFO] [stderr] | | [INFO] [stderr] | `Finalize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_jrsonnet_gc_Finalize_FOR_InnerBoxStr` [INFO] [stderr] 38 | struct InnerBoxStr { [INFO] [stderr] | ----------- `InnerBoxStr` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Finalize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Finalize` may come from an old version of the `jrsonnet_gc_derive` crate, try updating your dependency with `cargo update -p jrsonnet_gc_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Finalize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/trace_impl.rs:42:10 [INFO] [stderr] | [INFO] [stderr] 42 | #[derive(Trace, Clone, Finalize)] [INFO] [stderr] | ^---- [INFO] [stderr] | | [INFO] [stderr] | `Trace` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_jrsonnet_gc_Trace_FOR_InnerRcSlice` [INFO] [stderr] 43 | struct InnerRcSlice { [INFO] [stderr] | ------------ `InnerRcSlice` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Trace` may come from an old version of the `jrsonnet_gc_derive` crate, try updating your dependency with `cargo update -p jrsonnet_gc_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/trace_impl.rs:42:10 [INFO] [stderr] | [INFO] [stderr] 42 | #[derive(Trace, Clone, Finalize)] [INFO] [stderr] | ^---- [INFO] [stderr] | | [INFO] [stderr] | `Drop` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_std_ops_Drop_FOR_InnerRcSlice` [INFO] [stderr] 43 | struct InnerRcSlice { [INFO] [stderr] | ------------ `InnerRcSlice` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Trace` may come from an old version of the `jrsonnet_gc_derive` crate, try updating your dependency with `cargo update -p jrsonnet_gc_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/trace_impl.rs:42:24 [INFO] [stderr] | [INFO] [stderr] 42 | #[derive(Trace, Clone, Finalize)] [INFO] [stderr] | ^------- [INFO] [stderr] | | [INFO] [stderr] | `Finalize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_jrsonnet_gc_Finalize_FOR_InnerRcSlice` [INFO] [stderr] 43 | struct InnerRcSlice { [INFO] [stderr] | ------------ `InnerRcSlice` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Finalize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Finalize` may come from an old version of the `jrsonnet_gc_derive` crate, try updating your dependency with `cargo update -p jrsonnet_gc_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Finalize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/trace_impl.rs:47:10 [INFO] [stderr] | [INFO] [stderr] 47 | #[derive(Trace, Clone, Finalize)] [INFO] [stderr] | ^---- [INFO] [stderr] | | [INFO] [stderr] | `Trace` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_jrsonnet_gc_Trace_FOR_InnerRcStr` [INFO] [stderr] 48 | struct InnerRcStr { [INFO] [stderr] | ---------- `InnerRcStr` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Trace` may come from an old version of the `jrsonnet_gc_derive` crate, try updating your dependency with `cargo update -p jrsonnet_gc_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/trace_impl.rs:47:10 [INFO] [stderr] | [INFO] [stderr] 47 | #[derive(Trace, Clone, Finalize)] [INFO] [stderr] | ^---- [INFO] [stderr] | | [INFO] [stderr] | `Drop` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_std_ops_Drop_FOR_InnerRcStr` [INFO] [stderr] 48 | struct InnerRcStr { [INFO] [stderr] | ---------- `InnerRcStr` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Trace` may come from an old version of the `jrsonnet_gc_derive` crate, try updating your dependency with `cargo update -p jrsonnet_gc_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/trace_impl.rs:47:24 [INFO] [stderr] | [INFO] [stderr] 47 | #[derive(Trace, Clone, Finalize)] [INFO] [stderr] | ^------- [INFO] [stderr] | | [INFO] [stderr] | `Finalize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_jrsonnet_gc_Finalize_FOR_InnerRcStr` [INFO] [stderr] 48 | struct InnerRcStr { [INFO] [stderr] | ---------- `InnerRcStr` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Finalize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Finalize` may come from an old version of the `jrsonnet_gc_derive` crate, try updating your dependency with `cargo update -p jrsonnet_gc_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Finalize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/trace_impl.rs:52:10 [INFO] [stderr] | [INFO] [stderr] 52 | #[derive(Trace, Finalize)] [INFO] [stderr] | ^---- [INFO] [stderr] | | [INFO] [stderr] | `Trace` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_jrsonnet_gc_Trace_FOR_Baz` [INFO] [stderr] 53 | struct Baz { [INFO] [stderr] | --- `Baz` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Trace` may come from an old version of the `jrsonnet_gc_derive` crate, try updating your dependency with `cargo update -p jrsonnet_gc_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/trace_impl.rs:52:10 [INFO] [stderr] | [INFO] [stderr] 52 | #[derive(Trace, Finalize)] [INFO] [stderr] | ^---- [INFO] [stderr] | | [INFO] [stderr] | `Drop` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_std_ops_Drop_FOR_Baz` [INFO] [stderr] 53 | struct Baz { [INFO] [stderr] | --- `Baz` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Trace` may come from an old version of the `jrsonnet_gc_derive` crate, try updating your dependency with `cargo update -p jrsonnet_gc_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/trace_impl.rs:52:17 [INFO] [stderr] | [INFO] [stderr] 52 | #[derive(Trace, Finalize)] [INFO] [stderr] | ^------- [INFO] [stderr] | | [INFO] [stderr] | `Finalize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_jrsonnet_gc_Finalize_FOR_Baz` [INFO] [stderr] 53 | struct Baz { [INFO] [stderr] | --- `Baz` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Finalize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Finalize` may come from an old version of the `jrsonnet_gc_derive` crate, try updating your dependency with `cargo update -p jrsonnet_gc_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Finalize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/trace_impl.rs:58:10 [INFO] [stderr] | [INFO] [stderr] 58 | #[derive(Trace)] [INFO] [stderr] | ^---- [INFO] [stderr] | | [INFO] [stderr] | `Trace` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_jrsonnet_gc_Trace_FOR_Dereferenced` [INFO] [stderr] 59 | #[trivially_drop] [INFO] [stderr] 60 | struct Dereferenced { [INFO] [stderr] | ------------ `Dereferenced` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Trace` may come from an old version of the `jrsonnet_gc_derive` crate, try updating your dependency with `cargo update -p jrsonnet_gc_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/trace_impl.rs:58:10 [INFO] [stderr] | [INFO] [stderr] 58 | #[derive(Trace)] [INFO] [stderr] | ^---- [INFO] [stderr] | | [INFO] [stderr] | `Finalize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_jrsonnet_gc_Finalize_FOR_Dereferenced` [INFO] [stderr] 59 | #[trivially_drop] [INFO] [stderr] 60 | struct Dereferenced { [INFO] [stderr] | ------------ `Dereferenced` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Trace` may come from an old version of the `jrsonnet_gc_derive` crate, try updating your dependency with `cargo update -p jrsonnet_gc_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/unsized.rs:6:10 [INFO] [stderr] | [INFO] [stderr] 6 | #[derive(Trace, Finalize)] [INFO] [stderr] | ^---- [INFO] [stderr] | | [INFO] [stderr] | `Trace` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_jrsonnet_gc_Trace_FOR_Bar` [INFO] [stderr] 7 | struct Bar; [INFO] [stderr] | --- `Bar` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Trace` may come from an old version of the `jrsonnet_gc_derive` crate, try updating your dependency with `cargo update -p jrsonnet_gc_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/unsized.rs:6:10 [INFO] [stderr] | [INFO] [stderr] 6 | #[derive(Trace, Finalize)] [INFO] [stderr] | ^---- [INFO] [stderr] | | [INFO] [stderr] | `Drop` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_std_ops_Drop_FOR_Bar` [INFO] [stderr] 7 | struct Bar; [INFO] [stderr] | --- `Bar` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Trace` may come from an old version of the `jrsonnet_gc_derive` crate, try updating your dependency with `cargo update -p jrsonnet_gc_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/unsized.rs:6:17 [INFO] [stderr] | [INFO] [stderr] 6 | #[derive(Trace, Finalize)] [INFO] [stderr] | ^------- [INFO] [stderr] | | [INFO] [stderr] | `Finalize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_jrsonnet_gc_Finalize_FOR_Bar` [INFO] [stderr] 7 | struct Bar; [INFO] [stderr] | --- `Bar` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Finalize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Finalize` may come from an old version of the `jrsonnet_gc_derive` crate, try updating your dependency with `cargo update -p jrsonnet_gc_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Finalize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/unsized.rs:10:10 [INFO] [stderr] | [INFO] [stderr] 10 | #[derive(Trace, Finalize)] [INFO] [stderr] | ^---- [INFO] [stderr] | | [INFO] [stderr] | `Trace` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_jrsonnet_gc_Trace_FOR_AnyFoo` [INFO] [stderr] 11 | struct AnyFoo(dyn Foo); [INFO] [stderr] | ------ `AnyFoo` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Trace` may come from an old version of the `jrsonnet_gc_derive` crate, try updating your dependency with `cargo update -p jrsonnet_gc_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/unsized.rs:10:10 [INFO] [stderr] | [INFO] [stderr] 10 | #[derive(Trace, Finalize)] [INFO] [stderr] | ^---- [INFO] [stderr] | | [INFO] [stderr] | `Drop` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_std_ops_Drop_FOR_AnyFoo` [INFO] [stderr] 11 | struct AnyFoo(dyn Foo); [INFO] [stderr] | ------ `AnyFoo` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Trace` may come from an old version of the `jrsonnet_gc_derive` crate, try updating your dependency with `cargo update -p jrsonnet_gc_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/unsized.rs:10:17 [INFO] [stderr] | [INFO] [stderr] 10 | #[derive(Trace, Finalize)] [INFO] [stderr] | ^------- [INFO] [stderr] | | [INFO] [stderr] | `Finalize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_jrsonnet_gc_Finalize_FOR_AnyFoo` [INFO] [stderr] 11 | struct AnyFoo(dyn Foo); [INFO] [stderr] | ------ `AnyFoo` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Finalize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Finalize` may come from an old version of the `jrsonnet_gc_derive` crate, try updating your dependency with `cargo update -p jrsonnet_gc_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Finalize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/derive_bounds.rs:5:10 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(Finalize, Trace)] [INFO] [stderr] | ^------- [INFO] [stderr] | | [INFO] [stderr] | `Finalize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_jrsonnet_gc_Finalize_FOR_Thunk` [INFO] [stderr] 6 | struct Thunk(fn() -> T); [INFO] [stderr] | ----- `Thunk` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Finalize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Finalize` may come from an old version of the `jrsonnet_gc_derive` crate, try updating your dependency with `cargo update -p jrsonnet_gc_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Finalize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/derive_bounds.rs:5:20 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(Finalize, Trace)] [INFO] [stderr] | ^---- [INFO] [stderr] | | [INFO] [stderr] | `Trace` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_jrsonnet_gc_Trace_FOR_Thunk` [INFO] [stderr] 6 | struct Thunk(fn() -> T); [INFO] [stderr] | ----- `Thunk` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Trace` may come from an old version of the `jrsonnet_gc_derive` crate, try updating your dependency with `cargo update -p jrsonnet_gc_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/derive_bounds.rs:5:20 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(Finalize, Trace)] [INFO] [stderr] | ^---- [INFO] [stderr] | | [INFO] [stderr] | `Drop` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_std_ops_Drop_FOR_Thunk` [INFO] [stderr] 6 | struct Thunk(fn() -> T); [INFO] [stderr] | ----- `Thunk` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Trace` may come from an old version of the `jrsonnet_gc_derive` crate, try updating your dependency with `cargo update -p jrsonnet_gc_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: struct `X` is never constructed [INFO] [stderr] --> tests/finalize.rs:39:8 [INFO] [stderr] | [INFO] [stderr] 39 | struct X(Box); [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/finalize.rs:8:10 [INFO] [stderr] | [INFO] [stderr] 8 | #[derive(Trace)] [INFO] [stderr] | ^---- [INFO] [stderr] | | [INFO] [stderr] | `Trace` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_jrsonnet_gc_Trace_FOR_A` [INFO] [stderr] 9 | struct A { [INFO] [stderr] | - `A` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Trace` may come from an old version of the `jrsonnet_gc_derive` crate, try updating your dependency with `cargo update -p jrsonnet_gc_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/finalize.rs:8:10 [INFO] [stderr] | [INFO] [stderr] 8 | #[derive(Trace)] [INFO] [stderr] | ^---- [INFO] [stderr] | | [INFO] [stderr] | `Drop` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_std_ops_Drop_FOR_A` [INFO] [stderr] 9 | struct A { [INFO] [stderr] | - `A` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Trace` may come from an old version of the `jrsonnet_gc_derive` crate, try updating your dependency with `cargo update -p jrsonnet_gc_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/finalize.rs:13:10 [INFO] [stderr] | [INFO] [stderr] 13 | #[derive(Trace)] [INFO] [stderr] | ^---- [INFO] [stderr] | | [INFO] [stderr] | `Trace` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_jrsonnet_gc_Trace_FOR_B` [INFO] [stderr] 14 | struct B; [INFO] [stderr] | - `B` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Trace` may come from an old version of the `jrsonnet_gc_derive` crate, try updating your dependency with `cargo update -p jrsonnet_gc_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/finalize.rs:13:10 [INFO] [stderr] | [INFO] [stderr] 13 | #[derive(Trace)] [INFO] [stderr] | ^---- [INFO] [stderr] | | [INFO] [stderr] | `Drop` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_std_ops_Drop_FOR_B` [INFO] [stderr] 14 | struct B; [INFO] [stderr] | - `B` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Trace` may come from an old version of the `jrsonnet_gc_derive` crate, try updating your dependency with `cargo update -p jrsonnet_gc_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/finalize.rs:38:10 [INFO] [stderr] | [INFO] [stderr] 38 | #[derive(Trace, Finalize)] [INFO] [stderr] | ^---- [INFO] [stderr] | | [INFO] [stderr] | `Trace` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_jrsonnet_gc_Trace_FOR_X` [INFO] [stderr] 39 | struct X(Box); [INFO] [stderr] | - `X` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Trace` may come from an old version of the `jrsonnet_gc_derive` crate, try updating your dependency with `cargo update -p jrsonnet_gc_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/finalize.rs:38:10 [INFO] [stderr] | [INFO] [stderr] 38 | #[derive(Trace, Finalize)] [INFO] [stderr] | ^---- [INFO] [stderr] | | [INFO] [stderr] | `Drop` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_std_ops_Drop_FOR_X` [INFO] [stderr] 39 | struct X(Box); [INFO] [stderr] | - `X` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Trace` may come from an old version of the `jrsonnet_gc_derive` crate, try updating your dependency with `cargo update -p jrsonnet_gc_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/finalize.rs:38:17 [INFO] [stderr] | [INFO] [stderr] 38 | #[derive(Trace, Finalize)] [INFO] [stderr] | ^------- [INFO] [stderr] | | [INFO] [stderr] | `Finalize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_jrsonnet_gc_Finalize_FOR_X` [INFO] [stderr] 39 | struct X(Box); [INFO] [stderr] | - `X` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Finalize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Finalize` may come from an old version of the `jrsonnet_gc_derive` crate, try updating your dependency with `cargo update -p jrsonnet_gc_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Finalize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/gymnastics_cycle.rs:7:10 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(Trace)] [INFO] [stderr] | ^---- [INFO] [stderr] | | [INFO] [stderr] | `Trace` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_jrsonnet_gc_Trace_FOR_Cyclic` [INFO] [stderr] 8 | struct Cyclic { [INFO] [stderr] | ------ `Cyclic` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Trace` may come from an old version of the `jrsonnet_gc_derive` crate, try updating your dependency with `cargo update -p jrsonnet_gc_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/gymnastics_cycle.rs:7:10 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(Trace)] [INFO] [stderr] | ^---- [INFO] [stderr] | | [INFO] [stderr] | `Drop` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_std_ops_Drop_FOR_Cyclic` [INFO] [stderr] 8 | struct Cyclic { [INFO] [stderr] | ------ `Cyclic` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Trace` may come from an old version of the `jrsonnet_gc_derive` crate, try updating your dependency with `cargo update -p jrsonnet_gc_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `jrsonnet-gc` (test "trace_impl") generated 28 warnings [INFO] [stderr] warning: `jrsonnet-gc` (test "unsized") generated 6 warnings [INFO] [stderr] warning: `jrsonnet-gc` (test "derive_bounds") generated 3 warnings [INFO] [stderr] warning: `jrsonnet-gc` (test "finalize") generated 8 warnings [INFO] [stderr] warning: `jrsonnet-gc` (test "gymnastics_cycle") generated 2 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/jrsonnet_gc-988cee1cf93c9049) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/derive_bounds.rs (/opt/rustwide/target/debug/deps/derive_bounds-16f4b6d762dd8208) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test test_derive_bounds ... ok [INFO] [stderr] Running tests/finalize.rs (/opt/rustwide/target/debug/deps/finalize-c3a6dc1389cee045) [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.10s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test drop_triggers_finalize ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/from_raw.rs (/opt/rustwide/target/debug/deps/from_raw-64b45fa002d6379c) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test test_into_raw ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Running tests/gc_cell_ref.rs (/opt/rustwide/target/debug/deps/gc_cell_ref-40188ef417cde8e5) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test test_gc_cell_ref_mut_map ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/gc_semantics.rs (/opt/rustwide/target/debug/deps/gc_semantics-bacba4101a70157c) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test basic_allocate ... ok [INFO] [stdout] test ptr_eq ... ok [INFO] [stdout] test gccell_rooting ... ok [INFO] [stdout] test basic_cycle_allocate ... ok [INFO] [stderr] Running tests/gymnastics_cycle.rs (/opt/rustwide/target/debug/deps/gymnastics_cycle-baa210c11aa527db) [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test test_cycle ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/i128.rs (/opt/rustwide/target/debug/deps/i128-dc78c55b6337c5af) [INFO] [stderr] Running tests/trace_impl.rs (/opt/rustwide/target/debug/deps/trace_impl-fe046b5a566dfa62) [INFO] [stderr] Running tests/unsized.rs (/opt/rustwide/target/debug/deps/unsized-fe1fff290e40a355) [INFO] [stderr] Doc-tests jrsonnet_gc [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test u128 ... ok [INFO] [stdout] test i128 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test test ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test gc_box_dyn_foo ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test src/lib.rs - GcCellRef<'a,T>::map (line 697) ... ok [INFO] [stdout] test src/lib.rs - GcCell::try_borrow (line 525) ... ok [INFO] [stdout] test src/lib.rs - GcCell::try_borrow_mut (line 567) ... ok [INFO] [stdout] test src/lib.rs - Gc::from_raw (line 172) ... ok [INFO] [stdout] test src/lib.rs - Gc::new (line 66) ... ok [INFO] [stdout] test src/lib.rs - GcCellRef<'a,T>::map_split (line 732) ... ok [INFO] [stdout] test src/lib.rs - Gc::into_raw (line 146) ... ok [INFO] [stdout] test src/lib.rs - GcCellRefMut<'a,T,U>::map (line 817) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.83s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "1a83da09bafd7cde485846b8317c856282008c2a76d08fec7e5b5daa06cb19f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a83da09bafd7cde485846b8317c856282008c2a76d08fec7e5b5daa06cb19f9", kill_on_drop: false }` [INFO] [stdout] 1a83da09bafd7cde485846b8317c856282008c2a76d08fec7e5b5daa06cb19f9