[INFO] fetching crate disk-types 0.1.5... [INFO] checking disk-types-0.1.5 against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393 [INFO] extracting crate disk-types 0.1.5 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate disk-types 0.1.5 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] removed /workspace/builds/worker-2-tc1/source/rust-toolchain [INFO] started tweaking crates.io crate disk-types 0.1.5 [INFO] finished tweaking crates.io crate disk-types 0.1.5 [INFO] tweaked toml for crates.io crate disk-types 0.1.5 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] [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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sys-mount v1.5.1 [INFO] [stderr] Downloaded os-release v0.1.0 [INFO] [stderr] Downloaded partition-identity v0.2.8 [INFO] [stderr] Downloaded numtoa v0.2.4 [INFO] [stderr] Downloaded loopdev v0.4.0 [INFO] [stderr] Downloaded err-derive v0.2.4 [INFO] [stderr] Downloaded sysfs-class v0.1.3 [INFO] [stderr] Downloaded libparted-sys v0.3.2 [INFO] [stderr] Downloaded os-detect v0.2.2 [INFO] [stderr] Downloaded libparted v0.1.5 [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] 3c97ecf51ef8308886818794087ad47bb1c21eaae0c8bd7c002616277af60885 [INFO] running `Command { std: "docker" "start" "-a" "3c97ecf51ef8308886818794087ad47bb1c21eaae0c8bd7c002616277af60885", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3c97ecf51ef8308886818794087ad47bb1c21eaae0c8bd7c002616277af60885", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c97ecf51ef8308886818794087ad47bb1c21eaae0c8bd7c002616277af60885", kill_on_drop: false }` [INFO] [stdout] 3c97ecf51ef8308886818794087ad47bb1c21eaae0c8bd7c002616277af60885 [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] ad94318f23e60a6dc9863d1148a85ebdf834564b25ddd88cd699305519e3dc8e [INFO] running `Command { std: "docker" "start" "-a" "ad94318f23e60a6dc9863d1148a85ebdf834564b25ddd88cd699305519e3dc8e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling rustix v0.38.30 [INFO] [stderr] Compiling libloading v0.8.1 [INFO] [stderr] Compiling prettyplease v0.2.16 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling bindgen v0.59.2 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Compiling bindgen v0.65.1 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling err-derive v0.2.4 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling smart-default v0.6.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking os-release v0.1.0 [INFO] [stderr] Checking numtoa v0.2.4 [INFO] [stderr] Compiling clang-sys v1.7.0 [INFO] [stderr] Checking sysfs-class v0.1.3 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking thiserror v1.0.56 [INFO] [stderr] Checking errno v0.2.8 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking partition-identity v0.2.8 [INFO] [stderr] Compiling regex-automata v0.4.5 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling regex v1.10.3 [INFO] [stderr] Compiling loopdev v0.4.0 [INFO] [stderr] Compiling libparted-sys v0.3.2 [INFO] [stderr] Checking sys-mount v1.5.1 [INFO] [stderr] Checking os-detect v0.2.2 [INFO] [stderr] Checking libparted v0.1.5 [INFO] [stderr] Checking disk-types v0.1.5 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 8.31s [INFO] running `Command { std: "docker" "inspect" "ad94318f23e60a6dc9863d1148a85ebdf834564b25ddd88cd699305519e3dc8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad94318f23e60a6dc9863d1148a85ebdf834564b25ddd88cd699305519e3dc8e", kill_on_drop: false }` [INFO] [stdout] ad94318f23e60a6dc9863d1148a85ebdf834564b25ddd88cd699305519e3dc8e [INFO] checking disk-types-0.1.5 against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393 [INFO] extracting crate disk-types 0.1.5 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate disk-types 0.1.5 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] removed /workspace/builds/worker-2-tc2/source/rust-toolchain [INFO] started tweaking crates.io crate disk-types 0.1.5 [INFO] finished tweaking crates.io crate disk-types 0.1.5 [INFO] tweaked toml for crates.io crate disk-types 0.1.5 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] [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-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] d0241ddff1a891b64de804ea47b867a8e20636c13f731ee11d2a5db7571b478e [INFO] running `Command { std: "docker" "start" "-a" "d0241ddff1a891b64de804ea47b867a8e20636c13f731ee11d2a5db7571b478e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d0241ddff1a891b64de804ea47b867a8e20636c13f731ee11d2a5db7571b478e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0241ddff1a891b64de804ea47b867a8e20636c13f731ee11d2a5db7571b478e", kill_on_drop: false }` [INFO] [stdout] d0241ddff1a891b64de804ea47b867a8e20636c13f731ee11d2a5db7571b478e [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] f2d4ff6956c2ca47e512bf49f80ca0e5ac0a87b9d540c903e6b892348ad0f592 [INFO] running `Command { std: "docker" "start" "-a" "f2d4ff6956c2ca47e512bf49f80ca0e5ac0a87b9d540c903e6b892348ad0f592", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling libloading v0.8.1 [INFO] [stderr] Compiling rustix v0.38.30 [INFO] [stderr] Compiling prettyplease v0.2.16 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling bindgen v0.59.2 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling bindgen v0.65.1 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling err-derive v0.2.4 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling smart-default v0.6.0 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking os-release v0.1.0 [INFO] [stderr] Checking numtoa v0.2.4 [INFO] [stderr] Compiling clang-sys v1.7.0 [INFO] [stderr] Checking sysfs-class v0.1.3 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking thiserror v1.0.56 [INFO] [stderr] Checking errno v0.2.8 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking partition-identity v0.2.8 [INFO] [stderr] Compiling regex-automata v0.4.5 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling regex v1.10.3 [INFO] [stderr] Compiling loopdev v0.4.0 [INFO] [stderr] Compiling libparted-sys v0.3.2 [INFO] [stderr] Checking sys-mount v1.5.1 [INFO] [stderr] Checking os-detect v0.2.2 [INFO] [stderr] Checking libparted v0.1.5 [INFO] [stderr] Checking disk-types v0.1.5 (/opt/rustwide/workdir) [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/table.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Error, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_DERIVE_std_error_Error_FOR_PartitionTableError` [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] = note: this error originates in the derive macro `Error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/table.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Error, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_DERIVE_core_fmt_Display_FOR_PartitionTableError` [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: this error originates in the derive macro `Error` (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 `disk-types` (lib) due to 3 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/table.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Error, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_DERIVE_std_error_Error_FOR_PartitionTableError` [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] = note: this error originates in the derive macro `Error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/table.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Error, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_DERIVE_core_fmt_Display_FOR_PartitionTableError` [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: this error originates in the derive macro `Error` (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 `disk-types` (lib test) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "f2d4ff6956c2ca47e512bf49f80ca0e5ac0a87b9d540c903e6b892348ad0f592", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2d4ff6956c2ca47e512bf49f80ca0e5ac0a87b9d540c903e6b892348ad0f592", kill_on_drop: false }` [INFO] [stdout] f2d4ff6956c2ca47e512bf49f80ca0e5ac0a87b9d540c903e6b892348ad0f592