[INFO] fetching crate windows-win 3.0.0... [INFO] testing windows-win-3.0.0 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-1 [INFO] extracting crate windows-win 3.0.0 into /workspace/builds/worker-0-tc1/source [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-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate windows-win 3.0.0 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [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" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 99dad2e2fbb3d883a13dfb97bea43841d7a0876e222c7b76c9f8b28c7db56a9e [INFO] running `Command { std: "docker" "start" "-a" "99dad2e2fbb3d883a13dfb97bea43841d7a0876e222c7b76c9f8b28c7db56a9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "99dad2e2fbb3d883a13dfb97bea43841d7a0876e222c7b76c9f8b28c7db56a9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99dad2e2fbb3d883a13dfb97bea43841d7a0876e222c7b76c9f8b28c7db56a9e", kill_on_drop: false }` [INFO] [stdout] 99dad2e2fbb3d883a13dfb97bea43841d7a0876e222c7b76c9f8b28c7db56a9e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6b64def4be0d680d476c39c916d2331d288d7f3fbf6543b599b03f44d8f01c3c [INFO] running `Command { std: "docker" "start" "-a" "6b64def4be0d680d476c39c916d2331d288d7f3fbf6543b599b03f44d8f01c3c", kill_on_drop: false }` [INFO] [stderr] Compiling error-code v3.3.2 [INFO] [stderr] Compiling windows-win v3.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.21s [INFO] running `Command { std: "docker" "inspect" "6b64def4be0d680d476c39c916d2331d288d7f3fbf6543b599b03f44d8f01c3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b64def4be0d680d476c39c916d2331d288d7f3fbf6543b599b03f44d8f01c3c", kill_on_drop: false }` [INFO] [stdout] 6b64def4be0d680d476c39c916d2331d288d7f3fbf6543b599b03f44d8f01c3c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a6d8cd3c5a128f7a35723066650977e85993ae4f459204497251642d4f970a28 [INFO] running `Command { std: "docker" "start" "-a" "a6d8cd3c5a128f7a35723066650977e85993ae4f459204497251642d4f970a28", kill_on_drop: false }` [INFO] [stderr] Compiling windows-win v3.0.0 (/opt/rustwide/workdir) [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[E0433]: cannot 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]: cannot 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 unresolved module or unlinked crate `clipboard_win` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `clipboard_win`, use `cargo add clipboard_win` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot 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[E0433]: cannot 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] 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::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[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::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: 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] 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] warning: unused `#[macro_use]` import [INFO] [stdout] --> tests/module.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [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] [stdout] error[E0433]: cannot find type `Search` in this scope [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]: cannot find type `FileInfoLevel` in this scope [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]: cannot find type `FileSearchType` in this scope [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]: cannot find type `Search` in this scope [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]: cannot find type `FileInfoLevel` in this scope [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]: cannot find type `FileSearchType` in this scope [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]: cannot find type `Search` in this scope [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]: cannot find type `FileInfoLevel` in this scope [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]: cannot find type `FileSearchType` in this scope [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] [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 "search") due to 10 previous errors [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 "module") due to 4 previous errors; 1 warning emitted [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] [stdout] error[E0433]: cannot 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] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `windows-win` (test "windows") due to 7 previous errors [INFO] [stderr] error: could not compile `windows-win` (test "timer") due to 3 previous errors [INFO] [stderr] error: could not compile `windows-win` (test "process") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "a6d8cd3c5a128f7a35723066650977e85993ae4f459204497251642d4f970a28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6d8cd3c5a128f7a35723066650977e85993ae4f459204497251642d4f970a28", kill_on_drop: false }` [INFO] [stdout] a6d8cd3c5a128f7a35723066650977e85993ae4f459204497251642d4f970a28