[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] testing MAE664128/dcm_findler against 1.77.0 for beta-1.78-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMAE664128%2Fdcm_findler" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MAE664128/dcm_findler on toolchain 1.77.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.77.0" "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-5-tc1/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" "+1.77.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded quicli v0.4.0 [INFO] [stderr] Downloaded dicom-transfer-syntax-registry v0.5.1 [INFO] [stderr] Downloaded dicom v0.5.4 [INFO] [stderr] Downloaded number_prefix v0.3.0 [INFO] [stderr] Downloaded globwalk v0.3.1 [INFO] [stderr] Downloaded clap-verbosity-flag v0.2.0 [INFO] [stderr] Downloaded inventory v0.2.3 [INFO] [stderr] Downloaded dicom-object v0.5.4 [INFO] [stderr] Downloaded dicom-parser v0.5.3 [INFO] [stderr] Downloaded safe-transmute v0.11.1 [INFO] [stderr] Downloaded object v0.23.0 [INFO] [stderr] Downloaded dicom-dictionary-std v0.5.0 [INFO] [stderr] Downloaded syn v1.0.63 [INFO] [stderr] Downloaded backtrace v0.3.56 [INFO] [stderr] Downloaded libsqlite3-sys v0.23.2 [INFO] [stderr] Downloaded rusqlite v0.26.3 [INFO] [stderr] Downloaded dicom-core v0.5.4 [INFO] [stderr] Downloaded dicom-encoding v0.5.3 [INFO] [stderr] Downloaded dicom-ul v0.4.4 [INFO] [stderr] Downloaded indicatif v0.15.0 [INFO] [stderr] Downloaded ignore v0.4.17 [INFO] [stderr] Downloaded dicom-pixeldata v0.1.5 [INFO] [stderr] Downloaded byteordered v0.6.0 [INFO] [stderr] Downloaded ctor v0.1.19 [INFO] [stderr] Downloaded ghost v0.1.17 [INFO] [stderr] Downloaded exitfailure v0.5.1 [INFO] [stderr] Downloaded terminal_size v0.1.16 [INFO] [stderr] Downloaded console v0.14.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.77.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 934f351cb51f8a372143e81ba7407515cc5bad915260d6ad3716561ad5539617 [INFO] running `Command { std: "docker" "start" "-a" "934f351cb51f8a372143e81ba7407515cc5bad915260d6ad3716561ad5539617", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "934f351cb51f8a372143e81ba7407515cc5bad915260d6ad3716561ad5539617", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "934f351cb51f8a372143e81ba7407515cc5bad915260d6ad3716561ad5539617", kill_on_drop: false }` [INFO] [stdout] 934f351cb51f8a372143e81ba7407515cc5bad915260d6ad3716561ad5539617 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.77.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a075b1666ca059fe1a488fa6f1389a16fd83d014f381adb37ec490c3bb8fdd8d [INFO] running `Command { std: "docker" "start" "-a" "a075b1666ca059fe1a488fa6f1389a16fd83d014f381adb37ec490c3bb8fdd8d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling syn v1.0.63 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [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 encoding_index_tests v0.1.4 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling safe-transmute v0.11.1 [INFO] [stderr] Compiling regex-syntax v0.6.22 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling chrono v0.4.35 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-japanese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Compiling encoding-index-korean v1.20141219.5 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling byteordered v0.6.0 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling encoding v0.2.33 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling miniz_oxide v0.7.2 [INFO] [stderr] Compiling gimli v0.23.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling syn v2.0.55 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling flate2 v1.0.28 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling matrixmultiply v0.3.8 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling rustc-demangle v0.1.18 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling object v0.23.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling regex v1.4.3 [INFO] [stderr] Compiling bstr v0.2.15 [INFO] [stderr] Compiling fdeflate v0.3.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Compiling vcpkg v0.2.11 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling weezl v0.1.8 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling png v0.17.13 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling globset v0.4.6 [INFO] [stderr] Compiling addr2line v0.14.1 [INFO] [stderr] Compiling num-complex v0.4.5 [INFO] [stderr] Compiling jpeg-decoder v0.3.1 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling bytemuck v1.15.0 [INFO] [stderr] Compiling ndarray v0.15.6 [INFO] [stderr] Compiling env_logger v0.5.13 [INFO] [stderr] Compiling ignore v0.4.17 [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 libsqlite3-sys v0.23.2 [INFO] [stderr] Compiling serde_json v1.0.115 [INFO] [stderr] Compiling backtrace v0.3.56 [INFO] [stderr] Compiling structopt-derive v0.2.18 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling console v0.14.0 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling hashlink v0.7.0 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling globwalk v0.3.1 [INFO] [stderr] Compiling number_prefix v0.3.0 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling indicatif v0.15.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] error: could not compile `syn` (lib) [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/1.77.0-x86_64-unknown-linux-gnu/bin/rustc --crate-name syn --edition=2018 /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-1.0.63/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no --cfg 'feature="clone-impls"' --cfg 'feature="default"' --cfg 'feature="derive"' --cfg 'feature="extra-traits"' --cfg 'feature="full"' --cfg 'feature="parsing"' --cfg 'feature="printing"' --cfg 'feature="proc-macro"' --cfg 'feature="quote"' --cfg 'feature="visit"' -C metadata=78726324faafde3c -C extra-filename=-78726324faafde3c --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern proc_macro2=/opt/rustwide/target/debug/deps/libproc_macro2-f0a5d5e14a871264.rmeta --extern quote=/opt/rustwide/target/debug/deps/libquote-cda13238c124e7c8.rmeta --extern unicode_xid=/opt/rustwide/target/debug/deps/libunicode_xid-3088518ba56fcbd4.rmeta --cap-lints allow --cap-lints=warn --cfg syn_disable_nightly_tests` (signal: 9, SIGKILL: kill) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "a075b1666ca059fe1a488fa6f1389a16fd83d014f381adb37ec490c3bb8fdd8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a075b1666ca059fe1a488fa6f1389a16fd83d014f381adb37ec490c3bb8fdd8d", kill_on_drop: false }` [INFO] [stdout] a075b1666ca059fe1a488fa6f1389a16fd83d014f381adb37ec490c3bb8fdd8d [INFO] testing MAE664128/dcm_findler against beta-2024-03-24 for beta-1.78-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMAE664128%2Fdcm_findler" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MAE664128/dcm_findler on toolchain beta-2024-03-24 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-03-24" "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-5-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" "+beta-2024-03-24" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-03-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ccaec2bd1e790e52eaf140da307a812e817cf081de46f2c5ff8934fc40b89768 [INFO] running `Command { std: "docker" "start" "-a" "ccaec2bd1e790e52eaf140da307a812e817cf081de46f2c5ff8934fc40b89768", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ccaec2bd1e790e52eaf140da307a812e817cf081de46f2c5ff8934fc40b89768", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ccaec2bd1e790e52eaf140da307a812e817cf081de46f2c5ff8934fc40b89768", kill_on_drop: false }` [INFO] [stdout] ccaec2bd1e790e52eaf140da307a812e817cf081de46f2c5ff8934fc40b89768 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-03-24" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8d55d67f56ef629c6329e90088a883f3f9665ad723147417c47fcf7eb4a2a5ac [INFO] running `Command { std: "docker" "start" "-a" "8d55d67f56ef629c6329e90088a883f3f9665ad723147417c47fcf7eb4a2a5ac", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling syn v1.0.63 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [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 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.13.2 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling regex-syntax v0.6.22 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling chrono v0.4.35 [INFO] [stderr] Compiling safe-transmute v0.11.1 [INFO] [stderr] Compiling encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Compiling encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-korean v1.20141219.5 [INFO] [stderr] Compiling encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-japanese v1.20141219.5 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling byteordered v0.6.0 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling encoding v0.2.33 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling miniz_oxide v0.7.2 [INFO] [stderr] Compiling gimli v0.23.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling syn v2.0.55 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling flate2 v1.0.28 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling matrixmultiply v0.3.8 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling rustc-demangle v0.1.18 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling object v0.23.0 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling bstr v0.2.15 [INFO] [stderr] Compiling regex v1.4.3 [INFO] [stderr] Compiling fdeflate v0.3.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling pkg-config v0.3.19 [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 weezl v0.1.8 [INFO] [stderr] Compiling png v0.17.13 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling addr2line v0.14.1 [INFO] [stderr] Compiling globset v0.4.6 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling num-complex v0.4.5 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling bytemuck v1.15.0 [INFO] [stderr] Compiling libsqlite3-sys v0.23.2 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling ignore v0.4.17 [INFO] [stderr] Compiling env_logger v0.5.13 [INFO] [stderr] Compiling backtrace v0.3.56 [INFO] [stderr] Compiling ndarray v0.15.6 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling jpeg-decoder v0.3.1 [INFO] [stderr] Compiling terminal_size v0.1.16 [INFO] [stderr] Compiling serde_json v1.0.115 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling console v0.14.0 [INFO] [stderr] Compiling hashlink v0.7.0 [INFO] [stderr] Compiling structopt-derive v0.2.18 [INFO] [stderr] Compiling globwalk v0.3.1 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling number_prefix v0.3.0 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [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 image v0.24.9 [INFO] [stderr] Compiling ghost v0.1.17 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling serde_derive v1.0.197 [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 inventory v0.2.3 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling clap-verbosity-flag v0.2.0 [INFO] [stderr] Compiling exitfailure v0.5.1 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling structopt v0.3.26 [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 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 quicli v0.4.0 [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: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/dir_scan.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/277d06bc95c6c38a2337ccde798b2c709384bd84/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryInto` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` 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: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: associated function `from` is never used [INFO] [stdout] --> src/work_dcm.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 52 | impl MetaDcm<'_> { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 53 | pub fn from<'a>(obj: &'a DefaultDicomObject, path: &'a str) -> MetaDcm<'a> { [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 items `create_dcm_tables`, `insert_dcm`, and `export_result` are never used [INFO] [stdout] --> src/work_db.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 86 | pub trait Dcm { [INFO] [stdout] | --- associated items in this trait [INFO] [stdout] 87 | fn create_dcm_tables(in_memory: bool) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 88 | fn insert_dcm(&self, meta_dcm: &work_dcm::MetaDcm); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | fn export_result(&self) -> Result<()>; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/dir_scan.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/277d06bc95c6c38a2337ccde798b2c709384bd84/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryInto` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` 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: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: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.14s [INFO] running `Command { std: "docker" "inspect" "8d55d67f56ef629c6329e90088a883f3f9665ad723147417c47fcf7eb4a2a5ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d55d67f56ef629c6329e90088a883f3f9665ad723147417c47fcf7eb4a2a5ac", kill_on_drop: false }` [INFO] [stdout] 8d55d67f56ef629c6329e90088a883f3f9665ad723147417c47fcf7eb4a2a5ac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-03-24" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2573d81e0a7e25cc9895020e28ad226d0faf7a65d1948a93d1a0b0631f714329 [INFO] running `Command { std: "docker" "start" "-a" "2573d81e0a7e25cc9895020e28ad226d0faf7a65d1948a93d1a0b0631f714329", kill_on_drop: false }` [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/dir_scan.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/277d06bc95c6c38a2337ccde798b2c709384bd84/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryInto` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` 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: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: associated function `from` is never used [INFO] [stdout] --> src/work_dcm.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 52 | impl MetaDcm<'_> { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 53 | pub fn from<'a>(obj: &'a DefaultDicomObject, path: &'a str) -> MetaDcm<'a> { [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 items `create_dcm_tables`, `insert_dcm`, and `export_result` are never used [INFO] [stdout] --> src/work_db.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 86 | pub trait Dcm { [INFO] [stdout] | --- associated items in this trait [INFO] [stdout] 87 | fn create_dcm_tables(in_memory: bool) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 88 | fn insert_dcm(&self, meta_dcm: &work_dcm::MetaDcm); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | fn export_result(&self) -> Result<()>; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling dcm_finder v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/dir_scan.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/277d06bc95c6c38a2337ccde798b2c709384bd84/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryInto` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/dir_scan.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/277d06bc95c6c38a2337ccde798b2c709384bd84/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryInto` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` 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: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: associated function `from` is never used [INFO] [stdout] --> src/work_dcm.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 52 | impl MetaDcm<'_> { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 53 | pub fn from<'a>(obj: &'a DefaultDicomObject, path: &'a str) -> MetaDcm<'a> { [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 items `create_dcm_tables`, `insert_dcm`, and `export_result` are never used [INFO] [stdout] --> src/work_db.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 86 | pub trait Dcm { [INFO] [stdout] | --- associated items in this trait [INFO] [stdout] 87 | fn create_dcm_tables(in_memory: bool) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 88 | fn insert_dcm(&self, meta_dcm: &work_dcm::MetaDcm); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | fn export_result(&self) -> Result<()>; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.66s [INFO] running `Command { std: "docker" "inspect" "2573d81e0a7e25cc9895020e28ad226d0faf7a65d1948a93d1a0b0631f714329", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2573d81e0a7e25cc9895020e28ad226d0faf7a65d1948a93d1a0b0631f714329", kill_on_drop: false }` [INFO] [stdout] 2573d81e0a7e25cc9895020e28ad226d0faf7a65d1948a93d1a0b0631f714329 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-03-24" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 183281c3d13eabe429e353356823d66d4bee73df9c41a95120291c710f6833fd [INFO] running `Command { std: "docker" "start" "-a" "183281c3d13eabe429e353356823d66d4bee73df9c41a95120291c710f6833fd", kill_on_drop: false }` [INFO] [stderr] warning: the item `TryInto` is imported redundantly [INFO] [stderr] --> src/dir_scan.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use std::convert::TryInto; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] --> /rustc/277d06bc95c6c38a2337ccde798b2c709384bd84/library/std/src/prelude/mod.rs:129:13 [INFO] [stderr] | [INFO] [stderr] = note: the item `TryInto` is already defined here [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `rusqlite::NO_PARAMS`: Use an empty array instead; `stmt.execute(NO_PARAMS)` => `stmt.execute([])` [INFO] [stderr] --> src/work_db.rs:2:15 [INFO] [stderr] | [INFO] [stderr] 2 | use rusqlite::NO_PARAMS; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `rusqlite::NO_PARAMS`: Use an empty array instead; `stmt.execute(NO_PARAMS)` => `stmt.execute([])` [INFO] [stderr] --> src/work_db.rs:120:13 [INFO] [stderr] | [INFO] [stderr] 120 | NO_PARAMS, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `rusqlite::NO_PARAMS`: Use an empty array instead; `stmt.execute(NO_PARAMS)` => `stmt.execute([])` [INFO] [stderr] --> src/work_db.rs:134:13 [INFO] [stderr] | [INFO] [stderr] 134 | NO_PARAMS, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `rusqlite::NO_PARAMS`: Use an empty array instead; `stmt.execute(NO_PARAMS)` => `stmt.execute([])` [INFO] [stderr] --> src/work_db.rs:160:13 [INFO] [stderr] | [INFO] [stderr] 160 | NO_PARAMS, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `rusqlite::NO_PARAMS`: Use an empty array instead; `stmt.execute(NO_PARAMS)` => `stmt.execute([])` [INFO] [stderr] --> src/work_db.rs:172:13 [INFO] [stderr] | [INFO] [stderr] 172 | NO_PARAMS, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `rusqlite::NO_PARAMS`: Use an empty array instead; `stmt.execute(NO_PARAMS)` => `stmt.execute([])` [INFO] [stderr] --> src/work_db.rs:284:35 [INFO] [stderr] | [INFO] [stderr] 284 | let mut rows = stmt.query(NO_PARAMS)?; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `action` is never read [INFO] [stderr] --> src/cli.rs:11:9 [INFO] [stderr] | [INFO] [stderr] 8 | struct Cli { [INFO] [stderr] | --- field in this struct [INFO] [stderr] ... [INFO] [stderr] 11 | pub action: Command, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Cli` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `path_to_dir_for_search` is never read [INFO] [stderr] --> src/cli.rs:21:9 [INFO] [stderr] | [INFO] [stderr] 18 | Find { [INFO] [stderr] | ---- field in this variant [INFO] [stderr] ... [INFO] [stderr] 21 | path_to_dir_for_search: path::PathBuf, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `path_to_dir_for_search` and `path_to_dir_for_save` are never read [INFO] [stderr] --> src/cli.rs:28:9 [INFO] [stderr] | [INFO] [stderr] 25 | Depersonalize { [INFO] [stderr] | ------------- fields in this variant [INFO] [stderr] ... [INFO] [stderr] 28 | path_to_dir_for_search: path::PathBuf, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 32 | path_to_dir_for_save: path::PathBuf, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `start_cli` is never used [INFO] [stderr] --> src/cli.rs:37:8 [INFO] [stderr] | [INFO] [stderr] 37 | pub fn start_cli() { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `is_hidden` is never used [INFO] [stderr] --> src/dir_scan.rs:17:4 [INFO] [stderr] | [INFO] [stderr] 17 | fn is_hidden(entry: &DirEntry) -> bool { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `find_all_files` is never used [INFO] [stderr] --> src/dir_scan.rs:27:4 [INFO] [stderr] | [INFO] [stderr] 27 | fn find_all_files(dir_path: &path::PathBuf) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `scanning` is never used [INFO] [stderr] --> src/dir_scan.rs:39:8 [INFO] [stderr] | [INFO] [stderr] 39 | pub fn scanning(find_in: &path::PathBuf, only_find: bool, save_in: Option<&path::PathBuf>) { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `create_new_path` is never used [INFO] [stderr] --> src/dir_scan.rs:79:4 [INFO] [stderr] | [INFO] [stderr] 79 | fn create_new_path(meta_dcm: &work_dcm::MetaDcm, save_in: &path::PathBuf) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `count_files_in_dir` is never used [INFO] [stderr] --> src/dir_scan.rs:119:4 [INFO] [stderr] | [INFO] [stderr] 119 | fn count_files_in_dir(path: &path::PathBuf) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `export_res_as_json` is never used [INFO] [stderr] --> src/dir_scan.rs:126:4 [INFO] [stderr] | [INFO] [stderr] 126 | fn export_res_as_json(con: Arc>) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `add_dcm_in_contents` is never used [INFO] [stderr] --> src/dir_scan.rs:139:4 [INFO] [stderr] | [INFO] [stderr] 139 | fn add_dcm_in_contents(con: &Arc>, meta_dcm: &work_dcm::MetaDcm) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `from` is never used [INFO] [stderr] --> src/work_dcm.rs:53:12 [INFO] [stderr] | [INFO] [stderr] 52 | impl MetaDcm<'_> { [INFO] [stderr] | ---------------- associated function in this implementation [INFO] [stderr] 53 | pub fn from<'a>(obj: &'a DefaultDicomObject, path: &'a str) -> MetaDcm<'a> { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_value_for_tag` is never used [INFO] [stderr] --> src/work_dcm.rs:93:4 [INFO] [stderr] | [INFO] [stderr] 93 | fn get_value_for_tag(obj: &DefaultDicomObject, tag: Tag) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `depersonalize_obj` is never used [INFO] [stderr] --> src/work_dcm.rs:102:8 [INFO] [stderr] | [INFO] [stderr] 102 | pub fn depersonalize_obj(obj: &mut DefaultDicomObject) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `replace_element_in_dcm_obj` is never used [INFO] [stderr] --> src/work_dcm.rs:136:4 [INFO] [stderr] | [INFO] [stderr] 136 | fn replace_element_in_dcm_obj(obj: &mut DefaultDicomObject, tag: Tag, values: &str) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `save_dcm` is never used [INFO] [stderr] --> src/work_dcm.rs:154:8 [INFO] [stderr] | [INFO] [stderr] 154 | pub fn save_dcm(obj: &DefaultDicomObject, save_in: &String) ->Result<()> { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `read_dcm` is never used [INFO] [stderr] --> src/work_dcm.rs:159:8 [INFO] [stderr] | [INFO] [stderr] 159 | pub fn read_dcm(path: &path::Path) -> Result { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `create_dcm_tables`, `insert_dcm`, and `export_result` are never used [INFO] [stderr] --> src/work_db.rs:87:8 [INFO] [stderr] | [INFO] [stderr] 86 | pub trait Dcm { [INFO] [stderr] | --- associated items in this trait [INFO] [stderr] 87 | fn create_dcm_tables(in_memory: bool) -> Result; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] 88 | fn insert_dcm(&self, meta_dcm: &work_dcm::MetaDcm); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 100 | fn export_result(&self) -> Result<()>; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `dcm_finder` (lib) generated 25 warnings [INFO] [stderr] warning: `dcm_finder` (lib test) generated 25 warnings (25 duplicates) [INFO] [stderr] warning: `dcm_finder` (bin "dcm_finder" test) generated 7 warnings (7 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/dcm_finder-195a83374da5ba7f) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/dcm_finder-753a3a7fcf6ff306) [INFO] [stdout] [INFO] [stderr] Doc-tests dcm_finder [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "183281c3d13eabe429e353356823d66d4bee73df9c41a95120291c710f6833fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "183281c3d13eabe429e353356823d66d4bee73df9c41a95120291c710f6833fd", kill_on_drop: false }` [INFO] [stdout] 183281c3d13eabe429e353356823d66d4bee73df9c41a95120291c710f6833fd