[INFO] cloning repository https://github.com/hummingly/rust-direct2d-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-direct2d-example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhummingly%2Frust-direct2d-example", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhummingly%2Frust-direct2d-example'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] afc9aef43e182e92f4000175c8eddbc39dc46ce7 [INFO] testing hummingly/rust-direct2d-example against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhummingly%2Frust-direct2d-example" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/hummingly/rust-direct2d-example [INFO] finished tweaking git repo https://github.com/hummingly/rust-direct2d-example [INFO] tweaked toml for git repo https://github.com/hummingly/rust-direct2d-example written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/hummingly/rust-direct2d-example on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/hummingly/rust-direct2d-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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3d175ec84d3c03ae7aede232963b0e271f146fa3c122dc005e7efccadc43a10b [INFO] running `Command { std: "docker" "start" "-a" "3d175ec84d3c03ae7aede232963b0e271f146fa3c122dc005e7efccadc43a10b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3d175ec84d3c03ae7aede232963b0e271f146fa3c122dc005e7efccadc43a10b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d175ec84d3c03ae7aede232963b0e271f146fa3c122dc005e7efccadc43a10b", kill_on_drop: false }` [INFO] [stdout] 3d175ec84d3c03ae7aede232963b0e271f146fa3c122dc005e7efccadc43a10b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 57528ec94dd9b5dda99a3d0a8b352919c8ebe1bb388eb397ccc301224caf25ea [INFO] running `Command { std: "docker" "start" "-a" "57528ec94dd9b5dda99a3d0a8b352919c8ebe1bb388eb397ccc301224caf25ea", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling user32-sys v0.2.0 [INFO] [stderr] Compiling directwrite v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not 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] note: found an item that was configured out [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/os/mod.rs:63:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/os/mod.rs:55:1 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/os/mod.rs:121:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/os/mod.rs:120:1 [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] | ^^^^^^^^^^^^^^^^^^^ 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::dcommon` [INFO] [stdout] --> src/utils.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | 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:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | 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:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::c_void; [INFO] [stdout] | ^^^^^^^^^^^^^^ no `c_void` in the root [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 11 - use winapi::c_void; [INFO] [stdout] 11 + use std::os::raw::c_void; [INFO] [stdout] | [INFO] [stdout] 11 - use winapi::c_void; [INFO] [stdout] 11 + use utils::ffi::c_void; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::guiddef` [INFO] [stdout] --> src/utils.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use winapi::guiddef::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:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use winapi::minwindef::HMODULE; [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::windef` [INFO] [stdout] --> src/utils.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | 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:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | 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:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | use winapi::winuser::{MB_OK, MSG, PAINTSTRUCT}; [INFO] [stdout] | ^^^^^^^ could not find `winuser` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `winapi::*` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `user32::*` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use user32::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `kernel32::*` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | 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:24:31 [INFO] [stdout] | [INFO] [stdout] 24 | 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:30:31 [INFO] [stdout] | [INFO] [stdout] 30 | 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:85:41 [INFO] [stdout] | [INFO] [stdout] 85 | if !app.resources.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 issue #46906 [INFO] [stdout] = note: `#[warn(tyvar_behind_raw_pointer)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type annotations needed [INFO] [stdout] --> src/main.rs:87:31 [INFO] [stdout] | [INFO] [stdout] 87 | } else if app.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 issue #46906 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type annotations needed [INFO] [stdout] --> src/main.rs:224:25 [INFO] [stdout] | [INFO] [stdout] 224 | if !app.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 issue #46906 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type annotations needed [INFO] [stdout] --> src/main.rs:225:28 [INFO] [stdout] | [INFO] [stdout] 225 | (*app.factory).Release(); [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 issue #46906 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type annotations needed [INFO] [stdout] --> src/main.rs:233:41 [INFO] [stdout] | [INFO] [stdout] 233 | if !app.resources.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 issue #46906 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type annotations needed [INFO] [stdout] --> src/main.rs:234:37 [INFO] [stdout] | [INFO] [stdout] 234 | (*app.resources.brush1).Release(); [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 issue #46906 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type annotations needed [INFO] [stdout] --> src/main.rs:235:37 [INFO] [stdout] | [INFO] [stdout] 235 | (*app.resources.brush2).Release(); [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 issue #46906 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type annotations needed [INFO] [stdout] --> src/main.rs:236:44 [INFO] [stdout] | [INFO] [stdout] 236 | (*app.resources.render_target).Release(); [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 issue #46906 [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 14 previous errors; 11 warnings emitted [INFO] running `Command { std: "docker" "inspect" "57528ec94dd9b5dda99a3d0a8b352919c8ebe1bb388eb397ccc301224caf25ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57528ec94dd9b5dda99a3d0a8b352919c8ebe1bb388eb397ccc301224caf25ea", kill_on_drop: false }` [INFO] [stdout] 57528ec94dd9b5dda99a3d0a8b352919c8ebe1bb388eb397ccc301224caf25ea