[INFO] fetching crate flextrek 0.2.2... [INFO] testing flextrek-0.2.2 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate flextrek 0.2.2 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate flextrek 0.2.2 [INFO] finished tweaking crates.io crate flextrek 0.2.2 [INFO] tweaked toml for crates.io crate flextrek 0.2.2 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate flextrek 0.2.2 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate flextrek 0.2.2 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio v1.41.1 [INFO] [stderr] Downloaded object v0.36.5 [INFO] [stderr] Downloaded libc v0.2.162 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b55be4957992d845bac8ba377bd6e34881fb3812b2703c7e12ac0d01523b634d [INFO] running `Command { std: "docker" "start" "-a" "b55be4957992d845bac8ba377bd6e34881fb3812b2703c7e12ac0d01523b634d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b55be4957992d845bac8ba377bd6e34881fb3812b2703c7e12ac0d01523b634d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b55be4957992d845bac8ba377bd6e34881fb3812b2703c7e12ac0d01523b634d", kill_on_drop: false }` [INFO] [stdout] b55be4957992d845bac8ba377bd6e34881fb3812b2703c7e12ac0d01523b634d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1b91857ea7688d8f8b3650595188b16f29cb47281b3dbc509015f3830ecbc8ab [INFO] running `Command { std: "docker" "start" "-a" "1b91857ea7688d8f8b3650595188b16f29cb47281b3dbc509015f3830ecbc8ab", kill_on_drop: false }` [INFO] [stderr] Compiling windows_x86_64_gnu v0.52.6 [INFO] [stderr] Compiling pin-project-lite v0.2.15 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Compiling tokio v1.41.1 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling windows-targets v0.52.6 [INFO] [stderr] Compiling windows-result v0.2.0 [INFO] [stderr] Compiling windows-strings v0.1.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling windows-interface v0.58.0 [INFO] [stderr] Compiling windows-implement v0.58.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling windows-core v0.58.0 [INFO] [stderr] Compiling windows v0.58.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling flextrek v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/lib.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use windows::Win32::UI::{ [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/get_explorer_location.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use windows::Win32::{ [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/get_explorer_location.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | use windows::Win32::Foundation::{HWND, SHANDLE_PTR}; [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/get_explorer_location.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | use windows::Win32::System::Com::CoUninitialize; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `windows::core` [INFO] [stdout] --> src/get_explorer_location.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use windows::core::{BSTR, Error, Interface, Result, VARIANT, w}; [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/get_explorer_selected_file.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | Win32::{ [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `windows::core` [INFO] [stdout] --> src/get_explorer_selected_file.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | core::{Interface, VARIANT, w}, [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `core` in `windows` [INFO] [stdout] --> src/get_explorer_location.rs:22:44 [INFO] [stdout] | [INFO] [stdout] 22 | return Err(Error::new(windows::core::HRESULT(0), "Failed to initialize COM")); [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `core` in `windows` [INFO] [stdout] --> src/get_explorer_location.rs:34:34 [INFO] [stdout] | [INFO] [stdout] 34 | windows::core::HRESULT(0), [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `core` in `windows` [INFO] [stdout] --> src/get_explorer_location.rs:47:48 [INFO] [stdout] | [INFO] [stdout] 47 | return Err(Error::new(windows::core::HRESULT(0), "Failed to get window count")); [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `core` in `windows` [INFO] [stdout] --> src/get_explorer_location.rs:56:30 [INFO] [stdout] | [INFO] [stdout] 56 | windows::core::HRESULT(0), [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `core` in `windows` [INFO] [stdout] --> src/get_explorer_location.rs:99:22 [INFO] [stdout] | [INFO] [stdout] 99 | windows::core::HRESULT(0), [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/get_explorer_selected_file.rs:77:17 [INFO] [stdout] | [INFO] [stdout] 77 | let service_provider = match service_provider { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | match service_provider.QueryService::(&IShellBrowser::IID) { [INFO] [stdout] | ---------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `service_provider` an explicit type [INFO] [stdout] | [INFO] [stdout] 77 | let service_provider: /* Type */ = match service_provider { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/get_explorer_selected_file.rs:82:17 [INFO] [stdout] | [INFO] [stdout] 82 | let shell_browser = [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | let phwnd = match shell_browser.GetWindow() { [INFO] [stdout] | ------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `shell_browser` an explicit type [INFO] [stdout] | [INFO] [stdout] 82 | let shell_browser: /* Type */ = [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/get_explorer_selected_file.rs:103:17 [INFO] [stdout] | [INFO] [stdout] 103 | let shell_view = match shell_browser.QueryActiveShellView() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | let shell_items = match shell_view.GetItemObject::(SVGIO_SELECTION) { [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `shell_view` an explicit type [INFO] [stdout] | [INFO] [stdout] 103 | let shell_view: /* Type */ = match shell_browser.QueryActiveShellView() { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/get_explorer_selected_file.rs:111:17 [INFO] [stdout] | [INFO] [stdout] 111 | let shell_items = match shell_view.GetItemObject::(SVGIO_SELECTION) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | let count = shell_items.GetCount().unwrap_or_default(); [INFO] [stdout] | ----------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `shell_items` an explicit type [INFO] [stdout] | [INFO] [stdout] 111 | let shell_items: /* Type */ = match shell_view.GetItemObject::(SVGIO_SELECTION) { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/get_explorer_selected_file.rs:121:21 [INFO] [stdout] | [INFO] [stdout] 121 | let shell_item = match shell_items.GetItemAt(i) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | if let Ok(attrs) = shell_item.GetAttributes(SFGAO_FILESYSTEM) { [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `shell_item` an explicit type [INFO] [stdout] | [INFO] [stdout] 121 | let shell_item: /* Type */ = match shell_items.GetItemAt(i) { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/get_explorer_selected_file.rs:145:39 [INFO] [stdout] | [INFO] [stdout] 145 | if let Ok(name) = display_name.to_string() { [INFO] [stdout] | ^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/get_explorer_selected_file.rs:153:39 [INFO] [stdout] | [INFO] [stdout] 153 | if let Ok(name) = display_name.to_string() { [INFO] [stdout] | ^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `flextrek` (lib) due to 19 previous errors [INFO] running `Command { std: "docker" "inspect" "1b91857ea7688d8f8b3650595188b16f29cb47281b3dbc509015f3830ecbc8ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b91857ea7688d8f8b3650595188b16f29cb47281b3dbc509015f3830ecbc8ab", kill_on_drop: false }` [INFO] [stdout] 1b91857ea7688d8f8b3650595188b16f29cb47281b3dbc509015f3830ecbc8ab