[INFO] fetching crate divan 0.1.4... [INFO] checking divan-0.1.4 against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393-1 [INFO] extracting crate divan 0.1.4 into /workspace/builds/worker-2-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-2-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 condtype v1.3.0 [INFO] [stderr] Downloaded clap_lex v0.6.0 [INFO] [stderr] Downloaded errno v0.3.5 [INFO] [stderr] Downloaded terminal_size v0.3.0 [INFO] [stderr] Downloaded anstyle v1.0.4 [INFO] [stderr] Downloaded divan-macros v0.1.4 [INFO] [stderr] Downloaded clap v4.4.7 [INFO] [stderr] Downloaded clap_builder v4.4.7 [INFO] [stderr] Downloaded syn v2.0.38 [INFO] [stderr] Downloaded libc v0.2.149 [INFO] [stderr] Downloaded linux-raw-sys v0.4.10 [INFO] [stderr] Downloaded rustix v0.38.20 [INFO] [stderr] Downloaded regex-lite v0.1.5 [INFO] [stderr] Downloaded proc-macro2 v1.0.69 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 3ff705d3a409c80e85777faa3f651cef15a539f0387e21196715f647832ee818 [INFO] running `Command { std: "docker" "start" "-a" "3ff705d3a409c80e85777faa3f651cef15a539f0387e21196715f647832ee818", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3ff705d3a409c80e85777faa3f651cef15a539f0387e21196715f647832ee818", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ff705d3a409c80e85777faa3f651cef15a539f0387e21196715f647832ee818", kill_on_drop: false }` [INFO] [stdout] 3ff705d3a409c80e85777faa3f651cef15a539f0387e21196715f647832ee818 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] f0d50592a8dc8d4592d7969a660a181afaee7ee741ba47491c2cb51175e2372b [INFO] running `Command { std: "docker" "start" "-a" "f0d50592a8dc8d4592d7969a660a181afaee7ee741ba47491c2cb51175e2372b", 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 clap_lex v0.6.0 [INFO] [stderr] Checking anstyle v1.0.4 [INFO] [stderr] Checking regex-lite v0.1.5 [INFO] [stderr] Checking condtype v1.3.0 [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.81s [INFO] running `Command { std: "docker" "inspect" "f0d50592a8dc8d4592d7969a660a181afaee7ee741ba47491c2cb51175e2372b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0d50592a8dc8d4592d7969a660a181afaee7ee741ba47491c2cb51175e2372b", kill_on_drop: false }` [INFO] [stdout] f0d50592a8dc8d4592d7969a660a181afaee7ee741ba47491c2cb51175e2372b [INFO] checking divan-0.1.4 against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393-1 [INFO] extracting crate divan 0.1.4 into /workspace/builds/worker-2-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-2-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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] f65aba70d804d58611cd0cd41dde32cc057116ea7804dbfe3007bbb972304085 [INFO] running `Command { std: "docker" "start" "-a" "f65aba70d804d58611cd0cd41dde32cc057116ea7804dbfe3007bbb972304085", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f65aba70d804d58611cd0cd41dde32cc057116ea7804dbfe3007bbb972304085", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f65aba70d804d58611cd0cd41dde32cc057116ea7804dbfe3007bbb972304085", kill_on_drop: false }` [INFO] [stdout] f65aba70d804d58611cd0cd41dde32cc057116ea7804dbfe3007bbb972304085 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 2eec66d3dbc68b7b0e6d78fcf2ea2e758de24774f745f258aafe5a0b248d5902 [INFO] running `Command { std: "docker" "start" "-a" "2eec66d3dbc68b7b0e6d78fcf2ea2e758de24774f745f258aafe5a0b248d5902", kill_on_drop: false }` [INFO] [stderr] Compiling rustix v0.38.20 [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Checking linux-raw-sys v0.4.10 [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] [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" "2eec66d3dbc68b7b0e6d78fcf2ea2e758de24774f745f258aafe5a0b248d5902", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2eec66d3dbc68b7b0e6d78fcf2ea2e758de24774f745f258aafe5a0b248d5902", kill_on_drop: false }` [INFO] [stdout] 2eec66d3dbc68b7b0e6d78fcf2ea2e758de24774f745f258aafe5a0b248d5902