[INFO] fetching crate superstruct 0.7.0... [INFO] checking superstruct-0.7.0 against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393-1 [INFO] extracting crate superstruct 0.7.0 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate superstruct 0.7.0 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] started tweaking crates.io crate superstruct 0.7.0 [INFO] finished tweaking crates.io crate superstruct 0.7.0 [INFO] tweaked toml for crates.io crate superstruct 0.7.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate crates.io crate superstruct 0.7.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" "+5518eaa946291f00471af8b254b2a1715f234882" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded darling_macro v0.13.0 [INFO] [stderr] Downloaded proc-macro2 v1.0.32 [INFO] [stderr] Downloaded serde_json v1.0.72 [INFO] [stderr] Downloaded darling v0.13.0 [INFO] [stderr] Downloaded syn v1.0.82 [INFO] [stderr] Downloaded darling_core v0.13.0 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a15f11b619b0392fc990950f353a46e0457e75ac9a4f065312a4e7ac9d191da1 [INFO] running `Command { std: "docker" "start" "-a" "a15f11b619b0392fc990950f353a46e0457e75ac9a4f065312a4e7ac9d191da1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a15f11b619b0392fc990950f353a46e0457e75ac9a4f065312a4e7ac9d191da1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a15f11b619b0392fc990950f353a46e0457e75ac9a4f065312a4e7ac9d191da1", kill_on_drop: false }` [INFO] [stdout] a15f11b619b0392fc990950f353a46e0457e75ac9a4f065312a4e7ac9d191da1 [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=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] d004d4eb81d434b6d46a4792dd36904185cb3d8bd2a569a8353fefb57318baff [INFO] running `Command { std: "docker" "start" "-a" "d004d4eb81d434b6d46a4792dd36904185cb3d8bd2a569a8353fefb57318baff", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Checking unicode-xid v0.2.2 [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_json v1.0.72 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking smallvec v1.10.0 [INFO] [stderr] Compiling itertools v0.10.1 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking darling_core v0.13.0 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling darling_macro v0.13.0 [INFO] [stderr] Checking darling v0.13.0 [INFO] [stderr] Checking superstruct v0.7.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking serde v1.0.130 [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 12.18s [INFO] running `Command { std: "docker" "inspect" "d004d4eb81d434b6d46a4792dd36904185cb3d8bd2a569a8353fefb57318baff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d004d4eb81d434b6d46a4792dd36904185cb3d8bd2a569a8353fefb57318baff", kill_on_drop: false }` [INFO] [stdout] d004d4eb81d434b6d46a4792dd36904185cb3d8bd2a569a8353fefb57318baff [INFO] checking superstruct-0.7.0 against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393-1 [INFO] extracting crate superstruct 0.7.0 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate superstruct 0.7.0 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] started tweaking crates.io crate superstruct 0.7.0 [INFO] finished tweaking crates.io crate superstruct 0.7.0 [INFO] tweaked toml for crates.io crate superstruct 0.7.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate crates.io crate superstruct 0.7.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" "+7622c0f807a4e13c4db886a1681bf343795692df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] e0ba80ab03e811a04bf996d416a5a6147968ebf83fb7d162bd379bce6486d8b5 [INFO] running `Command { std: "docker" "start" "-a" "e0ba80ab03e811a04bf996d416a5a6147968ebf83fb7d162bd379bce6486d8b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e0ba80ab03e811a04bf996d416a5a6147968ebf83fb7d162bd379bce6486d8b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0ba80ab03e811a04bf996d416a5a6147968ebf83fb7d162bd379bce6486d8b5", kill_on_drop: false }` [INFO] [stdout] e0ba80ab03e811a04bf996d416a5a6147968ebf83fb7d162bd379bce6486d8b5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] b036cc10bf85b34118acb34fe420e669b6e1e1827690dc25f3270b1e84d032ec [INFO] running `Command { std: "docker" "start" "-a" "b036cc10bf85b34118acb34fe420e669b6e1e1827690dc25f3270b1e84d032ec", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Checking unicode-xid v0.2.2 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling serde_json v1.0.72 [INFO] [stderr] Checking smallvec v1.10.0 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling itertools v0.10.1 [INFO] [stderr] Checking quote v1.0.10 [INFO] [stderr] Checking darling_core v0.13.0 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling darling_macro v0.13.0 [INFO] [stderr] Checking darling v0.13.0 [INFO] [stderr] Compiling superstruct v0.7.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking serde v1.0.130 [INFO] [stdout] error: non-local `macro_rules!` definition, they should be avoided as they go against expectation [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: reove 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: 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 attribute macro `superstruct` (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/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: reove 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: 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 attribute macro `superstruct` (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/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: reove 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: 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 attribute macro `superstruct` (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/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: reove 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: 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 attribute macro `superstruct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `superstruct` (test "map_macro") due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: non-local `macro_rules!` definition, they should be avoided as they go against expectation [INFO] [stdout] --> tests/ref.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | #[superstruct(variants(A, B))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: reove 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: 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 attribute macro `superstruct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `superstruct` (test "ref") due to 2 previous errors [INFO] [stdout] error: non-local `macro_rules!` definition, they should be avoided as they go against expectation [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: reove 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: 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 attribute macro `superstruct` (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/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: reove 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: 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 attribute macro `superstruct` (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 `superstruct` (test "basic") due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "b036cc10bf85b34118acb34fe420e669b6e1e1827690dc25f3270b1e84d032ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b036cc10bf85b34118acb34fe420e669b6e1e1827690dc25f3270b1e84d032ec", kill_on_drop: false }` [INFO] [stdout] b036cc10bf85b34118acb34fe420e669b6e1e1827690dc25f3270b1e84d032ec