[INFO] fetching crate blackbox_core 0.1.1... [INFO] checking blackbox_core-0.1.1 against try#7b3da9103634dffd4f4365cfd8642427c781d99f+rustflags=-Dinherent-method-on-receiver for 152214-denied [INFO] extracting crate blackbox_core 0.1.1 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate blackbox_core 0.1.1 [INFO] finished tweaking crates.io crate blackbox_core 0.1.1 [INFO] tweaked toml for crates.io crate blackbox_core 0.1.1 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate blackbox_core 0.1.1 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 69 packages to latest compatible versions [INFO] [stderr] Adding colored v2.2.0 (available: v3.1.1) [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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 8258594c8275218b4c3af6b222d009d1e5d13c3f6e24a2232a945f77f3df5fd1 [INFO] running `Command { std: "docker" "start" "-a" "8258594c8275218b4c3af6b222d009d1e5d13c3f6e24a2232a945f77f3df5fd1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8258594c8275218b4c3af6b222d009d1e5d13c3f6e24a2232a945f77f3df5fd1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8258594c8275218b4c3af6b222d009d1e5d13c3f6e24a2232a945f77f3df5fd1", kill_on_drop: false }` [INFO] [stdout] 8258594c8275218b4c3af6b222d009d1e5d13c3f6e24a2232a945f77f3df5fd1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 785bca334b6973246f2200365a816250454b7c2f4e0f5efe47c043b56beb91fc [INFO] running `Command { std: "docker" "start" "-a" "785bca334b6973246f2200365a816250454b7c2f4e0f5efe47c043b56beb91fc", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking colored v2.2.0 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling linkme-impl v0.3.35 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Checking uuid v1.20.0 [INFO] [stderr] Compiling rand_core v0.9.5 [INFO] [stderr] Checking tokio v1.49.0 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Checking linkme v0.3.35 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling blackbox_cast_codegen v0.1.1 [INFO] [stderr] Compiling blackbox_core_codegen v0.1.1 [INFO] [stderr] Checking blackbox_cast v0.1.1 [INFO] [stderr] Checking blackbox_core v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lazy.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Lazy(Arc); [INFO] [stdout] | ---- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lazy.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Lazy(Arc); [INFO] [stdout] | ---- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `#[warn(dead_code)]` (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/reference.rs:30:19 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn as_ref(&self) -> Arc { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | impl Deref for Ref { [INFO] [stdout] | ------------------------------------------- trait implemented here [INFO] [stdout] 63 | type Target = Arc; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] | [INFO] [stdout] --> /rustc/7b3da9103634dffd4f4365cfd8642427c781d99f/library/alloc/src/sync.rs:2417:0 [INFO] [stdout] | [INFO] [stdout] = note: trait implemented here [INFO] [stdout] ::: /rustc/7b3da9103634dffd4f4365cfd8642427c781d99f/library/alloc/src/sync.rs:2418:4 [INFO] [stdout] | [INFO] [stdout] = note: 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/reference.rs:44:41 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn __init(&self, value: Ref) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | impl Deref for Ref { [INFO] [stdout] | ------------------------------------------- trait implemented here [INFO] [stdout] 63 | type Target = Arc; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] | [INFO] [stdout] --> /rustc/7b3da9103634dffd4f4365cfd8642427c781d99f/library/alloc/src/sync.rs:2417:0 [INFO] [stdout] | [INFO] [stdout] = note: trait implemented here [INFO] [stdout] ::: /rustc/7b3da9103634dffd4f4365cfd8642427c781d99f/library/alloc/src/sync.rs:2418:4 [INFO] [stdout] | [INFO] [stdout] = note: 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/reference.rs:48:39 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn cast(&self) -> Result, Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | impl Deref for Ref { [INFO] [stdout] | ------------------------------------------- trait implemented here [INFO] [stdout] 63 | type Target = Arc; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] | [INFO] [stdout] --> /rustc/7b3da9103634dffd4f4365cfd8642427c781d99f/library/alloc/src/sync.rs:2417:0 [INFO] [stdout] | [INFO] [stdout] = note: trait implemented here [INFO] [stdout] ::: /rustc/7b3da9103634dffd4f4365cfd8642427c781d99f/library/alloc/src/sync.rs:2418:4 [INFO] [stdout] | [INFO] [stdout] = note: 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/reference.rs:57:46 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn is(&self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | impl Deref for Ref { [INFO] [stdout] | ------------------------------------------- trait implemented here [INFO] [stdout] 63 | type Target = Arc; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] | [INFO] [stdout] --> /rustc/7b3da9103634dffd4f4365cfd8642427c781d99f/library/alloc/src/sync.rs:2417:0 [INFO] [stdout] | [INFO] [stdout] = note: trait implemented here [INFO] [stdout] ::: /rustc/7b3da9103634dffd4f4365cfd8642427c781d99f/library/alloc/src/sync.rs:2418:4 [INFO] [stdout] | [INFO] [stdout] = note: with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/reference_mut.rs:22:19 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn as_ref(&self) -> RefMutRef { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 22 | pub fn as_ref(&self) -> RefMutRef<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/reference_mut.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn as_mut(&self) -> RefMutRefMut { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 26 | pub fn as_mut(&self) -> RefMutRefMut<'_, 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/reference.rs:30:19 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn as_ref(&self) -> Arc { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | impl Deref for Ref { [INFO] [stdout] | ------------------------------------------- trait implemented here [INFO] [stdout] 63 | type Target = Arc; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] | [INFO] [stdout] --> /rustc/7b3da9103634dffd4f4365cfd8642427c781d99f/library/alloc/src/sync.rs:2417:0 [INFO] [stdout] | [INFO] [stdout] = note: trait implemented here [INFO] [stdout] ::: /rustc/7b3da9103634dffd4f4365cfd8642427c781d99f/library/alloc/src/sync.rs:2418:4 [INFO] [stdout] | [INFO] [stdout] = note: 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/reference.rs:44:41 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn __init(&self, value: Ref) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | impl Deref for Ref { [INFO] [stdout] | ------------------------------------------- trait implemented here [INFO] [stdout] 63 | type Target = Arc; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] | [INFO] [stdout] --> /rustc/7b3da9103634dffd4f4365cfd8642427c781d99f/library/alloc/src/sync.rs:2417:0 [INFO] [stdout] | [INFO] [stdout] = note: trait implemented here [INFO] [stdout] ::: /rustc/7b3da9103634dffd4f4365cfd8642427c781d99f/library/alloc/src/sync.rs:2418:4 [INFO] [stdout] | [INFO] [stdout] = note: 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/reference.rs:48:39 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn cast(&self) -> Result, Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | impl Deref for Ref { [INFO] [stdout] | ------------------------------------------- trait implemented here [INFO] [stdout] 63 | type Target = Arc; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] | [INFO] [stdout] --> /rustc/7b3da9103634dffd4f4365cfd8642427c781d99f/library/alloc/src/sync.rs:2417:0 [INFO] [stdout] | [INFO] [stdout] = note: trait implemented here [INFO] [stdout] ::: /rustc/7b3da9103634dffd4f4365cfd8642427c781d99f/library/alloc/src/sync.rs:2418:4 [INFO] [stdout] | [INFO] [stdout] = note: 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/reference.rs:57:46 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn is(&self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | impl Deref for Ref { [INFO] [stdout] | ------------------------------------------- trait implemented here [INFO] [stdout] 63 | type Target = Arc; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] | [INFO] [stdout] --> /rustc/7b3da9103634dffd4f4365cfd8642427c781d99f/library/alloc/src/sync.rs:2417:0 [INFO] [stdout] | [INFO] [stdout] = note: trait implemented here [INFO] [stdout] ::: /rustc/7b3da9103634dffd4f4365cfd8642427c781d99f/library/alloc/src/sync.rs:2418:4 [INFO] [stdout] | [INFO] [stdout] = note: with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/reference_mut.rs:22:19 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn as_ref(&self) -> RefMutRef { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 22 | pub fn as_ref(&self) -> RefMutRef<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/reference_mut.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn as_mut(&self) -> RefMutRefMut { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 26 | pub fn as_mut(&self) -> RefMutRefMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `blackbox_core` (lib) due to 4 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `blackbox_core` (lib test) due to 4 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "785bca334b6973246f2200365a816250454b7c2f4e0f5efe47c043b56beb91fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "785bca334b6973246f2200365a816250454b7c2f4e0f5efe47c043b56beb91fc", kill_on_drop: false }` [INFO] [stdout] 785bca334b6973246f2200365a816250454b7c2f4e0f5efe47c043b56beb91fc