[INFO] cloning repository https://github.com/JulianKominovic/gnome-dbus-api [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JulianKominovic/gnome-dbus-api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJulianKominovic%2Fgnome-dbus-api", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJulianKominovic%2Fgnome-dbus-api'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8312a2d5af6fd3c61d6ed926583968a29cbc9620 [INFO] checking JulianKominovic/gnome-dbus-api/8312a2d5af6fd3c61d6ed926583968a29cbc9620 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJulianKominovic%2Fgnome-dbus-api" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/JulianKominovic/gnome-dbus-api on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/JulianKominovic/gnome-dbus-api [INFO] finished tweaking git repo https://github.com/JulianKominovic/gnome-dbus-api [INFO] tweaked toml for git repo https://github.com/JulianKominovic/gnome-dbus-api written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/JulianKominovic/gnome-dbus-api 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded async-executor v1.5.4 [INFO] [stderr] Downloaded serde_repr v0.1.16 [INFO] [stderr] Downloaded async-process v1.7.0 [INFO] [stderr] Downloaded parking v2.1.1 [INFO] [stderr] Downloaded blocking v1.4.0 [INFO] [stderr] Downloaded upower_dbus v0.3.2 [INFO] [stderr] Downloaded async-task v4.4.1 [INFO] [stderr] Downloaded winnow v0.5.16 [INFO] [stderr] Downloaded rustix v0.37.24 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 208720ac00acc4b6abd0f39588ec55ec309ad774323d79bd865607bf5adfe174 [INFO] running `Command { std: "docker" "start" "-a" "208720ac00acc4b6abd0f39588ec55ec309ad774323d79bd865607bf5adfe174", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "208720ac00acc4b6abd0f39588ec55ec309ad774323d79bd865607bf5adfe174", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "208720ac00acc4b6abd0f39588ec55ec309ad774323d79bd865607bf5adfe174", kill_on_drop: false }` [INFO] [stdout] 208720ac00acc4b6abd0f39588ec55ec309ad774323d79bd865607bf5adfe174 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 648d4ec6b90c83a038e6a39d4350b9491bda99413ca670c426998457ca5a8dc8 [INFO] running `Command { std: "docker" "start" "-a" "648d4ec6b90c83a038e6a39d4350b9491bda99413ca670c426998457ca5a8dc8", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling hashbrown v0.14.1 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling winnow v0.5.16 [INFO] [stderr] Compiling proc-macro2 v1.0.68 [INFO] [stderr] Compiling target-lexicon v0.12.11 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling smallvec v1.11.1 [INFO] [stderr] Compiling version-compare v0.1.1 [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking futures-io v0.3.28 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling thiserror v1.0.49 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Checking event-listener v2.5.3 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling indexmap v2.0.2 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling cfg-expr v0.15.5 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Checking concurrent-queue v2.3.0 [INFO] [stderr] Compiling semver v1.0.19 [INFO] [stderr] Checking waker-fn v1.1.1 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Checking fastrand v1.9.0 [INFO] [stderr] Checking parking v2.1.1 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Checking futures-lite v1.13.0 [INFO] [stderr] Checking async-lock v2.8.0 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking fastrand v2.0.1 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking async-task v4.4.1 [INFO] [stderr] Compiling gio v0.15.12 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Compiling regex-syntax v0.7.5 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Compiling rustix v0.37.24 [INFO] [stderr] Checking piper v0.2.1 [INFO] [stderr] Compiling aho-corasick v1.1.1 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking async-channel v1.9.0 [INFO] [stderr] Compiling async-fs v1.6.0 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Compiling async-trait v0.1.73 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking linux-raw-sys v0.3.8 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking rayon v1.8.0 [INFO] [stderr] Checking flate2 v1.0.27 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling field-offset v0.3.6 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Compiling toml_datetime v0.6.3 [INFO] [stderr] Compiling serde_spanned v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Checking weezl v0.1.7 [INFO] [stderr] Checking cpufeatures v0.2.9 [INFO] [stderr] Compiling toml_edit v0.20.2 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking async-executor v1.5.4 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking fdeflate v0.3.0 [INFO] [stderr] Checking async-broadcast v0.5.1 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Compiling gtk v0.15.5 [INFO] [stderr] Checking ordered-stream v0.2.0 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Checking half v2.2.1 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Checking bytemuck v1.14.0 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking futures-executor v0.3.28 [INFO] [stderr] Checking xdg-home v1.0.0 [INFO] [stderr] Checking exr v1.71.0 [INFO] [stderr] Checking png v0.17.10 [INFO] [stderr] Checking jpeg-decoder v0.3.0 [INFO] [stderr] Checking gif v0.12.0 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking base64 v0.21.4 [INFO] [stderr] Compiling regex-automata v0.3.9 [INFO] [stderr] Checking tiff v0.9.0 [INFO] [stderr] Compiling toml v0.8.2 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling system-deps v6.1.2 [INFO] [stderr] Compiling thiserror-impl v1.0.49 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling tracing-attributes v0.1.26 [INFO] [stderr] Compiling enumflags2_derive v0.7.8 [INFO] [stderr] Compiling serde_repr v0.1.16 [INFO] [stderr] Compiling async-recursion v1.0.5 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling glib-sys v0.15.10 [INFO] [stderr] Compiling gobject-sys v0.15.10 [INFO] [stderr] Compiling gio-sys v0.15.10 [INFO] [stderr] Compiling cairo-sys-rs v0.15.1 [INFO] [stderr] Compiling pango-sys v0.15.10 [INFO] [stderr] Compiling gdk-pixbuf-sys v0.15.10 [INFO] [stderr] Compiling atk-sys v0.15.1 [INFO] [stderr] Compiling gdk-sys v0.15.1 [INFO] [stderr] Compiling zvariant_utils v1.0.1 [INFO] [stderr] Compiling gtk-sys v0.15.3 [INFO] [stderr] Checking image v0.24.7 [INFO] [stderr] Checking tokio v1.32.0 [INFO] [stderr] Compiling regex v1.9.6 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Compiling glib-macros v0.15.13 [INFO] [stderr] Compiling zvariant_derive v3.15.0 [INFO] [stderr] Checking blocking v1.4.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling gtk3-macros v0.15.6 [INFO] [stderr] Compiling zbus_macros v3.14.1 [INFO] [stderr] Checking glib v0.15.12 [INFO] [stderr] Checking enumflags2 v0.7.8 [INFO] [stderr] Checking zvariant v3.15.0 [INFO] [stderr] Checking zbus_names v2.6.0 [INFO] [stderr] Checking zbus v3.14.1 [INFO] [stderr] Checking cairo-rs v0.15.12 [INFO] [stderr] Checking pango v0.15.10 [INFO] [stderr] Checking atk v0.15.1 [INFO] [stderr] Checking upower_dbus v0.3.2 [INFO] [stderr] Checking gdk-pixbuf v0.15.11 [INFO] [stderr] Checking gdk v0.15.4 [INFO] [stderr] Checking gnome-dbus-api v1.0.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant `OUT_OF_DATE` should have an upper camel case name [INFO] [stdout] --> src/handlers.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | OUT_OF_DATE = 4, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `OutOfDate` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `OUT_OF_DATE` should have an upper camel case name [INFO] [stdout] --> src/handlers.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | OUT_OF_DATE = 4, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `OutOfDate` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> src/handlers.rs:357:50 [INFO] [stdout] | [INFO] [stdout] 357 | let res_base64 = base64::encode(image_data); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> src/handlers.rs:357:50 [INFO] [stdout] | [INFO] [stdout] 357 | let res_base64 = base64::encode(image_data); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/tests.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | let (r, g, b) = screenshot::pick_color().await; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `g` [INFO] [stdout] --> src/tests.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | let (r, g, b) = screenshot::pick_color().await; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/tests.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 17 | let (r, g, b) = screenshot::pick_color().await; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `ActiveProfile` should have a snake case name [INFO] [stdout] --> src/handlers.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | fn ActiveProfile(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `active_profile` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_ActiveProfile` should have a snake case name [INFO] [stdout] --> src/handlers.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | fn set_ActiveProfile(&self, profile: String) -> Result<()>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `set_active_profile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Brightness` should have a snake case name [INFO] [stdout] --> src/handlers.rs:195:12 [INFO] [stdout] | [INFO] [stdout] 195 | fn Brightness(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `brightness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_Brightness` should have a snake case name [INFO] [stdout] --> src/handlers.rs:197:12 [INFO] [stdout] | [INFO] [stdout] 197 | fn set_Brightness(&self, brightness: i32) -> Result<()>; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `set_brightness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `battery_state` [INFO] [stdout] --> src/tests.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | let battery_state = battery_display.state().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_battery_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `temperature` [INFO] [stdout] --> src/tests.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | let temperature = battery_display.temperature().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_temperature` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `model` [INFO] [stdout] --> src/tests.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | let model = battery_display.model().await.unwrap(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_model` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vendor` [INFO] [stdout] --> src/tests.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | let vendor = battery_display.vendor().await.unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_vendor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `battery_type` [INFO] [stdout] --> src/tests.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | let battery_type = battery_display.type_().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_battery_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pick_color` is never used [INFO] [stdout] --> src/tests.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | async fn pick_color() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `power_off` is never used [INFO] [stdout] --> src/tests.rs:212:10 [INFO] [stdout] | [INFO] [stdout] 212 | async fn power_off() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reboot` is never used [INFO] [stdout] --> src/tests.rs:215:10 [INFO] [stdout] | [INFO] [stdout] 215 | async fn reboot() { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `suspend` is never used [INFO] [stdout] --> src/tests.rs:218:10 [INFO] [stdout] | [INFO] [stdout] 218 | async fn suspend() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `brightness_up` is never used [INFO] [stdout] --> src/tests.rs:254:10 [INFO] [stdout] | [INFO] [stdout] 254 | async fn brightness_up() -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `brightness_down` is never used [INFO] [stdout] --> src/tests.rs:258:10 [INFO] [stdout] | [INFO] [stdout] 258 | async fn brightness_down() -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_brightness` is never used [INFO] [stdout] --> src/tests.rs:262:10 [INFO] [stdout] | [INFO] [stdout] 262 | async fn get_brightness() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_brightness` is never used [INFO] [stdout] --> src/tests.rs:266:10 [INFO] [stdout] | [INFO] [stdout] 266 | async fn set_brightness(value: i32) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `ActiveProfile` should have a snake case name [INFO] [stdout] --> src/handlers.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | fn ActiveProfile(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `active_profile` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_ActiveProfile` should have a snake case name [INFO] [stdout] --> src/handlers.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | fn set_ActiveProfile(&self, profile: String) -> Result<()>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `set_active_profile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Brightness` should have a snake case name [INFO] [stdout] --> src/handlers.rs:195:12 [INFO] [stdout] | [INFO] [stdout] 195 | fn Brightness(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `brightness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_Brightness` should have a snake case name [INFO] [stdout] --> src/handlers.rs:197:12 [INFO] [stdout] | [INFO] [stdout] 197 | fn set_Brightness(&self, brightness: i32) -> Result<()>; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `set_brightness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 23s [INFO] running `Command { std: "docker" "inspect" "648d4ec6b90c83a038e6a39d4350b9491bda99413ca670c426998457ca5a8dc8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "648d4ec6b90c83a038e6a39d4350b9491bda99413ca670c426998457ca5a8dc8", kill_on_drop: false }` [INFO] [stdout] 648d4ec6b90c83a038e6a39d4350b9491bda99413ca670c426998457ca5a8dc8