[INFO] fetching crate display_utils 0.4.0... [INFO] checking display_utils-0.4.0 against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393 [INFO] extracting crate display_utils 0.4.0 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate display_utils 0.4.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 display_utils 0.4.0 [INFO] finished tweaking crates.io crate display_utils 0.4.0 [INFO] tweaked toml for crates.io crate display_utils 0.4.0 written to /workspace/builds/worker-2-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] 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-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] cc83d61b7460ac03a64850baf5fca6c8eca11764b9724b0abfbb18fcd4d6dce5 [INFO] running `Command { std: "docker" "start" "-a" "cc83d61b7460ac03a64850baf5fca6c8eca11764b9724b0abfbb18fcd4d6dce5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cc83d61b7460ac03a64850baf5fca6c8eca11764b9724b0abfbb18fcd4d6dce5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc83d61b7460ac03a64850baf5fca6c8eca11764b9724b0abfbb18fcd4d6dce5", kill_on_drop: false }` [INFO] [stdout] cc83d61b7460ac03a64850baf5fca6c8eca11764b9724b0abfbb18fcd4d6dce5 [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] 640fb5e116b7755b33738056726af48725fa635b4e2901d2f52e20f2f2abe7ba [INFO] running `Command { std: "docker" "start" "-a" "640fb5e116b7755b33738056726af48725fa635b4e2901d2f52e20f2f2abe7ba", kill_on_drop: false }` [INFO] [stderr] Checking display_utils v0.4.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.08s [INFO] running `Command { std: "docker" "inspect" "640fb5e116b7755b33738056726af48725fa635b4e2901d2f52e20f2f2abe7ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "640fb5e116b7755b33738056726af48725fa635b4e2901d2f52e20f2f2abe7ba", kill_on_drop: false }` [INFO] [stdout] 640fb5e116b7755b33738056726af48725fa635b4e2901d2f52e20f2f2abe7ba [INFO] checking display_utils-0.4.0 against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393 [INFO] extracting crate display_utils 0.4.0 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate display_utils 0.4.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 display_utils 0.4.0 [INFO] finished tweaking crates.io crate display_utils 0.4.0 [INFO] tweaked toml for crates.io crate display_utils 0.4.0 written to /workspace/builds/worker-2-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] 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] 7c6a884b6cd46c222facc37fa9c58550189e8251252a4c10abb8d65a42e80123 [INFO] running `Command { std: "docker" "start" "-a" "7c6a884b6cd46c222facc37fa9c58550189e8251252a4c10abb8d65a42e80123", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7c6a884b6cd46c222facc37fa9c58550189e8251252a4c10abb8d65a42e80123", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c6a884b6cd46c222facc37fa9c58550189e8251252a4c10abb8d65a42e80123", kill_on_drop: false }` [INFO] [stdout] 7c6a884b6cd46c222facc37fa9c58550189e8251252a4c10abb8d65a42e80123 [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] 2ba7f97336ffbaf0b36c2c547fed1bede50b1f9efe4538bd25c3e6c89b60a1ae [INFO] running `Command { std: "docker" "start" "-a" "2ba7f97336ffbaf0b36c2c547fed1bede50b1f9efe4538bd25c3e6c89b60a1ae", kill_on_drop: false }` [INFO] [stderr] Checking display_utils v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/lib.rs:123:2 [INFO] [stdout] | [INFO] [stdout] 123 | / impl core::fmt::Display for UnicodeBlockBar { [INFO] [stdout] 124 | | fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { [INFO] [stdout] 125 | | for _ in 0..self.num_full_blocks { [INFO] [stdout] 126 | | f.write_str(&BLOCK_CHARS[8])?; [INFO] [stdout] ... | [INFO] [stdout] 133 | | } [INFO] [stdout] 134 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `unicode_block_bar` [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/lib.rs:205:2 [INFO] [stdout] | [INFO] [stdout] 205 | / impl + Clone> core::fmt::Display for VerticalUnicodeBlockBars { [INFO] [stdout] 206 | | fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { [INFO] [stdout] 207 | | let max_steps = self.max_height * 8; [INFO] [stdout] 208 | | for row in 0..self.max_height { [INFO] [stdout] ... | [INFO] [stdout] 227 | | } [INFO] [stdout] 228 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `vertical_unicode_block_bars` [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/lib.rs:264:2 [INFO] [stdout] | [INFO] [stdout] 264 | / impl core::fmt::Display for Join [INFO] [stdout] 265 | | where [INFO] [stdout] 266 | | T: core::fmt::Display, [INFO] [stdout] 267 | | I: Iterator + Clone, [INFO] [stdout] ... | [INFO] [stdout] 282 | | } [INFO] [stdout] 283 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `join` [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/lib.rs:321:2 [INFO] [stdout] | [INFO] [stdout] 321 | / impl core::fmt::Display for JoinFormat [INFO] [stdout] 322 | | where [INFO] [stdout] 323 | | I: Iterator + Clone, [INFO] [stdout] 324 | | J: core::fmt::Display, [INFO] [stdout] ... | [INFO] [stdout] 339 | | } [INFO] [stdout] 340 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `join_format` [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/lib.rs:368:2 [INFO] [stdout] | [INFO] [stdout] 368 | / impl core::fmt::Display for Repeat { [INFO] [stdout] 369 | | fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { [INFO] [stdout] 370 | | for _ in 0..self.times { [INFO] [stdout] 371 | | write!(f, "{}", self.token)?; [INFO] [stdout] ... | [INFO] [stdout] 374 | | } [INFO] [stdout] 375 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `repeat` [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/lib.rs:411:2 [INFO] [stdout] | [INFO] [stdout] 411 | / impl core::fmt::Display for Lowercase { [INFO] [stdout] 412 | | fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { [INFO] [stdout] 413 | | use core::fmt::Write as _; [INFO] [stdout] 414 | | write!(LowercaseWriter { f }, "{}", self.object) [INFO] [stdout] 415 | | } [INFO] [stdout] 416 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `lowercase` [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/lib.rs:452:2 [INFO] [stdout] | [INFO] [stdout] 452 | / impl core::fmt::Display for Uppercase { [INFO] [stdout] 453 | | fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { [INFO] [stdout] 454 | | use core::fmt::Write as _; [INFO] [stdout] 455 | | write!(UppercaseWriter { f }, "{}", self.object) [INFO] [stdout] 456 | | } [INFO] [stdout] 457 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `uppercase` [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/lib.rs:482:2 [INFO] [stdout] | [INFO] [stdout] 482 | / impl core::fmt::Display for Replace<'_, T> { [INFO] [stdout] 483 | | fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { [INFO] [stdout] 484 | | let mut last_end = 0; [INFO] [stdout] 485 | | for (start, part) in self.source.match_indices(self.from) { [INFO] [stdout] ... | [INFO] [stdout] 495 | | } [INFO] [stdout] 496 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `replace` [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/lib.rs:526:2 [INFO] [stdout] | [INFO] [stdout] 526 | / impl core::fmt::Display for ReplaceN<'_, T> { [INFO] [stdout] 527 | | fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { [INFO] [stdout] 528 | | let mut last_end = 0; [INFO] [stdout] 529 | | for (start, part) in self.source.match_indices(self.from).take(self.n) { [INFO] [stdout] ... | [INFO] [stdout] 539 | | } [INFO] [stdout] 540 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `replace_n` [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/lib.rs:580:2 [INFO] [stdout] | [INFO] [stdout] 580 | / impl core::fmt::Display for Concat [INFO] [stdout] 581 | | where [INFO] [stdout] 582 | | I: Iterator + Clone, [INFO] [stdout] 583 | | I::Item: core::fmt::Display, [INFO] [stdout] ... | [INFO] [stdout] 590 | | } [INFO] [stdout] 591 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `concat` [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/lib.rs:785:2 [INFO] [stdout] | [INFO] [stdout] 785 | / impl core::fmt::Display for DisplaySlice { [INFO] [stdout] 786 | | fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { [INFO] [stdout] 787 | | use core::fmt::Write as _; [INFO] [stdout] 788 | | write!( [INFO] [stdout] ... | [INFO] [stdout] 798 | | } [INFO] [stdout] 799 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `slice` [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/lib.rs:919:2 [INFO] [stdout] | [INFO] [stdout] 919 | / impl core::fmt::Display for Ordinal { [INFO] [stdout] 920 | | fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { [INFO] [stdout] 921 | | let n = self.number.abs(); [INFO] [stdout] 922 | | let suffix = match n % 10 { [INFO] [stdout] ... | [INFO] [stdout] 929 | | } [INFO] [stdout] 930 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `ordinal` [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 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/lib.rs:123:2 [INFO] [stdout] | [INFO] [stdout] 123 | / impl core::fmt::Display for UnicodeBlockBar { [INFO] [stdout] 124 | | fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { [INFO] [stdout] 125 | | for _ in 0..self.num_full_blocks { [INFO] [stdout] 126 | | f.write_str(&BLOCK_CHARS[8])?; [INFO] [stdout] ... | [INFO] [stdout] 133 | | } [INFO] [stdout] 134 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `unicode_block_bar` [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/lib.rs:205:2 [INFO] [stdout] | [INFO] [stdout] 205 | / impl + Clone> core::fmt::Display for VerticalUnicodeBlockBars { [INFO] [stdout] 206 | | fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { [INFO] [stdout] 207 | | let max_steps = self.max_height * 8; [INFO] [stdout] 208 | | for row in 0..self.max_height { [INFO] [stdout] ... | [INFO] [stdout] 227 | | } [INFO] [stdout] 228 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `vertical_unicode_block_bars` [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/lib.rs:264:2 [INFO] [stdout] | [INFO] [stdout] 264 | / impl core::fmt::Display for Join [INFO] [stdout] 265 | | where [INFO] [stdout] 266 | | T: core::fmt::Display, [INFO] [stdout] 267 | | I: Iterator + Clone, [INFO] [stdout] ... | [INFO] [stdout] 282 | | } [INFO] [stdout] 283 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `join` [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/lib.rs:321:2 [INFO] [stdout] | [INFO] [stdout] 321 | / impl core::fmt::Display for JoinFormat [INFO] [stdout] 322 | | where [INFO] [stdout] 323 | | I: Iterator + Clone, [INFO] [stdout] 324 | | J: core::fmt::Display, [INFO] [stdout] ... | [INFO] [stdout] 339 | | } [INFO] [stdout] 340 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `join_format` [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/lib.rs:368:2 [INFO] [stdout] | [INFO] [stdout] 368 | / impl core::fmt::Display for Repeat { [INFO] [stdout] 369 | | fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { [INFO] [stdout] 370 | | for _ in 0..self.times { [INFO] [stdout] 371 | | write!(f, "{}", self.token)?; [INFO] [stdout] ... | [INFO] [stdout] 374 | | } [INFO] [stdout] 375 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `repeat` [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/lib.rs:411:2 [INFO] [stdout] | [INFO] [stdout] 411 | / impl core::fmt::Display for Lowercase { [INFO] [stdout] 412 | | fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { [INFO] [stdout] 413 | | use core::fmt::Write as _; [INFO] [stdout] 414 | | write!(LowercaseWriter { f }, "{}", self.object) [INFO] [stdout] 415 | | } [INFO] [stdout] 416 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `lowercase` [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/lib.rs:452:2 [INFO] [stdout] | [INFO] [stdout] 452 | / impl core::fmt::Display for Uppercase { [INFO] [stdout] 453 | | fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { [INFO] [stdout] 454 | | use core::fmt::Write as _; [INFO] [stdout] 455 | | write!(UppercaseWriter { f }, "{}", self.object) [INFO] [stdout] 456 | | } [INFO] [stdout] 457 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `uppercase` [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/lib.rs:482:2 [INFO] [stdout] | [INFO] [stdout] 482 | / impl core::fmt::Display for Replace<'_, T> { [INFO] [stdout] 483 | | fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { [INFO] [stdout] 484 | | let mut last_end = 0; [INFO] [stdout] 485 | | for (start, part) in self.source.match_indices(self.from) { [INFO] [stdout] ... | [INFO] [stdout] 495 | | } [INFO] [stdout] 496 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `replace` [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/lib.rs:526:2 [INFO] [stdout] | [INFO] [stdout] 526 | / impl core::fmt::Display for ReplaceN<'_, T> { [INFO] [stdout] 527 | | fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { [INFO] [stdout] 528 | | let mut last_end = 0; [INFO] [stdout] 529 | | for (start, part) in self.source.match_indices(self.from).take(self.n) { [INFO] [stdout] ... | [INFO] [stdout] 539 | | } [INFO] [stdout] 540 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `replace_n` [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/lib.rs:580:2 [INFO] [stdout] | [INFO] [stdout] 580 | / impl core::fmt::Display for Concat [INFO] [stdout] 581 | | where [INFO] [stdout] 582 | | I: Iterator + Clone, [INFO] [stdout] 583 | | I::Item: core::fmt::Display, [INFO] [stdout] ... | [INFO] [stdout] 590 | | } [INFO] [stdout] 591 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `concat` [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/lib.rs:785:2 [INFO] [stdout] | [INFO] [stdout] 785 | / impl core::fmt::Display for DisplaySlice { [INFO] [stdout] 786 | | fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { [INFO] [stdout] 787 | | use core::fmt::Write as _; [INFO] [stdout] 788 | | write!( [INFO] [stdout] ... | [INFO] [stdout] 798 | | } [INFO] [stdout] 799 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `slice` [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/lib.rs:919:2 [INFO] [stdout] | [INFO] [stdout] 919 | / impl core::fmt::Display for Ordinal { [INFO] [stdout] 920 | | fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { [INFO] [stdout] 921 | | let n = self.number.abs(); [INFO] [stdout] 922 | | let suffix = match n % 10 { [INFO] [stdout] ... | [INFO] [stdout] 929 | | } [INFO] [stdout] 930 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `ordinal` [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] [stderr] error: could not compile `display_utils` (lib) due to 13 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `display_utils` (lib test) due to 13 previous errors [INFO] running `Command { std: "docker" "inspect" "2ba7f97336ffbaf0b36c2c547fed1bede50b1f9efe4538bd25c3e6c89b60a1ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ba7f97336ffbaf0b36c2c547fed1bede50b1f9efe4538bd25c3e6c89b60a1ae", kill_on_drop: false }` [INFO] [stdout] 2ba7f97336ffbaf0b36c2c547fed1bede50b1f9efe4538bd25c3e6c89b60a1ae