[INFO] cloning repository https://github.com/lusamreth/winpinner-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lusamreth/winpinner-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flusamreth%2Fwinpinner-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flusamreth%2Fwinpinner-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8ad88bad4af9b2274997aca83cfeadc90edade8f [INFO] building lusamreth/winpinner-rust against try#8b8eff55bd72abbb57167bc42222a7f91d41cb0d for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flusamreth%2Fwinpinner-rust" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lusamreth/winpinner-rust on toolchain 8b8eff55bd72abbb57167bc42222a7f91d41cb0d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/lusamreth/winpinner-rust [INFO] finished tweaking git repo https://github.com/lusamreth/winpinner-rust [INFO] tweaked toml for git repo https://github.com/lusamreth/winpinner-rust written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/lusamreth/winpinner-rust 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" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a159d70494f61ae4089c007f384a1930354d76181cdbf0177d69793e9fe07bc9 [INFO] running `Command { std: "docker" "start" "-a" "a159d70494f61ae4089c007f384a1930354d76181cdbf0177d69793e9fe07bc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a159d70494f61ae4089c007f384a1930354d76181cdbf0177d69793e9fe07bc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a159d70494f61ae4089c007f384a1930354d76181cdbf0177d69793e9fe07bc9", kill_on_drop: false }` [INFO] [stdout] a159d70494f61ae4089c007f384a1930354d76181cdbf0177d69793e9fe07bc9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dfe7ae3831835f8a238b758691b80abead13185ceb0ea589a7dd3016124a798c [INFO] running `Command { std: "docker" "start" "-a" "dfe7ae3831835f8a238b758691b80abead13185ceb0ea589a7dd3016124a798c", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling futures-core v0.3.16 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling futures-task v0.3.16 [INFO] [stderr] Compiling futures-channel v0.3.16 [INFO] [stderr] Compiling futures-sink v0.3.16 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling futures-macro v0.3.16 [INFO] [stderr] Compiling futures-util v0.3.16 [INFO] [stderr] Compiling slab v0.4.3 [INFO] [stderr] Compiling futures-io v0.3.16 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling instant v0.1.10 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling tokio v1.9.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling libdbus-sys v0.2.1 [INFO] [stderr] Compiling lock_api v0.4.4 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling wmctrl v0.1.8 [INFO] [stderr] Compiling tokio-macros v1.3.0 [INFO] [stderr] Compiling dbus v0.9.3 [INFO] [stderr] Compiling futures-executor v0.3.16 [INFO] [stderr] Compiling futures v0.3.16 [INFO] [stderr] Compiling dbus-tokio v0.7.3 [INFO] [stderr] Compiling dbus-crossroads v0.4.0 [INFO] [stderr] Compiling winpinner-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::i64` [INFO] [stdout] --> src/utils/mod.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 125 | use std::i64; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::i64` [INFO] [stdout] --> src/utils/mod.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 125 | use std::i64; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `utils::ProcessWmList` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use utils::ProcessWmList; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wmgetdk` [INFO] [stdout] --> src/main.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | let wmgetdk = || { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_wmgetdk` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | let mut p = dbus_crossroads::Crossroads::new(); [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: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | let mut x = Arc::new(Mutex::new(WinPinner::new())); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn` [INFO] [stdout] --> src/main.rs:76:59 [INFO] [stdout] | [INFO] [stdout] 76 | fn register_iface(cr: &Arc>, conn: Arc) -> IfaceToken { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_conn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `goto` is never used [INFO] [stdout] --> src/main.rs:18:4 [INFO] [stdout] | [INFO] [stdout] 18 | fn goto(loc:u8){ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bruh` is never used [INFO] [stdout] --> src/main.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn bruh(){ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AsyncFnPtr` is never constructed [INFO] [stdout] --> src/utils/mod.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct AsyncFnPtr { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `run` are never used [INFO] [stdout] --> src/utils/mod.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl AsyncFnPtr { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 9 | pub fn new(f: fn() -> F) -> AsyncFnPtr where F: Future + Send + 'static { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | pub async fn run(&self) -> R { (self.func)().await } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProcessWmList` is never constructed [INFO] [stdout] --> src/utils/mod.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct ProcessWmList{ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `wm_list` is never used [INFO] [stdout] --> src/utils/mod.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | fn wm_list<'a>() -> Vec{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `fetch`, `base_find`, `find_with_name`, and `find_with_id` are never used [INFO] [stdout] --> src/utils/mod.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl ProcessWmList { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 33 | pub fn fetch() -> Self{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | fn base_find(&self,finder:impl Fn(&str) -> bool) -> Option<&str>{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn find_with_name<'a>(&self,appname:&str) -> Option<&str>{ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn find_with_id<'a>(&self,winid:&'a str) -> Option<&str>{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process_command` is never used [INFO] [stdout] --> src/utils/mod.rs:80:10 [INFO] [stdout] | [INFO] [stdout] 80 | async fn process_command(child_proc : tokio::process::Child) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `win_root_tree` is never used [INFO] [stdout] --> src/utils/mod.rs:94:14 [INFO] [stdout] | [INFO] [stdout] 94 | pub async fn win_root_tree(needle:&str) -> Option{ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getactivewindow` is never used [INFO] [stdout] --> src/utils/mod.rs:126:8 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn getactivewindow() -> Option{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `wmctrl_goto` is never used [INFO] [stdout] --> src/utils/mod.rs:146:8 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn wmctrl_goto(appid:&str){ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `time` is never used [INFO] [stdout] --> src/utils/test_utils.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn time(closure:impl FnOnce() -> ()) -> std::time::Duration { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `benchmark_async` is never used [INFO] [stdout] --> src/utils/test_utils.rs:20:14 [INFO] [stdout] | [INFO] [stdout] 20 | pub async fn benchmark_async(fnptr:AsyncFnPtr<()>) -> std::time::Duration { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 35.18s [INFO] running `Command { std: "docker" "inspect" "dfe7ae3831835f8a238b758691b80abead13185ceb0ea589a7dd3016124a798c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dfe7ae3831835f8a238b758691b80abead13185ceb0ea589a7dd3016124a798c", kill_on_drop: false }` [INFO] [stdout] dfe7ae3831835f8a238b758691b80abead13185ceb0ea589a7dd3016124a798c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0634a98d3a3b6f59343999bedb34454d29fef901a06eb5a823a8c8bb7794bf34 [INFO] running `Command { std: "docker" "start" "-a" "0634a98d3a3b6f59343999bedb34454d29fef901a06eb5a823a8c8bb7794bf34", kill_on_drop: false }` [INFO] [stderr] Compiling winpinner-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::i64` [INFO] [stdout] --> src/utils/mod.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 125 | use std::i64; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::i64` [INFO] [stdout] --> src/utils/mod.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 125 | use std::i64; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `utils::ProcessWmList` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use utils::ProcessWmList; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wmgetdk` [INFO] [stdout] --> src/main.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | let wmgetdk = || { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_wmgetdk` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | let mut p = dbus_crossroads::Crossroads::new(); [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: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | let mut x = Arc::new(Mutex::new(WinPinner::new())); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn` [INFO] [stdout] --> src/main.rs:76:59 [INFO] [stdout] | [INFO] [stdout] 76 | fn register_iface(cr: &Arc>, conn: Arc) -> IfaceToken { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_conn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `goto` is never used [INFO] [stdout] --> src/main.rs:18:4 [INFO] [stdout] | [INFO] [stdout] 18 | fn goto(loc:u8){ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bruh` is never used [INFO] [stdout] --> src/main.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn bruh(){ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AsyncFnPtr` is never constructed [INFO] [stdout] --> src/utils/mod.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct AsyncFnPtr { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `run` are never used [INFO] [stdout] --> src/utils/mod.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl AsyncFnPtr { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 9 | pub fn new(f: fn() -> F) -> AsyncFnPtr where F: Future + Send + 'static { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | pub async fn run(&self) -> R { (self.func)().await } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProcessWmList` is never constructed [INFO] [stdout] --> src/utils/mod.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct ProcessWmList{ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `wm_list` is never used [INFO] [stdout] --> src/utils/mod.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | fn wm_list<'a>() -> Vec{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `fetch`, `base_find`, `find_with_name`, and `find_with_id` are never used [INFO] [stdout] --> src/utils/mod.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl ProcessWmList { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 33 | pub fn fetch() -> Self{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | fn base_find(&self,finder:impl Fn(&str) -> bool) -> Option<&str>{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn find_with_name<'a>(&self,appname:&str) -> Option<&str>{ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn find_with_id<'a>(&self,winid:&'a str) -> Option<&str>{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process_command` is never used [INFO] [stdout] --> src/utils/mod.rs:80:10 [INFO] [stdout] | [INFO] [stdout] 80 | async fn process_command(child_proc : tokio::process::Child) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `win_root_tree` is never used [INFO] [stdout] --> src/utils/mod.rs:94:14 [INFO] [stdout] | [INFO] [stdout] 94 | pub async fn win_root_tree(needle:&str) -> Option{ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getactivewindow` is never used [INFO] [stdout] --> src/utils/mod.rs:126:8 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn getactivewindow() -> Option{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `wmctrl_goto` is never used [INFO] [stdout] --> src/utils/mod.rs:146:8 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn wmctrl_goto(appid:&str){ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `time` is never used [INFO] [stdout] --> src/utils/test_utils.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn time(closure:impl FnOnce() -> ()) -> std::time::Duration { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `benchmark_async` is never used [INFO] [stdout] --> src/utils/test_utils.rs:20:14 [INFO] [stdout] | [INFO] [stdout] 20 | pub async fn benchmark_async(fnptr:AsyncFnPtr<()>) -> std::time::Duration { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::i64` [INFO] [stdout] --> src/utils/mod.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 125 | use std::i64; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `utils::ProcessWmList` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use utils::ProcessWmList; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::i64` [INFO] [stdout] --> src/utils/mod.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 125 | use std::i64; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `launch_decoy_timing` is never used [INFO] [stdout] --> tests/core.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn launch_decoy_timing(decoy_time:u64,decoy_app:&str){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `BenchmarkFetch` should have a snake case name [INFO] [stdout] --> tests/winfetch.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | mod BenchmarkFetch { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `benchmark_fetch` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `needle` should have an upper case name [INFO] [stdout] --> tests/winfetch.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | const needle:&'static str = "brave-browser"; [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper case: `NEEDLE` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wmgetdk` [INFO] [stdout] --> src/main.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | let wmgetdk = || { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_wmgetdk` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | let mut p = dbus_crossroads::Crossroads::new(); [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: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | let mut x = Arc::new(Mutex::new(WinPinner::new())); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn` [INFO] [stdout] --> src/main.rs:76:59 [INFO] [stdout] | [INFO] [stdout] 76 | fn register_iface(cr: &Arc>, conn: Arc) -> IfaceToken { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_conn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `goto` is never used [INFO] [stdout] --> src/main.rs:18:4 [INFO] [stdout] | [INFO] [stdout] 18 | fn goto(loc:u8){ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bruh` is never used [INFO] [stdout] --> src/main.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn bruh(){ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AsyncFnPtr` is never constructed [INFO] [stdout] --> src/utils/mod.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct AsyncFnPtr { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `run` are never used [INFO] [stdout] --> src/utils/mod.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl AsyncFnPtr { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 9 | pub fn new(f: fn() -> F) -> AsyncFnPtr where F: Future + Send + 'static { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | pub async fn run(&self) -> R { (self.func)().await } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProcessWmList` is never constructed [INFO] [stdout] --> src/utils/mod.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct ProcessWmList{ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `wm_list` is never used [INFO] [stdout] --> src/utils/mod.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | fn wm_list<'a>() -> Vec{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `fetch`, `base_find`, `find_with_name`, and `find_with_id` are never used [INFO] [stdout] --> src/utils/mod.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl ProcessWmList { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 33 | pub fn fetch() -> Self{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | fn base_find(&self,finder:impl Fn(&str) -> bool) -> Option<&str>{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn find_with_name<'a>(&self,appname:&str) -> Option<&str>{ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn find_with_id<'a>(&self,winid:&'a str) -> Option<&str>{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process_command` is never used [INFO] [stdout] --> src/utils/mod.rs:80:10 [INFO] [stdout] | [INFO] [stdout] 80 | async fn process_command(child_proc : tokio::process::Child) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `win_root_tree` is never used [INFO] [stdout] --> src/utils/mod.rs:94:14 [INFO] [stdout] | [INFO] [stdout] 94 | pub async fn win_root_tree(needle:&str) -> Option{ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getactivewindow` is never used [INFO] [stdout] --> src/utils/mod.rs:126:8 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn getactivewindow() -> Option{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `wmctrl_goto` is never used [INFO] [stdout] --> src/utils/mod.rs:146:8 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn wmctrl_goto(appid:&str){ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `time` is never used [INFO] [stdout] --> src/utils/test_utils.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn time(closure:impl FnOnce() -> ()) -> std::time::Duration { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `benchmark_async` is never used [INFO] [stdout] --> src/utils/test_utils.rs:20:14 [INFO] [stdout] | [INFO] [stdout] 20 | pub async fn benchmark_async(fnptr:AsyncFnPtr<()>) -> std::time::Duration { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.48s [INFO] running `Command { std: "docker" "inspect" "0634a98d3a3b6f59343999bedb34454d29fef901a06eb5a823a8c8bb7794bf34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0634a98d3a3b6f59343999bedb34454d29fef901a06eb5a823a8c8bb7794bf34", kill_on_drop: false }` [INFO] [stdout] 0634a98d3a3b6f59343999bedb34454d29fef901a06eb5a823a8c8bb7794bf34