[INFO] cloning repository https://github.com/momostarsky/dcm-tools
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/momostarsky/dcm-tools" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmomostarsky%2Fdcm-tools", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmomostarsky%2Fdcm-tools'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 97fec138c7a9ef715efe76a3c3ae3e5d5369e1ab
[INFO] testing momostarsky/dcm-tools against master#f9988fefd3add01f414f52b414308e7872622fee for pr-155114
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmomostarsky%2Fdcm-tools" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/momostarsky/dcm-tools
[INFO] finished tweaking git repo https://github.com/momostarsky/dcm-tools
[INFO] tweaked toml for git repo https://github.com/momostarsky/dcm-tools written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/momostarsky/dcm-tools on toolchain f9988fefd3add01f414f52b414308e7872622fee
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9988fefd3add01f414f52b414308e7872622fee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9988fefd3add01f414f52b414308e7872622fee" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]      Locking 233 packages to latest Rust 1.97.0-nightly compatible versions
[INFO] [stderr]       Adding dicom v0.8.2 (available: v0.9.1)
[INFO] [stderr]       Adding dicom-core v0.8.2 (available: v0.9.1)
[INFO] [stderr]       Adding dicom-encoding v0.8.2 (available: v0.9.1)
[INFO] [stderr]       Adding dicom-object v0.8.2 (available: v0.9.1)
[INFO] [stderr]       Adding dicom-transfer-syntax-registry v0.8.2 (available: v0.9.1)
[INFO] [stderr]       Adding gdcm_conv v0.1.7 (available: v0.2.0)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9988fefd3add01f414f52b414308e7872622fee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded snafu-derive v0.8.9
[INFO] [stderr]   Downloaded jxl-bitstream v0.5.1
[INFO] [stderr]   Downloaded rayon v1.12.0
[INFO] [stderr]   Downloaded jxl-threadpool v0.1.2
[INFO] [stderr]   Downloaded jxl-grid v0.5.3
[INFO] [stderr]   Downloaded dicom-pixeldata v0.8.2
[INFO] [stderr]   Downloaded bitstream-io v4.10.0
[INFO] [stderr]   Downloaded supports-color v2.1.0
[INFO] [stderr]   Downloaded jxl-image v0.11.0
[INFO] [stderr]   Downloaded jxl-oxide v0.10.2
[INFO] [stderr]   Downloaded jxl-vardct v0.9.0
[INFO] [stderr]   Downloaded profiling v1.0.18
[INFO] [stderr]   Downloaded terminal_size v0.4.4
[INFO] [stderr]   Downloaded jxl-render v0.10.1
[INFO] [stderr]   Downloaded safe-transmute v0.11.3
[INFO] [stderr]   Downloaded dicom-ul v0.8.2
[INFO] [stderr]   Downloaded imgref v1.12.1
[INFO] [stderr]   Downloaded dicom-parser v0.8.2
[INFO] [stderr]   Downloaded jxl-frame v0.11.1
[INFO] [stderr]   Downloaded dicom-dictionary-std v0.8.1
[INFO] [stderr]   Downloaded owo-colors v4.3.0
[INFO] [stderr]   Downloaded snafu v0.8.9
[INFO] [stderr]   Downloaded pxfm v0.1.29
[INFO] [stderr]   Downloaded fax v0.2.7
[INFO] [stderr]   Downloaded jxl-coding v0.5.0
[INFO] [stderr]   Downloaded byteordered v0.6.0
[INFO] [stderr]   Downloaded dicom-gen-uid v0.1.0
[INFO] [stderr]   Downloaded jxl-color v0.9.0
[INFO] [stderr]   Downloaded gdcm_conv v0.1.7
[INFO] [stderr]   Downloaded jxl-modular v0.9.1
[INFO] [stderr]   Downloaded dicom-object v0.8.2
[INFO] [stderr]   Downloaded dicom-core v0.8.2
[INFO] [stderr]   Downloaded dicom-json v0.8.2
[INFO] [stderr]   Downloaded dicom-dump v0.8.1
[INFO] [stderr]   Downloaded dicom-encoding v0.8.2
[INFO] [stderr]   Downloaded dicom v0.8.2
[INFO] [stderr]   Downloaded jxl-oxide-common v0.1.0
[INFO] [stderr]   Downloaded jpeg-encoder v0.6.1
[INFO] [stderr]   Downloaded uuid v1.23.1
[INFO] [stderr]   Downloaded profiling-procmacros v1.0.18
[INFO] [stderr]   Downloaded no_std_io2 v0.9.3
[INFO] [stderr]   Downloaded dicom-transfer-syntax-registry v0.8.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+f9988fefd3add01f414f52b414308e7872622fee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 14ad398cf1e431b2320a3a8ad9eed64f93eec212e02dde5f8ec2966bbf837b25
[INFO] running `Command { std: "docker" "start" "-a" "14ad398cf1e431b2320a3a8ad9eed64f93eec212e02dde5f8ec2966bbf837b25", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "14ad398cf1e431b2320a3a8ad9eed64f93eec212e02dde5f8ec2966bbf837b25", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "14ad398cf1e431b2320a3a8ad9eed64f93eec212e02dde5f8ec2966bbf837b25", kill_on_drop: false }`
[INFO] [stdout] 14ad398cf1e431b2320a3a8ad9eed64f93eec212e02dde5f8ec2966bbf837b25
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+f9988fefd3add01f414f52b414308e7872622fee" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 16aacfc581405333703c9dd1d0d096eca799c9a7a2eaf8895a20fed018b18084
[INFO] running `Command { std: "docker" "start" "-a" "16aacfc581405333703c9dd1d0d096eca799c9a7a2eaf8895a20fed018b18084", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]    Compiling encoding_index_tests v0.1.4
[INFO] [stderr]    Compiling safe-transmute v0.11.3
[INFO] [stderr]    Compiling libc v0.2.186
[INFO] [stderr]    Compiling inventory v0.3.24
[INFO] [stderr]    Compiling itertools v0.14.0
[INFO] [stderr]    Compiling byteordered v0.6.0
[INFO] [stderr]    Compiling jpeg-encoder v0.6.1
[INFO] [stderr]    Compiling rustix v1.1.4
[INFO] [stderr]    Compiling bitflags v2.11.1
[INFO] [stderr]    Compiling chrono v0.4.44
[INFO] [stderr]    Compiling linux-raw-sys v0.12.1
[INFO] [stderr]    Compiling hashbrown v0.17.0
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling rayon v1.12.0
[INFO] [stderr]    Compiling cc v1.2.61
[INFO] [stderr]    Compiling encoding-index-tradchinese v1.20141219.5
[INFO] [stderr]    Compiling encoding-index-simpchinese v1.20141219.5
[INFO] [stderr]    Compiling encoding-index-singlebyte v1.20141219.5
[INFO] [stderr]    Compiling encoding-index-japanese v1.20141219.5
[INFO] [stderr]    Compiling encoding-index-korean v1.20141219.5
[INFO] [stderr]    Compiling owo-colors v4.3.0
[INFO] [stderr]    Compiling anstyle-parse v1.0.0
[INFO] [stderr]    Compiling supports-color v3.0.2
[INFO] [stderr]    Compiling aho-corasick v1.1.4
[INFO] [stderr]    Compiling anstream v1.0.0
[INFO] [stderr]    Compiling clap_lex v1.1.0
[INFO] [stderr]    Compiling fastrand v2.4.1
[INFO] [stderr]    Compiling encoding v0.2.33
[INFO] [stderr]    Compiling log v0.4.29
[INFO] [stderr]    Compiling clap_builder v4.6.0
[INFO] [stderr]    Compiling indexmap v2.14.0
[INFO] [stderr]    Compiling cmake v0.1.58
[INFO] [stderr]    Compiling is-terminal v0.4.17
[INFO] [stderr]    Compiling getrandom v0.4.2
[INFO] [stderr]    Compiling gdcm_conv v0.1.7
[INFO] [stderr]    Compiling supports-color v2.1.0
[INFO] [stderr]    Compiling uuid v1.23.1
[INFO] [stderr]    Compiling dicom-gen-uid v0.1.0
[INFO] [stderr]    Compiling regex-automata v0.4.14
[INFO] [stderr]    Compiling terminal_size v0.4.4
[INFO] [stderr]    Compiling tempfile v3.27.0
[INFO] [stderr]    Compiling jpeg-decoder v0.3.2
[INFO] [stderr]    Compiling snafu-derive v0.8.9
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling clap_derive v4.6.1
[INFO] [stderr]    Compiling regex v1.12.3
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling tracing v0.1.44
[INFO] [stderr]    Compiling snafu v0.8.9
[INFO] [stderr]    Compiling dicom-core v0.8.2
[INFO] [stderr]    Compiling clap v4.6.1
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling dicom-dictionary-std v0.8.1
[INFO] [stderr]    Compiling dicom-encoding v0.8.2
[INFO] [stderr]    Compiling dicom-transfer-syntax-registry v0.8.2
[INFO] [stderr]    Compiling dicom-parser v0.8.2
[INFO] [stderr]    Compiling dicom-ul v0.8.2
[INFO] [stderr]    Compiling dicom-object v0.8.2
[INFO] [stderr]    Compiling dicom_codegen v0.1.0 (/opt/rustwide/workdir/dicom_codegen)
[INFO] [stderr]    Compiling dicom-json v0.8.2
[INFO] [stderr]    Compiling dicom-pixeldata v0.8.2
[INFO] [stderr]    Compiling dicom-dump v0.8.1
[INFO] [stderr]    Compiling dicom v0.8.2
[INFO] [stderr]    Compiling dcm-tools v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] Processing field: "character_set"
[INFO] [stderr] Parsing group: "0x0008"
[INFO] [stderr] Parsing element: "0x0005"
[INFO] [stderr] Generate Getter: "character_set_tag"->0008,0005
[INFO] [stderr] Processing field: "sop_class_uid"
[INFO] [stderr] Parsing group: "0x0008"
[INFO] [stderr] Parsing element: "0x0016"
[INFO] [stderr] Generate Getter: "sop_class_uid_tag"->0008,0016
[INFO] [stderr] Processing field: "sop_instance_uid"
[INFO] [stderr] Parsing group: "0x0008"
[INFO] [stderr] Parsing element: "0x0018"
[INFO] [stderr] Generate Getter: "sop_instance_uid_tag"->0008,0018
[INFO] [stderr] Processing field: "image_type"
[INFO] [stderr] Parsing group: "0x0008"
[INFO] [stderr] Parsing element: "0x0008"
[INFO] [stderr] Generate Getter: "image_type_tag"->0008,0008
[INFO] [stderr] Parsing root name: "DcmMapMeta"
[INFO] [stderr] field_ident: "bit_allocated"
[INFO] [stderr] Parsing tag_name: "0x0028, 0x0100"
[INFO] [stderr] Parsing group: "0x0028"
[INFO] [stderr] Parsing element: "0x0100"
[INFO] [stderr] field_ident: "bits_stored"
[INFO] [stderr] Parsing tag_name: "0x0028, 0x0101"
[INFO] [stderr] Parsing group: "0x0028"
[INFO] [stderr] Parsing element: "0x0101"
[INFO] [stderr] field_ident: "high_bit"
[INFO] [stderr] Parsing tag_name: "0x0028, 0x0102"
[INFO] [stderr] Parsing group: "0x0028"
[INFO] [stderr] Parsing element: "0x0102"
[INFO] [stderr] Parsing root name: "DcmEntityBaseMeta"
[INFO] [stderr] field_ident: "bit_allocated"
[INFO] [stderr] Parsing dicom_tag_key: "dicom :: dictionary_std :: tags :: BITS_ALLOCATED"
[INFO] [stderr] Parsing dicom_tag_key: "BIT_ALLOCATED_TAG"
[INFO] [stderr] field_ident: "bits_stored"
[INFO] [stderr] Parsing dicom_tag_key: "dicom :: dictionary_std :: tags :: BITS_STORED"
[INFO] [stderr] Parsing dicom_tag_key: "BITS_STORED_TAG"
[INFO] [stderr] field_ident: "high_bit"
[INFO] [stderr] Parsing dicom_tag_key: "dicom :: dictionary_std :: tags :: HIGH_BIT"
[INFO] [stderr] Parsing dicom_tag_key: "HIGH_BIT_TAG"
[INFO] [stdout] warning: unused import: `dicom_core::Length`
[INFO] [stdout]  --> src/dcmobj.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use dicom_core::Length;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rayon::prelude::*`
[INFO] [stdout]   --> src/dcmobj.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use rayon::prelude::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Map`
[INFO] [stdout]   --> src/dcmobj.rs:16:18
[INFO] [stdout]    |
[INFO] [stdout] 16 | use serde_json::{Map, Value, json};
[INFO] [stdout]    |                  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ptr::write`
[INFO] [stdout]   --> src/dcmobj.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | use std::ptr::write;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/dcmobj.rs:628:8
[INFO] [stdout]     |
[INFO] [stdout] 628 |     if (file.is_ok()) {
[INFO] [stdout]     |        ^            ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 628 -     if (file.is_ok()) {
[INFO] [stdout] 628 +     if file.is_ok()  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::dcm_meta::DcmEntityBaseMeta`
[INFO] [stdout]   --> src/main.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use crate::dcm_meta::DcmEntityBaseMeta;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Serializer`
[INFO] [stdout]  --> src/dcm_meta.rs:7:55
[INFO] [stdout]   |
[INFO] [stdout] 7 | use serde::{de, Deserialize, Deserializer, Serialize, Serializer};
[INFO] [stdout]   |                                                       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `dicom_core::header::HasLength`
[INFO] [stdout]  --> src/dcmobj.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use dicom_core::header::HasLength;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/dcm_meta.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | impl DcmMeta {
[INFO] [stdout]    | ------------ associated function in this implementation
[INFO] [stdout] 24 |     pub fn new(obj: &DefaultDicomObject) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `validate_bits`, and `check_valid` are never used
[INFO] [stdout]   --> src/dcm_meta.rs:46:12
[INFO] [stdout]    |
[INFO] [stdout] 45 | impl DcmMapMeta {
[INFO] [stdout]    | --------------- associated items in this implementation
[INFO] [stdout] 46 |     pub fn new(obj: &DefaultDicomObject) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 55 |     fn validate_bits(&self) -> Result<(), String> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 73 |     pub fn check_valid(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `change_transfer_syntax_iter` is never used
[INFO] [stdout]    --> src/dcmobj.rs:101:8
[INFO] [stdout]     |
[INFO] [stdout] 101 | pub fn change_transfer_syntax_iter(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `change_transfer_syntax` is never used
[INFO] [stdout]    --> src/dcmobj.rs:231:8
[INFO] [stdout]     |
[INFO] [stdout] 231 | pub fn change_transfer_syntax(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]    --> src/dcmobj.rs:230:8
[INFO] [stdout]     |
[INFO] [stdout] 230 | #[warn(dead_code)]
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `convert_ts_with_gdcm` is never used
[INFO] [stdout]    --> src/dcmobj.rs:300:8
[INFO] [stdout]     |
[INFO] [stdout] 300 | pub fn convert_ts_with_gdcm(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `convert_ts_with_pixel_data` is never used
[INFO] [stdout]    --> src/dcmobj.rs:361:8
[INFO] [stdout]     |
[INFO] [stdout] 361 | pub fn convert_ts_with_pixel_data(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]    --> src/dcmobj.rs:360:8
[INFO] [stdout]     |
[INFO] [stdout] 360 | #[warn(dead_code)]
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/dicom_info.rs:112:12
[INFO] [stdout]     |
[INFO] [stdout] 111 | impl DicomInfo {
[INFO] [stdout]     | -------------- associated function in this implementation
[INFO] [stdout] 112 |     pub fn new(obj: &DefaultDicomObject) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/image_info.rs:35:12
[INFO] [stdout]    |
[INFO] [stdout] 33 | impl ImageInfo {
[INFO] [stdout]    | -------------- associated function in this implementation
[INFO] [stdout] 34 |     // 为 PatientInfo 添加构造函数
[INFO] [stdout] 35 |     pub fn new(obj: &DefaultDicomObject) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/patient_info.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl PatientInfo {
[INFO] [stdout]    | ---------------- associated function in this implementation
[INFO] [stdout] 22 |     // 为 PatientInfo 添加构造函数
[INFO] [stdout] 23 |     pub fn new(obj: &DefaultDicomObject) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/series_info.rs:25:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | impl SeriesInfo {
[INFO] [stdout]    | --------------- associated function in this implementation
[INFO] [stdout] 24 |     // 为 PatientInfo 添加构造函数
[INFO] [stdout] 25 |     pub fn new(obj: &DefaultDicomObject) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/study_info.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl StudyInfo {
[INFO] [stdout]    | -------------- associated function in this implementation
[INFO] [stdout] 18 |     // 为 PatientInfo 添加构造函数
[INFO] [stdout] 19 |     pub fn new(obj: &DefaultDicomObject) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 4m 00s
[INFO] running `Command { std: "docker" "inspect" "16aacfc581405333703c9dd1d0d096eca799c9a7a2eaf8895a20fed018b18084", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "16aacfc581405333703c9dd1d0d096eca799c9a7a2eaf8895a20fed018b18084", kill_on_drop: false }`
[INFO] [stdout] 16aacfc581405333703c9dd1d0d096eca799c9a7a2eaf8895a20fed018b18084
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+f9988fefd3add01f414f52b414308e7872622fee" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f5def5bb8ef1dd99cec6fc23ce94ec8990c27d23a0c8b93a7982c1caeedf79fe
[INFO] running `Command { std: "docker" "start" "-a" "f5def5bb8ef1dd99cec6fc23ce94ec8990c27d23a0c8b93a7982c1caeedf79fe", kill_on_drop: false }`
[INFO] [stderr]    Compiling dcm-tools v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] Processing field: "character_set"
[INFO] [stderr] Parsing group: "0x0008"
[INFO] [stderr] Parsing element: "0x0005"
[INFO] [stderr] Generate Getter: "character_set_tag"->0008,0005
[INFO] [stderr] Processing field: "sop_class_uid"
[INFO] [stderr] Parsing group: "0x0008"
[INFO] [stderr] Parsing element: "0x0016"
[INFO] [stderr] Generate Getter: "sop_class_uid_tag"->0008,0016
[INFO] [stderr] Processing field: "sop_instance_uid"
[INFO] [stderr] Parsing group: "0x0008"
[INFO] [stderr] Parsing element: "0x0018"
[INFO] [stderr] Generate Getter: "sop_instance_uid_tag"->0008,0018
[INFO] [stderr] Processing field: "image_type"
[INFO] [stderr] Parsing group: "0x0008"
[INFO] [stderr] Parsing element: "0x0008"
[INFO] [stderr] Generate Getter: "image_type_tag"->0008,0008
[INFO] [stderr] Parsing root name: "DcmMapMeta"
[INFO] [stderr] field_ident: "bit_allocated"
[INFO] [stderr] Parsing tag_name: "0x0028, 0x0100"
[INFO] [stderr] Parsing group: "0x0028"
[INFO] [stderr] Parsing element: "0x0100"
[INFO] [stderr] field_ident: "bits_stored"
[INFO] [stderr] Parsing tag_name: "0x0028, 0x0101"
[INFO] [stderr] Parsing group: "0x0028"
[INFO] [stderr] Parsing element: "0x0101"
[INFO] [stderr] field_ident: "high_bit"
[INFO] [stderr] Parsing tag_name: "0x0028, 0x0102"
[INFO] [stderr] Parsing group: "0x0028"
[INFO] [stderr] Parsing element: "0x0102"
[INFO] [stderr] Parsing root name: "DcmEntityBaseMeta"
[INFO] [stderr] field_ident: "bit_allocated"
[INFO] [stderr] Parsing dicom_tag_key: "dicom :: dictionary_std :: tags :: BITS_ALLOCATED"
[INFO] [stderr] Parsing dicom_tag_key: "BIT_ALLOCATED_TAG"
[INFO] [stderr] field_ident: "bits_stored"
[INFO] [stderr] Parsing dicom_tag_key: "dicom :: dictionary_std :: tags :: BITS_STORED"
[INFO] [stderr] Parsing dicom_tag_key: "BITS_STORED_TAG"
[INFO] [stderr] field_ident: "high_bit"
[INFO] [stderr] Parsing dicom_tag_key: "dicom :: dictionary_std :: tags :: HIGH_BIT"
[INFO] [stderr] Parsing dicom_tag_key: "HIGH_BIT_TAG"
[INFO] [stdout] warning: unused import: `dicom_core::Length`
[INFO] [stdout]  --> src/dcmobj.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use dicom_core::Length;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rayon::prelude::*`
[INFO] [stdout]   --> src/dcmobj.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use rayon::prelude::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Map`
[INFO] [stdout]   --> src/dcmobj.rs:16:18
[INFO] [stdout]    |
[INFO] [stdout] 16 | use serde_json::{Map, Value, json};
[INFO] [stdout]    |                  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ptr::write`
[INFO] [stdout]   --> src/dcmobj.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | use std::ptr::write;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/dcmobj.rs:628:8
[INFO] [stdout]     |
[INFO] [stdout] 628 |     if (file.is_ok()) {
[INFO] [stdout]     |        ^            ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 628 -     if (file.is_ok()) {
[INFO] [stdout] 628 +     if file.is_ok()  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::dcm_meta::DcmEntityBaseMeta`
[INFO] [stdout]   --> src/main.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use crate::dcm_meta::DcmEntityBaseMeta;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Serializer`
[INFO] [stdout]  --> src/dcm_meta.rs:7:55
[INFO] [stdout]   |
[INFO] [stdout] 7 | use serde::{de, Deserialize, Deserializer, Serialize, Serializer};
[INFO] [stdout]   |                                                       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `dicom_core::header::HasLength`
[INFO] [stdout]  --> src/dcmobj.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use dicom_core::header::HasLength;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `change_transfer_syntax_iter` is never used
[INFO] [stdout]    --> src/dcmobj.rs:101:8
[INFO] [stdout]     |
[INFO] [stdout] 101 | pub fn change_transfer_syntax_iter(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `change_transfer_syntax` is never used
[INFO] [stdout]    --> src/dcmobj.rs:231:8
[INFO] [stdout]     |
[INFO] [stdout] 231 | pub fn change_transfer_syntax(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]    --> src/dcmobj.rs:230:8
[INFO] [stdout]     |
[INFO] [stdout] 230 | #[warn(dead_code)]
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `convert_ts_with_pixel_data` is never used
[INFO] [stdout]    --> src/dcmobj.rs:361:8
[INFO] [stdout]     |
[INFO] [stdout] 361 | pub fn convert_ts_with_pixel_data(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]    --> src/dcmobj.rs:360:8
[INFO] [stdout]     |
[INFO] [stdout] 360 | #[warn(dead_code)]
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 4.21s
[INFO] running `Command { std: "docker" "inspect" "f5def5bb8ef1dd99cec6fc23ce94ec8990c27d23a0c8b93a7982c1caeedf79fe", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f5def5bb8ef1dd99cec6fc23ce94ec8990c27d23a0c8b93a7982c1caeedf79fe", kill_on_drop: false }`
[INFO] [stdout] f5def5bb8ef1dd99cec6fc23ce94ec8990c27d23a0c8b93a7982c1caeedf79fe
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+f9988fefd3add01f414f52b414308e7872622fee" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 344cb41d38a1f28b9ebec546ca27561e9206ecbc3209cbc6d3d9d4a9e04d2b9c
[INFO] running `Command { std: "docker" "start" "-a" "344cb41d38a1f28b9ebec546ca27561e9206ecbc3209cbc6d3d9d4a9e04d2b9c", kill_on_drop: false }`
[INFO] [stderr] Processing field: "character_set"
[INFO] [stderr] Parsing group: "0x0008"
[INFO] [stderr] Parsing element: "0x0005"
[INFO] [stderr] Generate Getter: "character_set_tag"->0008,0005
[INFO] [stderr] Processing field: "sop_class_uid"
[INFO] [stderr] Parsing group: "0x0008"
[INFO] [stderr] Parsing element: "0x0016"
[INFO] [stderr] Generate Getter: "sop_class_uid_tag"->0008,0016
[INFO] [stderr] Processing field: "sop_instance_uid"
[INFO] [stderr] Parsing group: "0x0008"
[INFO] [stderr] Parsing element: "0x0018"
[INFO] [stderr] Generate Getter: "sop_instance_uid_tag"->0008,0018
[INFO] [stderr] Processing field: "image_type"
[INFO] [stderr] Parsing group: "0x0008"
[INFO] [stderr] Parsing element: "0x0008"
[INFO] [stderr] Generate Getter: "image_type_tag"->0008,0008
[INFO] [stderr] Parsing root name: "DcmMapMeta"
[INFO] [stderr] field_ident: "bit_allocated"
[INFO] [stderr] Parsing tag_name: "0x0028, 0x0100"
[INFO] [stderr] Parsing group: "0x0028"
[INFO] [stderr] Parsing element: "0x0100"
[INFO] [stderr] field_ident: "bits_stored"
[INFO] [stderr] Parsing tag_name: "0x0028, 0x0101"
[INFO] [stderr] Parsing group: "0x0028"
[INFO] [stderr] Parsing element: "0x0101"
[INFO] [stderr] field_ident: "high_bit"
[INFO] [stderr] Parsing tag_name: "0x0028, 0x0102"
[INFO] [stderr] Parsing group: "0x0028"
[INFO] [stderr] Parsing element: "0x0102"
[INFO] [stderr] Parsing root name: "DcmEntityBaseMeta"
[INFO] [stderr] field_ident: "bit_allocated"
[INFO] [stderr] Parsing dicom_tag_key: "dicom :: dictionary_std :: tags :: BITS_ALLOCATED"
[INFO] [stderr] Parsing dicom_tag_key: "BIT_ALLOCATED_TAG"
[INFO] [stderr] field_ident: "bits_stored"
[INFO] [stderr] Parsing dicom_tag_key: "dicom :: dictionary_std :: tags :: BITS_STORED"
[INFO] [stderr] Parsing dicom_tag_key: "BITS_STORED_TAG"
[INFO] [stderr] field_ident: "high_bit"
[INFO] [stderr] Parsing dicom_tag_key: "dicom :: dictionary_std :: tags :: HIGH_BIT"
[INFO] [stderr] Parsing dicom_tag_key: "HIGH_BIT_TAG"
[INFO] [stderr] warning: unused import: `dicom_core::Length`
[INFO] [stderr]  --> src/dcmobj.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | use dicom_core::Length;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `rayon::prelude::*`
[INFO] [stderr]   --> src/dcmobj.rs:15:5
[INFO] [stderr]    |
[INFO] [stderr] 15 | use rayon::prelude::*;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Map`
[INFO] [stderr]   --> src/dcmobj.rs:16:18
[INFO] [stderr]    |
[INFO] [stderr] 16 | use serde_json::{Map, Value, json};
[INFO] [stderr]    |                  ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::ptr::write`
[INFO] [stderr]   --> src/dcmobj.rs:22:5
[INFO] [stderr]    |
[INFO] [stderr] 22 | use std::ptr::write;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around `if` condition
[INFO] [stderr]    --> src/dcmobj.rs:628:8
[INFO] [stderr]     |
[INFO] [stderr] 628 |     if (file.is_ok()) {
[INFO] [stderr]     |        ^            ^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 628 -     if (file.is_ok()) {
[INFO] [stderr] 628 +     if file.is_ok()  {
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::dcm_meta::DcmEntityBaseMeta`
[INFO] [stderr]   --> src/main.rs:15:5
[INFO] [stderr]    |
[INFO] [stderr] 15 | use crate::dcm_meta::DcmEntityBaseMeta;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Serializer`
[INFO] [stderr]  --> src/dcm_meta.rs:7:55
[INFO] [stderr]   |
[INFO] [stderr] 7 | use serde::{de, Deserialize, Deserializer, Serialize, Serializer};
[INFO] [stderr]   |                                                       ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `dicom_core::header::HasLength`
[INFO] [stderr]  --> src/dcmobj.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 6 | use dicom_core::header::HasLength;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `change_transfer_syntax_iter` is never used
[INFO] [stderr]    --> src/dcmobj.rs:101:8
[INFO] [stderr]     |
[INFO] [stderr] 101 | pub fn change_transfer_syntax_iter(
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `change_transfer_syntax` is never used
[INFO] [stderr]    --> src/dcmobj.rs:231:8
[INFO] [stderr]     |
[INFO] [stderr] 231 | pub fn change_transfer_syntax(
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr] note: the lint level is defined here
[INFO] [stderr]    --> src/dcmobj.rs:230:8
[INFO] [stderr]     |
[INFO] [stderr] 230 | #[warn(dead_code)]
[INFO] [stderr]     |        ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `convert_ts_with_pixel_data` is never used
[INFO] [stderr]    --> src/dcmobj.rs:361:8
[INFO] [stderr]     |
[INFO] [stderr] 361 | pub fn convert_ts_with_pixel_data(
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr] note: the lint level is defined here
[INFO] [stderr]    --> src/dcmobj.rs:360:8
[INFO] [stderr]     |
[INFO] [stderr] 360 | #[warn(dead_code)]
[INFO] [stderr]     |        ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `dcm-tools` (bin "dcm-tools" test) generated 11 warnings (run `cargo fix --bin "dcm-tools" -p dcm-tools --tests` to apply 6 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.32s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/dcm_tools-bc19d69b40119c74)
[INFO] [stdout] 
[INFO] [stdout] running 15 tests
[INFO] [stdout] test image_info::tests::test_serialize_image_info ... ok
[INFO] [stdout] test patient_info::tests::test_serialize_patient_info ... ok
[INFO] [stdout] test patient_info::tests::test_deserialize_patient_info ... ok
[INFO] [stdout] test series_info::tests::test_deserialize_series_info ... ok
[INFO] [stdout] test image_info::tests::test_deserialize_image_info ... ok
[INFO] [stdout] test dicom_info::tests::dicom_info_test_serialize_deserialize_all_fields ... ok
[INFO] [stdout] test study_info::tests::test_deserialize_study_info ... ok
[INFO] [stdout] test study_info::tests::test_serialize_study_info ... ok
[INFO] [stdout] test series_info::tests::test_serialize_series_info ... ok
[INFO] [stdout] test tests::verify_cli ... ok
[INFO] [stdout] test tests::test_file_exists_when_file_not_exists ... ok
[INFO] [stdout] test tests::test_file_exists_when_file_exists ... ok
[INFO] [stdout] test tests::test_file_exists_when_path_is_directory ... ok
[INFO] [stdout] test tests::test_file_read ... FAILED
[INFO] [stdout] test dicom_info::tests::dicom_info_test_serialize_deserialize_all_fields2 ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- tests::test_file_read stdout ----
[INFO] [stdout] Transfer Syntax UID: [1.2.840.10008.1.2]
[INFO] [stdout] PatientInfo: PatientInfo { id: "00306271", name: "00306271", age: "053Y", sex: "", birth_date: "19560101", birth_time: "" }
[INFO] [stdout] StudyInfo: StudyInfo { study_id: "132515", study_uid: "1.2.840.113713.55902.1.642704.2248.1270609304.4356", study_date: "20100209", study_time: "083139.000000", study_desc: "CT THORAX WO IV CONTRA" }
[INFO] [stdout] SeriesInfo: SeriesInfo { series_num: "2", series_uid: "1.2.840.113713.55902.1.642704.2248.1270609314.4486", series_date: "20100209", series_time: "083139", series_desc: "HELICAL INSPIRATION", modality: "CT", body_part_exam: "", image_type: "ORIGINAL\\PRIMARY\\AXIAL", accession_number: "XAHP" }
[INFO] [stdout] ImageInfo: ImageInfo { inst_num: 155, sop_uid: "1.2.840.113713.55902.1.642704.2248.1270609320.4549", rows: 512, cols: 512, pixel_spacing: "0.625000\\0.625000", slice_location: "-149.000", slice_thickness: "1.250000", image_position: "-150.200\\-160.000\\-149.000", image_orientation: "1.000000\\0.000000\\0.000000\\0.000000\\1.000000\\0.000000", window_center: "-600", window_width: "1300", photometric_interpretation: "MONOCHROME2", bits_allocated: 16, high_bit: 15, bit_stored: 16, samples_per_pixel: 1, pixel_representation: 1 }
[INFO] [stdout] DicomInfo: DicomInfo { transfer_syntax_uid: "1.2.840.10008.1.2", specific_character_set: "ISO_IR 100", sop_class_uid: "1.2.840.10008.5.1.4.1.1.2", sop_instance_uid: "1.2.840.113713.55902.1.642704.2248.1270609320.4549", image_type: "ORIGINAL\\PRIMARY\\AXIAL", study_uid: "1.2.840.113713.55902.1.642704.2248.1270609304.4356", series_uid: "1.2.840.113713.55902.1.642704.2248.1270609314.4486", patient_id: "00306271", patient_name: "00306271", patient_sex: "", patient_age: "053Y", patient_size: "1.62", patient_weight: "59.0", patient_birth_date: "19560101", patient_birth_time: "", patient_ethnic_group: "", patient_occupation: "", instance_number: "155", rows: "512", columns: "512", pixel_spacing: "0.625000\\0.625000", slice_thickness: "1.250000", slice_location: "-149.000", window_center: "-600", window_width: "1300", rescale_intercept: "-1024", rescale_slope: "1", rescale_type: "HU", image_position_patient: "-150.200\\-160.000\\-149.000", image_orientation_patient: "1.000000\\0.000000\\0.000000\\0.000000\\1.000000\\0.000000", bits_allocated: "16", bits_stored: "16", high_bit: "15", pixel_representation: "1", samples_per_pixel: "1", photometric_interpretation: "MONOCHROME2", modality: "CT", body_part_examined: "", series_description: "HELICAL INSPIRATION", series_number: "2", series_date: "20100209", series_time: "083139", study_description: "CT THORAX WO IV CONTRA", study_id: "132515", study_date: "20100209", study_time: "083139.000000", accession_number: "XAHP" }
[INFO] [stdout] DicomInfo: DcmMeta { transfer_syntax: "1.2.840.10008.1.2", character_set: "ISO_IR 100", sop_class_uid: "1.2.840.10008.5.1.4.1.1.2", sop_instance_uid: "1.2.840.113713.55902.1.642704.2248.1270609320.4549", image_type: "ORIGINAL\\PRIMARY\\AXIAL" }
[INFO] [stdout] DicomInfo: DcmMapMeta { bit_allocated: 16, bits_stored: 16, high_bit: 15 }-->true
[INFO] [stdout] 
[INFO] [stdout] thread 'tests::test_file_read' (31) panicked at src/main.rs:194:41:
[INFO] [stdout] called `Result::unwrap()` on an `Err` value: Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" }
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x649d9fc2218a - std[1209cfb42f6d497f]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x649d9fc2218a - std[1209cfb42f6d497f]::backtrace_rs::backtrace::trace_unsynchronized::<std[1209cfb42f6d497f]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x649d9fc2218a - std[1209cfb42f6d497f]::sys::backtrace::_print_fmt
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout]    3:     0x649d9fc2218a - <<std[1209cfb42f6d497f]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[4a92201981c6b77a]::fmt::Display>::fmt
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout]    4:     0x649d9fc3928a - <core[4a92201981c6b77a]::fmt::rt::Argument>::fmt
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x649d9fc3928a - core[4a92201981c6b77a]::fmt::write
[INFO] [stdout]    6:     0x649d9fc26f92 - std[1209cfb42f6d497f]::io::default_write_fmt::<alloc[420bb310a727dfd7]::vec::Vec<u8>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/io/mod.rs:621:11
[INFO] [stdout]    7:     0x649d9fc26f92 - <alloc[420bb310a727dfd7]::vec::Vec<u8> as std[1209cfb42f6d497f]::io::Write>::write_fmt
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/io/mod.rs:1976:13
[INFO] [stdout]    8:     0x649d9fbff2ef - <std[1209cfb42f6d497f]::sys::backtrace::BacktraceLock>::print
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout]    9:     0x649d9fbff2ef - std[1209cfb42f6d497f]::panicking::default_hook::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x649d9fc19a09 - std[1209cfb42f6d497f]::panicking::default_hook
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x649d9f6e1c2c - <alloc[420bb310a727dfd7]::boxed::Box<dyn for<'a, 'b> core[4a92201981c6b77a]::ops::function::Fn<(&'a std[1209cfb42f6d497f]::panic::PanicHookInfo<'b>,), Output = ()> + core[4a92201981c6b77a]::marker::Sync + core[4a92201981c6b77a]::marker::Send> as core[4a92201981c6b77a]::ops::function::Fn<(&std[1209cfb42f6d497f]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/alloc/src/boxed.rs:2285:9
[INFO] [stdout]   12:     0x649d9f6e1c2c - test[59e67a9bc0e119f1]::test_main_inner::<test[59e67a9bc0e119f1]::test_main_static::{closure#0}>::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:155:21
[INFO] [stdout]   13:     0x649d9fc19c82 - <alloc[420bb310a727dfd7]::boxed::Box<dyn for<'a, 'b> core[4a92201981c6b77a]::ops::function::Fn<(&'a std[1209cfb42f6d497f]::panic::PanicHookInfo<'b>,), Output = ()> + core[4a92201981c6b77a]::marker::Sync + core[4a92201981c6b77a]::marker::Send> as core[4a92201981c6b77a]::ops::function::Fn<(&std[1209cfb42f6d497f]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/alloc/src/boxed.rs:2285:9
[INFO] [stdout]   14:     0x649d9fc19c82 - std[1209cfb42f6d497f]::panicking::panic_with_hook
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x649d9fbff3a8 - std[1209cfb42f6d497f]::panicking::panic_handler::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:698:13
[INFO] [stdout]   16:     0x649d9fbf3f49 - std[1209cfb42f6d497f]::sys::backtrace::__rust_end_short_backtrace::<std[1209cfb42f6d497f]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout]   17:     0x649d9fc0010d - __rustc[4effac393e9f3da6]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x649d9fc39a4c - core[4a92201981c6b77a]::panicking::panic_fmt
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x649d9fc397c2 - core[4a92201981c6b77a]::result::unwrap_failed
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/result.rs:1867:5
[INFO] [stdout]   20:     0x649d9f640967 - <core[4a92201981c6b77a]::result::Result<(), std[1209cfb42f6d497f]::io::error::Error>>::unwrap
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/result.rs:1233:23
[INFO] [stdout]   21:     0x649d9f640967 - dcm_tools[a3a7ea88b06ddf8]::tests::test_file_read
[INFO] [stdout]                                at /opt/rustwide/workdir/src/main.rs:194:41
[INFO] [stdout]   22:     0x649d9f63f3b7 - dcm_tools[a3a7ea88b06ddf8]::tests::test_file_read::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/workdir/src/main.rs:155:24
[INFO] [stdout]   23:     0x649d9f62ab26 - <dcm_tools[a3a7ea88b06ddf8]::tests::test_file_read::{closure#0} as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x649d9f6d4f0b - <fn() -> core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String> as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x649d9f6d4f0b - test[59e67a9bc0e119f1]::__rust_begin_short_backtrace::<core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>, fn() -> core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:724:18
[INFO] [stdout]   26:     0x649d9f6e26fb - test[59e67a9bc0e119f1]::run_test_in_process::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:747:74
[INFO] [stdout]   27:     0x649d9f6e26fb - <core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<test[59e67a9bc0e119f1]::run_test_in_process::{closure#0}> as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   28:     0x649d9f6e26fb - std[1209cfb42f6d497f]::panicking::catch_unwind::do_call::<core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<test[59e67a9bc0e119f1]::run_test_in_process::{closure#0}>, core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:581:40
[INFO] [stdout]   29:     0x649d9f6e26fb - std[1209cfb42f6d497f]::panicking::catch_unwind::<core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>, core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<test[59e67a9bc0e119f1]::run_test_in_process::{closure#0}>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:544:19
[INFO] [stdout]   30:     0x649d9f6e26fb - std[1209cfb42f6d497f]::panic::catch_unwind::<core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<test[59e67a9bc0e119f1]::run_test_in_process::{closure#0}>, core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panic.rs:359:14
[INFO] [stdout]   31:     0x649d9f6e26fb - test[59e67a9bc0e119f1]::run_test_in_process
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:747:27
[INFO] [stdout]   32:     0x649d9f6e26fb - test[59e67a9bc0e119f1]::run_test::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:668:43
[INFO] [stdout]   33:     0x649d9f6dbe14 - test[59e67a9bc0e119f1]::run_test::{closure#1}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:698:41
[INFO] [stdout]   34:     0x649d9f6dbe14 - std[1209cfb42f6d497f]::sys::backtrace::__rust_begin_short_backtrace::<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:166:18
[INFO] [stdout]   35:     0x649d9f6e5302 - std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked::<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/thread/lifecycle.rs:70:13
[INFO] [stdout]   36:     0x649d9f6e5302 - <core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}> as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   37:     0x649d9f6e5302 - std[1209cfb42f6d497f]::panicking::catch_unwind::do_call::<core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:581:40
[INFO] [stdout]   38:     0x649d9f6e5302 - std[1209cfb42f6d497f]::panicking::catch_unwind::<(), core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:544:19
[INFO] [stdout]   39:     0x649d9f6e5302 - std[1209cfb42f6d497f]::panic::catch_unwind::<core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panic.rs:359:14
[INFO] [stdout]   40:     0x649d9f6e5302 - std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked::<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/thread/lifecycle.rs:68:26
[INFO] [stdout]   41:     0x649d9f6e5302 - <std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1} as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   42:     0x649d9fc216df - <alloc[420bb310a727dfd7]::boxed::Box<dyn core[4a92201981c6b77a]::ops::function::FnOnce<(), Output = ()> + core[4a92201981c6b77a]::marker::Send> as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/alloc/src/boxed.rs:2271:9
[INFO] [stdout]   43:     0x649d9fc216df - <std[1209cfb42f6d497f]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/thread/unix.rs:118:17
[INFO] [stdout]   44:     0x75d3b53f1aa4 - <unknown>
[INFO] [stdout]   45:     0x75d3b547ea64 - clone
[INFO] [stdout]   46:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     tests::test_file_read
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 14 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.40s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--bin dcm-tools`
[INFO] running `Command { std: "docker" "inspect" "344cb41d38a1f28b9ebec546ca27561e9206ecbc3209cbc6d3d9d4a9e04d2b9c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "344cb41d38a1f28b9ebec546ca27561e9206ecbc3209cbc6d3d9d4a9e04d2b9c", kill_on_drop: false }`
[INFO] [stdout] 344cb41d38a1f28b9ebec546ca27561e9206ecbc3209cbc6d3d9d4a9e04d2b9c
