[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] documenting heilhead/rust-fmi against beta-2022-05-20 for beta-1.62-rustdoc-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fheilhead%2Frust-fmi" "/workspace/builds/worker-18/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-18/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/heilhead/rust-fmi on toolchain beta-2022-05-20 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-05-20" "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-18/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: "/workspace/cargo-home/bin/cargo" "+beta-2022-05-20" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-05-20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 115d1e7b432cda5c8e03ec0af96038f488ec7e6592ba839d96f3efe88ce3bc07 [INFO] running `Command { std: "docker" "start" "-a" "115d1e7b432cda5c8e03ec0af96038f488ec7e6592ba839d96f3efe88ce3bc07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "115d1e7b432cda5c8e03ec0af96038f488ec7e6592ba839d96f3efe88ce3bc07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "115d1e7b432cda5c8e03ec0af96038f488ec7e6592ba839d96f3efe88ce3bc07", kill_on_drop: false }` [INFO] [stdout] 115d1e7b432cda5c8e03ec0af96038f488ec7e6592ba839d96f3efe88ce3bc07 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/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" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-05-20" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 50e15cf5512baeded7d285ad286245d45f409663986ec0197494dbb532ac4c2b [INFO] running `Command { std: "docker" "start" "-a" "50e15cf5512baeded7d285ad286245d45f409663986ec0197494dbb532ac4c2b", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking lazy_static v1.4.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 semver v0.9.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Checking num_cpus v1.11.1 [INFO] [stderr] Checking crossbeam-queue v0.2.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] 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] note: required by a bound in `collect` [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] 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] note: required by a bound in `collect` [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` due to 18 previous errors [INFO] running `Command { std: "docker" "inspect" "50e15cf5512baeded7d285ad286245d45f409663986ec0197494dbb532ac4c2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "50e15cf5512baeded7d285ad286245d45f409663986ec0197494dbb532ac4c2b", kill_on_drop: false }` [INFO] [stdout] 50e15cf5512baeded7d285ad286245d45f409663986ec0197494dbb532ac4c2b