[INFO] fetching crate ankurah-core 0.7.21... [INFO] checking ankurah-core-0.7.21 against try#7b3da9103634dffd4f4365cfd8642427c781d99f+rustflags=-Dinherent-method-on-receiver for 152214-denied [INFO] extracting crate ankurah-core 0.7.21 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate ankurah-core 0.7.21 [INFO] finished tweaking crates.io crate ankurah-core 0.7.21 [INFO] tweaked toml for crates.io crate ankurah-core 0.7.21 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ankurah-core 0.7.21 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 ankurah-core 0.7.21 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] 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] f6f999f2a6b2a7de0c97aef3f2c9141ba85dc36a88ab041c388cfa21628ab31c [INFO] running `Command { std: "docker" "start" "-a" "f6f999f2a6b2a7de0c97aef3f2c9141ba85dc36a88ab041c388cfa21628ab31c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f6f999f2a6b2a7de0c97aef3f2c9141ba85dc36a88ab041c388cfa21628ab31c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6f999f2a6b2a7de0c97aef3f2c9141ba85dc36a88ab041c388cfa21628ab31c", kill_on_drop: false }` [INFO] [stdout] f6f999f2a6b2a7de0c97aef3f2c9141ba85dc36a88ab041c388cfa21628ab31c [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] 2bf75dcb56db623ae853201aea868efac6905b2ac4c648feef2155dd1e681362 [INFO] running `Command { std: "docker" "start" "-a" "2bf75dcb56db623ae853201aea868efac6905b2ac4c648feef2155dd1e681362", kill_on_drop: false }` [INFO] [stderr] Compiling zerocopy v0.8.31 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling libc v0.2.178 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling syn v2.0.111 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking getrandom v0.3.4 [INFO] [stderr] Checking event-listener v5.4.1 [INFO] [stderr] Compiling slotmap v1.1.1 [INFO] [stderr] Compiling reactive_graph v0.2.11 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking hashbrown v0.16.1 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking log v0.4.29 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking lock_api v0.4.14 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking event-listener-strategy v0.5.4 [INFO] [stderr] Checking send_wrapper v0.6.0 [INFO] [stderr] Checking rustc-hash v2.1.1 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Checking async-lock v3.4.1 [INFO] [stderr] Checking guardian v1.3.0 [INFO] [stderr] Checking or_poisoned v0.1.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Checking indexmap v2.12.1 [INFO] [stderr] Checking smallstr v0.3.1 [INFO] [stderr] Checking arc-swap v1.7.1 [INFO] [stderr] Checking discard v1.0.4 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Checking itertools v0.14.0 [INFO] [stderr] Checking append-only-vec v0.1.8 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Checking dashmap v6.1.0 [INFO] [stderr] Checking maplit v1.0.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling uuid v1.19.0 [INFO] [stderr] Checking serde_json v1.0.145 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling gensym v0.1.1 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking tokio v1.48.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking thiserror v2.0.17 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Compiling pest v2.8.4 [INFO] [stderr] Compiling ulid v1.2.1 [INFO] [stderr] Compiling ron v0.11.0 [INFO] [stderr] Checking chrono v0.4.42 [INFO] [stderr] Checking bytes v1.11.0 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking yrs v0.24.0 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures-signals v0.3.34 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking any_spawner v0.3.0 [INFO] [stderr] Compiling pest_meta v2.8.4 [INFO] [stderr] Compiling pest_generator v2.8.4 [INFO] [stderr] Compiling pest_derive v2.8.4 [INFO] [stderr] Checking ankql v0.7.21 [INFO] [stderr] Checking ankurah-signals v0.7.21 [INFO] [stderr] Checking ankurah-proto v0.7.21 [INFO] [stderr] Compiling ankurah-derive v0.7.21 [INFO] [stderr] Checking ankurah-core v0.7.21 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ankql::ast::Predicate` [INFO] [stdout] --> src/peer_subscription/client_relay.rs:576:9 [INFO] [stdout] | [INFO] [stdout] 576 | use ankql::ast::Predicate; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_empty`, `query_count`, and `changes` are never used [INFO] [stdout] --> src/reactor/candidate_changes.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl CandidateChanges { [INFO] [stdout] | --------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn is_empty(&self) -> bool { self.query_offsets.is_empty() && self.entity_offsets.is_empty() } [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn query_count(&self) -> usize { self.query_offsets.len() } [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn changes(&self) -> &Arc> { &self.changes } [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `root` and `is_simple` are never used [INFO] [stdout] --> src/reactor/property_path.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl PropertyPath { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn root(&self) -> &str { &self.root } [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn is_simple(&self) -> bool { self.sub_path.is_empty() } [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `subscription_id` is never used [INFO] [stdout] --> src/reactor/watcherset.rs:233:12 [INFO] [stdout] | [INFO] [stdout] 232 | impl EntityWatcherId { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] 233 | pub fn subscription_id(&self) -> ReactorSubscriptionId { [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/model.rs:62:22 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn into_core(self) -> T { self.mutable } [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | impl<'rec, T: Mutable> std::ops::Deref for MutableBorrow<'rec, T> { [INFO] [stdout] | ----------------------------------------------------------------- trait implemented here [INFO] [stdout] 66 | 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] [stderr] error: could not compile `ankurah-core` (lib) due to 1 previous error; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: fields `should_fail` and `failure_message` are never read [INFO] [stdout] --> src/peer_subscription/client_relay.rs:594:9 [INFO] [stdout] | [INFO] [stdout] 591 | struct MockMessageSender { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 594 | should_fail: Arc>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 595 | failure_message: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MockMessageSender` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `changes` is never used [INFO] [stdout] --> src/reactor/candidate_changes.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl CandidateChanges { [INFO] [stdout] | --------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn changes(&self) -> &Arc> { &self.changes } [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `root` and `is_simple` are never used [INFO] [stdout] --> src/reactor/property_path.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl PropertyPath { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn root(&self) -> &str { &self.root } [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn is_simple(&self) -> bool { self.sub_path.is_empty() } [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `subscription_id` is never used [INFO] [stdout] --> src/reactor/watcherset.rs:233:12 [INFO] [stdout] | [INFO] [stdout] 232 | impl EntityWatcherId { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] 233 | pub fn subscription_id(&self) -> ReactorSubscriptionId { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `with_entities` is never used [INFO] [stdout] --> src/reactor.rs:528:12 [INFO] [stdout] | [INFO] [stdout] 525 | impl MockGapFetcher { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 528 | fn with_entities(entities: Vec) -> Self { Self { entities } } [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/model.rs:62:22 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn into_core(self) -> T { self.mutable } [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | impl<'rec, T: Mutable> std::ops::Deref for MutableBorrow<'rec, T> { [INFO] [stdout] | ----------------------------------------------------------------- trait implemented here [INFO] [stdout] 66 | 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] [stderr] error: could not compile `ankurah-core` (lib test) due to 1 previous error; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "2bf75dcb56db623ae853201aea868efac6905b2ac4c648feef2155dd1e681362", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2bf75dcb56db623ae853201aea868efac6905b2ac4c648feef2155dd1e681362", kill_on_drop: false }` [INFO] [stdout] 2bf75dcb56db623ae853201aea868efac6905b2ac4c648feef2155dd1e681362