[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 try#8b8eff55bd72abbb57167bc42222a7f91d41cb0d for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMAE664128%2Fdcm_findler" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MAE664128/dcm_findler on toolchain 8b8eff55bd72abbb57167bc42222a7f91d41cb0d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "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-2-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 87 packages to latest compatible versions [INFO] [stderr] Adding adler2 v2.0.0 [INFO] [stderr] Updating ahash v0.4.7 -> v0.7.8 [INFO] [stderr] Adding android-tzdata v0.1.1 [INFO] [stderr] Adding android_system_properties v0.1.5 [INFO] [stderr] Adding bumpalo v3.18.1 [INFO] [stderr] Adding bytemuck v1.23.0 [INFO] [stderr] Updating byteordered v0.5.0 -> v0.6.0 [INFO] [stderr] Updating cc v1.0.67 -> v1.2.26 [INFO] [stderr] Updating chrono v0.4.19 -> v0.4.41 [INFO] [stderr] Adding color_quant v1.1.0 [INFO] [stderr] Adding core-foundation-sys v0.8.7 [INFO] [stderr] Adding crc32fast v1.4.2 [INFO] [stderr] Updating crossbeam-deque v0.8.0 -> v0.8.6 [INFO] [stderr] Updating crossbeam-epoch v0.9.3 -> v0.9.18 [INFO] [stderr] Updating crossbeam-utils v0.8.3 -> v0.8.21 [INFO] [stderr] Updating dicom v0.3.0 -> v0.5.4 (available: v0.8.1) [INFO] [stderr] Updating dicom-core v0.3.0 -> v0.5.4 [INFO] [stderr] Updating dicom-dictionary-std v0.3.0 -> v0.5.0 [INFO] [stderr] Updating dicom-encoding v0.3.0 -> v0.5.3 [INFO] [stderr] Updating dicom-object v0.3.0 -> v0.5.4 [INFO] [stderr] Updating dicom-parser v0.3.1 -> v0.5.3 [INFO] [stderr] Adding dicom-pixeldata v0.1.5 [INFO] [stderr] Updating dicom-transfer-syntax-registry v0.3.0 -> v0.5.1 [INFO] [stderr] Adding dicom-ul v0.4.4 [INFO] [stderr] Adding fdeflate v0.3.7 [INFO] [stderr] Adding flate2 v1.1.2 [INFO] [stderr] Updating getrandom v0.2.2 -> v0.2.16 [INFO] [stderr] Updating ghost v0.1.2 -> v0.1.19 [INFO] [stderr] Updating hashbrown v0.9.1 -> v0.11.2 [INFO] [stderr] Updating hashlink v0.6.0 -> v0.7.0 [INFO] [stderr] Adding heck v0.4.1 [INFO] [stderr] Adding iana-time-zone v0.1.63 [INFO] [stderr] Adding iana-time-zone-haiku v0.1.2 [INFO] [stderr] Adding image v0.24.9 [INFO] [stderr] Updating inventory v0.1.10 -> v0.2.3 [INFO] [stderr] Updating itertools v0.9.0 -> v0.10.5 [INFO] [stderr] Updating itoa v0.4.7 -> v1.0.15 [INFO] [stderr] Adding jpeg-decoder v0.3.1 [INFO] [stderr] Adding js-sys v0.3.77 [INFO] [stderr] Updating libc v0.2.88 -> v0.2.172 [INFO] [stderr] Updating libsqlite3-sys v0.20.1 -> v0.23.2 [INFO] [stderr] Adding matrixmultiply v0.3.10 [INFO] [stderr] Adding miniz_oxide v0.8.8 [INFO] [stderr] Adding ndarray v0.15.6 [INFO] [stderr] Adding num-complex v0.4.6 [INFO] [stderr] Updating num-traits v0.2.14 -> v0.2.19 [INFO] [stderr] Updating once_cell v1.7.2 -> v1.21.3 [INFO] [stderr] Adding pin-project-lite v0.2.16 [INFO] [stderr] Adding png v0.17.16 [INFO] [stderr] Updating proc-macro2 v1.0.24 -> v1.0.95 [INFO] [stderr] Updating quote v1.0.9 -> v1.0.40 [INFO] [stderr] Updating rand v0.8.3 -> v0.8.5 (available: v0.9.1) [INFO] [stderr] Adding rawpointer v0.2.1 [INFO] [stderr] Updating rayon v1.5.0 -> v1.10.0 [INFO] [stderr] Updating rayon-core v1.9.0 -> v1.12.1 [INFO] [stderr] Updating rusqlite v0.24.2 -> v0.26.3 (available: v0.36.0) [INFO] [stderr] Adding rustversion v1.0.21 [INFO] [stderr] Updating serde v1.0.124 -> v1.0.219 [INFO] [stderr] Updating serde_derive v1.0.124 -> v1.0.219 [INFO] [stderr] Updating serde_json v1.0.64 -> v1.0.140 [INFO] [stderr] Adding shlex v1.3.0 [INFO] [stderr] Adding simd-adler32 v0.3.7 [INFO] [stderr] Updating smallvec v1.6.1 -> v1.15.1 [INFO] [stderr] Updating snafu v0.6.10 -> v0.7.5 [INFO] [stderr] Updating snafu-derive v0.6.10 -> v0.7.5 [INFO] [stderr] Updating structopt v0.3.21 -> v0.3.26 [INFO] [stderr] Updating structopt-derive v0.4.14 -> v0.4.18 [INFO] [stderr] Adding syn v2.0.101 [INFO] [stderr] Adding tiff v0.9.1 [INFO] [stderr] Adding tracing v0.1.41 [INFO] [stderr] Adding tracing-attributes v0.1.29 [INFO] [stderr] Adding tracing-core v0.1.34 [INFO] [stderr] Adding unicode-ident v1.0.18 [INFO] [stderr] Updating walkdir v2.3.1 -> v2.5.0 [INFO] [stderr] Updating wasi v0.10.0+wasi-snapshot-preview1 -> v0.11.0+wasi-snapshot-preview1 [INFO] [stderr] Adding wasm-bindgen v0.2.100 [INFO] [stderr] Adding wasm-bindgen-backend v0.2.100 [INFO] [stderr] Adding wasm-bindgen-macro v0.2.100 [INFO] [stderr] Adding wasm-bindgen-macro-support v0.2.100 [INFO] [stderr] Adding wasm-bindgen-shared v0.2.100 [INFO] [stderr] Adding weezl v0.1.10 [INFO] [stderr] Adding windows-core v0.61.2 [INFO] [stderr] Adding windows-implement v0.60.0 [INFO] [stderr] Adding windows-interface v0.59.1 [INFO] [stderr] Adding windows-link v0.1.1 [INFO] [stderr] Adding windows-result v0.3.4 [INFO] [stderr] Adding windows-strings v0.4.2 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 369b8768699f59184b7cc001c187e0b8fd6df30f7d9b4f6eaed24d5b3eb7ba82 [INFO] running `Command { std: "docker" "start" "-a" "369b8768699f59184b7cc001c187e0b8fd6df30f7d9b4f6eaed24d5b3eb7ba82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "369b8768699f59184b7cc001c187e0b8fd6df30f7d9b4f6eaed24d5b3eb7ba82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "369b8768699f59184b7cc001c187e0b8fd6df30f7d9b4f6eaed24d5b3eb7ba82", kill_on_drop: false }` [INFO] [stdout] 369b8768699f59184b7cc001c187e0b8fd6df30f7d9b4f6eaed24d5b3eb7ba82 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4fb0b52057831ad0d02dffc4cdd6ca01d5e2f6575ebcc4594cc05f0b65cfda17 [INFO] running `Command { std: "docker" "start" "-a" "4fb0b52057831ad0d02dffc4cdd6ca01d5e2f6575ebcc4594cc05f0b65cfda17", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling syn v1.0.63 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling encoding_index_tests v0.1.4 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling regex-syntax v0.6.22 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling safe-transmute v0.11.1 [INFO] [stderr] Compiling encoding-index-japanese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Compiling encoding-index-korean v1.20141219.5 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling byteordered v0.6.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling miniz_oxide v0.8.8 [INFO] [stderr] Compiling encoding v0.2.33 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling gimli v0.23.0 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling rustc-demangle v0.1.18 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling object v0.23.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling cc v1.2.26 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling bstr v0.2.15 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling vcpkg v0.2.11 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling weezl v0.1.10 [INFO] [stderr] Compiling regex v1.4.3 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling globset v0.4.6 [INFO] [stderr] Compiling addr2line v0.14.1 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling libsqlite3-sys v0.23.2 [INFO] [stderr] Compiling bytemuck v1.23.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling env_logger v0.5.13 [INFO] [stderr] Compiling backtrace v0.3.56 [INFO] [stderr] Compiling ignore v0.4.17 [INFO] [stderr] Compiling ndarray v0.15.6 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling terminal_size v0.1.16 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling structopt-derive v0.2.18 [INFO] [stderr] Compiling hashlink v0.7.0 [INFO] [stderr] Compiling console v0.14.0 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling globwalk v0.3.1 [INFO] [stderr] Compiling jpeg-decoder v0.3.1 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling number_prefix v0.3.0 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling indicatif v0.15.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling structopt v0.2.18 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling ghost v0.1.19 [INFO] [stderr] Compiling tracing-attributes v0.1.29 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling snafu-derive v0.7.5 [INFO] [stderr] Compiling ctor v0.1.19 [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 clap-verbosity-flag v0.2.0 [INFO] [stderr] Compiling exitfailure v0.5.1 [INFO] [stderr] Compiling structopt v0.3.26 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling snafu v0.7.5 [INFO] [stderr] Compiling dicom-core v0.5.4 [INFO] [stderr] Compiling dicom-dictionary-std v0.5.0 [INFO] [stderr] Compiling dicom-encoding v0.5.3 [INFO] [stderr] Compiling quicli v0.4.0 [INFO] [stderr] Compiling dicom-transfer-syntax-registry v0.5.1 [INFO] [stderr] Compiling dicom-parser v0.5.3 [INFO] [stderr] Compiling dicom-ul v0.4.4 [INFO] [stderr] Compiling rusqlite v0.26.3 [INFO] [stderr] Compiling dicom-object v0.5.4 [INFO] [stderr] Compiling dicom-pixeldata v0.1.5 [INFO] [stderr] Compiling dicom v0.5.4 [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] = note: `Command` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] = note: `Command` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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: struct `MetaDcm` is never constructed [INFO] [stdout] --> src/work_dcm.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct MetaDcm<'a> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MetaPatient` is never constructed [INFO] [stdout] --> src/work_dcm.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct MetaPatient { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MetaPatient` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MetaStudy` is never constructed [INFO] [stdout] --> src/work_dcm.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct MetaStudy { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MetaSeries` is never constructed [INFO] [stdout] --> src/work_dcm.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct MetaSeries { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from`, `get_patient_ref`, `get_study_ref`, `get_series_ref`, and `get_path_ref` are never used [INFO] [stdout] --> src/work_dcm.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 52 | impl MetaDcm<'_> { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 53 | pub fn from<'a>(obj: &'a DefaultDicomObject, path: &'a str) -> MetaDcm<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn get_patient_ref(&self) -> &MetaPatient { &self.patient } [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 88 | pub fn get_study_ref(&self) -> &MetaStudy { &self.study } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 89 | pub fn get_series_ref(&self) -> &MetaSeries { &self.series } [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 90 | pub fn get_path_ref(&self) -> &str { &self.path } [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: methods `count_studies` and `count` are never used [INFO] [stdout] --> src/work_db.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Pa { [INFO] [stdout] | ------- methods in this implementation [INFO] [stdout] 21 | pub fn count_studies(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn count(&self) -> (usize, usize, usize) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `count_series` and `count` are never used [INFO] [stdout] --> src/work_db.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 47 | impl St { [INFO] [stdout] | ------- methods in this implementation [INFO] [stdout] 48 | pub fn count_series(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn count(&self) -> (usize, usize){ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `count_paths` is never used [INFO] [stdout] --> src/work_db.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 77 | impl Se { [INFO] [stdout] | ------- method in this implementation [INFO] [stdout] 78 | pub fn count_paths(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Dcm` is never used [INFO] [stdout] --> src/work_db.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | pub trait Dcm { [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.69s [INFO] running `Command { std: "docker" "inspect" "4fb0b52057831ad0d02dffc4cdd6ca01d5e2f6575ebcc4594cc05f0b65cfda17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4fb0b52057831ad0d02dffc4cdd6ca01d5e2f6575ebcc4594cc05f0b65cfda17", kill_on_drop: false }` [INFO] [stdout] 4fb0b52057831ad0d02dffc4cdd6ca01d5e2f6575ebcc4594cc05f0b65cfda17 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 65ecdb563c23dedefde9424479ce8b84a9b4704da21e9c9db5170472465af92c [INFO] running `Command { std: "docker" "start" "-a" "65ecdb563c23dedefde9424479ce8b84a9b4704da21e9c9db5170472465af92c", kill_on_drop: false }` [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] = note: `Command` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] = note: `Command` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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: struct `MetaDcm` is never constructed [INFO] [stdout] --> src/work_dcm.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct MetaDcm<'a> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MetaPatient` is never constructed [INFO] [stdout] --> src/work_dcm.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct MetaPatient { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MetaPatient` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MetaStudy` is never constructed [INFO] [stdout] --> src/work_dcm.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct MetaStudy { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MetaSeries` is never constructed [INFO] [stdout] --> src/work_dcm.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct MetaSeries { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling dcm_finder v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated items `from`, `get_patient_ref`, `get_study_ref`, `get_series_ref`, and `get_path_ref` are never used [INFO] [stdout] --> src/work_dcm.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 52 | impl MetaDcm<'_> { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 53 | pub fn from<'a>(obj: &'a DefaultDicomObject, path: &'a str) -> MetaDcm<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn get_patient_ref(&self) -> &MetaPatient { &self.patient } [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 88 | pub fn get_study_ref(&self) -> &MetaStudy { &self.study } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 89 | pub fn get_series_ref(&self) -> &MetaSeries { &self.series } [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 90 | pub fn get_path_ref(&self) -> &str { &self.path } [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: methods `count_studies` and `count` are never used [INFO] [stdout] --> src/work_db.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Pa { [INFO] [stdout] | ------- methods in this implementation [INFO] [stdout] 21 | pub fn count_studies(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn count(&self) -> (usize, usize, usize) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `count_series` and `count` are never used [INFO] [stdout] --> src/work_db.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 47 | impl St { [INFO] [stdout] | ------- methods in this implementation [INFO] [stdout] 48 | pub fn count_series(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn count(&self) -> (usize, usize){ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `count_paths` is never used [INFO] [stdout] --> src/work_db.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 77 | impl Se { [INFO] [stdout] | ------- method in this implementation [INFO] [stdout] 78 | pub fn count_paths(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Dcm` is never used [INFO] [stdout] --> src/work_db.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | pub trait Dcm { [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: 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] = note: `Command` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] = note: `Command` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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: struct `MetaDcm` is never constructed [INFO] [stdout] --> src/work_dcm.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct MetaDcm<'a> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MetaPatient` is never constructed [INFO] [stdout] --> src/work_dcm.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct MetaPatient { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MetaPatient` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MetaStudy` is never constructed [INFO] [stdout] --> src/work_dcm.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct MetaStudy { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MetaSeries` is never constructed [INFO] [stdout] --> src/work_dcm.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct MetaSeries { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from`, `get_patient_ref`, `get_study_ref`, `get_series_ref`, and `get_path_ref` are never used [INFO] [stdout] --> src/work_dcm.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 52 | impl MetaDcm<'_> { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 53 | pub fn from<'a>(obj: &'a DefaultDicomObject, path: &'a str) -> MetaDcm<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn get_patient_ref(&self) -> &MetaPatient { &self.patient } [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 88 | pub fn get_study_ref(&self) -> &MetaStudy { &self.study } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 89 | pub fn get_series_ref(&self) -> &MetaSeries { &self.series } [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 90 | pub fn get_path_ref(&self) -> &str { &self.path } [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: methods `count_studies` and `count` are never used [INFO] [stdout] --> src/work_db.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Pa { [INFO] [stdout] | ------- methods in this implementation [INFO] [stdout] 21 | pub fn count_studies(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn count(&self) -> (usize, usize, usize) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `count_series` and `count` are never used [INFO] [stdout] --> src/work_db.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 47 | impl St { [INFO] [stdout] | ------- methods in this implementation [INFO] [stdout] 48 | pub fn count_series(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn count(&self) -> (usize, usize){ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `count_paths` is never used [INFO] [stdout] --> src/work_db.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 77 | impl Se { [INFO] [stdout] | ------- method in this implementation [INFO] [stdout] 78 | pub fn count_paths(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Dcm` is never used [INFO] [stdout] --> src/work_db.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | pub trait Dcm { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.19s [INFO] running `Command { std: "docker" "inspect" "65ecdb563c23dedefde9424479ce8b84a9b4704da21e9c9db5170472465af92c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65ecdb563c23dedefde9424479ce8b84a9b4704da21e9c9db5170472465af92c", kill_on_drop: false }` [INFO] [stdout] 65ecdb563c23dedefde9424479ce8b84a9b4704da21e9c9db5170472465af92c