[INFO] fetching crate rcu-clean 0.1.8... [INFO] checking rcu-clean-0.1.8 against try#7b3da9103634dffd4f4365cfd8642427c781d99f+rustflags=-Dinherent-method-on-receiver for 152214-denied-retry-0 [INFO] extracting crate rcu-clean 0.1.8 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate rcu-clean 0.1.8 [INFO] finished tweaking crates.io crate rcu-clean 0.1.8 [INFO] tweaked toml for crates.io crate rcu-clean 0.1.8 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rcu-clean 0.1.8 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 54 packages to latest compatible versions [INFO] [stderr] Adding criterion v0.2.11 (available: v0.8.2) [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] 423b7e0dcb742de1aa5b7e10193acc3d16dbf62625e83fa4f37425475c6f1bcd [INFO] running `Command { std: "docker" "start" "-a" "423b7e0dcb742de1aa5b7e10193acc3d16dbf62625e83fa4f37425475c6f1bcd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "423b7e0dcb742de1aa5b7e10193acc3d16dbf62625e83fa4f37425475c6f1bcd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "423b7e0dcb742de1aa5b7e10193acc3d16dbf62625e83fa4f37425475c6f1bcd", kill_on_drop: false }` [INFO] [stdout] 423b7e0dcb742de1aa5b7e10193acc3d16dbf62625e83fa4f37425475c6f1bcd [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] f4f871bdaaae83c359b7f152279a2537f14a37c0c94521f198d40104af3a7846 [INFO] running `Command { std: "docker" "start" "-a" "f4f871bdaaae83c359b7f152279a2537f14a37c0c94521f198d40104af3a7846", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling quote v1.0.44 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking rcu-clean v0.1.8 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `serde` [INFO] [stdout] --> src/lib.rs:99:15 [INFO] [stdout] | [INFO] [stdout] 99 | #[cfg(serde)] [INFO] [stdout] | ^^^^^ help: found config with similar value: `feature = "serde"` [INFO] [stdout] ... [INFO] [stdout] 114 | impl_stuff!(BoxRcu); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(serde)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(serde)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_stuff` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `serde` [INFO] [stdout] --> src/lib.rs:105:15 [INFO] [stdout] | [INFO] [stdout] 105 | #[cfg(serde)] [INFO] [stdout] | ^^^^^ help: found config with similar value: `feature = "serde"` [INFO] [stdout] ... [INFO] [stdout] 114 | impl_stuff!(BoxRcu); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(serde)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(serde)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `impl_stuff` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `serde` [INFO] [stdout] --> src/lib.rs:99:15 [INFO] [stdout] | [INFO] [stdout] 99 | #[cfg(serde)] [INFO] [stdout] | ^^^^^ help: found config with similar value: `feature = "serde"` [INFO] [stdout] ... [INFO] [stdout] 115 | impl_stuff!(RcRcu); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(serde)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(serde)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `impl_stuff` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `serde` [INFO] [stdout] --> src/lib.rs:105:15 [INFO] [stdout] | [INFO] [stdout] 105 | #[cfg(serde)] [INFO] [stdout] | ^^^^^ help: found config with similar value: `feature = "serde"` [INFO] [stdout] ... [INFO] [stdout] 115 | impl_stuff!(RcRcu); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(serde)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(serde)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `impl_stuff` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `serde` [INFO] [stdout] --> src/lib.rs:99:15 [INFO] [stdout] | [INFO] [stdout] 99 | #[cfg(serde)] [INFO] [stdout] | ^^^^^ help: found config with similar value: `feature = "serde"` [INFO] [stdout] ... [INFO] [stdout] 116 | impl_stuff!(ArcRcu); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(serde)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(serde)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `impl_stuff` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `serde` [INFO] [stdout] --> src/lib.rs:105:15 [INFO] [stdout] | [INFO] [stdout] 105 | #[cfg(serde)] [INFO] [stdout] | ^^^^^ help: found config with similar value: `feature = "serde"` [INFO] [stdout] ... [INFO] [stdout] 116 | impl_stuff!(ArcRcu); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(serde)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(serde)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `impl_stuff` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/boxrcu.rs:59:19 [INFO] [stdout] | [INFO] [stdout] 31 | impl std::ops::Deref for BoxRcu { [INFO] [stdout] | ------------------------------------- trait implemented here [INFO] [stdout] 32 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn update(&'a self) -> Guard<'a, T> { [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/boxrcu.rs:74:18 [INFO] [stdout] | [INFO] [stdout] 31 | impl std::ops::Deref for BoxRcu { [INFO] [stdout] | ------------------------------------- trait implemented here [INFO] [stdout] 32 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn clean(&mut self) { [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/rcrcu.rs:87:19 [INFO] [stdout] | [INFO] [stdout] 44 | impl std::ops::Deref for RcRcu { [INFO] [stdout] | ------------------------------------ trait implemented here [INFO] [stdout] 45 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn update(&'a self) -> Guard<'a, T> { [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/rcrcu.rs:100:18 [INFO] [stdout] | [INFO] [stdout] 44 | impl std::ops::Deref for RcRcu { [INFO] [stdout] | ------------------------------------ trait implemented here [INFO] [stdout] 45 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn clean(&mut self) { [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/arcrcu.rs:92:19 [INFO] [stdout] | [INFO] [stdout] 49 | impl std::ops::Deref for ArcRcu { [INFO] [stdout] | ------------------------------------- trait implemented here [INFO] [stdout] 50 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn update(&'a self) -> Guard<'a, T> { [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/arcrcu.rs:104:18 [INFO] [stdout] | [INFO] [stdout] 49 | impl std::ops::Deref for ArcRcu { [INFO] [stdout] | ------------------------------------- trait implemented here [INFO] [stdout] 50 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn clean(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rcu-clean` (lib) due to 6 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "f4f871bdaaae83c359b7f152279a2537f14a37c0c94521f198d40104af3a7846", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4f871bdaaae83c359b7f152279a2537f14a37c0c94521f198d40104af3a7846", kill_on_drop: false }` [INFO] [stdout] f4f871bdaaae83c359b7f152279a2537f14a37c0c94521f198d40104af3a7846