[INFO] cloning repository https://github.com/hummingly/rust-directwrite-multiformatted_text_example
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hummingly/rust-directwrite-multiformatted_text_example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhummingly%2Frust-directwrite-multiformatted_text_example", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhummingly%2Frust-directwrite-multiformatted_text_example'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 88afbfc99fb42051001ba15bf284360f30821bec
[INFO] testing hummingly/rust-directwrite-multiformatted_text_example against 1.98.0-beta.1 for beta-1.98-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhummingly%2Frust-directwrite-multiformatted_text_example" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/hummingly/rust-directwrite-multiformatted_text_example
[INFO] finished tweaking git repo https://github.com/hummingly/rust-directwrite-multiformatted_text_example
[INFO] tweaked toml for git repo https://github.com/hummingly/rust-directwrite-multiformatted_text_example written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/hummingly/rust-directwrite-multiformatted_text_example on toolchain 1.98.0-beta.1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.98.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/hummingly/rust-directwrite-multiformatted_text_example already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.98.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `directwrite` (manifest) generated 1 warning
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 10dabbfbd1244e1798f3aef86792c1a3d93abb856563aef81109f4e7141af765
[INFO] running `Command { std: "docker" "start" "10dabbfbd1244e1798f3aef86792c1a3d93abb856563aef81109f4e7141af765", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "10dabbfbd1244e1798f3aef86792c1a3d93abb856563aef81109f4e7141af765", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "10dabbfbd1244e1798f3aef86792c1a3d93abb856563aef81109f4e7141af765" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "10dabbfbd1244e1798f3aef86792c1a3d93abb856563aef81109f4e7141af765", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "10dabbfbd1244e1798f3aef86792c1a3d93abb856563aef81109f4e7141af765" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `directwrite` (manifest) generated 1 warning
[INFO] [stderr]    Compiling winapi-build v0.1.1
[INFO] [stderr]    Compiling winapi v0.2.8
[INFO] [stderr]    Compiling user32-sys v0.2.0
[INFO] [stderr]    Compiling gdi32-sys v0.2.0
[INFO] [stderr]    Compiling kernel32-sys v0.2.2
[INFO] [stderr]    Compiling directwrite v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: cannot find `windows` in `os`
[INFO] [stdout]  --> src/utils.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::os::windows::ffi::OsStrExt;
[INFO] [stdout]   |              ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `kernel32::GetLastError`, `kernel32::GetModuleHandleW`, `kernel32::GetProcAddress`, `kernel32::LoadLibraryW`
[INFO] [stdout]  --> src/utils.rs:6:16
[INFO] [stdout]   |
[INFO] [stdout] 6 | use kernel32::{GetLastError, GetModuleHandleW, GetProcAddress, LoadLibraryW};
[INFO] [stdout]   |                ^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^  ^^^^^^^^^^^^ no `LoadLibraryW` in the root
[INFO] [stdout]   |                |             |                 |
[INFO] [stdout]   |                |             |                 no `GetProcAddress` in the root
[INFO] [stdout]   |                |             no `GetModuleHandleW` in the root
[INFO] [stdout]   |                no `GetLastError` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `user32::MessageBoxW`
[INFO] [stdout]  --> src/utils.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use user32::MessageBoxW;
[INFO] [stdout]   |     ^^^^^^^^-----------
[INFO] [stdout]   |             |
[INFO] [stdout]   |             no `MessageBoxW` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `winapi::d2d1`
[INFO] [stdout]  --> src/utils.rs:8:13
[INFO] [stdout]   |
[INFO] [stdout] 8 | use winapi::d2d1::*;
[INFO] [stdout]   |             ^^^^ could not find `d2d1` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `winapi::dwrite`
[INFO] [stdout]  --> src/utils.rs:9:13
[INFO] [stdout]   |
[INFO] [stdout] 9 | use winapi::dwrite::*;
[INFO] [stdout]   |             ^^^^^^ could not find `dwrite` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `winapi::dcommon`
[INFO] [stdout]   --> src/utils.rs:10:13
[INFO] [stdout]    |
[INFO] [stdout] 10 | use winapi::dcommon::{D2D1_ALPHA_MODE_IGNORE, D2D1_PIXEL_FORMAT};
[INFO] [stdout]    |             ^^^^^^^ could not find `dcommon` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `winapi::dxgiformat`
[INFO] [stdout]   --> src/utils.rs:11:13
[INFO] [stdout]    |
[INFO] [stdout] 11 | use winapi::dxgiformat::DXGI_FORMAT;
[INFO] [stdout]    |             ^^^^^^^^^^ could not find `dxgiformat` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `winapi::c_void`
[INFO] [stdout]   --> src/utils.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use winapi::c_void;
[INFO] [stdout]    |     ^^^^^^^^------
[INFO] [stdout]    |             |
[INFO] [stdout]    |             no `c_void` in the root
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items instead
[INFO] [stdout]    |
[INFO] [stdout] 12 - use winapi::c_void;
[INFO] [stdout] 12 + use std::os::raw::c_void;
[INFO] [stdout]    |
[INFO] [stdout] 12 - use winapi::c_void;
[INFO] [stdout] 12 + use utils::ffi::c_void;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `winapi::guiddef`
[INFO] [stdout]   --> src/utils.rs:13:13
[INFO] [stdout]    |
[INFO] [stdout] 13 | use winapi::guiddef::{IID, REFIID};
[INFO] [stdout]    |             ^^^^^^^ could not find `guiddef` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `winapi::minwindef`
[INFO] [stdout]   --> src/utils.rs:14:13
[INFO] [stdout]    |
[INFO] [stdout] 14 | use winapi::minwindef::HMODULE;
[INFO] [stdout]    |             ^^^^^^^^^ could not find `minwindef` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `winapi::unknwnbase`
[INFO] [stdout]   --> src/utils.rs:15:13
[INFO] [stdout]    |
[INFO] [stdout] 15 | use winapi::unknwnbase::IUnknown;
[INFO] [stdout]    |             ^^^^^^^^^^ could not find `unknwnbase` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `winapi::windef`
[INFO] [stdout]   --> src/utils.rs:16:13
[INFO] [stdout]    |
[INFO] [stdout] 16 | use winapi::windef::{POINT, RECT};
[INFO] [stdout]    |             ^^^^^^ could not find `windef` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `winapi::winerror`
[INFO] [stdout]   --> src/utils.rs:17:13
[INFO] [stdout]    |
[INFO] [stdout] 17 | use winapi::winerror::HRESULT;
[INFO] [stdout]    |             ^^^^^^^^ could not find `winerror` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `winapi::winuser`
[INFO] [stdout]   --> src/utils.rs:18:13
[INFO] [stdout]    |
[INFO] [stdout] 18 | use winapi::winuser::{MB_OK, MSG, PAINTSTRUCT};
[INFO] [stdout]    |             ^^^^^^^ could not find `winuser` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `gdi32::GetDeviceCaps`
[INFO] [stdout]   --> src/main.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use gdi32::GetDeviceCaps;
[INFO] [stdout]    |     ^^^^^^^-------------
[INFO] [stdout]    |            |
[INFO] [stdout]    |            no `GetDeviceCaps` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `winapi::*`
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use winapi::*;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `user32::*`
[INFO] [stdout]   --> src/main.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use user32::*;
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `kernel32::*`
[INFO] [stdout]   --> src/main.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use kernel32::*;
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope
[INFO] [stdout]   --> src/utils.rs:26:31
[INFO] [stdout]    |
[INFO] [stdout] 26 |         ffi::OsStr::new(self).encode_wide().chain(Some(0)).collect()
[INFO] [stdout]    |                               ^^^^^^^^^^^ method not found in `&OsStr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope
[INFO] [stdout]   --> src/utils.rs:32:31
[INFO] [stdout]    |
[INFO] [stdout] 32 |         ffi::OsStr::new(self).encode_wide().chain(Some(0)).collect()
[INFO] [stdout]    |                               ^^^^^^^^^^^ method not found in `&OsStr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type annotations needed
[INFO] [stdout]    --> src/main.rs:181:29
[INFO] [stdout]     |
[INFO] [stdout] 181 |         if app.d2d1_factory.is_null() {
[INFO] [stdout]     |                             ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2018/tyvar-behind-raw-pointer.html>
[INFO] [stdout]     = note: `#[warn(tyvar_behind_raw_pointer)]` (part of `#[warn(rust_2018_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type annotations needed
[INFO] [stdout]    --> src/main.rs:258:31
[INFO] [stdout]     |
[INFO] [stdout] 258 |         if !app.render_target.is_null() {
[INFO] [stdout]     |                               ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2018/tyvar-behind-raw-pointer.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type annotations needed
[INFO] [stdout]    --> src/main.rs:272:30
[INFO] [stdout]     |
[INFO] [stdout] 272 |         if !app.d2d1_factory.is_null() {
[INFO] [stdout]     |                              ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2018/tyvar-behind-raw-pointer.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type annotations needed
[INFO] [stdout]    --> src/main.rs:277:32
[INFO] [stdout]     |
[INFO] [stdout] 277 |         if !app.dwrite_factory.is_null() {
[INFO] [stdout]     |                                ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2018/tyvar-behind-raw-pointer.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `directwrite` (bin "directwrite") due to 17 previous errors; 7 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "10dabbfbd1244e1798f3aef86792c1a3d93abb856563aef81109f4e7141af765", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "10dabbfbd1244e1798f3aef86792c1a3d93abb856563aef81109f4e7141af765", kill_on_drop: false }`
[INFO] [stdout] 10dabbfbd1244e1798f3aef86792c1a3d93abb856563aef81109f4e7141af765
