[INFO] fetching crate lhlist 0.1.1... [INFO] testing lhlist-0.1.1 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate lhlist 0.1.1 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate lhlist 0.1.1 [INFO] finished tweaking crates.io crate lhlist 0.1.1 [INFO] tweaked toml for crates.io crate lhlist 0.1.1 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate lhlist 0.1.1 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 6 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a28707d75b5cc2fce4c74bf6447b8a25c8f3e13e7b0f280bc8275d8bdf5f90aa [INFO] running `Command { std: "docker" "start" "-a" "a28707d75b5cc2fce4c74bf6447b8a25c8f3e13e7b0f280bc8275d8bdf5f90aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a28707d75b5cc2fce4c74bf6447b8a25c8f3e13e7b0f280bc8275d8bdf5f90aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a28707d75b5cc2fce4c74bf6447b8a25c8f3e13e7b0f280bc8275d8bdf5f90aa", kill_on_drop: false }` [INFO] [stdout] a28707d75b5cc2fce4c74bf6447b8a25c8f3e13e7b0f280bc8275d8bdf5f90aa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8f97eca8e353e41e8a9a41825d77cf21ca1e231514c6633ed52be679c13f3800 [INFO] running `Command { std: "docker" "start" "-a" "8f97eca8e353e41e8a9a41825d77cf21ca1e231514c6633ed52be679c13f3800", kill_on_drop: false }` [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling label_attribute v0.1.1 [INFO] [stderr] Compiling lhlist v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.82s [INFO] running `Command { std: "docker" "inspect" "8f97eca8e353e41e8a9a41825d77cf21ca1e231514c6633ed52be679c13f3800", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f97eca8e353e41e8a9a41825d77cf21ca1e231514c6633ed52be679c13f3800", kill_on_drop: false }` [INFO] [stdout] 8f97eca8e353e41e8a9a41825d77cf21ca1e231514c6633ed52be679c13f3800 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a732396f5ea924729f1570d73929c87ee550d9007f928b3b4fe6c56e1cbc2e21 [INFO] running `Command { std: "docker" "start" "-a" "a732396f5ea924729f1570d73929c87ee550d9007f928b3b4fe6c56e1cbc2e21", kill_on_drop: false }` [INFO] [stderr] Compiling lhlist v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> examples/basic.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[label(name="My Label!", type=u16)] [INFO] [stdout] | ^----------------------------------- [INFO] [stdout] | | [INFO] [stdout] | `Label` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_LABEL_FOR_MyLabel` [INFO] [stdout] 7 | struct MyLabel; [INFO] [stdout] | ------- `MyLabel` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `label` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `label` may come from an old version of the `label_attribute` crate, try updating your dependency with `cargo update -p label_attribute` [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 attribute macro `label` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/label.rs:331:9 [INFO] [stdout] | [INFO] [stdout] 331 | #[label(name = "My Label", crate=crate)] [INFO] [stdout] | ^--------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | `Label` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_LABEL_FOR_Label1` and up 2 bodies [INFO] [stdout] 332 | struct Label1; [INFO] [stdout] | ------ `Label1` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `label` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `label` may come from an old version of the `label_attribute` crate, try updating your dependency with `cargo update -p label_attribute` [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 attribute macro `label` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/label.rs:333:9 [INFO] [stdout] | [INFO] [stdout] 333 | #[label(type=u8, crate=crate)] [INFO] [stdout] | ^----------------------------- [INFO] [stdout] | | [INFO] [stdout] | `Label` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_LABEL_FOR_Label2` and up 2 bodies [INFO] [stdout] 334 | struct Label2; [INFO] [stdout] | ------ `Label2` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `label` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `label` may come from an old version of the `label_attribute` crate, try updating your dependency with `cargo update -p label_attribute` [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 attribute macro `label` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/label.rs:335:9 [INFO] [stdout] | [INFO] [stdout] 335 | #[label(crate=crate)] [INFO] [stdout] | ^-------------------- [INFO] [stdout] | | [INFO] [stdout] | `Label` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_LABEL_FOR_Label3` and up 2 bodies [INFO] [stdout] 336 | struct Label3; [INFO] [stdout] | ------ `Label3` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `label` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `label` may come from an old version of the `label_attribute` crate, try updating your dependency with `cargo update -p label_attribute` [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 attribute macro `label` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/label.rs:348:9 [INFO] [stdout] | [INFO] [stdout] 348 | #[label(type=u8, crate=crate)] [INFO] [stdout] | ^----------------------------- [INFO] [stdout] | | [INFO] [stdout] | `Label` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_LABEL_FOR_Label1` and up 2 bodies [INFO] [stdout] 349 | struct Label1; [INFO] [stdout] | ------ `Label1` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `label` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `label` may come from an old version of the `label_attribute` crate, try updating your dependency with `cargo update -p label_attribute` [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 attribute macro `label` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/label.rs:350:9 [INFO] [stdout] | [INFO] [stdout] 350 | #[label(type=u16, crate=crate)] [INFO] [stdout] | ^------------------------------ [INFO] [stdout] | | [INFO] [stdout] | `Label` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_LABEL_FOR_Label2` and up 2 bodies [INFO] [stdout] 351 | struct Label2; [INFO] [stdout] | ------ `Label2` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `label` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `label` may come from an old version of the `label_attribute` crate, try updating your dependency with `cargo update -p label_attribute` [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 attribute macro `label` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/label.rs:352:9 [INFO] [stdout] | [INFO] [stdout] 352 | #[label(type=i16, crate=crate)] [INFO] [stdout] | ^------------------------------ [INFO] [stdout] | | [INFO] [stdout] | `Label` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_LABEL_FOR_Label3` and up 2 bodies [INFO] [stdout] 353 | struct Label3; [INFO] [stdout] | ------ `Label3` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `label` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `label` may come from an old version of the `label_attribute` crate, try updating your dependency with `cargo update -p label_attribute` [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 attribute macro `label` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/relation.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | #[label(name = "My Label", crate=crate)] [INFO] [stdout] | ^--------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | `Label` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_LABEL_FOR_Label1` [INFO] [stdout] 92 | struct Label1; [INFO] [stdout] | ------ `Label1` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `label` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `label` may come from an old version of the `label_attribute` crate, try updating your dependency with `cargo update -p label_attribute` [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 attribute macro `label` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/relation.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | #[label(type=u8, crate=crate)] [INFO] [stdout] | ^----------------------------- [INFO] [stdout] | | [INFO] [stdout] | `Label` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_LABEL_FOR_Label2` [INFO] [stdout] 95 | struct Label2; [INFO] [stdout] | ------ `Label2` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `label` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `label` may come from an old version of the `label_attribute` crate, try updating your dependency with `cargo update -p label_attribute` [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 attribute macro `label` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/relation.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | #[label(crate=crate)] [INFO] [stdout] | ^-------------------- [INFO] [stdout] | | [INFO] [stdout] | `Label` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_LABEL_FOR_Label3` [INFO] [stdout] 98 | struct Label3; [INFO] [stdout] | ------ `Label3` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `label` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `label` may come from an old version of the `label_attribute` crate, try updating your dependency with `cargo update -p label_attribute` [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 attribute macro `label` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lookup.rs:131:5 [INFO] [stdout] | [INFO] [stdout] 131 | #[label(name="My Label", type=String, crate=crate)] [INFO] [stdout] | ^-------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | `Label` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_LABEL_FOR_Label1` [INFO] [stdout] 132 | struct Label1; [INFO] [stdout] | ------ `Label1` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `label` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `label` may come from an old version of the `label_attribute` crate, try updating your dependency with `cargo update -p label_attribute` [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 attribute macro `label` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lookup.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 134 | #[label(type=u8, crate=crate)] [INFO] [stdout] | ^----------------------------- [INFO] [stdout] | | [INFO] [stdout] | `Label` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_LABEL_FOR_Label2` [INFO] [stdout] 135 | struct Label2; [INFO] [stdout] | ------ `Label2` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `label` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `label` may come from an old version of the `label_attribute` crate, try updating your dependency with `cargo update -p label_attribute` [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 attribute macro `label` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lookup.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 137 | #[label(type=&'static str, crate=crate)] [INFO] [stdout] | ^--------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | `Label` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_LABEL_FOR_Label3` [INFO] [stdout] 138 | struct Label3; [INFO] [stdout] | ------ `Label3` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `label` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `label` may come from an old version of the `label_attribute` crate, try updating your dependency with `cargo update -p label_attribute` [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 attribute macro `label` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/iter.rs:447:9 [INFO] [stdout] | [INFO] [stdout] 447 | #[label(type=Vec, crate=crate)] [INFO] [stdout] | ^------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | `Label` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_LABEL_FOR_Label1` and up 2 bodies [INFO] [stdout] 448 | struct Label1; [INFO] [stdout] | ------ `Label1` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `label` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `label` may come from an old version of the `label_attribute` crate, try updating your dependency with `cargo update -p label_attribute` [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 attribute macro `label` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/iter.rs:450:9 [INFO] [stdout] | [INFO] [stdout] 450 | #[label(type=Vec<&'static str>, crate=crate)] [INFO] [stdout] | ^-------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | `Label` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_LABEL_FOR_Label2` and up 2 bodies [INFO] [stdout] 451 | struct Label2; [INFO] [stdout] | ------ `Label2` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `label` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `label` may come from an old version of the `label_attribute` crate, try updating your dependency with `cargo update -p label_attribute` [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 attribute macro `label` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/iter.rs:453:9 [INFO] [stdout] | [INFO] [stdout] 453 | #[label(type=Vec, crate=crate)] [INFO] [stdout] | ^----------------------------------- [INFO] [stdout] | | [INFO] [stdout] | `Label` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_LABEL_FOR_Label3` and up 2 bodies [INFO] [stdout] 454 | struct Label3; [INFO] [stdout] | ------ `Label3` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `label` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `label` may come from an old version of the `label_attribute` crate, try updating your dependency with `cargo update -p label_attribute` [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 attribute macro `label` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/iter.rs:503:9 [INFO] [stdout] | [INFO] [stdout] 503 | #[label(type=usize, crate=crate)] [INFO] [stdout] | ^-------------------------------- [INFO] [stdout] | | [INFO] [stdout] | `Label` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_LABEL_FOR_Label1Result` and up 2 bodies [INFO] [stdout] 504 | struct Label1Result; [INFO] [stdout] | ------------ `Label1Result` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `label` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `label` may come from an old version of the `label_attribute` crate, try updating your dependency with `cargo update -p label_attribute` [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 attribute macro `label` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/iter.rs:505:9 [INFO] [stdout] | [INFO] [stdout] 505 | #[label(type=usize, crate=crate)] [INFO] [stdout] | ^-------------------------------- [INFO] [stdout] | | [INFO] [stdout] | `Label` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_LABEL_FOR_Label2Result` and up 2 bodies [INFO] [stdout] 506 | struct Label2Result; [INFO] [stdout] | ------------ `Label2Result` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `label` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `label` may come from an old version of the `label_attribute` crate, try updating your dependency with `cargo update -p label_attribute` [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 attribute macro `label` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/iter.rs:507:9 [INFO] [stdout] | [INFO] [stdout] 507 | #[label(type=usize, crate=crate)] [INFO] [stdout] | ^-------------------------------- [INFO] [stdout] | | [INFO] [stdout] | `Label` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_LABEL_FOR_Label3Result` and up 2 bodies [INFO] [stdout] 508 | struct Label3Result; [INFO] [stdout] | ------------ `Label3Result` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `label` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `label` may come from an old version of the `label_attribute` crate, try updating your dependency with `cargo update -p label_attribute` [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 attribute macro `label` (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 0.59s [INFO] running `Command { std: "docker" "inspect" "a732396f5ea924729f1570d73929c87ee550d9007f928b3b4fe6c56e1cbc2e21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a732396f5ea924729f1570d73929c87ee550d9007f928b3b4fe6c56e1cbc2e21", kill_on_drop: false }` [INFO] [stdout] a732396f5ea924729f1570d73929c87ee550d9007f928b3b4fe6c56e1cbc2e21 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 888034cef5b88c6e9ff9e5d79d673a4fde1899ae6eb60aea04987ca4c92a55d9 [INFO] running `Command { std: "docker" "start" "-a" "888034cef5b88c6e9ff9e5d79d673a4fde1899ae6eb60aea04987ca4c92a55d9", kill_on_drop: false }` [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/label.rs:331:9 [INFO] [stderr] | [INFO] [stderr] 331 | #[label(name = "My Label", crate=crate)] [INFO] [stderr] | ^--------------------------------------- [INFO] [stderr] | | [INFO] [stderr] | `Label` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_LABEL_FOR_Label1` and up 2 bodies [INFO] [stderr] 332 | struct Label1; [INFO] [stderr] | ------ `Label1` is not local [INFO] [stderr] | [INFO] [stderr] = note: the attribute macro `label` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the attribute macro `label` may come from an old version of the `label_attribute` crate, try updating your dependency with `cargo update -p label_attribute` [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 attribute macro `label` (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] --> src/label.rs:333:9 [INFO] [stderr] | [INFO] [stderr] 333 | #[label(type=u8, crate=crate)] [INFO] [stderr] | ^----------------------------- [INFO] [stderr] | | [INFO] [stderr] | `Label` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_LABEL_FOR_Label2` and up 2 bodies [INFO] [stderr] 334 | struct Label2; [INFO] [stderr] | ------ `Label2` is not local [INFO] [stderr] | [INFO] [stderr] = note: the attribute macro `label` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the attribute macro `label` may come from an old version of the `label_attribute` crate, try updating your dependency with `cargo update -p label_attribute` [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 attribute macro `label` (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] --> src/label.rs:335:9 [INFO] [stderr] | [INFO] [stderr] 335 | #[label(crate=crate)] [INFO] [stderr] | ^-------------------- [INFO] [stderr] | | [INFO] [stderr] | `Label` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_LABEL_FOR_Label3` and up 2 bodies [INFO] [stderr] 336 | struct Label3; [INFO] [stderr] | ------ `Label3` is not local [INFO] [stderr] | [INFO] [stderr] = note: the attribute macro `label` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the attribute macro `label` may come from an old version of the `label_attribute` crate, try updating your dependency with `cargo update -p label_attribute` [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 attribute macro `label` (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] --> src/label.rs:348:9 [INFO] [stderr] | [INFO] [stderr] 348 | #[label(type=u8, crate=crate)] [INFO] [stderr] | ^----------------------------- [INFO] [stderr] | | [INFO] [stderr] | `Label` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_LABEL_FOR_Label1` and up 2 bodies [INFO] [stderr] 349 | struct Label1; [INFO] [stderr] | ------ `Label1` is not local [INFO] [stderr] | [INFO] [stderr] = note: the attribute macro `label` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the attribute macro `label` may come from an old version of the `label_attribute` crate, try updating your dependency with `cargo update -p label_attribute` [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 attribute macro `label` (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] --> src/label.rs:350:9 [INFO] [stderr] | [INFO] [stderr] 350 | #[label(type=u16, crate=crate)] [INFO] [stderr] | ^------------------------------ [INFO] [stderr] | | [INFO] [stderr] | `Label` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_LABEL_FOR_Label2` and up 2 bodies [INFO] [stderr] 351 | struct Label2; [INFO] [stderr] | ------ `Label2` is not local [INFO] [stderr] | [INFO] [stderr] = note: the attribute macro `label` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the attribute macro `label` may come from an old version of the `label_attribute` crate, try updating your dependency with `cargo update -p label_attribute` [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 attribute macro `label` (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] --> src/label.rs:352:9 [INFO] [stderr] | [INFO] [stderr] 352 | #[label(type=i16, crate=crate)] [INFO] [stderr] | ^------------------------------ [INFO] [stderr] | | [INFO] [stderr] | `Label` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_LABEL_FOR_Label3` and up 2 bodies [INFO] [stderr] 353 | struct Label3; [INFO] [stderr] | ------ `Label3` is not local [INFO] [stderr] | [INFO] [stderr] = note: the attribute macro `label` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the attribute macro `label` may come from an old version of the `label_attribute` crate, try updating your dependency with `cargo update -p label_attribute` [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 attribute macro `label` (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] --> src/relation.rs:91:5 [INFO] [stderr] | [INFO] [stderr] 91 | #[label(name = "My Label", crate=crate)] [INFO] [stderr] | ^--------------------------------------- [INFO] [stderr] | | [INFO] [stderr] | `Label` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_LABEL_FOR_Label1` [INFO] [stderr] 92 | struct Label1; [INFO] [stderr] | ------ `Label1` is not local [INFO] [stderr] | [INFO] [stderr] = note: the attribute macro `label` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the attribute macro `label` may come from an old version of the `label_attribute` crate, try updating your dependency with `cargo update -p label_attribute` [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 attribute macro `label` (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] --> src/relation.rs:94:5 [INFO] [stderr] | [INFO] [stderr] 94 | #[label(type=u8, crate=crate)] [INFO] [stderr] | ^----------------------------- [INFO] [stderr] | | [INFO] [stderr] | `Label` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_LABEL_FOR_Label2` [INFO] [stderr] 95 | struct Label2; [INFO] [stderr] | ------ `Label2` is not local [INFO] [stderr] | [INFO] [stderr] = note: the attribute macro `label` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the attribute macro `label` may come from an old version of the `label_attribute` crate, try updating your dependency with `cargo update -p label_attribute` [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 attribute macro `label` (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] --> src/relation.rs:97:5 [INFO] [stderr] | [INFO] [stderr] 97 | #[label(crate=crate)] [INFO] [stderr] | ^-------------------- [INFO] [stderr] | | [INFO] [stderr] | `Label` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_LABEL_FOR_Label3` [INFO] [stderr] 98 | struct Label3; [INFO] [stderr] | ------ `Label3` is not local [INFO] [stderr] | [INFO] [stderr] = note: the attribute macro `label` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the attribute macro `label` may come from an old version of the `label_attribute` crate, try updating your dependency with `cargo update -p label_attribute` [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 attribute macro `label` (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] --> src/lookup.rs:131:5 [INFO] [stderr] | [INFO] [stderr] 131 | #[label(name="My Label", type=String, crate=crate)] [INFO] [stderr] | ^-------------------------------------------------- [INFO] [stderr] | | [INFO] [stderr] | `Label` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_LABEL_FOR_Label1` [INFO] [stderr] 132 | struct Label1; [INFO] [stderr] | ------ `Label1` is not local [INFO] [stderr] | [INFO] [stderr] = note: the attribute macro `label` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the attribute macro `label` may come from an old version of the `label_attribute` crate, try updating your dependency with `cargo update -p label_attribute` [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 attribute macro `label` (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] --> src/lookup.rs:134:5 [INFO] [stderr] | [INFO] [stderr] 134 | #[label(type=u8, crate=crate)] [INFO] [stderr] | ^----------------------------- [INFO] [stderr] | | [INFO] [stderr] | `Label` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_LABEL_FOR_Label2` [INFO] [stderr] 135 | struct Label2; [INFO] [stderr] | ------ `Label2` is not local [INFO] [stderr] | [INFO] [stderr] = note: the attribute macro `label` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the attribute macro `label` may come from an old version of the `label_attribute` crate, try updating your dependency with `cargo update -p label_attribute` [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 attribute macro `label` (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] --> src/lookup.rs:137:5 [INFO] [stderr] | [INFO] [stderr] 137 | #[label(type=&'static str, crate=crate)] [INFO] [stderr] | ^--------------------------------------- [INFO] [stderr] | | [INFO] [stderr] | `Label` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_LABEL_FOR_Label3` [INFO] [stderr] 138 | struct Label3; [INFO] [stderr] | ------ `Label3` is not local [INFO] [stderr] | [INFO] [stderr] = note: the attribute macro `label` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the attribute macro `label` may come from an old version of the `label_attribute` crate, try updating your dependency with `cargo update -p label_attribute` [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 attribute macro `label` (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] --> src/iter.rs:447:9 [INFO] [stderr] | [INFO] [stderr] 447 | #[label(type=Vec, crate=crate)] [INFO] [stderr] | ^------------------------------------- [INFO] [stderr] | | [INFO] [stderr] | `Label` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_LABEL_FOR_Label1` and up 2 bodies [INFO] [stderr] 448 | struct Label1; [INFO] [stderr] | ------ `Label1` is not local [INFO] [stderr] | [INFO] [stderr] = note: the attribute macro `label` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the attribute macro `label` may come from an old version of the `label_attribute` crate, try updating your dependency with `cargo update -p label_attribute` [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 attribute macro `label` (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] --> src/iter.rs:450:9 [INFO] [stderr] | [INFO] [stderr] 450 | #[label(type=Vec<&'static str>, crate=crate)] [INFO] [stderr] | ^-------------------------------------------- [INFO] [stderr] | | [INFO] [stderr] | `Label` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_LABEL_FOR_Label2` and up 2 bodies [INFO] [stderr] 451 | struct Label2; [INFO] [stderr] | ------ `Label2` is not local [INFO] [stderr] | [INFO] [stderr] = note: the attribute macro `label` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the attribute macro `label` may come from an old version of the `label_attribute` crate, try updating your dependency with `cargo update -p label_attribute` [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 attribute macro `label` (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] --> src/iter.rs:453:9 [INFO] [stderr] | [INFO] [stderr] 453 | #[label(type=Vec, crate=crate)] [INFO] [stderr] | ^----------------------------------- [INFO] [stderr] | | [INFO] [stderr] | `Label` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_LABEL_FOR_Label3` and up 2 bodies [INFO] [stderr] 454 | struct Label3; [INFO] [stderr] | ------ `Label3` is not local [INFO] [stderr] | [INFO] [stderr] = note: the attribute macro `label` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the attribute macro `label` may come from an old version of the `label_attribute` crate, try updating your dependency with `cargo update -p label_attribute` [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 attribute macro `label` (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] --> src/iter.rs:503:9 [INFO] [stderr] | [INFO] [stderr] 503 | #[label(type=usize, crate=crate)] [INFO] [stderr] | ^-------------------------------- [INFO] [stderr] | | [INFO] [stderr] | `Label` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_LABEL_FOR_Label1Result` and up 2 bodies [INFO] [stderr] 504 | struct Label1Result; [INFO] [stderr] | ------------ `Label1Result` is not local [INFO] [stderr] | [INFO] [stderr] = note: the attribute macro `label` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the attribute macro `label` may come from an old version of the `label_attribute` crate, try updating your dependency with `cargo update -p label_attribute` [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 attribute macro `label` (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] --> src/iter.rs:505:9 [INFO] [stderr] | [INFO] [stderr] 505 | #[label(type=usize, crate=crate)] [INFO] [stderr] | ^-------------------------------- [INFO] [stderr] | | [INFO] [stderr] | `Label` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_LABEL_FOR_Label2Result` and up 2 bodies [INFO] [stderr] 506 | struct Label2Result; [INFO] [stderr] | ------------ `Label2Result` is not local [INFO] [stderr] | [INFO] [stderr] = note: the attribute macro `label` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the attribute macro `label` may come from an old version of the `label_attribute` crate, try updating your dependency with `cargo update -p label_attribute` [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 attribute macro `label` (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] --> src/iter.rs:507:9 [INFO] [stderr] | [INFO] [stderr] 507 | #[label(type=usize, crate=crate)] [INFO] [stderr] | ^-------------------------------- [INFO] [stderr] | | [INFO] [stderr] | `Label` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_LABEL_FOR_Label3Result` and up 2 bodies [INFO] [stderr] 508 | struct Label3Result; [INFO] [stderr] | ------------ `Label3Result` is not local [INFO] [stderr] | [INFO] [stderr] = note: the attribute macro `label` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the attribute macro `label` may come from an old version of the `label_attribute` crate, try updating your dependency with `cargo update -p label_attribute` [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 attribute macro `label` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `lhlist` (lib test) generated 18 warnings [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> examples/basic.rs:6:1 [INFO] [stderr] | [INFO] [stderr] 6 | #[label(name="My Label!", type=u16)] [INFO] [stderr] | ^----------------------------------- [INFO] [stderr] | | [INFO] [stderr] | `Label` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_LABEL_FOR_MyLabel` [INFO] [stderr] 7 | struct MyLabel; [INFO] [stderr] | ------- `MyLabel` is not local [INFO] [stderr] | [INFO] [stderr] = note: the attribute macro `label` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the attribute macro `label` may come from an old version of the `label_attribute` crate, try updating your dependency with `cargo update -p label_attribute` [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 attribute macro `label` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `lhlist` (example "basic") generated 1 warning [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/lhlist-63aab85b6b8f70a0) [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test cons::tests::cons_macro ... ok [INFO] [stdout] test label::tests::label_create ... ok [INFO] [stdout] test lookup::tests::lookup ... ok [INFO] [stdout] test label::tests::has_labels ... ok [INFO] [stdout] test iter::tests::map ... ok [INFO] [stdout] test relation::tests::member ... ok [INFO] [stdout] test relation::tests::label_eq ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Doc-tests lhlist [INFO] [stdout] [INFO] [stdout] running 17 tests [INFO] [stdout] test src/cons.rs - cons::Len (line 317) ... ok [INFO] [stdout] test src/cons.rs - cons::cons (line 29) ... ok [INFO] [stdout] test src/iter.rs - iter::ConsIterator (line 19) ... ok [INFO] [stdout] test src/cons.rs - cons::cons (line 353) ... ok [INFO] [stdout] test src/cons.rs - cons::Cons::value_mut (line 225) ... ok [INFO] [stdout] test src/cons.rs - cons::Cons::value (line 188) ... ok [INFO] [stdout] test src/cons.rs - cons::Cons::elem_mut (line 149) ... ok [INFO] [stdout] test src/cons.rs - cons::Cons::elem (line 113) ... ok [INFO] [stdout] test src/label.rs - label::Label (line 13) ... ok [INFO] [stdout] test src/label.rs - label::StrLabels (line 132) ... ok [INFO] [stdout] test src/iter.rs - iter::ValuesIterator (line 117) ... ok [INFO] [stdout] test src/label.rs - label::lhlist (line 285) ... ok [INFO] [stdout] test src/label.rs - label::new_label (line 213) ... ok [INFO] [stdout] test src/iter.rs - iter::MapAdapter (line 242) ... ok [INFO] [stdout] test src/label.rs - label::new_label (line 191) ... ok [INFO] [stdout] test src/lib.rs - (line 31) ... ok [INFO] [stdout] test src/lib.rs - (line 14) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 17 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.24s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "888034cef5b88c6e9ff9e5d79d673a4fde1899ae6eb60aea04987ca4c92a55d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "888034cef5b88c6e9ff9e5d79d673a4fde1899ae6eb60aea04987ca4c92a55d9", kill_on_drop: false }` [INFO] [stdout] 888034cef5b88c6e9ff9e5d79d673a4fde1899ae6eb60aea04987ca4c92a55d9