[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 try#bd7d74411512a3dd3b35d2f699c51dd2557c7e7e+cargoflags=-Zbuild-dir-new-layout for pr-149852-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmomostarsky%2Fdcm-tools" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/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-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/momostarsky/dcm-tools on toolchain bd7d74411512a3dd3b35d2f699c51dd2557c7e7e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "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" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 223 packages to latest Rust 1.94.0-nightly compatible versions
[INFO] [stderr]       Adding dicom v0.8.2 (available: v0.9.0)
[INFO] [stderr]       Adding dicom-core v0.8.2 (available: v0.9.0)
[INFO] [stderr]       Adding dicom-encoding v0.8.2 (available: v0.9.0)
[INFO] [stderr]       Adding dicom-object v0.8.2 (available: v0.9.0)
[INFO] [stderr]       Adding dicom-transfer-syntax-registry v0.8.2 (available: v0.9.0)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 7f06e2c96a4edcceaecaeee0774a9f5c34245ad9cfc7257c2a8eb4dd0791a3b4
[INFO] running `Command { std: "docker" "start" "-a" "7f06e2c96a4edcceaecaeee0774a9f5c34245ad9cfc7257c2a8eb4dd0791a3b4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7f06e2c96a4edcceaecaeee0774a9f5c34245ad9cfc7257c2a8eb4dd0791a3b4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7f06e2c96a4edcceaecaeee0774a9f5c34245ad9cfc7257c2a8eb4dd0791a3b4", kill_on_drop: false }`
[INFO] [stdout] 7f06e2c96a4edcceaecaeee0774a9f5c34245ad9cfc7257c2a8eb4dd0791a3b4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "build" "--frozen" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 1d6a35263fbc240ed4f23d12763c2107bf67a2d78c0a6ed2396165141a722ebf
[INFO] running `Command { std: "docker" "start" "-a" "1d6a35263fbc240ed4f23d12763c2107bf67a2d78c0a6ed2396165141a722ebf", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.105
[INFO] [stderr]    Compiling quote v1.0.43
[INFO] [stderr]    Compiling unicode-ident v1.0.22
[INFO] [stderr]    Compiling heck v0.5.0
[INFO] [stderr]    Compiling encoding_index_tests v0.1.4
[INFO] [stderr]    Compiling autocfg v1.5.0
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling once_cell v1.21.3
[INFO] [stderr]    Compiling iana-time-zone v0.1.64
[INFO] [stderr]    Compiling safe-transmute v0.11.3
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling pin-project-lite v0.2.16
[INFO] [stderr]    Compiling libc v0.2.180
[INFO] [stderr]    Compiling rayon-core v1.13.0
[INFO] [stderr]    Compiling encoding-index-singlebyte v1.20141219.5
[INFO] [stderr]    Compiling encoding-index-korean 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-simpchinese v1.20141219.5
[INFO] [stderr]    Compiling tracing-core v0.1.36
[INFO] [stderr]    Compiling itertools v0.14.0
[INFO] [stderr]    Compiling lazy_static v1.5.0
[INFO] [stderr]    Compiling inventory v0.3.21
[INFO] [stderr]    Compiling memchr v2.7.6
[INFO] [stderr]    Compiling jpeg-encoder v0.6.1
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling byteordered v0.6.0
[INFO] [stderr]    Compiling rustix v1.1.3
[INFO] [stderr]    Compiling zmij v1.0.14
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling encoding v0.2.33
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling shlex v1.3.0
[INFO] [stderr]    Compiling linux-raw-sys v0.11.0
[INFO] [stderr]    Compiling hashbrown v0.16.1
[INFO] [stderr]    Compiling find-msvc-tools v0.1.8
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling bitflags v2.10.0
[INFO] [stderr]    Compiling is_ci v1.2.0
[INFO] [stderr]    Compiling cc v1.2.53
[INFO] [stderr]    Compiling crossbeam-deque v0.8.6
[INFO] [stderr]    Compiling owo-colors v4.2.3
[INFO] [stderr]    Compiling itoa v1.0.17
[INFO] [stderr]    Compiling cfg-if v1.0.4
[INFO] [stderr]    Compiling utf8parse v0.2.2
[INFO] [stderr]    Compiling supports-color v3.0.2
[INFO] [stderr]    Compiling anstyle-parse v0.2.7
[INFO] [stderr]    Compiling aho-corasick v1.1.4
[INFO] [stderr]    Compiling colorchoice v1.0.4
[INFO] [stderr]    Compiling is-terminal v0.4.17
[INFO] [stderr]    Compiling base64 v0.22.1
[INFO] [stderr]    Compiling anstyle v1.0.13
[INFO] [stderr]    Compiling supports-color v2.1.0
[INFO] [stderr]    Compiling anstyle-query v1.1.5
[INFO] [stderr]    Compiling is_terminal_polyfill v1.70.2
[INFO] [stderr]    Compiling syn v2.0.114
[INFO] [stderr]    Compiling regex-syntax v0.8.8
[INFO] [stderr]    Compiling bytes v1.11.0
[INFO] [stderr]    Compiling rayon v1.11.0
[INFO] [stderr]    Compiling indexmap v2.13.0
[INFO] [stderr]    Compiling anstream v0.6.21
[INFO] [stderr]    Compiling chrono v0.4.43
[INFO] [stderr]    Compiling clap_lex v0.7.7
[INFO] [stderr]    Compiling strsim v0.11.1
[INFO] [stderr]    Compiling uuid v1.19.0
[INFO] [stderr]    Compiling cmake v0.1.57
[INFO] [stderr]    Compiling clap_builder v4.5.54
[INFO] [stderr]    Compiling fastrand v2.3.0
[INFO] [stderr]    Compiling dicom-gen-uid v0.1.0
[INFO] [stderr]    Compiling log v0.4.29
[INFO] [stderr]    Compiling gdcm_conv v0.1.7
[INFO] [stderr]    Compiling terminal_size v0.4.3
[INFO] [stderr]    Compiling tempfile v3.24.0
[INFO] [stderr]    Compiling regex-automata v0.4.13
[INFO] [stderr]    Compiling jpeg-decoder v0.3.2
[INFO] [stderr]    Compiling regex v1.12.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.5.49
[INFO] [stderr]    Compiling tracing v0.1.44
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling snafu v0.8.9
[INFO] [stderr]    Compiling dicom-core v0.8.2
[INFO] [stderr]    Compiling clap v4.5.54
[INFO] [stderr]    Compiling dicom-dictionary-std v0.8.1
[INFO] [stderr]    Compiling dicom-encoding v0.8.2
[INFO] [stderr]    Compiling dicom-parser v0.8.2
[INFO] [stderr]    Compiling dicom-transfer-syntax-registry 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 3m 12s
[INFO] running `Command { std: "docker" "inspect" "1d6a35263fbc240ed4f23d12763c2107bf67a2d78c0a6ed2396165141a722ebf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1d6a35263fbc240ed4f23d12763c2107bf67a2d78c0a6ed2396165141a722ebf", kill_on_drop: false }`
[INFO] [stdout] 1d6a35263fbc240ed4f23d12763c2107bf67a2d78c0a6ed2396165141a722ebf
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "--no-run" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] acf766140102024465d2f1b2416d3fb290c2561e5f36781b48c17534431422a3
[INFO] running `Command { std: "docker" "start" "-a" "acf766140102024465d2f1b2416d3fb290c2561e5f36781b48c17534431422a3", 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 3.18s
[INFO] running `Command { std: "docker" "inspect" "acf766140102024465d2f1b2416d3fb290c2561e5f36781b48c17534431422a3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "acf766140102024465d2f1b2416d3fb290c2561e5f36781b48c17534431422a3", kill_on_drop: false }`
[INFO] [stdout] acf766140102024465d2f1b2416d3fb290c2561e5f36781b48c17534431422a3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 8cd82662903146647741e9a900b8580e27520b3bef527f1946b0eedac9ffd9d3
[INFO] running `Command { std: "docker" "start" "-a" "8cd82662903146647741e9a900b8580e27520b3bef527f1946b0eedac9ffd9d3", 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.21s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/build/dcm-tools/7b0789b95000f96c/deps/dcm_tools-7b0789b95000f96c)
[INFO] [stdout] 
[INFO] [stdout] running 15 tests
[INFO] [stdout] test image_info::tests::test_deserialize_image_info ... ok
[INFO] [stdout] test image_info::tests::test_serialize_image_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 dicom_info::tests::dicom_info_test_serialize_deserialize_all_fields ... ok
[INFO] [stdout] test patient_info::tests::test_serialize_patient_info ... ok
[INFO] [stdout] test series_info::tests::test_serialize_series_info ... ok
[INFO] [stdout] test study_info::tests::test_serialize_study_info ... ok
[INFO] [stdout] test tests::test_file_exists_when_file_not_exists ... ok
[INFO] [stdout] test study_info::tests::test_deserialize_study_info ... ok
[INFO] [stdout] test tests::verify_cli ... 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' (39) 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:     0x5aa46a088be2 - std[840933623431fd06]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x5aa46a088be2 - std[840933623431fd06]::backtrace_rs::backtrace::trace_unsynchronized::<std[840933623431fd06]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x5aa46a088be2 - std[840933623431fd06]::sys::backtrace::_print_fmt
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout]    3:     0x5aa46a088be2 - <<std[840933623431fd06]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[8f93d80df273fe75]::fmt::Display>::fmt
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout]    4:     0x5aa46a0a07fa - <core[8f93d80df273fe75]::fmt::rt::Argument>::fmt
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x5aa46a0a07fa - core[8f93d80df273fe75]::fmt::write
[INFO] [stdout]    6:     0x5aa46a08e046 - std[840933623431fd06]::io::default_write_fmt::<alloc[40b2bae28975ac47]::vec::Vec<u8>>
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x5aa46a08e046 - <alloc[40b2bae28975ac47]::vec::Vec<u8> as std[840933623431fd06]::io::Write>::write_fmt
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/io/mod.rs:1994:13
[INFO] [stdout]    8:     0x5aa46a06544f - <std[840933623431fd06]::sys::backtrace::BacktraceLock>::print
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout]    9:     0x5aa46a06544f - std[840933623431fd06]::panicking::default_hook::{closure#0}
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x5aa46a080379 - std[840933623431fd06]::panicking::default_hook
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x5aa469b4a83e - <alloc[40b2bae28975ac47]::boxed::Box<dyn for<'a, 'b> core[8f93d80df273fe75]::ops::function::Fn<(&'a std[840933623431fd06]::panic::PanicHookInfo<'b>,), Output = ()> + core[8f93d80df273fe75]::marker::Sync + core[8f93d80df273fe75]::marker::Send> as core[8f93d80df273fe75]::ops::function::Fn<(&std[840933623431fd06]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   12:     0x5aa469b4a83e - test[2f1252070343a163]::test_main_with_exit_callback::<test[2f1252070343a163]::test_main::{closure#0}>::{closure#0}
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x5aa46a0805e2 - <alloc[40b2bae28975ac47]::boxed::Box<dyn for<'a, 'b> core[8f93d80df273fe75]::ops::function::Fn<(&'a std[840933623431fd06]::panic::PanicHookInfo<'b>,), Output = ()> + core[8f93d80df273fe75]::marker::Sync + core[8f93d80df273fe75]::marker::Send> as core[8f93d80df273fe75]::ops::function::Fn<(&std[840933623431fd06]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   14:     0x5aa46a0805e2 - std[840933623431fd06]::panicking::panic_with_hook
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x5aa46a065508 - std[840933623431fd06]::panicking::panic_handler::{closure#0}
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/panicking.rs:698:13
[INFO] [stdout]   16:     0x5aa46a05c869 - std[840933623431fd06]::sys::backtrace::__rust_end_short_backtrace::<std[840933623431fd06]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout]   17:     0x5aa46a0663ad - __rustc[5b4a0c6d8cc4a177]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x5aa46a0a0f3c - core[8f93d80df273fe75]::panicking::panic_fmt
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x5aa46a0a0cb2 - core[8f93d80df273fe75]::result::unwrap_failed
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/core/src/result.rs:1867:5
[INFO] [stdout]   20:     0x5aa469a74217 - <core[8f93d80df273fe75]::result::Result<(), std[840933623431fd06]::io::error::Error>>::unwrap
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/core/src/result.rs:1233:23
[INFO] [stdout]   21:     0x5aa469a74217 - dcm_tools[8ab48e0fc94c701c]::tests::test_file_read
[INFO] [stdout]                                at /opt/rustwide/workdir/src/main.rs:194:41
[INFO] [stdout]   22:     0x5aa469a72607 - dcm_tools[8ab48e0fc94c701c]::tests::test_file_read::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/workdir/src/main.rs:155:24
[INFO] [stdout]   23:     0x5aa469b1f786 - <dcm_tools[8ab48e0fc94c701c]::tests::test_file_read::{closure#0} as core[8f93d80df273fe75]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x5aa469b3ebeb - <fn() -> core[8f93d80df273fe75]::result::Result<(), alloc[40b2bae28975ac47]::string::String> as core[8f93d80df273fe75]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x5aa469b3ebeb - test[2f1252070343a163]::__rust_begin_short_backtrace::<core[8f93d80df273fe75]::result::Result<(), alloc[40b2bae28975ac47]::string::String>, fn() -> core[8f93d80df273fe75]::result::Result<(), alloc[40b2bae28975ac47]::string::String>>
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/test/src/lib.rs:663:18
[INFO] [stdout]   26:     0x5aa469b4b44a - test[2f1252070343a163]::run_test_in_process::{closure#0}
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/test/src/lib.rs:686:74
[INFO] [stdout]   27:     0x5aa469b4b44a - <core[8f93d80df273fe75]::panic::unwind_safe::AssertUnwindSafe<test[2f1252070343a163]::run_test_in_process::{closure#0}> as core[8f93d80df273fe75]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   28:     0x5aa469b4b44a - std[840933623431fd06]::panicking::catch_unwind::do_call::<core[8f93d80df273fe75]::panic::unwind_safe::AssertUnwindSafe<test[2f1252070343a163]::run_test_in_process::{closure#0}>, core[8f93d80df273fe75]::result::Result<(), alloc[40b2bae28975ac47]::string::String>>
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/panicking.rs:581:40
[INFO] [stdout]   29:     0x5aa469b4b44a - std[840933623431fd06]::panicking::catch_unwind::<core[8f93d80df273fe75]::result::Result<(), alloc[40b2bae28975ac47]::string::String>, core[8f93d80df273fe75]::panic::unwind_safe::AssertUnwindSafe<test[2f1252070343a163]::run_test_in_process::{closure#0}>>
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/panicking.rs:544:19
[INFO] [stdout]   30:     0x5aa469b4b44a - std[840933623431fd06]::panic::catch_unwind::<core[8f93d80df273fe75]::panic::unwind_safe::AssertUnwindSafe<test[2f1252070343a163]::run_test_in_process::{closure#0}>, core[8f93d80df273fe75]::result::Result<(), alloc[40b2bae28975ac47]::string::String>>
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/panic.rs:359:14
[INFO] [stdout]   31:     0x5aa469b4b44a - test[2f1252070343a163]::run_test_in_process
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/test/src/lib.rs:686:27
[INFO] [stdout]   32:     0x5aa469b4b44a - test[2f1252070343a163]::run_test::{closure#0}
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/test/src/lib.rs:607:43
[INFO] [stdout]   33:     0x5aa469b45914 - test[2f1252070343a163]::run_test::{closure#1}
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/test/src/lib.rs:637:41
[INFO] [stdout]   34:     0x5aa469b45914 - std[840933623431fd06]::sys::backtrace::__rust_begin_short_backtrace::<test[2f1252070343a163]::run_test::{closure#1}, ()>
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/sys/backtrace.rs:166:18
[INFO] [stdout]   35:     0x5aa469b4df42 - std[840933623431fd06]::thread::lifecycle::spawn_unchecked::<test[2f1252070343a163]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/thread/lifecycle.rs:91:13
[INFO] [stdout]   36:     0x5aa469b4df42 - <core[8f93d80df273fe75]::panic::unwind_safe::AssertUnwindSafe<std[840933623431fd06]::thread::lifecycle::spawn_unchecked<test[2f1252070343a163]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}> as core[8f93d80df273fe75]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   37:     0x5aa469b4df42 - std[840933623431fd06]::panicking::catch_unwind::do_call::<core[8f93d80df273fe75]::panic::unwind_safe::AssertUnwindSafe<std[840933623431fd06]::thread::lifecycle::spawn_unchecked<test[2f1252070343a163]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/panicking.rs:581:40
[INFO] [stdout]   38:     0x5aa469b4df42 - std[840933623431fd06]::panicking::catch_unwind::<(), core[8f93d80df273fe75]::panic::unwind_safe::AssertUnwindSafe<std[840933623431fd06]::thread::lifecycle::spawn_unchecked<test[2f1252070343a163]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>>
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/panicking.rs:544:19
[INFO] [stdout]   39:     0x5aa469b4df42 - std[840933623431fd06]::panic::catch_unwind::<core[8f93d80df273fe75]::panic::unwind_safe::AssertUnwindSafe<std[840933623431fd06]::thread::lifecycle::spawn_unchecked<test[2f1252070343a163]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/panic.rs:359:14
[INFO] [stdout]   40:     0x5aa469b4df42 - std[840933623431fd06]::thread::lifecycle::spawn_unchecked::<test[2f1252070343a163]::run_test::{closure#1}, ()>::{closure#1}
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/thread/lifecycle.rs:89:26
[INFO] [stdout]   41:     0x5aa469b4df42 - <std[840933623431fd06]::thread::lifecycle::spawn_unchecked<test[2f1252070343a163]::run_test::{closure#1}, ()>::{closure#1} as core[8f93d80df273fe75]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   42:     0x5aa46a0880ff - <alloc[40b2bae28975ac47]::boxed::Box<dyn core[8f93d80df273fe75]::ops::function::FnOnce<(), Output = ()> + core[8f93d80df273fe75]::marker::Send> as core[8f93d80df273fe75]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/alloc/src/boxed.rs:2206:9
[INFO] [stdout]   43:     0x5aa46a0880ff - <std[840933623431fd06]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/sys/thread/unix.rs:119:17
[INFO] [stdout]   44:     0x7bfabd1f0aa4 - <unknown>
[INFO] [stdout]   45:     0x7bfabd27da64 - 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.07s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--bin dcm-tools`
[INFO] running `Command { std: "docker" "inspect" "8cd82662903146647741e9a900b8580e27520b3bef527f1946b0eedac9ffd9d3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8cd82662903146647741e9a900b8580e27520b3bef527f1946b0eedac9ffd9d3", kill_on_drop: false }`
[INFO] [stdout] 8cd82662903146647741e9a900b8580e27520b3bef527f1946b0eedac9ffd9d3
