[INFO] fetching crate windows-win 2.4.0... [INFO] checking windows-win-2.4.0 against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] extracting crate windows-win 2.4.0 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate windows-win 2.4.0 on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate windows-win 2.4.0 [INFO] finished tweaking crates.io crate windows-win 2.4.0 [INFO] tweaked toml for crates.io crate windows-win 2.4.0 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bd778a71df35c61b813d0a16a2bd97f5da4839b56c55cf634c0a4358edf06834 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "bd778a71df35c61b813d0a16a2bd97f5da4839b56c55cf634c0a4358edf06834", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bd778a71df35c61b813d0a16a2bd97f5da4839b56c55cf634c0a4358edf06834", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd778a71df35c61b813d0a16a2bd97f5da4839b56c55cf634c0a4358edf06834", kill_on_drop: false }` [INFO] [stdout] bd778a71df35c61b813d0a16a2bd97f5da4839b56c55cf634c0a4358edf06834 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dbd0abde316e7721589633277ceae9addbd15082f1a2644348efe42ec70e1af0 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "dbd0abde316e7721589633277ceae9addbd15082f1a2644348efe42ec70e1af0", kill_on_drop: false }` [INFO] [stderr] Checking windows-win v2.4.0 (/opt/rustwide/workdir) [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] [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] [INFO] [stdout] error[E0463]: can't find crate for `winapi` [INFO] [stdout] --> tests/timer.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate winapi; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [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] [stderr] error: could not compile `windows-win` [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] [INFO] [stderr] [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] [stderr] To learn more, run the command again with --verbose. [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] [stderr] warning: build failed, waiting for other jobs to finish... [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[E0463]: can't find crate for `clipboard_win` [INFO] [stdout] --> tests/windows.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate clipboard_win; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [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] 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] 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 `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] [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [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: build failed [INFO] [stdout] error: aborting due to 4 previous errors; 1 warning emitted [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] running `Command { std: "docker" "inspect" "dbd0abde316e7721589633277ceae9addbd15082f1a2644348efe42ec70e1af0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dbd0abde316e7721589633277ceae9addbd15082f1a2644348efe42ec70e1af0", kill_on_drop: false }` [INFO] [stdout] dbd0abde316e7721589633277ceae9addbd15082f1a2644348efe42ec70e1af0