[INFO] fetching crate linapi 0.6.0-alpha.0... [INFO] checking linapi-0.6.0-alpha.0 against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393-1 [INFO] extracting crate linapi 0.6.0-alpha.0 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate linapi 0.6.0-alpha.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 linapi 0.6.0-alpha.0 [INFO] finished tweaking crates.io crate linapi 0.6.0-alpha.0 [INFO] tweaked toml for crates.io crate linapi 0.6.0-alpha.0 written to /workspace/builds/worker-6-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 zstd v0.12.4 [INFO] [stderr] Downloaded zstd-safe v6.0.6 [INFO] [stderr] Downloaded der_derive v0.7.2 [INFO] [stderr] Downloaded memoffset v0.7.1 [INFO] [stderr] Downloaded displaydoc v0.2.4 [INFO] [stderr] Downloaded pem-rfc7468 v0.7.0 [INFO] [stderr] Downloaded io-lifetimes v1.0.11 [INFO] [stderr] Downloaded flagset v0.4.4 [INFO] [stderr] Downloaded elf v0.7.4 [INFO] [stderr] Downloaded cms v0.2.3 [INFO] [stderr] Downloaded nix v0.26.4 [INFO] [stderr] Downloaded linux-raw-sys v0.3.8 [INFO] [stderr] Downloaded windows-sys v0.48.0 [INFO] [stderr] Downloaded zstd-sys v2.0.9+zstd.1.5.5 [INFO] [stderr] Downloaded rustix v0.37.27 [INFO] [stderr] Downloaded x509-cert v0.2.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] b4074431efdc902688ea03ecf66c3ae57bec002bbfb35e91a0254641aa5a9301 [INFO] running `Command { std: "docker" "start" "-a" "b4074431efdc902688ea03ecf66c3ae57bec002bbfb35e91a0254641aa5a9301", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b4074431efdc902688ea03ecf66c3ae57bec002bbfb35e91a0254641aa5a9301", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4074431efdc902688ea03ecf66c3ae57bec002bbfb35e91a0254641aa5a9301", kill_on_drop: false }` [INFO] [stdout] b4074431efdc902688ea03ecf66c3ae57bec002bbfb35e91a0254641aa5a9301 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 557a1d2991f36e0ada3f6cb05f40dda7fcb1f29889f58fae28d34824718cddd0 [INFO] running `Command { std: "docker" "start" "-a" "557a1d2991f36e0ada3f6cb05f40dda7fcb1f29889f58fae28d34824718cddd0", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling pkg-config v0.3.29 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Checking const-oid v0.9.6 [INFO] [stderr] Checking zeroize v1.7.0 [INFO] [stderr] Checking flagset v0.4.4 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling zstd-safe v6.0.6 [INFO] [stderr] Checking pem-rfc7468 v0.7.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling rustix v0.37.27 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking linux-raw-sys v0.3.8 [INFO] [stderr] Checking walkdir v2.4.0 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking elf v0.7.4 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling jobserver v0.1.27 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling zstd-sys v2.0.9+zstd.1.5.5 [INFO] [stderr] Compiling lzma-sys v0.1.20 [INFO] [stderr] Checking xz2 v0.1.7 [INFO] [stderr] Compiling der_derive v0.7.2 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling displaydoc v0.2.4 [INFO] [stderr] Checking der v0.7.8 [INFO] [stderr] Checking thiserror v1.0.56 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Checking x509-cert v0.2.5 [INFO] [stderr] Checking cms v0.2.3 [INFO] [stderr] Checking zstd v0.12.4 [INFO] [stderr] Checking linapi v0.6.0-alpha.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 16.13s [INFO] running `Command { std: "docker" "inspect" "557a1d2991f36e0ada3f6cb05f40dda7fcb1f29889f58fae28d34824718cddd0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "557a1d2991f36e0ada3f6cb05f40dda7fcb1f29889f58fae28d34824718cddd0", kill_on_drop: false }` [INFO] [stdout] 557a1d2991f36e0ada3f6cb05f40dda7fcb1f29889f58fae28d34824718cddd0 [INFO] checking linapi-0.6.0-alpha.0 against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393-1 [INFO] extracting crate linapi 0.6.0-alpha.0 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate linapi 0.6.0-alpha.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 linapi 0.6.0-alpha.0 [INFO] finished tweaking crates.io crate linapi 0.6.0-alpha.0 [INFO] tweaked toml for crates.io crate linapi 0.6.0-alpha.0 written to /workspace/builds/worker-6-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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 1efcb5b04399e913967e9911ef6641cac220259a4955127a2e25a1f156a139d7 [INFO] running `Command { std: "docker" "start" "-a" "1efcb5b04399e913967e9911ef6641cac220259a4955127a2e25a1f156a139d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1efcb5b04399e913967e9911ef6641cac220259a4955127a2e25a1f156a139d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1efcb5b04399e913967e9911ef6641cac220259a4955127a2e25a1f156a139d7", kill_on_drop: false }` [INFO] [stdout] 1efcb5b04399e913967e9911ef6641cac220259a4955127a2e25a1f156a139d7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 4b6e4dd25074e299b569981e6d6ec1227a7199fde2340b77365cf2dcbb60c5c6 [INFO] running `Command { std: "docker" "start" "-a" "4b6e4dd25074e299b569981e6d6ec1227a7199fde2340b77365cf2dcbb60c5c6", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling pkg-config v0.3.29 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Checking zeroize v1.7.0 [INFO] [stderr] Checking flagset v0.4.4 [INFO] [stderr] Checking const-oid v0.9.6 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling zstd-safe v6.0.6 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking pem-rfc7468 v0.7.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling rustix v0.37.27 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking linux-raw-sys v0.3.8 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking walkdir v2.4.0 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Checking elf v0.7.4 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Compiling jobserver v0.1.27 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling zstd-sys v2.0.9+zstd.1.5.5 [INFO] [stderr] Compiling lzma-sys v0.1.20 [INFO] [stderr] Compiling der_derive v0.7.2 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling displaydoc v0.2.4 [INFO] [stderr] Checking xz2 v0.1.7 [INFO] [stderr] Checking der v0.7.8 [INFO] [stderr] Checking thiserror v1.0.56 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Checking x509-cert v0.2.5 [INFO] [stderr] Checking cms v0.2.3 [INFO] [stderr] Checking zstd v0.12.4 [INFO] [stderr] Checking linapi v0.6.0-alpha.0 (/opt/rustwide/workdir) [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/error.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, Display, Error)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_DERIVE_Display_FOR_ModuleError` [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 `Display` (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/error.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, Display, Error)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_DERIVE_Display_FOR_ModuleError` [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 `Display` (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/system/devices/block.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | #[derive(Debug, Display, Error)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_DERIVE_Display_FOR_Error` [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 `Display` (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/system/devices/block.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | #[derive(Debug, Display, Error)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_DERIVE_Display_FOR_Error` [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 `Display` (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] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `linapi` (lib test) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `linapi` (lib) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "4b6e4dd25074e299b569981e6d6ec1227a7199fde2340b77365cf2dcbb60c5c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b6e4dd25074e299b569981e6d6ec1227a7199fde2340b77365cf2dcbb60c5c6", kill_on_drop: false }` [INFO] [stdout] 4b6e4dd25074e299b569981e6d6ec1227a7199fde2340b77365cf2dcbb60c5c6