[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] 6c94fd552f3a4c553a58b33678e1f0d7beb2a30e [INFO] checking regolith-linux/regolith-displayd against try#93086cfebfccb79083c59d0d3b2052944bba643c for pr-146440-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fregolith-linux%2Fregolith-displayd" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/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-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/regolith-linux/regolith-displayd on toolchain 93086cfebfccb79083c59d0d3b2052944bba643c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "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" "+93086cfebfccb79083c59d0d3b2052944bba643c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 33ab6120cc4772c87273363e6c5807a2e8c8cd64a4e4577395b8a94eaef6a984 [INFO] running `Command { std: "docker" "start" "-a" "33ab6120cc4772c87273363e6c5807a2e8c8cd64a4e4577395b8a94eaef6a984", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "33ab6120cc4772c87273363e6c5807a2e8c8cd64a4e4577395b8a94eaef6a984", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33ab6120cc4772c87273363e6c5807a2e8c8cd64a4e4577395b8a94eaef6a984", kill_on_drop: false }` [INFO] [stdout] 33ab6120cc4772c87273363e6c5807a2e8c8cd64a4e4577395b8a94eaef6a984 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5b353328ab08506891cd3c69390d35584ce231a3982b974690ad6cf32b5eb11f [INFO] running `Command { std: "docker" "start" "-a" "5b353328ab08506891cd3c69390d35584ce231a3982b974690ad6cf32b5eb11f", 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 syn v1.0.98 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Compiling serde_derive v1.0.139 [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] Checking smallvec v1.9.0 [INFO] [stderr] Checking cache-padded v1.2.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking concurrent-queue v1.2.2 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Checking slab v0.4.6 [INFO] [stderr] Checking waker-fn v1.1.0 [INFO] [stderr] Checking parking v2.0.0 [INFO] [stderr] Checking fastrand v1.7.0 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking event-listener v2.5.2 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling tokio v1.20.0 [INFO] [stderr] Compiling indexmap v1.9.2 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Compiling async-trait v0.1.56 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Checking tracing-core v0.1.28 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Checking sha1_smol v1.0.0 [INFO] [stderr] Checking async-task v4.3.0 [INFO] [stderr] Checking os_str_bytes v6.4.0 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Checking easy-parallel v3.2.0 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking futures-lite v1.12.0 [INFO] [stderr] Compiling serde_json v1.0.82 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking sha1 v0.6.1 [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 strsim v0.10.0 [INFO] [stderr] Checking textwrap v0.16.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking itoa v1.0.2 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking ryu v1.0.10 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking string-error v0.1.0 [INFO] [stderr] Checking num-complex v0.4.2 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking mio v0.8.4 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking dirs-sys v0.3.7 [INFO] [stderr] Checking dirs v4.0.0 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking polling v2.2.0 [INFO] [stderr] Checking nix v0.23.1 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking async-executor v1.4.1 [INFO] [stderr] Checking async-io v1.7.0 [INFO] [stderr] Checking async-broadcast v0.4.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking async-pidfd v0.1.4 [INFO] [stderr] Checking regex v1.6.0 [INFO] [stderr] Checking num v0.4.0 [INFO] [stderr] Compiling toml v0.5.9 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking pretty_env_logger v0.4.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 async-recursion v0.3.2 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling clap_derive v3.2.18 [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 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 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] error: struct `ServerError` is never constructed [INFO] [stdout] --> src/lib.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct ServerError { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] = note: `#[deny(unused_unconstructable_pub_structs)]` (part of `#[deny(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] error: struct `ServerError` is never constructed [INFO] [stdout] --> src/lib.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct ServerError { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] = note: `#[deny(unused_unconstructable_pub_structs)]` (part of `#[deny(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] [stderr] error: could not compile `regolith-displayd` (lib) due to 1 previous error; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `regolith-displayd` (lib test) due to 1 previous error; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5b353328ab08506891cd3c69390d35584ce231a3982b974690ad6cf32b5eb11f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b353328ab08506891cd3c69390d35584ce231a3982b974690ad6cf32b5eb11f", kill_on_drop: false }` [INFO] [stdout] 5b353328ab08506891cd3c69390d35584ce231a3982b974690ad6cf32b5eb11f