[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#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fheilhead%2Frust-fmi" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/heilhead/rust-fmi on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "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-1-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" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ntapi v0.3.3 [INFO] [stderr] Downloaded sysinfo v0.10.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6c49d64febbd43cbda995f01e0dc4e5be5b28ab71cb2a3e18a881432312d085b [INFO] running `Command { std: "docker" "start" "-a" "6c49d64febbd43cbda995f01e0dc4e5be5b28ab71cb2a3e18a881432312d085b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6c49d64febbd43cbda995f01e0dc4e5be5b28ab71cb2a3e18a881432312d085b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c49d64febbd43cbda995f01e0dc4e5be5b28ab71cb2a3e18a881432312d085b", kill_on_drop: false }` [INFO] [stdout] 6c49d64febbd43cbda995f01e0dc4e5be5b28ab71cb2a3e18a881432312d085b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9e5e0a243219e667b1f13a64786b225e8c9a2213b047b7949e9f22b54ed2fe5b [INFO] running `Command { std: "docker" "start" "-a" "9e5e0a243219e667b1f13a64786b225e8c9a2213b047b7949e9f22b54ed2fe5b", kill_on_drop: false }` [INFO] [stderr] Compiling doc-comment v0.3.1 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Compiling winapi v0.3.8 [INFO] [stderr] Compiling sysinfo v0.10.3 [INFO] [stderr] Checking num_cpus v1.11.1 [INFO] [stderr] Checking rayon-core v1.7.0 [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/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/iter/traits/iterator.rs:2001: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/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/iter/traits/iterator.rs:2001: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" "9e5e0a243219e667b1f13a64786b225e8c9a2213b047b7949e9f22b54ed2fe5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e5e0a243219e667b1f13a64786b225e8c9a2213b047b7949e9f22b54ed2fe5b", kill_on_drop: false }` [INFO] [stdout] 9e5e0a243219e667b1f13a64786b225e8c9a2213b047b7949e9f22b54ed2fe5b [INFO] checking heilhead/rust-fmi against try#dae34b759e282c069aa28752564694effd121a63 for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fheilhead%2Frust-fmi" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/heilhead/rust-fmi on toolchain dae34b759e282c069aa28752564694effd121a63 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "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-1-tc2/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" "+dae34b759e282c069aa28752564694effd121a63" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e140e012feb7e5f1b315033d86ac4ce14b5bf202e9431f755b53432c5b07ffc6 [INFO] running `Command { std: "docker" "start" "-a" "e140e012feb7e5f1b315033d86ac4ce14b5bf202e9431f755b53432c5b07ffc6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e140e012feb7e5f1b315033d86ac4ce14b5bf202e9431f755b53432c5b07ffc6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e140e012feb7e5f1b315033d86ac4ce14b5bf202e9431f755b53432c5b07ffc6", kill_on_drop: false }` [INFO] [stdout] e140e012feb7e5f1b315033d86ac4ce14b5bf202e9431f755b53432c5b07ffc6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 016d99e51abf53463caba5e00474f440ceb0f5640f1a2d1759935edbe6b161bb [INFO] running `Command { std: "docker" "start" "-a" "016d99e51abf53463caba5e00474f440ceb0f5640f1a2d1759935edbe6b161bb", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] skipping non-2021 edition `2018` [INFO] running `Command { std: "docker" "inspect" "016d99e51abf53463caba5e00474f440ceb0f5640f1a2d1759935edbe6b161bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "016d99e51abf53463caba5e00474f440ceb0f5640f1a2d1759935edbe6b161bb", kill_on_drop: false }` [INFO] [stdout] 016d99e51abf53463caba5e00474f440ceb0f5640f1a2d1759935edbe6b161bb