[INFO] fetching crate kdmapi 0.1.0...
[INFO] checking kdmapi-0.1.0 against master#30f74ff0dc4d66debc8b50724c446f817e5f75f4 for pr-121848-1
[INFO] extracting crate kdmapi 0.1.0 into /workspace/builds/worker-0-tc1/source
[INFO] validating manifest of crates.io crate kdmapi 0.1.0 on toolchain 30f74ff0dc4d66debc8b50724c446f817e5f75f4
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "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-0-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c9119b626cf8cb5a05594b6a0c8fd052a19855f71d8285984f769ce5deb63ce5
[INFO] running `Command { std: "docker" "start" "-a" "c9119b626cf8cb5a05594b6a0c8fd052a19855f71d8285984f769ce5deb63ce5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c9119b626cf8cb5a05594b6a0c8fd052a19855f71d8285984f769ce5deb63ce5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c9119b626cf8cb5a05594b6a0c8fd052a19855f71d8285984f769ce5deb63ce5", kill_on_drop: false }`
[INFO] [stdout] c9119b626cf8cb5a05594b6a0c8fd052a19855f71d8285984f769ce5deb63ce5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=forbid" "-e" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 439ea328b182a6e157ff9f9dadc89a622e8efbbe5b473326bdfe0d42d56f367b
[INFO] running `Command { std: "docker" "start" "-a" "439ea328b182a6e157ff9f9dadc89a622e8efbbe5b473326bdfe0d42d56f367b", 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: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: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: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: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: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
[INFO] [stdout]    |
[INFO] [stdout] 37 | fn get_func<__some_function>(module: HMODULE, name: &str) -> Result<&__some_function, u32> {
[INFO] [stdout]    |            +++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Result` is imported redundantly
[INFO] [stdout]  --> src/lib.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::result::Result;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:115:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `Result` is already defined here
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[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
[INFO] [stdout]    |
[INFO] [stdout] 37 | fn get_func<__some_function>(module: HMODULE, name: &str) -> Result<&__some_function, u32> {
[INFO] [stdout]    |            +++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Result` is imported redundantly
[INFO] [stdout]  --> src/lib.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::result::Result;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:115:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `Result` is already defined here
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `const_fn_fn_ptr_basics` has been stable since 1.61.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/lib.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(const_fn_fn_ptr_basics)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `const_fn_fn_ptr_basics` has been stable since 1.61.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/lib.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(const_fn_fn_ptr_basics)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 9 previous errors; 2 warnings emitted
[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] [stdout] error: aborting due to 9 previous errors; 2 warnings emitted
[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` (lib) due to 10 previous errors; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `kdmapi` (lib test) due to 10 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "439ea328b182a6e157ff9f9dadc89a622e8efbbe5b473326bdfe0d42d56f367b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "439ea328b182a6e157ff9f9dadc89a622e8efbbe5b473326bdfe0d42d56f367b", kill_on_drop: false }`
[INFO] [stdout] 439ea328b182a6e157ff9f9dadc89a622e8efbbe5b473326bdfe0d42d56f367b
