[INFO] fetching crate dmgwiz 0.2.4... [INFO] checking dmgwiz-0.2.4 against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393 [INFO] extracting crate dmgwiz 0.2.4 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate dmgwiz 0.2.4 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 dmgwiz 0.2.4 [INFO] finished tweaking crates.io crate dmgwiz 0.2.4 [INFO] tweaked toml for crates.io crate dmgwiz 0.2.4 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate crates.io crate dmgwiz 0.2.4 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 line-wrap v0.1.1 [INFO] [stderr] Downloaded time-macros v0.2.11 [INFO] [stderr] Downloaded plist v1.5.0 [INFO] [stderr] Downloaded adc v0.2.1 [INFO] [stderr] Downloaded lzfse-sys v1.0.0 [INFO] [stderr] Downloaded deranged v0.3.6 [INFO] [stderr] Downloaded time v0.3.24 [INFO] [stderr] Downloaded quick-xml v0.29.0 [INFO] [stderr] Downloaded file_diff v1.0.0 [INFO] [stderr] Downloaded openssl-src v111.26.0+1.1.1u [INFO] [stderr] Downloaded lzfse v0.1.0 [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] aaae8aa5cebfec50116e3812e5c6d927f9aa27fd84492b20548b11bb9e863efb [INFO] running `Command { std: "docker" "start" "-a" "aaae8aa5cebfec50116e3812e5c6d927f9aa27fd84492b20548b11bb9e863efb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aaae8aa5cebfec50116e3812e5c6d927f9aa27fd84492b20548b11bb9e863efb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aaae8aa5cebfec50116e3812e5c6d927f9aa27fd84492b20548b11bb9e863efb", kill_on_drop: false }` [INFO] [stdout] aaae8aa5cebfec50116e3812e5c6d927f9aa27fd84492b20548b11bb9e863efb [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] ed1bc0da0e8f03262828f36eb97547315ebb2f42b77fea15ed9d72741fc15bdb [INFO] running `Command { std: "docker" "start" "-a" "ed1bc0da0e8f03262828f36eb97547315ebb2f42b77fea15ed9d72741fc15bdb", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling openssl-src v111.26.0+1.1.1u [INFO] [stderr] Compiling serde v1.0.180 [INFO] [stderr] Compiling lzfse-sys v1.0.0 [INFO] [stderr] Compiling serde_derive v1.0.180 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Checking unicode-width v0.1.10 [INFO] [stderr] Checking deranged v0.3.6 [INFO] [stderr] Checking time-core v0.1.1 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Compiling openssl v0.10.55 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking line-wrap v0.1.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking quick-xml v0.29.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Compiling syn v2.0.28 [INFO] [stderr] Checking file_diff v1.0.0 [INFO] [stderr] Checking adc v0.2.1 [INFO] [stderr] Compiling openssl-sys v0.9.90 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Checking time v0.3.24 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking ring v0.16.20 [INFO] [stderr] Checking lzfse v0.1.0 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking bzip2 v0.4.4 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Checking plist v1.5.0 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking dmgwiz v0.2.4 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 15.58s [INFO] running `Command { std: "docker" "inspect" "ed1bc0da0e8f03262828f36eb97547315ebb2f42b77fea15ed9d72741fc15bdb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed1bc0da0e8f03262828f36eb97547315ebb2f42b77fea15ed9d72741fc15bdb", kill_on_drop: false }` [INFO] [stdout] ed1bc0da0e8f03262828f36eb97547315ebb2f42b77fea15ed9d72741fc15bdb [INFO] checking dmgwiz-0.2.4 against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393 [INFO] extracting crate dmgwiz 0.2.4 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate dmgwiz 0.2.4 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 dmgwiz 0.2.4 [INFO] finished tweaking crates.io crate dmgwiz 0.2.4 [INFO] tweaked toml for crates.io crate dmgwiz 0.2.4 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate crates.io crate dmgwiz 0.2.4 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-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] 0e5e662c3495e50961a29fc6aa880b7412bb95e4c186be63ded4c25ffc3e746a [INFO] running `Command { std: "docker" "start" "-a" "0e5e662c3495e50961a29fc6aa880b7412bb95e4c186be63ded4c25ffc3e746a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0e5e662c3495e50961a29fc6aa880b7412bb95e4c186be63ded4c25ffc3e746a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e5e662c3495e50961a29fc6aa880b7412bb95e4c186be63ded4c25ffc3e746a", kill_on_drop: false }` [INFO] [stdout] 0e5e662c3495e50961a29fc6aa880b7412bb95e4c186be63ded4c25ffc3e746a [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] 875844348bffa228ac51b3f7ab5b2c14cd571338f1abf489bb7137bd1b827974 [INFO] running `Command { std: "docker" "start" "-a" "875844348bffa228ac51b3f7ab5b2c14cd571338f1abf489bb7137bd1b827974", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling openssl-src v111.26.0+1.1.1u [INFO] [stderr] Compiling serde v1.0.180 [INFO] [stderr] Compiling lzfse-sys v1.0.0 [INFO] [stderr] Compiling serde_derive v1.0.180 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking unicode-width v0.1.10 [INFO] [stderr] Checking time-core v0.1.1 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking deranged v0.3.6 [INFO] [stderr] Compiling openssl v0.10.55 [INFO] [stderr] Checking quick-xml v0.29.0 [INFO] [stderr] Checking line-wrap v0.1.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Compiling syn v2.0.28 [INFO] [stderr] Checking file_diff v1.0.0 [INFO] [stderr] Checking adc v0.2.1 [INFO] [stderr] Compiling openssl-sys v0.9.90 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Checking time v0.3.24 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking ring v0.16.20 [INFO] [stderr] Checking lzfse v0.1.0 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking bzip2 v0.4.4 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Checking plist v1.5.0 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking dmgwiz v0.2.4 (/opt/rustwide/workdir) [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/lib.rs:104:10 [INFO] [stdout] | [INFO] [stdout] 104 | #[derive(FromPrimitive, Debug, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_ChunkType` [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 `FromPrimitive` (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/lib.rs:104:10 [INFO] [stdout] | [INFO] [stdout] 104 | #[derive(FromPrimitive, Debug, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_ChunkType` [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 `FromPrimitive` (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] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `dmgwiz` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `dmgwiz` (lib test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "875844348bffa228ac51b3f7ab5b2c14cd571338f1abf489bb7137bd1b827974", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "875844348bffa228ac51b3f7ab5b2c14cd571338f1abf489bb7137bd1b827974", kill_on_drop: false }` [INFO] [stdout] 875844348bffa228ac51b3f7ab5b2c14cd571338f1abf489bb7137bd1b827974