[INFO] fetching crate cargo-creator 0.4.1... [INFO] checking cargo-creator-0.4.1 against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393 [INFO] extracting crate cargo-creator 0.4.1 into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate cargo-creator 0.4.1 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 cargo-creator 0.4.1 [INFO] finished tweaking crates.io crate cargo-creator 0.4.1 [INFO] tweaked toml for crates.io crate cargo-creator 0.4.1 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate crates.io crate cargo-creator 0.4.1 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 os_str_bytes v2.4.0 [INFO] [stderr] Downloaded thiserror-impl v1.0.25 [INFO] [stderr] Downloaded termcolor v1.1.2 [INFO] [stderr] Downloaded which v4.1.0 [INFO] [stderr] Downloaded serde_derive v1.0.126 [INFO] [stderr] Downloaded clap_derive v3.0.0-beta.2 [INFO] [stderr] Downloaded line-wrap v0.1.1 [INFO] [stderr] Downloaded thiserror v1.0.25 [INFO] [stderr] Downloaded proc-macro2 v1.0.27 [INFO] [stderr] Downloaded serde v1.0.126 [INFO] [stderr] Downloaded textwrap v0.12.1 [INFO] [stderr] Downloaded itertools v0.10.1 [INFO] [stderr] Downloaded libc v0.2.97 [INFO] [stderr] Downloaded syn v1.0.73 [INFO] [stderr] Downloaded indexmap v1.6.2 [INFO] [stderr] Downloaded redox_syscall v0.2.8 [INFO] [stderr] Downloaded dunce v1.0.2 [INFO] [stderr] Downloaded clap v3.0.0-beta.2 [INFO] [stderr] Downloaded plist v1.1.0 [INFO] [stderr] Downloaded displaydoc v0.2.1 [INFO] [stderr] Downloaded serde_plain v0.3.0 [INFO] [stderr] Downloaded displaydoc v0.1.7 [INFO] [stderr] Downloaded yaserde v0.7.0 [INFO] [stderr] Downloaded creator-simctl v0.1.1 [INFO] [stderr] Downloaded yaserde_derive v0.7.0 [INFO] [stderr] Downloaded creator-tools v0.4.1 [INFO] [stderr] Downloaded android-manifest v0.1.2 [INFO] [stderr] Downloaded apple-bundle v0.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] ad0c239bf1e261c9041d693323c51e29bd3253040449f7bc1de96a0ad98f6af9 [INFO] running `Command { std: "docker" "start" "-a" "ad0c239bf1e261c9041d693323c51e29bd3253040449f7bc1de96a0ad98f6af9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ad0c239bf1e261c9041d693323c51e29bd3253040449f7bc1de96a0ad98f6af9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad0c239bf1e261c9041d693323c51e29bd3253040449f7bc1de96a0ad98f6af9", kill_on_drop: false }` [INFO] [stdout] ad0c239bf1e261c9041d693323c51e29bd3253040449f7bc1de96a0ad98f6af9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 847a753711d6d8ac77f4482f6bca8f7afa6ba086fa109d90ae5b66821d885075 [INFO] running `Command { std: "docker" "start" "-a" "847a753711d6d8ac77f4482f6bca8f7afa6ba086fa109d90ae5b66821d885075", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Checking xml-rs v0.8.3 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking line-wrap v0.1.1 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking yaserde v0.7.0 [INFO] [stderr] Checking textwrap v0.12.1 [INFO] [stderr] Checking itertools v0.10.1 [INFO] [stderr] Checking dunce v1.0.2 [INFO] [stderr] Checking os_str_bytes v2.4.0 [INFO] [stderr] Checking fs_extra v1.2.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking dirs-sys v0.3.6 [INFO] [stderr] Checking which v4.1.0 [INFO] [stderr] Checking colored v2.0.0 [INFO] [stderr] Checking dirs v3.0.2 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking pretty_env_logger v0.4.0 [INFO] [stderr] Compiling thiserror-impl v1.0.25 [INFO] [stderr] Compiling yaserde_derive v0.7.0 [INFO] [stderr] Compiling displaydoc v0.2.1 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.2 [INFO] [stderr] Compiling displaydoc v0.1.7 [INFO] [stderr] Checking thiserror v1.0.25 [INFO] [stderr] Checking clap v3.0.0-beta.2 [INFO] [stderr] Checking serde_plain v0.3.0 [INFO] [stderr] Checking plist v1.1.0 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking android-manifest v0.1.2 [INFO] [stderr] Checking apple-bundle v0.1.2 [INFO] [stderr] Checking cargo_toml v0.8.1 [INFO] [stderr] Checking creator-simctl v0.1.1 [INFO] [stderr] Checking creator-tools v0.4.1 [INFO] [stderr] Checking cargo-creator v0.4.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 23.84s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: fs_extra v1.2.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "847a753711d6d8ac77f4482f6bca8f7afa6ba086fa109d90ae5b66821d885075", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "847a753711d6d8ac77f4482f6bca8f7afa6ba086fa109d90ae5b66821d885075", kill_on_drop: false }` [INFO] [stdout] 847a753711d6d8ac77f4482f6bca8f7afa6ba086fa109d90ae5b66821d885075 [INFO] checking cargo-creator-0.4.1 against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393 [INFO] extracting crate cargo-creator 0.4.1 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate cargo-creator 0.4.1 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 cargo-creator 0.4.1 [INFO] finished tweaking crates.io crate cargo-creator 0.4.1 [INFO] tweaked toml for crates.io crate cargo-creator 0.4.1 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate crates.io crate cargo-creator 0.4.1 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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] b2e917bf6e04d00aa78d870e348f816cc398a8af09fc38f36a520245318029d2 [INFO] running `Command { std: "docker" "start" "-a" "b2e917bf6e04d00aa78d870e348f816cc398a8af09fc38f36a520245318029d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b2e917bf6e04d00aa78d870e348f816cc398a8af09fc38f36a520245318029d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2e917bf6e04d00aa78d870e348f816cc398a8af09fc38f36a520245318029d2", kill_on_drop: false }` [INFO] [stdout] b2e917bf6e04d00aa78d870e348f816cc398a8af09fc38f36a520245318029d2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] d432f00f5476fba6d6f5ea7245eaf1178d85419254b16018d038674bdb93fd16 [INFO] running `Command { std: "docker" "start" "-a" "d432f00f5476fba6d6f5ea7245eaf1178d85419254b16018d038674bdb93fd16", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking xml-rs v0.8.3 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking line-wrap v0.1.1 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking textwrap v0.12.1 [INFO] [stderr] Checking itertools v0.10.1 [INFO] [stderr] Checking dunce v1.0.2 [INFO] [stderr] Checking fs_extra v1.2.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking os_str_bytes v2.4.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Checking yaserde v0.7.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking dirs-sys v0.3.6 [INFO] [stderr] Checking which v4.1.0 [INFO] [stderr] Checking colored v2.0.0 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking dirs v3.0.2 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking pretty_env_logger v0.4.0 [INFO] [stderr] Compiling thiserror-impl v1.0.25 [INFO] [stderr] Compiling displaydoc v0.2.1 [INFO] [stderr] Compiling yaserde_derive v0.7.0 [INFO] [stderr] Compiling displaydoc v0.1.7 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.2 [INFO] [stderr] Checking thiserror v1.0.25 [INFO] [stderr] Checking clap v3.0.0-beta.2 [INFO] [stderr] Checking serde_plain v0.3.0 [INFO] [stderr] Checking plist v1.1.0 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking android-manifest v0.1.2 [INFO] [stderr] Checking apple-bundle v0.1.2 [INFO] [stderr] Checking creator-simctl v0.1.1 [INFO] [stderr] Checking cargo_toml v0.8.1 [INFO] [stderr] Checking creator-tools v0.4.1 [INFO] [stderr] Checking cargo-creator v0.4.1 (/opt/rustwide/workdir) [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/error.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Display, Debug, 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: 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: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cargo-creator` (lib test) due to 2 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/error.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Display, Debug, 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: 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: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cargo-creator` (lib) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "d432f00f5476fba6d6f5ea7245eaf1178d85419254b16018d038674bdb93fd16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d432f00f5476fba6d6f5ea7245eaf1178d85419254b16018d038674bdb93fd16", kill_on_drop: false }` [INFO] [stdout] d432f00f5476fba6d6f5ea7245eaf1178d85419254b16018d038674bdb93fd16