[INFO] cloning repository https://github.com/ncerne00/RustyMalware [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ncerne00/RustyMalware" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fncerne00%2FRustyMalware", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fncerne00%2FRustyMalware'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 858f5ce9d815ea52c8c209626a354d9b8c719873 [INFO] building ncerne00/RustyMalware against try#4987e9d4227139400384ab59296ffee3b0fb1183 for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fncerne00%2FRustyMalware" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ncerne00/RustyMalware [INFO] finished tweaking git repo https://github.com/ncerne00/RustyMalware [INFO] tweaked toml for git repo https://github.com/ncerne00/RustyMalware written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ncerne00/RustyMalware on toolchain 4987e9d4227139400384ab59296ffee3b0fb1183 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ncerne00/RustyMalware 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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2024 which implies `resolver = "3"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2024 resolver, specify `workspace.resolver = "3"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4482b32f2fe083f9a928750a3a85fa05cacab633589a2cea8dbe782ed8ea55bd [INFO] running `Command { std: "docker" "start" "-a" "4482b32f2fe083f9a928750a3a85fa05cacab633589a2cea8dbe782ed8ea55bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4482b32f2fe083f9a928750a3a85fa05cacab633589a2cea8dbe782ed8ea55bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4482b32f2fe083f9a928750a3a85fa05cacab633589a2cea8dbe782ed8ea55bd", kill_on_drop: false }` [INFO] [stdout] 4482b32f2fe083f9a928750a3a85fa05cacab633589a2cea8dbe782ed8ea55bd [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" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8e32520c7c6e2413a8ade17c9ceebeb0ed5cbdeed20a74ed761df93f6b564304 [INFO] running `Command { std: "docker" "start" "-a" "8e32520c7c6e2413a8ade17c9ceebeb0ed5cbdeed20a74ed761df93f6b564304", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2024 which implies `resolver = "3"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2024 resolver, specify `workspace.resolver = "3"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Compiling windows_x86_64_gnu v0.53.0 [INFO] [stderr] Compiling macros v0.1.0 (/opt/rustwide/workdir/macros) [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling ntapi v0.4.1 [INFO] [stderr] Compiling windows-targets v0.53.0 [INFO] [stderr] Compiling windows-result v0.3.0 [INFO] [stderr] Compiling windows-strings v0.3.0 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling windows-implement v0.59.0 [INFO] [stderr] Compiling windows-interface v0.59.0 [INFO] [stderr] Compiling windows-core v0.59.0 [INFO] [stderr] Compiling windows v0.59.0 [INFO] [stderr] Compiling memory_alloc v0.1.0 (/opt/rustwide/workdir/memory_alloc) [INFO] [stderr] Compiling execution_control v0.1.0 (/opt/rustwide/workdir/execution_control) [INFO] [stderr] Compiling iat_obfuscation v0.1.0 (/opt/rustwide/workdir/iat_obfuscation) [INFO] [stderr] Compiling ppid_spoofing v0.1.0 (/opt/rustwide/workdir/ppid_spoofing) [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> memory_alloc/src/process_memory.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | Win32::System::Memory::{VirtualAllocEx, VirtualAlloc, VirtualFree, MEM_RELEASE, MEM_COMMIT, MEM_RESERVE, PAGE_EXECUTE_READWRITE}, [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> memory_alloc/src/process_memory.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | Win32::System::Diagnostics::Debug::WriteProcessMemory, [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> memory_alloc/src/process_memory.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | Win32::System::Threading::GetCurrentProcess, [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> memory_alloc/src/process_memory.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | Win32::Foundation::HANDLE [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `windows::core` [INFO] [stdout] --> memory_alloc/src/process_memory.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | core::Error as WindowsError, [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> ppid_spoofing/src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | Win32::{ [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `windows::core` [INFO] [stdout] --> ppid_spoofing/src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | core::{PSTR, s} [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> execution_control/src/mutex.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | Win32::{ [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `windows::core` [INFO] [stdout] --> execution_control/src/mutex.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | core::s [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> iat_obfuscation/src/main.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | use std::os::windows::ffi::OsStringExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/4987e9d4227139400384ab59296ffee3b0fb1183/library/std/src/os/mod.rs:56:5 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/4987e9d4227139400384ab59296ffee3b0fb1183/library/std/src/os/mod.rs:120:10 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> iat_obfuscation/src/main.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | use windows::Win32::Foundation::HMODULE; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> iat_obfuscation/src/main.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | use windows::Win32::System::{ [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `ntapi::ntldr`, `ntapi::ntpebteb` [INFO] [stdout] --> iat_obfuscation/src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | ntldr::LDR_DATA_TABLE_ENTRY, [INFO] [stdout] | ^^^^^ could not find `ntldr` in `ntapi` [INFO] [stdout] 9 | ntpebteb::{PEB} [INFO] [stdout] | ^^^^^^^^ could not find `ntpebteb` in `ntapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> execution_control/src/event.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | Win32::{ [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `windows::core` [INFO] [stdout] --> execution_control/src/event.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | core::s [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `memory_alloc` (lib) due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused import: `CString` [INFO] [stdout] --> ppid_spoofing/src/main.rs:11:24 [INFO] [stdout] | [INFO] [stdout] 11 | use std::ffi::{c_void, CString}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `execution_control` (bin "semaphore") due to 2 previous errors [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stderr] error: could not compile `execution_control` (bin "mutex") due to 2 previous errors [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `execution_control` (bin "event") due to 2 previous errors [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> execution_control/src/semaphore.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | Win32::{ [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `windows::core` [INFO] [stdout] --> execution_control/src/semaphore.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | core::s [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ppid_spoofing` (bin "ppid_spoofing") due to 2 previous errors; 1 warning emitted [INFO] [stdout] error[E0599]: no function or associated item named `from_wide` found for struct `OsString` in the current scope [INFO] [stdout] --> iat_obfuscation/src/main.rs:52:37 [INFO] [stdout] | [INFO] [stdout] 52 | let dll_name_os = OsString::from_wide(dll_name_slice); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `OsString` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `OsString` consider using one of the following associated functions: [INFO] [stdout] OsString::new [INFO] [stdout] OsString::from_encoded_bytes_unchecked [INFO] [stdout] OsString::with_capacity [INFO] [stdout] --> /rustc/4987e9d4227139400384ab59296ffee3b0fb1183/library/std/src/ffi/os_str.rs:141:5 [INFO] [stdout] help: there is an associated function `from_iter` with a similar name [INFO] [stdout] | [INFO] [stdout] 52 - let dll_name_os = OsString::from_wide(dll_name_slice); [INFO] [stdout] 52 + let dll_name_os = OsString::from_iter(dll_name_slice); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `iat_obfuscation` (bin "iat_obfuscation") due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "8e32520c7c6e2413a8ade17c9ceebeb0ed5cbdeed20a74ed761df93f6b564304", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e32520c7c6e2413a8ade17c9ceebeb0ed5cbdeed20a74ed761df93f6b564304", kill_on_drop: false }` [INFO] [stdout] 8e32520c7c6e2413a8ade17c9ceebeb0ed5cbdeed20a74ed761df93f6b564304