[INFO] fetching crate rusty-x 0.1.75... [INFO] building rusty-x-0.1.75 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] extracting crate rusty-x 0.1.75 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate rusty-x 0.1.75 [INFO] finished tweaking crates.io crate rusty-x 0.1.75 [INFO] tweaked toml for crates.io crate rusty-x 0.1.75 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rusty-x 0.1.75 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 212 packages to latest compatible versions [INFO] [stderr] Adding ansi_term v0.11.0 (available: v0.12.1) [INFO] [stderr] Adding colored v1.9.4 (available: v3.0.0) [INFO] [stderr] Adding dirs v1.0.5 (available: v6.0.0) [INFO] [stderr] Adding markdown v0.2.0 (available: v1.0.0) [INFO] [stderr] Adding prettyprint v0.3.0 (available: v0.8.1) [INFO] [stderr] Adding skim v0.6.9 (available: v0.20.5) [INFO] [stderr] Adding toml v0.4.10 (available: v0.9.7) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tuikit v0.2.9 [INFO] [stderr] Downloaded fuzzy-matcher v0.2.2 [INFO] [stderr] Downloaded dirs v1.0.5 [INFO] [stderr] Downloaded timer v0.2.0 [INFO] [stderr] Downloaded utf8parse v0.1.1 [INFO] [stderr] Downloaded term v0.5.2 [INFO] [stderr] Downloaded pipeline v0.5.0 [INFO] [stderr] Downloaded directories v1.0.2 [INFO] [stderr] Downloaded shell-words v0.1.0 [INFO] [stderr] Downloaded console v0.6.2 [INFO] [stderr] Downloaded docopt v1.1.1 [INFO] [stderr] Downloaded skim v0.6.9 [INFO] [stderr] Downloaded ansi_colours v1.2.3 [INFO] [stderr] Downloaded nix v0.14.1 [INFO] [stderr] Downloaded clicolors-control v0.2.0 [INFO] [stderr] Downloaded git2 v0.7.5 [INFO] [stderr] Downloaded prettyprint v0.3.0 [INFO] [stderr] Downloaded libgit2-sys v0.7.11 [INFO] [stderr] Downloaded vte v0.3.3 [INFO] [stderr] Downloaded curl-sys v0.4.83+curl-8.15.0 [INFO] [stderr] Downloaded markdown v0.2.0 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 96cb36309c63e32209818cfb60df650a0df1df46e692494af6edc07ab270f4d7 [INFO] running `Command { std: "docker" "start" "-a" "96cb36309c63e32209818cfb60df650a0df1df46e692494af6edc07ab270f4d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "96cb36309c63e32209818cfb60df650a0df1df46e692494af6edc07ab270f4d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96cb36309c63e32209818cfb60df650a0df1df46e692494af6edc07ab270f4d7", kill_on_drop: false }` [INFO] [stdout] 96cb36309c63e32209818cfb60df650a0df1df46e692494af6edc07ab270f4d7 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6bf11c438e36280f9bce654083d991375729e634c0caaafeda9834adbad7f3fa [INFO] running `Command { std: "docker" "start" "-a" "6bf11c438e36280f9bce654083d991375729e634c0caaafeda9834adbad7f3fa", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling libz-sys v1.1.22 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Compiling encoding_index_tests v0.1.4 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling libssh2-sys v0.2.23 [INFO] [stderr] Compiling curl-sys v0.4.83+curl-8.15.0 [INFO] [stderr] Compiling bindgen v0.71.1 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling darling_core v0.9.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling libgit2-sys v0.7.11 [INFO] [stderr] Compiling derive_builder v0.7.2 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Compiling bytemuck v1.23.2 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling term v0.5.2 [INFO] [stderr] Compiling clicolors-control v0.2.0 [INFO] [stderr] Compiling rgb v0.8.52 [INFO] [stderr] Compiling plist v0.4.2 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling aho-corasick v0.5.3 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling thread_local v0.2.7 [INFO] [stderr] Compiling encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-japanese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-korean v1.20141219.5 [INFO] [stderr] Compiling encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Compiling utf8parse v0.1.1 [INFO] [stderr] Compiling regex-syntax v0.3.9 [INFO] [stderr] Compiling utf8-ranges v0.1.3 [INFO] [stderr] Compiling vte v0.3.3 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling encoding v0.2.33 [INFO] [stderr] Compiling darling_macro v0.9.0 [INFO] [stderr] Compiling darling v0.9.0 [INFO] [stderr] Compiling derive_builder_core v0.5.0 [INFO] [stderr] Compiling regex v0.1.80 [INFO] [stderr] Compiling tuikit v0.2.9 [INFO] [stderr] Compiling timer v0.2.0 [INFO] [stderr] Compiling console v0.6.2 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling ansi_colours v1.2.3 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling directories v1.0.2 [INFO] [stderr] Compiling content_inspector v0.2.4 [INFO] [stderr] Compiling shell-words v0.1.0 [INFO] [stderr] Compiling fuzzy-matcher v0.2.2 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling pipeline v0.5.0 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling markdown v0.2.0 [INFO] [stderr] Compiling docopt v1.1.1 [INFO] [stderr] Compiling colored v1.9.4 [INFO] [stderr] Compiling toml v0.4.10 [INFO] [stderr] Compiling skim v0.6.9 [INFO] [stderr] Compiling onig_sys v69.9.1 [INFO] [stderr] Compiling onig v5.0.0 [INFO] [stderr] Compiling syntect v3.3.0 [INFO] [stderr] Compiling git2 v0.7.5 [INFO] [stderr] Compiling prettyprint v0.3.0 [INFO] [stderr] Compiling rusty-x v0.1.75 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:27:42 [INFO] [stdout] | [INFO] [stdout] 27 | Error::FileError(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/x.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | let mut entries: Vec = fs::read_dir(&snippet_location.local)? [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `count` [INFO] [stdout] --> src/x.rs:96:16 [INFO] [stdout] | [INFO] [stdout] 96 | .map(|(count, entry, tags)| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_count` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/bin/main.rs:127:13 [INFO] [stdout] | [INFO] [stdout] 127 | (OpCode::AddSnippet(args.flag_add, &project.locations[choice[0]])) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 127 - (OpCode::AddSnippet(args.flag_add, &project.locations[choice[0]])) [INFO] [stdout] 127 + OpCode::AddSnippet(args.flag_add, &project.locations[choice[0]]) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/bin/main.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 129 | (OpCode::NewSnippet(&project.locations[choice[0]])) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 129 - (OpCode::NewSnippet(&project.locations[choice[0]])) [INFO] [stdout] 129 + OpCode::NewSnippet(&project.locations[choice[0]]) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/bin/main.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | (OpCode::ListSnippets(true)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 132 - (OpCode::ListSnippets(true)) [INFO] [stdout] 132 + OpCode::ListSnippets(true) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/bin/main.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | (OpCode::PullSnippets) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 134 - (OpCode::PullSnippets) [INFO] [stdout] 134 + OpCode::PullSnippets [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/bin/main.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | (OpCode::SaveSnippets) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 136 - (OpCode::SaveSnippets) [INFO] [stdout] 136 + OpCode::SaveSnippets [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/bin/main.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | (OpCode::ListSnippets(false)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 138 - (OpCode::ListSnippets(false)) [INFO] [stdout] 138 + OpCode::ListSnippets(false) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/bin/main.rs:183:21 [INFO] [stdout] | [INFO] [stdout] 183 | (s + ", " [INFO] [stdout] | ^ [INFO] [stdout] 184 | + &format!("{}", ansi_term::Style::new().bold().paint(val.trim())) [INFO] [stdout] 185 | .to_owned()) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 183 ~ s + ", " [INFO] [stdout] 184 | + &format!("{}", ansi_term::Style::new().bold().paint(val.trim())) [INFO] [stdout] 185 ~ .to_owned() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 33s [INFO] running `Command { std: "docker" "inspect" "6bf11c438e36280f9bce654083d991375729e634c0caaafeda9834adbad7f3fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6bf11c438e36280f9bce654083d991375729e634c0caaafeda9834adbad7f3fa", kill_on_drop: false }` [INFO] [stdout] 6bf11c438e36280f9bce654083d991375729e634c0caaafeda9834adbad7f3fa [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8e27a59e2fac71b4a92d81317a78477dbe334c4784b81499e513cac93841b37b [INFO] running `Command { std: "docker" "start" "-a" "8e27a59e2fac71b4a92d81317a78477dbe334c4784b81499e513cac93841b37b", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling rusty-x v0.1.75 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:27:42 [INFO] [stdout] | [INFO] [stdout] 27 | Error::FileError(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/x.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | let mut entries: Vec = fs::read_dir(&snippet_location.local)? [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `count` [INFO] [stdout] --> src/x.rs:96:16 [INFO] [stdout] | [INFO] [stdout] 96 | .map(|(count, entry, tags)| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_count` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/bin/main.rs:127:13 [INFO] [stdout] | [INFO] [stdout] 127 | (OpCode::AddSnippet(args.flag_add, &project.locations[choice[0]])) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 127 - (OpCode::AddSnippet(args.flag_add, &project.locations[choice[0]])) [INFO] [stdout] 127 + OpCode::AddSnippet(args.flag_add, &project.locations[choice[0]]) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/bin/main.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 129 | (OpCode::NewSnippet(&project.locations[choice[0]])) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 129 - (OpCode::NewSnippet(&project.locations[choice[0]])) [INFO] [stdout] 129 + OpCode::NewSnippet(&project.locations[choice[0]]) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/bin/main.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | (OpCode::ListSnippets(true)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 132 - (OpCode::ListSnippets(true)) [INFO] [stdout] 132 + OpCode::ListSnippets(true) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/bin/main.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | (OpCode::PullSnippets) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 134 - (OpCode::PullSnippets) [INFO] [stdout] 134 + OpCode::PullSnippets [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/bin/main.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | (OpCode::SaveSnippets) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 136 - (OpCode::SaveSnippets) [INFO] [stdout] 136 + OpCode::SaveSnippets [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/bin/main.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | (OpCode::ListSnippets(false)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 138 - (OpCode::ListSnippets(false)) [INFO] [stdout] 138 + OpCode::ListSnippets(false) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/bin/main.rs:183:21 [INFO] [stdout] | [INFO] [stdout] 183 | (s + ", " [INFO] [stdout] | ^ [INFO] [stdout] 184 | + &format!("{}", ansi_term::Style::new().bold().paint(val.trim())) [INFO] [stdout] 185 | .to_owned()) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 183 ~ s + ", " [INFO] [stdout] 184 | + &format!("{}", ansi_term::Style::new().bold().paint(val.trim())) [INFO] [stdout] 185 ~ .to_owned() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:27:42 [INFO] [stdout] | [INFO] [stdout] 27 | Error::FileError(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/x.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | let mut entries: Vec = fs::read_dir(&snippet_location.local)? [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `count` [INFO] [stdout] --> src/x.rs:96:16 [INFO] [stdout] | [INFO] [stdout] 96 | .map(|(count, entry, tags)| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_count` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.17s [INFO] running `Command { std: "docker" "inspect" "8e27a59e2fac71b4a92d81317a78477dbe334c4784b81499e513cac93841b37b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e27a59e2fac71b4a92d81317a78477dbe334c4784b81499e513cac93841b37b", kill_on_drop: false }` [INFO] [stdout] 8e27a59e2fac71b4a92d81317a78477dbe334c4784b81499e513cac93841b37b