[INFO] fetching crate rocketmq-rust 0.7.0... [INFO] checking rocketmq-rust-0.7.0 against try#7b3da9103634dffd4f4365cfd8642427c781d99f+rustflags=-Dinherent-method-on-receiver for 152214-denied [INFO] extracting crate rocketmq-rust 0.7.0 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate rocketmq-rust 0.7.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate rocketmq-rust 0.7.0 [INFO] tweaked toml for crates.io crate rocketmq-rust 0.7.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rocketmq-rust 0.7.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] crate crates.io crate rocketmq-rust 0.7.0 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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 4a36e64229130d2360e41cb94967c9bb23cb9b87dc2e3dcf3cd848b6bcd394ed [INFO] running `Command { std: "docker" "start" "-a" "4a36e64229130d2360e41cb94967c9bb23cb9b87dc2e3dcf3cd848b6bcd394ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4a36e64229130d2360e41cb94967c9bb23cb9b87dc2e3dcf3cd848b6bcd394ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a36e64229130d2360e41cb94967c9bb23cb9b87dc2e3dcf3cd848b6bcd394ed", kill_on_drop: false }` [INFO] [stdout] 4a36e64229130d2360e41cb94967c9bb23cb9b87dc2e3dcf3cd848b6bcd394ed [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 1fe883c98d445f6cf9be8dea78b0bf0cec189ba683da706885e732a0c84527fe [INFO] running `Command { std: "docker" "start" "-a" "1fe883c98d445f6cf9be8dea78b0bf0cec189ba683da706885e732a0c84527fe", kill_on_drop: false }` [INFO] [stderr] Checking smallvec v1.15.0 [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking socket2 v0.6.0 [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Checking tracing-core v0.1.35 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Checking anyhow v1.0.100 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking winnow v0.6.26 [INFO] [stderr] Checking nu-ansi-term v0.50.1 [INFO] [stderr] Checking uuid v1.19.0 [INFO] [stderr] Checking tracing-subscriber v0.3.22 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling syn v2.0.111 [INFO] [stderr] Compiling tokio-macros v2.6.0 [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 async-stream-impl v0.3.6 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Checking tokio v1.48.0 [INFO] [stderr] Checking tracing v0.1.43 [INFO] [stderr] Checking thiserror v2.0.17 [INFO] [stderr] Checking rocketmq-error v0.7.0 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking chrono v0.4.42 [INFO] [stderr] Checking cron v0.15.0 [INFO] [stderr] Checking tokio-util v0.7.17 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking rocketmq-rust v0.7.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking tokio-test v0.4.4 [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/arc_mut.rs:126:25 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn mut_from_ref(&self) -> &mut T { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | impl Deref for ArcMut { [INFO] [stdout] | ----------------------------------- trait implemented here [INFO] [stdout] 182 | 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/arc_mut.rs:138:22 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn get_inner(&self) -> &Arc> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | impl Deref for ArcMut { [INFO] [stdout] | ----------------------------------- trait implemented here [INFO] [stdout] 182 | 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/arc_mut.rs:142:23 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn try_unwrap(self) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | impl Deref for ArcMut { [INFO] [stdout] | ----------------------------------- trait implemented here [INFO] [stdout] 182 | 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/arc_mut.rs:149:25 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn strong_count(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | impl Deref for ArcMut { [INFO] [stdout] | ----------------------------------- trait implemented here [INFO] [stdout] 182 | 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/arc_mut.rs:153:23 [INFO] [stdout] | [INFO] [stdout] 153 | pub fn weak_count(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | impl Deref for ArcMut { [INFO] [stdout] | ----------------------------------- trait implemented here [INFO] [stdout] 182 | 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/arc_mut.rs:213:25 [INFO] [stdout] | [INFO] [stdout] 213 | pub fn mut_from_ref(&self) -> &mut T { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 232 | impl Deref for SyncUnsafeCellWrapper { [INFO] [stdout] | ------------------------------------------ trait implemented here [INFO] [stdout] 233 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rocketmq-rust` (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/arc_mut.rs:126:25 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn mut_from_ref(&self) -> &mut T { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | impl Deref for ArcMut { [INFO] [stdout] | ----------------------------------- trait implemented here [INFO] [stdout] 182 | 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/arc_mut.rs:138:22 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn get_inner(&self) -> &Arc> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | impl Deref for ArcMut { [INFO] [stdout] | ----------------------------------- trait implemented here [INFO] [stdout] 182 | 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/arc_mut.rs:142:23 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn try_unwrap(self) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | impl Deref for ArcMut { [INFO] [stdout] | ----------------------------------- trait implemented here [INFO] [stdout] 182 | 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/arc_mut.rs:149:25 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn strong_count(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | impl Deref for ArcMut { [INFO] [stdout] | ----------------------------------- trait implemented here [INFO] [stdout] 182 | 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/arc_mut.rs:153:23 [INFO] [stdout] | [INFO] [stdout] 153 | pub fn weak_count(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | impl Deref for ArcMut { [INFO] [stdout] | ----------------------------------- trait implemented here [INFO] [stdout] 182 | 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/arc_mut.rs:213:25 [INFO] [stdout] | [INFO] [stdout] 213 | pub fn mut_from_ref(&self) -> &mut T { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 232 | impl Deref for SyncUnsafeCellWrapper { [INFO] [stdout] | ------------------------------------------ trait implemented here [INFO] [stdout] 233 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rocketmq-rust` (lib test) due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "1fe883c98d445f6cf9be8dea78b0bf0cec189ba683da706885e732a0c84527fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1fe883c98d445f6cf9be8dea78b0bf0cec189ba683da706885e732a0c84527fe", kill_on_drop: false }` [INFO] [stdout] 1fe883c98d445f6cf9be8dea78b0bf0cec189ba683da706885e732a0c84527fe