[INFO] fetching crate git-odb 0.41.0... [INFO] checking git-odb-0.41.0 against try#7b3da9103634dffd4f4365cfd8642427c781d99f+rustflags=-Dinherent-method-on-receiver for 152214-denied [INFO] extracting crate git-odb 0.41.0 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate git-odb 0.41.0 [INFO] removed 2 missing tests [INFO] finished tweaking crates.io crate git-odb 0.41.0 [INFO] tweaked toml for crates.io crate git-odb 0.41.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate git-odb 0.41.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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 98 packages to latest compatible versions [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.18) [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] 5c16862324a858db3708a447e4d415c9c1dbbe3efe75bc2688697bf6703a5f3a [INFO] running `Command { std: "docker" "start" "-a" "5c16862324a858db3708a447e4d415c9c1dbbe3efe75bc2688697bf6703a5f3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5c16862324a858db3708a447e4d415c9c1dbbe3efe75bc2688697bf6703a5f3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c16862324a858db3708a447e4d415c9c1dbbe3efe75bc2688697bf6703a5f3a", kill_on_drop: false }` [INFO] [stdout] 5c16862324a858db3708a447e4d415c9c1dbbe3efe75bc2688697bf6703a5f3a [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] 75cacba6cdafc4f2c9ef6e1591d21cb5a080d0ffd14ddf0bee4ca00db4018166 [INFO] running `Command { std: "docker" "start" "-a" "75cacba6cdafc4f2c9ef6e1591d21cb5a080d0ffd14ddf0bee4ca00db4018166", kill_on_drop: false }` [INFO] [stderr] Checking regex-automata v0.4.14 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling time-macros v0.2.27 [INFO] [stderr] Checking bytesize v1.3.3 [INFO] [stderr] Checking human_format v1.2.1 [INFO] [stderr] Checking flate2 v1.1.9 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking btoi v0.4.3 [INFO] [stderr] Checking hashbrown v0.15.5 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking signal-hook v0.3.18 [INFO] [stderr] Checking memmap2 v0.5.10 [INFO] [stderr] Checking arc-swap v1.8.1 [INFO] [stderr] Checking maplit v1.0.2 [INFO] [stderr] Checking prodash v23.1.2 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking imara-diff v0.1.8 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking bstr v1.12.1 [INFO] [stderr] Checking time v0.3.47 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking git-tempfile v3.0.3 [INFO] [stderr] Checking git-hash v0.10.3 [INFO] [stderr] Checking git-chunk v0.4.2 [INFO] [stderr] Checking git-features v0.26.5 [INFO] [stderr] Checking git-hashtable v0.1.2 [INFO] [stderr] Checking git-validate v0.7.3 [INFO] [stderr] Checking git-path v0.7.2 [INFO] [stderr] Checking git-quote v0.4.2 [INFO] [stderr] Checking git-date v0.4.3 [INFO] [stderr] Checking git-actor v0.17.2 [INFO] [stderr] Checking git-object v0.26.2 [INFO] [stderr] Checking git-traverse v0.22.2 [INFO] [stderr] Checking git-diff v0.26.2 [INFO] [stderr] Checking git-pack v0.31.0 [INFO] [stderr] Checking git-odb v0.41.0 (/opt/rustwide/workdir) [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/cache.rs:43:23 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn into_inner(self) -> S { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | impl Deref for Cache { [INFO] [stdout] | -------------------------- trait implemented here [INFO] [stdout] 122 | type Target = S; [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/cache.rs:50:28 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn with_pack_cache(mut self, create: impl Fn() -> Box + Send + Sync + 'static) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | impl Deref for Cache { [INFO] [stdout] | -------------------------- trait implemented here [INFO] [stdout] 122 | type Target = S; [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/cache.rs:59:30 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn with_object_cache(mut self, create: impl Fn() -> Box + Send + Sync + 'static) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | impl Deref for Cache { [INFO] [stdout] | -------------------------- trait implemented here [INFO] [stdout] 122 | type Target = S; [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/cache.rs:65:27 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn set_pack_cache(&mut self, create: impl Fn() -> Box + Send + Sync + 'static) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | impl Deref for Cache { [INFO] [stdout] | -------------------------- trait implemented here [INFO] [stdout] 122 | type Target = S; [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/cache.rs:70:29 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn set_object_cache(&mut self, create: impl Fn() -> Box + Send + Sync + 'static) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | impl Deref for Cache { [INFO] [stdout] | -------------------------- trait implemented here [INFO] [stdout] 122 | type Target = S; [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/cache.rs:75:29 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn has_object_cache(&self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | impl Deref for Cache { [INFO] [stdout] | -------------------------- trait implemented here [INFO] [stdout] 122 | type Target = S; [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/cache.rs:79:27 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn has_pack_cache(&self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | impl Deref for Cache { [INFO] [stdout] | -------------------------- trait implemented here [INFO] [stdout] 122 | type Target = S; [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/cache.rs:83:29 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn unset_pack_cache(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | impl Deref for Cache { [INFO] [stdout] | -------------------------- trait implemented here [INFO] [stdout] 122 | type Target = S; [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/cache.rs:88:31 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn unset_object_cache(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | impl Deref for Cache { [INFO] [stdout] | -------------------------- trait implemented here [INFO] [stdout] 122 | type Target = S; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `git-odb` (lib) due to 9 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/cache.rs:43:23 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn into_inner(self) -> S { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | impl Deref for Cache { [INFO] [stdout] | -------------------------- trait implemented here [INFO] [stdout] 122 | type Target = S; [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/cache.rs:50:28 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn with_pack_cache(mut self, create: impl Fn() -> Box + Send + Sync + 'static) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | impl Deref for Cache { [INFO] [stdout] | -------------------------- trait implemented here [INFO] [stdout] 122 | type Target = S; [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/cache.rs:59:30 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn with_object_cache(mut self, create: impl Fn() -> Box + Send + Sync + 'static) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | impl Deref for Cache { [INFO] [stdout] | -------------------------- trait implemented here [INFO] [stdout] 122 | type Target = S; [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/cache.rs:65:27 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn set_pack_cache(&mut self, create: impl Fn() -> Box + Send + Sync + 'static) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | impl Deref for Cache { [INFO] [stdout] | -------------------------- trait implemented here [INFO] [stdout] 122 | type Target = S; [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/cache.rs:70:29 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn set_object_cache(&mut self, create: impl Fn() -> Box + Send + Sync + 'static) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | impl Deref for Cache { [INFO] [stdout] | -------------------------- trait implemented here [INFO] [stdout] 122 | type Target = S; [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/cache.rs:75:29 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn has_object_cache(&self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | impl Deref for Cache { [INFO] [stdout] | -------------------------- trait implemented here [INFO] [stdout] 122 | type Target = S; [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/cache.rs:79:27 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn has_pack_cache(&self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | impl Deref for Cache { [INFO] [stdout] | -------------------------- trait implemented here [INFO] [stdout] 122 | type Target = S; [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/cache.rs:83:29 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn unset_pack_cache(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | impl Deref for Cache { [INFO] [stdout] | -------------------------- trait implemented here [INFO] [stdout] 122 | type Target = S; [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/cache.rs:88:31 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn unset_object_cache(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | impl Deref for Cache { [INFO] [stdout] | -------------------------- trait implemented here [INFO] [stdout] 122 | type Target = S; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `git-odb` (lib test) due to 9 previous errors [INFO] running `Command { std: "docker" "inspect" "75cacba6cdafc4f2c9ef6e1591d21cb5a080d0ffd14ddf0bee4ca00db4018166", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75cacba6cdafc4f2c9ef6e1591d21cb5a080d0ffd14ddf0bee4ca00db4018166", kill_on_drop: false }` [INFO] [stdout] 75cacba6cdafc4f2c9ef6e1591d21cb5a080d0ffd14ddf0bee4ca00db4018166