[INFO] fetching crate wintrap 0.3.1... [INFO] testing wintrap-0.3.1 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-1 [INFO] extracting crate wintrap 0.3.1 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate wintrap 0.3.1 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate wintrap 0.3.1 [INFO] tweaked toml for crates.io crate wintrap 0.3.1 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate wintrap 0.3.1 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate wintrap 0.3.1 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" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-executor v0.1.10 [INFO] [stderr] Downloaded tokio-uds v0.2.7 [INFO] [stderr] Downloaded net2 v0.2.37 [INFO] [stderr] Downloaded tokio-sync v0.1.8 [INFO] [stderr] Downloaded tokio-codec v0.1.2 [INFO] [stderr] Downloaded parking_lot_core v0.6.2 [INFO] [stderr] Downloaded tokio-tcp v0.1.4 [INFO] [stderr] Downloaded memoffset v0.5.6 [INFO] [stderr] Downloaded crossbeam-queue v0.2.3 [INFO] [stderr] Downloaded tokio-reactor v0.1.12 [INFO] [stderr] Downloaded tokio-current-thread v0.1.7 [INFO] [stderr] Downloaded crossbeam-epoch v0.8.2 [INFO] [stderr] Downloaded tokio-threadpool v0.1.18 [INFO] [stderr] Downloaded crossbeam-channel v0.3.9 [INFO] [stderr] Downloaded tokio v0.1.22 [INFO] [stderr] Downloaded tokio-timer v0.2.13 [INFO] [stderr] Downloaded parking_lot v0.9.0 [INFO] [stderr] Downloaded tokio-fs v0.1.7 [INFO] [stderr] Downloaded crossbeam-deque v0.7.3 [INFO] [stderr] Downloaded tokio-udp v0.1.6 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2d05b7f20d9e863e9e20e0101b76783c3934330b8181e00f3d283e995dd6f536 [INFO] running `Command { std: "docker" "start" "-a" "2d05b7f20d9e863e9e20e0101b76783c3934330b8181e00f3d283e995dd6f536", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2d05b7f20d9e863e9e20e0101b76783c3934330b8181e00f3d283e995dd6f536", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d05b7f20d9e863e9e20e0101b76783c3934330b8181e00f3d283e995dd6f536", kill_on_drop: false }` [INFO] [stdout] 2d05b7f20d9e863e9e20e0101b76783c3934330b8181e00f3d283e995dd6f536 [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=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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7eecda46fdaa175a7bacce8ba4506cc6e80786cd8123a49e9f2f0a1609401391 [INFO] running `Command { std: "docker" "start" "-a" "7eecda46fdaa175a7bacce8ba4506cc6e80786cd8123a49e9f2f0a1609401391", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling crossbeam-channel v0.3.9 [INFO] [stderr] Compiling wintrap v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: cannot find `windows` in `os` [INFO] [stdout] --> src/windows.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use std::os::windows::prelude::*; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/os/mod.rs:56:4 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/os/mod.rs:120:9 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `shared` in `winapi` [INFO] [stdout] --> src/windows.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::shared::minwindef::{ [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `shared` in `winapi` [INFO] [stdout] --> src/windows.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::shared::ntdef::{LANG_NEUTRAL, LPCWSTR, LPWSTR, MAKELANGID, SUBLANG_DEFAULT}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `shared` in `winapi` [INFO] [stdout] --> src/windows.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::shared::windef::HWND; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `um` in `winapi` [INFO] [stdout] --> src/windows.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use winapi::um::consoleapi::SetConsoleCtrlHandler; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `um` in `winapi` [INFO] [stdout] --> src/windows.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use winapi::um::errhandlingapi::GetLastError; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `um` in `winapi` [INFO] [stdout] --> src/windows.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | use winapi::um::libloaderapi::GetModuleHandleW; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `um` in `winapi` [INFO] [stdout] --> src/windows.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | use winapi::um::processthreadsapi::GetCurrentThreadId; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `um` in `winapi` [INFO] [stdout] --> src/windows.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | use winapi::um::winbase::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `um` in `winapi` [INFO] [stdout] --> src/windows.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | use winapi::um::winuser::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `shared` in `winapi` [INFO] [stdout] --> src/lib.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | use winapi::shared::minwindef::{BOOL, DWORD, FALSE, LPARAM, LRESULT, TRUE, UINT, WPARAM}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `shared` in `winapi` [INFO] [stdout] --> src/lib.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | use winapi::shared::windef::HWND; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `um` in `winapi` [INFO] [stdout] --> src/lib.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | use winapi::um::wincon::{CTRL_BREAK_EVENT, CTRL_CLOSE_EVENT, CTRL_C_EVENT}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `um` in `winapi` [INFO] [stdout] --> src/lib.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | use winapi::um::winuser::{DefWindowProcW, WM_CLOSE, WM_QUIT}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for struct `OsString` in the current scope [INFO] [stdout] --> src/windows.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 27 | static ref WINDOW_IDENTIFIER: Vec = OsString::from("RUST_WINSIG") [INFO] [stdout] | ______________________________________________- [INFO] [stdout] 28 | | .encode_wide() [INFO] [stdout] | | -^^^^^^^^^^^ method not found in `OsString` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for struct `OsString` in the current scope [INFO] [stdout] --> src/windows.rs:61:10 [INFO] [stdout] | [INFO] [stdout] 60 | let identifier_wide = OsString::from(identifier.as_ref()) [INFO] [stdout] | ___________________________- [INFO] [stdout] 61 | | .encode_wide() [INFO] [stdout] | | -^^^^^^^^^^^ method not found in `OsString` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_wide` found for struct `OsString` in the current scope [INFO] [stdout] --> src/windows.rs:137:19 [INFO] [stdout] | [INFO] [stdout] 137 | OsString::from_wide(unsafe { slice::from_raw_parts(buf as *const u16, size as usize) }); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `OsString` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `OsString` consider using one of the following associated functions: [INFO] [stdout] OsString::new [INFO] [stdout] OsString::from_encoded_bytes_unchecked [INFO] [stdout] OsString::with_capacity [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/ffi/os_str.rs:141:4 [INFO] [stdout] help: there is an associated function `from_iter` with a similar name [INFO] [stdout] | [INFO] [stdout] 137 - OsString::from_wide(unsafe { slice::from_raw_parts(buf as *const u16, size as usize) }); [INFO] [stdout] 137 + OsString::from_iter(unsafe { slice::from_raw_parts(buf as *const u16, size as usize) }); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wintrap` (lib) due to 17 previous errors [INFO] running `Command { std: "docker" "inspect" "7eecda46fdaa175a7bacce8ba4506cc6e80786cd8123a49e9f2f0a1609401391", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7eecda46fdaa175a7bacce8ba4506cc6e80786cd8123a49e9f2f0a1609401391", kill_on_drop: false }` [INFO] [stdout] 7eecda46fdaa175a7bacce8ba4506cc6e80786cd8123a49e9f2f0a1609401391