[INFO] updating cached repository https://github.com/Liano/procmon [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/big/crater/work/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] testing Liano/procmon against 1.38.0 for beta-1.39-1 [INFO] running `"git" "clone" "work/cache/git-repos/https%3A%2F%2Fgithub.com%2FLiano%2Fprocmon" "work/builds/worker-11/source"` [INFO] [stderr] Cloning into 'work/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Liano/procmon on toolchain 1.38.0 [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "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 work/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/Liano/procmon already has a lockfile, it will not be regenerated [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-11/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-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" "/opt/rustwide/cargo-home/bin/cargo" "+1.38.0" "build" "--frozen"` [INFO] [stdout] e0ebb089c016c0104f08e67f533df5d0fba23df347dad94f389f669390229a65 [INFO] running `"docker" "start" "-a" "e0ebb089c016c0104f08e67f533df5d0fba23df347dad94f389f669390229a65"` [INFO] [stderr] Compiling 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[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 `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] 102 | fn get_first() -> Result<(HANDLE, Process), String> { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `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 `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 `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 `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 `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: unused import: `std::os::windows::raw::HANDLE` [INFO] [stderr] --> src/process/process.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use std::os::windows::raw::HANDLE; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::os::windows::ffi::OsStringExt` [INFO] [stderr] --> src/process/helper.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use std::os::windows::ffi::OsStringExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0277]: the size for values of type `[u16]` cannot be known at compilation time [INFO] [stderr] --> src/process/process.rs:200:9 [INFO] [stderr] | [INFO] [stderr] 200 | let name = self.win_process_entry.szExeFile; [INFO] [stderr] | ^^^^ doesn't have a size known at compile-time [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::marker::Sized` is not implemented for `[u16]` [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] = note: all local variables must have a statically known size [INFO] [stderr] = help: unsized locals are gated as an unstable feature [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `from_wide` found for type `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 18 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0412, E0425, E0432, E0433, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error: Could not compile `procmon`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "e0ebb089c016c0104f08e67f533df5d0fba23df347dad94f389f669390229a65"` [INFO] running `"docker" "rm" "-f" "e0ebb089c016c0104f08e67f533df5d0fba23df347dad94f389f669390229a65"` [INFO] [stdout] e0ebb089c016c0104f08e67f533df5d0fba23df347dad94f389f669390229a65