[INFO] cloning repository https://github.com/1sra3l/xdgkit [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/1sra3l/xdgkit" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F1sra3l%2Fxdgkit", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F1sra3l%2Fxdgkit'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 34b410e7550094f4eab75d3186ec850a33d5578a [INFO] checking 1sra3l/xdgkit against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F1sra3l%2Fxdgkit" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/1sra3l/xdgkit on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/1sra3l/xdgkit [INFO] finished tweaking git repo https://github.com/1sra3l/xdgkit [INFO] tweaked toml for git repo https://github.com/1sra3l/xdgkit written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/1sra3l/xdgkit already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "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-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c983a8b6b0a3f18f505508396fa364ee9121dac90a6eae6eecae4b34f2bc043e [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" "c983a8b6b0a3f18f505508396fa364ee9121dac90a6eae6eecae4b34f2bc043e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c983a8b6b0a3f18f505508396fa364ee9121dac90a6eae6eecae4b34f2bc043e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c983a8b6b0a3f18f505508396fa364ee9121dac90a6eae6eecae4b34f2bc043e", kill_on_drop: false }` [INFO] [stdout] c983a8b6b0a3f18f505508396fa364ee9121dac90a6eae6eecae4b34f2bc043e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c25c2a49ee94010854889cc339e6cced835708d57c21174f1ce8c5d4a279fb5b [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" "c25c2a49ee94010854889cc339e6cced835708d57c21174f1ce8c5d4a279fb5b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Checking xmlparser v0.13.3 [INFO] [stderr] Checking tini v1.2.0 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking roxmltree v0.14.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.2 [INFO] [stderr] Checking clap v3.0.0-beta.2 [INFO] [stderr] Checking xdgkit v1.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: value assigned to `local_icons` is never read [INFO] [stdout] --> src/basedir.rs:257:13 [INFO] [stdout] | [INFO] [stdout] 257 | 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: `tag` [INFO] [stdout] --> src/desktop_menu.rs:245:17 [INFO] [stdout] | [INFO] [stdout] 245 | let tag = node.tag_name(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tag` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `local_icons` is never read [INFO] [stdout] --> src/basedir.rs:257:13 [INFO] [stdout] | [INFO] [stdout] 257 | 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: `tag` [INFO] [stdout] --> src/desktop_menu.rs:245:17 [INFO] [stdout] | [INFO] [stdout] 245 | let tag = node.tag_name(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tag` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `local_icons` is never read [INFO] [stdout] --> src/basedir.rs:257:13 [INFO] [stdout] | [INFO] [stdout] 257 | 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: `tag` [INFO] [stdout] --> src/desktop_menu.rs:245:17 [INFO] [stdout] | [INFO] [stdout] 245 | let tag = node.tag_name(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tag` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `theme_dir` [INFO] [stdout] --> src/icon_finder.rs:514:9 [INFO] [stdout] | [INFO] [stdout] 514 | 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: value assigned to `local_icons` is never read [INFO] [stdout] --> src/basedir.rs:257:13 [INFO] [stdout] | [INFO] [stdout] 257 | 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: `tag` [INFO] [stdout] --> src/desktop_menu.rs:245:17 [INFO] [stdout] | [INFO] [stdout] 245 | let tag = node.tag_name(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tag` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `theme_dir` [INFO] [stdout] --> src/icon_finder.rs:514:9 [INFO] [stdout] | [INFO] [stdout] 514 | 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/icon_finder.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | let mut directory_vec = icon_dirs_vector(); [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/icon_finder.rs:495:9 [INFO] [stdout] | [INFO] [stdout] 495 | 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:515:9 [INFO] [stdout] | [INFO] [stdout] 515 | 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:534:9 [INFO] [stdout] | [INFO] [stdout] 534 | 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:535:9 [INFO] [stdout] | [INFO] [stdout] 535 | 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:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | let mut directory_vec = icon_dirs_vector(); [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: associated function is never used: `from_string` [INFO] [stdout] --> src/desktop_menu.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn from_string(item:String) -> MergeType{ [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: `component` [INFO] [stdout] --> src/desktop_menu.rs:200:11 [INFO] [stdout] | [INFO] [stdout] 200 | pub fn component(element:String, node:Node) -> DesktopMenu{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/icon_finder.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | 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:492:8 [INFO] [stdout] | [INFO] [stdout] 492 | 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:532:8 [INFO] [stdout] | [INFO] [stdout] 532 | 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: variable does not need to be mutable [INFO] [stdout] --> src/icon_finder.rs:495:9 [INFO] [stdout] | [INFO] [stdout] 495 | 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:515:9 [INFO] [stdout] | [INFO] [stdout] 515 | 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:534:9 [INFO] [stdout] | [INFO] [stdout] 534 | 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:535:9 [INFO] [stdout] | [INFO] [stdout] 535 | 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_menu.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn from_string(item:String) -> MergeType{ [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: `component` [INFO] [stdout] --> src/desktop_menu.rs:200:11 [INFO] [stdout] | [INFO] [stdout] 200 | pub fn component(element:String, node:Node) -> DesktopMenu{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/icon_finder.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | 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:492:8 [INFO] [stdout] | [INFO] [stdout] 492 | 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:532:8 [INFO] [stdout] | [INFO] [stdout] 532 | 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: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 21.66s [INFO] running `Command { std: "docker" "inspect" "c25c2a49ee94010854889cc339e6cced835708d57c21174f1ce8c5d4a279fb5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c25c2a49ee94010854889cc339e6cced835708d57c21174f1ce8c5d4a279fb5b", kill_on_drop: false }` [INFO] [stdout] c25c2a49ee94010854889cc339e6cced835708d57c21174f1ce8c5d4a279fb5b