[INFO] fetching crate scc 3.5.6... [INFO] checking scc-3.5.6 against try#7b3da9103634dffd4f4365cfd8642427c781d99f+rustflags=-Dinherent-method-on-receiver for 152214-denied [INFO] extracting crate scc 3.5.6 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate scc 3.5.6 [INFO] finished tweaking crates.io crate scc 3.5.6 [INFO] tweaked toml for crates.io crate scc 3.5.6 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate scc 3.5.6 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 scc 3.5.6 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-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] 1090e888643d9aa19c32962bdfc98de0c3f757911f7af4d3bfb43d260488483f [INFO] running `Command { std: "docker" "start" "-a" "1090e888643d9aa19c32962bdfc98de0c3f757911f7af4d3bfb43d260488483f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1090e888643d9aa19c32962bdfc98de0c3f757911f7af4d3bfb43d260488483f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1090e888643d9aa19c32962bdfc98de0c3f757911f7af4d3bfb43d260488483f", kill_on_drop: false }` [INFO] [stdout] 1090e888643d9aa19c32962bdfc98de0c3f757911f7af4d3bfb43d260488483f [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] 48809d592d81d2c970a6b41c58cece3b66d2f1ce521af1b8891b984715249a88 [INFO] running `Command { std: "docker" "start" "-a" "48809d592d81d2c970a6b41c58cece3b66d2f1ce521af1b8891b984715249a88", kill_on_drop: false }` [INFO] [stderr] Compiling zerocopy v0.8.38 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking memchr v2.7.6 [INFO] [stderr] Compiling zmij v1.0.19 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Compiling rustix v1.1.3 [INFO] [stderr] Checking linux-raw-sys v0.11.0 [INFO] [stderr] Checking getrandom v0.3.4 [INFO] [stderr] Checking regex-syntax v0.8.9 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling alloca v0.4.0 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Checking clap_builder v4.5.57 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking rand_core v0.9.5 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking wait-timeout v0.2.1 [INFO] [stderr] Checking bit-vec v0.8.0 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking rand_xorshift v0.4.0 [INFO] [stderr] Checking page_size v0.6.0 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Checking unarray v0.1.4 [INFO] [stderr] Checking saa v5.4.9 [INFO] [stderr] Checking sdd v4.6.2 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking bit-set v0.8.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking serde_json v1.0.149 [INFO] [stderr] Compiling quote v1.0.44 [INFO] [stderr] Checking scc v3.5.6 (/opt/rustwide/workdir) [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking criterion-plot v0.8.2 [INFO] [stderr] Checking clap v4.5.57 [INFO] [stderr] Checking regex-automata v0.4.14 [INFO] [stderr] Checking tempfile v3.24.0 [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/hash_cache.rs:1544:16 [INFO] [stdout] | [INFO] [stdout] 1544 | pub fn key(&self) -> &K { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1678 | / impl Deref for OccupiedEntry<'_, K, V, H> [INFO] [stdout] 1679 | | where [INFO] [stdout] 1680 | | K: Eq + Hash, [INFO] [stdout] 1681 | | H: BuildHasher, [INFO] [stdout] | |___________________- trait implemented here [INFO] [stdout] 1682 | { [INFO] [stdout] 1683 | type Target = V; [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] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/hash_cache.rs:1566:25 [INFO] [stdout] | [INFO] [stdout] 1566 | pub fn remove_entry(mut self) -> (K, V) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1678 | / impl Deref for OccupiedEntry<'_, K, V, H> [INFO] [stdout] 1679 | | where [INFO] [stdout] 1680 | | K: Eq + Hash, [INFO] [stdout] 1681 | | H: BuildHasher, [INFO] [stdout] | |___________________- trait implemented here [INFO] [stdout] 1682 | { [INFO] [stdout] 1683 | type Target = V; [INFO] [stdout] | ----------- 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/hash_cache.rs:1589:16 [INFO] [stdout] | [INFO] [stdout] 1589 | pub fn get(&self) -> &V { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1678 | / impl Deref for OccupiedEntry<'_, K, V, H> [INFO] [stdout] 1679 | | where [INFO] [stdout] 1680 | | K: Eq + Hash, [INFO] [stdout] 1681 | | H: BuildHasher, [INFO] [stdout] | |___________________- trait implemented here [INFO] [stdout] 1682 | { [INFO] [stdout] 1683 | type Target = V; [INFO] [stdout] | ----------- 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/hash_cache.rs:1613:20 [INFO] [stdout] | [INFO] [stdout] 1613 | pub fn get_mut(&mut self) -> &mut V { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1678 | / impl Deref for OccupiedEntry<'_, K, V, H> [INFO] [stdout] 1679 | | where [INFO] [stdout] 1680 | | K: Eq + Hash, [INFO] [stdout] 1681 | | H: BuildHasher, [INFO] [stdout] | |___________________- trait implemented here [INFO] [stdout] 1682 | { [INFO] [stdout] 1683 | type Target = V; [INFO] [stdout] | ----------- 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/hash_cache.rs:1636:16 [INFO] [stdout] | [INFO] [stdout] 1636 | pub fn put(&mut self, val: V) -> V { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1678 | / impl Deref for OccupiedEntry<'_, K, V, H> [INFO] [stdout] 1679 | | where [INFO] [stdout] 1680 | | K: Eq + Hash, [INFO] [stdout] 1681 | | H: BuildHasher, [INFO] [stdout] | |___________________- trait implemented here [INFO] [stdout] 1682 | { [INFO] [stdout] 1683 | type Target = V; [INFO] [stdout] | ----------- 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/hash_cache.rs:1658:19 [INFO] [stdout] | [INFO] [stdout] 1658 | pub fn remove(self) -> V { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 1678 | / impl Deref for OccupiedEntry<'_, K, V, H> [INFO] [stdout] 1679 | | where [INFO] [stdout] 1680 | | K: Eq + Hash, [INFO] [stdout] 1681 | | H: BuildHasher, [INFO] [stdout] | |___________________- trait implemented here [INFO] [stdout] 1682 | { [INFO] [stdout] 1683 | type Target = V; [INFO] [stdout] | ----------- 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/hash_map.rs:1866:16 [INFO] [stdout] | [INFO] [stdout] 1866 | pub fn key(&self) -> &K { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2163 | / impl Deref for OccupiedEntry<'_, K, V, H> [INFO] [stdout] 2164 | | where [INFO] [stdout] 2165 | | K: Eq + Hash, [INFO] [stdout] 2166 | | H: BuildHasher, [INFO] [stdout] | |___________________- trait implemented here [INFO] [stdout] 2167 | { [INFO] [stdout] 2168 | type Target = V; [INFO] [stdout] | ----------- 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/hash_map.rs:1888:25 [INFO] [stdout] | [INFO] [stdout] 1888 | pub fn remove_entry(mut self) -> (K, V) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2163 | / impl Deref for OccupiedEntry<'_, K, V, H> [INFO] [stdout] 2164 | | where [INFO] [stdout] 2165 | | K: Eq + Hash, [INFO] [stdout] 2166 | | H: BuildHasher, [INFO] [stdout] | |___________________- trait implemented here [INFO] [stdout] 2167 | { [INFO] [stdout] 2168 | type Target = V; [INFO] [stdout] | ----------- 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/hash_map.rs:1910:16 [INFO] [stdout] | [INFO] [stdout] 1910 | pub fn get(&self) -> &V { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2163 | / impl Deref for OccupiedEntry<'_, K, V, H> [INFO] [stdout] 2164 | | where [INFO] [stdout] 2165 | | K: Eq + Hash, [INFO] [stdout] 2166 | | H: BuildHasher, [INFO] [stdout] | |___________________- trait implemented here [INFO] [stdout] 2167 | { [INFO] [stdout] 2168 | type Target = V; [INFO] [stdout] | ----------- 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/hash_map.rs:1934:20 [INFO] [stdout] | [INFO] [stdout] 1934 | pub fn get_mut(&mut self) -> &mut V { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2163 | / impl Deref for OccupiedEntry<'_, K, V, H> [INFO] [stdout] 2164 | | where [INFO] [stdout] 2165 | | K: Eq + Hash, [INFO] [stdout] 2166 | | H: BuildHasher, [INFO] [stdout] | |___________________- trait implemented here [INFO] [stdout] 2167 | { [INFO] [stdout] 2168 | type Target = V; [INFO] [stdout] | ----------- 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/hash_map.rs:1957:19 [INFO] [stdout] | [INFO] [stdout] 1957 | pub fn insert(&mut self, val: V) -> V { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2163 | / impl Deref for OccupiedEntry<'_, K, V, H> [INFO] [stdout] 2164 | | where [INFO] [stdout] 2165 | | K: Eq + Hash, [INFO] [stdout] 2166 | | H: BuildHasher, [INFO] [stdout] | |___________________- trait implemented here [INFO] [stdout] 2167 | { [INFO] [stdout] 2168 | type Target = V; [INFO] [stdout] | ----------- 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/hash_map.rs:1979:19 [INFO] [stdout] | [INFO] [stdout] 1979 | pub fn remove(self) -> V { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 2163 | / impl Deref for OccupiedEntry<'_, K, V, H> [INFO] [stdout] 2164 | | where [INFO] [stdout] 2165 | | K: Eq + Hash, [INFO] [stdout] 2166 | | H: BuildHasher, [INFO] [stdout] | |___________________- trait implemented here [INFO] [stdout] 2167 | { [INFO] [stdout] 2168 | type Target = V; [INFO] [stdout] | ----------- 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/hash_map.rs:2003:35 [INFO] [stdout] | [INFO] [stdout] 2003 | pub async fn remove_and_async(self) -> ((K, V), Option>) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 2163 | / impl Deref for OccupiedEntry<'_, K, V, H> [INFO] [stdout] 2164 | | where [INFO] [stdout] 2165 | | K: Eq + Hash, [INFO] [stdout] 2166 | | H: BuildHasher, [INFO] [stdout] | |___________________- trait implemented here [INFO] [stdout] 2167 | { [INFO] [stdout] 2168 | type Target = V; [INFO] [stdout] | ----------- 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/hash_map.rs:2054:28 [INFO] [stdout] | [INFO] [stdout] 2054 | pub fn remove_and_sync(self) -> ((K, V), Option) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 2163 | / impl Deref for OccupiedEntry<'_, K, V, H> [INFO] [stdout] 2164 | | where [INFO] [stdout] 2165 | | K: Eq + Hash, [INFO] [stdout] 2166 | | H: BuildHasher, [INFO] [stdout] | |___________________- trait implemented here [INFO] [stdout] 2167 | { [INFO] [stdout] 2168 | type Target = V; [INFO] [stdout] | ----------- 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/hash_map.rs:2094:29 [INFO] [stdout] | [INFO] [stdout] 2094 | pub async fn next_async(self) -> Option> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 2163 | / impl Deref for OccupiedEntry<'_, K, V, H> [INFO] [stdout] 2164 | | where [INFO] [stdout] 2165 | | K: Eq + Hash, [INFO] [stdout] 2166 | | H: BuildHasher, [INFO] [stdout] | |___________________- trait implemented here [INFO] [stdout] 2167 | { [INFO] [stdout] 2168 | type Target = V; [INFO] [stdout] | ----------- 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/hash_map.rs:2134:22 [INFO] [stdout] | [INFO] [stdout] 2134 | pub fn next_sync(self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 2163 | / impl Deref for OccupiedEntry<'_, K, V, H> [INFO] [stdout] 2164 | | where [INFO] [stdout] 2165 | | K: Eq + Hash, [INFO] [stdout] 2166 | | H: BuildHasher, [INFO] [stdout] | |___________________- trait implemented here [INFO] [stdout] 2167 | { [INFO] [stdout] 2168 | type Target = V; [INFO] [stdout] | ----------- 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/hash_set.rs:936:20 [INFO] [stdout] | [INFO] [stdout] 936 | pub fn consume(self) -> K { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 941 | impl Deref for ConsumableEntry<'_, K> { [INFO] [stdout] | ---------------------------------------- trait implemented here [INFO] [stdout] 942 | type Target = K; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking rusty-fork v0.3.1 [INFO] [stderr] error: could not compile `scc` (lib) due to 17 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "48809d592d81d2c970a6b41c58cece3b66d2f1ce521af1b8891b984715249a88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48809d592d81d2c970a6b41c58cece3b66d2f1ce521af1b8891b984715249a88", kill_on_drop: false }` [INFO] [stdout] 48809d592d81d2c970a6b41c58cece3b66d2f1ce521af1b8891b984715249a88