[INFO] cloning repository https://github.com/evan-a-w/gc_rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/evan-a-w/gc_rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fevan-a-w%2Fgc_rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fevan-a-w%2Fgc_rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4155c6b5b302a039ef27d054c014d9c71e3462e0 [INFO] checking evan-a-w/gc_rs against master#035b01b794602d5861daa43ac792f372f8981ed7 for 152214-denied-retry-0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fevan-a-w%2Fgc_rs" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/evan-a-w/gc_rs [INFO] finished tweaking git repo https://github.com/evan-a-w/gc_rs [INFO] tweaked toml for git repo https://github.com/evan-a-w/gc_rs written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/evan-a-w/gc_rs on toolchain 035b01b794602d5861daa43ac792f372f8981ed7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+035b01b794602d5861daa43ac792f372f8981ed7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/evan-a-w/gc_rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+035b01b794602d5861daa43ac792f372f8981ed7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] | [INFO] [stderr] = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded unicode-xid v0.2.2 [INFO] [stderr] Downloaded quote v1.0.14 [INFO] [stderr] Downloaded proc-macro2 v1.0.36 [INFO] [stderr] Downloaded syn v1.0.85 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+035b01b794602d5861daa43ac792f372f8981ed7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 045e326600085e389db1020b65dec0bdca107e0e9445c262409678d4141a450b [INFO] running `Command { std: "docker" "start" "-a" "045e326600085e389db1020b65dec0bdca107e0e9445c262409678d4141a450b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "045e326600085e389db1020b65dec0bdca107e0e9445c262409678d4141a450b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "045e326600085e389db1020b65dec0bdca107e0e9445c262409678d4141a450b", kill_on_drop: false }` [INFO] [stdout] 045e326600085e389db1020b65dec0bdca107e0e9445c262409678d4141a450b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+035b01b794602d5861daa43ac792f372f8981ed7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fbbcb1b8d485459038a99e29cd690f0251d4d0417b27b8db78a533c7df41058b [INFO] running `Command { std: "docker" "start" "-a" "fbbcb1b8d485459038a99e29cd690f0251d4d0417b27b8db78a533c7df41058b", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] | [INFO] [stderr] = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling syn v1.0.85 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling quote v1.0.14 [INFO] [stderr] Checking synstructure v0.12.6 [INFO] [stderr] Checking gc_rs_derive v0.1.0 (/opt/rustwide/workdir/gc_rs_derive) [INFO] [stdout] warning: unused import: `proc_macro2::TokenStream` [INFO] [stdout] --> gc_rs_derive/src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use proc_macro2::TokenStream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `proc_macro2::TokenStream` [INFO] [stdout] --> gc_rs_derive/src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use proc_macro2::TokenStream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `proc_macro2::TokenStream` [INFO] [stdout] --> gc_rs_derive/src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use proc_macro2::TokenStream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking gc_rs v0.1.0 (/opt/rustwide/workdir/gc_rs) [INFO] [stdout] warning: unused import: `RefCell` [INFO] [stdout] --> gc_rs/src/gc.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | use std::cell::{Cell, RefCell}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::marker::PhantomData` [INFO] [stdout] --> gc_rs/src/gc.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::marker::PhantomData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RefCell` [INFO] [stdout] --> gc_rs/src/gc.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | use std::cell::{Cell, RefCell}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::marker::PhantomData` [INFO] [stdout] --> gc_rs/src/gc.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::marker::PhantomData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking gc_rs_tests v0.1.0 (/opt/rustwide/workdir/gc_rs_tests) [INFO] [stdout] warning: fields `x` and `y` are never read [INFO] [stdout] --> gc_rs_tests/src/lib.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 80 | struct Foo { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 81 | pub x: i32, [INFO] [stdout] | ^ [INFO] [stdout] 82 | pub y: String, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `x` is never read [INFO] [stdout] --> gc_rs_tests/src/lib.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 118 | struct Bar { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 119 | pub x: i32, [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] --> gc_rs_tests/src/lib.rs:175:14 [INFO] [stdout] | [INFO] [stdout] 175 | #[derive(Trace)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Trace` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_gc_rs_Trace_FOR_Foo` and up 2 bodies [INFO] [stdout] 176 | struct Foo { [INFO] [stdout] | --- `Foo` 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 `gc_rs_derive` crate, try updating your dependency with `cargo update -p gc_rs_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] --> gc_rs_tests/src/lib.rs:202:14 [INFO] [stdout] | [INFO] [stdout] 202 | #[derive(Trace)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Trace` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_gc_rs_Trace_FOR_Bar` and up 2 bodies [INFO] [stdout] 203 | 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 `gc_rs_derive` crate, try updating your dependency with `cargo update -p gc_rs_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] --> gc_rs_tests/src/lib.rs:242:14 [INFO] [stdout] | [INFO] [stdout] 242 | #[derive(Trace)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Trace` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_gc_rs_Trace_FOR_Foo` and up 2 bodies [INFO] [stdout] 243 | struct Foo { [INFO] [stdout] | --- `Foo` 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 `gc_rs_derive` crate, try updating your dependency with `cargo update -p gc_rs_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] --> gc_rs_tests/src/lib.rs:293:14 [INFO] [stdout] | [INFO] [stdout] 293 | #[derive(Trace, Clone, PartialEq)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Trace` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_gc_rs_Trace_FOR_LinkedList` and up 2 bodies [INFO] [stdout] 294 | struct LinkedList { [INFO] [stdout] | ---------- `LinkedList` 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 `gc_rs_derive` crate, try updating your dependency with `cargo update -p gc_rs_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: fields `x` and `y` are never read [INFO] [stdout] --> gc_rs_tests/src/lib.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 80 | struct Foo { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 81 | pub x: i32, [INFO] [stdout] | ^ [INFO] [stdout] 82 | pub y: String, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `x` is never read [INFO] [stdout] --> gc_rs_tests/src/lib.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 118 | struct Bar { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 119 | pub x: i32, [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] --> gc_rs_tests/src/lib.rs:175:14 [INFO] [stdout] | [INFO] [stdout] 175 | #[derive(Trace)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Trace` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_gc_rs_Trace_FOR_Foo` and up 2 bodies [INFO] [stdout] 176 | struct Foo { [INFO] [stdout] | --- `Foo` 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 `gc_rs_derive` crate, try updating your dependency with `cargo update -p gc_rs_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] --> gc_rs_tests/src/lib.rs:202:14 [INFO] [stdout] | [INFO] [stdout] 202 | #[derive(Trace)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Trace` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_gc_rs_Trace_FOR_Bar` and up 2 bodies [INFO] [stdout] 203 | 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 `gc_rs_derive` crate, try updating your dependency with `cargo update -p gc_rs_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] --> gc_rs_tests/src/lib.rs:242:14 [INFO] [stdout] | [INFO] [stdout] 242 | #[derive(Trace)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Trace` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_gc_rs_Trace_FOR_Foo` and up 2 bodies [INFO] [stdout] 243 | struct Foo { [INFO] [stdout] | --- `Foo` 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 `gc_rs_derive` crate, try updating your dependency with `cargo update -p gc_rs_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] --> gc_rs_tests/src/lib.rs:293:14 [INFO] [stdout] | [INFO] [stdout] 293 | #[derive(Trace, Clone, PartialEq)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Trace` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_gc_rs_Trace_FOR_LinkedList` and up 2 bodies [INFO] [stdout] 294 | struct LinkedList { [INFO] [stdout] | ---------- `LinkedList` 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 `gc_rs_derive` crate, try updating your dependency with `cargo update -p gc_rs_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] --> gc_rs_tests/src/lib.rs:29:18 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(Trace)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Trace` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_gc_rs_Trace_FOR_Foo` and up 2 bodies [INFO] [stdout] 30 | struct Foo { [INFO] [stdout] | --- `Foo` 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 `gc_rs_derive` crate, try updating your dependency with `cargo update -p gc_rs_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] --> gc_rs_tests/src/lib.rs:35:18 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(Trace)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Trace` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_gc_rs_Trace_FOR_Bar` and up 2 bodies [INFO] [stdout] 36 | 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 `gc_rs_derive` crate, try updating your dependency with `cargo update -p gc_rs_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: unused imports: `GC_STATE`, `Gc`, and `Trace` [INFO] [stdout] --> gc_rs_tests/src/bin.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use gc_rs::{Trace, Gc, GC_STATE}; [INFO] [stdout] | ^^^^^ ^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GC_STATE`, `Gc`, and `Trace` [INFO] [stdout] --> gc_rs_tests/src/bin.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use gc_rs::{Trace, Gc, GC_STATE}; [INFO] [stdout] | ^^^^^ ^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.05s [INFO] running `Command { std: "docker" "inspect" "fbbcb1b8d485459038a99e29cd690f0251d4d0417b27b8db78a533c7df41058b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fbbcb1b8d485459038a99e29cd690f0251d4d0417b27b8db78a533c7df41058b", kill_on_drop: false }` [INFO] [stdout] fbbcb1b8d485459038a99e29cd690f0251d4d0417b27b8db78a533c7df41058b