[INFO] fetching crate clt 0.0.6... [INFO] checking clt-0.0.6 against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] extracting crate clt 0.0.6 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate clt 0.0.6 on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate clt 0.0.6 [INFO] finished tweaking crates.io crate clt 0.0.6 [INFO] tweaked toml for crates.io crate clt 0.0.6 written to /workspace/builds/worker-8/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 061b663eac800a55ad15b038e824e30c263b4535b9b1db22335427c79cf9ac2b [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" "061b663eac800a55ad15b038e824e30c263b4535b9b1db22335427c79cf9ac2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "061b663eac800a55ad15b038e824e30c263b4535b9b1db22335427c79cf9ac2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "061b663eac800a55ad15b038e824e30c263b4535b9b1db22335427c79cf9ac2b", kill_on_drop: false }` [INFO] [stdout] 061b663eac800a55ad15b038e824e30c263b4535b9b1db22335427c79cf9ac2b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1e5f57e016698890591dafc582d0d1bca0cce63aa88231f51876774b134b1333 [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" "1e5f57e016698890591dafc582d0d1bca0cce63aa88231f51876774b134b1333", kill_on_drop: false }` [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Checking clt v0.0.6 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/term.rs:155:17 [INFO] [stdout] | [INFO] [stdout] 155 | try!(f.write_str(fg.get_fg_str())); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/term.rs:161:17 [INFO] [stdout] | [INFO] [stdout] 161 | try!(f.write_str(bg.get_bg_str())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/term.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | try!(f.write_str("\x1b[1m")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/term.rs:169:17 [INFO] [stdout] | [INFO] [stdout] 169 | try!(f.write_str("\x1b[22m")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/term.rs:174:17 [INFO] [stdout] | [INFO] [stdout] 174 | try!(f.write_str("\x1b[2m")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/term.rs:176:17 [INFO] [stdout] | [INFO] [stdout] 176 | try!(f.write_str("\x1b[22m")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/term.rs:181:17 [INFO] [stdout] | [INFO] [stdout] 181 | try!(f.write_str("\x1b[4m")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/term.rs:183:17 [INFO] [stdout] | [INFO] [stdout] 183 | try!(f.write_str("\x1b[24m")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/term.rs:188:17 [INFO] [stdout] | [INFO] [stdout] 188 | try!(f.write_str("\x1b[5m")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/term.rs:190:17 [INFO] [stdout] | [INFO] [stdout] 190 | try!(f.write_str("\x1b[25m")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/term.rs:195:17 [INFO] [stdout] | [INFO] [stdout] 195 | try!(f.write_str("\x1b[7m")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/term.rs:197:17 [INFO] [stdout] | [INFO] [stdout] 197 | try!(f.write_str("\x1b[27m")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/term.rs:200:9 [INFO] [stdout] | [INFO] [stdout] 200 | try!(f.write_str(&self.text)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/term.rs:202:9 [INFO] [stdout] | [INFO] [stdout] 202 | try!(f.write_str("\x1b[0m")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/term.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/term.rs:16:26 [INFO] [stdout] | [INFO] [stdout] 16 | use std::time::{Instant, Duration, SystemTime, UNIX_EPOCH}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std` [INFO] [stdout] --> src/formatting.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/term.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/term.rs:155:17 [INFO] [stdout] | [INFO] [stdout] 155 | try!(f.write_str(fg.get_fg_str())); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/term.rs:161:17 [INFO] [stdout] | [INFO] [stdout] 161 | try!(f.write_str(bg.get_bg_str())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/term.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | try!(f.write_str("\x1b[1m")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/term.rs:169:17 [INFO] [stdout] | [INFO] [stdout] 169 | try!(f.write_str("\x1b[22m")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/term.rs:174:17 [INFO] [stdout] | [INFO] [stdout] 174 | try!(f.write_str("\x1b[2m")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/term.rs:176:17 [INFO] [stdout] | [INFO] [stdout] 176 | try!(f.write_str("\x1b[22m")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/term.rs:181:17 [INFO] [stdout] | [INFO] [stdout] 181 | try!(f.write_str("\x1b[4m")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/term.rs:183:17 [INFO] [stdout] | [INFO] [stdout] 183 | try!(f.write_str("\x1b[24m")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/term.rs:188:17 [INFO] [stdout] | [INFO] [stdout] 188 | try!(f.write_str("\x1b[5m")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/term.rs:190:17 [INFO] [stdout] | [INFO] [stdout] 190 | try!(f.write_str("\x1b[25m")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/term.rs:195:17 [INFO] [stdout] | [INFO] [stdout] 195 | try!(f.write_str("\x1b[7m")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/term.rs:197:17 [INFO] [stdout] | [INFO] [stdout] 197 | try!(f.write_str("\x1b[27m")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/term.rs:200:9 [INFO] [stdout] | [INFO] [stdout] 200 | try!(f.write_str(&self.text)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/term.rs:202:9 [INFO] [stdout] | [INFO] [stdout] 202 | try!(f.write_str("\x1b[0m")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/term.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/term.rs:16:26 [INFO] [stdout] | [INFO] [stdout] 16 | use std::time::{Instant, Duration, SystemTime, UNIX_EPOCH}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std` [INFO] [stdout] --> src/formatting.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/term.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/term.rs:225:18 [INFO] [stdout] | [INFO] [stdout] 225 | return input.trim_right_matches("\n").to_string(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/term.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/core.rs:121:26 [INFO] [stdout] | [INFO] [stdout] 121 | let show_help = |params: Params| { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `show_help` [INFO] [stdout] --> src/core.rs:121:13 [INFO] [stdout] | [INFO] [stdout] 121 | let show_help = |params: Params| { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_show_help` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pragram_name` [INFO] [stdout] --> src/core.rs:129:26 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn invoke(&self, pragram_name: String, args: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pragram_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parser` [INFO] [stdout] --> src/types.rs:113:33 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn add_to_parser(&self, parser: &mut getopts::Options) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_parser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hide_input` [INFO] [stdout] --> src/term.rs:221:40 [INFO] [stdout] | [INFO] [stdout] 221 | fn get_prompt_input(prompt_text: &str, hide_input: bool) -> String { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hide_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `width` [INFO] [stdout] --> src/formatting.rs:123:28 [INFO] [stdout] | [INFO] [stdout] 123 | fn wrap_text(text: String, width: usize, initial_indent: &str, subsequent_indent: &str) -> String { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `initial_indent` [INFO] [stdout] --> src/formatting.rs:123:42 [INFO] [stdout] | [INFO] [stdout] 123 | fn wrap_text(text: String, width: usize, initial_indent: &str, subsequent_indent: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_initial_indent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `subsequent_indent` [INFO] [stdout] --> src/formatting.rs:123:64 [INFO] [stdout] | [INFO] [stdout] 123 | fn wrap_text(text: String, width: usize, initial_indent: &str, subsequent_indent: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_subsequent_indent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/term.rs:225:18 [INFO] [stdout] | [INFO] [stdout] 225 | return input.trim_right_matches("\n").to_string(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/term.rs:475:13 [INFO] [stdout] | [INFO] [stdout] 475 | let mut info: String; [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/term.rs:576:13 [INFO] [stdout] | [INFO] [stdout] 576 | let mut filepath = tmpdir.path().clone(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Command` [INFO] [stdout] --> src/core.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Command { [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: `new` [INFO] [stdout] --> src/core.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn new(name: &str, callback: CommandCallback) -> Command { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `option` [INFO] [stdout] --> src/core.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn option(&mut self, short_name: &'static str, long_name: &'static str, help: &'static str, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `argument` [INFO] [stdout] --> src/core.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn argument(&mut self, name: &'static str, required: bool, default: Option<&'static str>) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `make_formatter` [INFO] [stdout] --> src/core.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | fn make_formatter(&self) -> HelpFormatter { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `format_usage` [INFO] [stdout] --> src/core.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | fn format_usage(&self, formatter: &mut HelpFormatter) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_usage` [INFO] [stdout] --> src/core.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn get_usage(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `format_help_text` [INFO] [stdout] --> src/core.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | fn format_help_text(&self, formatter: &mut HelpFormatter) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `format_options` [INFO] [stdout] --> src/core.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | fn format_options(&self, formatter: &mut HelpFormatter) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `format_epilog` [INFO] [stdout] --> src/core.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 96 | fn format_epilog(&self, formatter: &mut HelpFormatter) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `format_help` [INFO] [stdout] --> src/core.rs:105:8 [INFO] [stdout] | [INFO] [stdout] 105 | fn format_help(&self, formatter: &mut HelpFormatter) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_help` [INFO] [stdout] --> src/core.rs:112:12 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn get_help(&self) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_help_option` [INFO] [stdout] --> src/core.rs:119:8 [INFO] [stdout] | [INFO] [stdout] 119 | fn get_help_option(&self) -> Options { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `invoke` [INFO] [stdout] --> src/core.rs:129:12 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn invoke(&self, pragram_name: String, args: Vec) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_options` [INFO] [stdout] --> src/core.rs:136:8 [INFO] [stdout] | [INFO] [stdout] 136 | fn get_options(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `make_parser` [INFO] [stdout] --> src/core.rs:147:8 [INFO] [stdout] | [INFO] [stdout] 147 | fn make_parser(&self) -> getopts::Options { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_args` [INFO] [stdout] --> src/core.rs:156:8 [INFO] [stdout] | [INFO] [stdout] 156 | fn parse_args(&self, args: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `run` [INFO] [stdout] --> src/core.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn run(&self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Params` [INFO] [stdout] --> src/types.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub type Params = Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `CommandCallback` [INFO] [stdout] --> src/types.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub type CommandCallback = fn(Params); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/types.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn new(s_name: &'static str, l_name: &'static str, help: &'static str, is_flag: bool, is_bool_flag: bool, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_to_parser` [INFO] [stdout] --> src/types.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn add_to_parser(&self, parser: &mut getopts::Options) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_help_record` [INFO] [stdout] --> src/types.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn get_help_record(&self) -> (String, String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Argument` [INFO] [stdout] --> src/types.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 98 | pub struct Argument { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/types.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn new(name: &'static str, required: bool, default: Option<&'static str>) -> Argument { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_to_parser` [INFO] [stdout] --> src/types.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn add_to_parser(&self, parser: &mut getopts::Options) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_usage_piece` [INFO] [stdout] --> src/types.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn get_usage_piece(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `time_per_iteration` [INFO] [stdout] --> src/term.rs:435:8 [INFO] [stdout] | [INFO] [stdout] 435 | fn time_per_iteration(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `estimate_time` [INFO] [stdout] --> src/term.rs:443:8 [INFO] [stdout] | [INFO] [stdout] 443 | fn estimate_time(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `HelpFormatter` [INFO] [stdout] --> src/formatting.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct HelpFormatter { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/formatting.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn new(width: usize, indent_increment: usize) -> HelpFormatter { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `indent` [INFO] [stdout] --> src/formatting.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn indent(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dedent` [INFO] [stdout] --> src/formatting.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn dedent(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write` [INFO] [stdout] --> src/formatting.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn write(&mut self, s: String) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_paragraph` [INFO] [stdout] --> src/formatting.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn write_paragraph(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_heading` [INFO] [stdout] --> src/formatting.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn write_heading(&mut self, heading: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_dl` [INFO] [stdout] --> src/formatting.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn write_dl(&mut self, rows: Vec<(String, String)>) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `enter_section` [INFO] [stdout] --> src/formatting.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn enter_section(&mut self, name: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `exit_section` [INFO] [stdout] --> src/formatting.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn exit_section(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_text` [INFO] [stdout] --> src/formatting.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn write_text(&mut self, text: String) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_usage` [INFO] [stdout] --> src/formatting.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn write_usage(&mut self, name: &str, args: String, prefix: &str) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `getvalue` [INFO] [stdout] --> src/formatting.rs:115:12 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn getvalue(&self) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `wrap_text` [INFO] [stdout] --> src/formatting.rs:123:4 [INFO] [stdout] | [INFO] [stdout] 123 | fn wrap_text(text: String, width: usize, initial_indent: &str, subsequent_indent: &str) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/term.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/core.rs:121:26 [INFO] [stdout] | [INFO] [stdout] 121 | let show_help = |params: Params| { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `show_help` [INFO] [stdout] --> src/core.rs:121:13 [INFO] [stdout] | [INFO] [stdout] 121 | let show_help = |params: Params| { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_show_help` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pragram_name` [INFO] [stdout] --> src/core.rs:129:26 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn invoke(&self, pragram_name: String, args: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pragram_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parser` [INFO] [stdout] --> src/types.rs:113:33 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn add_to_parser(&self, parser: &mut getopts::Options) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_parser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hide_input` [INFO] [stdout] --> src/term.rs:221:40 [INFO] [stdout] | [INFO] [stdout] 221 | fn get_prompt_input(prompt_text: &str, hide_input: bool) -> String { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hide_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `width` [INFO] [stdout] --> src/formatting.rs:123:28 [INFO] [stdout] | [INFO] [stdout] 123 | fn wrap_text(text: String, width: usize, initial_indent: &str, subsequent_indent: &str) -> String { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `initial_indent` [INFO] [stdout] --> src/formatting.rs:123:42 [INFO] [stdout] | [INFO] [stdout] 123 | fn wrap_text(text: String, width: usize, initial_indent: &str, subsequent_indent: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_initial_indent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `subsequent_indent` [INFO] [stdout] --> src/formatting.rs:123:64 [INFO] [stdout] | [INFO] [stdout] 123 | fn wrap_text(text: String, width: usize, initial_indent: &str, subsequent_indent: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_subsequent_indent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Path::join` that must be used [INFO] [stdout] --> src/term.rs:577:9 [INFO] [stdout] | [INFO] [stdout] 577 | filepath.join(&tmpname); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/term.rs:475:13 [INFO] [stdout] | [INFO] [stdout] 475 | let mut info: String; [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/term.rs:576:13 [INFO] [stdout] | [INFO] [stdout] 576 | let mut filepath = tmpdir.path().clone(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 74 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Command` [INFO] [stdout] --> src/core.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Command { [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: `new` [INFO] [stdout] --> src/core.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn new(name: &str, callback: CommandCallback) -> Command { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `option` [INFO] [stdout] --> src/core.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn option(&mut self, short_name: &'static str, long_name: &'static str, help: &'static str, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `argument` [INFO] [stdout] --> src/core.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn argument(&mut self, name: &'static str, required: bool, default: Option<&'static str>) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `make_formatter` [INFO] [stdout] --> src/core.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | fn make_formatter(&self) -> HelpFormatter { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `format_usage` [INFO] [stdout] --> src/core.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | fn format_usage(&self, formatter: &mut HelpFormatter) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_usage` [INFO] [stdout] --> src/core.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn get_usage(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `format_help_text` [INFO] [stdout] --> src/core.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | fn format_help_text(&self, formatter: &mut HelpFormatter) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `format_options` [INFO] [stdout] --> src/core.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | fn format_options(&self, formatter: &mut HelpFormatter) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `format_epilog` [INFO] [stdout] --> src/core.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 96 | fn format_epilog(&self, formatter: &mut HelpFormatter) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `format_help` [INFO] [stdout] --> src/core.rs:105:8 [INFO] [stdout] | [INFO] [stdout] 105 | fn format_help(&self, formatter: &mut HelpFormatter) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_help` [INFO] [stdout] --> src/core.rs:112:12 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn get_help(&self) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_help_option` [INFO] [stdout] --> src/core.rs:119:8 [INFO] [stdout] | [INFO] [stdout] 119 | fn get_help_option(&self) -> Options { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `invoke` [INFO] [stdout] --> src/core.rs:129:12 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn invoke(&self, pragram_name: String, args: Vec) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_options` [INFO] [stdout] --> src/core.rs:136:8 [INFO] [stdout] | [INFO] [stdout] 136 | fn get_options(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `make_parser` [INFO] [stdout] --> src/core.rs:147:8 [INFO] [stdout] | [INFO] [stdout] 147 | fn make_parser(&self) -> getopts::Options { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_args` [INFO] [stdout] --> src/core.rs:156:8 [INFO] [stdout] | [INFO] [stdout] 156 | fn parse_args(&self, args: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `run` [INFO] [stdout] --> src/core.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn run(&self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Params` [INFO] [stdout] --> src/types.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub type Params = Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `CommandCallback` [INFO] [stdout] --> src/types.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub type CommandCallback = fn(Params); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/types.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn new(s_name: &'static str, l_name: &'static str, help: &'static str, is_flag: bool, is_bool_flag: bool, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_to_parser` [INFO] [stdout] --> src/types.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn add_to_parser(&self, parser: &mut getopts::Options) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_help_record` [INFO] [stdout] --> src/types.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn get_help_record(&self) -> (String, String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Argument` [INFO] [stdout] --> src/types.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 98 | pub struct Argument { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/types.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn new(name: &'static str, required: bool, default: Option<&'static str>) -> Argument { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_to_parser` [INFO] [stdout] --> src/types.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn add_to_parser(&self, parser: &mut getopts::Options) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_usage_piece` [INFO] [stdout] --> src/types.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn get_usage_piece(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `time_per_iteration` [INFO] [stdout] --> src/term.rs:435:8 [INFO] [stdout] | [INFO] [stdout] 435 | fn time_per_iteration(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `estimate_time` [INFO] [stdout] --> src/term.rs:443:8 [INFO] [stdout] | [INFO] [stdout] 443 | fn estimate_time(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `HelpFormatter` [INFO] [stdout] --> src/formatting.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct HelpFormatter { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/formatting.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn new(width: usize, indent_increment: usize) -> HelpFormatter { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `indent` [INFO] [stdout] --> src/formatting.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn indent(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dedent` [INFO] [stdout] --> src/formatting.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn dedent(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write` [INFO] [stdout] --> src/formatting.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn write(&mut self, s: String) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_paragraph` [INFO] [stdout] --> src/formatting.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn write_paragraph(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_heading` [INFO] [stdout] --> src/formatting.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn write_heading(&mut self, heading: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_dl` [INFO] [stdout] --> src/formatting.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn write_dl(&mut self, rows: Vec<(String, String)>) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `enter_section` [INFO] [stdout] --> src/formatting.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn enter_section(&mut self, name: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `exit_section` [INFO] [stdout] --> src/formatting.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn exit_section(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_text` [INFO] [stdout] --> src/formatting.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn write_text(&mut self, text: String) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_usage` [INFO] [stdout] --> src/formatting.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn write_usage(&mut self, name: &str, args: String, prefix: &str) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `getvalue` [INFO] [stdout] --> src/formatting.rs:115:12 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn getvalue(&self) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `wrap_text` [INFO] [stdout] --> src/formatting.rs:123:4 [INFO] [stdout] | [INFO] [stdout] 123 | fn wrap_text(text: String, width: usize, initial_indent: &str, subsequent_indent: &str) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Path::join` that must be used [INFO] [stdout] --> src/term.rs:577:9 [INFO] [stdout] | [INFO] [stdout] 577 | filepath.join(&tmpname); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 74 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.31s [INFO] running `Command { std: "docker" "inspect" "1e5f57e016698890591dafc582d0d1bca0cce63aa88231f51876774b134b1333", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e5f57e016698890591dafc582d0d1bca0cce63aa88231f51876774b134b1333", kill_on_drop: false }` [INFO] [stdout] 1e5f57e016698890591dafc582d0d1bca0cce63aa88231f51876774b134b1333