[INFO] fetching crate divan 0.1.4... [INFO] checking divan-0.1.4 against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393 [INFO] extracting crate divan 0.1.4 into /workspace/builds/worker-1-tc1/source [INFO] validating manifest of crates.io crate divan 0.1.4 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 divan 0.1.4 [INFO] finished tweaking crates.io crate divan 0.1.4 [INFO] tweaked toml for crates.io crate divan 0.1.4 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate crates.io crate divan 0.1.4 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] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded divan-macros v0.1.4 [INFO] [stderr] Downloaded condtype v1.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 333bd633d11ba988e8d9a1e37757dd8ecbbd00d712b3a13becc4935381023c7a [INFO] running `Command { std: "docker" "start" "-a" "333bd633d11ba988e8d9a1e37757dd8ecbbd00d712b3a13becc4935381023c7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "333bd633d11ba988e8d9a1e37757dd8ecbbd00d712b3a13becc4935381023c7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "333bd633d11ba988e8d9a1e37757dd8ecbbd00d712b3a13becc4935381023c7a", kill_on_drop: false }` [INFO] [stdout] 333bd633d11ba988e8d9a1e37757dd8ecbbd00d712b3a13becc4935381023c7a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 0c5a59e06afb5b660ac9858e9d617e48e50fd95127134be780b3bc805cdbe3f0 [INFO] running `Command { std: "docker" "start" "-a" "0c5a59e06afb5b660ac9858e9d617e48e50fd95127134be780b3bc805cdbe3f0", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling rustix v0.38.20 [INFO] [stderr] Checking linux-raw-sys v0.4.10 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Checking anstyle v1.0.4 [INFO] [stderr] Checking condtype v1.3.0 [INFO] [stderr] Checking regex-lite v0.1.5 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Checking terminal_size v0.3.0 [INFO] [stderr] Checking clap_builder v4.4.7 [INFO] [stderr] Checking clap v4.4.7 [INFO] [stderr] Compiling divan-macros v0.1.4 [INFO] [stderr] Checking divan v0.1.4 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.01s [INFO] running `Command { std: "docker" "inspect" "0c5a59e06afb5b660ac9858e9d617e48e50fd95127134be780b3bc805cdbe3f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c5a59e06afb5b660ac9858e9d617e48e50fd95127134be780b3bc805cdbe3f0", kill_on_drop: false }` [INFO] [stdout] 0c5a59e06afb5b660ac9858e9d617e48e50fd95127134be780b3bc805cdbe3f0 [INFO] checking divan-0.1.4 against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393 [INFO] extracting crate divan 0.1.4 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate divan 0.1.4 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 divan 0.1.4 [INFO] finished tweaking crates.io crate divan 0.1.4 [INFO] tweaked toml for crates.io crate divan 0.1.4 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate crates.io crate divan 0.1.4 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 088ba2fead1f14840109f47be51c15098cadeba7306d67504329de852fe16f9a [INFO] running `Command { std: "docker" "start" "-a" "088ba2fead1f14840109f47be51c15098cadeba7306d67504329de852fe16f9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "088ba2fead1f14840109f47be51c15098cadeba7306d67504329de852fe16f9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "088ba2fead1f14840109f47be51c15098cadeba7306d67504329de852fe16f9a", kill_on_drop: false }` [INFO] [stdout] 088ba2fead1f14840109f47be51c15098cadeba7306d67504329de852fe16f9a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 6fbbead170a25eca85ba0ca66c47e56d1af143aec032ad4ba96021ab60b61f8f [INFO] running `Command { std: "docker" "start" "-a" "6fbbead170a25eca85ba0ca66c47e56d1af143aec032ad4ba96021ab60b61f8f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling rustix v0.38.20 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Checking linux-raw-sys v0.4.10 [INFO] [stderr] Checking anstyle v1.0.4 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Checking condtype v1.3.0 [INFO] [stderr] Checking regex-lite v0.1.5 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Checking terminal_size v0.3.0 [INFO] [stderr] Checking clap_builder v4.4.7 [INFO] [stderr] Checking clap v4.4.7 [INFO] [stderr] Compiling divan-macros v0.1.4 [INFO] [stderr] Checking divan v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/divan.rs:520:9 [INFO] [stdout] | [INFO] [stdout] 520 | / impl SkipRegex for Regex { [INFO] [stdout] 521 | | fn skip_regex(self, divan: &mut Divan) { [INFO] [stdout] 522 | | divan.skip_filters.push(Filter::Regex(self)); [INFO] [stdout] 523 | | } [INFO] [stdout] 524 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current method `skip_regex` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [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] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/divan.rs:526:9 [INFO] [stdout] | [INFO] [stdout] 526 | / impl SkipRegex for &str { [INFO] [stdout] 527 | | #[track_caller] [INFO] [stdout] 528 | | fn skip_regex(self, divan: &mut Divan) { [INFO] [stdout] 529 | | Regex::new(self).unwrap().skip_regex(divan); [INFO] [stdout] 530 | | } [INFO] [stdout] 531 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current method `skip_regex` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/divan.rs:533:9 [INFO] [stdout] | [INFO] [stdout] 533 | / impl SkipRegex for String { [INFO] [stdout] 534 | | #[track_caller] [INFO] [stdout] 535 | | fn skip_regex(self, divan: &mut Divan) { [INFO] [stdout] 536 | | self.as_str().skip_regex(divan) [INFO] [stdout] 537 | | } [INFO] [stdout] 538 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current method `skip_regex` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `divan` (lib) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/divan.rs:520:9 [INFO] [stdout] | [INFO] [stdout] 520 | / impl SkipRegex for Regex { [INFO] [stdout] 521 | | fn skip_regex(self, divan: &mut Divan) { [INFO] [stdout] 522 | | divan.skip_filters.push(Filter::Regex(self)); [INFO] [stdout] 523 | | } [INFO] [stdout] 524 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current method `skip_regex` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [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] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/divan.rs:526:9 [INFO] [stdout] | [INFO] [stdout] 526 | / impl SkipRegex for &str { [INFO] [stdout] 527 | | #[track_caller] [INFO] [stdout] 528 | | fn skip_regex(self, divan: &mut Divan) { [INFO] [stdout] 529 | | Regex::new(self).unwrap().skip_regex(divan); [INFO] [stdout] 530 | | } [INFO] [stdout] 531 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current method `skip_regex` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/divan.rs:533:9 [INFO] [stdout] | [INFO] [stdout] 533 | / impl SkipRegex for String { [INFO] [stdout] 534 | | #[track_caller] [INFO] [stdout] 535 | | fn skip_regex(self, divan: &mut Divan) { [INFO] [stdout] 536 | | self.as_str().skip_regex(divan) [INFO] [stdout] 537 | | } [INFO] [stdout] 538 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current method `skip_regex` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `divan` (lib test) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "6fbbead170a25eca85ba0ca66c47e56d1af143aec032ad4ba96021ab60b61f8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6fbbead170a25eca85ba0ca66c47e56d1af143aec032ad4ba96021ab60b61f8f", kill_on_drop: false }` [INFO] [stdout] 6fbbead170a25eca85ba0ca66c47e56d1af143aec032ad4ba96021ab60b61f8f