[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#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrha%2Fdwrite-everywhere" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/trha/dwrite-everywhere on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", 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-6/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" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "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 git repository `https://github.com/Connicpu/direct2d-rs.git` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9801b94f1e8b621750f895e6e472efd93c4fb4ffea52bd63077695492f125055 [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" "9801b94f1e8b621750f895e6e472efd93c4fb4ffea52bd63077695492f125055", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9801b94f1e8b621750f895e6e472efd93c4fb4ffea52bd63077695492f125055", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9801b94f1e8b621750f895e6e472efd93c4fb4ffea52bd63077695492f125055", kill_on_drop: false }` [INFO] [stdout] 9801b94f1e8b621750f895e6e472efd93c4fb4ffea52bd63077695492f125055 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d2d21eb76ae16eb770f570eb78f1c516b1a9bc5ef05d99cb151022ed5e5bed19 [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" "d2d21eb76ae16eb770f570eb78f1c516b1a9bc5ef05d99cb151022ed5e5bed19", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.4 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling cc v1.0.17 [INFO] [stderr] Checking lazy_static v1.0.1 [INFO] [stderr] Compiling num-integer v0.1.38 [INFO] [stderr] Checking memoffset v0.2.1 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Compiling rayon-core v1.4.0 [INFO] [stderr] Compiling gcc v0.3.54 [INFO] [stderr] Compiling typenum v1.10.0 [INFO] [stderr] Checking rustc-demangle v0.1.8 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Checking adler32 v1.0.3 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Checking either v1.5.0 [INFO] [stderr] Compiling winapi v0.3.5 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Checking boolinator v2.4.0 [INFO] [stderr] Checking tap v0.2.1 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking slice-pool v0.3.4 [INFO] [stderr] Checking direct2d v0.1.2 (https://github.com/Connicpu/direct2d-rs.git?rev=c2a1889#c2a18895) [INFO] [stderr] Checking directwrite v0.1.2 [INFO] [stderr] Checking errno v0.2.3 [INFO] [stderr] Checking mmap-fixed v0.1.5 [INFO] [stderr] Checking crossbeam-utils v0.2.2 [INFO] [stderr] Checking log v0.4.2 [INFO] [stderr] Compiling proc-macro2 v0.4.6 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Checking inflate v0.4.2 [INFO] [stderr] Checking deflate v0.7.18 [INFO] [stderr] Checking gif v0.10.0 [INFO] [stderr] Checking crossbeam-epoch v0.3.1 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking toml v0.4.6 [INFO] [stderr] Checking gamma-lut v0.2.3 [INFO] [stderr] Checking crossbeam-deque v0.2.0 [INFO] [stderr] Compiling quote v0.6.3 [INFO] [stderr] Compiling syn v0.14.2 [INFO] [stderr] Checking wio v0.2.0 [INFO] [stderr] Compiling backtrace-sys v0.1.23 [INFO] [stderr] Checking rayon v1.0.1 [INFO] [stderr] Compiling libudis86-sys v0.2.0 [INFO] [stderr] Checking generic-array v0.10.0 [INFO] [stderr] Compiling synstructure v0.6.1 [INFO] [stderr] Checking backtrace v0.3.8 [INFO] [stderr] Checking png v0.12.0 [INFO] [stderr] Checking num-bigint v0.1.44 [INFO] [stderr] Compiling failure_derive v0.1.1 [INFO] [stderr] Checking jpeg-decoder v0.1.15 [INFO] [stderr] Checking failure v0.1.1 [INFO] [stderr] Checking num-rational v0.1.42 [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] Compiling num-derive v0.2.2 [INFO] [stderr] Compiling serde_derive v1.0.70 [INFO] [stderr] Checking image v0.19.0 [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 `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: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: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: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 `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: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: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: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: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: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 `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: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: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: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: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: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: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: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: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 `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 `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 `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: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] 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 `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] 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: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: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: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: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: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: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: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: 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: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: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: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: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: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: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: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: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: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[E0599]: no method named `to_wide_null` found for struct `OsString` in the current scope [INFO] [stdout] --> src/main.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | ).to_wide_null() [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `OsString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_wide_null` found for struct `OsString` in the current scope [INFO] [stdout] --> src/main.rs:75:44 [INFO] [stdout] | [INFO] [stdout] 75 | (OsString::from("Hasklig".to_string()).to_wide_null().as_ptr()), [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `OsString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_wide_null` found for struct `OsString` in the current scope [INFO] [stdout] --> src/main.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | ).to_wide_null() [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `OsString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_wide_null` found for struct `OsString` in the current scope [INFO] [stdout] --> src/main.rs:75:44 [INFO] [stdout] | [INFO] [stdout] 75 | (OsString::from("Hasklig".to_string()).to_wide_null().as_ptr()), [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `OsString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 31 previous errors; 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `dwrite-everywhere` [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 31 previous errors; 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "d2d21eb76ae16eb770f570eb78f1c516b1a9bc5ef05d99cb151022ed5e5bed19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2d21eb76ae16eb770f570eb78f1c516b1a9bc5ef05d99cb151022ed5e5bed19", kill_on_drop: false }` [INFO] [stdout] d2d21eb76ae16eb770f570eb78f1c516b1a9bc5ef05d99cb151022ed5e5bed19