[INFO] updating cached repository https://github.com/mrfu510n/dange-rs [INFO] running `Command { std: "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", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 029abe896131bc9fe1ca867e0d3ac731af2463e4 [INFO] testing mrfu510n/dange-rs against 1.45.2 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmrfu510n%2Fdange-rs" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mrfu510n/dange-rs on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-12/source/Cargo.toml [INFO] crate git repo https://github.com/mrfu510n/dange-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "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] 9d27c240979a6e3846f39ca0f3c5427466909623a57c72f53d4cb3871049d737 [INFO] running `Command { std: "docker" "start" "-a" "9d27c240979a6e3846f39ca0f3c5427466909623a57c72f53d4cb3871049d737", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9d27c240979a6e3846f39ca0f3c5427466909623a57c72f53d4cb3871049d737", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d27c240979a6e3846f39ca0f3c5427466909623a57c72f53d4cb3871049d737", kill_on_drop: false }` [INFO] [stdout] 9d27c240979a6e3846f39ca0f3c5427466909623a57c72f53d4cb3871049d737 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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=warn" "-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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1ad3c8bbb0a228860493509c7dfcff28cd64bb79d89d499066607d8017a0d2bb [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" "1ad3c8bbb0a228860493509c7dfcff28cd64bb79d89d499066607d8017a0d2bb", kill_on_drop: false }` [INFO] [stderr] Compiling dange-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `winapi` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::um::tlhelp32::{CreateToolhelp32Snapshot, TH32CS_SNAPPROCESS, Process32First, Process32Next, PROCESSENTRY32}; [INFO] [stdout] | ^^^^^^ use of undeclared type or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `winapi` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::um::handleapi::{CloseHandle, INVALID_HANDLE_VALUE}; [INFO] [stdout] | ^^^^^^ use of undeclared type or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `winapi` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::um::winnt::{HANDLE, PROCESS_ALL_ACCESS}; [INFO] [stdout] | ^^^^^^ use of undeclared type or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `winapi` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::um::processthreadsapi::{GetPriorityClass, OpenProcess}; [INFO] [stdout] | ^^^^^^ use of undeclared type or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `winapi` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::shared::minwindef::{TRUE, FALSE, MAX_PATH}; [INFO] [stdout] | ^^^^^^ use of undeclared type or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PROCESSENTRY32` in this scope [INFO] [stdout] --> src/main.rs:56:28 [INFO] [stdout] | [INFO] [stdout] 56 | fn print_process(process: &PROCESSENTRY32) -> () { [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:60:29 [INFO] [stdout] | [INFO] [stdout] 60 | let h_process = OpenProcess(PROCESS_ALL_ACCESS, FALSE, process.th32ProcessID); [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:60:41 [INFO] [stdout] | [INFO] [stdout] 60 | let h_process = OpenProcess(PROCESS_ALL_ACCESS, FALSE, process.th32ProcessID); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/main.rs:60:61 [INFO] [stdout] | [INFO] [stdout] 60 | let h_process = OpenProcess(PROCESS_ALL_ACCESS, FALSE, process.th32ProcessID); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetPriorityClass` in this scope [INFO] [stdout] --> src/main.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | GetPriorityClass(h_process) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PROCESSENTRY32` in this scope [INFO] [stdout] --> src/main.rs:74:27 [INFO] [stdout] | [INFO] [stdout] 74 | fn process_name(process: &PROCESSENTRY32) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MAX_PATH` in this scope [INFO] [stdout] --> src/main.rs:77:65 [INFO] [stdout] | [INFO] [stdout] 77 | let len = exe_file.iter().position(|&ch| ch == 0).unwrap_or(MAX_PATH); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/main.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 51 | fn get_process_list(name: &str) -> Result<(), Error> { [INFO] [stdout] | ---------------------------------------------------- defined here [INFO] [stdout] ... [INFO] [stdout] 83 | get_process_list().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^-- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0412, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `dange-rs`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "1ad3c8bbb0a228860493509c7dfcff28cd64bb79d89d499066607d8017a0d2bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ad3c8bbb0a228860493509c7dfcff28cd64bb79d89d499066607d8017a0d2bb", kill_on_drop: false }` [INFO] [stdout] 1ad3c8bbb0a228860493509c7dfcff28cd64bb79d89d499066607d8017a0d2bb