[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] building jiashiwen/datatoolkits against master#70591dc15db32941fe3595fdbf98e58d6975f95e for pr-127731 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjiashiwen%2Fdatatoolkits" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jiashiwen/datatoolkits on toolchain 70591dc15db32941fe3595fdbf98e58d6975f95e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+70591dc15db32941fe3595fdbf98e58d6975f95e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-2-tc1/source/Cargo.toml [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" "+70591dc15db32941fe3595fdbf98e58d6975f95e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+70591dc15db32941fe3595fdbf98e58d6975f95e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6310aa537710804e2e93b70ae91448cda7819518e71a89dd51eeaf71c417b692 [INFO] running `Command { std: "docker" "start" "-a" "6310aa537710804e2e93b70ae91448cda7819518e71a89dd51eeaf71c417b692", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6310aa537710804e2e93b70ae91448cda7819518e71a89dd51eeaf71c417b692", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6310aa537710804e2e93b70ae91448cda7819518e71a89dd51eeaf71c417b692", kill_on_drop: false }` [INFO] [stdout] 6310aa537710804e2e93b70ae91448cda7819518e71a89dd51eeaf71c417b692 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+70591dc15db32941fe3595fdbf98e58d6975f95e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b9e5965a32ed68a56d1299f2b846fe3da08e37de08e01f7bdd7cd16ee618ea6c [INFO] running `Command { std: "docker" "start" "-a" "b9e5965a32ed68a56d1299f2b846fe3da08e37de08e01f7bdd7cd16ee618ea6c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling smallvec v1.13.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 parking_lot_core v0.9.9 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling rustix v0.38.32 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling cc v1.0.92 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling syn v2.0.58 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling getrandom v0.2.14 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling openssl-src v300.2.3+3.2.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling anstyle-parse v0.2.3 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling anstyle-query v1.0.2 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling anstyle v1.0.6 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling dtt v0.0.5 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling anstream v0.6.13 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling socket2 v0.5.6 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling vrd v0.0.5 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling serde_json v1.0.115 [INFO] [stderr] Compiling vrd v0.0.4 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling unicode-width v0.1.11 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling rlg v0.0.2 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling clap_lex v0.7.0 [INFO] [stderr] Compiling derive_builder_core v0.12.0 [INFO] [stderr] Compiling anyhow v1.0.82 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling fastrand v2.0.2 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Compiling clap_builder v4.5.2 [INFO] [stderr] Compiling nix v0.28.0 [INFO] [stderr] Compiling console v0.15.8 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling derive_builder_macro v0.12.0 [INFO] [stderr] Compiling shared_child v1.0.0 [INFO] [stderr] Compiling os_pipe v1.1.5 [INFO] [stderr] Compiling shell-words v1.1.0 [INFO] [stderr] Compiling xtasks v0.0.2 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling rlg v0.0.3 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling zeroize v1.7.0 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling dialoguer v0.11.0 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling derive_builder v0.12.0 [INFO] [stderr] Compiling duct v0.13.7 [INFO] [stderr] Compiling env_filter v0.1.0 [INFO] [stderr] Compiling clap v4.5.4 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling nibble_vec v0.1.0 [INFO] [stderr] Compiling endian-type v0.1.2 [INFO] [stderr] Compiling serde_yml v0.0.4 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling env_logger v0.11.3 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling radix_trie v0.2.1 [INFO] [stderr] Compiling fd-lock v4.0.2 [INFO] [stderr] Compiling uuid v1.8.0 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling figlet-rs v0.1.5 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling sysinfo v0.30.10 [INFO] [stderr] Compiling rustyline v14.0.0 [INFO] [stderr] Compiling dashmap v5.5.3 [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 `Clone` and `Debug`, 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: 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: 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] [stdout] warning: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 33s [INFO] running `Command { std: "docker" "inspect" "b9e5965a32ed68a56d1299f2b846fe3da08e37de08e01f7bdd7cd16ee618ea6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9e5965a32ed68a56d1299f2b846fe3da08e37de08e01f7bdd7cd16ee618ea6c", kill_on_drop: false }` [INFO] [stdout] b9e5965a32ed68a56d1299f2b846fe3da08e37de08e01f7bdd7cd16ee618ea6c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+70591dc15db32941fe3595fdbf98e58d6975f95e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 428d4d6a92a20ed33e87e6634794884979c3d606c5ade07d251a2cb2190bc8e1 [INFO] running `Command { std: "docker" "start" "-a" "428d4d6a92a20ed33e87e6634794884979c3d606c5ade07d251a2cb2190bc8e1", 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 `Clone` and `Debug`, 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: 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] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.99s [INFO] running `Command { std: "docker" "inspect" "428d4d6a92a20ed33e87e6634794884979c3d606c5ade07d251a2cb2190bc8e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "428d4d6a92a20ed33e87e6634794884979c3d606c5ade07d251a2cb2190bc8e1", kill_on_drop: false }` [INFO] [stdout] 428d4d6a92a20ed33e87e6634794884979c3d606c5ade07d251a2cb2190bc8e1