[INFO] cloning repository https://github.com/heilhead/rust-fmi [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/heilhead/rust-fmi" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fheilhead%2Frust-fmi", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fheilhead%2Frust-fmi'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 26437f51f6fab873a31214ffd729ce41ac9b81c0 [INFO] checking heilhead/rust-fmi against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fheilhead%2Frust-fmi" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/heilhead/rust-fmi on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/heilhead/rust-fmi [INFO] finished tweaking git repo https://github.com/heilhead/rust-fmi [INFO] tweaked toml for git repo https://github.com/heilhead/rust-fmi written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/heilhead/rust-fmi already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded hermit-abi v0.1.5 [INFO] [stderr] Downloaded sysinfo v0.10.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 83b84f219b8cd3e52a377eb62a8c515f386aea0e07f126842fbbc2a10ccb42d7 [INFO] running `Command { std: "docker" "start" "-a" "83b84f219b8cd3e52a377eb62a8c515f386aea0e07f126842fbbc2a10ccb42d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "83b84f219b8cd3e52a377eb62a8c515f386aea0e07f126842fbbc2a10ccb42d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83b84f219b8cd3e52a377eb62a8c515f386aea0e07f126842fbbc2a10ccb42d7", kill_on_drop: false }` [INFO] [stdout] 83b84f219b8cd3e52a377eb62a8c515f386aea0e07f126842fbbc2a10ccb42d7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b17451bebc3b4edbe00d5d2ae88e36cd7c5f2dee2959ff71ea53dc6612a26afa [INFO] running `Command { std: "docker" "start" "-a" "b17451bebc3b4edbe00d5d2ae88e36cd7c5f2dee2959ff71ea53dc6612a26afa", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling doc-comment v0.3.1 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Compiling sysinfo v0.10.3 [INFO] [stderr] Compiling winapi v0.3.8 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Checking crossbeam-queue v0.2.1 [INFO] [stderr] Checking num_cpus v1.11.1 [INFO] [stderr] Checking crossbeam-deque v0.7.2 [INFO] [stderr] Checking rayon v1.3.0 [INFO] [stderr] Checking fmi v0.1.0 (/opt/rustwide/workdir/crates/fmi) [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> crates/fmi/src/memory.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::um::memoryapi::ReadProcessMemory; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> crates/fmi/src/process.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::shared::minwindef::{DWORD, HMODULE}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> crates/fmi/src/process.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::um::{psapi::MODULEINFO, winnt::HANDLE}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> crates/fmi/src/process.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | use winapi::um::processthreadsapi::OpenProcess; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> crates/fmi/src/process.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | use winapi::um::winnt::PROCESS_ALL_ACCESS; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> crates/fmi/src/process.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 62 | use winapi::shared::ntdef::LUID; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> crates/fmi/src/process.rs:63:17 [INFO] [stdout] | [INFO] [stdout] 63 | use winapi::um::securitybaseapi::AdjustTokenPrivileges; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> crates/fmi/src/process.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 64 | use winapi::um::winbase::LookupPrivilegeValueA; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> crates/fmi/src/process.rs:65:17 [INFO] [stdout] | [INFO] [stdout] 65 | use winapi::um::winnt::{LUID_AND_ATTRIBUTES, SE_PRIVILEGE_ENABLED, TOKEN_PRIVILEGES}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> crates/fmi/src/process.rs:111:17 [INFO] [stdout] | [INFO] [stdout] 111 | use winapi::um::processthreadsapi::{GetCurrentProcess, OpenProcessToken}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> crates/fmi/src/process.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | use winapi::um::winnt::{SE_DEBUG_NAME, TOKEN_ADJUST_PRIVILEGES}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> crates/fmi/src/process.rs:139:17 [INFO] [stdout] | [INFO] [stdout] 139 | use winapi::um::psapi::GetModuleInformation; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> crates/fmi/src/process.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | use winapi::um::psapi::{EnumProcessModules, GetModuleBaseNameA}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ctypes` in `winapi` [INFO] [stdout] --> crates/fmi/src/process.rs:10:39 [INFO] [stdout] | [INFO] [stdout] 10 | pub type ProcessHandle = *mut winapi::ctypes::c_void; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> crates/fmi/src/process.rs:14:25 [INFO] [stdout] | [INFO] [stdout] 14 | if unsafe { winapi::um::handleapi::CloseHandle(handle) } == 0 { [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: a value of type `Vec` cannot be built from an iterator over elements of type `&Process` [INFO] [stdout] --> crates/fmi/src/process.rs:34:36 [INFO] [stdout] | [INFO] [stdout] 31 | let iter = system.get_process_list().values().map(|v| v.clone()); [INFO] [stdout] | ------- this method call is cloning the reference `&Process`, not `Process` which doesn't implement `Clone` [INFO] [stdout] ... [INFO] [stdout] 34 | iter.filter(|p| filter(p)).collect() [INFO] [stdout] | ^^^^^^^ value of type `Vec` cannot be built from `std::iter::Iterator` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromIterator<&Process>` is not implemented for `Vec` [INFO] [stdout] = help: the trait `FromIterator` is implemented for `Vec` [INFO] [stdout] = help: for that trait implementation, expected `Process`, found `&Process` [INFO] [stdout] note: required by a bound in `collect` [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/iter/traits/iterator.rs:1999:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: a value of type `Vec` cannot be built from an iterator over elements of type `&Process` [INFO] [stdout] --> crates/fmi/src/process.rs:36:14 [INFO] [stdout] | [INFO] [stdout] 31 | let iter = system.get_process_list().values().map(|v| v.clone()); [INFO] [stdout] | ------- this method call is cloning the reference `&Process`, not `Process` which doesn't implement `Clone` [INFO] [stdout] ... [INFO] [stdout] 36 | iter.collect() [INFO] [stdout] | ^^^^^^^ value of type `Vec` cannot be built from `std::iter::Iterator` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromIterator<&Process>` is not implemented for `Vec` [INFO] [stdout] = help: the trait `FromIterator` is implemented for `Vec` [INFO] [stdout] = help: for that trait implementation, expected `Process`, found `&Process` [INFO] [stdout] note: required by a bound in `collect` [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/iter/traits/iterator.rs:1999:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 17 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fmi` (lib) due to 18 previous errors [INFO] running `Command { std: "docker" "inspect" "b17451bebc3b4edbe00d5d2ae88e36cd7c5f2dee2959ff71ea53dc6612a26afa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b17451bebc3b4edbe00d5d2ae88e36cd7c5f2dee2959ff71ea53dc6612a26afa", kill_on_drop: false }` [INFO] [stdout] b17451bebc3b4edbe00d5d2ae88e36cd7c5f2dee2959ff71ea53dc6612a26afa