[INFO] updating cached repository Liano/procmon [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/Liano/procmon [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/Liano/procmon" "work/ex/beta-1.38-1/sources/1.37.0/gh/Liano/procmon"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.0/gh/Liano/procmon'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/Liano/procmon" "work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/Liano/procmon"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/Liano/procmon'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 1df5283b6d8353442667208414e19219bd77b387 [INFO] sha for GitHub repo Liano/procmon: 1df5283b6d8353442667208414e19219bd77b387 [INFO] validating manifest of Liano/procmon on toolchain 1.37.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of Liano/procmon on toolchain beta-2019-08-13 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing Liano/procmon [INFO] finished frobbing Liano/procmon [INFO] frobbed toml for Liano/procmon written to work/ex/beta-1.38-1/sources/1.37.0/gh/Liano/procmon/Cargo.toml [INFO] started frobbing Liano/procmon [INFO] finished frobbing Liano/procmon [INFO] frobbed toml for Liano/procmon written to work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/Liano/procmon/Cargo.toml [INFO] crate Liano/procmon already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing Liano/procmon against beta-2019-08-13 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-7/beta-2019-08-13:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/Liano/procmon:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+beta-2019-08-13" "build" "--frozen"` [INFO] [stdout] 2f275f3fbdf4c16bd7f57ff47e6cbfa1790f4d1134aa1539d6d3c07ef8346659 [INFO] running `"docker" "start" "-a" "2f275f3fbdf4c16bd7f57ff47e6cbfa1790f4d1134aa1539d6d3c07ef8346659"` [INFO] [stderr] Compiling procmon v0.1.0 (/opt/crater/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" "2f275f3fbdf4c16bd7f57ff47e6cbfa1790f4d1134aa1539d6d3c07ef8346659"` [INFO] running `"docker" "rm" "-f" "2f275f3fbdf4c16bd7f57ff47e6cbfa1790f4d1134aa1539d6d3c07ef8346659"` [INFO] [stdout] 2f275f3fbdf4c16bd7f57ff47e6cbfa1790f4d1134aa1539d6d3c07ef8346659