[INFO] fetching crate windows-win 3.0.0... [INFO] checking windows-win-3.0.0 against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] extracting crate windows-win 3.0.0 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate windows-win 3.0.0 on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate windows-win 3.0.0 [INFO] finished tweaking crates.io crate windows-win 3.0.0 [INFO] tweaked toml for crates.io crate windows-win 3.0.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 2 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c1ed3715ff4bc07f17a031a03207588c055df6a75bd23fde4335b06ba9cf0e0a [INFO] running `Command { std: "docker" "start" "-a" "c1ed3715ff4bc07f17a031a03207588c055df6a75bd23fde4335b06ba9cf0e0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c1ed3715ff4bc07f17a031a03207588c055df6a75bd23fde4335b06ba9cf0e0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1ed3715ff4bc07f17a031a03207588c055df6a75bd23fde4335b06ba9cf0e0a", kill_on_drop: false }` [INFO] [stdout] c1ed3715ff4bc07f17a031a03207588c055df6a75bd23fde4335b06ba9cf0e0a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 98a37134d11bf72ae71b2d294a716d9eebabcef8b10986b86fc50a1992933da8 [INFO] running `Command { std: "docker" "start" "-a" "98a37134d11bf72ae71b2d294a716d9eebabcef8b10986b86fc50a1992933da8", kill_on_drop: false }` [INFO] [stderr] Checking error-code v3.3.1 [INFO] [stderr] Checking windows-win v3.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `windows_win::raw` [INFO] [stdout] --> tests/memory.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | raw [INFO] [stdout] | ^^^ no `raw` in the root [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these modules instead: [INFO] [stdout] std::os::linux::raw [INFO] [stdout] std::os::raw [INFO] [stdout] std::os::unix::raw [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `windows_win::TimerBuilder` [INFO] [stdout] --> tests/timer.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use windows_win::TimerBuilder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ no `TimerBuilder` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `windows_win::sys` [INFO] [stdout] --> tests/windows.rs:1:18 [INFO] [stdout] | [INFO] [stdout] 1 | use windows_win::sys::{AddClipboardFormatListener, SetLastErrorEx}; [INFO] [stdout] | ^^^ could not find `sys` in `windows_win` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `windows_win::raw` [INFO] [stdout] --> tests/search.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | raw [INFO] [stdout] | ^^^ no `raw` in the root [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these modules instead: [INFO] [stdout] std::os::linux::raw [INFO] [stdout] std::os::raw [INFO] [stdout] std::os::unix::raw [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `windows_win::raw` [INFO] [stdout] --> tests/module.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | raw [INFO] [stdout] | ^^^ no `raw` in the root [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these modules instead: [INFO] [stdout] std::os::linux::raw [INFO] [stdout] std::os::raw [INFO] [stdout] std::os::unix::raw [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `windows_win::raw` [INFO] [stdout] --> tests/timer.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | use windows_win::raw::timer; [INFO] [stdout] | ^^^ could not find `raw` in `windows_win` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `windows_win::sys` [INFO] [stdout] --> tests/timer.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use windows_win::sys::{c_void, c_uchar}; [INFO] [stdout] | ^^^ could not find `sys` in `windows_win` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `raw` in `windows_win` [INFO] [stdout] --> tests/windows.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | use windows_win::raw::window::{ [INFO] [stdout] | ^^^ could not find `raw` in `windows_win` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `raw` in `windows_win` [INFO] [stdout] --> tests/windows.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 20 | use windows_win::raw::process::{ [INFO] [stdout] | ^^^ could not find `raw` in `windows_win` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `windows_win::Window` [INFO] [stdout] --> tests/windows.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use windows_win::Window; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Window` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `clipboard_win` [INFO] [stdout] --> tests/windows.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use clipboard_win::set_clipboard_string; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `clipboard_win` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `raw` in `windows_win` [INFO] [stdout] --> tests/process.rs:4:27 [INFO] [stdout] | [INFO] [stdout] 4 | assert!(!windows_win::raw::process::is_self_elevated()); [INFO] [stdout] | ^^^ could not find `raw` in `windows_win` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `raw` in `windows_win` [INFO] [stdout] --> tests/windows.rs:183:31 [INFO] [stdout] | [INFO] [stdout] 183 | let result = windows_win::raw::window::enum_by_until(None, |_| { [INFO] [stdout] | ^^^ could not find `raw` in `windows_win` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `module_to_addr` in this scope [INFO] [stdout] --> tests/module.rs:12:46 [INFO] [stdout] | [INFO] [stdout] 12 | let result = get_module_handle_from_addr(module_to_addr!(get_module_handle)); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `virtual_query_ex` in this scope [INFO] [stdout] --> tests/memory.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | let result = virtual_query_ex(handle, ptr::null()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `raw` in `windows_win` [INFO] [stdout] --> tests/windows.rs:189:31 [INFO] [stdout] | [INFO] [stdout] 189 | let result = windows_win::raw::window::enum_by_until(None, |_| { [INFO] [stdout] | ^^^ could not find `raw` in `windows_win` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_module_handle_from_addr` in this scope [INFO] [stdout] --> tests/module.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | let result = get_module_handle_from_addr(module_to_addr!(get_module_handle)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_module_name` in this scope [INFO] [stdout] --> tests/module.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 16 | let result = get_module_name(result.unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `windows-win` (test "memory") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `windows-win` (test "process") due to 1 previous error [INFO] [stdout] Some errors have detailed explanations: E0425, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `windows-win` (test "timer") due to 3 previous errors [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 `windows-win` (test "module") due to 4 previous errors [INFO] [stderr] error: could not compile `windows-win` (test "windows") due to 7 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Search` [INFO] [stdout] --> tests/search.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | let result = Search::new("non-existing.rs", FileInfoLevel::default(), FileSearchType::default(), 0); [INFO] [stdout] | ^^^^^^ use of undeclared type `Search` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FileInfoLevel` [INFO] [stdout] --> tests/search.rs:11:49 [INFO] [stdout] | [INFO] [stdout] 11 | let result = Search::new("non-existing.rs", FileInfoLevel::default(), FileSearchType::default(), 0); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `FileInfoLevel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FileSearchType` [INFO] [stdout] --> tests/search.rs:11:75 [INFO] [stdout] | [INFO] [stdout] 11 | let result = Search::new("non-existing.rs", FileInfoLevel::default(), FileSearchType::default(), 0); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `FileSearchType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Search` [INFO] [stdout] --> tests/search.rs:19:18 [INFO] [stdout] | [INFO] [stdout] 19 | let result = Search::new(file_name, FileInfoLevel::default(), FileSearchType::default(), 0); [INFO] [stdout] | ^^^^^^ use of undeclared type `Search` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FileInfoLevel` [INFO] [stdout] --> tests/search.rs:19:41 [INFO] [stdout] | [INFO] [stdout] 19 | let result = Search::new(file_name, FileInfoLevel::default(), FileSearchType::default(), 0); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `FileInfoLevel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FileSearchType` [INFO] [stdout] --> tests/search.rs:19:67 [INFO] [stdout] | [INFO] [stdout] 19 | let result = Search::new(file_name, FileInfoLevel::default(), FileSearchType::default(), 0); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `FileSearchType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Search` [INFO] [stdout] --> tests/search.rs:35:18 [INFO] [stdout] | [INFO] [stdout] 35 | let result = Search::new(&path, FileInfoLevel::default(), FileSearchType::default(), 0); [INFO] [stdout] | ^^^^^^ use of undeclared type `Search` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FileInfoLevel` [INFO] [stdout] --> tests/search.rs:35:37 [INFO] [stdout] | [INFO] [stdout] 35 | let result = Search::new(&path, FileInfoLevel::default(), FileSearchType::default(), 0); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `FileInfoLevel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FileSearchType` [INFO] [stdout] --> tests/search.rs:35:63 [INFO] [stdout] | [INFO] [stdout] 35 | let result = Search::new(&path, FileInfoLevel::default(), FileSearchType::default(), 0); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `FileSearchType` [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 `windows-win` (test "search") due to 10 previous errors [INFO] running `Command { std: "docker" "inspect" "98a37134d11bf72ae71b2d294a716d9eebabcef8b10986b86fc50a1992933da8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98a37134d11bf72ae71b2d294a716d9eebabcef8b10986b86fc50a1992933da8", kill_on_drop: false }` [INFO] [stdout] 98a37134d11bf72ae71b2d294a716d9eebabcef8b10986b86fc50a1992933da8