[INFO] fetching crate cllog 0.2.0... [INFO] checking cllog-0.2.0 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate cllog 0.2.0 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate cllog 0.2.0 [INFO] finished tweaking crates.io crate cllog 0.2.0 [INFO] tweaked toml for crates.io crate cllog 0.2.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate cllog 0.2.0 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate cllog 0.2.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: file `/workspace/builds/worker-4-tc2/source/src/main.rs` found to be present in multiple build targets: [INFO] [stderr] * `bin` target `cl` [INFO] [stderr] * `bin` target `cllog` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 468aa14e8a5b5dded2e0d01d34aec836acad96b58f9ea46455bb3e3c2a53f008 [INFO] running `Command { std: "docker" "start" "-a" "468aa14e8a5b5dded2e0d01d34aec836acad96b58f9ea46455bb3e3c2a53f008", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "468aa14e8a5b5dded2e0d01d34aec836acad96b58f9ea46455bb3e3c2a53f008", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "468aa14e8a5b5dded2e0d01d34aec836acad96b58f9ea46455bb3e3c2a53f008", kill_on_drop: false }` [INFO] [stdout] 468aa14e8a5b5dded2e0d01d34aec836acad96b58f9ea46455bb3e3c2a53f008 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1dbc84554292e2d58538be69b387618d27dcb0acae0bdec34e2af7966c1acf68 [INFO] running `Command { std: "docker" "start" "-a" "1dbc84554292e2d58538be69b387618d27dcb0acae0bdec34e2af7966c1acf68", kill_on_drop: false }` [INFO] [stderr] warning: file `/opt/rustwide/workdir/src/main.rs` found to be present in multiple build targets: [INFO] [stderr] * `bin` target `cl` [INFO] [stderr] * `bin` target `cllog` [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling cc v1.0.68 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking gimli v0.24.0 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking rustc-demangle v0.1.19 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking hambands v0.1.2 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking object v0.25.3 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling backtrace v0.3.60 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking dirs-sys v0.3.6 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking colored v2.0.0 [INFO] [stderr] Checking dirs v3.0.2 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking lexical v5.2.2 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Checking addr2line v0.15.2 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling cli-table-derive v0.4.4 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking bstr v0.2.16 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking csv v1.1.6 [INFO] [stderr] Checking adif v0.1.0 [INFO] [stderr] Checking cli-table v0.4.6 [INFO] [stderr] Checking autojson v0.1.0 [INFO] [stderr] Checking cllog v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: found module declaration for lib.rs [INFO] [stdout] --> src/main.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | mod lib; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: lib.rs is the root of this crate's library target [INFO] [stdout] = help: to refer to it from other targets, use the library's name as the path [INFO] [stdout] = note: `#[warn(special_module_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `value_t` [INFO] [stdout] --> src/cli.rs:1:105 [INFO] [stdout] | [INFO] [stdout] 1 | use clap::{App, AppSettings, Arg, ArgMatches, SubCommand, crate_authors, crate_description, crate_name, value_t}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Border`, `ColorChoice`, and `HorizontalLine` [INFO] [stdout] --> src/commands/book/dump.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use cli_table::{ColorChoice, Style, Table, format::{Border, HorizontalLine}}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_data_default_book_path` [INFO] [stdout] --> src/commands/log/new.rs:8:58 [INFO] [stdout] | [INFO] [stdout] 8 | ensure_storage_location_exists, get_data_books_path, get_data_default_book_path, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TimeZone` [INFO] [stdout] --> src/commands/log/edit.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::{DateTime, Local, TimeZone}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_data_default_book_path` [INFO] [stdout] --> src/commands/query.rs:7:58 [INFO] [stdout] | [INFO] [stdout] 7 | ensure_storage_location_exists, get_data_books_path, get_data_default_book_path, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Style` [INFO] [stdout] --> src/commands/book/dump.rs:1:30 [INFO] [stdout] | [INFO] [stdout] 1 | use cli_table::{ColorChoice, Style, Table, format::{Border, HorizontalLine}}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: found module declaration for lib.rs [INFO] [stdout] --> src/main.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | mod lib; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: lib.rs is the root of this crate's library target [INFO] [stdout] = help: to refer to it from other targets, use the library's name as the path [INFO] [stdout] = note: `#[warn(special_module_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `value_t` [INFO] [stdout] --> src/cli.rs:1:105 [INFO] [stdout] | [INFO] [stdout] 1 | use clap::{App, AppSettings, Arg, ArgMatches, SubCommand, crate_authors, crate_description, crate_name, value_t}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Border`, `ColorChoice`, and `HorizontalLine` [INFO] [stdout] --> src/commands/book/dump.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use cli_table::{ColorChoice, Style, Table, format::{Border, HorizontalLine}}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_data_default_book_path` [INFO] [stdout] --> src/commands/log/new.rs:8:58 [INFO] [stdout] | [INFO] [stdout] 8 | ensure_storage_location_exists, get_data_books_path, get_data_default_book_path, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TimeZone` [INFO] [stdout] --> src/commands/log/edit.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::{DateTime, Local, TimeZone}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_data_default_book_path` [INFO] [stdout] --> src/commands/query.rs:7:58 [INFO] [stdout] | [INFO] [stdout] 7 | ensure_storage_location_exists, get_data_books_path, get_data_default_book_path, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: found module declaration for lib.rs [INFO] [stdout] --> src/main.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | mod lib; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: lib.rs is the root of this crate's library target [INFO] [stdout] = help: to refer to it from other targets, use the library's name as the path [INFO] [stdout] = note: `#[warn(special_module_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `value_t` [INFO] [stdout] --> src/cli.rs:1:105 [INFO] [stdout] | [INFO] [stdout] 1 | use clap::{App, AppSettings, Arg, ArgMatches, SubCommand, crate_authors, crate_description, crate_name, value_t}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Border`, `ColorChoice`, and `HorizontalLine` [INFO] [stdout] --> src/commands/book/dump.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use cli_table::{ColorChoice, Style, Table, format::{Border, HorizontalLine}}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_data_default_book_path` [INFO] [stdout] --> src/commands/log/new.rs:8:58 [INFO] [stdout] | [INFO] [stdout] 8 | ensure_storage_location_exists, get_data_books_path, get_data_default_book_path, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TimeZone` [INFO] [stdout] --> src/commands/log/edit.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::{DateTime, Local, TimeZone}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_data_default_book_path` [INFO] [stdout] --> src/commands/query.rs:7:58 [INFO] [stdout] | [INFO] [stdout] 7 | ensure_storage_location_exists, get_data_books_path, get_data_default_book_path, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/commands/book/publish.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn exec_publish_book(name: &str, outfile: &str) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/commands/log/edit.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let mut split_index = id.split(':').collect::>(); [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/commands/log/edit.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | let mut entry = entry.unwrap(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: found module declaration for lib.rs [INFO] [stdout] --> src/main.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | mod lib; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: lib.rs is the root of this crate's library target [INFO] [stdout] = help: to refer to it from other targets, use the library's name as the path [INFO] [stdout] = note: `#[warn(special_module_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `value_t` [INFO] [stdout] --> src/cli.rs:1:105 [INFO] [stdout] | [INFO] [stdout] 1 | use clap::{App, AppSettings, Arg, ArgMatches, SubCommand, crate_authors, crate_description, crate_name, value_t}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Border`, `ColorChoice`, and `HorizontalLine` [INFO] [stdout] --> src/commands/book/dump.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use cli_table::{ColorChoice, Style, Table, format::{Border, HorizontalLine}}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_data_default_book_path` [INFO] [stdout] --> src/commands/log/new.rs:8:58 [INFO] [stdout] | [INFO] [stdout] 8 | ensure_storage_location_exists, get_data_books_path, get_data_default_book_path, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TimeZone` [INFO] [stdout] --> src/commands/log/edit.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::{DateTime, Local, TimeZone}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_data_default_book_path` [INFO] [stdout] --> src/commands/query.rs:7:58 [INFO] [stdout] | [INFO] [stdout] 7 | ensure_storage_location_exists, get_data_books_path, get_data_default_book_path, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Style` [INFO] [stdout] --> src/commands/book/dump.rs:1:30 [INFO] [stdout] | [INFO] [stdout] 1 | use cli_table::{ColorChoice, Style, Table, format::{Border, HorizontalLine}}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/commands/book/publish.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn exec_publish_book(name: &str, outfile: &str) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/commands/log/edit.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let mut split_index = id.split(':').collect::>(); [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/commands/log/edit.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | let mut entry = entry.unwrap(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Style` [INFO] [stdout] --> src/commands/book/dump.rs:1:30 [INFO] [stdout] | [INFO] [stdout] 1 | use cli_table::{ColorChoice, Style, Table, format::{Border, HorizontalLine}}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/commands/book/publish.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn exec_publish_book(name: &str, outfile: &str) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/commands/log/edit.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let mut split_index = id.split(':').collect::>(); [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/commands/log/edit.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | let mut entry = entry.unwrap(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Style` [INFO] [stdout] --> src/commands/book/dump.rs:1:30 [INFO] [stdout] | [INFO] [stdout] 1 | use cli_table::{ColorChoice, Style, Table, format::{Border, HorizontalLine}}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/commands/book/publish.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn exec_publish_book(name: &str, outfile: &str) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/commands/log/edit.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let mut split_index = id.split(':').collect::>(); [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/commands/log/edit.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | let mut entry = entry.unwrap(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.38s [INFO] running `Command { std: "docker" "inspect" "1dbc84554292e2d58538be69b387618d27dcb0acae0bdec34e2af7966c1acf68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1dbc84554292e2d58538be69b387618d27dcb0acae0bdec34e2af7966c1acf68", kill_on_drop: false }` [INFO] [stdout] 1dbc84554292e2d58538be69b387618d27dcb0acae0bdec34e2af7966c1acf68