[INFO] fetching crate ocipkg 0.4.0... [INFO] checking ocipkg-0.4.0 against try#7b3da9103634dffd4f4365cfd8642427c781d99f+rustflags=-Dinherent-method-on-receiver for 152214-denied-retry-0 [INFO] extracting crate ocipkg 0.4.0 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate ocipkg 0.4.0 [INFO] finished tweaking crates.io crate ocipkg 0.4.0 [INFO] tweaked toml for crates.io crate ocipkg 0.4.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ocipkg 0.4.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 ocipkg 0.4.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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 40cb7b02a1fb09fee58da206d3b2f8a14e20d1e1169be6d8fbf494a54a9de6e6 [INFO] running `Command { std: "docker" "start" "-a" "40cb7b02a1fb09fee58da206d3b2f8a14e20d1e1169be6d8fbf494a54a9de6e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "40cb7b02a1fb09fee58da206d3b2f8a14e20d1e1169be6d8fbf494a54a9de6e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40cb7b02a1fb09fee58da206d3b2f8a14e20d1e1169be6d8fbf494a54a9de6e6", kill_on_drop: false }` [INFO] [stdout] 40cb7b02a1fb09fee58da206d3b2f8a14e20d1e1169be6d8fbf494a54a9de6e6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 99bfc55ed450186d93dbd392ff3cdcf65361718832eec7153dfdbb1a1f7f1f43 [INFO] running `Command { std: "docker" "start" "-a" "99bfc55ed450186d93dbd392ff3cdcf65361718832eec7153dfdbb1a1f7f1f43", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling unicode-ident v1.0.22 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Checking stable_deref_trait v1.2.1 [INFO] [stderr] Checking cfg-if v1.0.4 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Checking litemap v0.8.1 [INFO] [stderr] Compiling find-msvc-tools v0.1.5 [INFO] [stderr] Checking writeable v0.6.2 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling cc v1.2.46 [INFO] [stderr] Compiling icu_properties_data v2.1.1 [INFO] [stderr] Checking memchr v2.7.6 [INFO] [stderr] Checking zeroize v1.8.2 [INFO] [stderr] Checking rustls-pki-types v1.13.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Checking bitflags v2.10.0 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Checking linux-raw-sys v0.11.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Checking aho-corasick v1.1.4 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking regex-syntax v0.8.8 [INFO] [stderr] Checking percent-encoding v2.3.2 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling rustls v0.23.35 [INFO] [stderr] Checking log v0.4.28 [INFO] [stderr] Checking crypto-common v0.1.7 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Checking form_urlencoded v1.2.2 [INFO] [stderr] Checking crc32fast v1.5.0 [INFO] [stderr] Checking webpki-roots v1.0.4 [INFO] [stderr] Checking winnow v0.7.13 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Checking const_format v0.2.35 [INFO] [stderr] Checking dirs-sys v0.5.0 [INFO] [stderr] Checking flate2 v1.1.5 [INFO] [stderr] Checking webpki-roots v0.26.11 [INFO] [stderr] Checking xattr v1.6.1 [INFO] [stderr] Checking regex-automata v0.4.13 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking toml_datetime v0.7.3 [INFO] [stderr] Checking serde_spanned v1.0.3 [INFO] [stderr] Checking filetime v0.2.26 [INFO] [stderr] Checking plain v0.2.3 [INFO] [stderr] Checking toml_writer v1.0.4 [INFO] [stderr] Checking strum v0.27.2 [INFO] [stderr] Checking iana-time-zone v0.1.64 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking tar v0.4.44 [INFO] [stderr] Checking chrono v0.4.42 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking directories v6.0.0 [INFO] [stderr] Checking toml_parser v1.0.4 [INFO] [stderr] Checking uuid v1.18.1 [INFO] [stderr] Checking maplit v1.0.2 [INFO] [stderr] Checking base16ct v0.3.0 [INFO] [stderr] Checking tempfile v3.23.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Checking toml v0.9.8 [INFO] [stderr] Checking regex v1.12.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling scroll_derive v0.13.1 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Compiling strum_macros v0.27.2 [INFO] [stderr] Checking yoke v0.8.1 [INFO] [stderr] Compiling getset v0.1.6 [INFO] [stderr] Checking zerotrie v0.2.3 [INFO] [stderr] Checking rustls-webpki v0.103.8 [INFO] [stderr] Checking zerovec v0.11.5 [INFO] [stderr] Checking scroll v0.13.0 [INFO] [stderr] Checking goblin v0.10.3 [INFO] [stderr] Checking tinystr v0.8.2 [INFO] [stderr] Checking potential_utf v0.1.4 [INFO] [stderr] Checking icu_collections v2.1.1 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Checking icu_locale_core v2.1.1 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling derive_builder_core v0.20.2 [INFO] [stderr] Checking icu_provider v2.1.1 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Checking icu_properties v2.1.1 [INFO] [stderr] Compiling derive_builder_macro v0.20.2 [INFO] [stderr] Checking derive_builder v0.20.2 [INFO] [stderr] Checking oci-spec v0.8.3 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking ureq v2.12.1 [INFO] [stderr] Checking ocipkg v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/image/artifact.rs:163:30 [INFO] [stdout] | [INFO] [stdout] 111 | impl Deref for Artifact { [INFO] [stdout] | ------------------------------------------ trait implemented here [INFO] [stdout] 112 | type Target = OciArtifact; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 163 | pub fn get_ocipkg_config(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/image/oci_artifact.rs:171:1 [INFO] [stdout] | [INFO] [stdout] 171 | impl Deref for OciArtifact { [INFO] [stdout] | --------------------------------------------- trait implemented here [INFO] [stdout] 172 | type Target = Base; [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/image/artifact.rs:172:18 [INFO] [stdout] | [INFO] [stdout] 111 | impl Deref for Artifact { [INFO] [stdout] | ------------------------------------------ trait implemented here [INFO] [stdout] 112 | type Target = OciArtifact; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 172 | pub fn files(&mut self) -> Result> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/image/oci_artifact.rs:171:1 [INFO] [stdout] | [INFO] [stdout] 171 | impl Deref for OciArtifact { [INFO] [stdout] | --------------------------------------------- trait implemented here [INFO] [stdout] 172 | type Target = Base; [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/image/artifact.rs:208:19 [INFO] [stdout] | [INFO] [stdout] 111 | impl Deref for Artifact { [INFO] [stdout] | ------------------------------------------ trait implemented here [INFO] [stdout] 112 | type Target = OciArtifact; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 208 | pub fn unpack(&mut self, overwrite: bool) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/image/oci_artifact.rs:171:1 [INFO] [stdout] | [INFO] [stdout] 171 | impl Deref for OciArtifact { [INFO] [stdout] | --------------------------------------------- trait implemented here [INFO] [stdout] 172 | type Target = Base; [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/image/oci_artifact.rs:211:26 [INFO] [stdout] | [INFO] [stdout] 171 | impl Deref for OciArtifact { [INFO] [stdout] | --------------------------------------------- trait implemented here [INFO] [stdout] 172 | type Target = Base; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 211 | pub fn artifact_type(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/image/oci_artifact.rs:219:23 [INFO] [stdout] | [INFO] [stdout] 171 | impl Deref for OciArtifact { [INFO] [stdout] | --------------------------------------------- trait implemented here [INFO] [stdout] 172 | type Target = Base; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 219 | pub fn get_config(&mut self) -> Result<(Descriptor, Vec)> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/image/oci_artifact.rs:229:23 [INFO] [stdout] | [INFO] [stdout] 171 | impl Deref for OciArtifact { [INFO] [stdout] | --------------------------------------------- trait implemented here [INFO] [stdout] 172 | type Target = Base; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 229 | pub fn get_layers(&mut self) -> Result)>> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/image/artifact.rs:163:30 [INFO] [stdout] | [INFO] [stdout] 111 | impl Deref for Artifact { [INFO] [stdout] | ------------------------------------------ trait implemented here [INFO] [stdout] 112 | type Target = OciArtifact; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 163 | pub fn get_ocipkg_config(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/image/oci_artifact.rs:171:1 [INFO] [stdout] | [INFO] [stdout] 171 | impl Deref for OciArtifact { [INFO] [stdout] | --------------------------------------------- trait implemented here [INFO] [stdout] 172 | type Target = Base; [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/image/artifact.rs:172:18 [INFO] [stdout] | [INFO] [stdout] 111 | impl Deref for Artifact { [INFO] [stdout] | ------------------------------------------ trait implemented here [INFO] [stdout] 112 | type Target = OciArtifact; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 172 | pub fn files(&mut self) -> Result> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/image/oci_artifact.rs:171:1 [INFO] [stdout] | [INFO] [stdout] 171 | impl Deref for OciArtifact { [INFO] [stdout] | --------------------------------------------- trait implemented here [INFO] [stdout] 172 | type Target = Base; [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/image/artifact.rs:208:19 [INFO] [stdout] | [INFO] [stdout] 111 | impl Deref for Artifact { [INFO] [stdout] | ------------------------------------------ trait implemented here [INFO] [stdout] 112 | type Target = OciArtifact; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 208 | pub fn unpack(&mut self, overwrite: bool) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/image/oci_artifact.rs:171:1 [INFO] [stdout] | [INFO] [stdout] 171 | impl Deref for OciArtifact { [INFO] [stdout] | --------------------------------------------- trait implemented here [INFO] [stdout] 172 | type Target = Base; [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/image/oci_artifact.rs:211:26 [INFO] [stdout] | [INFO] [stdout] 171 | impl Deref for OciArtifact { [INFO] [stdout] | --------------------------------------------- trait implemented here [INFO] [stdout] 172 | type Target = Base; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 211 | pub fn artifact_type(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/image/oci_artifact.rs:219:23 [INFO] [stdout] | [INFO] [stdout] 171 | impl Deref for OciArtifact { [INFO] [stdout] | --------------------------------------------- trait implemented here [INFO] [stdout] 172 | type Target = Base; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 219 | pub fn get_config(&mut self) -> Result<(Descriptor, Vec)> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/image/oci_artifact.rs:229:23 [INFO] [stdout] | [INFO] [stdout] 171 | impl Deref for OciArtifact { [INFO] [stdout] | --------------------------------------------- trait implemented here [INFO] [stdout] 172 | type Target = Base; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 229 | pub fn get_layers(&mut self) -> Result)>> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ocipkg` (lib) due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `ocipkg` (lib test) due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "99bfc55ed450186d93dbd392ff3cdcf65361718832eec7153dfdbb1a1f7f1f43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99bfc55ed450186d93dbd392ff3cdcf65361718832eec7153dfdbb1a1f7f1f43", kill_on_drop: false }` [INFO] [stdout] 99bfc55ed450186d93dbd392ff3cdcf65361718832eec7153dfdbb1a1f7f1f43