[INFO] fetching crate csv-groupby 0.10.0... [INFO] building csv-groupby-0.10.0 against try#615edd3ad1cf6871c977dc900317cb6c2070fd6b for pr-97334 [INFO] extracting crate csv-groupby 0.10.0 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate csv-groupby 0.10.0 on toolchain 615edd3ad1cf6871c977dc900317cb6c2070fd6b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate csv-groupby 0.10.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate csv-groupby 0.10.0 [INFO] tweaked toml for crates.io crate csv-groupby 0.10.0 written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate crates.io crate csv-groupby 0.10.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: version requirement `0.9.0+zstd.1.5.0` for dependency `zstd` includes semver metadata which will be ignored, removing the metadata is recommended to avoid confusion [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f79c408f23ce08ad985d43b701d4ea9c71fdbaec3261f444a90b6b0c0bba06a2 [INFO] running `Command { std: "docker" "start" "-a" "f79c408f23ce08ad985d43b701d4ea9c71fdbaec3261f444a90b6b0c0bba06a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f79c408f23ce08ad985d43b701d4ea9c71fdbaec3261f444a90b6b0c0bba06a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f79c408f23ce08ad985d43b701d4ea9c71fdbaec3261f444a90b6b0c0bba06a2", kill_on_drop: false }` [INFO] [stdout] f79c408f23ce08ad985d43b701d4ea9c71fdbaec3261f444a90b6b0c0bba06a2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d54fbe7e6f1ded87a2007e66219a81a6fcef42ba90c060792a76f5bc9c9f9e98 [INFO] running `Command { std: "docker" "start" "-a" "d54fbe7e6f1ded87a2007e66219a81a6fcef42ba90c060792a76f5bc9c9f9e98", kill_on_drop: false }` [INFO] [stderr] warning: version requirement `0.9.0+zstd.1.5.0` for dependency `zstd` includes semver metadata which will be ignored, removing the metadata is recommended to avoid confusion [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 lazy_static v1.4.0 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling fs_extra v1.2.0 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling escargot v0.3.1 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling predicates-core v1.0.2 [INFO] [stderr] Compiling zstd-safe v4.1.1+zstd.1.5.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling treeline v0.1.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling gimli v0.24.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling normalize-line-endings v0.3.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stderr] Compiling rustc-demangle v0.1.20 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling csv-groupby v0.10.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling encode_unicode v0.3.6 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stdout] warning: unused import: `std::thread::LocalKey` [INFO] [stdout] --> build.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::thread::LocalKey; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling predicates-tree v1.0.2 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling jobserver v0.1.22 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling cpu-time v1.0.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling object v0.25.3 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling colored v1.9.3 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling cc v1.0.68 [INFO] [stderr] Compiling term v0.5.2 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling chan v0.1.23 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling addr2line v0.15.2 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling paste-impl v0.1.18 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling crossbeam-channel v0.4.4 [INFO] [stderr] Compiling flate2 v1.0.20 [INFO] [stderr] Compiling zstd-sys v1.6.1+zstd.1.5.0 [INFO] [stderr] Compiling jemalloc-sys v0.3.2 [INFO] [stderr] Compiling pcre2-sys v0.2.5 [INFO] [stderr] Compiling backtrace v0.3.60 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling float-cmp v0.8.0 [INFO] [stderr] Compiling predicates v1.0.8 [INFO] [stderr] Compiling crossbeam v0.7.3 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling paste v0.1.18 [INFO] [stderr] Compiling pcre2 v0.2.3 [INFO] [stderr] Compiling structopt-derive v0.4.14 [INFO] [stderr] Compiling structopt v0.3.21 [INFO] [stderr] Compiling bstr v0.2.16 [INFO] [stderr] Compiling globset v0.4.8 [INFO] [stderr] Compiling csv v1.1.6 [INFO] [stderr] Compiling prettytable-rs v0.8.0 [INFO] [stderr] Compiling assert_cmd v0.10.2 [INFO] [stderr] Compiling ignore v0.4.18 [INFO] [stderr] Compiling grep-cli v0.1.6 [INFO] [stderr] Compiling zstd v0.9.0+zstd.1.5.0 [INFO] [stderr] Compiling jemallocator v0.3.2 [INFO] [stderr] Compiling jemalloc-ctl v0.3.3 [INFO] [stdout] warning: function is never used: `gettid` [INFO] [stdout] --> src/gen.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn gettid() -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `mem_metric` [INFO] [stdout] --> src/gen.rs:98:4 [INFO] [stdout] | [INFO] [stdout] 98 | fn mem_metric<'a>(v: usize) -> (f64, &'a str) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `sig_dig` [INFO] [stdout] --> src/gen.rs:112:4 [INFO] [stdout] | [INFO] [stdout] 112 | fn sig_dig(v: f64, digits: usize) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `mem_metric_digit` [INFO] [stdout] --> src/gen.rs:136:8 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn mem_metric_digit(v: usize, sig: usize) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `greek` [INFO] [stdout] --> src/gen.rs:163:8 [INFO] [stdout] | [INFO] [stdout] 163 | pub fn greek(v: f64) -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `user_pause` [INFO] [stdout] --> src/gen.rs:207:8 [INFO] [stdout] | [INFO] [stdout] 207 | pub fn user_pause() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/gen.rs:223:12 [INFO] [stdout] | [INFO] [stdout] 223 | pub fn new() -> IoSlicerStatus { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fill_buff` [INFO] [stdout] --> src/gen.rs:241:4 [INFO] [stdout] | [INFO] [stdout] 241 | fn fill_buff(handle: &mut dyn Read, buff: &mut [u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `io_thread_slicer` [INFO] [stdout] --> src/gen.rs:263:8 [INFO] [stdout] | [INFO] [stdout] 263 | pub fn io_thread_slicer( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `caps_to_vec_strings` [INFO] [stdout] --> src/gen.rs:379:8 [INFO] [stdout] | [INFO] [stdout] 379 | pub fn caps_to_vec_strings(caps: &Captures_pcre2) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `subs_from_path_buff` [INFO] [stdout] --> src/gen.rs:389:8 [INFO] [stdout] | [INFO] [stdout] 389 | pub fn subs_from_path_buff(path: &PathBuf, regex: &Option) -> (bool, Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `per_file_thread` [INFO] [stdout] --> src/gen.rs:402:8 [INFO] [stdout] | [INFO] [stdout] 402 | pub fn per_file_thread( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/cli.rs:315:22 [INFO] [stdout] | [INFO] [stdout] 315 | pub head: Option<(u64)>, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 315 - pub head: Option<(u64)>, [INFO] [stdout] 315 + pub head: Option, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/cli.rs:319:22 [INFO] [stdout] | [INFO] [stdout] 319 | pub tail: Option<(u64)>, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 319 - pub tail: Option<(u64)>, [INFO] [stdout] 319 + pub tail: Option, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/cli.rs:331:26 [INFO] [stdout] | [INFO] [stdout] 331 | pub count_le: Option<(u64)>, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 331 - pub count_le: Option<(u64)>, [INFO] [stdout] 331 + pub count_le: Option, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/cli.rs:335:26 [INFO] [stdout] | [INFO] [stdout] 335 | pub count_ge: Option<(u64)>, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 335 - pub count_ge: Option<(u64)>, [INFO] [stdout] 335 + pub count_ge: Option, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/keysum.rs:104:16 [INFO] [stdout] | [INFO] [stdout] 104 | if ( v.is_none()) { [INFO] [stdout] | ^^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 104 - if ( v.is_none()) { [INFO] [stdout] 104 + if v.is_none() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `print_skipped` [INFO] [stdout] --> src/main.rs:496:21 [INFO] [stdout] | [INFO] [stdout] 496 | let mut print_skipped = false; // for the stuff after head and before tail [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_print_skipped` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inner_count` [INFO] [stdout] --> src/main.rs:843:30 [INFO] [stdout] | [INFO] [stdout] 843 | 'LINE_LOOP: for (inner_count, line) in slice.split(|c| *c == b'\n').enumerate() { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inner_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/main.rs:987:56 [INFO] [stdout] | [INFO] [stdout] 987 | ... csv::ErrorKind::Utf8 { ref err, pos } => { [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `err: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `cnt_rec` is assigned to, but never used [INFO] [stdout] --> src/main.rs:999:25 [INFO] [stdout] | [INFO] [stdout] 999 | let mut cnt_rec = 0usize; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_cnt_rec` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/main.rs:1021:56 [INFO] [stdout] | [INFO] [stdout] 1021 | ... csv::ErrorKind::Utf8 { ref err, pos } => { [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `err: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:1148:28 [INFO] [stdout] | [INFO] [stdout] 1148 | if let Err(e) = line { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ss` [INFO] [stdout] --> src/keysum.rs:167:53 [INFO] [stdout] | [INFO] [stdout] 167 | pub fn schema_rec(matrix: &mut Vec>, ss: &mut String, line: &str, record: &T, rec_len: usize, map: &mut MyMap, cfg: &CliCf... [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ss` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/keysum.rs:167:70 [INFO] [stdout] | [INFO] [stdout] 167 | ...Vec>, ss: &mut String, line: &str, record: &T, rec_len: usize, map: &mut MyMap, cfg: &CliCfg, rowcount: &mut usize) -> (usize,... [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `map` [INFO] [stdout] --> src/keysum.rs:167:110 [INFO] [stdout] | [INFO] [stdout] 167 | ...tr, record: &T, rec_len: usize, map: &mut MyMap, cfg: &CliCfg, rowcount: &mut usize) -> (usize,usize) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cfg` [INFO] [stdout] --> src/keysum.rs:167:127 [INFO] [stdout] | [INFO] [stdout] 167 | ...ec_len: usize, map: &mut MyMap, cfg: &CliCfg, rowcount: &mut usize) -> (usize,usize) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cfg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rowcount` [INFO] [stdout] --> src/keysum.rs:167:141 [INFO] [stdout] | [INFO] [stdout] 167 | ... &mut MyMap, cfg: &CliCfg, rowcount: &mut usize) -> (usize,usize) [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rowcount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `null_str` [INFO] [stdout] --> src/keysum.rs:140:17 [INFO] [stdout] | [INFO] [stdout] 140 | let null_str = String::from("NULL"); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_null_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/keysum.rs:103:17 [INFO] [stdout] | [INFO] [stdout] 103 | let mut v = self.matrix.get_mut(i); [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/keysum.rs:199:9 [INFO] [stdout] | [INFO] [stdout] 199 | let mut lines_filtered = 0usize; [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/main.rs:496:17 [INFO] [stdout] | [INFO] [stdout] 496 | let mut print_skipped = false; // for the stuff after head and before tail [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/main.rs:922:9 [INFO] [stdout] | [INFO] [stdout] 922 | let mut csv_builder = create_csv_builder(&cfg); [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/main.rs:1215:13 [INFO] [stdout] | [INFO] [stdout] 1215 | let mut b = slice[pos]; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:761:20 [INFO] [stdout] | [INFO] [stdout] 761 | panic!(err_msg); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 761 | panic!("{}", err_msg); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:908:20 [INFO] [stdout] | [INFO] [stdout] 908 | panic!(err_msg); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 908 | panic!("{}", err_msg); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:1049:20 [INFO] [stdout] | [INFO] [stdout] 1049 | panic!(err_msg); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 1049 | panic!("{}", err_msg); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `ISO_8859` should have a snake case name [INFO] [stdout] --> src/cli.rs:296:9 [INFO] [stdout] | [INFO] [stdout] 296 | pub ISO_8859: bool, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `iso_8859` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 08s [INFO] running `Command { std: "docker" "inspect" "d54fbe7e6f1ded87a2007e66219a81a6fcef42ba90c060792a76f5bc9c9f9e98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d54fbe7e6f1ded87a2007e66219a81a6fcef42ba90c060792a76f5bc9c9f9e98", kill_on_drop: false }` [INFO] [stdout] d54fbe7e6f1ded87a2007e66219a81a6fcef42ba90c060792a76f5bc9c9f9e98 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c77d0baed927f90771ac3e869626952f9584e0dc3da18d1cf4e7849b9a474617 [INFO] running `Command { std: "docker" "start" "-a" "c77d0baed927f90771ac3e869626952f9584e0dc3da18d1cf4e7849b9a474617", kill_on_drop: false }` [INFO] [stderr] warning: version requirement `0.9.0+zstd.1.5.0` for dependency `zstd` includes semver metadata which will be ignored, removing the metadata is recommended to avoid confusion [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stdout] warning: unused import: `std::thread::LocalKey` [INFO] [stdout] --> build.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::thread::LocalKey; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling predicates-core v1.0.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling treeline v0.1.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling normalize-line-endings v0.3.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling encode_unicode v0.3.6 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling cpu-time v1.0.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling paste v0.1.18 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling jemalloc-sys v0.3.2 [INFO] [stderr] Compiling zstd-sys v1.6.1+zstd.1.5.0 [INFO] [stderr] Compiling pcre2-sys v0.2.5 [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/cli.rs:315:22 [INFO] [stdout] | [INFO] [stdout] 315 | pub head: Option<(u64)>, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 315 - pub head: Option<(u64)>, [INFO] [stdout] 315 + pub head: Option, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/cli.rs:319:22 [INFO] [stdout] | [INFO] [stdout] 319 | pub tail: Option<(u64)>, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 319 - pub tail: Option<(u64)>, [INFO] [stdout] 319 + pub tail: Option, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/cli.rs:331:26 [INFO] [stdout] | [INFO] [stdout] 331 | pub count_le: Option<(u64)>, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 331 - pub count_le: Option<(u64)>, [INFO] [stdout] 331 + pub count_le: Option, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/cli.rs:335:26 [INFO] [stdout] | [INFO] [stdout] 335 | pub count_ge: Option<(u64)>, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 335 - pub count_ge: Option<(u64)>, [INFO] [stdout] 335 + pub count_ge: Option, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/keysum.rs:104:16 [INFO] [stdout] | [INFO] [stdout] 104 | if ( v.is_none()) { [INFO] [stdout] | ^^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 104 - if ( v.is_none()) { [INFO] [stdout] 104 + if v.is_none() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `print_skipped` [INFO] [stdout] --> src/main.rs:496:21 [INFO] [stdout] | [INFO] [stdout] 496 | let mut print_skipped = false; // for the stuff after head and before tail [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_print_skipped` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inner_count` [INFO] [stdout] --> src/main.rs:843:30 [INFO] [stdout] | [INFO] [stdout] 843 | 'LINE_LOOP: for (inner_count, line) in slice.split(|c| *c == b'\n').enumerate() { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inner_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/main.rs:987:56 [INFO] [stdout] | [INFO] [stdout] 987 | ... csv::ErrorKind::Utf8 { ref err, pos } => { [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `err: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `cnt_rec` is assigned to, but never used [INFO] [stdout] --> src/main.rs:999:25 [INFO] [stdout] | [INFO] [stdout] 999 | let mut cnt_rec = 0usize; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_cnt_rec` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/main.rs:1021:56 [INFO] [stdout] | [INFO] [stdout] 1021 | ... csv::ErrorKind::Utf8 { ref err, pos } => { [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `err: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:1148:28 [INFO] [stdout] | [INFO] [stdout] 1148 | if let Err(e) = line { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ss` [INFO] [stdout] --> src/keysum.rs:167:53 [INFO] [stdout] | [INFO] [stdout] 167 | pub fn schema_rec(matrix: &mut Vec>, ss: &mut String, line: &str, record: &T, rec_len: usize, map: &mut MyMap, cfg: &CliCf... [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ss` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/keysum.rs:167:70 [INFO] [stdout] | [INFO] [stdout] 167 | ...Vec>, ss: &mut String, line: &str, record: &T, rec_len: usize, map: &mut MyMap, cfg: &CliCfg, rowcount: &mut usize) -> (usize,... [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `map` [INFO] [stdout] --> src/keysum.rs:167:110 [INFO] [stdout] | [INFO] [stdout] 167 | ...tr, record: &T, rec_len: usize, map: &mut MyMap, cfg: &CliCfg, rowcount: &mut usize) -> (usize,usize) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cfg` [INFO] [stdout] --> src/keysum.rs:167:127 [INFO] [stdout] | [INFO] [stdout] 167 | ...ec_len: usize, map: &mut MyMap, cfg: &CliCfg, rowcount: &mut usize) -> (usize,usize) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cfg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rowcount` [INFO] [stdout] --> src/keysum.rs:167:141 [INFO] [stdout] | [INFO] [stdout] 167 | ... &mut MyMap, cfg: &CliCfg, rowcount: &mut usize) -> (usize,usize) [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rowcount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `null_str` [INFO] [stdout] --> src/keysum.rs:140:17 [INFO] [stdout] | [INFO] [stdout] 140 | let null_str = String::from("NULL"); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_null_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/keysum.rs:103:17 [INFO] [stdout] | [INFO] [stdout] 103 | let mut v = self.matrix.get_mut(i); [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/keysum.rs:199:9 [INFO] [stdout] | [INFO] [stdout] 199 | let mut lines_filtered = 0usize; [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/main.rs:496:17 [INFO] [stdout] | [INFO] [stdout] 496 | let mut print_skipped = false; // for the stuff after head and before tail [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/main.rs:922:9 [INFO] [stdout] | [INFO] [stdout] 922 | let mut csv_builder = create_csv_builder(&cfg); [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/main.rs:1215:13 [INFO] [stdout] | [INFO] [stdout] 1215 | let mut b = slice[pos]; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:761:20 [INFO] [stdout] | [INFO] [stdout] 761 | panic!(err_msg); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 761 | panic!("{}", err_msg); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:908:20 [INFO] [stdout] | [INFO] [stdout] 908 | panic!(err_msg); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 908 | panic!("{}", err_msg); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:1049:20 [INFO] [stdout] | [INFO] [stdout] 1049 | panic!(err_msg); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 1049 | panic!("{}", err_msg); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `ISO_8859` should have a snake case name [INFO] [stdout] --> src/cli.rs:296:9 [INFO] [stdout] | [INFO] [stdout] 296 | pub ISO_8859: bool, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `iso_8859` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `gettid` [INFO] [stdout] --> src/gen.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn gettid() -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `mem_metric` [INFO] [stdout] --> src/gen.rs:98:4 [INFO] [stdout] | [INFO] [stdout] 98 | fn mem_metric<'a>(v: usize) -> (f64, &'a str) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `sig_dig` [INFO] [stdout] --> src/gen.rs:112:4 [INFO] [stdout] | [INFO] [stdout] 112 | fn sig_dig(v: f64, digits: usize) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `mem_metric_digit` [INFO] [stdout] --> src/gen.rs:136:8 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn mem_metric_digit(v: usize, sig: usize) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `greek` [INFO] [stdout] --> src/gen.rs:163:8 [INFO] [stdout] | [INFO] [stdout] 163 | pub fn greek(v: f64) -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `user_pause` [INFO] [stdout] --> src/gen.rs:207:8 [INFO] [stdout] | [INFO] [stdout] 207 | pub fn user_pause() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/gen.rs:223:12 [INFO] [stdout] | [INFO] [stdout] 223 | pub fn new() -> IoSlicerStatus { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fill_buff` [INFO] [stdout] --> src/gen.rs:241:4 [INFO] [stdout] | [INFO] [stdout] 241 | fn fill_buff(handle: &mut dyn Read, buff: &mut [u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `io_thread_slicer` [INFO] [stdout] --> src/gen.rs:263:8 [INFO] [stdout] | [INFO] [stdout] 263 | pub fn io_thread_slicer( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `caps_to_vec_strings` [INFO] [stdout] --> src/gen.rs:379:8 [INFO] [stdout] | [INFO] [stdout] 379 | pub fn caps_to_vec_strings(caps: &Captures_pcre2) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `subs_from_path_buff` [INFO] [stdout] --> src/gen.rs:389:8 [INFO] [stdout] | [INFO] [stdout] 389 | pub fn subs_from_path_buff(path: &PathBuf, regex: &Option) -> (bool, Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `per_file_thread` [INFO] [stdout] --> src/gen.rs:402:8 [INFO] [stdout] | [INFO] [stdout] 402 | pub fn per_file_thread( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling predicates-tree v1.0.2 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling colored v1.9.3 [INFO] [stderr] Compiling jemalloc-ctl v0.3.3 [INFO] [stderr] Compiling jemallocator v0.3.2 [INFO] [stderr] Compiling zstd-safe v4.1.1+zstd.1.5.0 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling term v0.5.2 [INFO] [stderr] Compiling pcre2 v0.2.3 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling zstd v0.9.0+zstd.1.5.0 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling crossbeam-channel v0.4.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling object v0.25.3 [INFO] [stderr] Compiling flate2 v1.0.20 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling chan v0.1.23 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling float-cmp v0.8.0 [INFO] [stderr] Compiling crossbeam v0.7.3 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling structopt v0.3.21 [INFO] [stderr] Compiling backtrace v0.3.60 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling bstr v0.2.16 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling predicates v1.0.8 [INFO] [stderr] Compiling globset v0.4.8 [INFO] [stderr] Compiling csv v1.1.6 [INFO] [stderr] Compiling escargot v0.3.1 [INFO] [stderr] Compiling grep-cli v0.1.6 [INFO] [stderr] Compiling ignore v0.4.18 [INFO] [stderr] Compiling assert_cmd v0.10.2 [INFO] [stderr] Compiling prettytable-rs v0.8.0 [INFO] [stderr] Compiling csv-groupby v0.10.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/cli.rs:315:22 [INFO] [stdout] | [INFO] [stdout] 315 | pub head: Option<(u64)>, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 315 - pub head: Option<(u64)>, [INFO] [stdout] 315 + pub head: Option, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/cli.rs:319:22 [INFO] [stdout] | [INFO] [stdout] 319 | pub tail: Option<(u64)>, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 319 - pub tail: Option<(u64)>, [INFO] [stdout] 319 + pub tail: Option, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/cli.rs:331:26 [INFO] [stdout] | [INFO] [stdout] 331 | pub count_le: Option<(u64)>, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 331 - pub count_le: Option<(u64)>, [INFO] [stdout] 331 + pub count_le: Option, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/cli.rs:335:26 [INFO] [stdout] | [INFO] [stdout] 335 | pub count_ge: Option<(u64)>, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 335 - pub count_ge: Option<(u64)>, [INFO] [stdout] 335 + pub count_ge: Option, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/keysum.rs:104:16 [INFO] [stdout] | [INFO] [stdout] 104 | if ( v.is_none()) { [INFO] [stdout] | ^^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 104 - if ( v.is_none()) { [INFO] [stdout] 104 + if v.is_none() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `gettid` [INFO] [stdout] --> src/gen.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn gettid() -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `greek` [INFO] [stdout] --> src/gen.rs:163:8 [INFO] [stdout] | [INFO] [stdout] 163 | pub fn greek(v: f64) -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `user_pause` [INFO] [stdout] --> src/gen.rs:207:8 [INFO] [stdout] | [INFO] [stdout] 207 | pub fn user_pause() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/gen.rs:223:12 [INFO] [stdout] | [INFO] [stdout] 223 | pub fn new() -> IoSlicerStatus { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fill_buff` [INFO] [stdout] --> src/gen.rs:241:4 [INFO] [stdout] | [INFO] [stdout] 241 | fn fill_buff(handle: &mut dyn Read, buff: &mut [u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `io_thread_slicer` [INFO] [stdout] --> src/gen.rs:263:8 [INFO] [stdout] | [INFO] [stdout] 263 | pub fn io_thread_slicer( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `caps_to_vec_strings` [INFO] [stdout] --> src/gen.rs:379:8 [INFO] [stdout] | [INFO] [stdout] 379 | pub fn caps_to_vec_strings(caps: &Captures_pcre2) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `subs_from_path_buff` [INFO] [stdout] --> src/gen.rs:389:8 [INFO] [stdout] | [INFO] [stdout] 389 | pub fn subs_from_path_buff(path: &PathBuf, regex: &Option) -> (bool, Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `per_file_thread` [INFO] [stdout] --> src/gen.rs:402:8 [INFO] [stdout] | [INFO] [stdout] 402 | pub fn per_file_thread( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `print_skipped` [INFO] [stdout] --> src/main.rs:496:21 [INFO] [stdout] | [INFO] [stdout] 496 | let mut print_skipped = false; // for the stuff after head and before tail [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_print_skipped` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inner_count` [INFO] [stdout] --> src/main.rs:843:30 [INFO] [stdout] | [INFO] [stdout] 843 | 'LINE_LOOP: for (inner_count, line) in slice.split(|c| *c == b'\n').enumerate() { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inner_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/main.rs:987:56 [INFO] [stdout] | [INFO] [stdout] 987 | ... csv::ErrorKind::Utf8 { ref err, pos } => { [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `err: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `cnt_rec` is assigned to, but never used [INFO] [stdout] --> src/main.rs:999:25 [INFO] [stdout] | [INFO] [stdout] 999 | let mut cnt_rec = 0usize; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_cnt_rec` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/main.rs:1021:56 [INFO] [stdout] | [INFO] [stdout] 1021 | ... csv::ErrorKind::Utf8 { ref err, pos } => { [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `err: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:1148:28 [INFO] [stdout] | [INFO] [stdout] 1148 | if let Err(e) = line { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ss` [INFO] [stdout] --> src/keysum.rs:167:53 [INFO] [stdout] | [INFO] [stdout] 167 | pub fn schema_rec(matrix: &mut Vec>, ss: &mut String, line: &str, record: &T, rec_len: usize, map: &mut MyMap, cfg: &CliCf... [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ss` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/keysum.rs:167:70 [INFO] [stdout] | [INFO] [stdout] 167 | ...Vec>, ss: &mut String, line: &str, record: &T, rec_len: usize, map: &mut MyMap, cfg: &CliCfg, rowcount: &mut usize) -> (usize,... [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `map` [INFO] [stdout] --> src/keysum.rs:167:110 [INFO] [stdout] | [INFO] [stdout] 167 | ...tr, record: &T, rec_len: usize, map: &mut MyMap, cfg: &CliCfg, rowcount: &mut usize) -> (usize,usize) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cfg` [INFO] [stdout] --> src/keysum.rs:167:127 [INFO] [stdout] | [INFO] [stdout] 167 | ...ec_len: usize, map: &mut MyMap, cfg: &CliCfg, rowcount: &mut usize) -> (usize,usize) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cfg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rowcount` [INFO] [stdout] --> src/keysum.rs:167:141 [INFO] [stdout] | [INFO] [stdout] 167 | ... &mut MyMap, cfg: &CliCfg, rowcount: &mut usize) -> (usize,usize) [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rowcount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `null_str` [INFO] [stdout] --> src/keysum.rs:140:17 [INFO] [stdout] | [INFO] [stdout] 140 | let null_str = String::from("NULL"); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_null_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/keysum.rs:103:17 [INFO] [stdout] | [INFO] [stdout] 103 | let mut v = self.matrix.get_mut(i); [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/keysum.rs:199:9 [INFO] [stdout] | [INFO] [stdout] 199 | let mut lines_filtered = 0usize; [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/main.rs:496:17 [INFO] [stdout] | [INFO] [stdout] 496 | let mut print_skipped = false; // for the stuff after head and before tail [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/main.rs:922:9 [INFO] [stdout] | [INFO] [stdout] 922 | let mut csv_builder = create_csv_builder(&cfg); [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/main.rs:1215:13 [INFO] [stdout] | [INFO] [stdout] 1215 | let mut b = slice[pos]; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:761:20 [INFO] [stdout] | [INFO] [stdout] 761 | panic!(err_msg); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 761 | panic!("{}", err_msg); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:908:20 [INFO] [stdout] | [INFO] [stdout] 908 | panic!(err_msg); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 908 | panic!("{}", err_msg); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:1049:20 [INFO] [stdout] | [INFO] [stdout] 1049 | panic!(err_msg); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 1049 | panic!("{}", err_msg); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `ISO_8859` should have a snake case name [INFO] [stdout] --> src/cli.rs:296:9 [INFO] [stdout] | [INFO] [stdout] 296 | pub ISO_8859: bool, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `iso_8859` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 22.52s [INFO] [stderr] Executable unittests src/append.rs (/opt/rustwide/target/debug/deps/append-0847d4afeb63939e) [INFO] [stderr] Executable unittests src/create_very_large_file.rs (/opt/rustwide/target/debug/deps/create_very_large_file-8c85278ad08dccf8) [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/gb-f7145b491c26a896) [INFO] [stderr] Executable unittests src/quick.rs (/opt/rustwide/target/debug/deps/quick-1f133f336a899eb6) [INFO] [stderr] Executable src/test.rs (/opt/rustwide/target/debug/deps/general_tests-76e286a2a494a5e1) [INFO] running `Command { std: "docker" "inspect" "c77d0baed927f90771ac3e869626952f9584e0dc3da18d1cf4e7849b9a474617", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c77d0baed927f90771ac3e869626952f9584e0dc3da18d1cf4e7849b9a474617", kill_on_drop: false }` [INFO] [stdout] c77d0baed927f90771ac3e869626952f9584e0dc3da18d1cf4e7849b9a474617