[INFO] fetching crate nuclei 0.4.4... [INFO] checking nuclei-0.4.4 against try#7b3da9103634dffd4f4365cfd8642427c781d99f+rustflags=-Dinherent-method-on-receiver for 152214-denied [INFO] extracting crate nuclei 0.4.4 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate nuclei 0.4.4 [INFO] finished tweaking crates.io crate nuclei 0.4.4 [INFO] tweaked toml for crates.io crate nuclei 0.4.4 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate nuclei 0.4.4 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 92 packages to latest compatible versions [INFO] [stderr] Adding async-global-executor v2.4.1 (available: v3.1.0) [INFO] [stderr] Adding rustix v0.38.44 (available: v1.1.3) [INFO] [stderr] Adding rustix-uring v0.2.0 (available: v0.6.0) [INFO] [stderr] Adding socket2 v0.3.19 (available: v0.6.2) [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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 8192373af4cbc08b480b2640b9b2d77541b501b6496ac8ee37071c23584f597c [INFO] running `Command { std: "docker" "start" "-a" "8192373af4cbc08b480b2640b9b2d77541b501b6496ac8ee37071c23584f597c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8192373af4cbc08b480b2640b9b2d77541b501b6496ac8ee37071c23584f597c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8192373af4cbc08b480b2640b9b2d77541b501b6496ac8ee37071c23584f597c", kill_on_drop: false }` [INFO] [stdout] 8192373af4cbc08b480b2640b9b2d77541b501b6496ac8ee37071c23584f597c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] ef8915571163445abc83de9c8810aa2cfaf924536a3bd378ccb2406727c05821 [INFO] running `Command { std: "docker" "start" "-a" "ef8915571163445abc83de9c8810aa2cfaf924536a3bd378ccb2406727c05821", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.180 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Checking futures-lite v2.6.1 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Checking linux-raw-sys v0.4.15 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking event-listener v5.4.1 [INFO] [stderr] Checking slice-group-by v0.2.6 [INFO] [stderr] Compiling nuclei-attributes v0.1.0 [INFO] [stderr] Checking event-listener-strategy v0.5.4 [INFO] [stderr] Checking async-channel v2.5.0 [INFO] [stderr] Checking async-lock v3.4.2 [INFO] [stderr] Checking async-io v2.6.0 [INFO] [stderr] Checking async-executor v1.13.3 [INFO] [stderr] Checking blocking v1.6.2 [INFO] [stderr] Checking async-global-executor v2.4.1 [INFO] [stderr] Checking getrandom v0.3.4 [INFO] [stderr] Checking os_socketaddr v0.2.5 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking ahash v0.8.12 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking lever v0.1.4 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking rustix-uring v0.2.0 [INFO] [stderr] Checking nuclei v0.4.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused macro definition: `syscall` [INFO] [stdout] --> src/syscore/linux/iouring/processor.rs:32:14 [INFO] [stdout] | [INFO] [stdout] 32 | macro_rules! syscall { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `syscall` [INFO] [stdout] --> src/syscore/linux/iouring/processor.rs:32:14 [INFO] [stdout] | [INFO] [stdout] 32 | macro_rules! syscall { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/handle.rs:47:20 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn get_ref(&self) -> &T { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | impl Deref for Handle { [INFO] [stdout] | --------------------------- trait implemented here [INFO] [stdout] 88 | 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/handle.rs:51:20 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn get_mut(&mut self) -> &mut T { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | impl Deref for Handle { [INFO] [stdout] | --------------------------- trait implemented here [INFO] [stdout] 88 | 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/handle.rs:55:23 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn into_inner(mut self) -> T { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | impl Deref for Handle { [INFO] [stdout] | --------------------------- trait implemented here [INFO] [stdout] 88 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/proactor.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | / PROACTOR.get_or_init(|| { [INFO] [stdout] 28 | | Proactor( [INFO] [stdout] 29 | | SysProactor::new(NucleiConfig::default()) [INFO] [stdout] 30 | | .expect("cannot initialize IO backend"), [INFO] [stdout] 31 | | ) [INFO] [stdout] 32 | | }) [INFO] [stdout] | |______________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/proactor.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | / PROACTOR [INFO] [stdout] 42 | | .set(proactor) [INFO] [stdout] | |______________________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/proactor.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | PROACTOR.wait() [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/proactor.rs:73:18 [INFO] [stdout] | [INFO] [stdout] 73 | unsafe { IO_URING.as_ref().unwrap().params() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/syscore/linux/iouring/iouring.rs:177:34 [INFO] [stdout] | [INFO] [stdout] 177 | let (sbmt, sq, cq) = IO_URING.as_mut().unwrap().split(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `nuclei` (lib test) due to 3 previous errors; 6 warnings emitted [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/handle.rs:47:20 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn get_ref(&self) -> &T { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | impl Deref for Handle { [INFO] [stdout] | --------------------------- trait implemented here [INFO] [stdout] 88 | 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/handle.rs:51:20 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn get_mut(&mut self) -> &mut T { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | impl Deref for Handle { [INFO] [stdout] | --------------------------- trait implemented here [INFO] [stdout] 88 | 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/handle.rs:55:23 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn into_inner(mut self) -> T { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | impl Deref for Handle { [INFO] [stdout] | --------------------------- trait implemented here [INFO] [stdout] 88 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/proactor.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | / PROACTOR.get_or_init(|| { [INFO] [stdout] 28 | | Proactor( [INFO] [stdout] 29 | | SysProactor::new(NucleiConfig::default()) [INFO] [stdout] 30 | | .expect("cannot initialize IO backend"), [INFO] [stdout] 31 | | ) [INFO] [stdout] 32 | | }) [INFO] [stdout] | |______________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/proactor.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | / PROACTOR [INFO] [stdout] 42 | | .set(proactor) [INFO] [stdout] | |______________________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/proactor.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | PROACTOR.wait() [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/proactor.rs:73:18 [INFO] [stdout] | [INFO] [stdout] 73 | unsafe { IO_URING.as_ref().unwrap().params() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/syscore/linux/iouring/iouring.rs:177:34 [INFO] [stdout] | [INFO] [stdout] 177 | let (sbmt, sq, cq) = IO_URING.as_mut().unwrap().split(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `nuclei` (lib) due to 3 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ef8915571163445abc83de9c8810aa2cfaf924536a3bd378ccb2406727c05821", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef8915571163445abc83de9c8810aa2cfaf924536a3bd378ccb2406727c05821", kill_on_drop: false }` [INFO] [stdout] ef8915571163445abc83de9c8810aa2cfaf924536a3bd378ccb2406727c05821