[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 [INFO] extracting crate glib 0.22.0-alpha.3 into /workspace/builds/worker-1-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-1-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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] b07f4d87ac9be26e6c932bbd84e16e4333690a2edfe3758eba1735ba5af86567 [INFO] running `Command { std: "docker" "start" "-a" "b07f4d87ac9be26e6c932bbd84e16e4333690a2edfe3758eba1735ba5af86567", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b07f4d87ac9be26e6c932bbd84e16e4333690a2edfe3758eba1735ba5af86567", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b07f4d87ac9be26e6c932bbd84e16e4333690a2edfe3758eba1735ba5af86567", kill_on_drop: false }` [INFO] [stdout] b07f4d87ac9be26e6c932bbd84e16e4333690a2edfe3758eba1735ba5af86567 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 38a0668bf6d7bb16fad4f28f5ba6f0f672186eef5040e8590f20c4e0145abd14 [INFO] running `Command { std: "docker" "start" "-a" "38a0668bf6d7bb16fad4f28f5ba6f0f672186eef5040e8590f20c4e0145abd14", kill_on_drop: false }` [INFO] [stderr] Compiling target-lexicon v0.13.3 [INFO] [stderr] Compiling winnow v0.7.14 [INFO] [stderr] Compiling serde_spanned v1.0.4 [INFO] [stderr] Compiling toml_datetime v0.7.5+spec-1.1.0 [INFO] [stderr] Compiling version-compare v0.2.1 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Checking serde_json v1.0.149 [INFO] [stderr] Compiling alloca v0.4.0 [INFO] [stderr] Checking clap_builder v4.5.56 [INFO] [stderr] Compiling trybuild2 v1.3.0 [INFO] [stderr] Checking criterion-plot v0.8.1 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking page_size v0.6.0 [INFO] [stderr] Checking gir-format-check v0.1.3 [INFO] [stderr] Compiling cfg-expr v0.20.6 [INFO] [stderr] Checking clap v4.5.56 [INFO] [stderr] Compiling toml_parser v1.0.6+spec-1.1.0 [INFO] [stderr] Compiling toml v0.9.11+spec-1.1.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] Compiling system-deps v7.0.7 [INFO] [stderr] Checking futures-util 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 zerocopy v0.8.37 [INFO] [stderr] Checking serde v1.0.228 [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" "38a0668bf6d7bb16fad4f28f5ba6f0f672186eef5040e8590f20c4e0145abd14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38a0668bf6d7bb16fad4f28f5ba6f0f672186eef5040e8590f20c4e0145abd14", kill_on_drop: false }` [INFO] [stdout] 38a0668bf6d7bb16fad4f28f5ba6f0f672186eef5040e8590f20c4e0145abd14