[INFO] fetching crate gc-arena 0.5.3... [INFO] checking gc-arena-0.5.3 against try#7b3da9103634dffd4f4365cfd8642427c781d99f+rustflags=-Dinherent-method-on-receiver for 152214-denied [INFO] extracting crate gc-arena 0.5.3 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate gc-arena 0.5.3 [INFO] finished tweaking crates.io crate gc-arena 0.5.3 [INFO] tweaked toml for crates.io crate gc-arena 0.5.3 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate gc-arena 0.5.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 gc-arena 0.5.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-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] 247e46c014d15a3a29bb2af54a1d35231f8318d12deb86cd97298ec9ea5bb9f1 [INFO] running `Command { std: "docker" "start" "-a" "247e46c014d15a3a29bb2af54a1d35231f8318d12deb86cd97298ec9ea5bb9f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "247e46c014d15a3a29bb2af54a1d35231f8318d12deb86cd97298ec9ea5bb9f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "247e46c014d15a3a29bb2af54a1d35231f8318d12deb86cd97298ec9ea5bb9f1", kill_on_drop: false }` [INFO] [stdout] 247e46c014d15a3a29bb2af54a1d35231f8318d12deb86cd97298ec9ea5bb9f1 [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] a53c4ab8efd0850a381d63c1dfc1560f68197d5670c9d955270ac26be27da9cf [INFO] running `Command { std: "docker" "start" "-a" "a53c4ab8efd0850a381d63c1dfc1560f68197d5670c9d955270ac26be27da9cf", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.82 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling serde v1.0.201 [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Checking winnow v0.6.8 [INFO] [stderr] Compiling trybuild v1.0.96 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking sptr v0.3.2 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Compiling syn v2.0.63 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking serde_spanned v0.6.5 [INFO] [stderr] Checking toml_datetime v0.6.5 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Checking toml_edit v0.22.12 [INFO] [stderr] Compiling serde_derive v1.0.201 [INFO] [stderr] Compiling gc-arena-derive v0.5.3 [INFO] [stderr] Checking gc-arena v0.5.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: this item cannot be used as its where bounds are not satisfied for the `Self` type [INFO] [stdout] --> src/collect_impl.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | fn needs_trace() -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | static_collect!(str); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `static_collect` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this item cannot be used as its where bounds are not satisfied for the `Self` type [INFO] [stdout] --> src/collect_impl.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | fn needs_trace() -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | static_collect!(core::ffi::CStr); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `static_collect` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this item cannot be used as its where bounds are not satisfied for the `Self` type [INFO] [stdout] --> src/collect_impl.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | fn needs_trace() -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | static_collect!(std::path::Path); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `static_collect` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this item cannot be used as its where bounds are not satisfied for the `Self` type [INFO] [stdout] --> src/collect_impl.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | fn needs_trace() -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | static_collect!(std::ffi::OsStr); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `static_collect` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this item cannot be used as its where bounds are not satisfied for the `Self` type [INFO] [stdout] --> src/collect_impl.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | fn needs_trace() -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sptr::Strict` [INFO] [stdout] --> src/types.rs:275:9 [INFO] [stdout] | [INFO] [stdout] 275 | use sptr::Strict as _; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/barrier.rs:84:19 [INFO] [stdout] | [INFO] [stdout] 23 | impl Deref for Write { [INFO] [stdout] | ---------------------------------- trait implemented here [INFO] [stdout] 24 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn unlock(&self) -> &T::Unlocked [INFO] [stdout] | ^^^^^ [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/gc.rs:131:19 [INFO] [stdout] | [INFO] [stdout] 65 | impl<'gc, T: ?Sized + 'gc> Deref for Gc<'gc, T> { [INFO] [stdout] | ----------------------------------------------- trait implemented here [INFO] [stdout] 66 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 131 | pub fn unlock(self, mc: &Mutation<'gc>) -> &'gc T::Unlocked { [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/gc.rs:144:19 [INFO] [stdout] | [INFO] [stdout] 65 | impl<'gc, T: ?Sized + 'gc> Deref for Gc<'gc, T> { [INFO] [stdout] | ----------------------------------------------- trait implemented here [INFO] [stdout] 66 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 144 | pub fn as_ref(self: Gc<'gc, T>) -> &'gc T { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `gc-arena` (lib) due to 3 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "a53c4ab8efd0850a381d63c1dfc1560f68197d5670c9d955270ac26be27da9cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a53c4ab8efd0850a381d63c1dfc1560f68197d5670c9d955270ac26be27da9cf", kill_on_drop: false }` [INFO] [stdout] a53c4ab8efd0850a381d63c1dfc1560f68197d5670c9d955270ac26be27da9cf