[INFO] cloning repository https://github.com/clearskyaaa/demo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/clearskyaaa/demo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fclearskyaaa%2Fdemo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fclearskyaaa%2Fdemo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] da60bd9d3f44e2f88a36355ffe7d029293221abd [INFO] testing clearskyaaa/demo against 1.86.0 for beta-1.87-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fclearskyaaa%2Fdemo" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/clearskyaaa/demo on toolchain 1.86.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.86.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/clearskyaaa/demo [INFO] finished tweaking git repo https://github.com/clearskyaaa/demo [INFO] tweaked toml for git repo https://github.com/clearskyaaa/demo written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/clearskyaaa/demo 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.86.0" "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-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1.86.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cc296f4d8dcc7b80046d1a8633cd244ca6c578c2b214e5a3593d0b22fd3a2af5 [INFO] running `Command { std: "docker" "start" "-a" "cc296f4d8dcc7b80046d1a8633cd244ca6c578c2b214e5a3593d0b22fd3a2af5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cc296f4d8dcc7b80046d1a8633cd244ca6c578c2b214e5a3593d0b22fd3a2af5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc296f4d8dcc7b80046d1a8633cd244ca6c578c2b214e5a3593d0b22fd3a2af5", kill_on_drop: false }` [INFO] [stdout] cc296f4d8dcc7b80046d1a8633cd244ca6c578c2b214e5a3593d0b22fd3a2af5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1.86.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 177831a985741fff923462640b3d6cdadb85035d0958ec3168b637c1923940ed [INFO] running `Command { std: "docker" "start" "-a" "177831a985741fff923462640b3d6cdadb85035d0958ec3168b637c1923940ed", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling libc v0.2.161 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling windows_x86_64_gnu v0.52.6 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling openssl v0.10.68 [INFO] [stderr] Compiling bytes v1.8.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling cc v1.1.31 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling pin-project-lite v0.2.15 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling thiserror v1.0.65 [INFO] [stderr] Compiling windows-targets v0.52.6 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling windows-result v0.2.0 [INFO] [stderr] Compiling serde v1.0.214 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling cpufeatures v0.2.14 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling anstyle v1.0.9 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling windows-strings v0.1.0 [INFO] [stderr] Compiling anyhow v1.0.91 [INFO] [stderr] Compiling serde_json v1.0.132 [INFO] [stderr] Compiling anstream v0.6.17 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling unicode-bidi v0.3.17 [INFO] [stderr] Compiling clap_lex v0.7.2 [INFO] [stderr] Compiling data-encoding v2.6.0 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling clap_builder v4.5.20 [INFO] [stderr] Compiling syn v2.0.85 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling base64 v0.20.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling openssl-sys v0.9.104 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling thiserror-impl v1.0.65 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling windows-interface v0.58.0 [INFO] [stderr] Compiling serde_derive v1.0.214 [INFO] [stderr] Compiling windows-implement v0.58.0 [INFO] [stderr] Compiling clap_derive v4.5.18 [INFO] [stderr] Compiling tokio v1.41.0 [INFO] [stderr] Compiling windows-core v0.58.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling windows v0.58.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling clap v4.5.20 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tungstenite v0.24.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-socks v0.5.2 [INFO] [stderr] Compiling tokio-tungstenite v0.24.0 [INFO] [stderr] Compiling demo v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/my_window.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use windows::Win32::Graphics::Gdi::BeginPaint; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/my_window.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use windows::Win32::Graphics::Gdi::{ [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/my_window.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | use windows::Win32::Graphics::GdiPlus::{ [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/my_window.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | core::*, Win32::Foundation::*, Win32::Graphics::GdiPlus, [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/my_window.rs:18:36 [INFO] [stdout] | [INFO] [stdout] 18 | core::*, Win32::Foundation::*, Win32::Graphics::GdiPlus, [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/my_window.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | Win32::System::LibraryLoader::GetModuleHandleW, Win32::UI::WindowsAndMessaging::FindWindowW, [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/my_window.rs:19:53 [INFO] [stdout] | [INFO] [stdout] 19 | Win32::System::LibraryLoader::GetModuleHandleW, Win32::UI::WindowsAndMessaging::FindWindowW, [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/my_window.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | Win32::UI::WindowsAndMessaging::*, [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/api.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | use windows::Win32::Foundation::*; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/api.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | use windows::Win32::UI::WindowsAndMessaging::PostMessageW; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/main.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | use windows::Win32::Foundation::HWND; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `windows::core` [INFO] [stdout] --> src/my_window.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | core::*, Win32::Foundation::*, Win32::Graphics::GdiPlus, [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/my_window.rs:375:70 [INFO] [stdout] | [INFO] [stdout] 375 | AppendMenuW(menu, MF_STRING, Self::COMAMND_EXIT, w!("退出")).unwrap(); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `w` in this scope [INFO] [stdout] --> src/my_window.rs:546:33 [INFO] [stdout] | [INFO] [stdout] 546 | unsafe { Ok(FindWindowW(w!("Shell_TrayWnd"), None)?) } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `w` in this scope [INFO] [stdout] --> src/my_window.rs:558:63 [INFO] [stdout] | [INFO] [stdout] 558 | let child_hwnd = FindWindowExW(parent_hwnd, None, w!("TrayNotifyWnd"), None)?; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WebSocketStream` [INFO] [stdout] --> src/api.rs:12:74 [INFO] [stdout] | [INFO] [stdout] 12 | use tokio_tungstenite::{client_async_tls, connect_async_tls_with_config, WebSocketStream}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/proxy/InnerProxy.rs:84:25 [INFO] [stdout] | [INFO] [stdout] 84 | Err(e) => Err(Error::new(ErrorKind::NotConnected, "failed to create socks proxy stream")) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/proxy/InnerProxy.rs:63:30 [INFO] [stdout] | [INFO] [stdout] 63 | .unwrap_or_else(|e| panic!("failed to parse target url: {}", target)); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/proxy/InnerProxy.rs:72:21 [INFO] [stdout] | [INFO] [stdout] 72 | let mut tcp_stream = TcpStream::connect(url).await [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/proxy/InnerProxy.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | Err(e) => return Err(Error::new( [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `demo` (bin "demo") due to 15 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "177831a985741fff923462640b3d6cdadb85035d0958ec3168b637c1923940ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "177831a985741fff923462640b3d6cdadb85035d0958ec3168b637c1923940ed", kill_on_drop: false }` [INFO] [stdout] 177831a985741fff923462640b3d6cdadb85035d0958ec3168b637c1923940ed