[INFO] fetching crate kdmapi 0.1.0... [INFO] checking kdmapi-0.1.0 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate kdmapi 0.1.0 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate kdmapi 0.1.0 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate kdmapi 0.1.0 [INFO] finished tweaking crates.io crate kdmapi 0.1.0 [INFO] tweaked toml for crates.io crate kdmapi 0.1.0 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 1a98aedc49139ec9b38bf8b420ec7fb3dfb4229497859291f470d123e2a719d8 [INFO] running `Command { std: "docker" "start" "-a" "1a98aedc49139ec9b38bf8b420ec7fb3dfb4229497859291f470d123e2a719d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1a98aedc49139ec9b38bf8b420ec7fb3dfb4229497859291f470d123e2a719d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a98aedc49139ec9b38bf8b420ec7fb3dfb4229497859291f470d123e2a719d8", kill_on_drop: false }` [INFO] [stdout] 1a98aedc49139ec9b38bf8b420ec7fb3dfb4229497859291f470d123e2a719d8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b112b11bcc9c68a0cfdaed2575b7d1f1a1c3dcee7ba1a956cf4cedd22dfcb14f [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "b112b11bcc9c68a0cfdaed2575b7d1f1a1c3dcee7ba1a956cf4cedd22dfcb14f", kill_on_drop: false }` [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Checking kdmapi v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/lib.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::shared::minwindef::*; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/lib.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::shared::minwindef::*; [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:40:28 [INFO] [stdout] | [INFO] [stdout] 40 | let proc = winapi::um::libloaderapi::GetProcAddress(module, cstr_name.as_ptr() as *const i8).as_ref(); [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:43:33 [INFO] [stdout] | [INFO] [stdout] 43 | None => Err(winapi::um::errhandlingapi::GetLastError()) [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:56:34 [INFO] [stdout] | [INFO] [stdout] 56 | let mut module = winapi::um::libloaderapi::LoadLibraryA(mod_name.as_ptr() as *const i8); [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:60:21 [INFO] [stdout] | [INFO] [stdout] 60 | winapi::um::sysinfoapi::GetSystemDirectoryA(system_path.as_mut_ptr() as *mut i8, 260); [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:30 [INFO] [stdout] | [INFO] [stdout] 72 | module = winapi::um::libloaderapi::LoadLibraryA(new_path.as_ptr() as *const i8); [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:74:86 [INFO] [stdout] | [INFO] [stdout] 74 | return Err(format!("Failed to load OmniMIDI.dll! GLE: {:x}", winapi::um::errhandlingapi::GetLastError())) [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:37:21 [INFO] [stdout] | [INFO] [stdout] 37 | fn get_func(module: HMODULE, name: &str) -> Result<&__some_function, u32> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `__some_function` in this scope [INFO] [stdout] --> src/lib.rs:37:53 [INFO] [stdout] | [INFO] [stdout] 37 | fn get_func(module: HMODULE, name: &str) -> Result<&__some_function, u32> { [INFO] [stdout] | - ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `<__some_function>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/lib.rs:40:28 [INFO] [stdout] | [INFO] [stdout] 40 | let proc = winapi::um::libloaderapi::GetProcAddress(module, cstr_name.as_ptr() as *const i8).as_ref(); [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:43:33 [INFO] [stdout] | [INFO] [stdout] 43 | None => Err(winapi::um::errhandlingapi::GetLastError()) [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:56:34 [INFO] [stdout] | [INFO] [stdout] 56 | let mut module = winapi::um::libloaderapi::LoadLibraryA(mod_name.as_ptr() as *const i8); [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:60:21 [INFO] [stdout] | [INFO] [stdout] 60 | winapi::um::sysinfoapi::GetSystemDirectoryA(system_path.as_mut_ptr() as *mut i8, 260); [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:30 [INFO] [stdout] | [INFO] [stdout] 72 | module = winapi::um::libloaderapi::LoadLibraryA(new_path.as_ptr() as *const i8); [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:74:86 [INFO] [stdout] | [INFO] [stdout] 74 | return Err(format!("Failed to load OmniMIDI.dll! GLE: {:x}", winapi::um::errhandlingapi::GetLastError())) [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:37:21 [INFO] [stdout] | [INFO] [stdout] 37 | fn get_func(module: HMODULE, name: &str) -> Result<&__some_function, u32> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `__some_function` in this scope [INFO] [stdout] --> src/lib.rs:37:53 [INFO] [stdout] | [INFO] [stdout] 37 | fn get_func(module: HMODULE, name: &str) -> Result<&__some_function, u32> { [INFO] [stdout] | - ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `<__some_function>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `kdmapi` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "b112b11bcc9c68a0cfdaed2575b7d1f1a1c3dcee7ba1a956cf4cedd22dfcb14f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b112b11bcc9c68a0cfdaed2575b7d1f1a1c3dcee7ba1a956cf4cedd22dfcb14f", kill_on_drop: false }` [INFO] [stdout] b112b11bcc9c68a0cfdaed2575b7d1f1a1c3dcee7ba1a956cf4cedd22dfcb14f