[INFO] fetching crate hpt-common 0.1.3... [INFO] checking hpt-common-0.1.3 against try#7b3da9103634dffd4f4365cfd8642427c781d99f+rustflags=-Dinherent-method-on-receiver for 152214-denied-retry-0 [INFO] extracting crate hpt-common 0.1.3 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate hpt-common 0.1.3 [INFO] finished tweaking crates.io crate hpt-common 0.1.3 [INFO] tweaked toml for crates.io crate hpt-common 0.1.3 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate hpt-common 0.1.3 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 hpt-common 0.1.3 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] d220152f75171a8264c0e0816624a68a37b61ee67361c5572ba8c3dd2b43f2c1 [INFO] running `Command { std: "docker" "start" "-a" "d220152f75171a8264c0e0816624a68a37b61ee67361c5572ba8c3dd2b43f2c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d220152f75171a8264c0e0816624a68a37b61ee67361c5572ba8c3dd2b43f2c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d220152f75171a8264c0e0816624a68a37b61ee67361c5572ba8c3dd2b43f2c1", kill_on_drop: false }` [INFO] [stdout] d220152f75171a8264c0e0816624a68a37b61ee67361c5572ba8c3dd2b43f2c1 [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] 39f4e87ee9681f82b67c725e06341c75ece0f86650e9f5e9b67995d6c462d29b [INFO] running `Command { std: "docker" "start" "-a" "39f4e87ee9681f82b67c725e06341c75ece0f86650e9f5e9b67995d6c462d29b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.170 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling libm v0.2.11 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling zerocopy v0.8.23 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling hpt-macros v0.1.2 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.9.0 [INFO] [stderr] Checking rand_distr v0.5.1 [INFO] [stderr] Checking half v2.5.0 [INFO] [stderr] Checking hpt-types v0.1.3 [INFO] [stderr] Checking hpt-common v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/utils/pointer.rs:35:20 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn cast(&self) -> Pointer { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 428 | impl Deref for Pointer { [INFO] [stdout] | ---------------------------- trait implemented here [INFO] [stdout] 429 | 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] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/utils/pointer.rs:55:20 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn get_ptr(&self) -> *mut T { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 428 | impl Deref for Pointer { [INFO] [stdout] | ---------------------------- trait implemented here [INFO] [stdout] 429 | type Target = T; [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/utils/pointer.rs:117:19 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn modify(&mut self, offset: i64, value: T) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 428 | impl Deref for Pointer { [INFO] [stdout] | ---------------------------- trait implemented here [INFO] [stdout] 429 | type Target = T; [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/utils/pointer.rs:139:16 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn add(&mut self, offset: usize) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 428 | impl Deref for Pointer { [INFO] [stdout] | ---------------------------- trait implemented here [INFO] [stdout] 429 | type Target = T; [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/utils/pointer.rs:161:19 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn offset(&mut self, offset: i64) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 428 | impl Deref for Pointer { [INFO] [stdout] | ---------------------------- trait implemented here [INFO] [stdout] 429 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `hpt-common` (lib test) due to 5 previous errors [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/utils/pointer.rs:35:20 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn cast(&self) -> Pointer { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 428 | impl Deref for Pointer { [INFO] [stdout] | ---------------------------- trait implemented here [INFO] [stdout] 429 | 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] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/utils/pointer.rs:55:20 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn get_ptr(&self) -> *mut T { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 428 | impl Deref for Pointer { [INFO] [stdout] | ---------------------------- trait implemented here [INFO] [stdout] 429 | type Target = T; [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/utils/pointer.rs:117:19 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn modify(&mut self, offset: i64, value: T) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 428 | impl Deref for Pointer { [INFO] [stdout] | ---------------------------- trait implemented here [INFO] [stdout] 429 | type Target = T; [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/utils/pointer.rs:139:16 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn add(&mut self, offset: usize) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 428 | impl Deref for Pointer { [INFO] [stdout] | ---------------------------- trait implemented here [INFO] [stdout] 429 | type Target = T; [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/utils/pointer.rs:161:19 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn offset(&mut self, offset: i64) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 428 | impl Deref for Pointer { [INFO] [stdout] | ---------------------------- trait implemented here [INFO] [stdout] 429 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `hpt-common` (lib) due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "39f4e87ee9681f82b67c725e06341c75ece0f86650e9f5e9b67995d6c462d29b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39f4e87ee9681f82b67c725e06341c75ece0f86650e9f5e9b67995d6c462d29b", kill_on_drop: false }` [INFO] [stdout] 39f4e87ee9681f82b67c725e06341c75ece0f86650e9f5e9b67995d6c462d29b