[INFO] updating cached repository https://github.com/mrfu510n/dange-rs
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"`
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] 029abe896131bc9fe1ca867e0d3ac731af2463e4
[INFO] checking mrfu510n/dange-rs against master#bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc for pr-70917
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmrfu510n%2Fdange-rs" "/workspace/builds/worker-7/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/mrfu510n/dange-rs on toolchain bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc
[INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started tweaking git repo https://github.com/mrfu510n/dange-rs
[INFO] finished tweaking git repo https://github.com/mrfu510n/dange-rs
[INFO] tweaked toml for git repo https://github.com/mrfu510n/dange-rs written to /workspace/builds/worker-7/source/Cargo.toml
[INFO] crate git repo https://github.com/mrfu510n/dange-rs already has a lockfile, it will not be regenerated
[INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `"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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "check" "--frozen" "--all" "--all-targets"`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 909e30d7f9d815ecdae53315bb366fac1b3ea817f734c5698df3db8107436708
[INFO] running `"docker" "start" "-a" "909e30d7f9d815ecdae53315bb366fac1b3ea817f734c5698df3db8107436708"`
[INFO] [stderr]     Checking dange-rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `winapi`
[INFO] [stderr]  --> src/main.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use winapi::um::tlhelp32::{CreateToolhelp32Snapshot, TH32CS_SNAPPROCESS, Process32First, Process32Next, PROCESSENTRY32};
[INFO] [stderr]   |     ^^^^^^ use of undeclared type or module `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `winapi`
[INFO] [stderr]  --> src/main.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | use winapi::um::handleapi::{CloseHandle, INVALID_HANDLE_VALUE};
[INFO] [stderr]   |     ^^^^^^ use of undeclared type or module `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `winapi`
[INFO] [stderr]  --> src/main.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 6 | use winapi::um::winnt::{HANDLE, PROCESS_ALL_ACCESS};
[INFO] [stderr]   |     ^^^^^^ use of undeclared type or module `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `winapi`
[INFO] [stderr]  --> src/main.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 7 | use winapi::um::processthreadsapi::{GetPriorityClass, OpenProcess};
[INFO] [stderr]   |     ^^^^^^ use of undeclared type or module `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `winapi`
[INFO] [stderr]  --> src/main.rs:8:5
[INFO] [stderr]   |
[INFO] [stderr] 8 | use winapi::shared::minwindef::{TRUE, FALSE, MAX_PATH};
[INFO] [stderr]   |     ^^^^^^ use of undeclared type or module `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `PROCESSENTRY32` in this scope
[INFO] [stderr]   --> src/main.rs:56:28
[INFO] [stderr]    |
[INFO] [stderr] 56 | fn print_process(process: &PROCESSENTRY32) -> () {
[INFO] [stderr]    |                            ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `OpenProcess` in this scope
[INFO] [stderr]   --> src/main.rs:60:29
[INFO] [stderr]    |
[INFO] [stderr] 60 |             let h_process = OpenProcess(PROCESS_ALL_ACCESS, FALSE, process.th32ProcessID);
[INFO] [stderr]    |                             ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `PROCESS_ALL_ACCESS` in this scope
[INFO] [stderr]   --> src/main.rs:60:41
[INFO] [stderr]    |
[INFO] [stderr] 60 |             let h_process = OpenProcess(PROCESS_ALL_ACCESS, FALSE, process.th32ProcessID);
[INFO] [stderr]    |                                         ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `FALSE` in this scope
[INFO] [stderr]   --> src/main.rs:60:61
[INFO] [stderr]    |
[INFO] [stderr] 60 |             let h_process = OpenProcess(PROCESS_ALL_ACCESS, FALSE, process.th32ProcessID);
[INFO] [stderr]    |                                                             ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetPriorityClass` in this scope
[INFO] [stderr]   --> src/main.rs:61:13
[INFO] [stderr]    |
[INFO] [stderr] 61 |             GetPriorityClass(h_process)
[INFO] [stderr]    |             ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `PROCESSENTRY32` in this scope
[INFO] [stderr]   --> src/main.rs:74:27
[INFO] [stderr]    |
[INFO] [stderr] 74 | fn process_name(process: &PROCESSENTRY32) -> &str {
[INFO] [stderr]    |                           ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `MAX_PATH` in this scope
[INFO] [stderr]   --> src/main.rs:77:65
[INFO] [stderr]    |
[INFO] [stderr] 77 |     let len = exe_file.iter().position(|&ch| ch == 0).unwrap_or(MAX_PATH);
[INFO] [stderr]    |                                                                 ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `winapi`
[INFO] [stderr]  --> src/main.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use winapi::um::tlhelp32::{CreateToolhelp32Snapshot, TH32CS_SNAPPROCESS, Process32First, Process32Next, PROCESSENTRY32};
[INFO] [stderr]   |     ^^^^^^ use of undeclared type or module `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `winapi`
[INFO] [stderr]  --> src/main.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | use winapi::um::handleapi::{CloseHandle, INVALID_HANDLE_VALUE};
[INFO] [stderr]   |     ^^^^^^ use of undeclared type or module `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `winapi`
[INFO] [stderr]  --> src/main.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 6 | use winapi::um::winnt::{HANDLE, PROCESS_ALL_ACCESS};
[INFO] [stderr]   |     ^^^^^^ use of undeclared type or module `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `winapi`
[INFO] [stderr]  --> src/main.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 7 | use winapi::um::processthreadsapi::{GetPriorityClass, OpenProcess};
[INFO] [stderr]   |     ^^^^^^ use of undeclared type or module `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `winapi`
[INFO] [stderr]  --> src/main.rs:8:5
[INFO] [stderr]   |
[INFO] [stderr] 8 | use winapi::shared::minwindef::{TRUE, FALSE, MAX_PATH};
[INFO] [stderr]   |     ^^^^^^ use of undeclared type or module `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0061]: this function takes 1 argument but 0 arguments were supplied
[INFO] [stderr]   --> src/main.rs:83:5
[INFO] [stderr]    |
[INFO] [stderr] 51 | fn get_process_list(name: &str) -> Result<(), Error> {
[INFO] [stderr]    | ---------------------------------------------------- defined here
[INFO] [stderr] ...
[INFO] [stderr] 83 |     get_process_list().unwrap();
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^-- supplied 0 arguments
[INFO] [stderr]    |     |
[INFO] [stderr]    |     expected 1 argument
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 13 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0061, E0412, E0425, E0433.
[INFO] [stderr] For more information about an error, try `rustc --explain E0061`.
[INFO] [stderr] error[E0412]: cannot find type `PROCESSENTRY32` in this scope
[INFO] [stderr]   --> src/main.rs:56:28
[INFO] [stderr]    |
[INFO] [stderr] 56 | fn print_process(process: &PROCESSENTRY32) -> () {
[INFO] [stderr]    |                            ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `OpenProcess` in this scope
[INFO] [stderr]   --> src/main.rs:60:29
[INFO] [stderr]    |
[INFO] [stderr] 60 |             let h_process = OpenProcess(PROCESS_ALL_ACCESS, FALSE, process.th32ProcessID);
[INFO] [stderr]    |                             ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `PROCESS_ALL_ACCESS` in this scope
[INFO] [stderr]   --> src/main.rs:60:41
[INFO] [stderr]    |
[INFO] [stderr] 60 |             let h_process = OpenProcess(PROCESS_ALL_ACCESS, FALSE, process.th32ProcessID);
[INFO] [stderr]    |                                         ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `FALSE` in this scope
[INFO] [stderr]   --> src/main.rs:60:61
[INFO] [stderr]    |
[INFO] [stderr] 60 |             let h_process = OpenProcess(PROCESS_ALL_ACCESS, FALSE, process.th32ProcessID);
[INFO] [stderr]    |                                                             ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetPriorityClass` in this scope
[INFO] [stderr]   --> src/main.rs:61:13
[INFO] [stderr]    |
[INFO] [stderr] 61 |             GetPriorityClass(h_process)
[INFO] [stderr]    |             ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `PROCESSENTRY32` in this scope
[INFO] [stderr]   --> src/main.rs:74:27
[INFO] [stderr]    |
[INFO] [stderr] 74 | fn process_name(process: &PROCESSENTRY32) -> &str {
[INFO] [stderr]    |                           ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `MAX_PATH` in this scope
[INFO] [stderr]   --> src/main.rs:77:65
[INFO] [stderr]    |
[INFO] [stderr] 77 |     let len = exe_file.iter().position(|&ch| ch == 0).unwrap_or(MAX_PATH);
[INFO] [stderr]    |                                                                 ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error: could not compile `dange-rs`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error[E0061]: this function takes 1 argument but 0 arguments were supplied
[INFO] [stderr]   --> src/main.rs:83:5
[INFO] [stderr]    |
[INFO] [stderr] 51 | fn get_process_list(name: &str) -> Result<(), Error> {
[INFO] [stderr]    | ---------------------------------------------------- defined here
[INFO] [stderr] ...
[INFO] [stderr] 83 |     get_process_list().unwrap();
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^-- supplied 0 arguments
[INFO] [stderr]    |     |
[INFO] [stderr]    |     expected 1 argument
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 13 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0061, E0412, E0425, E0433.
[INFO] [stderr] For more information about an error, try `rustc --explain E0061`.
[INFO] [stderr] error: could not compile `dange-rs`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "909e30d7f9d815ecdae53315bb366fac1b3ea817f734c5698df3db8107436708"`
[INFO] running `"docker" "rm" "-f" "909e30d7f9d815ecdae53315bb366fac1b3ea817f734c5698df3db8107436708"`
[INFO] [stdout] 909e30d7f9d815ecdae53315bb366fac1b3ea817f734c5698df3db8107436708
