[INFO] fetching crate prefixopt_derive 0.4.0... [INFO] building prefixopt_derive-0.4.0 against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] extracting crate prefixopt_derive 0.4.0 into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate prefixopt_derive 0.4.0 on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate prefixopt_derive 0.4.0 [INFO] finished tweaking crates.io crate prefixopt_derive 0.4.0 [INFO] tweaked toml for crates.io crate prefixopt_derive 0.4.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 20 packages to latest compatible versions [INFO] [stderr] Adding clap v2.34.0 (available: v4.5.23) [INFO] [stderr] Adding quote v0.3.15 (available: v1.0.38) [INFO] [stderr] Adding syn v0.11.11 (available: v2.0.93) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded map_in_place v0.1.0 [INFO] [stderr] Downloaded prefixopt v0.4.0 [INFO] [stderr] Downloaded scopeguard v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d6d34cc2f9529f16ce77b1bb81b0d36dcc4ac96dfb96a4c6bc3717b24bbcc7a8 [INFO] running `Command { std: "docker" "start" "-a" "d6d34cc2f9529f16ce77b1bb81b0d36dcc4ac96dfb96a4c6bc3717b24bbcc7a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d6d34cc2f9529f16ce77b1bb81b0d36dcc4ac96dfb96a4c6bc3717b24bbcc7a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6d34cc2f9529f16ce77b1bb81b0d36dcc4ac96dfb96a4c6bc3717b24bbcc7a8", kill_on_drop: false }` [INFO] [stdout] d6d34cc2f9529f16ce77b1bb81b0d36dcc4ac96dfb96a4c6bc3717b24bbcc7a8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bf5ea4e0cbff47ae1a4b18e4841242cc27c7bc34905673a9c029b710748b5533 [INFO] running `Command { std: "docker" "start" "-a" "bf5ea4e0cbff47ae1a4b18e4841242cc27c7bc34905673a9c029b710748b5533", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling scopeguard v0.2.0 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling map_in_place v0.1.0 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling prefixopt v0.4.0 [INFO] [stderr] Compiling prefixopt_derive v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/enum_data.rs:51:38 [INFO] [stdout] | [INFO] [stdout] 51 | .map(|id| id as &::std::fmt::Display) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 51 | .map(|id| id as &dyn (::std::fmt::Display)) [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> bin/example.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, PrefixOpt)] [INFO] [stdout] | -^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `A` is not local [INFO] [stdout] | `PrefixOpt` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_PREFIXOPT_FOR_A` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `PrefixOpt` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `PrefixOpt` may come from an old version of the `prefixopt_derive` crate, try updating your dependency with `cargo update -p prefixopt_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `PrefixOpt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.62s [INFO] running `Command { std: "docker" "inspect" "bf5ea4e0cbff47ae1a4b18e4841242cc27c7bc34905673a9c029b710748b5533", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf5ea4e0cbff47ae1a4b18e4841242cc27c7bc34905673a9c029b710748b5533", kill_on_drop: false }` [INFO] [stdout] bf5ea4e0cbff47ae1a4b18e4841242cc27c7bc34905673a9c029b710748b5533 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 161e0a4930ded01465b783cf7101f4250655025762866e4bbbcb07b88fe971f4 [INFO] running `Command { std: "docker" "start" "-a" "161e0a4930ded01465b783cf7101f4250655025762866e4bbbcb07b88fe971f4", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling prefixopt_derive v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/enum_data.rs:51:38 [INFO] [stdout] | [INFO] [stdout] 51 | .map(|id| id as &::std::fmt::Display) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 51 | .map(|id| id as &dyn (::std::fmt::Display)) [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/enum_data.rs:51:38 [INFO] [stdout] | [INFO] [stdout] 51 | .map(|id| id as &::std::fmt::Display) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 51 | .map(|id| id as &dyn (::std::fmt::Display)) [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> bin/example.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, PrefixOpt)] [INFO] [stdout] | -^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `A` is not local [INFO] [stdout] | `PrefixOpt` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_PREFIXOPT_FOR_A` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `PrefixOpt` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `PrefixOpt` may come from an old version of the `prefixopt_derive` crate, try updating your dependency with `cargo update -p prefixopt_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `PrefixOpt` (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] --> bin/example.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, PrefixOpt)] [INFO] [stdout] | -^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `A` is not local [INFO] [stdout] | `PrefixOpt` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_PREFIXOPT_FOR_A` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `PrefixOpt` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `PrefixOpt` may come from an old version of the `prefixopt_derive` crate, try updating your dependency with `cargo update -p prefixopt_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `PrefixOpt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/enums.rs:20:14 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(PrefixOpt, Debug, PartialEq, Eq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `A` is not local [INFO] [stdout] | `PrefixOpt` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_PREFIXOPT_FOR_A` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `PrefixOpt` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `PrefixOpt` may come from an old version of the `prefixopt_derive` crate, try updating your dependency with `cargo update -p prefixopt_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `PrefixOpt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/enums.rs:61:14 [INFO] [stdout] | [INFO] [stdout] 61 | #[derive(PrefixOpt, Debug, PartialEq, Eq)] [INFO] [stdout] | -^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Either` is not local [INFO] [stdout] | `PrefixOpt` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_PREFIXOPT_FOR_Either` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `PrefixOpt` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `PrefixOpt` may come from an old version of the `prefixopt_derive` crate, try updating your dependency with `cargo update -p prefixopt_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `PrefixOpt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/structs.rs:23:14 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(PrefixOpt, Debug, PartialEq, Eq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `A` is not local [INFO] [stdout] | `PrefixOpt` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_PREFIXOPT_FOR_A` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `PrefixOpt` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `PrefixOpt` may come from an old version of the `prefixopt_derive` crate, try updating your dependency with `cargo update -p prefixopt_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `PrefixOpt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/structs.rs:36:14 [INFO] [stdout] | [INFO] [stdout] 36 | #[derive(PrefixOpt, Debug, PartialEq, Eq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `A` is not local [INFO] [stdout] | `PrefixOpt` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_PREFIXOPT_FOR_A` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `PrefixOpt` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `PrefixOpt` may come from an old version of the `prefixopt_derive` crate, try updating your dependency with `cargo update -p prefixopt_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `PrefixOpt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/structs.rs:38:14 [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(PrefixOpt, Debug, PartialEq, Eq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `B` is not local [INFO] [stdout] | `PrefixOpt` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_PREFIXOPT_FOR_B` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `PrefixOpt` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `PrefixOpt` may come from an old version of the `prefixopt_derive` crate, try updating your dependency with `cargo update -p prefixopt_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `PrefixOpt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/structs.rs:49:14 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(PrefixOpt, Debug, PartialEq, Eq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `A` is not local [INFO] [stdout] | `PrefixOpt` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_PREFIXOPT_FOR_A` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `PrefixOpt` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `PrefixOpt` may come from an old version of the `prefixopt_derive` crate, try updating your dependency with `cargo update -p prefixopt_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `PrefixOpt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/structs.rs:58:14 [INFO] [stdout] | [INFO] [stdout] 58 | #[derive(PrefixOpt, Default, Debug, PartialEq, Eq)] [INFO] [stdout] | -^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `A` is not local [INFO] [stdout] | `PrefixOpt` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_PREFIXOPT_FOR_A` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `PrefixOpt` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `PrefixOpt` may come from an old version of the `prefixopt_derive` crate, try updating your dependency with `cargo update -p prefixopt_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `PrefixOpt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/structs.rs:69:14 [INFO] [stdout] | [INFO] [stdout] 69 | #[derive(PrefixOpt, Debug, PartialEq, Eq)] [INFO] [stdout] | -^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `A` is not local [INFO] [stdout] | `PrefixOpt` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_PREFIXOPT_FOR_A` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `PrefixOpt` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `PrefixOpt` may come from an old version of the `prefixopt_derive` crate, try updating your dependency with `cargo update -p prefixopt_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `PrefixOpt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/structs.rs:71:14 [INFO] [stdout] | [INFO] [stdout] 71 | #[derive(PrefixOpt, Debug, PartialEq, Eq)] [INFO] [stdout] | -^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `B` is not local [INFO] [stdout] | `PrefixOpt` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_PREFIXOPT_FOR_B` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `PrefixOpt` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `PrefixOpt` may come from an old version of the `prefixopt_derive` crate, try updating your dependency with `cargo update -p prefixopt_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `PrefixOpt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.05s [INFO] running `Command { std: "docker" "inspect" "161e0a4930ded01465b783cf7101f4250655025762866e4bbbcb07b88fe971f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "161e0a4930ded01465b783cf7101f4250655025762866e4bbbcb07b88fe971f4", kill_on_drop: false }` [INFO] [stdout] 161e0a4930ded01465b783cf7101f4250655025762866e4bbbcb07b88fe971f4