[INFO] fetching crate checked-rs 1.0.0... [INFO] checking checked-rs-1.0.0 against try#7b3da9103634dffd4f4365cfd8642427c781d99f+rustflags=-Dinherent-method-on-receiver for 152214-denied [INFO] extracting crate checked-rs 1.0.0 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate checked-rs 1.0.0 [INFO] finished tweaking crates.io crate checked-rs 1.0.0 [INFO] tweaked toml for crates.io crate checked-rs 1.0.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate checked-rs 1.0.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] Updating crates.io index [INFO] [stderr] Locking 61 packages to latest compatible versions [INFO] [stderr] Adding rand v0.8.5 (available: v0.10.0) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.18) [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] 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] e6653117b1afe044b15ed8ba19d9388033b063fc9e1d0eb9ee7af4bd82361011 [INFO] running `Command { std: "docker" "start" "-a" "e6653117b1afe044b15ed8ba19d9388033b063fc9e1d0eb9ee7af4bd82361011", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e6653117b1afe044b15ed8ba19d9388033b063fc9e1d0eb9ee7af4bd82361011", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6653117b1afe044b15ed8ba19d9388033b063fc9e1d0eb9ee7af4bd82361011", kill_on_drop: false }` [INFO] [stdout] e6653117b1afe044b15ed8ba19d9388033b063fc9e1d0eb9ee7af4bd82361011 [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] bbed9fd3801a4b0645be89547421193c143bd2abc1f4f819673c0962a293356f [INFO] running `Command { std: "docker" "start" "-a" "bbed9fd3801a4b0645be89547421193c143bd2abc1f4f819673c0962a293356f", kill_on_drop: false }` [INFO] [stderr] Compiling portable-atomic v1.13.1 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling anyhow v1.0.101 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling libc v0.2.180 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling smartstring v1.0.1 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling zerocopy v0.8.39 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling itoa v1.0.17 [INFO] [stderr] Compiling thin-vec v0.2.14 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling rangemap v1.7.1 [INFO] [stderr] Compiling num-format v0.4.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Checking getrandom v0.2.17 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Compiling rhai_codegen v3.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling rhai v1.24.0 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Compiling checked-rs-macro-impl v1.0.0 [INFO] [stderr] Compiling checked-rs-macros v1.0.0 [INFO] [stderr] Checking checked-rs v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/guard.rs:64:23 [INFO] [stdout] | [INFO] [stdout] 14 | impl<'a, T, E, U: Validator> std::ops::Deref for Guard<'a, T, E, U> { [INFO] [stdout] | ---------------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 15 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn is_changed(&self) -> 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/guard.rs:75:18 [INFO] [stdout] | [INFO] [stdout] 14 | impl<'a, T, E, U: Validator> std::ops::Deref for Guard<'a, T, E, U> { [INFO] [stdout] | ---------------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 15 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn check(&self) -> Result<(), E> { [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/guard.rs:80:19 [INFO] [stdout] | [INFO] [stdout] 14 | impl<'a, T, E, U: Validator> std::ops::Deref for Guard<'a, T, E, U> { [INFO] [stdout] | ---------------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 15 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn commit(self) -> Result<(), Self> { [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/guard.rs:93:20 [INFO] [stdout] | [INFO] [stdout] 14 | impl<'a, T, E, U: Validator> std::ops::Deref for Guard<'a, T, E, U> { [INFO] [stdout] | ---------------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 15 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn discard(self) { [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/view.rs:51:23 [INFO] [stdout] | [INFO] [stdout] 23 | impl> std::ops::Deref for View { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 24 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn into_inner(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/view.rs:57:23 [INFO] [stdout] | [INFO] [stdout] 23 | impl> std::ops::Deref for View { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 24 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn modify<'a>(&'a mut self) -> Guard<'a, T, E, U> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `checked-rs` (lib) due to 6 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/guard.rs:64:23 [INFO] [stdout] | [INFO] [stdout] 14 | impl<'a, T, E, U: Validator> std::ops::Deref for Guard<'a, T, E, U> { [INFO] [stdout] | ---------------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 15 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn is_changed(&self) -> 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/guard.rs:75:18 [INFO] [stdout] | [INFO] [stdout] 14 | impl<'a, T, E, U: Validator> std::ops::Deref for Guard<'a, T, E, U> { [INFO] [stdout] | ---------------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 15 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn check(&self) -> Result<(), E> { [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/guard.rs:80:19 [INFO] [stdout] | [INFO] [stdout] 14 | impl<'a, T, E, U: Validator> std::ops::Deref for Guard<'a, T, E, U> { [INFO] [stdout] | ---------------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 15 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn commit(self) -> Result<(), Self> { [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/guard.rs:93:20 [INFO] [stdout] | [INFO] [stdout] 14 | impl<'a, T, E, U: Validator> std::ops::Deref for Guard<'a, T, E, U> { [INFO] [stdout] | ---------------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 15 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn discard(self) { [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/view.rs:51:23 [INFO] [stdout] | [INFO] [stdout] 23 | impl> std::ops::Deref for View { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 24 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn into_inner(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/view.rs:57:23 [INFO] [stdout] | [INFO] [stdout] 23 | impl> std::ops::Deref for View { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 24 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn modify<'a>(&'a mut self) -> Guard<'a, T, E, U> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `checked-rs` (lib test) due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "bbed9fd3801a4b0645be89547421193c143bd2abc1f4f819673c0962a293356f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bbed9fd3801a4b0645be89547421193c143bd2abc1f4f819673c0962a293356f", kill_on_drop: false }` [INFO] [stdout] bbed9fd3801a4b0645be89547421193c143bd2abc1f4f819673c0962a293356f