[INFO] fetching crate win-task-dialog 1.0.0... [INFO] checking win-task-dialog-1.0.0 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate win-task-dialog 1.0.0 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate win-task-dialog 1.0.0 [INFO] finished tweaking crates.io crate win-task-dialog 1.0.0 [INFO] tweaked toml for crates.io crate win-task-dialog 1.0.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate win-task-dialog 1.0.0 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate win-task-dialog 1.0.0 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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9563c4e0db7ec7971ec5da10330cd102e8f1649b80bcfc83d452505ef0bca84f [INFO] running `Command { std: "docker" "start" "-a" "9563c4e0db7ec7971ec5da10330cd102e8f1649b80bcfc83d452505ef0bca84f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9563c4e0db7ec7971ec5da10330cd102e8f1649b80bcfc83d452505ef0bca84f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9563c4e0db7ec7971ec5da10330cd102e8f1649b80bcfc83d452505ef0bca84f", kill_on_drop: false }` [INFO] [stdout] 9563c4e0db7ec7971ec5da10330cd102e8f1649b80bcfc83d452505ef0bca84f [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b013f2b5c8c20e64e4ed330650573bff2680427bcc39b3b8fa7ac26acb69f095 [INFO] running `Command { std: "docker" "start" "-a" "b013f2b5c8c20e64e4ed330650573bff2680427bcc39b3b8fa7ac26acb69f095", kill_on_drop: false }` [INFO] [stderr] Checking win-task-dialog v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0412]: cannot find type `TASKDIALOG_NOTIFICATIONS` in this scope [INFO] [stdout] --> src/lib.rs:63:14 [INFO] [stdout] | [INFO] [stdout] 63 | msg: TASKDIALOG_NOTIFICATIONS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 3 | #[cfg(windows)] [INFO] [stdout] | ------- the item is gated here [INFO] [stdout] ... [INFO] [stdout] 8 | UI::Controls::TASKDIALOG_NOTIFICATIONS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 60 | pub type TaskDialogWndProcCallback = Option< [INFO] [stdout] | ++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PCWSTR` in this scope [INFO] [stdout] --> src/lib.rs:95:20 [INFO] [stdout] | [INFO] [stdout] 35 | type PWSTR = *mut u16; [INFO] [stdout] | ---------------------- similarly named type alias `PWSTR` defined here [INFO] [stdout] ... [INFO] [stdout] 95 | pub main_icon: PCWSTR, [INFO] [stdout] | ^^^^^^ help: a type alias with a similar name exists: `PWSTR` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg(windows)] [INFO] [stdout] | ------- the item is gated here [INFO] [stdout] 12 | use windows::{ [INFO] [stdout] 13 | core::{BOOL, PCWSTR}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PCWSTR` in this scope [INFO] [stdout] --> src/lib.rs:96:22 [INFO] [stdout] | [INFO] [stdout] 35 | type PWSTR = *mut u16; [INFO] [stdout] | ---------------------- similarly named type alias `PWSTR` defined here [INFO] [stdout] ... [INFO] [stdout] 96 | pub footer_icon: PCWSTR, [INFO] [stdout] | ^^^^^^ help: a type alias with a similar name exists: `PWSTR` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg(windows)] [INFO] [stdout] | ------- the item is gated here [INFO] [stdout] 12 | use windows::{ [INFO] [stdout] 13 | core::{BOOL, PCWSTR}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PCWSTR` [INFO] [stdout] --> src/lib.rs:125:24 [INFO] [stdout] | [INFO] [stdout] 125 | main_icon: PCWSTR::null(), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `PCWSTR` [INFO] [stdout] | help: a type alias with a similar name exists: `PWSTR` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg(windows)] [INFO] [stdout] | ------- the item is gated here [INFO] [stdout] 12 | use windows::{ [INFO] [stdout] 13 | core::{BOOL, PCWSTR}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `win-task-dialog` (lib) due to 5 previous errors; 8 warnings emitted [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PCWSTR` [INFO] [stdout] --> src/lib.rs:126:26 [INFO] [stdout] | [INFO] [stdout] 126 | footer_icon: PCWSTR::null(), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `PCWSTR` [INFO] [stdout] | help: a type alias with a similar name exists: `PWSTR` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg(windows)] [INFO] [stdout] | ------- the item is gated here [INFO] [stdout] 12 | use windows::{ [INFO] [stdout] 13 | core::{BOOL, PCWSTR}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `marquee` [INFO] [stdout] --> src/lib.rs:299:43 [INFO] [stdout] | [INFO] [stdout] 299 | pub fn disable_process_bar(&mut self, marquee: bool) {} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_marquee` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `content` [INFO] [stdout] --> src/lib.rs:302:35 [INFO] [stdout] | [INFO] [stdout] 302 | pub fn set_content(&mut self, content: &str) {} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_content` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `main_instruction` [INFO] [stdout] --> src/lib.rs:303:44 [INFO] [stdout] | [INFO] [stdout] 303 | pub fn set_main_instruction(&mut self, main_instruction: &str) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_main_instruction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `footer` [INFO] [stdout] --> src/lib.rs:304:34 [INFO] [stdout] | [INFO] [stdout] 304 | pub fn set_footer(&mut self, footer: &str) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_footer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expanded_information` [INFO] [stdout] --> src/lib.rs:305:48 [INFO] [stdout] | [INFO] [stdout] 305 | pub fn set_expanded_information(&mut self, expanded_information: &str) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expanded_information` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `button_id` [INFO] [stdout] --> src/lib.rs:306:59 [INFO] [stdout] | [INFO] [stdout] 306 | pub fn set_button_elevation_required_state(&mut self, button_id: usize, enable: bool) {} [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_button_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `enable` [INFO] [stdout] --> src/lib.rs:306:77 [INFO] [stdout] | [INFO] [stdout] 306 | pub fn set_button_elevation_required_state(&mut self, button_id: usize, enable: bool) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_enable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conf` [INFO] [stdout] --> src/lib.rs:307:37 [INFO] [stdout] | [INFO] [stdout] 307 | pub fn navigate_page(&mut self, conf: &mut TaskDialogConfig) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_conf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TASKDIALOG_NOTIFICATIONS` in this scope [INFO] [stdout] --> src/lib.rs:63:14 [INFO] [stdout] | [INFO] [stdout] 63 | msg: TASKDIALOG_NOTIFICATIONS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 3 | #[cfg(windows)] [INFO] [stdout] | ------- the item is gated here [INFO] [stdout] ... [INFO] [stdout] 8 | UI::Controls::TASKDIALOG_NOTIFICATIONS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 60 | pub type TaskDialogWndProcCallback = Option< [INFO] [stdout] | ++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PCWSTR` in this scope [INFO] [stdout] --> src/lib.rs:95:20 [INFO] [stdout] | [INFO] [stdout] 35 | type PWSTR = *mut u16; [INFO] [stdout] | ---------------------- similarly named type alias `PWSTR` defined here [INFO] [stdout] ... [INFO] [stdout] 95 | pub main_icon: PCWSTR, [INFO] [stdout] | ^^^^^^ help: a type alias with a similar name exists: `PWSTR` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg(windows)] [INFO] [stdout] | ------- the item is gated here [INFO] [stdout] 12 | use windows::{ [INFO] [stdout] 13 | core::{BOOL, PCWSTR}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PCWSTR` in this scope [INFO] [stdout] --> src/lib.rs:96:22 [INFO] [stdout] | [INFO] [stdout] 35 | type PWSTR = *mut u16; [INFO] [stdout] | ---------------------- similarly named type alias `PWSTR` defined here [INFO] [stdout] ... [INFO] [stdout] 96 | pub footer_icon: PCWSTR, [INFO] [stdout] | ^^^^^^ help: a type alias with a similar name exists: `PWSTR` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg(windows)] [INFO] [stdout] | ------- the item is gated here [INFO] [stdout] 12 | use windows::{ [INFO] [stdout] 13 | core::{BOOL, PCWSTR}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PCWSTR` [INFO] [stdout] --> src/lib.rs:125:24 [INFO] [stdout] | [INFO] [stdout] 125 | main_icon: PCWSTR::null(), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `PCWSTR` [INFO] [stdout] | help: a type alias with a similar name exists: `PWSTR` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg(windows)] [INFO] [stdout] | ------- the item is gated here [INFO] [stdout] 12 | use windows::{ [INFO] [stdout] 13 | core::{BOOL, PCWSTR}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PCWSTR` [INFO] [stdout] --> src/lib.rs:126:26 [INFO] [stdout] | [INFO] [stdout] 126 | footer_icon: PCWSTR::null(), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `PCWSTR` [INFO] [stdout] | help: a type alias with a similar name exists: `PWSTR` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg(windows)] [INFO] [stdout] | ------- the item is gated here [INFO] [stdout] 12 | use windows::{ [INFO] [stdout] 13 | core::{BOOL, PCWSTR}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `marquee` [INFO] [stdout] --> src/lib.rs:299:43 [INFO] [stdout] | [INFO] [stdout] 299 | pub fn disable_process_bar(&mut self, marquee: bool) {} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_marquee` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `content` [INFO] [stdout] --> src/lib.rs:302:35 [INFO] [stdout] | [INFO] [stdout] 302 | pub fn set_content(&mut self, content: &str) {} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_content` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `main_instruction` [INFO] [stdout] --> src/lib.rs:303:44 [INFO] [stdout] | [INFO] [stdout] 303 | pub fn set_main_instruction(&mut self, main_instruction: &str) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_main_instruction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `footer` [INFO] [stdout] --> src/lib.rs:304:34 [INFO] [stdout] | [INFO] [stdout] 304 | pub fn set_footer(&mut self, footer: &str) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_footer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expanded_information` [INFO] [stdout] --> src/lib.rs:305:48 [INFO] [stdout] | [INFO] [stdout] 305 | pub fn set_expanded_information(&mut self, expanded_information: &str) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expanded_information` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `button_id` [INFO] [stdout] --> src/lib.rs:306:59 [INFO] [stdout] | [INFO] [stdout] 306 | pub fn set_button_elevation_required_state(&mut self, button_id: usize, enable: bool) {} [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_button_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `enable` [INFO] [stdout] --> src/lib.rs:306:77 [INFO] [stdout] | [INFO] [stdout] 306 | pub fn set_button_elevation_required_state(&mut self, button_id: usize, enable: bool) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_enable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conf` [INFO] [stdout] --> src/lib.rs:307:37 [INFO] [stdout] | [INFO] [stdout] 307 | pub fn navigate_page(&mut self, conf: &mut TaskDialogConfig) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_conf` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `win-task-dialog` (lib test) due to 5 previous errors; 8 warnings emitted [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b013f2b5c8c20e64e4ed330650573bff2680427bcc39b3b8fa7ac26acb69f095", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b013f2b5c8c20e64e4ed330650573bff2680427bcc39b3b8fa7ac26acb69f095", kill_on_drop: false }` [INFO] [stdout] b013f2b5c8c20e64e4ed330650573bff2680427bcc39b3b8fa7ac26acb69f095