[INFO] cloning repository https://github.com/Eh2406/rust-reader [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Eh2406/rust-reader" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEh2406%2Frust-reader", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEh2406%2Frust-reader'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9e0d1496d7ddccb80005b37261eeea5f08cf90a0 [INFO] checking Eh2406/rust-reader against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEh2406%2Frust-reader" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Eh2406/rust-reader 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 git repo https://github.com/Eh2406/rust-reader [INFO] finished tweaking git repo https://github.com/Eh2406/rust-reader [INFO] tweaked toml for git repo https://github.com/Eh2406/rust-reader written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/Eh2406/rust-reader already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/Eh2406/preferences-rs` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded quickcheck v0.6.2 [INFO] [stderr] Downloaded clipboard-win v2.1.2 [INFO] [stderr] Downloaded ordslice v0.3.0 [INFO] [stderr] Downloaded env_logger v0.5.12 [INFO] [stderr] Downloaded unicode-segmentation v1.2.1 [INFO] [stderr] Downloaded winres v0.1.6 [INFO] [stderr] Downloaded average v0.9.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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] [stdout] a7dc9af50cf8711869d7a49f68268da3278ebee4e093002e8525393222c96112 [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" "a7dc9af50cf8711869d7a49f68268da3278ebee4e093002e8525393222c96112", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a7dc9af50cf8711869d7a49f68268da3278ebee4e093002e8525393222c96112", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7dc9af50cf8711869d7a49f68268da3278ebee4e093002e8525393222c96112", kill_on_drop: false }` [INFO] [stdout] a7dc9af50cf8711869d7a49f68268da3278ebee4e093002e8525393222c96112 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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] 69db0b1ce3ba6dfdd20f141377049ae0b9dec48214ef4c78e80662d5b4509ebe [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" "69db0b1ce3ba6dfdd20f141377049ae0b9dec48214ef4c78e80662d5b4509ebe", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.43 [INFO] [stderr] Compiling serde v1.0.71 [INFO] [stderr] Compiling proc-macro2 v0.4.12 [INFO] [stderr] Compiling num-traits v0.2.5 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling ryu v0.2.3 [INFO] [stderr] Checking ucd-util v0.1.1 [INFO] [stderr] Compiling regex v1.0.2 [INFO] [stderr] Checking utf8-ranges v1.0.0 [INFO] [stderr] Checking itoa v0.4.2 [INFO] [stderr] Checking custom_derive v0.1.7 [INFO] [stderr] Checking quick-error v1.2.2 [INFO] [stderr] Checking cfg-if v0.1.5 [INFO] [stderr] Checking xdg v2.1.0 [INFO] [stderr] Compiling winapi v0.3.5 [INFO] [stderr] Compiling rust_reader v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking either v1.5.0 [INFO] [stderr] Checking termcolor v1.0.1 [INFO] [stderr] Checking clipboard-win v2.1.2 [INFO] [stderr] Checking ordslice v0.3.0 [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stderr] Checking log v0.4.3 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking conv v0.3.3 [INFO] [stderr] Checking humantime v1.1.1 [INFO] [stderr] Checking regex-syntax v0.6.2 [INFO] [stderr] Checking app_dirs v1.2.1 [INFO] [stderr] Checking itertools v0.7.8 [INFO] [stderr] Checking memchr v2.0.1 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking time v0.1.40 [INFO] [stderr] Checking rand v0.4.2 [INFO] [stderr] Checking thread_local v0.3.5 [INFO] [stderr] Compiling quote v0.6.6 [INFO] [stderr] Checking aho-corasick v0.6.6 [INFO] [stderr] Compiling syn v0.14.8 [INFO] [stderr] Checking num-integer v0.1.39 [INFO] [stderr] Compiling serde_derive v1.0.71 [INFO] [stderr] Checking serde_json v1.0.26 [INFO] [stderr] Checking chrono v0.4.5 [INFO] [stderr] Checking env_logger v0.5.12 [INFO] [stderr] Checking quickcheck v0.6.2 [INFO] [stderr] Checking preferences v2.0.0 (https://github.com/Eh2406/preferences-rs?branch=patch-1#4f426cf5) [INFO] [stderr] Checking average v0.9.2 [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/wide_string.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use std::os::windows::ffi::OsStrExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::shared` [INFO] [stdout] --> src/window.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::shared::minwindef; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::shared` [INFO] [stdout] --> src/window.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::shared::windef; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/window.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::um::winnt; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/window.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | 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/sapi.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::shared::minwindef; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::shared` [INFO] [stdout] --> src/sapi.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::shared::windef; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/sapi.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::um::libloaderapi; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/sapi.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::um::shellapi; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/sapi.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::um::winnt; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/sapi.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::um::winuser; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::Interface` [INFO] [stdout] --> src/sapi.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | use winapi::Interface; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `Interface` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `clipboard_win::get_clipboard_string`, `clipboard_win::set_clipboard_string`, `clipboard_win::Clipboard` [INFO] [stdout] --> src/clipboard.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use clipboard_win::{get_clipboard_string, set_clipboard_string, Clipboard}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ no `Clipboard` in the root [INFO] [stdout] | | | [INFO] [stdout] | | no `set_clipboard_string` in the root [INFO] [stdout] | no `get_clipboard_string` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/hot_key.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::um::winuser::VK_ESCAPE; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/hot_key.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | 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/settings.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::shared::minwindef; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::shared` [INFO] [stdout] --> src/settings.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::shared::windef; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/settings.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::um::commctrl; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/settings.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | 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/settings.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use winapi::um::winuser::{VK_OEM_2, VK_ESCAPE, VK_OEM_MINUS, VK_OEM_PERIOD, VK_OEM_PLUS}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/settings.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use winapi::um::winuser; [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/window.rs:101:22 [INFO] [stdout] | [INFO] [stdout] 101 | unsafe { winapi::um::wincon::SetConsoleTitleW(title.as_ptr()) } [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ctypes` in `winapi` [INFO] [stdout] --> src/window.rs:167:61 [INFO] [stdout] | [INFO] [stdout] 167 | pub fn show_window(h_wnd: windef::HWND, n_cmd_show: winapi::ctypes::c_int) -> minwindef::BOOL { [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/window.rs:334:44 [INFO] [stdout] | [INFO] [stdout] 334 | data.lpCreateParams as winapi::shared::basetsd::LONG_PTR, [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/sapi.rs:32:35 [INFO] [stdout] | [INFO] [stdout] 32 | let hr = unsafe { winapi::um::objbase::CoInitialize(null_mut()) }; [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/sapi.rs:43:31 [INFO] [stdout] | [INFO] [stdout] 43 | if self.hr != winapi::shared::winerror::RPC_E_CHANGED_MODE { [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/sapi.rs:44:30 [INFO] [stdout] | [INFO] [stdout] 44 | unsafe { winapi::um::combaseapi::CoUninitialize() }; [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/sapi.rs:52:28 [INFO] [stdout] | [INFO] [stdout] 52 | voice: &'a mut winapi::um::sapi51::ISpVoice, [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/sapi.rs:67:37 [INFO] [stdout] | [INFO] [stdout] 67 | let mut voice: *mut winapi::um::sapi51::ISpVoice = null_mut(); [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/sapi.rs:68:40 [INFO] [stdout] | [INFO] [stdout] 68 | let mut clsid_spvoice: winapi::shared::guiddef::CLSID = unsafe { mem::zeroed() }; [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/sapi.rs:72:31 [INFO] [stdout] | [INFO] [stdout] 72 | if failed(winapi::um::combaseapi::CLSIDFromProgID( [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/sapi.rs:79:31 [INFO] [stdout] | [INFO] [stdout] 79 | if failed(winapi::um::combaseapi::CoCreateInstance( [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/sapi.rs:82:25 [INFO] [stdout] | [INFO] [stdout] 82 | winapi::um::combaseapi::CLSCTX_ALL, [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/sapi.rs:83:26 [INFO] [stdout] | [INFO] [stdout] 83 | &winapi::um::sapi51::ISpVoice::uuidof(), [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/wide_string.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use std::os::windows::ffi::OsStrExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::shared` [INFO] [stdout] --> src/window.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::shared::minwindef; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::shared` [INFO] [stdout] --> src/window.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::shared::windef; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/window.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::um::winnt; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/window.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | 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/sapi.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::shared::minwindef; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::shared` [INFO] [stdout] --> src/sapi.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::shared::windef; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/sapi.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | 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/sapi.rs:84:49 [INFO] [stdout] | [INFO] [stdout] 84 | &mut voice as *mut *mut winapi::um::sapi51::ISpVoice [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/sapi.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::um::shellapi; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ctypes` in `winapi` [INFO] [stdout] --> src/sapi.rs:85:42 [INFO] [stdout] | [INFO] [stdout] 85 | as *mut *mut winapi::ctypes::c_void, [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/sapi.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::um::winnt; [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/sapi.rs:170:44 [INFO] [stdout] | [INFO] [stdout] 170 | out.set_alert_boundary(winapi::um::sapi51::SPEI_PHONEME); [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/sapi.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::um::winuser; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::Interface` [INFO] [stdout] --> src/sapi.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | use winapi::Interface; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `Interface` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/sapi.rs:213:51 [INFO] [stdout] | [INFO] [stdout] 213 | unsafe { self.voice.WaitUntilDone(winapi::um::winbase::INFINITE) }; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `clipboard_win::get_clipboard_string`, `clipboard_win::set_clipboard_string`, `clipboard_win::Clipboard` [INFO] [stdout] --> src/clipboard.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use clipboard_win::{get_clipboard_string, set_clipboard_string, Clipboard}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ no `Clipboard` in the root [INFO] [stdout] | | | [INFO] [stdout] | | no `set_clipboard_string` in the root [INFO] [stdout] | no `get_clipboard_string` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/sapi.rs:261:60 [INFO] [stdout] | [INFO] [stdout] 261 | pub fn set_alert_boundary(&mut self, boundary: winapi::um::sapi51::SPEVENTENUM) { [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/hot_key.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::um::winuser::VK_ESCAPE; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/hot_key.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | 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/settings.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | 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/sapi.rs:266:53 [INFO] [stdout] | [INFO] [stdout] 266 | pub fn get_alert_boundary(&mut self) -> winapi::um::sapi51::SPEVENTENUM { [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::shared` [INFO] [stdout] --> src/settings.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | 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/sapi.rs:272:45 [INFO] [stdout] | [INFO] [stdout] 272 | pub fn get_status(&mut self) -> winapi::um::sapi51::SPVOICESTATUS { [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/settings.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::um::commctrl; [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/sapi.rs:273:33 [INFO] [stdout] | [INFO] [stdout] 273 | let mut status: winapi::um::sapi51::SPVOICESTATUS = unsafe { mem::zeroed() }; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/settings.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | 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/settings.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use winapi::um::winuser::{VK_OEM_2, VK_ESCAPE, VK_OEM_MINUS, VK_OEM_PERIOD, VK_OEM_PLUS}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/settings.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use winapi::um::winuser; [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/sapi.rs:288:31 [INFO] [stdout] | [INFO] [stdout] 288 | .map(|&x| winapi::um::sapi51::SPFEI(x)) [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/sapi.rs:292:31 [INFO] [stdout] | [INFO] [stdout] 292 | .map(|&x| winapi::um::sapi51::SPFEI(x)) [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/sapi.rs:439:29 [INFO] [stdout] | [INFO] [stdout] 439 | impl StatusUtil for winapi::um::sapi51::SPVOICESTATUS { [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/clipboard.rs:24:28 [INFO] [stdout] | [INFO] [stdout] 24 | let mut input: winapi::um::winuser::INPUT = unsafe { mem::zeroed() }; [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/clipboard.rs:26:31 [INFO] [stdout] | [INFO] [stdout] 26 | input.type_ = winapi::um::winuser::INPUT_KEYBOARD; [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/clipboard.rs:27:37 [INFO] [stdout] | [INFO] [stdout] 27 | *input.u.ki_mut() = winapi::um::winuser::KEYBDINPUT { [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/clipboard.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | winapi::um::winuser::SendInput(1, b, mem::size_of::() as i32); [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/clipboard.rs:35:69 [INFO] [stdout] | [INFO] [stdout] 35 | winapi::um::winuser::SendInput(1, b, mem::size_of::() as i32); [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/clipboard.rs:45:35 [INFO] [stdout] | [INFO] [stdout] 45 | send_key_event(v, winapi::um::winuser::KEYEVENTF_KEYUP); [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/clipboard.rs:51:25 [INFO] [stdout] | [INFO] [stdout] 51 | press_key(&[winapi::um::winuser::VK_CONTROL as u16, 67]); //ascii for "c" [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/main.rs:136:17 [INFO] [stdout] | [INFO] [stdout] 136 | winapi::um::winuser::PostThreadMessageW( [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/main.rs:137:21 [INFO] [stdout] | [INFO] [stdout] 137 | winapi::um::processthreadsapi::GetCurrentThreadId(), [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/main.rs:138:21 [INFO] [stdout] | [INFO] [stdout] 138 | winapi::um::winuser::WM_HOTKEY, [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/main.rs:139:27 [INFO] [stdout] | [INFO] [stdout] 139 | id as winapi::shared::minwindef::WPARAM, [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/main.rs:182:21 [INFO] [stdout] | [INFO] [stdout] 182 | winapi::um::winuser::WM_HOTKEY if (msg.wParam as usize) < state.hk.len() => { [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/main.rs:188:29 [INFO] [stdout] | [INFO] [stdout] 188 | winapi::um::winuser::TranslateMessage(&msg); [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/main.rs:189:29 [INFO] [stdout] | [INFO] [stdout] 189 | winapi::um::winuser::DispatchMessageW(&msg); [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_ESCAPE` in this scope [INFO] [stdout] --> src/hot_key.rs:83:27 [INFO] [stdout] | [INFO] [stdout] 83 | if self.vk == VK_ESCAPE as u32 { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_OEM_2` in this scope [INFO] [stdout] --> src/settings.rs:480:21 [INFO] [stdout] | [INFO] [stdout] 480 | (2, VK_OEM_2 as u32), // ctrl-? key [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_ESCAPE` in this scope [INFO] [stdout] --> src/settings.rs:481:21 [INFO] [stdout] | [INFO] [stdout] 481 | (7, VK_ESCAPE as u32), // ctrl-alt-shift-esk [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_OEM_2` in this scope [INFO] [stdout] --> src/settings.rs:484:21 [INFO] [stdout] | [INFO] [stdout] 484 | (3, VK_OEM_2 as u32), // ctrl-alt-? [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_OEM_PERIOD` in this scope [INFO] [stdout] --> src/settings.rs:485:21 [INFO] [stdout] | [INFO] [stdout] 485 | (2, VK_OEM_PERIOD as u32), // ctrl-. [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_OEM_MINUS` in this scope [INFO] [stdout] --> src/settings.rs:486:21 [INFO] [stdout] | [INFO] [stdout] 486 | (3, VK_OEM_MINUS as u32), // ctrl-alt-- [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_OEM_PLUS` in this scope [INFO] [stdout] --> src/settings.rs:487:21 [INFO] [stdout] | [INFO] [stdout] 487 | (3, VK_OEM_PLUS as u32), // ctrl-alt-= [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `null_mut` is imported redundantly [INFO] [stdout] --> src/window.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 9 | use std::ptr::null_mut; [INFO] [stdout] | ------------------ the item `null_mut` is already imported here [INFO] [stdout] ... [INFO] [stdout] 88 | use std::ptr::null_mut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/clean_text/mod.rs:141:10 [INFO] [stdout] | [INFO] [stdout] 141 | ) -> Box> + 'a> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Iterator> + 'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/clean_text/mod.rs:183:10 [INFO] [stdout] | [INFO] [stdout] 183 | ) -> Box> + 'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Iterator> + 'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/clean_text/mod.rs:189:43 [INFO] [stdout] | [INFO] [stdout] 189 | fn trivial_pair<'a>(text: &'a str) -> Box> + 'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Iterator> + 'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/clean_text/mod.rs:196:10 [INFO] [stdout] | [INFO] [stdout] 196 | ) -> Box> + 'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Iterator> + 'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/clean_text/mod.rs:217:10 [INFO] [stdout] | [INFO] [stdout] 217 | ) -> Box + 'a> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Iterator + 'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/window.rs:101:22 [INFO] [stdout] | [INFO] [stdout] 101 | unsafe { winapi::um::wincon::SetConsoleTitleW(title.as_ptr()) } [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ctypes` in `winapi` [INFO] [stdout] --> src/window.rs:167:61 [INFO] [stdout] | [INFO] [stdout] 167 | pub fn show_window(h_wnd: windef::HWND, n_cmd_show: winapi::ctypes::c_int) -> minwindef::BOOL { [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/window.rs:334:44 [INFO] [stdout] | [INFO] [stdout] 334 | data.lpCreateParams as winapi::shared::basetsd::LONG_PTR, [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/sapi.rs:32:35 [INFO] [stdout] | [INFO] [stdout] 32 | let hr = unsafe { winapi::um::objbase::CoInitialize(null_mut()) }; [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/sapi.rs:43:31 [INFO] [stdout] | [INFO] [stdout] 43 | if self.hr != winapi::shared::winerror::RPC_E_CHANGED_MODE { [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/sapi.rs:44:30 [INFO] [stdout] | [INFO] [stdout] 44 | unsafe { winapi::um::combaseapi::CoUninitialize() }; [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/sapi.rs:52:28 [INFO] [stdout] | [INFO] [stdout] 52 | voice: &'a mut winapi::um::sapi51::ISpVoice, [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/sapi.rs:67:37 [INFO] [stdout] | [INFO] [stdout] 67 | let mut voice: *mut winapi::um::sapi51::ISpVoice = null_mut(); [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/sapi.rs:68:40 [INFO] [stdout] | [INFO] [stdout] 68 | let mut clsid_spvoice: winapi::shared::guiddef::CLSID = unsafe { mem::zeroed() }; [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/sapi.rs:72:31 [INFO] [stdout] | [INFO] [stdout] 72 | if failed(winapi::um::combaseapi::CLSIDFromProgID( [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/sapi.rs:79:31 [INFO] [stdout] | [INFO] [stdout] 79 | if failed(winapi::um::combaseapi::CoCreateInstance( [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/sapi.rs:82:25 [INFO] [stdout] | [INFO] [stdout] 82 | winapi::um::combaseapi::CLSCTX_ALL, [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/sapi.rs:83:26 [INFO] [stdout] | [INFO] [stdout] 83 | &winapi::um::sapi51::ISpVoice::uuidof(), [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/sapi.rs:84:49 [INFO] [stdout] | [INFO] [stdout] 84 | &mut voice as *mut *mut winapi::um::sapi51::ISpVoice [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ctypes` in `winapi` [INFO] [stdout] --> src/sapi.rs:85:42 [INFO] [stdout] | [INFO] [stdout] 85 | as *mut *mut winapi::ctypes::c_void, [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/sapi.rs:170:44 [INFO] [stdout] | [INFO] [stdout] 170 | out.set_alert_boundary(winapi::um::sapi51::SPEI_PHONEME); [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/sapi.rs:213:51 [INFO] [stdout] | [INFO] [stdout] 213 | unsafe { self.voice.WaitUntilDone(winapi::um::winbase::INFINITE) }; [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/sapi.rs:261:60 [INFO] [stdout] | [INFO] [stdout] 261 | pub fn set_alert_boundary(&mut self, boundary: winapi::um::sapi51::SPEVENTENUM) { [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/sapi.rs:266:53 [INFO] [stdout] | [INFO] [stdout] 266 | pub fn get_alert_boundary(&mut self) -> winapi::um::sapi51::SPEVENTENUM { [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/sapi.rs:272:45 [INFO] [stdout] | [INFO] [stdout] 272 | pub fn get_status(&mut self) -> winapi::um::sapi51::SPVOICESTATUS { [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/sapi.rs:273:33 [INFO] [stdout] | [INFO] [stdout] 273 | let mut status: winapi::um::sapi51::SPVOICESTATUS = unsafe { mem::zeroed() }; [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/sapi.rs:288:31 [INFO] [stdout] | [INFO] [stdout] 288 | .map(|&x| winapi::um::sapi51::SPFEI(x)) [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/sapi.rs:292:31 [INFO] [stdout] | [INFO] [stdout] 292 | .map(|&x| winapi::um::sapi51::SPFEI(x)) [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/sapi.rs:439:29 [INFO] [stdout] | [INFO] [stdout] 439 | impl StatusUtil for winapi::um::sapi51::SPVOICESTATUS { [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/clipboard.rs:24:28 [INFO] [stdout] | [INFO] [stdout] 24 | let mut input: winapi::um::winuser::INPUT = unsafe { mem::zeroed() }; [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/clipboard.rs:26:31 [INFO] [stdout] | [INFO] [stdout] 26 | input.type_ = winapi::um::winuser::INPUT_KEYBOARD; [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/clipboard.rs:27:37 [INFO] [stdout] | [INFO] [stdout] 27 | *input.u.ki_mut() = winapi::um::winuser::KEYBDINPUT { [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/clipboard.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | winapi::um::winuser::SendInput(1, b, mem::size_of::() as i32); [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/clipboard.rs:35:69 [INFO] [stdout] | [INFO] [stdout] 35 | winapi::um::winuser::SendInput(1, b, mem::size_of::() as i32); [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/clipboard.rs:45:35 [INFO] [stdout] | [INFO] [stdout] 45 | send_key_event(v, winapi::um::winuser::KEYEVENTF_KEYUP); [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/clipboard.rs:51:25 [INFO] [stdout] | [INFO] [stdout] 51 | press_key(&[winapi::um::winuser::VK_CONTROL as u16, 67]); //ascii for "c" [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/main.rs:136:17 [INFO] [stdout] | [INFO] [stdout] 136 | winapi::um::winuser::PostThreadMessageW( [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/main.rs:137:21 [INFO] [stdout] | [INFO] [stdout] 137 | winapi::um::processthreadsapi::GetCurrentThreadId(), [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/main.rs:138:21 [INFO] [stdout] | [INFO] [stdout] 138 | winapi::um::winuser::WM_HOTKEY, [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/main.rs:139:27 [INFO] [stdout] | [INFO] [stdout] 139 | id as winapi::shared::minwindef::WPARAM, [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/main.rs:182:21 [INFO] [stdout] | [INFO] [stdout] 182 | winapi::um::winuser::WM_HOTKEY if (msg.wParam as usize) < state.hk.len() => { [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/main.rs:188:29 [INFO] [stdout] | [INFO] [stdout] 188 | winapi::um::winuser::TranslateMessage(&msg); [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/main.rs:189:29 [INFO] [stdout] | [INFO] [stdout] 189 | winapi::um::winuser::DispatchMessageW(&msg); [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_ESCAPE` in this scope [INFO] [stdout] --> src/hot_key.rs:83:27 [INFO] [stdout] | [INFO] [stdout] 83 | if self.vk == VK_ESCAPE as u32 { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_OEM_2` in this scope [INFO] [stdout] --> src/settings.rs:480:21 [INFO] [stdout] | [INFO] [stdout] 480 | (2, VK_OEM_2 as u32), // ctrl-? key [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_ESCAPE` in this scope [INFO] [stdout] --> src/settings.rs:481:21 [INFO] [stdout] | [INFO] [stdout] 481 | (7, VK_ESCAPE as u32), // ctrl-alt-shift-esk [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_OEM_2` in this scope [INFO] [stdout] --> src/settings.rs:484:21 [INFO] [stdout] | [INFO] [stdout] 484 | (3, VK_OEM_2 as u32), // ctrl-alt-? [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_OEM_PERIOD` in this scope [INFO] [stdout] --> src/settings.rs:485:21 [INFO] [stdout] | [INFO] [stdout] 485 | (2, VK_OEM_PERIOD as u32), // ctrl-. [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_OEM_MINUS` in this scope [INFO] [stdout] --> src/settings.rs:486:21 [INFO] [stdout] | [INFO] [stdout] 486 | (3, VK_OEM_MINUS as u32), // ctrl-alt-- [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_OEM_PLUS` in this scope [INFO] [stdout] --> src/settings.rs:487:21 [INFO] [stdout] | [INFO] [stdout] 487 | (3, VK_OEM_PLUS as u32), // ctrl-alt-= [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `null_mut` is imported redundantly [INFO] [stdout] --> src/window.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 9 | use std::ptr::null_mut; [INFO] [stdout] | ------------------ the item `null_mut` is already imported here [INFO] [stdout] ... [INFO] [stdout] 88 | use std::ptr::null_mut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/clean_text/test.rs:5:53 [INFO] [stdout] | [INFO] [stdout] 5 | pub static ref RE_LIST: Vec = { crate::settings::Settings::new().cleaners }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/clean_text/mod.rs:141:10 [INFO] [stdout] | [INFO] [stdout] 141 | ) -> Box> + 'a> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Iterator> + 'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/clean_text/mod.rs:183:10 [INFO] [stdout] | [INFO] [stdout] 183 | ) -> Box> + 'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Iterator> + 'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/clean_text/mod.rs:189:43 [INFO] [stdout] | [INFO] [stdout] 189 | fn trivial_pair<'a>(text: &'a str) -> Box> + 'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Iterator> + 'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/clean_text/mod.rs:196:10 [INFO] [stdout] | [INFO] [stdout] 196 | ) -> Box> + 'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Iterator> + 'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/clean_text/mod.rs:217:10 [INFO] [stdout] | [INFO] [stdout] 217 | ) -> Box + 'a> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Iterator + 'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/wide_string.rs:41:39 [INFO] [stdout] | [INFO] [stdout] 41 | let mut out: Vec = osstr.encode_wide().collect(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/wide_string.rs:41:39 [INFO] [stdout] | [INFO] [stdout] 41 | let mut out: Vec = osstr.encode_wide().collect(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/wide_string.rs:52:30 [INFO] [stdout] | [INFO] [stdout] 52 | out.extend(instr.encode_wide()); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/wide_string.rs:52:30 [INFO] [stdout] | [INFO] [stdout] 52 | out.extend(instr.encode_wide()); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/settings.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 68 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_reader` [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] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/settings.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 68 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "69db0b1ce3ba6dfdd20f141377049ae0b9dec48214ef4c78e80662d5b4509ebe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69db0b1ce3ba6dfdd20f141377049ae0b9dec48214ef4c78e80662d5b4509ebe", kill_on_drop: false }` [INFO] [stdout] 69db0b1ce3ba6dfdd20f141377049ae0b9dec48214ef4c78e80662d5b4509ebe