[INFO] cloning repository https://github.com/Liano/procmon [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Liano/procmon" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLiano%2Fprocmon", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLiano%2Fprocmon'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1df5283b6d8353442667208414e19219bd77b387 [INFO] checking Liano/procmon against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLiano%2Fprocmon" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Liano/procmon on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Liano/procmon [INFO] finished tweaking git repo https://github.com/Liano/procmon [INFO] tweaked toml for git repo https://github.com/Liano/procmon written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/Liano/procmon already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0c95d62550f5b936fd9cdebbe3dcfa2effd78d07bbed4b238974f12005d323d4 [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" "0c95d62550f5b936fd9cdebbe3dcfa2effd78d07bbed4b238974f12005d323d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0c95d62550f5b936fd9cdebbe3dcfa2effd78d07bbed4b238974f12005d323d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c95d62550f5b936fd9cdebbe3dcfa2effd78d07bbed4b238974f12005d323d4", kill_on_drop: false }` [INFO] [stdout] 0c95d62550f5b936fd9cdebbe3dcfa2effd78d07bbed4b238974f12005d323d4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5d46251c759832b3cc788fd54321c95fe06daabbaa7400f883946fa7c1cd0548 [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" "5d46251c759832b3cc788fd54321c95fe06daabbaa7400f883946fa7c1cd0548", kill_on_drop: false }` [INFO] [stderr] Checking procmon v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/process/process.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | use std::os::windows::raw::HANDLE; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `self::winapi::shlobj` [INFO] [stdout] --> src/process/process.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | use self::winapi::shlobj::INVALID_HANDLE_VALUE; [INFO] [stdout] | ^^^^^^ could not find `shlobj` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/process/process.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | use std::os::windows::raw::HANDLE; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `self::winapi::winerror` [INFO] [stdout] --> src/process/process.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | use self::winapi::winerror::ERROR_NO_MORE_FILES; [INFO] [stdout] | ^^^^^^^^ could not find `winerror` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `self::winapi::shlobj` [INFO] [stdout] --> src/process/process.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | use self::winapi::shlobj::INVALID_HANDLE_VALUE; [INFO] [stdout] | ^^^^^^ could not find `shlobj` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `self::winapi::tlhelp32` [INFO] [stdout] --> src/process/process.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | use self::winapi::tlhelp32::{PROCESSENTRY32W [INFO] [stdout] | ^^^^^^^^ could not find `tlhelp32` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `self::winapi::winerror` [INFO] [stdout] --> src/process/process.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | use self::winapi::winerror::ERROR_NO_MORE_FILES; [INFO] [stdout] | ^^^^^^^^ could not find `winerror` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `self::winapi::tlhelp32` [INFO] [stdout] --> src/process/process.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | use self::winapi::tlhelp32::{PROCESSENTRY32W [INFO] [stdout] | ^^^^^^^^ could not find `tlhelp32` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `self::winapi::minwindef` [INFO] [stdout] --> src/process/process.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 16 | use self::winapi::minwindef::{DWORD [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `self::winapi::minwindef` [INFO] [stdout] --> src/process/process.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 16 | use self::winapi::minwindef::{DWORD [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/process/helper.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | 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: could not find `windows` in `os` [INFO] [stdout] --> src/process/helper.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use std::os::windows::ffi::OsStringExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `self::winapi::tlhelp32` [INFO] [stdout] --> src/process/process.rs:19:19 [INFO] [stdout] | [INFO] [stdout] 19 | use self::winapi::tlhelp32::{TH32CS_SNAPPROCESS [INFO] [stdout] | ^^^^^^^^ could not find `tlhelp32` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `self::winapi::tlhelp32` [INFO] [stdout] --> src/process/process.rs:19:19 [INFO] [stdout] | [INFO] [stdout] 19 | use self::winapi::tlhelp32::{TH32CS_SNAPPROCESS [INFO] [stdout] | ^^^^^^^^ could not find `tlhelp32` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/process/process.rs:78:32 [INFO] [stdout] | [INFO] [stdout] 78 | fn get_next(snapshot_handle: HANDLE) -> Result, String> { [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 crate `kernel32` [INFO] [stdout] --> src/process/process.rs:82:45 [INFO] [stdout] | [INFO] [stdout] 82 | let return_state = unsafe { kernel32::Process32NextW(snapshot_handle, mut_win_process_entry) }; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/process/process.rs:102:29 [INFO] [stdout] | [INFO] [stdout] 31 | impl Process { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 102 | fn get_first() -> Result<(HANDLE, Process), String> { [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 crate `kernel32` [INFO] [stdout] --> src/process/process.rs:103:46 [INFO] [stdout] | [INFO] [stdout] 103 | let snapshot_handle = unsafe { kernel32::CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Process32FirstW` in crate `kernel32` [INFO] [stdout] --> src/process/process.rs:111:45 [INFO] [stdout] | [INFO] [stdout] 111 | let return_state = unsafe { kernel32::Process32FirstW(snapshot_handle, a) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateToolhelp32Snapshot` in crate `kernel32` [INFO] [stdout] --> src/process/process.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | ::CreateToolhelp32Snapshot(TH32CS_SNAPMODULE, *process_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Module32FirstW` in crate `kernel32` [INFO] [stdout] --> src/process/process.rs:142:19 [INFO] [stdout] | [INFO] [stdout] 142 | kernel32::Module32FirstW(snapshot_handle, mdl) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/process/process.rs:183:27 [INFO] [stdout] | [INFO] [stdout] 183 | fn close_handle(handle: HANDLE) { [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 crate `kernel32` [INFO] [stdout] --> src/process/process.rs:184:24 [INFO] [stdout] | [INFO] [stdout] 184 | unsafe { kernel32::CloseHandle(handle) }; [INFO] [stdout] | ^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/process/process.rs:53:35 [INFO] [stdout] | [INFO] [stdout] 53 | let (handle, first_process) = try!(Process::get_first()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/process/process.rs:97:18 [INFO] [stdout] | [INFO] [stdout] 97 | let module = try!(Process::get_main_module(&win_process_entry.th32ProcessID)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/process/process.rs:119:18 [INFO] [stdout] | [INFO] [stdout] 119 | let module = try!(Process::get_main_module(&process_id)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/process/process.rs:78:32 [INFO] [stdout] | [INFO] [stdout] 78 | fn get_next(snapshot_handle: HANDLE) -> Result, String> { [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 crate `kernel32` [INFO] [stdout] --> src/process/process.rs:82:45 [INFO] [stdout] | [INFO] [stdout] 82 | let return_state = unsafe { kernel32::Process32NextW(snapshot_handle, mut_win_process_entry) }; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/process/process.rs:102:29 [INFO] [stdout] | [INFO] [stdout] 31 | impl Process { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 102 | fn get_first() -> Result<(HANDLE, Process), String> { [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 crate `kernel32` [INFO] [stdout] --> src/process/process.rs:103:46 [INFO] [stdout] | [INFO] [stdout] 103 | let snapshot_handle = unsafe { kernel32::CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Process32FirstW` in crate `kernel32` [INFO] [stdout] --> src/process/process.rs:111:45 [INFO] [stdout] | [INFO] [stdout] 111 | let return_state = unsafe { kernel32::Process32FirstW(snapshot_handle, a) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateToolhelp32Snapshot` in crate `kernel32` [INFO] [stdout] --> src/process/process.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | ::CreateToolhelp32Snapshot(TH32CS_SNAPMODULE, *process_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Module32FirstW` in crate `kernel32` [INFO] [stdout] --> src/process/process.rs:142:19 [INFO] [stdout] | [INFO] [stdout] 142 | kernel32::Module32FirstW(snapshot_handle, mdl) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/process/process.rs:183:27 [INFO] [stdout] | [INFO] [stdout] 183 | fn close_handle(handle: HANDLE) { [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 crate `kernel32` [INFO] [stdout] --> src/process/process.rs:184:24 [INFO] [stdout] | [INFO] [stdout] 184 | unsafe { kernel32::CloseHandle(handle) }; [INFO] [stdout] | ^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/process/process.rs:53:35 [INFO] [stdout] | [INFO] [stdout] 53 | let (handle, first_process) = try!(Process::get_first()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/process/process.rs:97:18 [INFO] [stdout] | [INFO] [stdout] 97 | let module = try!(Process::get_main_module(&win_process_entry.th32ProcessID)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/process/process.rs:119:18 [INFO] [stdout] | [INFO] [stdout] 119 | let module = try!(Process::get_main_module(&process_id)); [INFO] [stdout] | ^^^ [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/process/helper.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 10 | let os_str = OsString::from_wide(trimmed_wide); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `OsString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 17 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `procmon` [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] [stdout] error[E0599]: no function or associated item named `from_wide` found for struct `OsString` in the current scope [INFO] [stdout] --> src/process/helper.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 10 | let os_str = OsString::from_wide(trimmed_wide); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `OsString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 17 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "5d46251c759832b3cc788fd54321c95fe06daabbaa7400f883946fa7c1cd0548", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d46251c759832b3cc788fd54321c95fe06daabbaa7400f883946fa7c1cd0548", kill_on_drop: false }` [INFO] [stdout] 5d46251c759832b3cc788fd54321c95fe06daabbaa7400f883946fa7c1cd0548