[INFO] fetching crate dicom-object 0.9.0... [INFO] checking dicom-object-0.9.0 against try#7b3da9103634dffd4f4365cfd8642427c781d99f+rustflags=-Dinherent-method-on-receiver for 152214-denied [INFO] extracting crate dicom-object 0.9.0 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate dicom-object 0.9.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate dicom-object 0.9.0 [INFO] tweaked toml for crates.io crate dicom-object 0.9.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate dicom-object 0.9.0 on toolchain 7b3da9103634dffd4f4365cfd8642427c781d99f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate dicom-object 0.9.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e3b3e0b26202c74dc6459a38da627cb23156bb44f045158b5eb571143d6588a9 [INFO] running `Command { std: "docker" "start" "-a" "e3b3e0b26202c74dc6459a38da627cb23156bb44f045158b5eb571143d6588a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e3b3e0b26202c74dc6459a38da627cb23156bb44f045158b5eb571143d6588a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3b3e0b26202c74dc6459a38da627cb23156bb44f045158b5eb571143d6588a9", kill_on_drop: false }` [INFO] [stdout] e3b3e0b26202c74dc6459a38da627cb23156bb44f045158b5eb571143d6588a9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Dinherent-method-on-receiver" "-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 54c743534cfa4907dfa41f276a6787074e71135e0a1328c8cb21ae9d4916dd6d [INFO] running `Command { std: "docker" "start" "-a" "54c743534cfa4907dfa41f276a6787074e71135e0a1328c8cb21ae9d4916dd6d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Checking rustls-pki-types v1.12.0 [INFO] [stderr] Checking safe-transmute v0.11.3 [INFO] [stderr] Checking encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Checking encoding-index-japanese v1.20141219.5 [INFO] [stderr] Checking encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-korean v1.20141219.5 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking chrono v0.4.42 [INFO] [stderr] Checking byteordered v0.6.0 [INFO] [stderr] Compiling rustls v0.23.32 [INFO] [stderr] Checking http v1.3.1 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking rustix v1.1.2 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking webpki-roots v1.0.2 [INFO] [stderr] Checking rustls-pemfile v2.2.0 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking encoding v0.2.33 [INFO] [stderr] Checking ureq-proto v0.5.2 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling cc v1.2.40 [INFO] [stderr] Checking tempfile v3.23.0 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling zstd-sys v2.0.16+zstd.1.5.7 [INFO] [stderr] Compiling snafu-derive v0.8.9 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking snafu v0.8.9 [INFO] [stderr] Checking dicom-core v0.9.0 [INFO] [stderr] Checking rustls-webpki v0.103.7 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Checking dicom-dictionary-std v0.9.0 [INFO] [stderr] Checking zstd v0.13.3 [INFO] [stderr] Checking dicom-encoding v0.9.0 [INFO] [stderr] Checking dicom-transfer-syntax-registry v0.9.0 [INFO] [stderr] Checking dicom-parser v0.9.0 [INFO] [stderr] Checking ureq v3.1.2 [INFO] [stderr] Checking dicom-object v0.9.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking dicom-test-files v0.3.1 [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/lib.rs:917:17 [INFO] [stdout] | [INFO] [stdout] 917 | pub fn meta(&self) -> &FileMetaTable { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1079 | impl ::std::ops::Deref for FileDicomObject { [INFO] [stdout] | ------------------------------------------------ trait implemented here [INFO] [stdout] 1080 | type Target = O; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D inherent-method-on-receiver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/lib.rs:931:21 [INFO] [stdout] | [INFO] [stdout] 931 | pub fn meta_mut(&mut self) -> &mut FileMetaTable { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1079 | impl ::std::ops::Deref for FileDicomObject { [INFO] [stdout] | ------------------------------------------------ trait implemented here [INFO] [stdout] 1080 | type Target = O; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/lib.rs:940:24 [INFO] [stdout] | [INFO] [stdout] 940 | pub fn update_meta(&mut self, f: impl FnOnce(&mut FileMetaTable)) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1079 | impl ::std::ops::Deref for FileDicomObject { [INFO] [stdout] | ------------------------------------------------ trait implemented here [INFO] [stdout] 1080 | type Target = O; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/lib.rs:946:23 [INFO] [stdout] | [INFO] [stdout] 946 | pub fn into_inner(self) -> O { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 1079 | impl ::std::ops::Deref for FileDicomObject { [INFO] [stdout] | ------------------------------------------------ trait implemented here [INFO] [stdout] 1080 | type Target = O; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/lib.rs:959:42 [INFO] [stdout] | [INFO] [stdout] 959 | pub fn write_to_file>(&self, path: P) -> Result<(), WriteError> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1079 | impl ::std::ops::Deref for FileDicomObject { [INFO] [stdout] | ------------------------------------------------ trait implemented here [INFO] [stdout] 1080 | type Target = O; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/lib.rs:982:22 [INFO] [stdout] | [INFO] [stdout] 982 | pub fn write_all(&self, to: impl Write) -> Result<(), WriteError> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1079 | impl ::std::ops::Deref for FileDicomObject { [INFO] [stdout] | ------------------------------------------------ trait implemented here [INFO] [stdout] 1080 | type Target = O; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/lib.rs:1000:33 [INFO] [stdout] | [INFO] [stdout] 1000 | pub fn write_meta(&self, to: W) -> Result<(), WriteError> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1079 | impl ::std::ops::Deref for FileDicomObject { [INFO] [stdout] | ------------------------------------------------ trait implemented here [INFO] [stdout] 1080 | type Target = O; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/lib.rs:1008:36 [INFO] [stdout] | [INFO] [stdout] 1008 | pub fn write_dataset(&self, to: W) -> Result<(), WriteError> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1079 | impl ::std::ops::Deref for FileDicomObject { [INFO] [stdout] | ------------------------------------------------ trait implemented here [INFO] [stdout] 1080 | type Target = O; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `dicom-object` (lib) due to 8 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/lib.rs:917:17 [INFO] [stdout] | [INFO] [stdout] 917 | pub fn meta(&self) -> &FileMetaTable { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1079 | impl ::std::ops::Deref for FileDicomObject { [INFO] [stdout] | ------------------------------------------------ trait implemented here [INFO] [stdout] 1080 | type Target = O; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D inherent-method-on-receiver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/lib.rs:931:21 [INFO] [stdout] | [INFO] [stdout] 931 | pub fn meta_mut(&mut self) -> &mut FileMetaTable { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1079 | impl ::std::ops::Deref for FileDicomObject { [INFO] [stdout] | ------------------------------------------------ trait implemented here [INFO] [stdout] 1080 | type Target = O; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/lib.rs:940:24 [INFO] [stdout] | [INFO] [stdout] 940 | pub fn update_meta(&mut self, f: impl FnOnce(&mut FileMetaTable)) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1079 | impl ::std::ops::Deref for FileDicomObject { [INFO] [stdout] | ------------------------------------------------ trait implemented here [INFO] [stdout] 1080 | type Target = O; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/lib.rs:946:23 [INFO] [stdout] | [INFO] [stdout] 946 | pub fn into_inner(self) -> O { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 1079 | impl ::std::ops::Deref for FileDicomObject { [INFO] [stdout] | ------------------------------------------------ trait implemented here [INFO] [stdout] 1080 | type Target = O; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/lib.rs:959:42 [INFO] [stdout] | [INFO] [stdout] 959 | pub fn write_to_file>(&self, path: P) -> Result<(), WriteError> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1079 | impl ::std::ops::Deref for FileDicomObject { [INFO] [stdout] | ------------------------------------------------ trait implemented here [INFO] [stdout] 1080 | type Target = O; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/lib.rs:982:22 [INFO] [stdout] | [INFO] [stdout] 982 | pub fn write_all(&self, to: impl Write) -> Result<(), WriteError> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1079 | impl ::std::ops::Deref for FileDicomObject { [INFO] [stdout] | ------------------------------------------------ trait implemented here [INFO] [stdout] 1080 | type Target = O; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/lib.rs:1000:33 [INFO] [stdout] | [INFO] [stdout] 1000 | pub fn write_meta(&self, to: W) -> Result<(), WriteError> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1079 | impl ::std::ops::Deref for FileDicomObject { [INFO] [stdout] | ------------------------------------------------ trait implemented here [INFO] [stdout] 1080 | type Target = O; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/lib.rs:1008:36 [INFO] [stdout] | [INFO] [stdout] 1008 | pub fn write_dataset(&self, to: W) -> Result<(), WriteError> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1079 | impl ::std::ops::Deref for FileDicomObject { [INFO] [stdout] | ------------------------------------------------ trait implemented here [INFO] [stdout] 1080 | type Target = O; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `dicom-object` (lib test) due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "54c743534cfa4907dfa41f276a6787074e71135e0a1328c8cb21ae9d4916dd6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54c743534cfa4907dfa41f276a6787074e71135e0a1328c8cb21ae9d4916dd6d", kill_on_drop: false }` [INFO] [stdout] 54c743534cfa4907dfa41f276a6787074e71135e0a1328c8cb21ae9d4916dd6d