[INFO] cloning repository https://github.com/paullinnerud/FontEnumerator-Rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/paullinnerud/FontEnumerator-Rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpaullinnerud%2FFontEnumerator-Rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpaullinnerud%2FFontEnumerator-Rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e551c69be0ac6612d85e7b93d8bf0c28be7540f3 [INFO] checking paullinnerud/FontEnumerator-Rust against try#fa4dd1f19bfeb3fd235dc7f1406c42404436bef5 for pr-145108-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpaullinnerud%2FFontEnumerator-Rust" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/paullinnerud/FontEnumerator-Rust [INFO] finished tweaking git repo https://github.com/paullinnerud/FontEnumerator-Rust [INFO] tweaked toml for git repo https://github.com/paullinnerud/FontEnumerator-Rust written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/paullinnerud/FontEnumerator-Rust on toolchain fa4dd1f19bfeb3fd235dc7f1406c42404436bef5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fa4dd1f19bfeb3fd235dc7f1406c42404436bef5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/paullinnerud/FontEnumerator-Rust 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" "+fa4dd1f19bfeb3fd235dc7f1406c42404436bef5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+fa4dd1f19bfeb3fd235dc7f1406c42404436bef5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c4ea67b9d5fec723bda8ac68ceb59eb49b307d4f6ee6758e4d289cff6c041910 [INFO] running `Command { std: "docker" "start" "-a" "c4ea67b9d5fec723bda8ac68ceb59eb49b307d4f6ee6758e4d289cff6c041910", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c4ea67b9d5fec723bda8ac68ceb59eb49b307d4f6ee6758e4d289cff6c041910", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4ea67b9d5fec723bda8ac68ceb59eb49b307d4f6ee6758e4d289cff6c041910", kill_on_drop: false }` [INFO] [stdout] c4ea67b9d5fec723bda8ac68ceb59eb49b307d4f6ee6758e4d289cff6c041910 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+fa4dd1f19bfeb3fd235dc7f1406c42404436bef5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2e12d63a75fe6d7967c0a05f735d7a9087c3152eb35d334182c95f02eb0bc54b [INFO] running `Command { std: "docker" "start" "-a" "2e12d63a75fe6d7967c0a05f735d7a9087c3152eb35d334182c95f02eb0bc54b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.105 [INFO] [stderr] Compiling quote v1.0.43 [INFO] [stderr] Compiling windows_x86_64_gnu v0.52.6 [INFO] [stderr] Checking windows-targets v0.52.6 [INFO] [stderr] Checking windows-result v0.2.0 [INFO] [stderr] Checking windows-strings v0.1.0 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Compiling windows-interface v0.58.0 [INFO] [stderr] Compiling windows-implement v0.58.0 [INFO] [stderr] Checking windows-core v0.58.0 [INFO] [stderr] Checking windows v0.58.0 [INFO] [stderr] Checking fontenum v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: cannot find `Win32` in `windows` [INFO] [stdout] --> src/main.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | Win32::{ [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `windows::core` [INFO] [stdout] --> src/main.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | core::*, [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `w` in this scope [INFO] [stdout] --> src/main.rs:133:26 [INFO] [stdout] | [INFO] [stdout] 133 | let class_name = w!("FontEnumRustWindowClass"); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `w` in this scope [INFO] [stdout] --> src/main.rs:155:13 [INFO] [stdout] | [INFO] [stdout] 155 | w!("Font Enumerator (Rust) - GDI, DirectWrite & FontSet API"), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `w` in this scope [INFO] [stdout] --> src/main.rs:341:9 [INFO] [stdout] | [INFO] [stdout] 341 | w!("BUTTON"), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `w` in this scope [INFO] [stdout] --> src/main.rs:342:9 [INFO] [stdout] | [INFO] [stdout] 342 | w!("GDI"), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `w` in this scope [INFO] [stdout] --> src/main.rs:353:9 [INFO] [stdout] | [INFO] [stdout] 353 | w!("BUTTON"), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `w` in this scope [INFO] [stdout] --> src/main.rs:354:9 [INFO] [stdout] | [INFO] [stdout] 354 | w!("DirectWrite"), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `w` in this scope [INFO] [stdout] --> src/main.rs:365:9 [INFO] [stdout] | [INFO] [stdout] 365 | w!("BUTTON"), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `w` in this scope [INFO] [stdout] --> src/main.rs:366:9 [INFO] [stdout] | [INFO] [stdout] 366 | w!("FontSet API"), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `w` in this scope [INFO] [stdout] --> src/main.rs:378:9 [INFO] [stdout] | [INFO] [stdout] 378 | w!("STATIC"), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `w` in this scope [INFO] [stdout] --> src/main.rs:379:9 [INFO] [stdout] | [INFO] [stdout] 379 | w!("Filter:"), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `w` in this scope [INFO] [stdout] --> src/main.rs:390:9 [INFO] [stdout] | [INFO] [stdout] 390 | w!("EDIT"), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `w` in this scope [INFO] [stdout] --> src/main.rs:391:9 [INFO] [stdout] | [INFO] [stdout] 391 | w!(""), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `w` in this scope [INFO] [stdout] --> src/main.rs:403:9 [INFO] [stdout] | [INFO] [stdout] 403 | w!("STATIC"), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `w` in this scope [INFO] [stdout] --> src/main.rs:404:9 [INFO] [stdout] | [INFO] [stdout] 404 | w!("Click a button to enumerate fonts"), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `w` in this scope [INFO] [stdout] --> src/main.rs:416:9 [INFO] [stdout] | [INFO] [stdout] 416 | w!("SysListView32"), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `w` in this scope [INFO] [stdout] --> src/main.rs:417:9 [INFO] [stdout] | [INFO] [stdout] 417 | w!(""), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `w` in this scope [INFO] [stdout] --> src/main.rs:448:9 [INFO] [stdout] | [INFO] [stdout] 448 | w!("EDIT"), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `w` in this scope [INFO] [stdout] --> src/main.rs:449:9 [INFO] [stdout] | [INFO] [stdout] 449 | w!("Select a font to preview"), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `w` in this scope [INFO] [stdout] --> src/main.rs:712:25 [INFO] [stdout] | [INFO] [stdout] 712 | w!("Failed to create DirectWrite factory 3.\nThis feature requires Windows 10 or later."), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `w` in this scope [INFO] [stdout] --> src/main.rs:713:25 [INFO] [stdout] | [INFO] [stdout] 713 | w!("Error"), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `w` in this scope [INFO] [stdout] --> src/main.rs:876:40 [INFO] [stdout] | [INFO] [stdout] 876 | let _ = strings.FindLocaleName(w!("en-us"), &mut index, &mut exists); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/main.rs:121:14 [INFO] [stdout] | [INFO] [stdout] 121 | fn main() -> Result<()> { [INFO] [stdout] | ^^^^^^ -- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 121 | fn main() -> Result<(), E> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `Win32` in `windows` [INFO] [stdout] --> src/main.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | Win32::{ [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `windows::core` [INFO] [stdout] --> src/main.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | core::*, [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `w` in this scope [INFO] [stdout] --> src/main.rs:133:26 [INFO] [stdout] | [INFO] [stdout] 133 | let class_name = w!("FontEnumRustWindowClass"); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `w` in this scope [INFO] [stdout] --> src/main.rs:155:13 [INFO] [stdout] | [INFO] [stdout] 155 | w!("Font Enumerator (Rust) - GDI, DirectWrite & FontSet API"), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `w` in this scope [INFO] [stdout] --> src/main.rs:341:9 [INFO] [stdout] | [INFO] [stdout] 341 | w!("BUTTON"), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `w` in this scope [INFO] [stdout] --> src/main.rs:342:9 [INFO] [stdout] | [INFO] [stdout] 342 | w!("GDI"), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `w` in this scope [INFO] [stdout] --> src/main.rs:353:9 [INFO] [stdout] | [INFO] [stdout] 353 | w!("BUTTON"), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `w` in this scope [INFO] [stdout] --> src/main.rs:354:9 [INFO] [stdout] | [INFO] [stdout] 354 | w!("DirectWrite"), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `w` in this scope [INFO] [stdout] --> src/main.rs:365:9 [INFO] [stdout] | [INFO] [stdout] 365 | w!("BUTTON"), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `w` in this scope [INFO] [stdout] --> src/main.rs:366:9 [INFO] [stdout] | [INFO] [stdout] 366 | w!("FontSet API"), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `w` in this scope [INFO] [stdout] --> src/main.rs:378:9 [INFO] [stdout] | [INFO] [stdout] 378 | w!("STATIC"), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `w` in this scope [INFO] [stdout] --> src/main.rs:379:9 [INFO] [stdout] | [INFO] [stdout] 379 | w!("Filter:"), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `w` in this scope [INFO] [stdout] --> src/main.rs:390:9 [INFO] [stdout] | [INFO] [stdout] 390 | w!("EDIT"), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `w` in this scope [INFO] [stdout] --> src/main.rs:391:9 [INFO] [stdout] | [INFO] [stdout] 391 | w!(""), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `w` in this scope [INFO] [stdout] --> src/main.rs:403:9 [INFO] [stdout] | [INFO] [stdout] 403 | w!("STATIC"), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `w` in this scope [INFO] [stdout] --> src/main.rs:404:9 [INFO] [stdout] | [INFO] [stdout] 404 | w!("Click a button to enumerate fonts"), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `w` in this scope [INFO] [stdout] --> src/main.rs:416:9 [INFO] [stdout] | [INFO] [stdout] 416 | w!("SysListView32"), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `w` in this scope [INFO] [stdout] --> src/main.rs:417:9 [INFO] [stdout] | [INFO] [stdout] 417 | w!(""), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `w` in this scope [INFO] [stdout] --> src/main.rs:448:9 [INFO] [stdout] | [INFO] [stdout] 448 | w!("EDIT"), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `w` in this scope [INFO] [stdout] --> src/main.rs:449:9 [INFO] [stdout] | [INFO] [stdout] 449 | w!("Select a font to preview"), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `w` in this scope [INFO] [stdout] --> src/main.rs:712:25 [INFO] [stdout] | [INFO] [stdout] 712 | w!("Failed to create DirectWrite factory 3.\nThis feature requires Windows 10 or later."), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `w` in this scope [INFO] [stdout] --> src/main.rs:713:25 [INFO] [stdout] | [INFO] [stdout] 713 | w!("Error"), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `w` in this scope [INFO] [stdout] --> src/main.rs:876:40 [INFO] [stdout] | [INFO] [stdout] 876 | let _ = strings.FindLocaleName(w!("en-us"), &mut index, &mut exists); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fontenum` (bin "fontenum") due to 24 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/main.rs:121:14 [INFO] [stdout] | [INFO] [stdout] 121 | fn main() -> Result<()> { [INFO] [stdout] | ^^^^^^ -- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 121 | fn main() -> Result<(), E> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fontenum` (bin "fontenum" test) due to 24 previous errors [INFO] running `Command { std: "docker" "inspect" "2e12d63a75fe6d7967c0a05f735d7a9087c3152eb35d334182c95f02eb0bc54b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e12d63a75fe6d7967c0a05f735d7a9087c3152eb35d334182c95f02eb0bc54b", kill_on_drop: false }` [INFO] [stdout] 2e12d63a75fe6d7967c0a05f735d7a9087c3152eb35d334182c95f02eb0bc54b