[INFO] updating cached repository https://github.com/Liano/procmon [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] 1df5283b6d8353442667208414e19219bd77b387 [INFO] checking Liano/procmon against try#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLiano%2Fprocmon" "/workspace/builds/worker-14/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Liano/procmon on toolchain e4dba30b9b475d8750370c4dfb49b6541990904d [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "read-manifest" "--manifest-path" "Cargo.toml"` [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-14/source/Cargo.toml [INFO] crate git repo https://github.com/Liano/procmon already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "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-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "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] c35c242724b9dd6425504cddbb8a25c34056b21bbb911b2aaefcffa84cf52267 [INFO] running `"docker" "start" "-a" "c35c242724b9dd6425504cddbb8a25c34056b21bbb911b2aaefcffa84cf52267"` [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Checking procmon v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stderr] --> src/process/process.rs:7:14 [INFO] [stderr] | [INFO] [stderr] 7 | use std::os::windows::raw::HANDLE; [INFO] [stderr] | ^^^^^^^ could not find `windows` in `os` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `self::winapi::shlobj` [INFO] [stderr] --> src/process/process.rs:11:19 [INFO] [stderr] | [INFO] [stderr] 11 | use self::winapi::shlobj::INVALID_HANDLE_VALUE; [INFO] [stderr] | ^^^^^^ could not find `shlobj` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `self::winapi::winerror` [INFO] [stderr] --> src/process/process.rs:12:19 [INFO] [stderr] | [INFO] [stderr] 12 | use self::winapi::winerror::ERROR_NO_MORE_FILES; [INFO] [stderr] | ^^^^^^^^ could not find `winerror` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `self::winapi::tlhelp32` [INFO] [stderr] --> src/process/process.rs:13:19 [INFO] [stderr] | [INFO] [stderr] 13 | use self::winapi::tlhelp32::{PROCESSENTRY32W [INFO] [stderr] | ^^^^^^^^ could not find `tlhelp32` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `self::winapi::minwindef` [INFO] [stderr] --> src/process/process.rs:16:19 [INFO] [stderr] | [INFO] [stderr] 16 | use self::winapi::minwindef::{DWORD [INFO] [stderr] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stderr] --> src/process/helper.rs:3:14 [INFO] [stderr] | [INFO] [stderr] 3 | use std::os::windows::ffi::OsStringExt; [INFO] [stderr] | ^^^^^^^ could not find `windows` in `os` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `self::winapi::tlhelp32` [INFO] [stderr] --> src/process/process.rs:19:19 [INFO] [stderr] | [INFO] [stderr] 19 | use self::winapi::tlhelp32::{TH32CS_SNAPPROCESS [INFO] [stderr] | ^^^^^^^^ could not find `tlhelp32` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stderr] --> src/process/process.rs:7:14 [INFO] [stderr] | [INFO] [stderr] 7 | use std::os::windows::raw::HANDLE; [INFO] [stderr] | ^^^^^^^ could not find `windows` in `os` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `self::winapi::shlobj` [INFO] [stderr] --> src/process/process.rs:11:19 [INFO] [stderr] | [INFO] [stderr] 11 | use self::winapi::shlobj::INVALID_HANDLE_VALUE; [INFO] [stderr] | ^^^^^^ could not find `shlobj` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `self::winapi::winerror` [INFO] [stderr] --> src/process/process.rs:12:19 [INFO] [stderr] | [INFO] [stderr] 12 | use self::winapi::winerror::ERROR_NO_MORE_FILES; [INFO] [stderr] | ^^^^^^^^ could not find `winerror` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `self::winapi::tlhelp32` [INFO] [stderr] --> src/process/process.rs:13:19 [INFO] [stderr] | [INFO] [stderr] 13 | use self::winapi::tlhelp32::{PROCESSENTRY32W [INFO] [stderr] | ^^^^^^^^ could not find `tlhelp32` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `self::winapi::minwindef` [INFO] [stderr] --> src/process/process.rs:16:19 [INFO] [stderr] | [INFO] [stderr] 16 | use self::winapi::minwindef::{DWORD [INFO] [stderr] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stderr] --> src/process/helper.rs:3:14 [INFO] [stderr] | [INFO] [stderr] 3 | use std::os::windows::ffi::OsStringExt; [INFO] [stderr] | ^^^^^^^ could not find `windows` in `os` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `self::winapi::tlhelp32` [INFO] [stderr] --> src/process/process.rs:19:19 [INFO] [stderr] | [INFO] [stderr] 19 | use self::winapi::tlhelp32::{TH32CS_SNAPPROCESS [INFO] [stderr] | ^^^^^^^^ could not find `tlhelp32` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stderr] --> src/process/process.rs:78:32 [INFO] [stderr] | [INFO] [stderr] 78 | fn get_next(snapshot_handle: HANDLE) -> Result, String> { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `Process32NextW` in crate `kernel32` [INFO] [stderr] --> src/process/process.rs:82:45 [INFO] [stderr] | [INFO] [stderr] 82 | let return_state = unsafe { kernel32::Process32NextW(snapshot_handle, mut_win_process_entry) }; [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in `kernel32` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stderr] --> src/process/process.rs:102:29 [INFO] [stderr] | [INFO] [stderr] 31 | impl Process { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 102 | fn get_first() -> Result<(HANDLE, Process), String> { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `CreateToolhelp32Snapshot` in crate `kernel32` [INFO] [stderr] --> src/process/process.rs:103:46 [INFO] [stderr] | [INFO] [stderr] 103 | let snapshot_handle = unsafe { kernel32::CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in `kernel32` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `Process32FirstW` in crate `kernel32` [INFO] [stderr] --> src/process/process.rs:111:45 [INFO] [stderr] | [INFO] [stderr] 111 | let return_state = unsafe { kernel32::Process32FirstW(snapshot_handle, a) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in `kernel32` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `CreateToolhelp32Snapshot` in crate `kernel32` [INFO] [stderr] --> src/process/process.rs:131:9 [INFO] [stderr] | [INFO] [stderr] 131 | ::CreateToolhelp32Snapshot(TH32CS_SNAPMODULE, *process_id) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in `kernel32` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `Module32FirstW` in crate `kernel32` [INFO] [stderr] --> src/process/process.rs:142:19 [INFO] [stderr] | [INFO] [stderr] 142 | kernel32::Module32FirstW(snapshot_handle, mdl) [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in `kernel32` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stderr] --> src/process/process.rs:183:27 [INFO] [stderr] | [INFO] [stderr] 183 | fn close_handle(handle: HANDLE) { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in crate `kernel32` [INFO] [stderr] --> src/process/process.rs:184:24 [INFO] [stderr] | [INFO] [stderr] 184 | unsafe { kernel32::CloseHandle(handle) }; [INFO] [stderr] | ^^^^^^^^^^^ not found in `kernel32` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/process/process.rs:53:35 [INFO] [stderr] | [INFO] [stderr] 53 | let (handle, first_process) = try!(Process::get_first()); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/process/process.rs:97:18 [INFO] [stderr] | [INFO] [stderr] 97 | let module = try!(Process::get_main_module(&win_process_entry.th32ProcessID)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/process/process.rs:119:18 [INFO] [stderr] | [INFO] [stderr] 119 | let module = try!(Process::get_main_module(&process_id)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stderr] --> src/process/process.rs:78:32 [INFO] [stderr] | [INFO] [stderr] 78 | fn get_next(snapshot_handle: HANDLE) -> Result, String> { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `Process32NextW` in crate `kernel32` [INFO] [stderr] --> src/process/process.rs:82:45 [INFO] [stderr] | [INFO] [stderr] 82 | let return_state = unsafe { kernel32::Process32NextW(snapshot_handle, mut_win_process_entry) }; [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in `kernel32` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stderr] --> src/process/process.rs:102:29 [INFO] [stderr] | [INFO] [stderr] 31 | impl Process { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 102 | fn get_first() -> Result<(HANDLE, Process), String> { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `CreateToolhelp32Snapshot` in crate `kernel32` [INFO] [stderr] --> src/process/process.rs:103:46 [INFO] [stderr] | [INFO] [stderr] 103 | let snapshot_handle = unsafe { kernel32::CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in `kernel32` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `Process32FirstW` in crate `kernel32` [INFO] [stderr] --> src/process/process.rs:111:45 [INFO] [stderr] | [INFO] [stderr] 111 | let return_state = unsafe { kernel32::Process32FirstW(snapshot_handle, a) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in `kernel32` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `CreateToolhelp32Snapshot` in crate `kernel32` [INFO] [stderr] --> src/process/process.rs:131:9 [INFO] [stderr] | [INFO] [stderr] 131 | ::CreateToolhelp32Snapshot(TH32CS_SNAPMODULE, *process_id) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in `kernel32` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `Module32FirstW` in crate `kernel32` [INFO] [stderr] --> src/process/process.rs:142:19 [INFO] [stderr] | [INFO] [stderr] 142 | kernel32::Module32FirstW(snapshot_handle, mdl) [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in `kernel32` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stderr] --> src/process/process.rs:183:27 [INFO] [stderr] | [INFO] [stderr] 183 | fn close_handle(handle: HANDLE) { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in crate `kernel32` [INFO] [stderr] --> src/process/process.rs:184:24 [INFO] [stderr] | [INFO] [stderr] 184 | unsafe { kernel32::CloseHandle(handle) }; [INFO] [stderr] | ^^^^^^^^^^^ not found in `kernel32` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/process/process.rs:53:35 [INFO] [stderr] | [INFO] [stderr] 53 | let (handle, first_process) = try!(Process::get_first()); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/process/process.rs:97:18 [INFO] [stderr] | [INFO] [stderr] 97 | let module = try!(Process::get_main_module(&win_process_entry.th32ProcessID)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/process/process.rs:119:18 [INFO] [stderr] | [INFO] [stderr] 119 | let module = try!(Process::get_main_module(&process_id)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `from_wide` found for struct `std::ffi::OsString` in the current scope [INFO] [stderr] --> src/process/helper.rs:10:26 [INFO] [stderr] | [INFO] [stderr] 10 | let os_str = OsString::from_wide(trimmed_wide); [INFO] [stderr] | ^^^^^^^^^ function or associated item not found in `std::ffi::OsString` [INFO] [stderr] [INFO] [stderr] error: aborting due to 17 previous errors; 3 warnings emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0425, E0432, E0433, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [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] [stderr] error[E0599]: no function or associated item named `from_wide` found for struct `std::ffi::OsString` in the current scope [INFO] [stderr] --> src/process/helper.rs:10:26 [INFO] [stderr] | [INFO] [stderr] 10 | let os_str = OsString::from_wide(trimmed_wide); [INFO] [stderr] | ^^^^^^^^^ function or associated item not found in `std::ffi::OsString` [INFO] [stderr] [INFO] [stderr] error: aborting due to 17 previous errors; 3 warnings emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0425, E0432, E0433, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: could not compile `procmon`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "c35c242724b9dd6425504cddbb8a25c34056b21bbb911b2aaefcffa84cf52267"` [INFO] running `"docker" "rm" "-f" "c35c242724b9dd6425504cddbb8a25c34056b21bbb911b2aaefcffa84cf52267"` [INFO] [stdout] c35c242724b9dd6425504cddbb8a25c34056b21bbb911b2aaefcffa84cf52267