[INFO] cloning repository https://github.com/regolith-linux/regolith-displayd [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/regolith-linux/regolith-displayd" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fregolith-linux%2Fregolith-displayd", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fregolith-linux%2Fregolith-displayd'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d98390898649a3902abf8d3c3baca723a35a564d [INFO] checking regolith-linux/regolith-displayd against master#642c19bfc3a5c1de985bf5d0cc8207ac9d22708a for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fregolith-linux%2Fregolith-displayd" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/regolith-linux/regolith-displayd [INFO] finished tweaking git repo https://github.com/regolith-linux/regolith-displayd [INFO] tweaked toml for git repo https://github.com/regolith-linux/regolith-displayd written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/regolith-linux/regolith-displayd on toolchain 642c19bfc3a5c1de985bf5d0cc8207ac9d22708a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/regolith-linux/regolith-displayd 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" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded trawlcat v0.2.3 [INFO] [stderr] Downloaded swayipc-async v2.0.0 [INFO] [stderr] Downloaded trawldb v0.2.3 [INFO] [stderr] Downloaded string-error v0.1.0 [INFO] [stderr] Downloaded swayipc-types v1.1.0 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 629f99333fbaabe8620edff6e4f3d5006810591ae9a4a61f1246b603fb850cfe [INFO] running `Command { std: "docker" "start" "-a" "629f99333fbaabe8620edff6e4f3d5006810591ae9a4a61f1246b603fb850cfe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "629f99333fbaabe8620edff6e4f3d5006810591ae9a4a61f1246b603fb850cfe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "629f99333fbaabe8620edff6e4f3d5006810591ae9a4a61f1246b603fb850cfe", kill_on_drop: false }` [INFO] [stdout] 629f99333fbaabe8620edff6e4f3d5006810591ae9a4a61f1246b603fb850cfe [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 88e976995488cf574cac1c0713ddc0a6d5b483bb7af49f6a7c6dc0e7544c79cd [INFO] running `Command { std: "docker" "start" "-a" "88e976995488cf574cac1c0713ddc0a6d5b483bb7af49f6a7c6dc0e7544c79cd", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Checking once_cell v1.13.0 [INFO] [stderr] Compiling serde v1.0.139 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Checking fastrand v1.7.0 [INFO] [stderr] Checking slab v0.4.6 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Checking event-listener v2.5.2 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling indexmap v1.9.2 [INFO] [stderr] Checking futures-lite v1.12.0 [INFO] [stderr] Compiling tokio v1.20.0 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling async-trait v0.1.56 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Checking tracing-core v0.1.28 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking parking_lot_core v0.8.5 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking parking_lot_core v0.9.3 [INFO] [stderr] Checking num-integer v0.1.45 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking dirs-sys v0.3.7 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking mio v0.8.4 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking sha1_smol v1.0.0 [INFO] [stderr] Checking easy-parallel v3.2.0 [INFO] [stderr] Checking async-task v4.3.0 [INFO] [stderr] Checking os_str_bytes v6.4.0 [INFO] [stderr] Checking async-broadcast v0.4.0 [INFO] [stderr] Checking sha1 v0.6.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking async-executor v1.4.1 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking dirs v4.0.0 [INFO] [stderr] Checking polling v2.2.0 [INFO] [stderr] Checking nix v0.23.1 [INFO] [stderr] Checking async-channel v1.6.1 [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Checking async-lock v2.5.0 [INFO] [stderr] Checking ordered-stream v0.0.1 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Checking textwrap v0.16.0 [INFO] [stderr] Checking async-io v1.7.0 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Compiling toml v0.5.9 [INFO] [stderr] Checking num-complex v0.4.2 [INFO] [stderr] Checking async-pidfd v0.1.4 [INFO] [stderr] Checking string-error v0.1.0 [INFO] [stderr] Checking pretty_env_logger v0.4.0 [INFO] [stderr] Checking num v0.4.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling serde_derive v1.0.139 [INFO] [stderr] Compiling enumflags2_derive v0.7.4 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling tracing-attributes v0.1.22 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling clap_derive v3.2.18 [INFO] [stderr] Compiling async-recursion v0.3.2 [INFO] [stderr] Compiling serde_repr v0.1.8 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling thiserror v1.0.31 [INFO] [stderr] Compiling proc-macro-crate v1.1.3 [INFO] [stderr] Checking tracing v0.1.35 [INFO] [stderr] Compiling zvariant_derive v3.4.1 [INFO] [stderr] Compiling zbus_macros v2.3.2 [INFO] [stderr] Checking clap v3.2.23 [INFO] [stderr] Checking enumflags2 v0.7.5 [INFO] [stderr] Checking serde_json v1.0.82 [INFO] [stderr] Checking zvariant v3.4.1 [INFO] [stderr] Checking swayipc-types v1.1.0 [INFO] [stderr] Checking zbus_names v2.1.0 [INFO] [stderr] Checking zbus v2.3.2 [INFO] [stderr] Checking swayipc-async v2.0.0 [INFO] [stderr] Checking trawldb v0.2.3 [INFO] [stderr] Checking trawlcat v0.2.3 [INFO] [stderr] Checking regolith-displayd v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `get_dpy_name` [INFO] [stdout] --> src/lib.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | let get_dpy_name = |mon: &MonitorApply| { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_get_dpy_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `get_dpy_name` [INFO] [stdout] --> src/lib.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | let get_dpy_name = |mon: &MonitorApply| { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_get_dpy_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/monitor.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(FromPrimitive, PartialEq, Eq)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MonitorTransform` [INFO] [stdout] 50 | pub enum MonitorTransform { [INFO] [stdout] | ---------------- `MonitorTransform` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/monitor.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(FromPrimitive, PartialEq, Eq)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MonitorTransform` [INFO] [stdout] 50 | pub enum MonitorTransform { [INFO] [stdout] | ---------------- `MonitorTransform` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 59.95s [INFO] running `Command { std: "docker" "inspect" "88e976995488cf574cac1c0713ddc0a6d5b483bb7af49f6a7c6dc0e7544c79cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88e976995488cf574cac1c0713ddc0a6d5b483bb7af49f6a7c6dc0e7544c79cd", kill_on_drop: false }` [INFO] [stdout] 88e976995488cf574cac1c0713ddc0a6d5b483bb7af49f6a7c6dc0e7544c79cd