[INFO] fetching crate opt_args 1.0.0... [INFO] checking opt_args-1.0.0 against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393 [INFO] extracting crate opt_args 1.0.0 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate opt_args 1.0.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 opt_args 1.0.0 [INFO] finished tweaking crates.io crate opt_args 1.0.0 [INFO] tweaked toml for crates.io crate opt_args 1.0.0 written to /workspace/builds/worker-7-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] 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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a58084ca4ac741501c4f9578183218d45338896aee4a072e4d91bbfef3a554e8 [INFO] running `Command { std: "docker" "start" "-a" "a58084ca4ac741501c4f9578183218d45338896aee4a072e4d91bbfef3a554e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a58084ca4ac741501c4f9578183218d45338896aee4a072e4d91bbfef3a554e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a58084ca4ac741501c4f9578183218d45338896aee4a072e4d91bbfef3a554e8", kill_on_drop: false }` [INFO] [stdout] a58084ca4ac741501c4f9578183218d45338896aee4a072e4d91bbfef3a554e8 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 921da554bb741ba0f5db759c150397ce263c3941875552f38f83ea03a900ef20 [INFO] running `Command { std: "docker" "start" "-a" "921da554bb741ba0f5db759c150397ce263c3941875552f38f83ea03a900ef20", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking opt_args v1.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.82s [INFO] running `Command { std: "docker" "inspect" "921da554bb741ba0f5db759c150397ce263c3941875552f38f83ea03a900ef20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "921da554bb741ba0f5db759c150397ce263c3941875552f38f83ea03a900ef20", kill_on_drop: false }` [INFO] [stdout] 921da554bb741ba0f5db759c150397ce263c3941875552f38f83ea03a900ef20 [INFO] checking opt_args-1.0.0 against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393 [INFO] extracting crate opt_args 1.0.0 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate opt_args 1.0.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 opt_args 1.0.0 [INFO] finished tweaking crates.io crate opt_args 1.0.0 [INFO] tweaked toml for crates.io crate opt_args 1.0.0 written to /workspace/builds/worker-7-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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] f015c392374b170020e6ff1e32a1e05ae42b92f1884316facaba2be691498d79 [INFO] running `Command { std: "docker" "start" "-a" "f015c392374b170020e6ff1e32a1e05ae42b92f1884316facaba2be691498d79", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f015c392374b170020e6ff1e32a1e05ae42b92f1884316facaba2be691498d79", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f015c392374b170020e6ff1e32a1e05ae42b92f1884316facaba2be691498d79", kill_on_drop: false }` [INFO] [stdout] f015c392374b170020e6ff1e32a1e05ae42b92f1884316facaba2be691498d79 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] c8c93097d4d0be7bb497bccb77766cde9180c78a4f4c0ee47909f08a1633027f [INFO] running `Command { std: "docker" "start" "-a" "c8c93097d4d0be7bb497bccb77766cde9180c78a4f4c0ee47909f08a1633027f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Checking quote v1.0.35 [INFO] [stderr] Checking opt_args v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error: non-local `macro_rules!` definition, they should be avoided as they go against expectation [INFO] [stdout] --> tests/struct.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | #[opt_args(b = "b", c = "c", d)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: reove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `opt_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 attribute macro `opt_args` (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 `opt_args` (test "struct") due to 2 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/function.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | #[opt_args(b)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: reove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `one_opt_arg` [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 `opt_args` (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/function.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | #[opt_args(a, b)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: reove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `all_opt_arg` [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 `opt_args` (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/function.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | #[opt_args(n = 5)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: reove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `recursive` [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 `opt_args` (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/function.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | #[opt_args_ord(a, b = "default", c, d, e)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: reove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `many_types` [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 `opt_args_ord` (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/function.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | #[opt_args(a, b)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: reove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `generics` [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 `opt_args` (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/function.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 96 | #[opt_args_ord(c, b)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: reove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `ordered` [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 `opt_args_ord` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `opt_args` (test "function") due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "c8c93097d4d0be7bb497bccb77766cde9180c78a4f4c0ee47909f08a1633027f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8c93097d4d0be7bb497bccb77766cde9180c78a4f4c0ee47909f08a1633027f", kill_on_drop: false }` [INFO] [stdout] c8c93097d4d0be7bb497bccb77766cde9180c78a4f4c0ee47909f08a1633027f