[INFO] cloning repository https://github.com/jiashiwen/datatoolkits [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jiashiwen/datatoolkits" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjiashiwen%2Fdatatoolkits", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjiashiwen%2Fdatatoolkits'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2af23f2ec2bfc5603ef62682ab14b4ef76062adf [INFO] testing jiashiwen/datatoolkits against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjiashiwen%2Fdatatoolkits" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/jiashiwen/datatoolkits [INFO] finished tweaking git repo https://github.com/jiashiwen/datatoolkits [INFO] tweaked toml for git repo https://github.com/jiashiwen/datatoolkits written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jiashiwen/datatoolkits on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jiashiwen/datatoolkits already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded either v1.10.0 [INFO] [stderr] Downloaded rlg v0.0.2 [INFO] [stderr] Downloaded derive_builder_macro v0.12.0 [INFO] [stderr] Downloaded shared_child v1.0.0 [INFO] [stderr] Downloaded vrd v0.0.4 [INFO] [stderr] Downloaded clipboard-win v5.3.0 [INFO] [stderr] Downloaded env_logger v0.11.3 [INFO] [stderr] Downloaded dtt v0.0.5 [INFO] [stderr] Downloaded figlet-rs v0.1.5 [INFO] [stderr] Downloaded cc v1.0.92 [INFO] [stderr] Downloaded derive_builder_core v0.12.0 [INFO] [stderr] Downloaded rustyline v14.0.0 [INFO] [stderr] Downloaded serde_yml v0.0.4 [INFO] [stderr] Downloaded serde_json v1.0.115 [INFO] [stderr] Downloaded sysinfo v0.30.10 [INFO] [stderr] Downloaded derive_builder v0.12.0 [INFO] [stderr] Downloaded syn v2.0.58 [INFO] [stderr] Downloaded duct v0.13.7 [INFO] [stderr] Downloaded vrd v0.0.5 [INFO] [stderr] Downloaded xtasks v0.0.2 [INFO] [stderr] Downloaded nix v0.28.0 [INFO] [stderr] Downloaded env_filter v0.1.0 [INFO] [stderr] Downloaded rlg v0.0.3 [INFO] [stderr] Downloaded os_pipe v1.1.5 [INFO] [stderr] Downloaded openssl-src v300.2.3+3.2.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1b345e1c254c181dbcb04f561bc79d05d9c6ef49cebe20455e29642d261cd48a [INFO] running `Command { std: "docker" "start" "-a" "1b345e1c254c181dbcb04f561bc79d05d9c6ef49cebe20455e29642d261cd48a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1b345e1c254c181dbcb04f561bc79d05d9c6ef49cebe20455e29642d261cd48a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b345e1c254c181dbcb04f561bc79d05d9c6ef49cebe20455e29642d261cd48a", kill_on_drop: false }` [INFO] [stdout] 1b345e1c254c181dbcb04f561bc79d05d9c6ef49cebe20455e29642d261cd48a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 7bff1a5e7a9b7eb38dc96e05f1bfdf6ca4ea9494adaf8b1c78f0e9ee9198c467 [INFO] running `Command { std: "docker" "start" "-a" "7bff1a5e7a9b7eb38dc96e05f1bfdf6ca4ea9494adaf8b1c78f0e9ee9198c467", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling rustix v0.38.32 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling cc v1.0.92 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling anstyle-parse v0.2.3 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling anstyle v1.0.6 [INFO] [stderr] Compiling dtt v0.0.5 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling anstyle-query v1.0.2 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling vrd v0.0.4 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling anstream v0.6.13 [INFO] [stderr] Compiling unicode-width v0.1.11 [INFO] [stderr] Compiling serde_json v1.0.115 [INFO] [stderr] Compiling vrd v0.0.5 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling clap_lex v0.7.0 [INFO] [stderr] Compiling openssl-src v300.2.3+3.2.1 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling rlg v0.0.2 [INFO] [stderr] Compiling syn v2.0.58 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling anyhow v1.0.82 [INFO] [stderr] Compiling fastrand v2.0.2 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling clap_builder v4.5.2 [INFO] [stderr] Compiling nix v0.28.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling shell-words v1.1.0 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling zeroize v1.7.0 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling rlg v0.0.3 [INFO] [stderr] Compiling xtasks v0.0.2 [INFO] [stderr] Compiling nibble_vec v0.1.0 [INFO] [stderr] Compiling endian-type v0.1.2 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling serde_yml v0.0.4 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling radix_trie v0.2.1 [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling figlet-rs v0.1.5 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling getrandom v0.2.14 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling socket2 v0.5.6 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling console v0.15.8 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling shared_child v1.0.0 [INFO] [stderr] Compiling os_pipe v1.1.5 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Compiling duct v0.13.7 [INFO] [stderr] Compiling fd-lock v4.0.2 [INFO] [stderr] Compiling uuid v1.8.0 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling clap v4.5.4 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling rustyline v14.0.0 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling env_filter v0.1.0 [INFO] [stderr] Compiling sysinfo v0.30.10 [INFO] [stderr] Compiling env_logger v0.11.3 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling derive_builder_core v0.12.0 [INFO] [stderr] Compiling dialoguer v0.11.0 [INFO] [stderr] Compiling derive_builder_macro v0.12.0 [INFO] [stderr] Compiling derive_builder v0.12.0 [INFO] [stderr] Compiling datatoolkits v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/commons/fileutiles.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | time::{self, SystemTime, UNIX_EPOCH}, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `convert::*` [INFO] [stdout] --> src/commons/mod.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub use convert::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `json_utile::*` [INFO] [stdout] --> src/commons/mod.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub use json_utile::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `subcmdcompleter::CommandCompleter` [INFO] [stdout] --> src/commons/mod.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub use subcmdcompleter::CommandCompleter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `subcmdcompleter::SubCmd` [INFO] [stdout] --> src/commons/mod.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub use subcmdcompleter::SubCmd; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `yamlutile::*` [INFO] [stdout] --> src/commons/mod.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub use yamlutile::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_path` [INFO] [stdout] --> src/main.rs:66:29 [INFO] [stdout] | [INFO] [stdout] 66 | fn copy_file_and_add_subfix(file_path: &str, target_file_path: &str) {} [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target_file_path` [INFO] [stdout] --> src/main.rs:66:46 [INFO] [stdout] | [INFO] [stdout] 66 | fn copy_file_and_add_subfix(file_path: &str, target_file_path: &str) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_target_file_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `copy_file_and_add_subfix` is never used [INFO] [stdout] --> src/main.rs:66:4 [INFO] [stdout] | [INFO] [stdout] 66 | fn copy_file_and_add_subfix(file_path: &str, target_file_path: &str) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `byte_size_str_to_usize` is never used [INFO] [stdout] --> src/commons/convert.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn byte_size_str_to_usize(byte_size: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `byte_size_usize_to_str` is never used [INFO] [stdout] --> src/commons/convert.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn byte_size_usize_to_str(byte_size: usize) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FilePart` is never constructed [INFO] [stdout] --> src/commons/fileutiles.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct FilePart { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FilePart` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_lines` is never used [INFO] [stdout] --> src/commons/fileutiles.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn read_lines

