[INFO] fetching crate constructor-macro 0.4.2... [INFO] checking constructor-macro-0.4.2 against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393-1 [INFO] extracting crate constructor-macro 0.4.2 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate constructor-macro 0.4.2 on toolchain 5518eaa946291f00471af8b254b2a1715f234882 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-6-tc1/source/rust-toolchain [INFO] started tweaking crates.io crate constructor-macro 0.4.2 [INFO] finished tweaking crates.io crate constructor-macro 0.4.2 [INFO] tweaked toml for crates.io crate constructor-macro 0.4.2 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded quote v0.6.13 [INFO] [stderr] Downloaded unicode-xid v0.1.0 [INFO] [stderr] Downloaded proc-macro2 v0.4.30 [INFO] [stderr] Downloaded syn v0.15.44 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a23e073aabddc0ccb59e729a0d621ff4adf15f093b12981cafb07ddfc32b7ce8 [INFO] running `Command { std: "docker" "start" "-a" "a23e073aabddc0ccb59e729a0d621ff4adf15f093b12981cafb07ddfc32b7ce8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a23e073aabddc0ccb59e729a0d621ff4adf15f093b12981cafb07ddfc32b7ce8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a23e073aabddc0ccb59e729a0d621ff4adf15f093b12981cafb07ddfc32b7ce8", kill_on_drop: false }` [INFO] [stdout] a23e073aabddc0ccb59e729a0d621ff4adf15f093b12981cafb07ddfc32b7ce8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8a5612fa94a45eb581add5892308852f90bb7e4d03d9dd9a05f839b16355975a [INFO] running `Command { std: "docker" "start" "-a" "8a5612fa94a45eb581add5892308852f90bb7e4d03d9dd9a05f839b16355975a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking unicode-xid v0.1.0 [INFO] [stderr] Checking quote v0.6.13 [INFO] [stderr] Checking constructor-macro v0.4.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> tests/default_value.rs:68:34 [INFO] [stdout] | [INFO] [stdout] 68 | struct Value { value: usize }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Right` is never constructed [INFO] [stdout] --> tests/default_value.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 84 | enum Either { [INFO] [stdout] | ------ variant in this enum [INFO] [stdout] 85 | Left, [INFO] [stdout] 86 | Right, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Either` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Right` is never constructed [INFO] [stdout] --> tests/default_value.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 102 | enum Either { [INFO] [stdout] | ------ variant in this enum [INFO] [stdout] 103 | Left(usize), [INFO] [stdout] 104 | Right(usize), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Either` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Right` is never constructed [INFO] [stdout] --> tests/default_value.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 120 | enum Either { [INFO] [stdout] | ------ variant in this enum [INFO] [stdout] 121 | Left { value: usize }, [INFO] [stdout] 122 | Right { value: usize }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Either` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.39s [INFO] running `Command { std: "docker" "inspect" "8a5612fa94a45eb581add5892308852f90bb7e4d03d9dd9a05f839b16355975a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a5612fa94a45eb581add5892308852f90bb7e4d03d9dd9a05f839b16355975a", kill_on_drop: false }` [INFO] [stdout] 8a5612fa94a45eb581add5892308852f90bb7e4d03d9dd9a05f839b16355975a [INFO] checking constructor-macro-0.4.2 against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393-1 [INFO] extracting crate constructor-macro 0.4.2 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate constructor-macro 0.4.2 on toolchain 7622c0f807a4e13c4db886a1681bf343795692df [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-6-tc2/source/rust-toolchain [INFO] started tweaking crates.io crate constructor-macro 0.4.2 [INFO] finished tweaking crates.io crate constructor-macro 0.4.2 [INFO] tweaked toml for crates.io crate constructor-macro 0.4.2 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 04a699428abb3cfbef9b5cfded482ecc39e2b86ff4f5cc801e34bbc79d6b0db5 [INFO] running `Command { std: "docker" "start" "-a" "04a699428abb3cfbef9b5cfded482ecc39e2b86ff4f5cc801e34bbc79d6b0db5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "04a699428abb3cfbef9b5cfded482ecc39e2b86ff4f5cc801e34bbc79d6b0db5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04a699428abb3cfbef9b5cfded482ecc39e2b86ff4f5cc801e34bbc79d6b0db5", kill_on_drop: false }` [INFO] [stdout] 04a699428abb3cfbef9b5cfded482ecc39e2b86ff4f5cc801e34bbc79d6b0db5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Dnon_local_definitions" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5ce4f7acfc3a4c91593264c44016760f6e284a29dda36baa23feb4ba33a771f8 [INFO] running `Command { std: "docker" "start" "-a" "5ce4f7acfc3a4c91593264c44016760f6e284a29dda36baa23feb4ba33a771f8", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking unicode-xid v0.1.0 [INFO] [stderr] Checking quote v0.6.13 [INFO] [stderr] Checking constructor-macro v0.4.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> tests/default_value.rs:68:34 [INFO] [stdout] | [INFO] [stdout] 68 | struct Value { value: usize }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `macro_rules!` definition, they should be avoided as they go against expectation [INFO] [stdout] --> tests/construct.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(ConstructorMacro)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: reove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `unit_struct` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: requested on the command line with `-D non-local-definitions` [INFO] [stdout] = note: this error originates in the derive macro `ConstructorMacro` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `macro_rules!` definition, they should be avoided as they go against expectation [INFO] [stdout] --> tests/construct.rs:13:32 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug, PartialEq, ConstructorMacro)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: reove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `struct_with_named_fields` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `ConstructorMacro` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `constructor-macro` (test "construct") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variant `Right` is never constructed [INFO] [stdout] --> tests/default_value.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 84 | enum Either { [INFO] [stdout] | ------ variant in this enum [INFO] [stdout] 85 | Left, [INFO] [stdout] 86 | Right, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Either` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Right` is never constructed [INFO] [stdout] --> tests/default_value.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 102 | enum Either { [INFO] [stdout] | ------ variant in this enum [INFO] [stdout] 103 | Left(usize), [INFO] [stdout] 104 | Right(usize), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Either` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Right` is never constructed [INFO] [stdout] --> tests/default_value.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 120 | enum Either { [INFO] [stdout] | ------ variant in this enum [INFO] [stdout] 121 | Left { value: usize }, [INFO] [stdout] 122 | Right { value: usize }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Either` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `macro_rules!` definition, they should be avoided as they go against expectation [INFO] [stdout] --> tests/default_value.rs:5:32 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, PartialEq, ConstructorMacro)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: reove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `values` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: requested on the command line with `-D non-local-definitions` [INFO] [stdout] = note: this error originates in the derive macro `ConstructorMacro` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `macro_rules!` definition, they should be avoided as they go against expectation [INFO] [stdout] --> tests/default_value.rs:19:32 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Debug, PartialEq, ConstructorMacro)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: reove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `integers` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `ConstructorMacro` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `macro_rules!` definition, they should be avoided as they go against expectation [INFO] [stdout] --> tests/default_value.rs:38:32 [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(Debug, PartialEq, ConstructorMacro)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: reove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `unit_struct` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `ConstructorMacro` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `macro_rules!` definition, they should be avoided as they go against expectation [INFO] [stdout] --> tests/default_value.rs:54:32 [INFO] [stdout] | [INFO] [stdout] 54 | #[derive(Debug, PartialEq, ConstructorMacro)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: reove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `tuple_struct` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `ConstructorMacro` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `macro_rules!` definition, they should be avoided as they go against expectation [INFO] [stdout] --> tests/default_value.rs:70:32 [INFO] [stdout] | [INFO] [stdout] 70 | #[derive(Debug, PartialEq, ConstructorMacro)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: reove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `r#struct` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `ConstructorMacro` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `macro_rules!` definition, they should be avoided as they go against expectation [INFO] [stdout] --> tests/default_value.rs:88:32 [INFO] [stdout] | [INFO] [stdout] 88 | #[derive(Debug, PartialEq, ConstructorMacro)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: reove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `c_enum` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `ConstructorMacro` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `macro_rules!` definition, they should be avoided as they go against expectation [INFO] [stdout] --> tests/default_value.rs:106:32 [INFO] [stdout] | [INFO] [stdout] 106 | #[derive(Debug, PartialEq, ConstructorMacro)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: reove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `enum_tuple_variant` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `ConstructorMacro` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `macro_rules!` definition, they should be avoided as they go against expectation [INFO] [stdout] --> tests/default_value.rs:124:32 [INFO] [stdout] | [INFO] [stdout] 124 | #[derive(Debug, PartialEq, ConstructorMacro)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: reove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `enum_struct_variant` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `ConstructorMacro` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `constructor-macro` (test "default_value") due to 9 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5ce4f7acfc3a4c91593264c44016760f6e284a29dda36baa23feb4ba33a771f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ce4f7acfc3a4c91593264c44016760f6e284a29dda36baa23feb4ba33a771f8", kill_on_drop: false }` [INFO] [stdout] 5ce4f7acfc3a4c91593264c44016760f6e284a29dda36baa23feb4ba33a771f8