[INFO] cloning repository https://github.com/MAE664128/dcm_findler [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MAE664128/dcm_findler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMAE664128%2Fdcm_findler", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMAE664128%2Fdcm_findler'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c3d14f9bd513ee42479a016e20056d1933cb52d3 [INFO] building MAE664128/dcm_findler against master#0da281b6068a7d889ae89a9bd8991284cc9b7535 for pr-103610 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMAE664128%2Fdcm_findler" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MAE664128/dcm_findler on toolchain 0da281b6068a7d889ae89a9bd8991284cc9b7535 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0da281b6068a7d889ae89a9bd8991284cc9b7535" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/MAE664128/dcm_findler [INFO] finished tweaking git repo https://github.com/MAE664128/dcm_findler [INFO] tweaked toml for git repo https://github.com/MAE664128/dcm_findler written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/MAE664128/dcm_findler already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0da281b6068a7d889ae89a9bd8991284cc9b7535" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded byteordered v0.6.0 [INFO] [stderr] Downloaded dicom-parser v0.5.2 [INFO] [stderr] Downloaded dicom-transfer-syntax-registry v0.5.1 [INFO] [stderr] Downloaded dicom-ul v0.4.3 [INFO] [stderr] Downloaded dicom v0.5.3 [INFO] [stderr] Downloaded rusqlite v0.26.3 [INFO] [stderr] Downloaded dicom-object v0.5.3 [INFO] [stderr] Downloaded ndarray-stats v0.5.1 [INFO] [stderr] Downloaded dicom-pixeldata v0.1.4 [INFO] [stderr] Downloaded dicom-dictionary-std v0.5.0 [INFO] [stderr] Downloaded dicom-encoding v0.5.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:83125433e4fff17b1ac56874832f668d9df75ee638575aca552b68e127bedee9" "/opt/rustwide/cargo-home/bin/cargo" "+0da281b6068a7d889ae89a9bd8991284cc9b7535" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 928a9a8a247e81da74f1f027691ca34945d14683497df4d5697b49ad99b749c5 [INFO] running `Command { std: "docker" "start" "-a" "928a9a8a247e81da74f1f027691ca34945d14683497df4d5697b49ad99b749c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "928a9a8a247e81da74f1f027691ca34945d14683497df4d5697b49ad99b749c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "928a9a8a247e81da74f1f027691ca34945d14683497df4d5697b49ad99b749c5", kill_on_drop: false }` [INFO] [stdout] 928a9a8a247e81da74f1f027691ca34945d14683497df4d5697b49ad99b749c5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:83125433e4fff17b1ac56874832f668d9df75ee638575aca552b68e127bedee9" "/opt/rustwide/cargo-home/bin/cargo" "+0da281b6068a7d889ae89a9bd8991284cc9b7535" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e7d3444de91a9363afc32d08c1faac7e73fe7ee501a3657f232700f1f06112a0 [INFO] running `Command { std: "docker" "start" "-a" "e7d3444de91a9363afc32d08c1faac7e73fe7ee501a3657f232700f1f06112a0", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.137 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.47 [INFO] [stderr] Compiling unicode-ident v1.0.5 [INFO] [stderr] Compiling syn v1.0.103 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling once_cell v1.15.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling rayon-core v1.9.3 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling encoding_index_tests v0.1.4 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling iana-time-zone v0.1.51 [INFO] [stderr] Compiling safe-transmute v0.11.1 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling regex-syntax v0.6.22 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling encoding-index-korean v1.20141219.5 [INFO] [stderr] Compiling encoding-index-japanese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling byteordered v0.6.0 [INFO] [stderr] Compiling tracing-core v0.1.30 [INFO] [stderr] Compiling encoding v0.2.33 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling miniz_oxide v0.5.4 [INFO] [stderr] Compiling gimli v0.23.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling rayon v1.5.3 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling crossbeam-epoch v0.9.3 [INFO] [stderr] Compiling crossbeam-channel v0.5.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling getrandom v0.2.8 [INFO] [stderr] Compiling crossbeam-deque v0.8.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling flate2 v1.0.24 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling chrono v0.4.22 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling object v0.23.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling rustc-demangle v0.1.18 [INFO] [stderr] Compiling serde_derive v1.0.124 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling matrixmultiply v0.3.2 [INFO] [stderr] Compiling num-complex v0.4.2 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling regex v1.4.3 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling bstr v0.2.15 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling addr2line v0.14.1 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling weezl v0.1.7 [INFO] [stderr] Compiling serde v1.0.124 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling vcpkg v0.2.11 [INFO] [stderr] Compiling globset v0.4.6 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling ndarray v0.15.6 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling png v0.17.6 [INFO] [stderr] Compiling noisy_float v0.2.0 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling backtrace v0.3.56 [INFO] [stderr] Compiling jpeg-decoder v0.2.6 [INFO] [stderr] Compiling libsqlite3-sys v0.23.2 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling bytemuck v1.12.1 [INFO] [stderr] Compiling env_logger v0.5.13 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling ignore v0.4.17 [INFO] [stderr] Compiling terminal_size v0.1.16 [INFO] [stderr] Compiling serde_json v1.0.87 [INFO] [stderr] Compiling console v0.14.0 [INFO] [stderr] Compiling hashlink v0.7.0 [INFO] [stderr] Compiling tiff v0.7.3 [INFO] [stderr] Compiling globwalk v0.3.1 [INFO] [stderr] Compiling itoa v1.0.4 [INFO] [stderr] Compiling fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling number_prefix v0.3.0 [INFO] [stderr] Compiling indicatif v0.15.0 [INFO] [stderr] Compiling structopt-derive v0.2.18 [INFO] [stderr] Compiling ndarray-stats v0.5.1 [INFO] [stderr] Compiling image v0.24.4 [INFO] [stderr] Compiling structopt v0.2.18 [INFO] [stderr] Compiling snafu-derive v0.7.3 [INFO] [stderr] Compiling ghost v0.1.6 [INFO] [stderr] Compiling ctor v0.1.19 [INFO] [stderr] Compiling tracing-attributes v0.1.23 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling inventory v0.2.3 [INFO] [stderr] Compiling exitfailure v0.5.1 [INFO] [stderr] Compiling clap-verbosity-flag v0.2.0 [INFO] [stderr] Compiling structopt v0.3.26 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling snafu v0.7.3 [INFO] [stderr] Compiling dicom-core v0.5.2 [INFO] [stderr] Compiling dicom-dictionary-std v0.5.0 [INFO] [stderr] Compiling dicom-encoding v0.5.2 [INFO] [stderr] Compiling dicom-transfer-syntax-registry v0.5.1 [INFO] [stderr] Compiling dicom-parser v0.5.2 [INFO] [stderr] Compiling dicom-ul v0.4.3 [INFO] [stderr] Compiling quicli v0.4.0 [INFO] [stderr] Compiling rusqlite v0.26.3 [INFO] [stderr] Compiling dicom-object v0.5.3 [INFO] [stderr] Compiling dicom-pixeldata v0.1.4 [INFO] [stderr] Compiling dicom v0.5.3 [INFO] [stderr] Compiling dcm_finder v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated constant `rusqlite::NO_PARAMS`: Use an empty array instead; `stmt.execute(NO_PARAMS)` => `stmt.execute([])` [INFO] [stdout] --> src/work_db.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use rusqlite::NO_PARAMS; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `rusqlite::NO_PARAMS`: Use an empty array instead; `stmt.execute(NO_PARAMS)` => `stmt.execute([])` [INFO] [stdout] --> src/work_db.rs:120:13 [INFO] [stdout] | [INFO] [stdout] 120 | NO_PARAMS, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `rusqlite::NO_PARAMS`: Use an empty array instead; `stmt.execute(NO_PARAMS)` => `stmt.execute([])` [INFO] [stdout] --> src/work_db.rs:134:13 [INFO] [stdout] | [INFO] [stdout] 134 | NO_PARAMS, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `rusqlite::NO_PARAMS`: Use an empty array instead; `stmt.execute(NO_PARAMS)` => `stmt.execute([])` [INFO] [stdout] --> src/work_db.rs:160:13 [INFO] [stdout] | [INFO] [stdout] 160 | NO_PARAMS, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `rusqlite::NO_PARAMS`: Use an empty array instead; `stmt.execute(NO_PARAMS)` => `stmt.execute([])` [INFO] [stdout] --> src/work_db.rs:172:13 [INFO] [stdout] | [INFO] [stdout] 172 | NO_PARAMS, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `rusqlite::NO_PARAMS`: Use an empty array instead; `stmt.execute(NO_PARAMS)` => `stmt.execute([])` [INFO] [stdout] --> src/work_db.rs:284:35 [INFO] [stdout] | [INFO] [stdout] 284 | let mut rows = stmt.query(NO_PARAMS)?; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `action` is never read [INFO] [stdout] --> src/cli.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 8 | struct Cli { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | pub action: Command, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Cli` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `path_to_dir_for_search` is never read [INFO] [stdout] --> src/cli.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 18 | Find { [INFO] [stdout] | ---- field in this variant [INFO] [stdout] ... [INFO] [stdout] 21 | path_to_dir_for_search: path::PathBuf, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `path_to_dir_for_search` and `path_to_dir_for_save` are never read [INFO] [stdout] --> src/cli.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 25 | Depersonalize { [INFO] [stdout] | ------------- fields in this variant [INFO] [stdout] ... [INFO] [stdout] 28 | path_to_dir_for_search: path::PathBuf, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | path_to_dir_for_save: path::PathBuf, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start_cli` is never used [INFO] [stdout] --> src/cli.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn start_cli() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_hidden` is never used [INFO] [stdout] --> src/dir_scan.rs:17:4 [INFO] [stdout] | [INFO] [stdout] 17 | fn is_hidden(entry: &DirEntry) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_all_files` is never used [INFO] [stdout] --> src/dir_scan.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn find_all_files(dir_path: &path::PathBuf) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `scanning` is never used [INFO] [stdout] --> src/dir_scan.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn scanning(find_in: &path::PathBuf, only_find: bool, save_in: Option<&path::PathBuf>) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_new_path` is never used [INFO] [stdout] --> src/dir_scan.rs:79:4 [INFO] [stdout] | [INFO] [stdout] 79 | fn create_new_path(meta_dcm: &work_dcm::MetaDcm, save_in: &path::PathBuf) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `count_files_in_dir` is never used [INFO] [stdout] --> src/dir_scan.rs:119:4 [INFO] [stdout] | [INFO] [stdout] 119 | fn count_files_in_dir(path: &path::PathBuf) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `export_res_as_json` is never used [INFO] [stdout] --> src/dir_scan.rs:126:4 [INFO] [stdout] | [INFO] [stdout] 126 | fn export_res_as_json(con: Arc>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_dcm_in_contents` is never used [INFO] [stdout] --> src/dir_scan.rs:139:4 [INFO] [stdout] | [INFO] [stdout] 139 | fn add_dcm_in_contents(con: &Arc>, meta_dcm: &work_dcm::MetaDcm) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_value_for_tag` is never used [INFO] [stdout] --> src/work_dcm.rs:93:4 [INFO] [stdout] | [INFO] [stdout] 93 | fn get_value_for_tag(obj: &DefaultDicomObject, tag: Tag) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `depersonalize_obj` is never used [INFO] [stdout] --> src/work_dcm.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn depersonalize_obj(obj: &mut DefaultDicomObject) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `replace_element_in_dcm_obj` is never used [INFO] [stdout] --> src/work_dcm.rs:136:4 [INFO] [stdout] | [INFO] [stdout] 136 | fn replace_element_in_dcm_obj(obj: &mut DefaultDicomObject, tag: Tag, values: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save_dcm` is never used [INFO] [stdout] --> src/work_dcm.rs:154:8 [INFO] [stdout] | [INFO] [stdout] 154 | pub fn save_dcm(obj: &DefaultDicomObject, save_in: &String) ->Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_dcm` is never used [INFO] [stdout] --> src/work_dcm.rs:159:8 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn read_dcm(path: &path::Path) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from` is never used [INFO] [stdout] --> src/work_dcm.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn from<'a>(obj: &'a DefaultDicomObject, path: &'a str) -> MetaDcm<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `rusqlite::NO_PARAMS`: Use an empty array instead; `stmt.execute(NO_PARAMS)` => `stmt.execute([])` [INFO] [stdout] --> src/work_db.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use rusqlite::NO_PARAMS; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `rusqlite::NO_PARAMS`: Use an empty array instead; `stmt.execute(NO_PARAMS)` => `stmt.execute([])` [INFO] [stdout] --> src/work_db.rs:120:13 [INFO] [stdout] | [INFO] [stdout] 120 | NO_PARAMS, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `rusqlite::NO_PARAMS`: Use an empty array instead; `stmt.execute(NO_PARAMS)` => `stmt.execute([])` [INFO] [stdout] --> src/work_db.rs:134:13 [INFO] [stdout] | [INFO] [stdout] 134 | NO_PARAMS, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `rusqlite::NO_PARAMS`: Use an empty array instead; `stmt.execute(NO_PARAMS)` => `stmt.execute([])` [INFO] [stdout] --> src/work_db.rs:160:13 [INFO] [stdout] | [INFO] [stdout] 160 | NO_PARAMS, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `rusqlite::NO_PARAMS`: Use an empty array instead; `stmt.execute(NO_PARAMS)` => `stmt.execute([])` [INFO] [stdout] --> src/work_db.rs:172:13 [INFO] [stdout] | [INFO] [stdout] 172 | NO_PARAMS, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `rusqlite::NO_PARAMS`: Use an empty array instead; `stmt.execute(NO_PARAMS)` => `stmt.execute([])` [INFO] [stdout] --> src/work_db.rs:284:35 [INFO] [stdout] | [INFO] [stdout] 284 | let mut rows = stmt.query(NO_PARAMS)?; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 05s [INFO] running `Command { std: "docker" "inspect" "e7d3444de91a9363afc32d08c1faac7e73fe7ee501a3657f232700f1f06112a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7d3444de91a9363afc32d08c1faac7e73fe7ee501a3657f232700f1f06112a0", kill_on_drop: false }` [INFO] [stdout] e7d3444de91a9363afc32d08c1faac7e73fe7ee501a3657f232700f1f06112a0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:83125433e4fff17b1ac56874832f668d9df75ee638575aca552b68e127bedee9" "/opt/rustwide/cargo-home/bin/cargo" "+0da281b6068a7d889ae89a9bd8991284cc9b7535" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6c888cfe91b8f9a2b410a799063bbb6f4643f91b9f8a499a7658efbf6ddf3078 [INFO] running `Command { std: "docker" "start" "-a" "6c888cfe91b8f9a2b410a799063bbb6f4643f91b9f8a499a7658efbf6ddf3078", kill_on_drop: false }` [INFO] [stderr] Compiling dcm_finder v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated constant `rusqlite::NO_PARAMS`: Use an empty array instead; `stmt.execute(NO_PARAMS)` => `stmt.execute([])` [INFO] [stdout] --> src/work_db.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use rusqlite::NO_PARAMS; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `rusqlite::NO_PARAMS`: Use an empty array instead; `stmt.execute(NO_PARAMS)` => `stmt.execute([])` [INFO] [stdout] --> src/work_db.rs:120:13 [INFO] [stdout] | [INFO] [stdout] 120 | NO_PARAMS, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `rusqlite::NO_PARAMS`: Use an empty array instead; `stmt.execute(NO_PARAMS)` => `stmt.execute([])` [INFO] [stdout] --> src/work_db.rs:134:13 [INFO] [stdout] | [INFO] [stdout] 134 | NO_PARAMS, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `rusqlite::NO_PARAMS`: Use an empty array instead; `stmt.execute(NO_PARAMS)` => `stmt.execute([])` [INFO] [stdout] --> src/work_db.rs:160:13 [INFO] [stdout] | [INFO] [stdout] 160 | NO_PARAMS, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `rusqlite::NO_PARAMS`: Use an empty array instead; `stmt.execute(NO_PARAMS)` => `stmt.execute([])` [INFO] [stdout] --> src/work_db.rs:172:13 [INFO] [stdout] | [INFO] [stdout] 172 | NO_PARAMS, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `rusqlite::NO_PARAMS`: Use an empty array instead; `stmt.execute(NO_PARAMS)` => `stmt.execute([])` [INFO] [stdout] --> src/work_db.rs:284:35 [INFO] [stdout] | [INFO] [stdout] 284 | let mut rows = stmt.query(NO_PARAMS)?; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `action` is never read [INFO] [stdout] --> src/cli.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 8 | struct Cli { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | pub action: Command, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Cli` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `path_to_dir_for_search` is never read [INFO] [stdout] --> src/cli.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 18 | Find { [INFO] [stdout] | ---- field in this variant [INFO] [stdout] ... [INFO] [stdout] 21 | path_to_dir_for_search: path::PathBuf, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `path_to_dir_for_search` and `path_to_dir_for_save` are never read [INFO] [stdout] --> src/cli.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 25 | Depersonalize { [INFO] [stdout] | ------------- fields in this variant [INFO] [stdout] ... [INFO] [stdout] 28 | path_to_dir_for_search: path::PathBuf, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | path_to_dir_for_save: path::PathBuf, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start_cli` is never used [INFO] [stdout] --> src/cli.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn start_cli() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_hidden` is never used [INFO] [stdout] --> src/dir_scan.rs:17:4 [INFO] [stdout] | [INFO] [stdout] 17 | fn is_hidden(entry: &DirEntry) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_all_files` is never used [INFO] [stdout] --> src/dir_scan.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn find_all_files(dir_path: &path::PathBuf) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `scanning` is never used [INFO] [stdout] --> src/dir_scan.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn scanning(find_in: &path::PathBuf, only_find: bool, save_in: Option<&path::PathBuf>) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_new_path` is never used [INFO] [stdout] --> src/dir_scan.rs:79:4 [INFO] [stdout] | [INFO] [stdout] 79 | fn create_new_path(meta_dcm: &work_dcm::MetaDcm, save_in: &path::PathBuf) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `count_files_in_dir` is never used [INFO] [stdout] --> src/dir_scan.rs:119:4 [INFO] [stdout] | [INFO] [stdout] 119 | fn count_files_in_dir(path: &path::PathBuf) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `export_res_as_json` is never used [INFO] [stdout] --> src/dir_scan.rs:126:4 [INFO] [stdout] | [INFO] [stdout] 126 | fn export_res_as_json(con: Arc>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_dcm_in_contents` is never used [INFO] [stdout] --> src/dir_scan.rs:139:4 [INFO] [stdout] | [INFO] [stdout] 139 | fn add_dcm_in_contents(con: &Arc>, meta_dcm: &work_dcm::MetaDcm) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_value_for_tag` is never used [INFO] [stdout] --> src/work_dcm.rs:93:4 [INFO] [stdout] | [INFO] [stdout] 93 | fn get_value_for_tag(obj: &DefaultDicomObject, tag: Tag) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `depersonalize_obj` is never used [INFO] [stdout] --> src/work_dcm.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn depersonalize_obj(obj: &mut DefaultDicomObject) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `replace_element_in_dcm_obj` is never used [INFO] [stdout] --> src/work_dcm.rs:136:4 [INFO] [stdout] | [INFO] [stdout] 136 | fn replace_element_in_dcm_obj(obj: &mut DefaultDicomObject, tag: Tag, values: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save_dcm` is never used [INFO] [stdout] --> src/work_dcm.rs:154:8 [INFO] [stdout] | [INFO] [stdout] 154 | pub fn save_dcm(obj: &DefaultDicomObject, save_in: &String) ->Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_dcm` is never used [INFO] [stdout] --> src/work_dcm.rs:159:8 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn read_dcm(path: &path::Path) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from` is never used [INFO] [stdout] --> src/work_dcm.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn from<'a>(obj: &'a DefaultDicomObject, path: &'a str) -> MetaDcm<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `rusqlite::NO_PARAMS`: Use an empty array instead; `stmt.execute(NO_PARAMS)` => `stmt.execute([])` [INFO] [stdout] --> src/work_db.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use rusqlite::NO_PARAMS; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `rusqlite::NO_PARAMS`: Use an empty array instead; `stmt.execute(NO_PARAMS)` => `stmt.execute([])` [INFO] [stdout] --> src/work_db.rs:120:13 [INFO] [stdout] | [INFO] [stdout] 120 | NO_PARAMS, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `rusqlite::NO_PARAMS`: Use an empty array instead; `stmt.execute(NO_PARAMS)` => `stmt.execute([])` [INFO] [stdout] --> src/work_db.rs:134:13 [INFO] [stdout] | [INFO] [stdout] 134 | NO_PARAMS, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `rusqlite::NO_PARAMS`: Use an empty array instead; `stmt.execute(NO_PARAMS)` => `stmt.execute([])` [INFO] [stdout] --> src/work_db.rs:160:13 [INFO] [stdout] | [INFO] [stdout] 160 | NO_PARAMS, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `rusqlite::NO_PARAMS`: Use an empty array instead; `stmt.execute(NO_PARAMS)` => `stmt.execute([])` [INFO] [stdout] --> src/work_db.rs:172:13 [INFO] [stdout] | [INFO] [stdout] 172 | NO_PARAMS, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `rusqlite::NO_PARAMS`: Use an empty array instead; `stmt.execute(NO_PARAMS)` => `stmt.execute([])` [INFO] [stdout] --> src/work_db.rs:284:35 [INFO] [stdout] | [INFO] [stdout] 284 | let mut rows = stmt.query(NO_PARAMS)?; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `rusqlite::NO_PARAMS`: Use an empty array instead; `stmt.execute(NO_PARAMS)` => `stmt.execute([])` [INFO] [stdout] --> src/work_db.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use rusqlite::NO_PARAMS; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `rusqlite::NO_PARAMS`: Use an empty array instead; `stmt.execute(NO_PARAMS)` => `stmt.execute([])` [INFO] [stdout] --> src/work_db.rs:120:13 [INFO] [stdout] | [INFO] [stdout] 120 | NO_PARAMS, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `rusqlite::NO_PARAMS`: Use an empty array instead; `stmt.execute(NO_PARAMS)` => `stmt.execute([])` [INFO] [stdout] --> src/work_db.rs:134:13 [INFO] [stdout] | [INFO] [stdout] 134 | NO_PARAMS, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `rusqlite::NO_PARAMS`: Use an empty array instead; `stmt.execute(NO_PARAMS)` => `stmt.execute([])` [INFO] [stdout] --> src/work_db.rs:160:13 [INFO] [stdout] | [INFO] [stdout] 160 | NO_PARAMS, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `rusqlite::NO_PARAMS`: Use an empty array instead; `stmt.execute(NO_PARAMS)` => `stmt.execute([])` [INFO] [stdout] --> src/work_db.rs:172:13 [INFO] [stdout] | [INFO] [stdout] 172 | NO_PARAMS, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `rusqlite::NO_PARAMS`: Use an empty array instead; `stmt.execute(NO_PARAMS)` => `stmt.execute([])` [INFO] [stdout] --> src/work_db.rs:284:35 [INFO] [stdout] | [INFO] [stdout] 284 | let mut rows = stmt.query(NO_PARAMS)?; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `action` is never read [INFO] [stdout] --> src/cli.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 8 | struct Cli { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | pub action: Command, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Cli` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `path_to_dir_for_search` is never read [INFO] [stdout] --> src/cli.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 18 | Find { [INFO] [stdout] | ---- field in this variant [INFO] [stdout] ... [INFO] [stdout] 21 | path_to_dir_for_search: path::PathBuf, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `path_to_dir_for_search` and `path_to_dir_for_save` are never read [INFO] [stdout] --> src/cli.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 25 | Depersonalize { [INFO] [stdout] | ------------- fields in this variant [INFO] [stdout] ... [INFO] [stdout] 28 | path_to_dir_for_search: path::PathBuf, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | path_to_dir_for_save: path::PathBuf, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start_cli` is never used [INFO] [stdout] --> src/cli.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn start_cli() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_hidden` is never used [INFO] [stdout] --> src/dir_scan.rs:17:4 [INFO] [stdout] | [INFO] [stdout] 17 | fn is_hidden(entry: &DirEntry) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_all_files` is never used [INFO] [stdout] --> src/dir_scan.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn find_all_files(dir_path: &path::PathBuf) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `scanning` is never used [INFO] [stdout] --> src/dir_scan.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn scanning(find_in: &path::PathBuf, only_find: bool, save_in: Option<&path::PathBuf>) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_new_path` is never used [INFO] [stdout] --> src/dir_scan.rs:79:4 [INFO] [stdout] | [INFO] [stdout] 79 | fn create_new_path(meta_dcm: &work_dcm::MetaDcm, save_in: &path::PathBuf) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `count_files_in_dir` is never used [INFO] [stdout] --> src/dir_scan.rs:119:4 [INFO] [stdout] | [INFO] [stdout] 119 | fn count_files_in_dir(path: &path::PathBuf) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `export_res_as_json` is never used [INFO] [stdout] --> src/dir_scan.rs:126:4 [INFO] [stdout] | [INFO] [stdout] 126 | fn export_res_as_json(con: Arc>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_dcm_in_contents` is never used [INFO] [stdout] --> src/dir_scan.rs:139:4 [INFO] [stdout] | [INFO] [stdout] 139 | fn add_dcm_in_contents(con: &Arc>, meta_dcm: &work_dcm::MetaDcm) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_value_for_tag` is never used [INFO] [stdout] --> src/work_dcm.rs:93:4 [INFO] [stdout] | [INFO] [stdout] 93 | fn get_value_for_tag(obj: &DefaultDicomObject, tag: Tag) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `depersonalize_obj` is never used [INFO] [stdout] --> src/work_dcm.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn depersonalize_obj(obj: &mut DefaultDicomObject) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `replace_element_in_dcm_obj` is never used [INFO] [stdout] --> src/work_dcm.rs:136:4 [INFO] [stdout] | [INFO] [stdout] 136 | fn replace_element_in_dcm_obj(obj: &mut DefaultDicomObject, tag: Tag, values: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save_dcm` is never used [INFO] [stdout] --> src/work_dcm.rs:154:8 [INFO] [stdout] | [INFO] [stdout] 154 | pub fn save_dcm(obj: &DefaultDicomObject, save_in: &String) ->Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_dcm` is never used [INFO] [stdout] --> src/work_dcm.rs:159:8 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn read_dcm(path: &path::Path) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from` is never used [INFO] [stdout] --> src/work_dcm.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn from<'a>(obj: &'a DefaultDicomObject, path: &'a str) -> MetaDcm<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.33s [INFO] running `Command { std: "docker" "inspect" "6c888cfe91b8f9a2b410a799063bbb6f4643f91b9f8a499a7658efbf6ddf3078", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c888cfe91b8f9a2b410a799063bbb6f4643f91b9f8a499a7658efbf6ddf3078", kill_on_drop: false }` [INFO] [stdout] 6c888cfe91b8f9a2b410a799063bbb6f4643f91b9f8a499a7658efbf6ddf3078