[INFO] fetching crate winput 0.2.5... [INFO] checking winput-0.2.5 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate winput 0.2.5 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate winput 0.2.5 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate winput 0.2.5 [INFO] finished tweaking crates.io crate winput 0.2.5 [INFO] tweaked toml for crates.io crate winput 0.2.5 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 9 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c376273aeb1dfef67d35286ca29506961cde7314d8b4732d012515e56040fd63 [INFO] running `Command { std: "docker" "start" "-a" "c376273aeb1dfef67d35286ca29506961cde7314d8b4732d012515e56040fd63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c376273aeb1dfef67d35286ca29506961cde7314d8b4732d012515e56040fd63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c376273aeb1dfef67d35286ca29506961cde7314d8b4732d012515e56040fd63", kill_on_drop: false }` [INFO] [stdout] c376273aeb1dfef67d35286ca29506961cde7314d8b4732d012515e56040fd63 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 82f4d953a3ead68ead83c255ac9ec96ffd336d379eb1a6d6ec9e8fa22a6b78d7 [INFO] running `Command { std: "docker" "start" "-a" "82f4d953a3ead68ead83c255ac9ec96ffd336d379eb1a6d6ec9e8fa22a6b78d7", kill_on_drop: false }` [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Checking winput v0.2.5 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/error.rs:26:21 [INFO] [stdout] | [INFO] [stdout] 26 | use 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/vk.rs:707:21 [INFO] [stdout] | [INFO] [stdout] 707 | use winapi::um::winuser::GetAsyncKeyState; [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/vk.rs:733:21 [INFO] [stdout] | [INFO] [stdout] 733 | use winapi::um::winuser::GetKeyState; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/error.rs:47:21 [INFO] [stdout] | [INFO] [stdout] 47 | use winapi::um::winbase; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/input.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::um::winuser; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::shared` [INFO] [stdout] --> src/mouse.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::shared::windef; [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/error.rs:26:21 [INFO] [stdout] | [INFO] [stdout] 26 | use 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/vk.rs:707:21 [INFO] [stdout] | [INFO] [stdout] 707 | use winapi::um::winuser::GetAsyncKeyState; [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/vk.rs:733:21 [INFO] [stdout] | [INFO] [stdout] 733 | use winapi::um::winuser::GetKeyState; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/error.rs:47:21 [INFO] [stdout] | [INFO] [stdout] 47 | use winapi::um::winbase; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/input.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::um::winuser; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::shared` [INFO] [stdout] --> src/mouse.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::shared::windef; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/message_loop.rs:35:14 [INFO] [stdout] | [INFO] [stdout] 35 | use std::os::windows::ffi::OsStrExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/os/mod.rs:54:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/os/mod.rs:46:1 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/os/mod.rs:101:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/os/mod.rs:100:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/mouse.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::um::winuser; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::shared` [INFO] [stdout] --> src/message_loop.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | use winapi::shared::{hidusage, minwindef, windef}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/message_loop.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | use winapi::um::{libloaderapi, winuser}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/message_loop.rs:35:14 [INFO] [stdout] | [INFO] [stdout] 35 | use std::os::windows::ffi::OsStrExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/os/mod.rs:54:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/os/mod.rs:46:1 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/os/mod.rs:101:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/os/mod.rs:100:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/mouse.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::um::winuser; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::shared` [INFO] [stdout] --> src/message_loop.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | use winapi::shared::{hidusage, minwindef, windef}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/message_loop.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | use winapi::um::{libloaderapi, winuser}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `len` exists for reference `&[Input]`, but its trait bounds were not satisfied [INFO] [stdout] --> src/input.rs:274:29 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Input(winuser::INPUT); [INFO] [stdout] | ---------------- doesn't satisfy `Input: Sized` [INFO] [stdout] ... [INFO] [stdout] 274 | inputs.as_ref().len() as _, [INFO] [stdout] | ^^^ method cannot be called on `&[Input]` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `Input: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `len` exists for reference `&[Input]`, but its trait bounds were not satisfied [INFO] [stdout] --> src/input.rs:274:29 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Input(winuser::INPUT); [INFO] [stdout] | ---------------- doesn't satisfy `Input: Sized` [INFO] [stdout] ... [INFO] [stdout] 274 | inputs.as_ref().len() as _, [INFO] [stdout] | ^^^ method cannot be called on `&[Input]` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `Input: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_ptr` exists for reference `&[Input]`, but its trait bounds were not satisfied [INFO] [stdout] --> src/input.rs:275:29 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Input(winuser::INPUT); [INFO] [stdout] | ---------------- doesn't satisfy `Input: Sized` [INFO] [stdout] ... [INFO] [stdout] 275 | inputs.as_ref().as_ptr() as _, [INFO] [stdout] | ^^^^^^ method cannot be called on `&[Input]` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `Input: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_ptr` exists for reference `&[Input]`, but its trait bounds were not satisfied [INFO] [stdout] --> src/input.rs:275:29 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Input(winuser::INPUT); [INFO] [stdout] | ---------------- doesn't satisfy `Input: Sized` [INFO] [stdout] ... [INFO] [stdout] 275 | inputs.as_ref().as_ptr() as _, [INFO] [stdout] | ^^^^^^ method cannot be called on `&[Input]` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `Input: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `expect` exists for enum `Option`, but its trait bounds were not satisfied [INFO] [stdout] --> src/keylike.rs:44:40 [INFO] [stdout] | [INFO] [stdout] 44 | Input::from_char(self, action).expect("character above 0x0000ffff") [INFO] [stdout] | ^^^^^^ method cannot be called on `Option` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/input.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Input(winuser::INPUT); [INFO] [stdout] | ---------------- doesn't satisfy `Input: Sized` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `Input: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `expect` exists for enum `Option`, but its trait bounds were not satisfied [INFO] [stdout] --> src/keylike.rs:44:40 [INFO] [stdout] | [INFO] [stdout] 44 | Input::from_char(self, action).expect("character above 0x0000ffff") [INFO] [stdout] | ^^^^^^ method cannot be called on `Option` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/input.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Input(winuser::INPUT); [INFO] [stdout] | ---------------- doesn't satisfy `Input: Sized` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `Input: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `push` exists for struct `Vec`, but its trait bounds were not satisfied [INFO] [stdout] --> src/keylike.rs:167:16 [INFO] [stdout] | [INFO] [stdout] 167 | buffer.push(key.produce_input(Action::Release)); [INFO] [stdout] | ^^^^ method cannot be called on `Vec` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/input.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Input(winuser::INPUT); [INFO] [stdout] | ---------------- doesn't satisfy `Input: Sized` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `Input: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `push` exists for struct `Vec`, but its trait bounds were not satisfied [INFO] [stdout] --> src/keylike.rs:167:16 [INFO] [stdout] | [INFO] [stdout] 167 | buffer.push(key.produce_input(Action::Release)); [INFO] [stdout] | ^^^^ method cannot be called on `Vec` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/input.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Input(winuser::INPUT); [INFO] [stdout] | ---------------- doesn't satisfy `Input: Sized` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `Input: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/message_loop.rs:372:18 [INFO] [stdout] | [INFO] [stdout] 371 | let class_name = OsStr::new("winput_message_loop") [INFO] [stdout] | ______________________________- [INFO] [stdout] 372 | | .encode_wide() [INFO] [stdout] | | -^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] | |_________________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/message_loop.rs:372:18 [INFO] [stdout] | [INFO] [stdout] 371 | let class_name = OsStr::new("winput_message_loop") [INFO] [stdout] | ______________________________- [INFO] [stdout] 372 | | .encode_wide() [INFO] [stdout] | | -^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] | |_________________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `winput` (lib test) due to 16 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `winput` (lib) due to 16 previous errors [INFO] running `Command { std: "docker" "inspect" "82f4d953a3ead68ead83c255ac9ec96ffd336d379eb1a6d6ec9e8fa22a6b78d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82f4d953a3ead68ead83c255ac9ec96ffd336d379eb1a6d6ec9e8fa22a6b78d7", kill_on_drop: false }` [INFO] [stdout] 82f4d953a3ead68ead83c255ac9ec96ffd336d379eb1a6d6ec9e8fa22a6b78d7