[INFO] updating cached repository https://github.com/Luchanso/dota-memory-test [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] 60c37d415051ced600a3f0f622139afaa8e8fbfd [INFO] testing Luchanso/dota-memory-test against beta-2020-06-03 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLuchanso%2Fdota-memory-test" "/workspace/builds/worker-2/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Luchanso/dota-memory-test on toolchain beta-2020-06-03 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/Luchanso/dota-memory-test [INFO] finished tweaking git repo https://github.com/Luchanso/dota-memory-test [INFO] tweaked toml for git repo https://github.com/Luchanso/dota-memory-test written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/Luchanso/dota-memory-test already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-06-03" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 4bfffce240d511764276d88e9543891d31414dd2038625338481bcfe3f501c9f [INFO] running `"docker" "start" "-a" "4bfffce240d511764276d88e9543891d31414dd2038625338481bcfe3f501c9f"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling winapi v0.3.8 [INFO] [stderr] Compiling wio v0.2.2 [INFO] [stderr] Compiling dota-memory-test v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stderr] --> src/mem_lib.rs:7:14 [INFO] [stderr] | [INFO] [stderr] 7 | use std::os::windows::prelude::*; [INFO] [stderr] | ^^^^^^^ could not find `windows` in `os` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/mem_lib.rs:9:13 [INFO] [stderr] | [INFO] [stderr] 9 | use winapi::shared::ntdef::HANDLE; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/mem_lib.rs:10:13 [INFO] [stderr] | [INFO] [stderr] 10 | use winapi::um::memoryapi::ReadProcessMemory; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/mem_lib.rs:11:13 [INFO] [stderr] | [INFO] [stderr] 11 | use winapi::um::processthreadsapi::OpenProcess; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stderr] --> src/mem_lib.rs:8:13 [INFO] [stderr] | [INFO] [stderr] 8 | use winapi::ctypes::c_void; [INFO] [stderr] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/mem_lib.rs:13:13 [INFO] [stderr] | [INFO] [stderr] 13 | use winapi::um::winnt::PROCESS_VM_READ; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::um` [INFO] [stderr] --> src/mem_lib.rs:12:13 [INFO] [stderr] | [INFO] [stderr] 12 | use winapi::um::tlhelp32; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stderr] --> src/mem_lib.rs:16:14 [INFO] [stderr] | [INFO] [stderr] 16 | handler: HANDLE, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stderr] --> src/mem_lib.rs:20:23 [INFO] [stderr] | [INFO] [stderr] 20 | fn new(m_handler: HANDLE) -> Process { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `ReadProcessMemory` in this scope [INFO] [stderr] --> src/mem_lib.rs:28:13 [INFO] [stderr] | [INFO] [stderr] 28 | ReadProcessMemory( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `OpenProcess` in this scope [INFO] [stderr] --> src/mem_lib.rs:42:34 [INFO] [stderr] | [INFO] [stderr] 42 | return Process::new(unsafe { OpenProcess(PROCESS_VM_READ, 0, pid) }); [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `PROCESS_VM_READ` in this scope [INFO] [stderr] --> src/mem_lib.rs:42:46 [INFO] [stderr] | [INFO] [stderr] 42 | return Process::new(unsafe { OpenProcess(PROCESS_VM_READ, 0, pid) }); [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [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/mem_lib.rs:62:42 [INFO] [stderr] | [INFO] [stderr] 62 | let process_name = OsString::from_wide(&process.szExeFile); [INFO] [stderr] | ^^^^^^^^^ function or associated item not found in `std::ffi::OsString` [INFO] [stderr] [INFO] [stderr] error: aborting due to 13 previous errors [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 `dota-memory-test`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "4bfffce240d511764276d88e9543891d31414dd2038625338481bcfe3f501c9f"` [INFO] running `"docker" "rm" "-f" "4bfffce240d511764276d88e9543891d31414dd2038625338481bcfe3f501c9f"` [INFO] [stdout] 4bfffce240d511764276d88e9543891d31414dd2038625338481bcfe3f501c9f