[INFO] fetching crate jrsonnet-gc 0.4.2... [INFO] testing jrsonnet-gc-0.4.2 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate jrsonnet-gc 0.4.2 into /workspace/builds/worker-0-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-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate jrsonnet-gc 0.4.2 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 144a49984f21a730f40699342e15ef406d79d9c70c4019b6481f58e6fa56525a [INFO] running `Command { std: "docker" "start" "-a" "144a49984f21a730f40699342e15ef406d79d9c70c4019b6481f58e6fa56525a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "144a49984f21a730f40699342e15ef406d79d9c70c4019b6481f58e6fa56525a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "144a49984f21a730f40699342e15ef406d79d9c70c4019b6481f58e6fa56525a", kill_on_drop: false }` [INFO] [stdout] 144a49984f21a730f40699342e15ef406d79d9c70c4019b6481f58e6fa56525a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1aab6a0cd1e4ec1365b33da474948ad231e91f65db3a4b19f966e26b52f409dc [INFO] running `Command { std: "docker" "start" "-a" "1aab6a0cd1e4ec1365b33da474948ad231e91f65db3a4b19f966e26b52f409dc", 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.52s [INFO] running `Command { std: "docker" "inspect" "1aab6a0cd1e4ec1365b33da474948ad231e91f65db3a4b19f966e26b52f409dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1aab6a0cd1e4ec1365b33da474948ad231e91f65db3a4b19f966e26b52f409dc", kill_on_drop: false }` [INFO] [stdout] 1aab6a0cd1e4ec1365b33da474948ad231e91f65db3a4b19f966e26b52f409dc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 573756665bd07a2a29c8a3031d68695a20ff4d4e775a3f9468e92f1218b8ca67 [INFO] running `Command { std: "docker" "start" "-a" "573756665bd07a2a29c8a3031d68695a20ff4d4e775a3f9468e92f1218b8ca67", kill_on_drop: false }` [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/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: 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: 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/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/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/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/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: 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/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/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/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/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/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/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/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: 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/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 1.36s [INFO] running `Command { std: "docker" "inspect" "573756665bd07a2a29c8a3031d68695a20ff4d4e775a3f9468e92f1218b8ca67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "573756665bd07a2a29c8a3031d68695a20ff4d4e775a3f9468e92f1218b8ca67", kill_on_drop: false }` [INFO] [stdout] 573756665bd07a2a29c8a3031d68695a20ff4d4e775a3f9468e92f1218b8ca67 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] adff2e7b97ece1d67acaea79ede39d62c0cbc651f0127f0f98d48fd56acc858f [INFO] running `Command { std: "docker" "start" "-a" "adff2e7b97ece1d67acaea79ede39d62c0cbc651f0127f0f98d48fd56acc858f", kill_on_drop: false }` [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] [stdout] [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] [stdout] running 0 tests [INFO] [stderr] = note: this warning originates in the derive macro `Trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] [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: 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] [stdout] [INFO] [stderr] | `Finalize` is not local [INFO] [stdout] running 1 test [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] [stdout] test test_derive_bounds ... ok [INFO] [stderr] --> tests/gc_semantics.rs:271:14 [INFO] [stdout] [INFO] [stderr] | [INFO] [stderr] 271 | #[derive(Finalize, Trace)] [INFO] [stderr] | ^------- [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] | | [INFO] [stdout] [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 "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 "gc_semantics") generated 9 warnings [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] [stdout] [INFO] [stderr] | ------ `Cyclic` is not local [INFO] [stdout] running 1 test [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] [stdout] test drop_triggers_finalize ... ok [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] [INFO] [stderr] --> tests/finalize.rs:8:10 [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] | [INFO] [stdout] [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] [stdout] [INFO] [stderr] | ^---- [INFO] [stdout] running 1 test [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] [stdout] test test_into_raw ... ok [INFO] [stderr] [INFO] [stdout] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] --> tests/finalize.rs:38:17 [INFO] [stdout] [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: `jrsonnet-gc` (test "gymnastics_cycle") generated 2 warnings [INFO] [stderr] warning: `jrsonnet-gc` (test "finalize") generated 8 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/jrsonnet_gc-61a7733950603d78) [INFO] [stderr] Running tests/derive_bounds.rs (/opt/rustwide/target/debug/deps/derive_bounds-79033b5df770b667) [INFO] [stderr] Running tests/finalize.rs (/opt/rustwide/target/debug/deps/finalize-3d2731dadb1f0e4e) [INFO] [stderr] Running tests/from_raw.rs (/opt/rustwide/target/debug/deps/from_raw-5c6c9bb7c436c280) [INFO] [stderr] Running tests/gc_cell_ref.rs (/opt/rustwide/target/debug/deps/gc_cell_ref-0b4e96a46f92ca14) [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-dbd53a84ca680e87) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test basic_allocate ... ok [INFO] [stdout] test basic_cycle_allocate ... ok [INFO] [stdout] test gccell_rooting ... ok [INFO] [stdout] test ptr_eq ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/gymnastics_cycle.rs (/opt/rustwide/target/debug/deps/gymnastics_cycle-d0f44910bdd7a85f) [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-76f7c7bd12d66ba4) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test i128 ... ok [INFO] [stdout] test u128 ... 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] [stderr] Running tests/trace_impl.rs (/opt/rustwide/target/debug/deps/trace_impl-5e3baac64f1002db) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stderr] Running tests/unsized.rs (/opt/rustwide/target/debug/deps/unsized-92d5ddfdf499d093) [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] [stderr] Doc-tests jrsonnet_gc [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 - Gc::into_raw (line 146) ... ok [INFO] [stdout] test src/lib.rs - GcCell::try_borrow (line 525) ... ok [INFO] [stdout] test src/lib.rs - GcCellRefMut<'a,T,U>::map (line 817) ... ok [INFO] [stdout] test src/lib.rs - Gc::from_raw (line 172) ... ok [INFO] [stdout] test src/lib.rs - GcCellRef<'a,T>::map_split (line 732) ... ok [INFO] [stdout] test src/lib.rs - Gc::new (line 66) ... ok [INFO] [stdout] test src/lib.rs - GcCell::try_borrow_mut (line 567) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.39s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "adff2e7b97ece1d67acaea79ede39d62c0cbc651f0127f0f98d48fd56acc858f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "adff2e7b97ece1d67acaea79ede39d62c0cbc651f0127f0f98d48fd56acc858f", kill_on_drop: false }` [INFO] [stdout] adff2e7b97ece1d67acaea79ede39d62c0cbc651f0127f0f98d48fd56acc858f