[INFO] fetching crate xdgkit 2.0.2... [INFO] checking xdgkit-2.0.2 against master#db1fb85cff63ad5fffe435e17128f99f9e1d970c for pr-89056 [INFO] extracting crate xdgkit 2.0.2 into /workspace/builds/worker-110/source [INFO] validating manifest of crates.io crate xdgkit 2.0.2 on toolchain db1fb85cff63ad5fffe435e17128f99f9e1d970c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate xdgkit 2.0.2 [INFO] finished tweaking crates.io crate xdgkit 2.0.2 [INFO] tweaked toml for crates.io crate xdgkit 2.0.2 written to /workspace/builds/worker-110/source/Cargo.toml [INFO] crate crates.io crate xdgkit 2.0.2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "fetch" "--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-110/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-110/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 29c0e38295002343cfdfd502dc10f89532987ec2376c3177ed6c8b7eb086e905 [INFO] running `Command { std: "docker" "start" "-a" "29c0e38295002343cfdfd502dc10f89532987ec2376c3177ed6c8b7eb086e905", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "29c0e38295002343cfdfd502dc10f89532987ec2376c3177ed6c8b7eb086e905", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29c0e38295002343cfdfd502dc10f89532987ec2376c3177ed6c8b7eb086e905", kill_on_drop: false }` [INFO] [stdout] 29c0e38295002343cfdfd502dc10f89532987ec2376c3177ed6c8b7eb086e905 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-110/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-110/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 98c86cc58975f5c9dd11add486ab290799555a63b648321302e6aada221996cd [INFO] running `Command { std: "docker" "start" "-a" "98c86cc58975f5c9dd11add486ab290799555a63b648321302e6aada221996cd", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking xmlparser v0.13.3 [INFO] [stderr] Checking os_str_bytes v2.4.0 [INFO] [stderr] Checking tini v1.2.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking textwrap v0.12.1 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking roxmltree v0.14.1 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.2 [INFO] [stderr] Checking clap v3.0.0-beta.2 [INFO] [stderr] Checking xdgkit v2.0.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/categories.rs:645:9 [INFO] [stdout] | [INFO] [stdout] 387 | return AdditionalCategories::Building [INFO] [stdout] | ------------------------------------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 645 | AdditionalCategories::Unknown [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/categories.rs:645:9 [INFO] [stdout] | [INFO] [stdout] 387 | return AdditionalCategories::Building [INFO] [stdout] | ------------------------------------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 645 | AdditionalCategories::Unknown [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `menu` [INFO] [stdout] --> src/basedir.rs:250:9 [INFO] [stdout] | [INFO] [stdout] 250 | let menu = match menu() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_menu` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/basedir.rs:264:13 [INFO] [stdout] | [INFO] [stdout] 264 | Err(e) => return None, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `local_icons` is never read [INFO] [stdout] --> src/basedir.rs:336:13 [INFO] [stdout] | [INFO] [stdout] 336 | let mut local_icons:String = "".to_string(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `return_value` [INFO] [stdout] --> src/desktop_menu.rs:258:17 [INFO] [stdout] | [INFO] [stdout] 258 | let mut return_value:Vec = vec![]; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_return_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item` [INFO] [stdout] --> src/desktop_menu.rs:260:17 [INFO] [stdout] | [INFO] [stdout] 260 | let item = DesktopMenu::component(node); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `theme_dir` [INFO] [stdout] --> src/icon_finder.rs:519:9 [INFO] [stdout] | [INFO] [stdout] 519 | let theme_dir = icon_dirs(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_theme_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `menu` [INFO] [stdout] --> src/basedir.rs:250:9 [INFO] [stdout] | [INFO] [stdout] 250 | let menu = match menu() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_menu` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/basedir.rs:264:13 [INFO] [stdout] | [INFO] [stdout] 264 | Err(e) => return None, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `local_icons` is never read [INFO] [stdout] --> src/basedir.rs:336:13 [INFO] [stdout] | [INFO] [stdout] 336 | let mut local_icons:String = "".to_string(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `return_value` [INFO] [stdout] --> src/desktop_menu.rs:258:17 [INFO] [stdout] | [INFO] [stdout] 258 | let mut return_value:Vec = vec![]; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_return_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item` [INFO] [stdout] --> src/desktop_menu.rs:260:17 [INFO] [stdout] | [INFO] [stdout] 260 | let item = DesktopMenu::component(node); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `theme_dir` [INFO] [stdout] --> src/icon_finder.rs:519:9 [INFO] [stdout] | [INFO] [stdout] 519 | let theme_dir = icon_dirs(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_theme_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/desktop_menu.rs:226:17 [INFO] [stdout] | [INFO] [stdout] 226 | let mut file:String = match node.text() { [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/desktop_menu.rs:226:17 [INFO] [stdout] | [INFO] [stdout] 226 | let mut file:String = match node.text() { [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/desktop_menu.rs:258:13 [INFO] [stdout] | [INFO] [stdout] 258 | let mut return_value:Vec = vec![]; [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/desktop_menu.rs:258:13 [INFO] [stdout] | [INFO] [stdout] 258 | let mut return_value:Vec = vec![]; [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/icon_finder.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | let mut directory_vec = icon_dirs_vector(); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/icon_finder.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | let mut directory_vec = icon_dirs_vector(); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/icon_finder.rs:500:9 [INFO] [stdout] | [INFO] [stdout] 500 | let mut theme:IconTheme = match user_theme(dir_list_vector.clone()){ [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/icon_finder.rs:520:9 [INFO] [stdout] | [INFO] [stdout] 520 | let mut theme_file:String = match get_first_index_theme("hicolor".to_string(), dir_list_vector.clone()) { [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/icon_finder.rs:539:9 [INFO] [stdout] | [INFO] [stdout] 539 | let mut list = icon_list.clone().to_owned(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/icon_finder.rs:540:9 [INFO] [stdout] | [INFO] [stdout] 540 | let mut other = list.clone().to_owned(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/icon_finder.rs:500:9 [INFO] [stdout] | [INFO] [stdout] 500 | let mut theme:IconTheme = match user_theme(dir_list_vector.clone()){ [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/icon_finder.rs:520:9 [INFO] [stdout] | [INFO] [stdout] 520 | let mut theme_file:String = match get_first_index_theme("hicolor".to_string(), dir_list_vector.clone()) { [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/icon_finder.rs:539:9 [INFO] [stdout] | [INFO] [stdout] 539 | let mut list = icon_list.clone().to_owned(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/icon_finder.rs:540:9 [INFO] [stdout] | [INFO] [stdout] 540 | let mut other = list.clone().to_owned(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/categories.rs:645:9 [INFO] [stdout] | [INFO] [stdout] 387 | return AdditionalCategories::Building [INFO] [stdout] | ------------------------------------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 645 | AdditionalCategories::Unknown [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/categories.rs:645:9 [INFO] [stdout] | [INFO] [stdout] 387 | return AdditionalCategories::Building [INFO] [stdout] | ------------------------------------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 645 | AdditionalCategories::Unknown [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `menu` [INFO] [stdout] --> src/basedir.rs:250:9 [INFO] [stdout] | [INFO] [stdout] 250 | let menu = match menu() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_menu` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/basedir.rs:264:13 [INFO] [stdout] | [INFO] [stdout] 264 | Err(e) => return None, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `local_icons` is never read [INFO] [stdout] --> src/basedir.rs:336:13 [INFO] [stdout] | [INFO] [stdout] 336 | let mut local_icons:String = "".to_string(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `return_value` [INFO] [stdout] --> src/desktop_menu.rs:258:17 [INFO] [stdout] | [INFO] [stdout] 258 | let mut return_value:Vec = vec![]; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_return_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item` [INFO] [stdout] --> src/desktop_menu.rs:260:17 [INFO] [stdout] | [INFO] [stdout] 260 | let item = DesktopMenu::component(node); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `theme_dir` [INFO] [stdout] --> src/icon_finder.rs:519:9 [INFO] [stdout] | [INFO] [stdout] 519 | let theme_dir = icon_dirs(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_theme_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `menu` [INFO] [stdout] --> src/basedir.rs:250:9 [INFO] [stdout] | [INFO] [stdout] 250 | let menu = match menu() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_menu` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/basedir.rs:264:13 [INFO] [stdout] | [INFO] [stdout] 264 | Err(e) => return None, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `local_icons` is never read [INFO] [stdout] --> src/basedir.rs:336:13 [INFO] [stdout] | [INFO] [stdout] 336 | let mut local_icons:String = "".to_string(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `return_value` [INFO] [stdout] --> src/desktop_menu.rs:258:17 [INFO] [stdout] | [INFO] [stdout] 258 | let mut return_value:Vec = vec![]; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_return_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item` [INFO] [stdout] --> src/desktop_menu.rs:260:17 [INFO] [stdout] | [INFO] [stdout] 260 | let item = DesktopMenu::component(node); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `theme_dir` [INFO] [stdout] --> src/icon_finder.rs:519:9 [INFO] [stdout] | [INFO] [stdout] 519 | let theme_dir = icon_dirs(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_theme_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/desktop_menu.rs:226:17 [INFO] [stdout] | [INFO] [stdout] 226 | let mut file:String = match node.text() { [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/desktop_menu.rs:258:13 [INFO] [stdout] | [INFO] [stdout] 258 | let mut return_value:Vec = vec![]; [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/desktop_menu.rs:226:17 [INFO] [stdout] | [INFO] [stdout] 226 | let mut file:String = match node.text() { [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/desktop_menu.rs:258:13 [INFO] [stdout] | [INFO] [stdout] 258 | let mut return_value:Vec = vec![]; [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/icon_finder.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | let mut directory_vec = icon_dirs_vector(); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/icon_finder.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | let mut directory_vec = icon_dirs_vector(); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/icon_finder.rs:500:9 [INFO] [stdout] | [INFO] [stdout] 500 | let mut theme:IconTheme = match user_theme(dir_list_vector.clone()){ [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/icon_finder.rs:520:9 [INFO] [stdout] | [INFO] [stdout] 520 | let mut theme_file:String = match get_first_index_theme("hicolor".to_string(), dir_list_vector.clone()) { [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/icon_finder.rs:539:9 [INFO] [stdout] | [INFO] [stdout] 539 | let mut list = icon_list.clone().to_owned(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/icon_finder.rs:540:9 [INFO] [stdout] | [INFO] [stdout] 540 | let mut other = list.clone().to_owned(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/icon_finder.rs:500:9 [INFO] [stdout] | [INFO] [stdout] 500 | let mut theme:IconTheme = match user_theme(dir_list_vector.clone()){ [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/icon_finder.rs:520:9 [INFO] [stdout] | [INFO] [stdout] 520 | let mut theme_file:String = match get_first_index_theme("hicolor".to_string(), dir_list_vector.clone()) { [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/icon_finder.rs:539:9 [INFO] [stdout] | [INFO] [stdout] 539 | let mut list = icon_list.clone().to_owned(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/icon_finder.rs:540:9 [INFO] [stdout] | [INFO] [stdout] 540 | let mut other = list.clone().to_owned(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_string` [INFO] [stdout] --> src/desktop_entry.rs:169:12 [INFO] [stdout] | [INFO] [stdout] 169 | pub fn from_string(dt:String)->DesktopType { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_string` [INFO] [stdout] --> src/desktop_entry.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 180 | pub fn to_string(dt:DesktopType)->String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `empty` [INFO] [stdout] --> src/desktop_menu.rs:265:12 [INFO] [stdout] | [INFO] [stdout] 265 | pub fn empty()->Self where Self:Sized { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `session_menu` [INFO] [stdout] --> src/desktop_menu.rs:280:12 [INFO] [stdout] | [INFO] [stdout] 280 | pub fn session_menu()->Self where Self:Sized { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_string` [INFO] [stdout] --> src/categories.rs:385:12 [INFO] [stdout] | [INFO] [stdout] 385 | pub fn from_string(item:String) -> AdditionalCategories { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/icon_finder.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn new (dir:String, theme:String) -> DirList { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `find_best_icon` [INFO] [stdout] --> src/icon_finder.rs:497:8 [INFO] [stdout] | [INFO] [stdout] 497 | pub fn find_best_icon(icon_list:Vec, size:i32, scale:i32) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `find_best_icon_helper` [INFO] [stdout] --> src/icon_finder.rs:537:8 [INFO] [stdout] | [INFO] [stdout] 537 | pub fn find_best_icon_helper(icon_list:Vec, size:i32, scale:i32, theme:IconTheme, dir_list_vector:Vec) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_string` [INFO] [stdout] --> src/desktop_entry.rs:169:12 [INFO] [stdout] | [INFO] [stdout] 169 | pub fn from_string(dt:String)->DesktopType { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_string` [INFO] [stdout] --> src/desktop_entry.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 180 | pub fn to_string(dt:DesktopType)->String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `empty` [INFO] [stdout] --> src/desktop_menu.rs:265:12 [INFO] [stdout] | [INFO] [stdout] 265 | pub fn empty()->Self where Self:Sized { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `session_menu` [INFO] [stdout] --> src/desktop_menu.rs:280:12 [INFO] [stdout] | [INFO] [stdout] 280 | pub fn session_menu()->Self where Self:Sized { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_string` [INFO] [stdout] --> src/categories.rs:385:12 [INFO] [stdout] | [INFO] [stdout] 385 | pub fn from_string(item:String) -> AdditionalCategories { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/icon_finder.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn new (dir:String, theme:String) -> DirList { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `find_best_icon` [INFO] [stdout] --> src/icon_finder.rs:497:8 [INFO] [stdout] | [INFO] [stdout] 497 | pub fn find_best_icon(icon_list:Vec, size:i32, scale:i32) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `find_best_icon_helper` [INFO] [stdout] --> src/icon_finder.rs:537:8 [INFO] [stdout] | [INFO] [stdout] 537 | pub fn find_best_icon_helper(icon_list:Vec, size:i32, scale:i32, theme:IconTheme, dir_list_vector:Vec) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 10.40s [INFO] running `Command { std: "docker" "inspect" "98c86cc58975f5c9dd11add486ab290799555a63b648321302e6aada221996cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98c86cc58975f5c9dd11add486ab290799555a63b648321302e6aada221996cd", kill_on_drop: false }` [INFO] [stdout] 98c86cc58975f5c9dd11add486ab290799555a63b648321302e6aada221996cd