[INFO] fetching crate glib 0.22.0-alpha.3... [INFO] checking glib-0.22.0-alpha.3 against try#7b3da9103634dffd4f4365cfd8642427c781d99f+rustflags=-Dinherent-method-on-receiver for 152214-denied-retry-0 [INFO] extracting crate glib 0.22.0-alpha.3 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate glib 0.22.0-alpha.3 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate glib 0.22.0-alpha.3 [INFO] tweaked toml for crates.io crate glib 0.22.0-alpha.3 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate glib 0.22.0-alpha.3 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 glib 0.22.0-alpha.3 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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] f68d348da88445e291fd6be2a75705157a41869c2f204e202a4629cb601c2159 [INFO] running `Command { std: "docker" "start" "-a" "f68d348da88445e291fd6be2a75705157a41869c2f204e202a4629cb601c2159", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f68d348da88445e291fd6be2a75705157a41869c2f204e202a4629cb601c2159", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f68d348da88445e291fd6be2a75705157a41869c2f204e202a4629cb601c2159", kill_on_drop: false }` [INFO] [stdout] f68d348da88445e291fd6be2a75705157a41869c2f204e202a4629cb601c2159 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 2062866d673aa536778a8dd5227b3121d7a35ce7d893e028fc1f0c047e053f2c [INFO] running `Command { std: "docker" "start" "-a" "2062866d673aa536778a8dd5227b3121d7a35ce7d893e028fc1f0c047e053f2c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling unicode-ident v1.0.22 [INFO] [stderr] Compiling quote v1.0.44 [INFO] [stderr] Compiling target-lexicon v0.13.3 [INFO] [stderr] Compiling winnow v0.7.14 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling toml_datetime v0.7.5+spec-1.1.0 [INFO] [stderr] Compiling serde_spanned v1.0.4 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling version-compare v0.2.1 [INFO] [stderr] Compiling libc v0.2.180 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking cfg-if v1.0.4 [INFO] [stderr] Compiling zerocopy v0.8.37 [INFO] [stderr] Compiling zmij v1.0.19 [INFO] [stderr] Compiling cfg-expr v0.20.6 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Checking memchr v2.7.6 [INFO] [stderr] Compiling find-msvc-tools v0.1.9 [INFO] [stderr] Compiling cc v1.2.55 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking itoa v1.0.17 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking bitflags v2.10.0 [INFO] [stderr] Checking regex-syntax v0.8.8 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Checking clap_lex v0.7.7 [INFO] [stderr] Compiling rustix v1.1.3 [INFO] [stderr] Checking slab v0.4.12 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking anstyle v1.0.13 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Checking clap_builder v4.5.56 [INFO] [stderr] Compiling alloca v0.4.0 [INFO] [stderr] Compiling toml_parser v1.0.6+spec-1.1.0 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking regex-automata v0.4.13 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking linux-raw-sys v0.11.0 [INFO] [stderr] Compiling toml v0.9.11+spec-1.1.0 [INFO] [stderr] Compiling trybuild2 v1.3.0 [INFO] [stderr] Compiling system-deps v7.0.7 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Checking clap v4.5.56 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling glib-sys v0.22.0-alpha.3 [INFO] [stderr] Compiling gobject-sys v0.22.0-alpha.3 [INFO] [stderr] Compiling gio-sys v0.22.0-alpha.3 [INFO] [stderr] Checking regex v1.12.2 [INFO] [stderr] Checking criterion-plot v0.8.1 [INFO] [stderr] Checking page_size v0.6.0 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking glob v0.3.3 [INFO] [stderr] Checking oorandom v11.1.5 [INFO] [stderr] Checking gir-format-check v0.1.3 [INFO] [stderr] Checking tempfile v3.24.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zerocopy-derive v0.8.37 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling glib-macros v0.22.0-alpha.2 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking glib v0.22.0-alpha.3 (/opt/rustwide/workdir) [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking basic-toml v0.1.10 [INFO] [stderr] Checking half v2.7.1 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking criterion v0.8.1 [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/object.rs:4504:22 [INFO] [stdout] | [INFO] [stdout] 4504 | pub fn downgrade(&self) -> ::Weak [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 4512 | impl ops::Deref for BorrowedObject<'_, T> { [INFO] [stdout] | -------------------------------------------- trait implemented here [INFO] [stdout] 4513 | type Target = T; [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/translate.rs:295:30 [INFO] [stdout] | [INFO] [stdout] 295 | pub unsafe fn into_inner(self) -> T { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 307 | impl std::ops::Deref for Borrowed { [INFO] [stdout] | --------------------------------------- trait implemented here [INFO] [stdout] 308 | type Target = T; [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/variant.rs:1870:23 [INFO] [stdout] | [INFO] [stdout] 1870 | pub fn into_inner(self) -> A { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 1875 | impl, T: FixedSizeVariantType> std::ops::Deref for FixedSizeVariantArray { [INFO] [stdout] | -------------------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 1876 | type Target = A; [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/subclass/object_impl_ref.rs:35:22 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn downgrade(&self) -> ObjectImplWeakRef { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | impl std::ops::Deref for ObjectImplRef { [INFO] [stdout] | ------------------------------------------------------------ trait implemented here [INFO] [stdout] 54 | type Target = T; [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/thread_guard.rs:55:20 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn get_ref(&self) -> &T { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | impl std::ops::Deref for ThreadGuard { [INFO] [stdout] | ------------------------------------------ trait implemented here [INFO] [stdout] 127 | type Target = T; [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/thread_guard.rs:72:20 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn get_mut(&mut self) -> &mut T { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | impl std::ops::Deref for ThreadGuard { [INFO] [stdout] | ------------------------------------------ trait implemented here [INFO] [stdout] 127 | type Target = T; [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/thread_guard.rs:89:23 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn into_inner(self) -> T { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | impl std::ops::Deref for ThreadGuard { [INFO] [stdout] | ------------------------------------------ trait implemented here [INFO] [stdout] 127 | type Target = T; [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/thread_guard.rs:105:21 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn is_owner(&self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | impl std::ops::Deref for ThreadGuard { [INFO] [stdout] | ------------------------------------------ trait implemented here [INFO] [stdout] 127 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `glib` (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/object.rs:4504:22 [INFO] [stdout] | [INFO] [stdout] 4504 | pub fn downgrade(&self) -> ::Weak [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 4512 | impl ops::Deref for BorrowedObject<'_, T> { [INFO] [stdout] | -------------------------------------------- trait implemented here [INFO] [stdout] 4513 | type Target = T; [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/translate.rs:295:30 [INFO] [stdout] | [INFO] [stdout] 295 | pub unsafe fn into_inner(self) -> T { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 307 | impl std::ops::Deref for Borrowed { [INFO] [stdout] | --------------------------------------- trait implemented here [INFO] [stdout] 308 | type Target = T; [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/variant.rs:1870:23 [INFO] [stdout] | [INFO] [stdout] 1870 | pub fn into_inner(self) -> A { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 1875 | impl, T: FixedSizeVariantType> std::ops::Deref for FixedSizeVariantArray { [INFO] [stdout] | -------------------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 1876 | type Target = A; [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/subclass/object_impl_ref.rs:35:22 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn downgrade(&self) -> ObjectImplWeakRef { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | impl std::ops::Deref for ObjectImplRef { [INFO] [stdout] | ------------------------------------------------------------ trait implemented here [INFO] [stdout] 54 | type Target = T; [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/thread_guard.rs:55:20 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn get_ref(&self) -> &T { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | impl std::ops::Deref for ThreadGuard { [INFO] [stdout] | ------------------------------------------ trait implemented here [INFO] [stdout] 127 | type Target = T; [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/thread_guard.rs:72:20 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn get_mut(&mut self) -> &mut T { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | impl std::ops::Deref for ThreadGuard { [INFO] [stdout] | ------------------------------------------ trait implemented here [INFO] [stdout] 127 | type Target = T; [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/thread_guard.rs:89:23 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn into_inner(self) -> T { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | impl std::ops::Deref for ThreadGuard { [INFO] [stdout] | ------------------------------------------ trait implemented here [INFO] [stdout] 127 | type Target = T; [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/thread_guard.rs:105:21 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn is_owner(&self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | impl std::ops::Deref for ThreadGuard { [INFO] [stdout] | ------------------------------------------ trait implemented here [INFO] [stdout] 127 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `glib` (lib test) due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "2062866d673aa536778a8dd5227b3121d7a35ce7d893e028fc1f0c047e053f2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2062866d673aa536778a8dd5227b3121d7a35ce7d893e028fc1f0c047e053f2c", kill_on_drop: false }` [INFO] [stdout] 2062866d673aa536778a8dd5227b3121d7a35ce7d893e028fc1f0c047e053f2c