[INFO] cloning repository https://github.com/RouHim/chwp-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/RouHim/chwp-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRouHim%2Fchwp-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRouHim%2Fchwp-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 125a7c09b5533f6ab6da570bd918e6f758efb746 [INFO] checking RouHim/chwp-rust against beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRouHim%2Fchwp-rust" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/RouHim/chwp-rust on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/RouHim/chwp-rust [INFO] finished tweaking git repo https://github.com/RouHim/chwp-rust [INFO] tweaked toml for git repo https://github.com/RouHim/chwp-rust written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/RouHim/chwp-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 11d28ada25a14ed2f68dfb0fe57de7bf8d9ddd3160bbe14a6b9c4602a191a77e [INFO] running `Command { std: "docker" "start" "-a" "11d28ada25a14ed2f68dfb0fe57de7bf8d9ddd3160bbe14a6b9c4602a191a77e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "11d28ada25a14ed2f68dfb0fe57de7bf8d9ddd3160bbe14a6b9c4602a191a77e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11d28ada25a14ed2f68dfb0fe57de7bf8d9ddd3160bbe14a6b9c4602a191a77e", kill_on_drop: false }` [INFO] [stdout] 11d28ada25a14ed2f68dfb0fe57de7bf8d9ddd3160bbe14a6b9c4602a191a77e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a33325d261bf6ff6b4d7e1dce1021971c461e1533ccbbf8e35dc958c81d9f940 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "a33325d261bf6ff6b4d7e1dce1021971c461e1533ccbbf8e35dc958c81d9f940", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.61 [INFO] [stderr] Checking weezl v0.1.2 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Compiling curl v0.4.34 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling num-rational v0.3.1 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Checking getrandom v0.1.15 [INFO] [stderr] Checking socket2 v0.3.15 [INFO] [stderr] Checking dirs-sys v0.3.5 [INFO] [stderr] Checking png v0.16.7 [INFO] [stderr] Checking dirs v3.0.1 [INFO] [stderr] Checking jpeg-decoder v0.1.20 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking gif v0.11.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking tiff v0.6.0 [INFO] [stderr] Compiling libz-sys v1.1.2 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling curl-sys v0.4.38+curl-7.73.0 [INFO] [stderr] Checking image v0.23.11 [INFO] [stderr] Checking serde_json v1.0.59 [INFO] [stderr] Checking chwp-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `QFile` [INFO] [stdout] --> src/display_manager.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | if (QFile::exists("/bin/feh") || QFile::exists("usr/bin/feh")) { [INFO] [stdout] | ^^^^^ use of undeclared type `QFile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `QFile` [INFO] [stdout] --> src/display_manager.rs:36:42 [INFO] [stdout] | [INFO] [stdout] 36 | if (QFile::exists("/bin/feh") || QFile::exists("usr/bin/feh")) { [INFO] [stdout] | ^^^^^ use of undeclared type `QFile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `executeCommand` in this scope [INFO] [stdout] --> src/display_manager.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | executeCommand(createKdePlasmaChangeWallpaperCommand(wallpaperFileName)); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `createKdePlasmaChangeWallpaperCommand` in this scope [INFO] [stdout] --> src/display_manager.rs:33:24 [INFO] [stdout] | [INFO] [stdout] 33 | executeCommand(createKdePlasmaChangeWallpaperCommand(wallpaperFileName)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `wallpaperFileName` in this scope [INFO] [stdout] --> src/display_manager.rs:33:62 [INFO] [stdout] | [INFO] [stdout] 33 | executeCommand(createKdePlasmaChangeWallpaperCommand(wallpaperFileName)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `executeCommand` in this scope [INFO] [stdout] --> src/display_manager.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | executeCommand(createKdePlasmaChangeLockscreenCommand(wallpaperFileName)); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `createKdePlasmaChangeLockscreenCommand` in this scope [INFO] [stdout] --> src/display_manager.rs:34:24 [INFO] [stdout] | [INFO] [stdout] 34 | executeCommand(createKdePlasmaChangeLockscreenCommand(wallpaperFileName)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `wallpaperFileName` in this scope [INFO] [stdout] --> src/display_manager.rs:34:63 [INFO] [stdout] | [INFO] [stdout] 34 | executeCommand(createKdePlasmaChangeLockscreenCommand(wallpaperFileName)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `executeCommand` in this scope [INFO] [stdout] --> src/display_manager.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | executeCommand("feh --bg-scale " + wallpaperFileName); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `wallpaperFileName` in this scope [INFO] [stdout] --> src/display_manager.rs:37:48 [INFO] [stdout] | [INFO] [stdout] 37 | executeCommand("feh --bg-scale " + wallpaperFileName); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `setXfceWallpaper` in this scope [INFO] [stdout] --> src/display_manager.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | setXfceWallpaper(wallpaperFileName); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `wallpaperFileName` in this scope [INFO] [stdout] --> src/display_manager.rs:39:30 [INFO] [stdout] | [INFO] [stdout] 39 | setXfceWallpaper(wallpaperFileName); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `QFile` [INFO] [stdout] --> src/display_manager.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | if (QFile::exists("/bin/feh") || QFile::exists("usr/bin/feh")) { [INFO] [stdout] | ^^^^^ use of undeclared type `QFile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `qInfo` in this scope [INFO] [stdout] --> src/display_manager.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | qInfo() << display_manager << " is not supported yet."; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `isGSettingsValueEquals` in this scope [INFO] [stdout] --> src/display_manager.rs:47:10 [INFO] [stdout] | [INFO] [stdout] 47 | if (!isGSettingsValueEquals(key, value)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `executeCommand` in this scope [INFO] [stdout] --> src/display_manager.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | executeCommand("gsettings set " + key + " " + value); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::process::Command` [INFO] [stdout] --> src/display.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::process::Command; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `QFile` [INFO] [stdout] --> src/display_manager.rs:36:42 [INFO] [stdout] | [INFO] [stdout] 36 | if (QFile::exists("/bin/feh") || QFile::exists("usr/bin/feh")) { [INFO] [stdout] | ^^^^^ use of undeclared type `QFile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::process::Command` [INFO] [stdout] --> src/kde.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::process::Command; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/display_manager.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | if (QFile::exists("/bin/feh") || QFile::exists("usr/bin/feh")) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/display_manager.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | if (!isGSettingsValueEquals(key, value)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `executeCommand` in this scope [INFO] [stdout] --> src/display_manager.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | executeCommand(createKdePlasmaChangeWallpaperCommand(wallpaperFileName)); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `createKdePlasmaChangeWallpaperCommand` in this scope [INFO] [stdout] --> src/display_manager.rs:33:24 [INFO] [stdout] | [INFO] [stdout] 33 | executeCommand(createKdePlasmaChangeWallpaperCommand(wallpaperFileName)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `wallpaperFileName` in this scope [INFO] [stdout] --> src/display_manager.rs:33:62 [INFO] [stdout] | [INFO] [stdout] 33 | executeCommand(createKdePlasmaChangeWallpaperCommand(wallpaperFileName)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `executeCommand` in this scope [INFO] [stdout] --> src/display_manager.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | executeCommand(createKdePlasmaChangeLockscreenCommand(wallpaperFileName)); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `createKdePlasmaChangeLockscreenCommand` in this scope [INFO] [stdout] --> src/display_manager.rs:34:24 [INFO] [stdout] | [INFO] [stdout] 34 | executeCommand(createKdePlasmaChangeLockscreenCommand(wallpaperFileName)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `wallpaperFileName` in this scope [INFO] [stdout] --> src/display_manager.rs:34:63 [INFO] [stdout] | [INFO] [stdout] 34 | executeCommand(createKdePlasmaChangeLockscreenCommand(wallpaperFileName)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `executeCommand` in this scope [INFO] [stdout] --> src/display_manager.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | executeCommand("feh --bg-scale " + wallpaperFileName); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `wallpaperFileName` in this scope [INFO] [stdout] --> src/display_manager.rs:37:48 [INFO] [stdout] | [INFO] [stdout] 37 | executeCommand("feh --bg-scale " + wallpaperFileName); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `setXfceWallpaper` in this scope [INFO] [stdout] --> src/display_manager.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | setXfceWallpaper(wallpaperFileName); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `wallpaperFileName` in this scope [INFO] [stdout] --> src/display_manager.rs:39:30 [INFO] [stdout] | [INFO] [stdout] 39 | setXfceWallpaper(wallpaperFileName); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `qInfo` in this scope [INFO] [stdout] --> src/display_manager.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | qInfo() << display_manager << " is not supported yet."; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `isGSettingsValueEquals` in this scope [INFO] [stdout] --> src/display_manager.rs:47:10 [INFO] [stdout] | [INFO] [stdout] 47 | if (!isGSettingsValueEquals(key, value)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `executeCommand` in this scope [INFO] [stdout] --> src/display_manager.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | executeCommand("gsettings set " + key + " " + value); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::process::Command` [INFO] [stdout] --> src/display.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::process::Command; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::process::Command` [INFO] [stdout] --> src/kde.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::process::Command; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/display_manager.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | if (QFile::exists("/bin/feh") || QFile::exists("usr/bin/feh")) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/display_manager.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | if (!isGSettingsValueEquals(key, value)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/display.rs:29:17 [INFO] [stdout] | [INFO] [stdout] 29 | "(xrandr -q|sed -n 's/.*current[ ]\\([0-9]*\\) x \\([0-9]*\\),.*/\\1x\\2/p')".to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&std::string::String`, found struct `std::string::String` [INFO] [stdout] | help: consider borrowing here: `&"(xrandr -q|sed -n 's/.*current[ ]\\([0-9]*\\) x \\([0-9]*\\),.*/\\1x\\2/p')".to_string()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/display.rs:29:17 [INFO] [stdout] | [INFO] [stdout] 29 | "(xrandr -q|sed -n 's/.*current[ ]\\([0-9]*\\) x \\([0-9]*\\),.*/\\1x\\2/p')".to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&std::string::String`, found struct `std::string::String` [INFO] [stdout] | help: consider borrowing here: `&"(xrandr -q|sed -n 's/.*current[ ]\\([0-9]*\\) x \\([0-9]*\\),.*/\\1x\\2/p')".to_string()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/display.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | "(DISPLAY=:0 xrandr -q|sed -n 's/.*current[ ]\\([0-9]*\\) x \\([0-9]*\\),.*/\\1x\\2/p')".to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&std::string::String`, found struct `std::string::String` [INFO] [stdout] | help: consider borrowing here: `&"(DISPLAY=:0 xrandr -q|sed -n 's/.*current[ ]\\([0-9]*\\) x \\([0-9]*\\),.*/\\1x\\2/p')".to_string()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/display.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | "(DISPLAY=:0 xrandr -q|sed -n 's/.*current[ ]\\([0-9]*\\) x \\([0-9]*\\),.*/\\1x\\2/p')".to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&std::string::String`, found struct `std::string::String` [INFO] [stdout] | help: consider borrowing here: `&"(DISPLAY=:0 xrandr -q|sed -n 's/.*current[ ]\\([0-9]*\\) x \\([0-9]*\\),.*/\\1x\\2/p')".to_string()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/display.rs:83:30 [INFO] [stdout] | [INFO] [stdout] 83 | cli::execute_command(cmd) [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&std::string::String`, found struct `std::string::String` [INFO] [stdout] | help: consider borrowing here: `&cmd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/display.rs:85:30 [INFO] [stdout] | [INFO] [stdout] 85 | cli::execute_command(String::from("DISPLAY=:0 ") + &cmd) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&std::string::String`, found struct `std::string::String` [INFO] [stdout] | help: consider borrowing here: `&(String::from("DISPLAY=:0 ") + &cmd)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/display.rs:83:30 [INFO] [stdout] | [INFO] [stdout] 83 | cli::execute_command(cmd) [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&std::string::String`, found struct `std::string::String` [INFO] [stdout] | help: consider borrowing here: `&cmd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/display.rs:85:30 [INFO] [stdout] | [INFO] [stdout] 85 | cli::execute_command(String::from("DISPLAY=:0 ") + &cmd) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&std::string::String`, found struct `std::string::String` [INFO] [stdout] | help: consider borrowing here: `&(String::from("DISPLAY=:0 ") + &cmd)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/kde.rs:53:26 [INFO] [stdout] | [INFO] [stdout] 53 | cli::execute_command(change_kde_wallpaper_cmd.to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&std::string::String`, found struct `std::string::String` [INFO] [stdout] | help: consider borrowing here: `&change_kde_wallpaper_cmd.to_string()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/kde.rs:53:26 [INFO] [stdout] | [INFO] [stdout] 53 | cli::execute_command(change_kde_wallpaper_cmd.to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&std::string::String`, found struct `std::string::String` [INFO] [stdout] | help: consider borrowing here: `&change_kde_wallpaper_cmd.to_string()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/display_manager.rs:20:88 [INFO] [stdout] | [INFO] [stdout] 20 | gnome::write_settings(&"org.gnome.desktop.background picture-uri".to_string(), file_wallpaper_path); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&std::string::String`, found struct `std::string::String` [INFO] [stdout] | help: consider borrowing here: `&file_wallpaper_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/display_manager.rs:22:89 [INFO] [stdout] | [INFO] [stdout] 22 | gnome::write_settings(&"org.gnome.desktop.screensaver picture-uri".to_string(), file_wallpaper_path); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&std::string::String`, found struct `std::string::String` [INFO] [stdout] | help: consider borrowing here: `&file_wallpaper_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/display_manager.rs:25:91 [INFO] [stdout] | [INFO] [stdout] 25 | gnome::write_settings(&"org.cinnamon.desktop.background picture-uri".to_string(), file_wallpaper_path); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&std::string::String`, found struct `std::string::String` [INFO] [stdout] | help: consider borrowing here: `&file_wallpaper_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/display_manager.rs:28:100 [INFO] [stdout] | [INFO] [stdout] 28 | gnome::write_settings(&"com.deepin.wrap.gnome.desktop.background picture-uri".to_string(), file_wallpaper_path); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&std::string::String`, found struct `std::string::String` [INFO] [stdout] | help: consider borrowing here: `&file_wallpaper_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/display_manager.rs:20:88 [INFO] [stdout] | [INFO] [stdout] 20 | gnome::write_settings(&"org.gnome.desktop.background picture-uri".to_string(), file_wallpaper_path); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&std::string::String`, found struct `std::string::String` [INFO] [stdout] | help: consider borrowing here: `&file_wallpaper_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/display_manager.rs:30:101 [INFO] [stdout] | [INFO] [stdout] 30 | gnome::write_settings(&"com.deepin.wrap.gnome.desktop.screensaver picture-uri".to_string(), file_wallpaper_path); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&std::string::String`, found struct `std::string::String` [INFO] [stdout] | help: consider borrowing here: `&file_wallpaper_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/display_manager.rs:22:89 [INFO] [stdout] | [INFO] [stdout] 22 | gnome::write_settings(&"org.gnome.desktop.screensaver picture-uri".to_string(), file_wallpaper_path); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&std::string::String`, found struct `std::string::String` [INFO] [stdout] | help: consider borrowing here: `&file_wallpaper_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/display_manager.rs:25:91 [INFO] [stdout] | [INFO] [stdout] 25 | gnome::write_settings(&"org.cinnamon.desktop.background picture-uri".to_string(), file_wallpaper_path); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&std::string::String`, found struct `std::string::String` [INFO] [stdout] | help: consider borrowing here: `&file_wallpaper_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/display_manager.rs:28:100 [INFO] [stdout] | [INFO] [stdout] 28 | gnome::write_settings(&"com.deepin.wrap.gnome.desktop.background picture-uri".to_string(), file_wallpaper_path); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&std::string::String`, found struct `std::string::String` [INFO] [stdout] | help: consider borrowing here: `&file_wallpaper_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/display_manager.rs:30:101 [INFO] [stdout] | [INFO] [stdout] 30 | gnome::write_settings(&"com.deepin.wrap.gnome.desktop.screensaver picture-uri".to_string(), file_wallpaper_path); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&std::string::String`, found struct `std::string::String` [INFO] [stdout] | help: consider borrowing here: `&file_wallpaper_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: cannot add `&std::string::String` to `&str` [INFO] [stdout] --> src/display_manager.rs:48:41 [INFO] [stdout] | [INFO] [stdout] 48 | executeCommand("gsettings set " + key + " " + value); [INFO] [stdout] | ---------------- ^ --- &std::string::String [INFO] [stdout] | | | [INFO] [stdout] | | `+` cannot be used to concatenate two `&str` strings [INFO] [stdout] | &str [INFO] [stdout] | [INFO] [stdout] help: `to_owned()` can be used to create an owned `String` from a string reference. String concatenation appends the string on the right to the string on the left and may require reallocation. This requires ownership of the string on the left [INFO] [stdout] | [INFO] [stdout] 48 | executeCommand("gsettings set ".to_owned() + key + " " + value); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: cannot add `&std::string::String` to `&str` [INFO] [stdout] --> src/display_manager.rs:48:41 [INFO] [stdout] | [INFO] [stdout] 48 | executeCommand("gsettings set " + key + " " + value); [INFO] [stdout] | ---------------- ^ --- &std::string::String [INFO] [stdout] | | | [INFO] [stdout] | | `+` cannot be used to concatenate two `&str` strings [INFO] [stdout] | &str [INFO] [stdout] | [INFO] [stdout] help: `to_owned()` can be used to create an owned `String` from a string reference. String concatenation appends the string on the right to the string on the left and may require reallocation. This requires ownership of the string on the left [INFO] [stdout] | [INFO] [stdout] 48 | executeCommand("gsettings set ".to_owned() + key + " " + value); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gnome.rs:5:60 [INFO] [stdout] | [INFO] [stdout] 5 | cli::execute_command(["gsettings set".to_string(), key, value].join(" ")); [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | expected struct `std::string::String`, found `&std::string::String` [INFO] [stdout] | help: try using a conversion method: `key.to_string()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `std::string::String` with `&std::string::String` [INFO] [stdout] --> src/gnome.rs:10:31 [INFO] [stdout] | [INFO] [stdout] 10 | return read_settings(key) == value; [INFO] [stdout] | ^^ no implementation for `std::string::String == &std::string::String` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq<&std::string::String>` is not implemented for `std::string::String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gnome.rs:5:60 [INFO] [stdout] | [INFO] [stdout] 5 | cli::execute_command(["gsettings set".to_string(), key, value].join(" ")); [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | expected struct `std::string::String`, found `&std::string::String` [INFO] [stdout] | help: try using a conversion method: `key.to_string()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `std::string::String` with `&std::string::String` [INFO] [stdout] --> src/gnome.rs:10:31 [INFO] [stdout] | [INFO] [stdout] 10 | return read_settings(key) == value; [INFO] [stdout] | ^^ no implementation for `std::string::String == &std::string::String` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq<&std::string::String>` is not implemented for `std::string::String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gnome.rs:14:63 [INFO] [stdout] | [INFO] [stdout] 14 | return cli::execute_command(["gsettings get".to_string(), key].join(" ")); [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | expected struct `std::string::String`, found `&std::string::String` [INFO] [stdout] | help: try using a conversion method: `key.to_string()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 29 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0369, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `chwp-rust` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gnome.rs:14:63 [INFO] [stdout] | [INFO] [stdout] 14 | return cli::execute_command(["gsettings get".to_string(), key].join(" ")); [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | expected struct `std::string::String`, found `&std::string::String` [INFO] [stdout] | help: try using a conversion method: `key.to_string()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 29 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0369, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "a33325d261bf6ff6b4d7e1dce1021971c461e1533ccbbf8e35dc958c81d9f940", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a33325d261bf6ff6b4d7e1dce1021971c461e1533ccbbf8e35dc958c81d9f940", kill_on_drop: false }` [INFO] [stdout] a33325d261bf6ff6b4d7e1dce1021971c461e1533ccbbf8e35dc958c81d9f940