[INFO] fetching crate mc-build-rs 0.1.0... [INFO] checking mc-build-rs-0.1.0 against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393 [INFO] extracting crate mc-build-rs 0.1.0 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate mc-build-rs 0.1.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] removed /workspace/builds/worker-7-tc1/source/rust-toolchain.toml [INFO] started tweaking crates.io crate mc-build-rs 0.1.0 [INFO] finished tweaking crates.io crate mc-build-rs 0.1.0 [INFO] tweaked toml for crates.io crate mc-build-rs 0.1.0 written to /workspace/builds/worker-7-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 fluent-asserter v0.1.9 [INFO] [stderr] Downloaded temp-env v0.3.6 [INFO] [stderr] Downloaded cargo-emit v0.2.1 [INFO] [stderr] Downloaded mockall_double v0.3.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 08e7f0aa90d50fc30a6b17f96a84a26dc9f15268a97e1b6529e659b06c4abbef [INFO] running `Command { std: "docker" "start" "-a" "08e7f0aa90d50fc30a6b17f96a84a26dc9f15268a97e1b6529e659b06c4abbef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "08e7f0aa90d50fc30a6b17f96a84a26dc9f15268a97e1b6529e659b06c4abbef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08e7f0aa90d50fc30a6b17f96a84a26dc9f15268a97e1b6529e659b06c4abbef", kill_on_drop: false }` [INFO] [stdout] 08e7f0aa90d50fc30a6b17f96a84a26dc9f15268a97e1b6529e659b06c4abbef [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] bc0a8c249143b2f035661025d708f6c528856081c5b85d29b08e3d2d64f6db98 [INFO] running `Command { std: "docker" "start" "-a" "bc0a8c249143b2f035661025d708f6c528856081c5b85d29b08e3d2d64f6db98", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking predicates-core v1.0.6 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Checking normalize-line-endings v0.3.0 [INFO] [stderr] Checking difflib v0.4.0 [INFO] [stderr] Checking termtree v0.4.1 [INFO] [stderr] Checking walkdir v2.4.0 [INFO] [stderr] Checking downcast v0.11.0 [INFO] [stderr] Checking fragile v2.0.0 [INFO] [stderr] Checking cargo-emit v0.2.1 [INFO] [stderr] Checking predicates-tree v1.0.9 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking temp-env v0.3.6 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Checking num-complex v0.4.4 [INFO] [stderr] Checking regex-automata v0.4.5 [INFO] [stderr] Checking num v0.4.1 [INFO] [stderr] Checking fluent-asserter v0.1.9 [INFO] [stderr] Compiling displaydoc v0.2.4 [INFO] [stderr] Compiling mockall_double v0.3.1 [INFO] [stderr] Checking regex v1.10.3 [INFO] [stderr] Checking predicates v2.1.5 [INFO] [stderr] Checking mc-build-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling mockall_derive v0.11.4 [INFO] [stderr] Checking mockall v0.11.4 [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.88s [INFO] running `Command { std: "docker" "inspect" "bc0a8c249143b2f035661025d708f6c528856081c5b85d29b08e3d2d64f6db98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc0a8c249143b2f035661025d708f6c528856081c5b85d29b08e3d2d64f6db98", kill_on_drop: false }` [INFO] [stdout] bc0a8c249143b2f035661025d708f6c528856081c5b85d29b08e3d2d64f6db98 [INFO] checking mc-build-rs-0.1.0 against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393 [INFO] extracting crate mc-build-rs 0.1.0 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate mc-build-rs 0.1.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] removed /workspace/builds/worker-7-tc2/source/rust-toolchain.toml [INFO] started tweaking crates.io crate mc-build-rs 0.1.0 [INFO] finished tweaking crates.io crate mc-build-rs 0.1.0 [INFO] tweaked toml for crates.io crate mc-build-rs 0.1.0 written to /workspace/builds/worker-7-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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] a1efbb27a37a9cec3188677dcff0cd0a56455a6af1e13dba84ff78f7a1915afc [INFO] running `Command { std: "docker" "start" "-a" "a1efbb27a37a9cec3188677dcff0cd0a56455a6af1e13dba84ff78f7a1915afc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a1efbb27a37a9cec3188677dcff0cd0a56455a6af1e13dba84ff78f7a1915afc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1efbb27a37a9cec3188677dcff0cd0a56455a6af1e13dba84ff78f7a1915afc", kill_on_drop: false }` [INFO] [stdout] a1efbb27a37a9cec3188677dcff0cd0a56455a6af1e13dba84ff78f7a1915afc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] f92a074b4942d6b09e5294f044ee4adeafc227f841a23fffcd5a353cecf1e313 [INFO] running `Command { std: "docker" "start" "-a" "f92a074b4942d6b09e5294f044ee4adeafc227f841a23fffcd5a353cecf1e313", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking predicates-core v1.0.6 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking difflib v0.4.0 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Checking termtree v0.4.1 [INFO] [stderr] Checking normalize-line-endings v0.3.0 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking walkdir v2.4.0 [INFO] [stderr] Checking downcast v0.11.0 [INFO] [stderr] Checking cargo-emit v0.2.1 [INFO] [stderr] Checking fragile v2.0.0 [INFO] [stderr] Checking predicates-tree v1.0.9 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking temp-env v0.3.6 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking num-complex v0.4.4 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Checking regex-automata v0.4.5 [INFO] [stderr] Checking num v0.4.1 [INFO] [stderr] Checking fluent-asserter v0.1.9 [INFO] [stderr] Compiling displaydoc v0.2.4 [INFO] [stderr] Compiling mockall_double v0.3.1 [INFO] [stderr] Checking regex v1.10.3 [INFO] [stderr] Checking predicates v2.1.5 [INFO] [stderr] Checking mc-build-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling mockall_derive v0.11.4 [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/env.rs:31:24 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Clone, Debug, Display)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_DERIVE_Display_FOR_TargetFamilyError` [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/env.rs:61:24 [INFO] [stdout] | [INFO] [stdout] 61 | #[derive(Clone, Debug, Display)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_DERIVE_Display_FOR_EndiannessError` [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/env.rs:80:24 [INFO] [stdout] | [INFO] [stdout] 80 | #[derive(Clone, Debug, Display)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_DERIVE_Display_FOR_EnvironmentError` [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 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mc-build-rs` (lib) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "f92a074b4942d6b09e5294f044ee4adeafc227f841a23fffcd5a353cecf1e313", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f92a074b4942d6b09e5294f044ee4adeafc227f841a23fffcd5a353cecf1e313", kill_on_drop: false }` [INFO] [stdout] f92a074b4942d6b09e5294f044ee4adeafc227f841a23fffcd5a353cecf1e313