(filename: P) -> io::Result>> [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `copy_file` is never used [INFO] [stdout] --> src/commons/fileutiles.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn copy_file( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `multi_parts_copy_file` is never used [INFO] [stdout] --> src/commons/fileutiles.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn multi_parts_copy_file(source: &str, target: &str, chunk_size: usize) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remove_dir_contents` is never used [INFO] [stdout] --> src/commons/fileutiles.rs:74:4 [INFO] [stdout] | [INFO] [stdout] 74 | fn remove_dir_contents>(path: P) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `analyze_folder_files_size` is never used [INFO] [stdout] --> src/commons/fileutiles.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn analyze_folder_files_size( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_file` is never used [INFO] [stdout] --> src/commons/fileutiles.rs:136:8 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn generate_file(file_size: usize, batch: usize, file_name: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `merge_file` is never used [INFO] [stdout] --> src/commons/fileutiles.rs:168:8 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn merge_file>(file: P, merge_to: P, chunk_size: usize) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_line_file` is never used [INFO] [stdout] --> src/commons/fileutiles.rs:190:8 [INFO] [stdout] | [INFO] [stdout] 190 | pub fn generate_line_file(line_base_size: usize, lines: usize, file_name: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_files` is never used [INFO] [stdout] --> src/commons/fileutiles.rs:216:8 [INFO] [stdout] | [INFO] [stdout] 216 | pub fn generate_files( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gen_multi_part_plan` is never used [INFO] [stdout] --> src/commons/fileutiles.rs:253:8 [INFO] [stdout] | [INFO] [stdout] 253 | pub fn gen_multi_part_plan(file_path: &str, chunk_size: usize) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `exclude_regex` and `include_regex` are never read [INFO] [stdout] --> src/commons/filters.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct RegexFilter { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 7 | pub exclude_regex: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 8 | pub include_regex: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RegexFilter` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_vec`, `new`, `set_exclude`, `set_include`, and `filter` are never used [INFO] [stdout] --> src/commons/filters.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl RegexFilter { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 21 | pub fn from_vec( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn new(exclude_regex: Option, include_regex: Option) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn set_exclude(&mut self, reg_set: RegexSet) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn set_include(&mut self, reg_set: RegexSet) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn filter(&self, content: &str) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `filter` is never used [INFO] [stdout] --> src/commons/filters.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 84 | impl LastModifyFilter { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] 85 | pub fn filter(&self, timestamp: i128) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `struct_to_json_string` is never used [INFO] [stdout] --> src/commons/json_utile.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn struct_to_json_string(value: &T) -> Result [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_json_file` is never used [INFO] [stdout] --> src/commons/json_utile.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn read_json_file(path: &str) -> Result [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rand_string` is never used [INFO] [stdout] --> src/commons/rand_util.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn rand_string(len: usize) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `size_distributed` is never used [INFO] [stdout] --> src/commons/size_distributed.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn size_distributed(size: i128) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `size_distributed_equally_spaced` is never used [INFO] [stdout] --> src/commons/size_distributed.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn size_distributed_equally_spaced(size: i128, step: i128) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SubCmd` is never constructed [INFO] [stdout] --> src/commons/subcmdcompleter.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct SubCmd { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SubCmd` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CommandCompleter` is never constructed [INFO] [stdout] --> src/commons/subcmdcompleter.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct CommandCompleter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CommandCompleter` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `level_possible_cmd`, `level_prefix_possible_cmd`, `level_cmd_possible_sub_cmd`, `level_cmd_possible_prefix_sub_cmd`, and `complete_cmd` are never used [INFO] [stdout] --> src/commons/subcmdcompleter.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl CommandCompleter { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 20 | pub fn new(subcmds: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn level_possible_cmd(&self, level: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn level_prefix_possible_cmd(&self, level: usize, prefix: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn level_cmd_possible_sub_cmd(&self, level: usize, cmd: String) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn level_cmd_possible_prefix_sub_cmd( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn complete_cmd(&self, line: &str, pos: usize) -> Result<(usize, Vec)> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `struct_to_yml_file` is never used [INFO] [stdout] --> src/commons/yamlutile.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn struct_to_yml_file(value: &T, path: &str) -> Result<()> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `struct_to_yaml_string` is never used [INFO] [stdout] --> src/commons/yamlutile.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn struct_to_yaml_string(value: &T) -> Result [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_yaml_file` is never used [INFO] [stdout] --> src/commons/yamlutile.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn read_yaml_file(path: &str) -> Result [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 47s [INFO] running `Command { std: "docker" "inspect" "7bff1a5e7a9b7eb38dc96e05f1bfdf6ca4ea9494adaf8b1c78f0e9ee9198c467", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7bff1a5e7a9b7eb38dc96e05f1bfdf6ca4ea9494adaf8b1c78f0e9ee9198c467", kill_on_drop: false }` [INFO] [stdout] 7bff1a5e7a9b7eb38dc96e05f1bfdf6ca4ea9494adaf8b1c78f0e9ee9198c467 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] ace510b89ad64d8ec3418d3f80541a76b1b103714bb6e9d7188acdd8562d0d96 [INFO] running `Command { std: "docker" "start" "-a" "ace510b89ad64d8ec3418d3f80541a76b1b103714bb6e9d7188acdd8562d0d96", kill_on_drop: false }` [INFO] [stderr] Compiling datatoolkits v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/commons/fileutiles.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | time::{self, SystemTime, UNIX_EPOCH}, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `json_utile::*` [INFO] [stdout] --> src/commons/mod.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub use json_utile::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `subcmdcompleter::CommandCompleter` [INFO] [stdout] --> src/commons/mod.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub use subcmdcompleter::CommandCompleter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `subcmdcompleter::SubCmd` [INFO] [stdout] --> src/commons/mod.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub use subcmdcompleter::SubCmd; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `yamlutile::*` [INFO] [stdout] --> src/commons/mod.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub use yamlutile::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_path` [INFO] [stdout] --> src/main.rs:66:29 [INFO] [stdout] | [INFO] [stdout] 66 | fn copy_file_and_add_subfix(file_path: &str, target_file_path: &str) {} [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target_file_path` [INFO] [stdout] --> src/main.rs:66:46 [INFO] [stdout] | [INFO] [stdout] 66 | fn copy_file_and_add_subfix(file_path: &str, target_file_path: &str) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_target_file_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `copy_file_and_add_subfix` is never used [INFO] [stdout] --> src/main.rs:66:4 [INFO] [stdout] | [INFO] [stdout] 66 | fn copy_file_and_add_subfix(file_path: &str, target_file_path: &str) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FilePart` is never constructed [INFO] [stdout] --> src/commons/fileutiles.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct FilePart { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FilePart` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_lines` is never used [INFO] [stdout] --> src/commons/fileutiles.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn read_lines

(filename: P) -> io::Result>> [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `copy_file` is never used [INFO] [stdout] --> src/commons/fileutiles.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn copy_file( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `multi_parts_copy_file` is never used [INFO] [stdout] --> src/commons/fileutiles.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn multi_parts_copy_file(source: &str, target: &str, chunk_size: usize) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remove_dir_contents` is never used [INFO] [stdout] --> src/commons/fileutiles.rs:74:4 [INFO] [stdout] | [INFO] [stdout] 74 | fn remove_dir_contents>(path: P) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `analyze_folder_files_size` is never used [INFO] [stdout] --> src/commons/fileutiles.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn analyze_folder_files_size( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `merge_file` is never used [INFO] [stdout] --> src/commons/fileutiles.rs:168:8 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn merge_file>(file: P, merge_to: P, chunk_size: usize) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_files` is never used [INFO] [stdout] --> src/commons/fileutiles.rs:216:8 [INFO] [stdout] | [INFO] [stdout] 216 | pub fn generate_files( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gen_multi_part_plan` is never used [INFO] [stdout] --> src/commons/fileutiles.rs:253:8 [INFO] [stdout] | [INFO] [stdout] 253 | pub fn gen_multi_part_plan(file_path: &str, chunk_size: usize) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `exclude_regex` and `include_regex` are never read [INFO] [stdout] --> src/commons/filters.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct RegexFilter { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 7 | pub exclude_regex: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 8 | pub include_regex: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RegexFilter` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_vec`, `new`, `set_exclude`, `set_include`, and `filter` are never used [INFO] [stdout] --> src/commons/filters.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl RegexFilter { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 21 | pub fn from_vec( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn new(exclude_regex: Option, include_regex: Option) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn set_exclude(&mut self, reg_set: RegexSet) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn set_include(&mut self, reg_set: RegexSet) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn filter(&self, content: &str) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `filter` is never used [INFO] [stdout] --> src/commons/filters.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 84 | impl LastModifyFilter { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] 85 | pub fn filter(&self, timestamp: i128) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `struct_to_json_string` is never used [INFO] [stdout] --> src/commons/json_utile.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn struct_to_json_string(value: &T) -> Result [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_json_file` is never used [INFO] [stdout] --> src/commons/json_utile.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn read_json_file(path: &str) -> Result [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `size_distributed` is never used [INFO] [stdout] --> src/commons/size_distributed.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn size_distributed(size: i128) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `size_distributed_equally_spaced` is never used [INFO] [stdout] --> src/commons/size_distributed.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn size_distributed_equally_spaced(size: i128, step: i128) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `struct_to_yml_file` is never used [INFO] [stdout] --> src/commons/yamlutile.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn struct_to_yml_file(value: &T, path: &str) -> Result<()> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `struct_to_yaml_string` is never used [INFO] [stdout] --> src/commons/yamlutile.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn struct_to_yaml_string(value: &T) -> Result [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_yaml_file` is never used [INFO] [stdout] --> src/commons/yamlutile.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn read_yaml_file(path: &str) -> Result [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.02s [INFO] running `Command { std: "docker" "inspect" "ace510b89ad64d8ec3418d3f80541a76b1b103714bb6e9d7188acdd8562d0d96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ace510b89ad64d8ec3418d3f80541a76b1b103714bb6e9d7188acdd8562d0d96", kill_on_drop: false }` [INFO] [stdout] ace510b89ad64d8ec3418d3f80541a76b1b103714bb6e9d7188acdd8562d0d96 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] f67e8d62b2ab6ac4a70fd9a87a1604491b5f79a6047762b3cb1ab13c9374392d [INFO] running `Command { std: "docker" "start" "-a" "f67e8d62b2ab6ac4a70fd9a87a1604491b5f79a6047762b3cb1ab13c9374392d", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `self` [INFO] [stderr] --> src/commons/fileutiles.rs:8:12 [INFO] [stderr] | [INFO] [stderr] 8 | time::{self, SystemTime, UNIX_EPOCH}, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `json_utile::*` [INFO] [stderr] --> src/commons/mod.rs:12:9 [INFO] [stderr] | [INFO] [stderr] 12 | pub use json_utile::*; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `subcmdcompleter::CommandCompleter` [INFO] [stderr] --> src/commons/mod.rs:14:9 [INFO] [stderr] | [INFO] [stderr] 14 | pub use subcmdcompleter::CommandCompleter; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `subcmdcompleter::SubCmd` [INFO] [stderr] --> src/commons/mod.rs:15:9 [INFO] [stderr] | [INFO] [stderr] 15 | pub use subcmdcompleter::SubCmd; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `yamlutile::*` [INFO] [stderr] --> src/commons/mod.rs:16:9 [INFO] [stderr] | [INFO] [stderr] 16 | pub use yamlutile::*; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `file_path` [INFO] [stderr] --> src/main.rs:66:29 [INFO] [stderr] | [INFO] [stderr] 66 | fn copy_file_and_add_subfix(file_path: &str, target_file_path: &str) {} [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_path` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `target_file_path` [INFO] [stderr] --> src/main.rs:66:46 [INFO] [stderr] | [INFO] [stderr] 66 | fn copy_file_and_add_subfix(file_path: &str, target_file_path: &str) {} [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_target_file_path` [INFO] [stderr] [INFO] [stderr] warning: function `copy_file_and_add_subfix` is never used [INFO] [stderr] --> src/main.rs:66:4 [INFO] [stderr] | [INFO] [stderr] 66 | fn copy_file_and_add_subfix(file_path: &str, target_file_path: &str) {} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: struct `FilePart` is never constructed [INFO] [stderr] --> src/commons/fileutiles.rs:13:12 [INFO] [stderr] | [INFO] [stderr] 13 | pub struct FilePart { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `FilePart` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: function `read_lines` is never used [INFO] [stderr] --> src/commons/fileutiles.rs:18:8 [INFO] [stderr] | [INFO] [stderr] 18 | pub fn read_lines

(filename: P) -> io::Result>> [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `copy_file` is never used [INFO] [stderr] --> src/commons/fileutiles.rs:26:8 [INFO] [stderr] | [INFO] [stderr] 26 | pub fn copy_file( [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `multi_parts_copy_file` is never used [INFO] [stderr] --> src/commons/fileutiles.rs:53:8 [INFO] [stderr] | [INFO] [stderr] 53 | pub fn multi_parts_copy_file(source: &str, target: &str, chunk_size: usize) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `remove_dir_contents` is never used [INFO] [stderr] --> src/commons/fileutiles.rs:74:4 [INFO] [stderr] | [INFO] [stderr] 74 | fn remove_dir_contents>(path: P) -> io::Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `analyze_folder_files_size` is never used [INFO] [stderr] --> src/commons/fileutiles.rs:89:8 [INFO] [stderr] | [INFO] [stderr] 89 | pub fn analyze_folder_files_size( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `merge_file` is never used [INFO] [stderr] --> src/commons/fileutiles.rs:168:8 [INFO] [stderr] | [INFO] [stderr] 168 | pub fn merge_file>(file: P, merge_to: P, chunk_size: usize) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `generate_files` is never used [INFO] [stderr] --> src/commons/fileutiles.rs:216:8 [INFO] [stderr] | [INFO] [stderr] 216 | pub fn generate_files( [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `gen_multi_part_plan` is never used [INFO] [stderr] --> src/commons/fileutiles.rs:253:8 [INFO] [stderr] | [INFO] [stderr] 253 | pub fn gen_multi_part_plan(file_path: &str, chunk_size: usize) -> Result> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `exclude_regex` and `include_regex` are never read [INFO] [stderr] --> src/commons/filters.rs:7:9 [INFO] [stderr] | [INFO] [stderr] 6 | pub struct RegexFilter { [INFO] [stderr] | ----------- fields in this struct [INFO] [stderr] 7 | pub exclude_regex: Option, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 8 | pub include_regex: Option, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `RegexFilter` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: associated items `from_vec`, `new`, `set_exclude`, `set_include`, and `filter` are never used [INFO] [stderr] --> src/commons/filters.rs:21:12 [INFO] [stderr] | [INFO] [stderr] 20 | impl RegexFilter { [INFO] [stderr] | ---------------- associated items in this implementation [INFO] [stderr] 21 | pub fn from_vec( [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 40 | pub fn new(exclude_regex: Option, include_regex: Option) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 47 | pub fn set_exclude(&mut self, reg_set: RegexSet) { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 51 | pub fn set_include(&mut self, reg_set: RegexSet) { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 55 | pub fn filter(&self, content: &str) -> bool { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `filter` is never used [INFO] [stderr] --> src/commons/filters.rs:85:12 [INFO] [stderr] | [INFO] [stderr] 84 | impl LastModifyFilter { [INFO] [stderr] | --------------------- method in this implementation [INFO] [stderr] 85 | pub fn filter(&self, timestamp: i128) -> bool { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `struct_to_json_string` is never used [INFO] [stderr] --> src/commons/json_utile.rs:15:8 [INFO] [stderr] | [INFO] [stderr] 15 | pub fn struct_to_json_string(value: &T) -> Result [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `read_json_file` is never used [INFO] [stderr] --> src/commons/json_utile.rs:23:8 [INFO] [stderr] | [INFO] [stderr] 23 | pub fn read_json_file(path: &str) -> Result [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `size_distributed` is never used [INFO] [stderr] --> src/commons/size_distributed.rs:1:8 [INFO] [stderr] | [INFO] [stderr] 1 | pub fn size_distributed(size: i128) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `size_distributed_equally_spaced` is never used [INFO] [stderr] --> src/commons/size_distributed.rs:14:8 [INFO] [stderr] | [INFO] [stderr] 14 | pub fn size_distributed_equally_spaced(size: i128, step: i128) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `struct_to_yml_file` is never used [INFO] [stderr] --> src/commons/yamlutile.rs:6:8 [INFO] [stderr] | [INFO] [stderr] 6 | pub fn struct_to_yml_file(value: &T, path: &str) -> Result<()> [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `struct_to_yaml_string` is never used [INFO] [stderr] --> src/commons/yamlutile.rs:15:8 [INFO] [stderr] | [INFO] [stderr] 15 | pub fn struct_to_yaml_string(value: &T) -> Result [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `read_yaml_file` is never used [INFO] [stderr] --> src/commons/yamlutile.rs:23:8 [INFO] [stderr] | [INFO] [stderr] 23 | pub fn read_yaml_file(path: &str) -> Result [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `datatoolkits` (bin "datatoolkits" test) generated 27 warnings (run `cargo fix --bin "datatoolkits" --tests` to apply 5 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.26s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/datatoolkits-34c9f682122bea64) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test commons::convert::test::test_byte_size_to_usize ... ok [INFO] [stdout] test commons::convert::test::test_byte_size_usize_to_str ... ok [INFO] [stdout] test commons::fileutiles::test::test_analyze_folder_files_size ... ok [INFO] [stdout] test commons::fileutiles::test::test_gen_file ... ok [INFO] [stdout] test commons::subcmdcompleter::test::command_completer_test ... ok [INFO] [stdout] test commons::fileutiles::test::test_generate_line_file ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 7.53s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f67e8d62b2ab6ac4a70fd9a87a1604491b5f79a6047762b3cb1ab13c9374392d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f67e8d62b2ab6ac4a70fd9a87a1604491b5f79a6047762b3cb1ab13c9374392d", kill_on_drop: false }` [INFO] [stdout] f67e8d62b2ab6ac4a70fd9a87a1604491b5f79a6047762b3cb1ab13c9374392d