[INFO] fetching crate basin2-lib 152.1.0... [INFO] checking basin2-lib-152.1.0 against try#7b3da9103634dffd4f4365cfd8642427c781d99f+rustflags=-Dinherent-method-on-receiver for 152214-denied [INFO] extracting crate basin2-lib 152.1.0 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate basin2-lib 152.1.0 [INFO] finished tweaking crates.io crate basin2-lib 152.1.0 [INFO] tweaked toml for crates.io crate basin2-lib 152.1.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate basin2-lib 152.1.0 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] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 45 packages to latest compatible versions [INFO] [stderr] Adding bytes v0.5.6 (available: v1.11.1) [INFO] [stderr] Adding env_logger v0.6.2 (available: v0.11.8) [INFO] [stderr] Adding uuid v0.5.1 (available: v1.20.0) [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] 9839ad1c8f2449bb62a2339330b2d492b56c430edb517f07cd388a7d041e1d98 [INFO] running `Command { std: "docker" "start" "-a" "9839ad1c8f2449bb62a2339330b2d492b56c430edb517f07cd388a7d041e1d98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9839ad1c8f2449bb62a2339330b2d492b56c430edb517f07cd388a7d041e1d98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9839ad1c8f2449bb62a2339330b2d492b56c430edb517f07cd388a7d041e1d98", kill_on_drop: false }` [INFO] [stdout] 9839ad1c8f2449bb62a2339330b2d492b56c430edb517f07cd388a7d041e1d98 [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] 831edfadac41231e528d4eb92f1df582082495ce32359b1ad18a18a1facb2a61 [INFO] running `Command { std: "docker" "start" "-a" "831edfadac41231e528d4eb92f1df582082495ce32359b1ad18a18a1facb2a61", kill_on_drop: false }` [INFO] [stderr] Checking memchr v2.8.0 [INFO] [stderr] Compiling zmij v1.0.20 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Checking log v0.4.29 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking aho-corasick v1.1.4 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking enum_primitive v0.1.1 [INFO] [stderr] Checking regex-automata v0.4.14 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Checking regex v1.12.3 [INFO] [stderr] Checking env_logger v0.6.2 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking uuid v0.5.1 [INFO] [stderr] Checking basin2-lib v152.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicPtr::::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/ilib/atomic_set.rs:71:22 [INFO] [stdout] | [INFO] [stdout] 71 | if self.item.compare_and_swap(null_ptr, boxed_item, Ordering::Relaxed) != null_ptr { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicPtr::::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/ilib/atomic_set.rs:81:22 [INFO] [stdout] | [INFO] [stdout] 81 | if self.item.compare_and_swap(null_ptr, boxed_item, Ordering::Relaxed) != null_ptr { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicPtr::::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/ilib/atomic_set.rs:71:22 [INFO] [stdout] | [INFO] [stdout] 71 | if self.item.compare_and_swap(null_ptr, boxed_item, Ordering::Relaxed) != null_ptr { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicPtr::::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/ilib/atomic_set.rs:81:22 [INFO] [stdout] | [INFO] [stdout] 81 | if self.item.compare_and_swap(null_ptr, boxed_item, Ordering::Relaxed) != null_ptr { [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/ilib/atomic_set.rs:68:20 [INFO] [stdout] | [INFO] [stdout] 18 | impl Deref for AtomicSet { [INFO] [stdout] | --------------------------------------------------- trait implemented here [INFO] [stdout] 19 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn try_set(&self, item: T) -> bool { [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/ilib/atomic_set.rs:78:16 [INFO] [stdout] | [INFO] [stdout] 18 | impl Deref for AtomicSet { [INFO] [stdout] | --------------------------------------------------- trait implemented here [INFO] [stdout] 19 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn set(&self, item: 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/ilib/atomic_set.rs:87:16 [INFO] [stdout] | [INFO] [stdout] 18 | impl Deref for AtomicSet { [INFO] [stdout] | --------------------------------------------------- trait implemented here [INFO] [stdout] 19 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn get(&self) -> &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/ilib/atomic_set.rs:95:19 [INFO] [stdout] | [INFO] [stdout] 18 | impl Deref for AtomicSet { [INFO] [stdout] | --------------------------------------------------- trait implemented here [INFO] [stdout] 19 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn is_set(&self) -> bool { [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/ilib/atomic_ref.rs:81:16 [INFO] [stdout] | [INFO] [stdout] 61 | impl Deref for AtomicRef { [INFO] [stdout] | -------------------------------------------------------------- trait implemented here [INFO] [stdout] 62 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn set(&self, item: Arc) { [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/ilib/atomic_ref.rs:89:16 [INFO] [stdout] | [INFO] [stdout] 61 | impl Deref for AtomicRef { [INFO] [stdout] | -------------------------------------------------------------- trait implemented here [INFO] [stdout] 62 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn get(&self) -> Arc { [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/ilib/atomic_set.rs:68:20 [INFO] [stdout] | [INFO] [stdout] 18 | impl Deref for AtomicSet { [INFO] [stdout] | --------------------------------------------------- trait implemented here [INFO] [stdout] 19 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn try_set(&self, item: T) -> bool { [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/ilib/atomic_set.rs:78:16 [INFO] [stdout] | [INFO] [stdout] 18 | impl Deref for AtomicSet { [INFO] [stdout] | --------------------------------------------------- trait implemented here [INFO] [stdout] 19 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn set(&self, item: T) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `basin2-lib` (lib) due to 7 previous errors; 3 warnings emitted [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/ilib/atomic_set.rs:87:16 [INFO] [stdout] | [INFO] [stdout] 18 | impl Deref for AtomicSet { [INFO] [stdout] | --------------------------------------------------- trait implemented here [INFO] [stdout] 19 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn get(&self) -> &T { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [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/ilib/atomic_set.rs:95:19 [INFO] [stdout] | [INFO] [stdout] 18 | impl Deref for AtomicSet { [INFO] [stdout] | --------------------------------------------------- trait implemented here [INFO] [stdout] 19 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn is_set(&self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `basin2-lib` (lib test) due to 7 previous errors; 3 warnings emitted [INFO] [stdout] warning: unused return value of `Box::::into_raw` that must be used [INFO] [stdout] --> src/ilib/atomic_ref.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | Box::into_raw(original_arc); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: losing the pointer will leak memory [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 96 | let _ = Box::into_raw(original_arc); [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/ilib/atomic_ref.rs:100:19 [INFO] [stdout] | [INFO] [stdout] 61 | impl Deref for AtomicRef { [INFO] [stdout] | -------------------------------------------------------------- trait implemented here [INFO] [stdout] 62 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn is_set(&self) -> bool { [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/ilib/atomic_ref.rs:81:16 [INFO] [stdout] | [INFO] [stdout] 61 | impl Deref for AtomicRef { [INFO] [stdout] | -------------------------------------------------------------- trait implemented here [INFO] [stdout] 62 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn set(&self, item: Arc) { [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/ilib/atomic_ref.rs:89:16 [INFO] [stdout] | [INFO] [stdout] 61 | impl Deref for AtomicRef { [INFO] [stdout] | -------------------------------------------------------------- trait implemented here [INFO] [stdout] 62 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn get(&self) -> Arc { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::into_raw` that must be used [INFO] [stdout] --> src/ilib/atomic_ref.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | Box::into_raw(original_arc); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: losing the pointer will leak memory [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 96 | let _ = Box::into_raw(original_arc); [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/ilib/atomic_ref.rs:100:19 [INFO] [stdout] | [INFO] [stdout] 61 | impl Deref for AtomicRef { [INFO] [stdout] | -------------------------------------------------------------- trait implemented here [INFO] [stdout] 62 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn is_set(&self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "831edfadac41231e528d4eb92f1df582082495ce32359b1ad18a18a1facb2a61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "831edfadac41231e528d4eb92f1df582082495ce32359b1ad18a18a1facb2a61", kill_on_drop: false }` [INFO] [stdout] 831edfadac41231e528d4eb92f1df582082495ce32359b1ad18a18a1facb2a61