[INFO] cloning repository https://github.com/trha/dwrite-everywhere [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/trha/dwrite-everywhere" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrha%2Fdwrite-everywhere", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrha%2Fdwrite-everywhere'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a0aa13a8c66ae56a9a58716713ed7064df3360f3 [INFO] checking trha/dwrite-everywhere against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrha%2Fdwrite-everywhere" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/trha/dwrite-everywhere 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/trha/dwrite-everywhere [INFO] finished tweaking git repo https://github.com/trha/dwrite-everywhere [INFO] tweaked toml for git repo https://github.com/trha/dwrite-everywhere written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/trha/dwrite-everywhere 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/trha/detour-rs.git` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/Connicpu/direct2d-rs.git` [INFO] [stderr] error: the lock file /workspace/builds/worker-0/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/trha/detour-rs.git` [INFO] [stderr] Updating git repository `https://github.com/Connicpu/direct2d-rs.git` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded errno v0.2.7 [INFO] [stderr] Downloaded image v0.19.0 [INFO] [stderr] Downloaded directwrite v0.1.4 [INFO] [stderr] Downloaded dxgi v0.1.7 [INFO] [stderr] Downloaded slice-pool v0.3.4 [INFO] [stderr] Downloaded mmap-fixed v0.1.5 [INFO] [stderr] Downloaded gamma-lut v0.2.3 [INFO] [stderr] Downloaded tap v0.2.1 [INFO] [stderr] Downloaded generic-array v0.10.1 [INFO] [stderr] Downloaded region v0.3.0 [INFO] [stderr] Downloaded libudis86-sys v0.2.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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] e7a3c42b8f32c7a6128aeb12b484e6b916931fc9e961dcfd5904a6f5f5c0ea8c [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" "e7a3c42b8f32c7a6128aeb12b484e6b916931fc9e961dcfd5904a6f5f5c0ea8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e7a3c42b8f32c7a6128aeb12b484e6b916931fc9e961dcfd5904a6f5f5c0ea8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7a3c42b8f32c7a6128aeb12b484e6b916931fc9e961dcfd5904a6f5f5c0ea8c", kill_on_drop: false }` [INFO] [stdout] e7a3c42b8f32c7a6128aeb12b484e6b916931fc9e961dcfd5904a6f5f5c0ea8c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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] 0c0db5d6de086f23e86e677b822889c60773eca4dadb5946d088d26da113f2ce [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" "0c0db5d6de086f23e86e677b822889c60773eca4dadb5946d088d26da113f2ce", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking encoding_index_tests v0.1.4 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling serde_derive v1.0.124 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking slice-pool v0.3.4 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking tap v0.2.1 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking direct2d v0.1.2 (https://github.com/Connicpu/direct2d-rs.git?rev=c2a1889#c2a18895) [INFO] [stderr] Checking directwrite v0.1.4 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling libudis86-sys v0.2.1 [INFO] [stderr] Checking encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Checking encoding-index-japanese v1.20141219.5 [INFO] [stderr] Checking encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-korean v1.20141219.5 [INFO] [stderr] Checking encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Checking crossbeam-utils v0.8.3 [INFO] [stderr] Checking errno v0.2.7 [INFO] [stderr] Checking mmap-fixed v0.1.5 [INFO] [stderr] Checking gamma-lut v0.2.3 [INFO] [stderr] Checking encoding v0.2.33 [INFO] [stderr] Checking crossbeam-epoch v0.9.3 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking wio v0.2.2 [INFO] [stderr] Checking png v0.12.0 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking backtrace v0.3.56 [INFO] [stderr] Checking rayon-core v1.9.0 [INFO] [stderr] Compiling syn v1.0.64 [INFO] [stderr] Checking generic-array v0.10.1 [INFO] [stderr] Checking rayon v1.5.0 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking image v0.19.0 [INFO] [stderr] Checking region v0.3.0 [INFO] [stderr] Checking detour v0.5.0 (https://github.com/trha/detour-rs.git?branch=master#15c39107) [INFO] [stderr] Checking dwrite-everywhere v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/errors.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use winapi::um::winnt::HRESULT; [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:20:3 [INFO] [stdout] | [INFO] [stdout] 20 | shared::minwindef::{FALSE, TRUE}, [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:21:3 [INFO] [stdout] | [INFO] [stdout] 21 | um::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `winapi::um`, `winapi::Interface` [INFO] [stdout] --> src/main.rs:21:3 [INFO] [stdout] | [INFO] [stdout] 21 | um::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] ... [INFO] [stdout] 25 | Interface, [INFO] [stdout] | ^^^^^^^^^ no `Interface` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `wio::com` [INFO] [stdout] --> src/main.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | use wio::com::ComPtr; [INFO] [stdout] | ^^^ could not find `com` in `wio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `wio::wide` [INFO] [stdout] --> src/main.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | use wio::wide::ToWide; [INFO] [stdout] | ^^^^ could not find `wide` in `wio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/errors.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use winapi::um::winnt::HRESULT; [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:20:3 [INFO] [stdout] | [INFO] [stdout] 20 | shared::minwindef::{FALSE, TRUE}, [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:21:3 [INFO] [stdout] | [INFO] [stdout] 21 | um::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `winapi::um`, `winapi::Interface` [INFO] [stdout] --> src/main.rs:21:3 [INFO] [stdout] | [INFO] [stdout] 21 | um::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] ... [INFO] [stdout] 25 | Interface, [INFO] [stdout] | ^^^^^^^^^ no `Interface` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `wio::com` [INFO] [stdout] --> src/main.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | use wio::com::ComPtr; [INFO] [stdout] | ^^^ could not find `com` in `wio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `wio::wide` [INFO] [stdout] --> src/main.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | use wio::wide::ToWide; [INFO] [stdout] | ^^^^ could not find `wide` in `wio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/errors.rs:37:20 [INFO] [stdout] | [INFO] [stdout] 37 | if ::winapi::shared::winerror::SUCCEEDED(hr) { [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:51:7 [INFO] [stdout] | [INFO] [stdout] 51 | / com_invoke!( [INFO] [stdout] 52 | | (dw::DWriteCreateFactory), [INFO] [stdout] 53 | | (dw::DWRITE_FACTORY_TYPE_SHARED), [INFO] [stdout] 54 | | (&dw_3::IDWriteFactory3::uuidof()), [INFO] [stdout] 55 | | (->> p) [INFO] [stdout] 56 | | ).unwrap(), [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `com` in `wio` [INFO] [stdout] --> src/errors.rs:61:61 [INFO] [stdout] | [INFO] [stdout] 61 | (@ret (->> $a:ident), $($arg:tt,)*) => { (unsafe { ::wio::com::ComPtr::from_raw($a) }, com_invoke!(@ret $($arg,)*)) }; [INFO] [stdout] | ^^^ could not find `com` in `wio` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:51:7 [INFO] [stdout] | [INFO] [stdout] 51 | / com_invoke!( [INFO] [stdout] 52 | | (dw::DWriteCreateFactory), [INFO] [stdout] 53 | | (dw::DWRITE_FACTORY_TYPE_SHARED), [INFO] [stdout] 54 | | (&dw_3::IDWriteFactory3::uuidof()), [INFO] [stdout] 55 | | (->> p) [INFO] [stdout] 56 | | ).unwrap(), [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/errors.rs:37:20 [INFO] [stdout] | [INFO] [stdout] 37 | if ::winapi::shared::winerror::SUCCEEDED(hr) { [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:61:7 [INFO] [stdout] | [INFO] [stdout] 61 | / com_invoke!( [INFO] [stdout] 62 | | (dw::DWriteCreateFactory), [INFO] [stdout] 63 | | (dw::DWRITE_FACTORY_TYPE_SHARED), [INFO] [stdout] 64 | | (&dw::IDWriteFactory::uuidof()), [INFO] [stdout] 65 | | (->> p) [INFO] [stdout] 66 | | ).unwrap(), [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `com` in `wio` [INFO] [stdout] --> src/errors.rs:61:61 [INFO] [stdout] | [INFO] [stdout] 61 | (@ret (->> $a:ident), $($arg:tt,)*) => { (unsafe { ::wio::com::ComPtr::from_raw($a) }, com_invoke!(@ret $($arg,)*)) }; [INFO] [stdout] | ^^^ could not find `com` in `wio` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:61:7 [INFO] [stdout] | [INFO] [stdout] 61 | / com_invoke!( [INFO] [stdout] 62 | | (dw::DWriteCreateFactory), [INFO] [stdout] 63 | | (dw::DWRITE_FACTORY_TYPE_SHARED), [INFO] [stdout] 64 | | (&dw::IDWriteFactory::uuidof()), [INFO] [stdout] 65 | | (->> p) [INFO] [stdout] 66 | | ).unwrap(), [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/errors.rs:37:20 [INFO] [stdout] | [INFO] [stdout] 37 | if ::winapi::shared::winerror::SUCCEEDED(hr) { [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:71:26 [INFO] [stdout] | [INFO] [stdout] 71 | let (collection, ()) = com_invoke!(fac.GetSystemFontCollection, FALSE, (->> p), FALSE).unwrap(); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/errors.rs:37:20 [INFO] [stdout] | [INFO] [stdout] 37 | if ::winapi::shared::winerror::SUCCEEDED(hr) { [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:51:7 [INFO] [stdout] | [INFO] [stdout] 51 | / com_invoke!( [INFO] [stdout] 52 | | (dw::DWriteCreateFactory), [INFO] [stdout] 53 | | (dw::DWRITE_FACTORY_TYPE_SHARED), [INFO] [stdout] 54 | | (&dw_3::IDWriteFactory3::uuidof()), [INFO] [stdout] 55 | | (->> p) [INFO] [stdout] 56 | | ).unwrap(), [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `com` in `wio` [INFO] [stdout] --> src/errors.rs:61:61 [INFO] [stdout] | [INFO] [stdout] 61 | (@ret (->> $a:ident), $($arg:tt,)*) => { (unsafe { ::wio::com::ComPtr::from_raw($a) }, com_invoke!(@ret $($arg,)*)) }; [INFO] [stdout] | ^^^ could not find `com` in `wio` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:51:7 [INFO] [stdout] | [INFO] [stdout] 51 | / com_invoke!( [INFO] [stdout] 52 | | (dw::DWriteCreateFactory), [INFO] [stdout] 53 | | (dw::DWRITE_FACTORY_TYPE_SHARED), [INFO] [stdout] 54 | | (&dw_3::IDWriteFactory3::uuidof()), [INFO] [stdout] 55 | | (->> p) [INFO] [stdout] 56 | | ).unwrap(), [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/errors.rs:37:20 [INFO] [stdout] | [INFO] [stdout] 37 | if ::winapi::shared::winerror::SUCCEEDED(hr) { [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:61:7 [INFO] [stdout] | [INFO] [stdout] 61 | / com_invoke!( [INFO] [stdout] 62 | | (dw::DWriteCreateFactory), [INFO] [stdout] 63 | | (dw::DWRITE_FACTORY_TYPE_SHARED), [INFO] [stdout] 64 | | (&dw::IDWriteFactory::uuidof()), [INFO] [stdout] 65 | | (->> p) [INFO] [stdout] 66 | | ).unwrap(), [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `com` in `wio` [INFO] [stdout] --> src/errors.rs:61:61 [INFO] [stdout] | [INFO] [stdout] 61 | (@ret (->> $a:ident), $($arg:tt,)*) => { (unsafe { ::wio::com::ComPtr::from_raw($a) }, com_invoke!(@ret $($arg,)*)) }; [INFO] [stdout] | ^^^ could not find `com` in `wio` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:61:7 [INFO] [stdout] | [INFO] [stdout] 61 | / com_invoke!( [INFO] [stdout] 62 | | (dw::DWriteCreateFactory), [INFO] [stdout] 63 | | (dw::DWRITE_FACTORY_TYPE_SHARED), [INFO] [stdout] 64 | | (&dw::IDWriteFactory::uuidof()), [INFO] [stdout] 65 | | (->> p) [INFO] [stdout] 66 | | ).unwrap(), [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `com` in `wio` [INFO] [stdout] --> src/errors.rs:61:61 [INFO] [stdout] | [INFO] [stdout] 61 | (@ret (->> $a:ident), $($arg:tt,)*) => { (unsafe { ::wio::com::ComPtr::from_raw($a) }, com_invoke!(@ret $($arg,)*)) }; [INFO] [stdout] | ^^^ could not find `com` in `wio` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:71:26 [INFO] [stdout] | [INFO] [stdout] 71 | let (collection, ()) = com_invoke!(fac.GetSystemFontCollection, FALSE, (->> p), FALSE).unwrap(); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/errors.rs:37:20 [INFO] [stdout] | [INFO] [stdout] 37 | if ::winapi::shared::winerror::SUCCEEDED(hr) { [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:73:24 [INFO] [stdout] | [INFO] [stdout] 73 | let (idx, (e, ())) = com_invoke!( [INFO] [stdout] | ________________________- [INFO] [stdout] 74 | | collection.FindFamilyName, [INFO] [stdout] 75 | | (OsString::from("Hasklig".to_string()).to_wide_null().as_ptr()), [INFO] [stdout] 76 | | (-> i), [INFO] [stdout] 77 | | (-> e) [INFO] [stdout] 78 | | ).unwrap(); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/errors.rs:37:20 [INFO] [stdout] | [INFO] [stdout] 37 | if ::winapi::shared::winerror::SUCCEEDED(hr) { [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:83:19 [INFO] [stdout] | [INFO] [stdout] 83 | let (fam, ()) = com_invoke!(collection.GetFontFamily, idx, (->> p)).unwrap(); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `com` in `wio` [INFO] [stdout] --> src/errors.rs:61:61 [INFO] [stdout] | [INFO] [stdout] 61 | (@ret (->> $a:ident), $($arg:tt,)*) => { (unsafe { ::wio::com::ComPtr::from_raw($a) }, com_invoke!(@ret $($arg,)*)) }; [INFO] [stdout] | ^^^ could not find `com` in `wio` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:83:19 [INFO] [stdout] | [INFO] [stdout] 83 | let (fam, ()) = com_invoke!(collection.GetFontFamily, idx, (->> p)).unwrap(); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/errors.rs:37:20 [INFO] [stdout] | [INFO] [stdout] 37 | if ::winapi::shared::winerror::SUCCEEDED(hr) { [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:71:26 [INFO] [stdout] | [INFO] [stdout] 71 | let (collection, ()) = com_invoke!(fac.GetSystemFontCollection, FALSE, (->> p), FALSE).unwrap(); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/errors.rs:37:20 [INFO] [stdout] | [INFO] [stdout] 37 | if ::winapi::shared::winerror::SUCCEEDED(hr) { [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:84:20 [INFO] [stdout] | [INFO] [stdout] 84 | ... = com_invoke!(fam.GetFirstMatchingFont, (dw::DWRITE_FONT_WEIGHT_NORMAL), (dw::DWRITE_FONT_STRETCH_NORMAL), (dw::DWRITE_FONT_STYLE_NORMAL), (->> p)) [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `com` in `wio` [INFO] [stdout] --> src/errors.rs:61:61 [INFO] [stdout] | [INFO] [stdout] 61 | (@ret (->> $a:ident), $($arg:tt,)*) => { (unsafe { ::wio::com::ComPtr::from_raw($a) }, com_invoke!(@ret $($arg,)*)) }; [INFO] [stdout] | ^^^ could not find `com` in `wio` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:71:26 [INFO] [stdout] | [INFO] [stdout] 71 | let (collection, ()) = com_invoke!(fac.GetSystemFontCollection, FALSE, (->> p), FALSE).unwrap(); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `com` in `wio` [INFO] [stdout] --> src/errors.rs:61:61 [INFO] [stdout] | [INFO] [stdout] 61 | (@ret (->> $a:ident), $($arg:tt,)*) => { (unsafe { ::wio::com::ComPtr::from_raw($a) }, com_invoke!(@ret $($arg,)*)) }; [INFO] [stdout] | ^^^ could not find `com` in `wio` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:84:20 [INFO] [stdout] | [INFO] [stdout] 84 | ... = com_invoke!(fam.GetFirstMatchingFont, (dw::DWRITE_FONT_WEIGHT_NORMAL), (dw::DWRITE_FONT_STRETCH_NORMAL), (dw::DWRITE_FONT_STYLE_NORMAL), (->> p)) [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/errors.rs:37:20 [INFO] [stdout] | [INFO] [stdout] 37 | if ::winapi::shared::winerror::SUCCEEDED(hr) { [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:73:24 [INFO] [stdout] | [INFO] [stdout] 73 | let (idx, (e, ())) = com_invoke!( [INFO] [stdout] | ________________________- [INFO] [stdout] 74 | | collection.FindFamilyName, [INFO] [stdout] 75 | | (OsString::from("Hasklig".to_string()).to_wide_null().as_ptr()), [INFO] [stdout] 76 | | (-> i), [INFO] [stdout] 77 | | (-> e) [INFO] [stdout] 78 | | ).unwrap(); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/errors.rs:37:20 [INFO] [stdout] | [INFO] [stdout] 37 | if ::winapi::shared::winerror::SUCCEEDED(hr) { [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:86:20 [INFO] [stdout] | [INFO] [stdout] 86 | let (face, ()) = com_invoke!(font.CreateFontFace, (->> face)).unwrap(); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `com` in `wio` [INFO] [stdout] --> src/errors.rs:61:61 [INFO] [stdout] | [INFO] [stdout] 61 | (@ret (->> $a:ident), $($arg:tt,)*) => { (unsafe { ::wio::com::ComPtr::from_raw($a) }, com_invoke!(@ret $($arg,)*)) }; [INFO] [stdout] | ^^^ could not find `com` in `wio` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:86:20 [INFO] [stdout] | [INFO] [stdout] 86 | let (face, ()) = com_invoke!(font.CreateFontFace, (->> face)).unwrap(); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/errors.rs:37:20 [INFO] [stdout] | [INFO] [stdout] 37 | if ::winapi::shared::winerror::SUCCEEDED(hr) { [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:83:19 [INFO] [stdout] | [INFO] [stdout] 83 | let (fam, ()) = com_invoke!(collection.GetFontFamily, idx, (->> p)).unwrap(); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/errors.rs:37:20 [INFO] [stdout] | [INFO] [stdout] 37 | if ::winapi::shared::winerror::SUCCEEDED(hr) { [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:93:3 [INFO] [stdout] | [INFO] [stdout] 93 | / com_invoke!( [INFO] [stdout] 94 | | face.GetGlyphIndices, [INFO] [stdout] 95 | | (s.as_ptr()), [INFO] [stdout] 96 | | (s.len() as u32), [INFO] [stdout] 97 | | (ixs.as_mut_ptr()) [INFO] [stdout] 98 | | ).unwrap(); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `com` in `wio` [INFO] [stdout] --> src/errors.rs:61:61 [INFO] [stdout] | [INFO] [stdout] 61 | (@ret (->> $a:ident), $($arg:tt,)*) => { (unsafe { ::wio::com::ComPtr::from_raw($a) }, com_invoke!(@ret $($arg,)*)) }; [INFO] [stdout] | ^^^ could not find `com` in `wio` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:83:19 [INFO] [stdout] | [INFO] [stdout] 83 | let (fam, ()) = com_invoke!(collection.GetFontFamily, idx, (->> p)).unwrap(); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/errors.rs:37:20 [INFO] [stdout] | [INFO] [stdout] 37 | if ::winapi::shared::winerror::SUCCEEDED(hr) { [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:122:24 [INFO] [stdout] | [INFO] [stdout] 122 | let (analysis, ()) = com_invoke!( [INFO] [stdout] | ________________________- [INFO] [stdout] 123 | | fac_0.CreateGlyphRunAnalysis, [INFO] [stdout] 124 | | (&gr), [INFO] [stdout] 125 | | 1.0, [INFO] [stdout] ... | [INFO] [stdout] 133 | | (->> p) [INFO] [stdout] 134 | | ).unwrap(); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/errors.rs:37:20 [INFO] [stdout] | [INFO] [stdout] 37 | if ::winapi::shared::winerror::SUCCEEDED(hr) { [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:84:20 [INFO] [stdout] | [INFO] [stdout] 84 | ... = com_invoke!(fam.GetFirstMatchingFont, (dw::DWRITE_FONT_WEIGHT_NORMAL), (dw::DWRITE_FONT_STRETCH_NORMAL), (dw::DWRITE_FONT_STYLE_NORMAL), (->> p)) [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `com` in `wio` [INFO] [stdout] --> src/errors.rs:61:61 [INFO] [stdout] | [INFO] [stdout] 61 | (@ret (->> $a:ident), $($arg:tt,)*) => { (unsafe { ::wio::com::ComPtr::from_raw($a) }, com_invoke!(@ret $($arg,)*)) }; [INFO] [stdout] | ^^^ could not find `com` in `wio` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:122:24 [INFO] [stdout] | [INFO] [stdout] 122 | let (analysis, ()) = com_invoke!( [INFO] [stdout] | ________________________- [INFO] [stdout] 123 | | fac_0.CreateGlyphRunAnalysis, [INFO] [stdout] 124 | | (&gr), [INFO] [stdout] 125 | | 1.0, [INFO] [stdout] ... | [INFO] [stdout] 133 | | (->> p) [INFO] [stdout] 134 | | ).unwrap(); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `com` in `wio` [INFO] [stdout] --> src/errors.rs:61:61 [INFO] [stdout] | [INFO] [stdout] 61 | (@ret (->> $a:ident), $($arg:tt,)*) => { (unsafe { ::wio::com::ComPtr::from_raw($a) }, com_invoke!(@ret $($arg,)*)) }; [INFO] [stdout] | ^^^ could not find `com` in `wio` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:84:20 [INFO] [stdout] | [INFO] [stdout] 84 | ... = com_invoke!(fam.GetFirstMatchingFont, (dw::DWRITE_FONT_WEIGHT_NORMAL), (dw::DWRITE_FONT_STRETCH_NORMAL), (dw::DWRITE_FONT_STYLE_NORMAL), (->> p)) [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/errors.rs:37:20 [INFO] [stdout] | [INFO] [stdout] 37 | if ::winapi::shared::winerror::SUCCEEDED(hr) { [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 137 | com_invoke!(analysis.GetAlphaTextureBounds, (dw::DWRITE_TEXTURE_ALIASED_1x1), (-> p)).unwrap(); [INFO] [stdout] | ------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/errors.rs:37:20 [INFO] [stdout] | [INFO] [stdout] 37 | if ::winapi::shared::winerror::SUCCEEDED(hr) { [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:86:20 [INFO] [stdout] | [INFO] [stdout] 86 | let (face, ()) = com_invoke!(font.CreateFontFace, (->> face)).unwrap(); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/errors.rs:37:20 [INFO] [stdout] | [INFO] [stdout] 37 | if ::winapi::shared::winerror::SUCCEEDED(hr) { [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:145:3 [INFO] [stdout] | [INFO] [stdout] 145 | / com_invoke!( [INFO] [stdout] 146 | | analysis.CreateAlphaTexture, [INFO] [stdout] 147 | | (dw::DWRITE_TEXTURE_ALIASED_1x1), [INFO] [stdout] 148 | | (&bounds), [INFO] [stdout] 149 | | (buf1.as_mut_ptr()), [INFO] [stdout] 150 | | (buf1.len() as u32) [INFO] [stdout] 151 | | ).unwrap(); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/errors.rs:12:58 [INFO] [stdout] | [INFO] [stdout] 12 | pub type HResult = ::std::result::Result>; [INFO] [stdout] | - ^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `, HRESULT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `com` in `wio` [INFO] [stdout] --> src/errors.rs:61:61 [INFO] [stdout] | [INFO] [stdout] 61 | (@ret (->> $a:ident), $($arg:tt,)*) => { (unsafe { ::wio::com::ComPtr::from_raw($a) }, com_invoke!(@ret $($arg,)*)) }; [INFO] [stdout] | ^^^ could not find `com` in `wio` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:86:20 [INFO] [stdout] | [INFO] [stdout] 86 | let (face, ()) = com_invoke!(font.CreateFontFace, (->> face)).unwrap(); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LoadLibraryW` in this scope [INFO] [stdout] --> src/main.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | let h = LoadLibraryW( [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/main.rs:71:67 [INFO] [stdout] | [INFO] [stdout] 71 | let (collection, ()) = com_invoke!(fac.GetSystemFontCollection, FALSE, (->> p), FALSE).unwrap(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/main.rs:71:83 [INFO] [stdout] | [INFO] [stdout] 71 | let (collection, ()) = com_invoke!(fac.GetSystemFontCollection, FALSE, (->> p), FALSE).unwrap(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> src/main.rs:79:11 [INFO] [stdout] | [INFO] [stdout] 79 | if e != TRUE { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RgbImage` [INFO] [stdout] --> src/main.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use image::{RgbImage, RgbaImage}; [INFO] [stdout] | ^^^^^^^^ [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 `shared` in `winapi` [INFO] [stdout] --> src/errors.rs:37:20 [INFO] [stdout] | [INFO] [stdout] 37 | if ::winapi::shared::winerror::SUCCEEDED(hr) { [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:93:3 [INFO] [stdout] | [INFO] [stdout] 93 | / com_invoke!( [INFO] [stdout] 94 | | face.GetGlyphIndices, [INFO] [stdout] 95 | | (s.as_ptr()), [INFO] [stdout] 96 | | (s.len() as u32), [INFO] [stdout] 97 | | (ixs.as_mut_ptr()) [INFO] [stdout] 98 | | ).unwrap(); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Command`, `self` [INFO] [stdout] --> src/main.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | process::{self, Command}, [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/errors.rs:33:35 [INFO] [stdout] | [INFO] [stdout] 33 | $(com_invoke!(@init $arg);)*; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:51:7 [INFO] [stdout] | [INFO] [stdout] 51 | / com_invoke!( [INFO] [stdout] 52 | | (dw::DWriteCreateFactory), [INFO] [stdout] 53 | | (dw::DWRITE_FACTORY_TYPE_SHARED), [INFO] [stdout] 54 | | (&dw_3::IDWriteFactory3::uuidof()), [INFO] [stdout] 55 | | (->> p) [INFO] [stdout] 56 | | ).unwrap(), [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/errors.rs:37:20 [INFO] [stdout] | [INFO] [stdout] 37 | if ::winapi::shared::winerror::SUCCEEDED(hr) { [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:122:24 [INFO] [stdout] | [INFO] [stdout] 122 | let (analysis, ()) = com_invoke!( [INFO] [stdout] | ________________________- [INFO] [stdout] 123 | | fac_0.CreateGlyphRunAnalysis, [INFO] [stdout] 124 | | (&gr), [INFO] [stdout] 125 | | 1.0, [INFO] [stdout] ... | [INFO] [stdout] 133 | | (->> p) [INFO] [stdout] 134 | | ).unwrap(); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/errors.rs:33:35 [INFO] [stdout] | [INFO] [stdout] 33 | $(com_invoke!(@init $arg);)*; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:61:7 [INFO] [stdout] | [INFO] [stdout] 61 | / com_invoke!( [INFO] [stdout] 62 | | (dw::DWriteCreateFactory), [INFO] [stdout] 63 | | (dw::DWRITE_FACTORY_TYPE_SHARED), [INFO] [stdout] 64 | | (&dw::IDWriteFactory::uuidof()), [INFO] [stdout] 65 | | (->> p) [INFO] [stdout] 66 | | ).unwrap(), [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/errors.rs:33:35 [INFO] [stdout] | [INFO] [stdout] 33 | $(com_invoke!(@init $arg);)*; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:71:26 [INFO] [stdout] | [INFO] [stdout] 71 | let (collection, ()) = com_invoke!(fac.GetSystemFontCollection, FALSE, (->> p), FALSE).unwrap(); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/errors.rs:33:35 [INFO] [stdout] | [INFO] [stdout] 33 | $(com_invoke!(@init $arg);)*; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:73:24 [INFO] [stdout] | [INFO] [stdout] 73 | let (idx, (e, ())) = com_invoke!( [INFO] [stdout] | ________________________- [INFO] [stdout] 74 | | collection.FindFamilyName, [INFO] [stdout] 75 | | (OsString::from("Hasklig".to_string()).to_wide_null().as_ptr()), [INFO] [stdout] 76 | | (-> i), [INFO] [stdout] 77 | | (-> e) [INFO] [stdout] 78 | | ).unwrap(); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/errors.rs:33:35 [INFO] [stdout] | [INFO] [stdout] 33 | $(com_invoke!(@init $arg);)*; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:83:19 [INFO] [stdout] | [INFO] [stdout] 83 | let (fam, ()) = com_invoke!(collection.GetFontFamily, idx, (->> p)).unwrap(); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `com` in `wio` [INFO] [stdout] --> src/errors.rs:61:61 [INFO] [stdout] | [INFO] [stdout] 61 | (@ret (->> $a:ident), $($arg:tt,)*) => { (unsafe { ::wio::com::ComPtr::from_raw($a) }, com_invoke!(@ret $($arg,)*)) }; [INFO] [stdout] | ^^^ could not find `com` in `wio` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:122:24 [INFO] [stdout] | [INFO] [stdout] 122 | let (analysis, ()) = com_invoke!( [INFO] [stdout] | ________________________- [INFO] [stdout] 123 | | fac_0.CreateGlyphRunAnalysis, [INFO] [stdout] 124 | | (&gr), [INFO] [stdout] 125 | | 1.0, [INFO] [stdout] ... | [INFO] [stdout] 133 | | (->> p) [INFO] [stdout] 134 | | ).unwrap(); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/errors.rs:33:35 [INFO] [stdout] | [INFO] [stdout] 33 | $(com_invoke!(@init $arg);)*; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:84:20 [INFO] [stdout] | [INFO] [stdout] 84 | ... = com_invoke!(fam.GetFirstMatchingFont, (dw::DWRITE_FONT_WEIGHT_NORMAL), (dw::DWRITE_FONT_STRETCH_NORMAL), (dw::DWRITE_FONT_STYLE_NORMAL), (->> p)) [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/errors.rs:33:35 [INFO] [stdout] | [INFO] [stdout] 33 | $(com_invoke!(@init $arg);)*; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:86:20 [INFO] [stdout] | [INFO] [stdout] 86 | let (face, ()) = com_invoke!(font.CreateFontFace, (->> face)).unwrap(); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/errors.rs:33:35 [INFO] [stdout] | [INFO] [stdout] 33 | $(com_invoke!(@init $arg);)*; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:93:3 [INFO] [stdout] | [INFO] [stdout] 93 | / com_invoke!( [INFO] [stdout] 94 | | face.GetGlyphIndices, [INFO] [stdout] 95 | | (s.as_ptr()), [INFO] [stdout] 96 | | (s.len() as u32), [INFO] [stdout] 97 | | (ixs.as_mut_ptr()) [INFO] [stdout] 98 | | ).unwrap(); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/errors.rs:37:20 [INFO] [stdout] | [INFO] [stdout] 37 | if ::winapi::shared::winerror::SUCCEEDED(hr) { [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 137 | com_invoke!(analysis.GetAlphaTextureBounds, (dw::DWRITE_TEXTURE_ALIASED_1x1), (-> p)).unwrap(); [INFO] [stdout] | ------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/errors.rs:33:35 [INFO] [stdout] | [INFO] [stdout] 33 | $(com_invoke!(@init $arg);)*; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:122:24 [INFO] [stdout] | [INFO] [stdout] 122 | let (analysis, ()) = com_invoke!( [INFO] [stdout] | ________________________- [INFO] [stdout] 123 | | fac_0.CreateGlyphRunAnalysis, [INFO] [stdout] 124 | | (&gr), [INFO] [stdout] 125 | | 1.0, [INFO] [stdout] ... | [INFO] [stdout] 133 | | (->> p) [INFO] [stdout] 134 | | ).unwrap(); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/errors.rs:33:35 [INFO] [stdout] | [INFO] [stdout] 33 | $(com_invoke!(@init $arg);)*; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 137 | com_invoke!(analysis.GetAlphaTextureBounds, (dw::DWRITE_TEXTURE_ALIASED_1x1), (-> p)).unwrap(); [INFO] [stdout] | ------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/errors.rs:33:35 [INFO] [stdout] | [INFO] [stdout] 33 | $(com_invoke!(@init $arg);)*; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:145:3 [INFO] [stdout] | [INFO] [stdout] 145 | / com_invoke!( [INFO] [stdout] 146 | | analysis.CreateAlphaTexture, [INFO] [stdout] 147 | | (dw::DWRITE_TEXTURE_ALIASED_1x1), [INFO] [stdout] 148 | | (&bounds), [INFO] [stdout] 149 | | (buf1.as_mut_ptr()), [INFO] [stdout] 150 | | (buf1.len() as u32) [INFO] [stdout] 151 | | ).unwrap(); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/errors.rs:37:20 [INFO] [stdout] | [INFO] [stdout] 37 | if ::winapi::shared::winerror::SUCCEEDED(hr) { [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:145:3 [INFO] [stdout] | [INFO] [stdout] 145 | / com_invoke!( [INFO] [stdout] 146 | | analysis.CreateAlphaTexture, [INFO] [stdout] 147 | | (dw::DWRITE_TEXTURE_ALIASED_1x1), [INFO] [stdout] 148 | | (&bounds), [INFO] [stdout] 149 | | (buf1.as_mut_ptr()), [INFO] [stdout] 150 | | (buf1.len() as u32) [INFO] [stdout] 151 | | ).unwrap(); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/errors.rs:12:58 [INFO] [stdout] | [INFO] [stdout] 12 | pub type HResult = ::std::result::Result>; [INFO] [stdout] | - ^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `, HRESULT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LoadLibraryW` in this scope [INFO] [stdout] --> src/main.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | let h = LoadLibraryW( [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/main.rs:71:67 [INFO] [stdout] | [INFO] [stdout] 71 | let (collection, ()) = com_invoke!(fac.GetSystemFontCollection, FALSE, (->> p), FALSE).unwrap(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/main.rs:71:83 [INFO] [stdout] | [INFO] [stdout] 71 | let (collection, ()) = com_invoke!(fac.GetSystemFontCollection, FALSE, (->> p), FALSE).unwrap(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> src/main.rs:79:11 [INFO] [stdout] | [INFO] [stdout] 79 | if e != TRUE { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RgbImage` [INFO] [stdout] --> src/main.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use image::{RgbImage, RgbaImage}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Command`, `self` [INFO] [stdout] --> src/main.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | process::{self, Command}, [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/errors.rs:33:35 [INFO] [stdout] | [INFO] [stdout] 33 | $(com_invoke!(@init $arg);)*; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:51:7 [INFO] [stdout] | [INFO] [stdout] 51 | / com_invoke!( [INFO] [stdout] 52 | | (dw::DWriteCreateFactory), [INFO] [stdout] 53 | | (dw::DWRITE_FACTORY_TYPE_SHARED), [INFO] [stdout] 54 | | (&dw_3::IDWriteFactory3::uuidof()), [INFO] [stdout] 55 | | (->> p) [INFO] [stdout] 56 | | ).unwrap(), [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/errors.rs:33:35 [INFO] [stdout] | [INFO] [stdout] 33 | $(com_invoke!(@init $arg);)*; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:61:7 [INFO] [stdout] | [INFO] [stdout] 61 | / com_invoke!( [INFO] [stdout] 62 | | (dw::DWriteCreateFactory), [INFO] [stdout] 63 | | (dw::DWRITE_FACTORY_TYPE_SHARED), [INFO] [stdout] 64 | | (&dw::IDWriteFactory::uuidof()), [INFO] [stdout] 65 | | (->> p) [INFO] [stdout] 66 | | ).unwrap(), [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/errors.rs:33:35 [INFO] [stdout] | [INFO] [stdout] 33 | $(com_invoke!(@init $arg);)*; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:71:26 [INFO] [stdout] | [INFO] [stdout] 71 | let (collection, ()) = com_invoke!(fac.GetSystemFontCollection, FALSE, (->> p), FALSE).unwrap(); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/errors.rs:33:35 [INFO] [stdout] | [INFO] [stdout] 33 | $(com_invoke!(@init $arg);)*; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:73:24 [INFO] [stdout] | [INFO] [stdout] 73 | let (idx, (e, ())) = com_invoke!( [INFO] [stdout] | ________________________- [INFO] [stdout] 74 | | collection.FindFamilyName, [INFO] [stdout] 75 | | (OsString::from("Hasklig".to_string()).to_wide_null().as_ptr()), [INFO] [stdout] 76 | | (-> i), [INFO] [stdout] 77 | | (-> e) [INFO] [stdout] 78 | | ).unwrap(); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/errors.rs:33:35 [INFO] [stdout] | [INFO] [stdout] 33 | $(com_invoke!(@init $arg);)*; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:83:19 [INFO] [stdout] | [INFO] [stdout] 83 | let (fam, ()) = com_invoke!(collection.GetFontFamily, idx, (->> p)).unwrap(); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/errors.rs:33:35 [INFO] [stdout] | [INFO] [stdout] 33 | $(com_invoke!(@init $arg);)*; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:84:20 [INFO] [stdout] | [INFO] [stdout] 84 | ... = com_invoke!(fam.GetFirstMatchingFont, (dw::DWRITE_FONT_WEIGHT_NORMAL), (dw::DWRITE_FONT_STRETCH_NORMAL), (dw::DWRITE_FONT_STYLE_NORMAL), (->> p)) [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/errors.rs:33:35 [INFO] [stdout] | [INFO] [stdout] 33 | $(com_invoke!(@init $arg);)*; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:86:20 [INFO] [stdout] | [INFO] [stdout] 86 | let (face, ()) = com_invoke!(font.CreateFontFace, (->> face)).unwrap(); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/errors.rs:33:35 [INFO] [stdout] | [INFO] [stdout] 33 | $(com_invoke!(@init $arg);)*; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:93:3 [INFO] [stdout] | [INFO] [stdout] 93 | / com_invoke!( [INFO] [stdout] 94 | | face.GetGlyphIndices, [INFO] [stdout] 95 | | (s.as_ptr()), [INFO] [stdout] 96 | | (s.len() as u32), [INFO] [stdout] 97 | | (ixs.as_mut_ptr()) [INFO] [stdout] 98 | | ).unwrap(); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/errors.rs:33:35 [INFO] [stdout] | [INFO] [stdout] 33 | $(com_invoke!(@init $arg);)*; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:122:24 [INFO] [stdout] | [INFO] [stdout] 122 | let (analysis, ()) = com_invoke!( [INFO] [stdout] | ________________________- [INFO] [stdout] 123 | | fac_0.CreateGlyphRunAnalysis, [INFO] [stdout] 124 | | (&gr), [INFO] [stdout] 125 | | 1.0, [INFO] [stdout] ... | [INFO] [stdout] 133 | | (->> p) [INFO] [stdout] 134 | | ).unwrap(); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/errors.rs:33:35 [INFO] [stdout] | [INFO] [stdout] 33 | $(com_invoke!(@init $arg);)*; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 137 | com_invoke!(analysis.GetAlphaTextureBounds, (dw::DWRITE_TEXTURE_ALIASED_1x1), (-> p)).unwrap(); [INFO] [stdout] | ------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/errors.rs:33:35 [INFO] [stdout] | [INFO] [stdout] 33 | $(com_invoke!(@init $arg);)*; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:145:3 [INFO] [stdout] | [INFO] [stdout] 145 | / com_invoke!( [INFO] [stdout] 146 | | analysis.CreateAlphaTexture, [INFO] [stdout] 147 | | (dw::DWRITE_TEXTURE_ALIASED_1x1), [INFO] [stdout] 148 | | (&bounds), [INFO] [stdout] 149 | | (buf1.as_mut_ptr()), [INFO] [stdout] 150 | | (buf1.len() as u32) [INFO] [stdout] 151 | | ).unwrap(); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/errors.rs:52:77 [INFO] [stdout] | [INFO] [stdout] 52 | (@init (->> $a:ident)) => { #[allow(unused_unsafe)] let mut $a = unsafe { ::std::mem::uninitialized() }; }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:51:7 [INFO] [stdout] | [INFO] [stdout] 51 | / com_invoke!( [INFO] [stdout] 52 | | (dw::DWriteCreateFactory), [INFO] [stdout] 53 | | (dw::DWRITE_FACTORY_TYPE_SHARED), [INFO] [stdout] 54 | | (&dw_3::IDWriteFactory3::uuidof()), [INFO] [stdout] 55 | | (->> p) [INFO] [stdout] 56 | | ).unwrap(), [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/errors.rs:52:77 [INFO] [stdout] | [INFO] [stdout] 52 | (@init (->> $a:ident)) => { #[allow(unused_unsafe)] let mut $a = unsafe { ::std::mem::uninitialized() }; }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:51:7 [INFO] [stdout] | [INFO] [stdout] 51 | / com_invoke!( [INFO] [stdout] 52 | | (dw::DWriteCreateFactory), [INFO] [stdout] 53 | | (dw::DWRITE_FACTORY_TYPE_SHARED), [INFO] [stdout] 54 | | (&dw_3::IDWriteFactory3::uuidof()), [INFO] [stdout] 55 | | (->> p) [INFO] [stdout] 56 | | ).unwrap(), [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/errors.rs:52:77 [INFO] [stdout] | [INFO] [stdout] 52 | (@init (->> $a:ident)) => { #[allow(unused_unsafe)] let mut $a = unsafe { ::std::mem::uninitialized() }; }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:61:7 [INFO] [stdout] | [INFO] [stdout] 61 | / com_invoke!( [INFO] [stdout] 62 | | (dw::DWriteCreateFactory), [INFO] [stdout] 63 | | (dw::DWRITE_FACTORY_TYPE_SHARED), [INFO] [stdout] 64 | | (&dw::IDWriteFactory::uuidof()), [INFO] [stdout] 65 | | (->> p) [INFO] [stdout] 66 | | ).unwrap(), [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/errors.rs:52:77 [INFO] [stdout] | [INFO] [stdout] 52 | (@init (->> $a:ident)) => { #[allow(unused_unsafe)] let mut $a = unsafe { ::std::mem::uninitialized() }; }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:71:26 [INFO] [stdout] | [INFO] [stdout] 71 | let (collection, ()) = com_invoke!(fac.GetSystemFontCollection, FALSE, (->> p), FALSE).unwrap(); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/errors.rs:52:77 [INFO] [stdout] | [INFO] [stdout] 52 | (@init (->> $a:ident)) => { #[allow(unused_unsafe)] let mut $a = unsafe { ::std::mem::uninitialized() }; }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:61:7 [INFO] [stdout] | [INFO] [stdout] 61 | / com_invoke!( [INFO] [stdout] 62 | | (dw::DWriteCreateFactory), [INFO] [stdout] 63 | | (dw::DWRITE_FACTORY_TYPE_SHARED), [INFO] [stdout] 64 | | (&dw::IDWriteFactory::uuidof()), [INFO] [stdout] 65 | | (->> p) [INFO] [stdout] 66 | | ).unwrap(), [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/errors.rs:52:77 [INFO] [stdout] | [INFO] [stdout] 52 | (@init (->> $a:ident)) => { #[allow(unused_unsafe)] let mut $a = unsafe { ::std::mem::uninitialized() }; }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:71:26 [INFO] [stdout] | [INFO] [stdout] 71 | let (collection, ()) = com_invoke!(fac.GetSystemFontCollection, FALSE, (->> p), FALSE).unwrap(); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/errors.rs:51:76 [INFO] [stdout] | [INFO] [stdout] 51 | (@init (-> $a:ident)) => { #[allow(unused_unsafe)] let mut $a = unsafe { ::std::mem::uninitialized() }; }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:73:24 [INFO] [stdout] | [INFO] [stdout] 73 | let (idx, (e, ())) = com_invoke!( [INFO] [stdout] | ________________________- [INFO] [stdout] 74 | | collection.FindFamilyName, [INFO] [stdout] 75 | | (OsString::from("Hasklig".to_string()).to_wide_null().as_ptr()), [INFO] [stdout] 76 | | (-> i), [INFO] [stdout] 77 | | (-> e) [INFO] [stdout] 78 | | ).unwrap(); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/errors.rs:51:76 [INFO] [stdout] | [INFO] [stdout] 51 | (@init (-> $a:ident)) => { #[allow(unused_unsafe)] let mut $a = unsafe { ::std::mem::uninitialized() }; }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:73:24 [INFO] [stdout] | [INFO] [stdout] 73 | let (idx, (e, ())) = com_invoke!( [INFO] [stdout] | ________________________- [INFO] [stdout] 74 | | collection.FindFamilyName, [INFO] [stdout] 75 | | (OsString::from("Hasklig".to_string()).to_wide_null().as_ptr()), [INFO] [stdout] 76 | | (-> i), [INFO] [stdout] 77 | | (-> e) [INFO] [stdout] 78 | | ).unwrap(); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/errors.rs:51:76 [INFO] [stdout] | [INFO] [stdout] 51 | (@init (-> $a:ident)) => { #[allow(unused_unsafe)] let mut $a = unsafe { ::std::mem::uninitialized() }; }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:73:24 [INFO] [stdout] | [INFO] [stdout] 73 | let (idx, (e, ())) = com_invoke!( [INFO] [stdout] | ________________________- [INFO] [stdout] 74 | | collection.FindFamilyName, [INFO] [stdout] 75 | | (OsString::from("Hasklig".to_string()).to_wide_null().as_ptr()), [INFO] [stdout] 76 | | (-> i), [INFO] [stdout] 77 | | (-> e) [INFO] [stdout] 78 | | ).unwrap(); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/errors.rs:51:76 [INFO] [stdout] | [INFO] [stdout] 51 | (@init (-> $a:ident)) => { #[allow(unused_unsafe)] let mut $a = unsafe { ::std::mem::uninitialized() }; }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:73:24 [INFO] [stdout] | [INFO] [stdout] 73 | let (idx, (e, ())) = com_invoke!( [INFO] [stdout] | ________________________- [INFO] [stdout] 74 | | collection.FindFamilyName, [INFO] [stdout] 75 | | (OsString::from("Hasklig".to_string()).to_wide_null().as_ptr()), [INFO] [stdout] 76 | | (-> i), [INFO] [stdout] 77 | | (-> e) [INFO] [stdout] 78 | | ).unwrap(); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/errors.rs:52:77 [INFO] [stdout] | [INFO] [stdout] 52 | (@init (->> $a:ident)) => { #[allow(unused_unsafe)] let mut $a = unsafe { ::std::mem::uninitialized() }; }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:83:19 [INFO] [stdout] | [INFO] [stdout] 83 | let (fam, ()) = com_invoke!(collection.GetFontFamily, idx, (->> p)).unwrap(); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/errors.rs:52:77 [INFO] [stdout] | [INFO] [stdout] 52 | (@init (->> $a:ident)) => { #[allow(unused_unsafe)] let mut $a = unsafe { ::std::mem::uninitialized() }; }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:83:19 [INFO] [stdout] | [INFO] [stdout] 83 | let (fam, ()) = com_invoke!(collection.GetFontFamily, idx, (->> p)).unwrap(); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/errors.rs:52:77 [INFO] [stdout] | [INFO] [stdout] 52 | (@init (->> $a:ident)) => { #[allow(unused_unsafe)] let mut $a = unsafe { ::std::mem::uninitialized() }; }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:84:20 [INFO] [stdout] | [INFO] [stdout] 84 | ... = com_invoke!(fam.GetFirstMatchingFont, (dw::DWRITE_FONT_WEIGHT_NORMAL), (dw::DWRITE_FONT_STRETCH_NORMAL), (dw::DWRITE_FONT_STYLE_NORMAL), (->> p)) [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/errors.rs:52:77 [INFO] [stdout] | [INFO] [stdout] 52 | (@init (->> $a:ident)) => { #[allow(unused_unsafe)] let mut $a = unsafe { ::std::mem::uninitialized() }; }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:86:20 [INFO] [stdout] | [INFO] [stdout] 86 | let (face, ()) = com_invoke!(font.CreateFontFace, (->> face)).unwrap(); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/errors.rs:52:77 [INFO] [stdout] | [INFO] [stdout] 52 | (@init (->> $a:ident)) => { #[allow(unused_unsafe)] let mut $a = unsafe { ::std::mem::uninitialized() }; }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:122:24 [INFO] [stdout] | [INFO] [stdout] 122 | let (analysis, ()) = com_invoke!( [INFO] [stdout] | ________________________- [INFO] [stdout] 123 | | fac_0.CreateGlyphRunAnalysis, [INFO] [stdout] 124 | | (&gr), [INFO] [stdout] 125 | | 1.0, [INFO] [stdout] ... | [INFO] [stdout] 133 | | (->> p) [INFO] [stdout] 134 | | ).unwrap(); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/errors.rs:51:76 [INFO] [stdout] | [INFO] [stdout] 51 | (@init (-> $a:ident)) => { #[allow(unused_unsafe)] let mut $a = unsafe { ::std::mem::uninitialized() }; }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 137 | com_invoke!(analysis.GetAlphaTextureBounds, (dw::DWRITE_TEXTURE_ALIASED_1x1), (-> p)).unwrap(); [INFO] [stdout] | ------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/errors.rs:52:77 [INFO] [stdout] | [INFO] [stdout] 52 | (@init (->> $a:ident)) => { #[allow(unused_unsafe)] let mut $a = unsafe { ::std::mem::uninitialized() }; }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:84:20 [INFO] [stdout] | [INFO] [stdout] 84 | ... = com_invoke!(fam.GetFirstMatchingFont, (dw::DWRITE_FONT_WEIGHT_NORMAL), (dw::DWRITE_FONT_STRETCH_NORMAL), (dw::DWRITE_FONT_STYLE_NORMAL), (->> p)) [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/errors.rs:52:77 [INFO] [stdout] | [INFO] [stdout] 52 | (@init (->> $a:ident)) => { #[allow(unused_unsafe)] let mut $a = unsafe { ::std::mem::uninitialized() }; }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:86:20 [INFO] [stdout] | [INFO] [stdout] 86 | let (face, ()) = com_invoke!(font.CreateFontFace, (->> face)).unwrap(); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/errors.rs:52:77 [INFO] [stdout] | [INFO] [stdout] 52 | (@init (->> $a:ident)) => { #[allow(unused_unsafe)] let mut $a = unsafe { ::std::mem::uninitialized() }; }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:122:24 [INFO] [stdout] | [INFO] [stdout] 122 | let (analysis, ()) = com_invoke!( [INFO] [stdout] | ________________________- [INFO] [stdout] 123 | | fac_0.CreateGlyphRunAnalysis, [INFO] [stdout] 124 | | (&gr), [INFO] [stdout] 125 | | 1.0, [INFO] [stdout] ... | [INFO] [stdout] 133 | | (->> p) [INFO] [stdout] 134 | | ).unwrap(); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/errors.rs:51:76 [INFO] [stdout] | [INFO] [stdout] 51 | (@init (-> $a:ident)) => { #[allow(unused_unsafe)] let mut $a = unsafe { ::std::mem::uninitialized() }; }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 137 | com_invoke!(analysis.GetAlphaTextureBounds, (dw::DWRITE_TEXTURE_ALIASED_1x1), (-> p)).unwrap(); [INFO] [stdout] | ------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `E` doesn't implement `Debug` [INFO] [stdout] --> src/errors.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Fail)] [INFO] [stdout] | ^^^^ `E` cannot be formatted using `{:?}` because it doesn't implement `Debug` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/failure-0.1.8/src/lib.rs:108:27 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Fail: Display + Debug + Send + Sync + 'static { [INFO] [stdout] | ----- required by this bound in `Fail` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `Debug` for `Annotated` [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider restricting type parameter `E` [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Annotated { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `E` cannot be shared between threads safely [INFO] [stdout] --> src/errors.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Fail)] [INFO] [stdout] | ^^^^ `E` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/failure-0.1.8/src/lib.rs:108:42 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Fail: Display + Debug + Send + Sync + 'static { [INFO] [stdout] | ---- required by this bound in `Fail` [INFO] [stdout] | [INFO] [stdout] = note: required because it appears within the type `Annotated` [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider restricting type parameter `E` [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Annotated { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `E` cannot be sent between threads safely [INFO] [stdout] --> src/errors.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Fail)] [INFO] [stdout] | ^^^^ `E` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/failure-0.1.8/src/lib.rs:108:35 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Fail: Display + Debug + Send + Sync + 'static { [INFO] [stdout] | ---- required by this bound in `Fail` [INFO] [stdout] | [INFO] [stdout] = note: required because it appears within the type `Annotated` [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider restricting type parameter `E` [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Annotated { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 32 previous errors; 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0277]: `E` doesn't implement `Debug` [INFO] [stdout] --> src/errors.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Fail)] [INFO] [stdout] | ^^^^ `E` cannot be formatted using `{:?}` because it doesn't implement `Debug` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/failure-0.1.8/src/lib.rs:108:27 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Fail: Display + Debug + Send + Sync + 'static { [INFO] [stdout] | ----- required by this bound in `Fail` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `Debug` for `Annotated` [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider restricting type parameter `E` [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Annotated { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `E` cannot be shared between threads safely [INFO] [stdout] --> src/errors.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Fail)] [INFO] [stdout] | ^^^^ `E` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/failure-0.1.8/src/lib.rs:108:42 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Fail: Display + Debug + Send + Sync + 'static { [INFO] [stdout] | ---- required by this bound in `Fail` [INFO] [stdout] | [INFO] [stdout] = note: required because it appears within the type `Annotated` [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider restricting type parameter `E` [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Annotated { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `dwrite-everywhere` [INFO] [stdout] error[E0277]: `E` cannot be sent between threads safely [INFO] [stdout] --> src/errors.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Fail)] [INFO] [stdout] | ^^^^ `E` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/failure-0.1.8/src/lib.rs:108:35 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Fail: Display + Debug + Send + Sync + 'static { [INFO] [stdout] | ---- required by this bound in `Fail` [INFO] [stdout] | [INFO] [stdout] = note: required because it appears within the type `Annotated` [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider restricting type parameter `E` [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Annotated { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 32 previous errors; 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "0c0db5d6de086f23e86e677b822889c60773eca4dadb5946d088d26da113f2ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c0db5d6de086f23e86e677b822889c60773eca4dadb5946d088d26da113f2ce", kill_on_drop: false }` [INFO] [stdout] 0c0db5d6de086f23e86e677b822889c60773eca4dadb5946d088d26da113f2ce