[INFO] fetching crate rustofi 0.2.2... [INFO] checking rustofi-0.2.2 against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393-1 [INFO] extracting crate rustofi 0.2.2 into /workspace/builds/worker-1-tc1/source [INFO] validating manifest of crates.io crate rustofi 0.2.2 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 rustofi 0.2.2 [INFO] finished tweaking crates.io crate rustofi 0.2.2 [INFO] tweaked toml for crates.io crate rustofi 0.2.2 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate crates.io crate rustofi 0.2.2 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 bincode v1.2.0 [INFO] [stderr] Downloaded serde_cbor v0.9.0 [INFO] [stderr] Downloaded num-traits v0.2.9 [INFO] [stderr] Downloaded crossbeam-utils v0.5.0 [INFO] [stderr] Downloaded proc-macro2 v1.0.6 [INFO] [stderr] Downloaded serde_derive v1.0.102 [INFO] [stderr] Downloaded serde_json v1.0.41 [INFO] [stderr] Downloaded serde v1.0.102 [INFO] [stderr] Downloaded syn v1.0.8 [INFO] [stderr] Downloaded libc v0.2.65 [INFO] [stderr] Downloaded subprocess v0.1.18 [INFO] [stderr] Downloaded half v1.4.0 [INFO] [stderr] Downloaded pickledb v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 2b51b4df14b24d4ea4f14f991b1633f52b38e3c5787ce3cf0e33be9b0c4d8825 [INFO] running `Command { std: "docker" "start" "-a" "2b51b4df14b24d4ea4f14f991b1633f52b38e3c5787ce3cf0e33be9b0c4d8825", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2b51b4df14b24d4ea4f14f991b1633f52b38e3c5787ce3cf0e33be9b0c4d8825", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b51b4df14b24d4ea4f14f991b1633f52b38e3c5787ce3cf0e33be9b0c4d8825", kill_on_drop: false }` [INFO] [stdout] 2b51b4df14b24d4ea4f14f991b1633f52b38e3c5787ce3cf0e33be9b0c4d8825 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] c6db18bf00673f4e232420b4f64d1f80eb52f72b0f716b8fc8c4e9dc8a961698 [INFO] running `Command { std: "docker" "start" "-a" "c6db18bf00673f4e232420b4f64d1f80eb52f72b0f716b8fc8c4e9dc8a961698", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling syn v1.0.8 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling serde v1.0.102 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Checking half v1.4.0 [INFO] [stderr] Checking dtoa v0.4.4 [INFO] [stderr] Compiling bincode v1.2.0 [INFO] [stderr] Compiling num-traits v0.2.9 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking subprocess v0.1.18 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling serde_derive v1.0.102 [INFO] [stderr] Checking rustofi v0.2.2 (/opt/rustwide/workdir) [INFO] [stderr] Checking serde_cbor v0.9.0 [INFO] [stderr] Checking serde_json v1.0.41 [INFO] [stderr] Checking serde_yaml v0.8.11 [INFO] [stderr] Checking pickledb v0.4.0 [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/simple_action.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | let mut p = Person { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> examples/simple_window.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | Window::new("FizzBuzz in Rofi!").lines(8).show(fizzbuzz()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 21 | let _ = Window::new("FizzBuzz in Rofi!").lines(8).show(fizzbuzz()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6.26s [INFO] running `Command { std: "docker" "inspect" "c6db18bf00673f4e232420b4f64d1f80eb52f72b0f716b8fc8c4e9dc8a961698", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6db18bf00673f4e232420b4f64d1f80eb52f72b0f716b8fc8c4e9dc8a961698", kill_on_drop: false }` [INFO] [stdout] c6db18bf00673f4e232420b4f64d1f80eb52f72b0f716b8fc8c4e9dc8a961698 [INFO] checking rustofi-0.2.2 against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393-1 [INFO] extracting crate rustofi 0.2.2 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate rustofi 0.2.2 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 rustofi 0.2.2 [INFO] finished tweaking crates.io crate rustofi 0.2.2 [INFO] tweaked toml for crates.io crate rustofi 0.2.2 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate crates.io crate rustofi 0.2.2 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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 370bb43876f688b53b3f7419dfd4619558fc189cb3197d8e8a2037d3db32b488 [INFO] running `Command { std: "docker" "start" "-a" "370bb43876f688b53b3f7419dfd4619558fc189cb3197d8e8a2037d3db32b488", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "370bb43876f688b53b3f7419dfd4619558fc189cb3197d8e8a2037d3db32b488", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "370bb43876f688b53b3f7419dfd4619558fc189cb3197d8e8a2037d3db32b488", kill_on_drop: false }` [INFO] [stdout] 370bb43876f688b53b3f7419dfd4619558fc189cb3197d8e8a2037d3db32b488 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 9c4e03d0b55ed7586336cd4ddea354549dbbe309fe20ab82c98617f1f6e5382a [INFO] running `Command { std: "docker" "start" "-a" "9c4e03d0b55ed7586336cd4ddea354549dbbe309fe20ab82c98617f1f6e5382a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling syn v1.0.8 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling serde v1.0.102 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Checking half v1.4.0 [INFO] [stderr] Checking dtoa v0.4.4 [INFO] [stderr] Compiling bincode v1.2.0 [INFO] [stderr] Compiling num-traits v0.2.9 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking subprocess v0.1.18 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling serde_derive v1.0.102 [INFO] [stderr] Checking rustofi v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/window.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | #[derive(Debug, ToPrimitive, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_ToPrimitive_FOR_Location` [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 `ToPrimitive` (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 `rustofi` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "9c4e03d0b55ed7586336cd4ddea354549dbbe309fe20ab82c98617f1f6e5382a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c4e03d0b55ed7586336cd4ddea354549dbbe309fe20ab82c98617f1f6e5382a", kill_on_drop: false }` [INFO] [stdout] 9c4e03d0b55ed7586336cd4ddea354549dbbe309fe20ab82c98617f1f6e5382a