[INFO] fetching crate superf4-rust 0.1.0... [INFO] testing superf4-rust-0.1.0 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate superf4-rust 0.1.0 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate superf4-rust 0.1.0 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate superf4-rust 0.1.0 [INFO] finished tweaking crates.io crate superf4-rust 0.1.0 [INFO] tweaked toml for crates.io crate superf4-rust 0.1.0 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate crates.io crate superf4-rust 0.1.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 604361a8a8b12a17ea3e2c5234f85e13ae21607be358a70d94443eda79e53aa5 [INFO] running `Command { std: "docker" "start" "-a" "604361a8a8b12a17ea3e2c5234f85e13ae21607be358a70d94443eda79e53aa5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "604361a8a8b12a17ea3e2c5234f85e13ae21607be358a70d94443eda79e53aa5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "604361a8a8b12a17ea3e2c5234f85e13ae21607be358a70d94443eda79e53aa5", kill_on_drop: false }` [INFO] [stdout] 604361a8a8b12a17ea3e2c5234f85e13ae21607be358a70d94443eda79e53aa5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 169991d36c5fb20ab12f254802338d524793a17a3b70f8d4fa3a244684e40e9f [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "169991d36c5fb20ab12f254802338d524793a17a3b70f8d4fa3a244684e40e9f", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.77 [INFO] [stderr] Compiling libc v0.2.102 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling structopt-derive v0.4.16 [INFO] [stderr] Compiling structopt v0.3.23 [INFO] [stderr] Compiling superf4-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/main.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | use std::os::windows::ffi::OsStringExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::um::winnt::HANDLE; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::um::winnt::PROCESS_ALL_ACCESS; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::um::handleapi::CloseHandle; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::um::processthreadsapi::{TerminateProcess, OpenProcess}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::um::tlhelp32::{Process32NextW, Process32FirstW, CreateToolhelp32Snapshot, TH32CS_SNAPPROCESS, PROCESSENTRY32W}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/main.rs:19:44 [INFO] [stdout] | [INFO] [stdout] 19 | unsafe fn kill_process(process_id: u32) -> HANDLE { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/main.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | let h_process: HANDLE; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `OpenProcess` in this scope [INFO] [stdout] --> src/main.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | h_process = OpenProcess(PROCESS_ALL_ACCESS, 0, process_id); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PROCESS_ALL_ACCESS` in this scope [INFO] [stdout] --> src/main.rs:25:29 [INFO] [stdout] | [INFO] [stdout] 25 | h_process = OpenProcess(PROCESS_ALL_ACCESS, 0, process_id); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `TerminateProcess` in this scope [INFO] [stdout] --> src/main.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | TerminateProcess(h_process, 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/main.rs:33:25 [INFO] [stdout] | [INFO] [stdout] 33 | let h_process_snap: HANDLE; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `PROCESSENTRY32W` in this scope [INFO] [stdout] --> src/main.rs:34:25 [INFO] [stdout] | [INFO] [stdout] 34 | let mut pe32 = &mut PROCESSENTRY32W { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PROCESSENTRY32W` in this scope [INFO] [stdout] --> src/main.rs:47:29 [INFO] [stdout] | [INFO] [stdout] 32 | fn get_all_processes() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 47 | pe32.dwSize = size_of::() as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateToolhelp32Snapshot` in this scope [INFO] [stdout] --> src/main.rs:50:26 [INFO] [stdout] | [INFO] [stdout] 50 | h_process_snap = CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TH32CS_SNAPPROCESS` in this scope [INFO] [stdout] --> src/main.rs:50:51 [INFO] [stdout] | [INFO] [stdout] 50 | h_process_snap = CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Process32FirstW` in this scope [INFO] [stdout] --> src/main.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | if Process32FirstW(h_process_snap, pe32) != 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Process32NextW` in this scope [INFO] [stdout] --> src/main.rs:52:19 [INFO] [stdout] | [INFO] [stdout] 52 | while Process32NextW(h_process_snap, pe32) != 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope [INFO] [stdout] --> src/main.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | CloseHandle(h_process_snap); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/main.rs:72:25 [INFO] [stdout] | [INFO] [stdout] 72 | let h_process_snap: HANDLE; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `PROCESSENTRY32W` in this scope [INFO] [stdout] --> src/main.rs:75:25 [INFO] [stdout] | [INFO] [stdout] 75 | let mut pe32 = &mut PROCESSENTRY32W { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PROCESSENTRY32W` in this scope [INFO] [stdout] --> src/main.rs:88:29 [INFO] [stdout] | [INFO] [stdout] 71 | fn get_process_ids(process_name: &str) -> Vec { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 88 | pe32.dwSize = size_of::() as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateToolhelp32Snapshot` in this scope [INFO] [stdout] --> src/main.rs:91:26 [INFO] [stdout] | [INFO] [stdout] 91 | h_process_snap = CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TH32CS_SNAPPROCESS` in this scope [INFO] [stdout] --> src/main.rs:91:51 [INFO] [stdout] | [INFO] [stdout] 91 | h_process_snap = CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Process32FirstW` in this scope [INFO] [stdout] --> src/main.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 92 | if Process32FirstW(h_process_snap, pe32) != 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Process32NextW` in this scope [INFO] [stdout] --> src/main.rs:93:19 [INFO] [stdout] | [INFO] [stdout] 93 | while Process32NextW(h_process_snap, pe32) != 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope [INFO] [stdout] --> src/main.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | CloseHandle(h_process_snap); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_wide` found for struct `OsString` in the current scope [INFO] [stdout] --> src/main.rs:54:43 [INFO] [stdout] | [INFO] [stdout] 54 | let os_string = OsString::from_wide(&pe32.szExeFile[..]); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `OsString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_wide` found for struct `OsString` in the current scope [INFO] [stdout] --> src/main.rs:94:43 [INFO] [stdout] | [INFO] [stdout] 94 | let os_string = OsString::from_wide(&pe32.szExeFile[..]); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `OsString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 29 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `superf4-rust` due to 30 previous errors [INFO] running `Command { std: "docker" "inspect" "169991d36c5fb20ab12f254802338d524793a17a3b70f8d4fa3a244684e40e9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "169991d36c5fb20ab12f254802338d524793a17a3b70f8d4fa3a244684e40e9f", kill_on_drop: false }` [INFO] [stdout] 169991d36c5fb20ab12f254802338d524793a17a3b70f8d4fa3a244684e40e9f