[INFO] fetching crate superstruct 0.8.0... [INFO] checking superstruct-0.8.0 against master#ecb170afc878648c3ae355dbd596c8e4b6f7ebdc for pr-139022 [INFO] extracting crate superstruct 0.8.0 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate superstruct 0.8.0 on toolchain ecb170afc878648c3ae355dbd596c8e4b6f7ebdc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ecb170afc878648c3ae355dbd596c8e4b6f7ebdc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate superstruct 0.8.0 [INFO] finished tweaking crates.io crate superstruct 0.8.0 [INFO] tweaked toml for crates.io crate superstruct 0.8.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate crates.io crate superstruct 0.8.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ecb170afc878648c3ae355dbd596c8e4b6f7ebdc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+ecb170afc878648c3ae355dbd596c8e4b6f7ebdc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 191dd3e65f93be283d77b362e33d5fa6c04d29c71d4640920f84eca65c5252e2 [INFO] running `Command { std: "docker" "start" "-a" "191dd3e65f93be283d77b362e33d5fa6c04d29c71d4640920f84eca65c5252e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "191dd3e65f93be283d77b362e33d5fa6c04d29c71d4640920f84eca65c5252e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "191dd3e65f93be283d77b362e33d5fa6c04d29c71d4640920f84eca65c5252e2", kill_on_drop: false }` [INFO] [stdout] 191dd3e65f93be283d77b362e33d5fa6c04d29c71d4640920f84eca65c5252e2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+ecb170afc878648c3ae355dbd596c8e4b6f7ebdc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bcddc680e910184d40c1bd09b56ca5ee4bc05d443eff6f237e6b1171ee381e0d [INFO] running `Command { std: "docker" "start" "-a" "bcddc680e910184d40c1bd09b56ca5ee4bc05d443eff6f237e6b1171ee381e0d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking smallvec v1.11.2 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Checking darling_core v0.13.4 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Checking darling v0.13.4 [INFO] [stderr] Compiling superstruct v0.8.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/ref_mut.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | #[superstruct(variants(A, B))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `partial_getter` [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: the attribute macro `superstruct` may come from an old version of the `superstruct` crate, try updating your dependency with `cargo update -p superstruct` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `superstruct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/map_macro.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | #[superstruct(variants(Base, Ext), variant_attributes(derive(Debug, PartialEq)))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `map_macro_basic` [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: the attribute macro `superstruct` may come from an old version of the `superstruct` crate, try updating your dependency with `cargo update -p superstruct` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `superstruct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/map_macro.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | #[superstruct(variants(Base, Ext), variant_attributes(derive(Debug, PartialEq)))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `map_macro_generic` [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: the attribute macro `superstruct` may come from an old version of the `superstruct` crate, try updating your dependency with `cargo update -p superstruct` [INFO] [stdout] = note: this warning originates in the attribute macro `superstruct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/map_macro.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | / #[superstruct( [INFO] [stdout] 83 | | variants(A, B), [INFO] [stdout] 84 | | variant_attributes(derive(Debug, PartialEq, Clone)), [INFO] [stdout] 85 | | map_into(Thing2), [INFO] [stdout] 86 | | map_ref_into(Thing2Ref), [INFO] [stdout] 87 | | map_ref_mut_into(Thing2RefMut) [INFO] [stdout] 88 | | )] [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `map_into` [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: the attribute macro `superstruct` may come from an old version of the `superstruct` crate, try updating your dependency with `cargo update -p superstruct` [INFO] [stdout] = note: this warning originates in the attribute macro `superstruct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/map_macro.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | #[superstruct(variants(A, B), variant_attributes(derive(Debug, PartialEq, Clone)))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `map_into` [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: the attribute macro `superstruct` may come from an old version of the `superstruct` crate, try updating your dependency with `cargo update -p superstruct` [INFO] [stdout] = note: this warning originates in the attribute macro `superstruct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/ref.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | #[superstruct(variants(A, B))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `getter_and_partial_getter_lifetimes` [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: the attribute macro `superstruct` may come from an old version of the `superstruct` crate, try updating your dependency with `cargo update -p superstruct` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `superstruct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/basic.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | / #[superstruct( [INFO] [stdout] 7 | | variants(Base, Ext), [INFO] [stdout] 8 | | variant_attributes(derive(Debug, PartialEq, Clone)), [INFO] [stdout] 9 | | cast_error(ty = "BlockError", expr = "BlockError::WrongVariant"), [INFO] [stdout] 10 | | partial_getter_error(ty = "BlockError", expr = "BlockError::WrongVariant") [INFO] [stdout] 11 | | )] [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `basic` [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: the attribute macro `superstruct` may come from an old version of the `superstruct` crate, try updating your dependency with `cargo update -p superstruct` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `superstruct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/basic.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | / #[superstruct( [INFO] [stdout] 73 | | variants(B, A), [INFO] [stdout] 74 | | variant_attributes(derive(Debug, Deserialize, PartialEq)) [INFO] [stdout] 75 | | )] [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `serde_deserialise_order` [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: the attribute macro `superstruct` may come from an old version of the `superstruct` crate, try updating your dependency with `cargo update -p superstruct` [INFO] [stdout] = note: this warning originates in the attribute macro `superstruct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/flatten.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | #[superstruct(variants(A, B), variant_attributes(derive(Debug, PartialEq, Eq)))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `flatten` [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: the attribute macro `superstruct` may come from an old version of the `superstruct` crate, try updating your dependency with `cargo update -p superstruct` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `superstruct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/flatten.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | #[superstruct(variants(A, B), variant_attributes(derive(Debug, PartialEq, Eq)))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `flatten` [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: the attribute macro `superstruct` may come from an old version of the `superstruct` crate, try updating your dependency with `cargo update -p superstruct` [INFO] [stdout] = note: this warning originates in the attribute macro `superstruct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/flatten.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | #[superstruct(variants(A, B), variant_attributes(derive(Debug, PartialEq, Eq)))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `flatten_subset` [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: the attribute macro `superstruct` may come from an old version of the `superstruct` crate, try updating your dependency with `cargo update -p superstruct` [INFO] [stdout] = note: this warning originates in the attribute macro `superstruct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/flatten.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | #[superstruct(variants(A, B, C), variant_attributes(derive(Debug, PartialEq, Eq)))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `flatten_subset` [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: the attribute macro `superstruct` may come from an old version of the `superstruct` crate, try updating your dependency with `cargo update -p superstruct` [INFO] [stdout] = note: this warning originates in the attribute macro `superstruct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/flatten.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | #[superstruct(variants(A, B), variant_attributes(derive(Debug, PartialEq, Eq)))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `flatten_not_first_field` [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: the attribute macro `superstruct` may come from an old version of the `superstruct` crate, try updating your dependency with `cargo update -p superstruct` [INFO] [stdout] = note: this warning originates in the attribute macro `superstruct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/meta_variant.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 140 | / #[superstruct( [INFO] [stdout] 141 | | meta_variants(Juicy, Sour), [INFO] [stdout] 142 | | variants(Apple, Orange), [INFO] [stdout] 143 | | variant_attributes(derive(Debug, PartialEq)) [INFO] [stdout] 144 | | )] [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `meta_variants_map_macro` [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: the attribute macro `superstruct` may come from an old version of the `superstruct` crate, try updating your dependency with `cargo update -p superstruct` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `superstruct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/meta_variant.rs:184:5 [INFO] [stdout] | [INFO] [stdout] 184 | / #[superstruct( [INFO] [stdout] 185 | | meta_variants(One, Two), [INFO] [stdout] 186 | | variants(IsCopy, IsNotCopy), [INFO] [stdout] 187 | | variant_attributes(derive(Debug, PartialEq, Clone)), [INFO] [stdout] 188 | | specific_variant_attributes(IsCopy(derive(Copy))) [INFO] [stdout] 189 | | )] [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `meta_variants_exist_specific_attributes` [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: the attribute macro `superstruct` may come from an old version of the `superstruct` crate, try updating your dependency with `cargo update -p superstruct` [INFO] [stdout] = note: this warning originates in the attribute macro `superstruct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/meta_variant.rs:209:5 [INFO] [stdout] | [INFO] [stdout] 209 | / #[superstruct( [INFO] [stdout] 210 | | meta_variants(IsCopy, IsNotCopy), [INFO] [stdout] 211 | | variants(One, Two), [INFO] [stdout] 212 | | variant_attributes(derive(Debug, PartialEq, Clone)), [INFO] [stdout] 213 | | specific_variant_attributes(IsCopy(derive(Copy))) [INFO] [stdout] 214 | | )] [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `meta_variants_have_specific_attributes` [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: the attribute macro `superstruct` may come from an old version of the `superstruct` crate, try updating your dependency with `cargo update -p superstruct` [INFO] [stdout] = note: this warning originates in the attribute macro `superstruct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/meta_variant.rs:234:5 [INFO] [stdout] | [INFO] [stdout] 234 | / #[superstruct( [INFO] [stdout] 235 | | variants(Merge, Capella), [INFO] [stdout] 236 | | variant_attributes(derive(Debug, PartialEq, Clone)) [INFO] [stdout] 237 | | )] [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `meta_only_flatten` [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: the attribute macro `superstruct` may come from an old version of the `superstruct` crate, try updating your dependency with `cargo update -p superstruct` [INFO] [stdout] = note: this warning originates in the attribute macro `superstruct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/meta_variant.rs:243:5 [INFO] [stdout] | [INFO] [stdout] 243 | / #[superstruct( [INFO] [stdout] 244 | | variants(Merge, Capella), [INFO] [stdout] 245 | | variant_attributes(derive(Debug, PartialEq, Clone)) [INFO] [stdout] 246 | | )] [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `meta_only_flatten` [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: the attribute macro `superstruct` may come from an old version of the `superstruct` crate, try updating your dependency with `cargo update -p superstruct` [INFO] [stdout] = note: this warning originates in the attribute macro `superstruct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/meta_variant.rs:252:5 [INFO] [stdout] | [INFO] [stdout] 252 | / #[superstruct( [INFO] [stdout] 253 | | meta_variants(Blinded, Full), [INFO] [stdout] 254 | | variants(Base, Merge, Capella), [INFO] [stdout] 255 | | variant_attributes(derive(Debug, PartialEq, Clone)) [INFO] [stdout] 256 | | )] [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `meta_only_flatten` [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: the attribute macro `superstruct` may come from an old version of the `superstruct` crate, try updating your dependency with `cargo update -p superstruct` [INFO] [stdout] = note: this warning originates in the attribute macro `superstruct` (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 22.31s [INFO] running `Command { std: "docker" "inspect" "bcddc680e910184d40c1bd09b56ca5ee4bc05d443eff6f237e6b1171ee381e0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bcddc680e910184d40c1bd09b56ca5ee4bc05d443eff6f237e6b1171ee381e0d", kill_on_drop: false }` [INFO] [stdout] bcddc680e910184d40c1bd09b56ca5ee4bc05d443eff6f237e6b1171ee381e0d