[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] 96af6a84395930c03c0025891cf2c2553e963a00 [INFO] checking regolith-linux/regolith-displayd against master#b44e14f762fd4062faeba97f8f2bc470298ec1ac for pr-135331 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fregolith-linux%2Fregolith-displayd" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/regolith-linux/regolith-displayd on toolchain b44e14f762fd4062faeba97f8f2bc470298ec1ac [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b44e14f762fd4062faeba97f8f2bc470298ec1ac" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-2-tc1/source/Cargo.toml [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" "+b44e14f762fd4062faeba97f8f2bc470298ec1ac" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded zvariant_derive v3.4.1 [INFO] [stderr] Downloaded zbus_macros v2.3.2 [INFO] [stderr] Downloaded trawlcat v0.2.3 [INFO] [stderr] Downloaded swayipc-types v1.1.0 [INFO] [stderr] Downloaded async-broadcast v0.4.0 [INFO] [stderr] Downloaded swayipc-async v2.0.0 [INFO] [stderr] Downloaded trawldb v0.2.3 [INFO] [stderr] Downloaded zvariant v3.4.1 [INFO] [stderr] Downloaded zbus v2.3.2 [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+b44e14f762fd4062faeba97f8f2bc470298ec1ac" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 098edcebeb0b998168d6643781d3c4ba3034f8ab94bdf2dc71ca53652e673d7b [INFO] running `Command { std: "docker" "start" "-a" "098edcebeb0b998168d6643781d3c4ba3034f8ab94bdf2dc71ca53652e673d7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "098edcebeb0b998168d6643781d3c4ba3034f8ab94bdf2dc71ca53652e673d7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "098edcebeb0b998168d6643781d3c4ba3034f8ab94bdf2dc71ca53652e673d7b", kill_on_drop: false }` [INFO] [stdout] 098edcebeb0b998168d6643781d3c4ba3034f8ab94bdf2dc71ca53652e673d7b [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+b44e14f762fd4062faeba97f8f2bc470298ec1ac" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f14ef1e712306c0dc1facc4dc25dd7561acfadb128f2276996df06fbaab382c2 [INFO] running `Command { std: "docker" "start" "-a" "f14ef1e712306c0dc1facc4dc25dd7561acfadb128f2276996df06fbaab382c2", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling serde_derive v1.0.139 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Checking once_cell v1.13.0 [INFO] [stderr] Compiling serde v1.0.139 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Checking smallvec v1.9.0 [INFO] [stderr] Checking cache-padded v1.2.0 [INFO] [stderr] Checking concurrent-queue v1.2.2 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking waker-fn v1.1.0 [INFO] [stderr] Checking slab v0.4.6 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Checking parking v2.0.0 [INFO] [stderr] Checking fastrand v1.7.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking futures-lite v1.12.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking event-listener v2.5.2 [INFO] [stderr] Compiling futures-task v0.3.21 [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 atty v0.2.14 [INFO] [stderr] Compiling tokio v1.20.0 [INFO] [stderr] Compiling indexmap v1.9.2 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling async-trait v0.1.56 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking dirs-sys v0.3.7 [INFO] [stderr] Checking mio v0.8.4 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking tracing-core v0.1.28 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Checking os_str_bytes v6.4.0 [INFO] [stderr] Checking async-task v4.3.0 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Checking sha1_smol v1.0.0 [INFO] [stderr] Checking easy-parallel v3.2.0 [INFO] [stderr] Compiling serde_json v1.0.82 [INFO] [stderr] Checking sha1 v0.6.1 [INFO] [stderr] Checking async-broadcast v0.4.0 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking async-executor v1.4.1 [INFO] [stderr] Checking dirs v4.0.0 [INFO] [stderr] Checking nix v0.23.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking polling v2.2.0 [INFO] [stderr] Checking async-channel v1.6.1 [INFO] [stderr] Checking async-lock v2.5.0 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Checking ordered-stream v0.0.1 [INFO] [stderr] Checking textwrap v0.16.0 [INFO] [stderr] Compiling toml v0.5.9 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking itoa v1.0.2 [INFO] [stderr] Checking ryu v1.0.10 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Checking async-io v1.7.0 [INFO] [stderr] Checking async-pidfd v0.1.4 [INFO] [stderr] Checking num-complex v0.4.2 [INFO] [stderr] Checking string-error v0.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [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 clap_derive v3.2.18 [INFO] [stderr] Compiling serde_repr v0.1.8 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling async-recursion v0.3.2 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking num v0.4.0 [INFO] [stderr] Compiling thiserror v1.0.31 [INFO] [stderr] Compiling proc-macro-crate v1.1.3 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Checking pretty_env_logger v0.4.0 [INFO] [stderr] Compiling zvariant_derive v3.4.1 [INFO] [stderr] Checking tracing v0.1.35 [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 zvariant v3.4.1 [INFO] [stderr] Checking swayipc-types v1.1.0 [INFO] [stderr] Checking swayipc-async v2.0.0 [INFO] [stderr] Checking zbus_names v2.1.0 [INFO] [stderr] Checking zbus v2.3.2 [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 import: `error` [INFO] [stdout] --> src/monitor.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use log::{error, warn}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/monitor.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use log::{error, warn}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `get_dpy_name` [INFO] [stdout] --> src/lib.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 83 | 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `get_dpy_name` [INFO] [stdout] --> src/lib.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 83 | 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)]` 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 1m 19s [INFO] running `Command { std: "docker" "inspect" "f14ef1e712306c0dc1facc4dc25dd7561acfadb128f2276996df06fbaab382c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f14ef1e712306c0dc1facc4dc25dd7561acfadb128f2276996df06fbaab382c2", kill_on_drop: false }` [INFO] [stdout] f14ef1e712306c0dc1facc4dc25dd7561acfadb128f2276996df06fbaab382c2