[INFO] fetching crate windows-dll 0.3.0... [INFO] checking windows-dll-0.3.0 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] extracting crate windows-dll 0.3.0 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate windows-dll 0.3.0 on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate windows-dll 0.3.0 [INFO] finished tweaking crates.io crate windows-dll 0.3.0 [INFO] tweaked toml for crates.io crate windows-dll 0.3.0 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate crates.io crate windows-dll 0.3.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded nom v6.1.0 [INFO] [stderr] Downloaded xkb v0.2.1 [INFO] [stderr] Downloaded xkbcommon-sys v0.7.5 [INFO] [stderr] Downloaded windows-dll-codegen v0.3.0 [INFO] [stderr] Downloaded wayland-cursor v0.27.0 [INFO] [stderr] Downloaded wayland-scanner v0.27.0 [INFO] [stderr] Downloaded wayland-commons v0.27.0 [INFO] [stderr] Downloaded clang-sys v1.0.3 [INFO] [stderr] Downloaded wayland-protocols v0.27.0 [INFO] [stderr] Downloaded orbclient v0.3.30 [INFO] [stderr] Downloaded wayland-client v0.27.0 [INFO] [stderr] Downloaded wayland-sys v0.27.0 [INFO] [stderr] Downloaded minifb v0.19.2 [INFO] [stderr] Downloaded tar v0.4.32 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 02bfd5bf437ae135ae60540fab1933e98a57ace428661485e2bda4fda962944b [INFO] running `Command { std: "docker" "start" "-a" "02bfd5bf437ae135ae60540fab1933e98a57ace428661485e2bda4fda962944b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "02bfd5bf437ae135ae60540fab1933e98a57ace428661485e2bda4fda962944b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02bfd5bf437ae135ae60540fab1933e98a57ace428661485e2bda4fda962944b", kill_on_drop: false }` [INFO] [stdout] 02bfd5bf437ae135ae60540fab1933e98a57ace428661485e2bda4fda962944b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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=forbid" "-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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7c933c546b2ee05fd4efb5834840d568aa2888f09220195ea87c1eee522d601e [INFO] running `Command { std: "docker" "start" "-a" "7c933c546b2ee05fd4efb5834840d568aa2888f09220195ea87c1eee522d601e", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] winapi v0.3.9: consoleapi, errhandlingapi, fileapi, handleapi, minwinbase, processenv, std, winbase, wincon, wingdi, winnt [INFO] [stderr] [INFO] [stderr] Compiling libc v0.2.84 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling bindgen v0.56.0 [INFO] [stderr] Compiling nix v0.17.0 [INFO] [stderr] Compiling syn v1.0.54 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling clang-sys v1.0.3 [INFO] [stderr] Compiling thread_local v1.1.2 [INFO] [stderr] Compiling libloading v0.6.7 [INFO] [stderr] Compiling nom v6.1.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling regex v1.4.3 [INFO] [stderr] Compiling wayland-sys v0.27.0 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling wayland-scanner v0.27.0 [INFO] [stderr] Compiling minifb v0.19.2 [INFO] [stderr] Checking getrandom v0.2.2 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking rand_core v0.6.1 [INFO] [stderr] Checking xcursor v0.3.3 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Compiling wayland-client v0.27.0 [INFO] [stderr] Compiling wayland-protocols v0.27.0 [INFO] [stderr] Compiling env_logger v0.8.2 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Compiling toml v0.5.7 [INFO] [stderr] Checking wayland-commons v0.27.0 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling thiserror-impl v1.0.22 [INFO] [stderr] Compiling windows-dll-codegen v0.3.0 [INFO] [stderr] Checking wayland-cursor v0.27.0 [INFO] [stderr] Checking thiserror v1.0.22 [INFO] [stderr] Checking windows-dll v0.3.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/lib.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | shared::minwindef::{DWORD, FALSE, FARPROC, TRUE}, [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] --> src/lib.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | um::winnt::{LPCSTR, LPCWSTR}, [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] --> src/lib.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | winapi::shared::{ [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] --> src/lib.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 20 | pub use winapi::um::libloaderapi::{ [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] --> src/lib.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 63 | use winapi::um::libloaderapi::LoadLibraryExW; [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] --> src/lib.rs:72:21 [INFO] [stdout] | [INFO] [stdout] 72 | use winapi::um::libloaderapi::FreeLibrary; [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] --> src/lib.rs:92:21 [INFO] [stdout] | [INFO] [stdout] 92 | use winapi::um::libloaderapi::GetProcAddress; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMODULE` in this scope [INFO] [stdout] --> src/lib.rs:46:22 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct DllHandle(HMODULE); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stdout] --> src/lib.rs:58:24 [INFO] [stdout] | [INFO] [stdout] 58 | const LIB_LPCWSTR: LPCWSTR; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/lib.rs:59:18 [INFO] [stdout] | [INFO] [stdout] 59 | const FLAGS: DWORD; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LoadLibraryExW` in this scope [INFO] [stdout] --> src/lib.rs:65:19 [INFO] [stdout] | [INFO] [stdout] 65 | DllHandle(LoadLibraryExW( [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FreeLibrary` in this scope [INFO] [stdout] --> src/lib.rs:78:29 [INFO] [stdout] | [INFO] [stdout] 78 | let succeeded = FreeLibrary(library.0); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> src/lib.rs:79:26 [INFO] [stdout] | [INFO] [stdout] 79 | succeeded == TRUE [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCSTR` in this scope [INFO] [stdout] --> src/lib.rs:88:24 [INFO] [stdout] | [INFO] [stdout] 88 | const PROC_LPCSTR: LPCSTR; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FARPROC` in this scope [INFO] [stdout] --> src/lib.rs:91:32 [INFO] [stdout] | [INFO] [stdout] 84 | pub trait WindowsDllProc: Sized { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 91 | unsafe fn load() -> Result> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcAddress` in this scope [INFO] [stdout] --> src/lib.rs:99:24 [INFO] [stdout] | [INFO] [stdout] 99 | let proc = GetProcAddress(library.0, Self::PROC_LPCSTR); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WORD` in this scope [INFO] [stdout] --> src/lib.rs:114:37 [INFO] [stdout] | [INFO] [stdout] 114 | pub const fn make_int_resource_a(i: WORD) -> LPCSTR { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCSTR` in this scope [INFO] [stdout] --> src/lib.rs:114:46 [INFO] [stdout] | [INFO] [stdout] 114 | pub const fn make_int_resource_a(i: WORD) -> LPCSTR { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG_PTR` in this scope [INFO] [stdout] --> src/lib.rs:115:10 [INFO] [stdout] | [INFO] [stdout] 115 | i as ULONG_PTR as _ [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 19 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `windows-dll` due to 20 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "7c933c546b2ee05fd4efb5834840d568aa2888f09220195ea87c1eee522d601e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c933c546b2ee05fd4efb5834840d568aa2888f09220195ea87c1eee522d601e", kill_on_drop: false }` [INFO] [stdout] 7c933c546b2ee05fd4efb5834840d568aa2888f09220195ea87c1eee522d601e