[INFO] fetching crate lhlist 0.1.1... [INFO] testing lhlist-0.1.1 against 1.90.0 for beta-1.91-3 [INFO] extracting crate lhlist 0.1.1 into /workspace/builds/worker-0-tc1/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-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate lhlist 0.1.1 on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "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" "+1.90.0" "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" "+1.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded label_attribute v0.1.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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 40421118b6adbb2192eb660072ee993a8053ce0ab49e32dce4a735107b4fdfaf [INFO] running `Command { std: "docker" "start" "-a" "40421118b6adbb2192eb660072ee993a8053ce0ab49e32dce4a735107b4fdfaf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "40421118b6adbb2192eb660072ee993a8053ce0ab49e32dce4a735107b4fdfaf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40421118b6adbb2192eb660072ee993a8053ce0ab49e32dce4a735107b4fdfaf", kill_on_drop: false }` [INFO] [stdout] 40421118b6adbb2192eb660072ee993a8053ce0ab49e32dce4a735107b4fdfaf [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1e36d998489feae827a2d7f552253ef806fb7b5be44826bfd2e191e20a145cc8 [INFO] running `Command { std: "docker" "start" "-a" "1e36d998489feae827a2d7f552253ef806fb7b5be44826bfd2e191e20a145cc8", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling quote v0.6.13 [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 4.79s [INFO] running `Command { std: "docker" "inspect" "1e36d998489feae827a2d7f552253ef806fb7b5be44826bfd2e191e20a145cc8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e36d998489feae827a2d7f552253ef806fb7b5be44826bfd2e191e20a145cc8", kill_on_drop: false }` [INFO] [stdout] 1e36d998489feae827a2d7f552253ef806fb7b5be44826bfd2e191e20a145cc8 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b42c860b838a0707e10ea44a36ae93a8e95f643f0fd240f9228bfdf6c956d32f [INFO] running `Command { std: "docker" "start" "-a" "b42c860b838a0707e10ea44a36ae93a8e95f643f0fd240f9228bfdf6c956d32f", 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.78s [INFO] running `Command { std: "docker" "inspect" "b42c860b838a0707e10ea44a36ae93a8e95f643f0fd240f9228bfdf6c956d32f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b42c860b838a0707e10ea44a36ae93a8e95f643f0fd240f9228bfdf6c956d32f", kill_on_drop: false }` [INFO] [stdout] b42c860b838a0707e10ea44a36ae93a8e95f643f0fd240f9228bfdf6c956d32f [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.90.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 91424729e58848fb651a3756e1da21e9adb77ea963ba2b0cccf87f518aed2a5b [INFO] running `Command { std: "docker" "start" "-a" "91424729e58848fb651a3756e1da21e9adb77ea963ba2b0cccf87f518aed2a5b", 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.27s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/lhlist-bac55832a7da6cdf) [INFO] [stdout] [INFO] [stderr] Doc-tests lhlist [INFO] [stdout] running 7 tests [INFO] [stdout] test cons::tests::cons_macro ... ok [INFO] [stdout] test iter::tests::map ... ok [INFO] [stdout] test lookup::tests::lookup ... ok [INFO] [stdout] test relation::tests::label_eq ... ok [INFO] [stdout] test label::tests::has_labels ... ok [INFO] [stdout] test relation::tests::member ... ok [INFO] [stdout] test label::tests::label_create ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 17 tests [INFO] [stdout] test src/label.rs - label::Label (line 13) ... ok [INFO] [stdout] test src/cons.rs - cons::Cons::value (line 188) ... ok [INFO] [stdout] test src/cons.rs - cons::cons (line 29) ... ok [INFO] [stdout] test src/cons.rs - cons::Cons::elem_mut (line 149) ... ok [INFO] [stdout] test src/cons.rs - cons::Cons::value_mut (line 225) ... ok [INFO] [stdout] test src/iter.rs - iter::MapAdapter (line 242) ... ok [INFO] [stdout] test src/cons.rs - cons::Cons::elem (line 113) ... ok [INFO] [stdout] test src/cons.rs - cons::Len (line 317) ... ok [INFO] [stdout] test src/iter.rs - iter::ValuesIterator (line 117) ... ok [INFO] [stdout] test src/iter.rs - iter::ConsIterator (line 19) ... ok [INFO] [stdout] test src/label.rs - label::StrLabels (line 132) ... ok [INFO] [stdout] test src/label.rs - label::new_label (line 191) ... ok [INFO] [stdout] test src/lib.rs - (line 14) ... ok [INFO] [stdout] test src/cons.rs - cons::cons (line 353) ... ok [INFO] [stdout] test src/lib.rs - (line 31) ... ok [INFO] [stdout] test src/label.rs - label::new_label (line 213) ... ok [INFO] [stdout] test src/label.rs - label::lhlist (line 285) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 17 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.15s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "91424729e58848fb651a3756e1da21e9adb77ea963ba2b0cccf87f518aed2a5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91424729e58848fb651a3756e1da21e9adb77ea963ba2b0cccf87f518aed2a5b", kill_on_drop: false }` [INFO] [stdout] 91424729e58848fb651a3756e1da21e9adb77ea963ba2b0cccf87f518aed2a5b