[INFO] fetching crate request-window-attention 0.1.6... [INFO] testing request-window-attention-0.1.6 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate request-window-attention 0.1.6 into /workspace/builds/worker-5-tc2/source [INFO] removed /workspace/builds/worker-5-tc2/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-5-tc2/source/rust-toolchain [INFO] started tweaking crates.io crate request-window-attention 0.1.6 [INFO] finished tweaking crates.io crate request-window-attention 0.1.6 [INFO] tweaked toml for crates.io crate request-window-attention 0.1.6 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate request-window-attention 0.1.6 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate request-window-attention 0.1.6 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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a45d21cddc2eb32d05669ed8bfffc59dc4541f369bd6886a8defbc4d9819c105 [INFO] running `Command { std: "docker" "start" "-a" "a45d21cddc2eb32d05669ed8bfffc59dc4541f369bd6886a8defbc4d9819c105", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a45d21cddc2eb32d05669ed8bfffc59dc4541f369bd6886a8defbc4d9819c105", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a45d21cddc2eb32d05669ed8bfffc59dc4541f369bd6886a8defbc4d9819c105", kill_on_drop: false }` [INFO] [stdout] a45d21cddc2eb32d05669ed8bfffc59dc4541f369bd6886a8defbc4d9819c105 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1bdc7931d8f810282cf89d8bfe275d4d4f7fefaafbae9dade09f26c61fe12ae8 [INFO] running `Command { std: "docker" "start" "-a" "1bdc7931d8f810282cf89d8bfe275d4d4f7fefaafbae9dade09f26c61fe12ae8", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling rustix v0.38.26 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling os_str_bytes v6.6.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.12 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling termcolor v1.4.0 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling cbindgen v0.24.5 [INFO] [stderr] Compiling textwrap v0.16.0 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling fastrand v2.0.1 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling iana-time-zone v0.1.58 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling clap v3.2.25 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling chrono v0.4.31 [INFO] [stderr] Compiling tempfile v3.8.1 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling request-window-attention v0.1.6 (/opt/rustwide/workdir) [INFO] [stdout] error: 程序版本信息环境变量"GIT_BRANCH"没有被找到 [INFO] [stdout] --> src/git_edition.rs:5:26 [INFO] [stdout] | [INFO] [stdout] 5 | const GIT_BRANCH: &str = env!("GIT_BRANCH", r#"程序版本信息环境变量"GIT_BRANCH"没有被找到"#); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 程序版本信息环境变量"GIT_TAG"没有被找到 [INFO] [stdout] --> src/git_edition.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | const GIT_TAG: &str = env!("GIT_TAG", r#"程序版本信息环境变量"GIT_TAG"没有被找到"#); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 程序版本信息环境变量"GIT_LATEST_COMMIT_ID"没有被找到 [INFO] [stdout] --> src/git_edition.rs:7:36 [INFO] [stdout] | [INFO] [stdout] 7 | const GIT_LATEST_COMMIT_ID: &str = env!("GIT_LATEST_COMMIT_ID", r#"程序版本信息环境变量"GIT_LATEST_COMMIT_ID"没有被找到"#); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/exp_abi_rust/enum_windows.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use ::winapi::{shared::{minwindef::{BOOL, FALSE, LPARAM, TRUE}, windef::HWND}, um::winuser::{EnumWindows, EnumChildWindows, GetWindowThre... [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/exp_abi_rust/enum_windows.rs:1:80 [INFO] [stdout] | [INFO] [stdout] 1 | use ::winapi::{shared::{minwindef::{BOOL, FALSE, LPARAM, TRUE}, windef::HWND}, um::winuser::{EnumWindows, EnumChildWindows, GetWindowThre... [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/exp_abi_rust.rs:3:43 [INFO] [stdout] | [INFO] [stdout] 3 | use ::std::{ffi::OsString, iter, mem, 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/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/os/mod.rs:56:5 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/os/mod.rs:120:10 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `_core` in `winapi` [INFO] [stdout] --> src/exp_abi_rust.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | use ::winapi::{_core::ptr::null_mut, um::winuser::{FindWindowW, FlashWindowEx, FLASHWINFO, FLASHW_CAPTION, FLASHW_TIMER, FLASHW_TIMERNOFG... [INFO] [stdout] | ^^^^^ could not find `_core` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/exp_abi_rust.rs:4:38 [INFO] [stdout] | [INFO] [stdout] 4 | use ::winapi::{_core::ptr::null_mut, um::winuser::{FindWindowW, FlashWindowEx, FLASHWINFO, FLASHW_CAPTION, FLASHW_TIMER, FLASHW_TIMERNOFG... [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/exp_abi_rust.rs:4:167 [INFO] [stdout] | [INFO] [stdout] 4 | ... FLASHW_TIMERNOFG, FLASHW_STOP, FLASHW_TRAY}, shared::windef::HWND}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/exp_abi_c.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub extern fn stop_flash_by_title_c(win_title: *const c_char) { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/exp_abi_c.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub extern fn start_flash_by_title_c(win_title: *const c_char, count: c_uint, blink_rate: c_uint) { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/exp_abi_c.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub extern fn stop_flash_by_ppid_c(process_id: c_uint) { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/exp_abi_c.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | pub extern fn start_flash_by_ppid_c(process_id: c_uint, count: c_uint, blink_rate: c_uint) { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/exp_abi_c.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | pub extern fn get_edition_c() -> *mut GitEdition { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for struct `OsString` in the current scope [INFO] [stdout] --> src/exp_abi_rust.rs:13:29 [INFO] [stdout] | [INFO] [stdout] 13 | let winname = win_title.encode_wide().chain(iter::once(0)).collect::>(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `OsString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `request-window-attention` (lib) due to 10 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "1bdc7931d8f810282cf89d8bfe275d4d4f7fefaafbae9dade09f26c61fe12ae8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1bdc7931d8f810282cf89d8bfe275d4d4f7fefaafbae9dade09f26c61fe12ae8", kill_on_drop: false }` [INFO] [stdout] 1bdc7931d8f810282cf89d8bfe275d4d4f7fefaafbae9dade09f26c61fe12ae8