[INFO] fetching crate windows_shared_memory 0.1.3... [INFO] checking windows_shared_memory-0.1.3 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate windows_shared_memory 0.1.3 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate windows_shared_memory 0.1.3 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate windows_shared_memory 0.1.3 [INFO] tweaked toml for crates.io crate windows_shared_memory 0.1.3 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate windows_shared_memory 0.1.3 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate windows_shared_memory 0.1.3 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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 828dcee2c7ed72e3f5bcdccce1777ec72d8a61ba15166cf825d8f6d3cfe57b7f [INFO] running `Command { std: "docker" "start" "-a" "828dcee2c7ed72e3f5bcdccce1777ec72d8a61ba15166cf825d8f6d3cfe57b7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "828dcee2c7ed72e3f5bcdccce1777ec72d8a61ba15166cf825d8f6d3cfe57b7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "828dcee2c7ed72e3f5bcdccce1777ec72d8a61ba15166cf825d8f6d3cfe57b7f", kill_on_drop: false }` [INFO] [stdout] 828dcee2c7ed72e3f5bcdccce1777ec72d8a61ba15166cf825d8f6d3cfe57b7f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 05f14c229f946f84f476bcfce49ee15e0368f242c2490fc9ef8b4493f63569fa [INFO] running `Command { std: "docker" "start" "-a" "05f14c229f946f84f476bcfce49ee15e0368f242c2490fc9ef8b4493f63569fa", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.17 [INFO] [stderr] Checking windows-link v0.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Checking windows-strings v0.3.1 [INFO] [stderr] Checking windows-result v0.3.1 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling windows-implement v0.59.0 [INFO] [stderr] Compiling windows-interface v0.59.0 [INFO] [stderr] Checking windows-core v0.60.1 [INFO] [stderr] Checking windows-numerics v0.1.1 [INFO] [stderr] Checking windows-future v0.1.1 [INFO] [stderr] Checking windows-collections v0.1.1 [INFO] [stderr] Checking windows v0.60.0 [INFO] [stderr] Checking windows_shared_memory v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/client.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | use windows::Win32::{ [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `windows::core` [INFO] [stdout] --> src/client.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use windows::core::Result; [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/server.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | use windows::Win32::{ [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `windows::core` [INFO] [stdout] --> src/server.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | use windows::core::Result; [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/shared_memory.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use windows::Win32::Foundation::{HANDLE, WAIT_OBJECT_0, WAIT_TIMEOUT}; [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/shared_memory.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use windows::Win32::System::Threading::{SetEvent, WaitForSingleObject}; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `windows::core` [INFO] [stdout] --> src/shared_memory.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use windows::core::Result; [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/utils.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use windows::Win32::Foundation::{HANDLE, WAIT_OBJECT_0, WAIT_TIMEOUT}; [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/utils.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use windows::Win32::System::Threading::*; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `windows::core` [INFO] [stdout] --> src/utils.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use windows::core::{Result, PCWSTR}; [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/client.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | use windows::Win32::{ [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `windows::core` [INFO] [stdout] --> src/client.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use windows::core::Result; [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/server.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | use windows::Win32::{ [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `windows::core` [INFO] [stdout] --> src/server.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | use windows::core::Result; [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/shared_memory.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use windows::Win32::Foundation::{HANDLE, WAIT_OBJECT_0, WAIT_TIMEOUT}; [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/shared_memory.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use windows::Win32::System::Threading::{SetEvent, WaitForSingleObject}; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `windows::core` [INFO] [stdout] --> src/shared_memory.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use windows::core::Result; [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/utils.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use windows::Win32::Foundation::{HANDLE, WAIT_OBJECT_0, WAIT_TIMEOUT}; [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/utils.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use windows::Win32::System::Threading::*; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `windows::core` [INFO] [stdout] --> src/utils.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use windows::core::{Result, PCWSTR}; [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FILE_MAP_ALL_ACCESS` in this scope [INFO] [stdout] --> src/client.rs:27:39 [INFO] [stdout] | [INFO] [stdout] 27 | unsafe { OpenFileMappingW(FILE_MAP_ALL_ACCESS.0, false, mapping_name_pcwstr)? }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FILE_MAP_ALL_ACCESS` in this scope [INFO] [stdout] --> src/client.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | FILE_MAP_ALL_ACCESS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `core` in `windows` [INFO] [stdout] --> src/client.rs:42:33 [INFO] [stdout] | [INFO] [stdout] 42 | return Err(windows::core::Error::from_win32()); [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] = and 1 other candidate [INFO] [stdout] help: if you import `Error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 42 - return Err(windows::core::Error::from_win32()); [INFO] [stdout] 42 + return Err(Error::from_win32()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MEMORY_MAPPED_VIEW_ADDRESS` in this scope [INFO] [stdout] --> src/client.rs:74:45 [INFO] [stdout] | [INFO] [stdout] 74 | if let Err(e) = UnmapViewOfFile(MEMORY_MAPPED_VIEW_ADDRESS { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PAGE_READWRITE` in this scope [INFO] [stdout] --> src/server.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | PAGE_READWRITE, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FILE_MAP_ALL_ACCESS` in this scope [INFO] [stdout] --> src/server.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | FILE_MAP_ALL_ACCESS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `core` in `windows` [INFO] [stdout] --> src/server.rs:51:33 [INFO] [stdout] | [INFO] [stdout] 51 | return Err(windows::core::Error::from_win32()); [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] = and 1 other candidate [INFO] [stdout] help: if you import `Error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 51 - return Err(windows::core::Error::from_win32()); [INFO] [stdout] 51 + return Err(Error::from_win32()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MEMORY_MAPPED_VIEW_ADDRESS` in this scope [INFO] [stdout] --> src/server.rs:93:45 [INFO] [stdout] | [INFO] [stdout] 93 | if let Err(e) = UnmapViewOfFile(MEMORY_MAPPED_VIEW_ADDRESS { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EVENT_ALL_ACCESS` in this scope [INFO] [stdout] --> src/utils.rs:14:39 [INFO] [stdout] | [INFO] [stdout] 14 | let h_event = unsafe { OpenEventW(EVENT_ALL_ACCESS, false, event_name_pcwstr) }?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `core` in `windows` [INFO] [stdout] --> src/utils.rs:17:29 [INFO] [stdout] | [INFO] [stdout] 17 | return Err(windows::core::Error::from_win32()); [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] = and 1 other candidate [INFO] [stdout] help: if you import `Error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 17 - return Err(windows::core::Error::from_win32()); [INFO] [stdout] 17 + return Err(Error::from_win32()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `core` in `windows` [INFO] [stdout] --> src/utils.rs:29:29 [INFO] [stdout] | [INFO] [stdout] 29 | return Err(windows::core::Error::from_win32()); [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] = and 1 other candidate [INFO] [stdout] help: if you import `Error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 29 - return Err(windows::core::Error::from_win32()); [INFO] [stdout] 29 + return Err(Error::from_win32()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INFINITE` in this scope [INFO] [stdout] --> src/utils.rs:37:40 [INFO] [stdout] | [INFO] [stdout] 37 | let timeout = timeout_ms.unwrap_or(INFINITE); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `core` in `windows` [INFO] [stdout] --> src/utils.rs:43:27 [INFO] [stdout] | [INFO] [stdout] 43 | _ => Err(windows::core::Error::from_win32()), [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] = and 1 other candidate [INFO] [stdout] help: if you import `Error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 43 - _ => Err(windows::core::Error::from_win32()), [INFO] [stdout] 43 + _ => Err(Error::from_win32()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `OpenFileMappingW` in this scope [INFO] [stdout] --> src/client.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | unsafe { OpenFileMappingW(FILE_MAP_ALL_ACCESS.0, false, mapping_name_pcwstr)? }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MapViewOfFile` in this scope [INFO] [stdout] --> src/client.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | MapViewOfFile( [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `UnmapViewOfFile` in this scope [INFO] [stdout] --> src/client.rs:74:29 [INFO] [stdout] | [INFO] [stdout] 74 | if let Err(e) = UnmapViewOfFile(MEMORY_MAPPED_VIEW_ADDRESS { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateFileMappingW` in this scope [INFO] [stdout] --> src/server.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | CreateFileMappingW( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MapViewOfFile` in this scope [INFO] [stdout] --> src/server.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | MapViewOfFile( [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetEvent` in this scope [INFO] [stdout] --> src/server.rs:76:13 [INFO] [stdout] | [INFO] [stdout] 76 | SetEvent(self.h_event_s2c)?; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `UnmapViewOfFile` in this scope [INFO] [stdout] --> src/server.rs:93:29 [INFO] [stdout] | [INFO] [stdout] 93 | if let Err(e) = UnmapViewOfFile(MEMORY_MAPPED_VIEW_ADDRESS { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `OpenEventW` in this scope [INFO] [stdout] --> src/utils.rs:14:28 [INFO] [stdout] | [INFO] [stdout] 14 | let h_event = unsafe { OpenEventW(EVENT_ALL_ACCESS, false, event_name_pcwstr) }?; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateEventW` in this scope [INFO] [stdout] --> src/utils.rs:26:28 [INFO] [stdout] | [INFO] [stdout] 26 | let h_event = unsafe { CreateEventW(None, false, false, event_name_pcwstr) }?; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WaitForSingleObject` in this scope [INFO] [stdout] --> src/utils.rs:38:27 [INFO] [stdout] | [INFO] [stdout] 38 | let result = unsafe { WaitForSingleObject(handle, timeout) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] [INFO] [stderr] error: could not compile `windows_shared_memory` (lib test) due to 33 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0425]: cannot find value `FILE_MAP_ALL_ACCESS` in this scope [INFO] [stdout] --> src/client.rs:27:39 [INFO] [stdout] | [INFO] [stdout] 27 | unsafe { OpenFileMappingW(FILE_MAP_ALL_ACCESS.0, false, mapping_name_pcwstr)? }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FILE_MAP_ALL_ACCESS` in this scope [INFO] [stdout] --> src/client.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | FILE_MAP_ALL_ACCESS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `core` in `windows` [INFO] [stdout] --> src/client.rs:42:33 [INFO] [stdout] | [INFO] [stdout] 42 | return Err(windows::core::Error::from_win32()); [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] = and 1 other candidate [INFO] [stdout] help: if you import `Error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 42 - return Err(windows::core::Error::from_win32()); [INFO] [stdout] 42 + return Err(Error::from_win32()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MEMORY_MAPPED_VIEW_ADDRESS` in this scope [INFO] [stdout] --> src/client.rs:74:45 [INFO] [stdout] | [INFO] [stdout] 74 | if let Err(e) = UnmapViewOfFile(MEMORY_MAPPED_VIEW_ADDRESS { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PAGE_READWRITE` in this scope [INFO] [stdout] --> src/server.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | PAGE_READWRITE, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FILE_MAP_ALL_ACCESS` in this scope [INFO] [stdout] --> src/server.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | FILE_MAP_ALL_ACCESS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `core` in `windows` [INFO] [stdout] --> src/server.rs:51:33 [INFO] [stdout] | [INFO] [stdout] 51 | return Err(windows::core::Error::from_win32()); [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] = and 1 other candidate [INFO] [stdout] help: if you import `Error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 51 - return Err(windows::core::Error::from_win32()); [INFO] [stdout] 51 + return Err(Error::from_win32()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MEMORY_MAPPED_VIEW_ADDRESS` in this scope [INFO] [stdout] --> src/server.rs:93:45 [INFO] [stdout] | [INFO] [stdout] 93 | if let Err(e) = UnmapViewOfFile(MEMORY_MAPPED_VIEW_ADDRESS { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EVENT_ALL_ACCESS` in this scope [INFO] [stdout] --> src/utils.rs:14:39 [INFO] [stdout] | [INFO] [stdout] 14 | let h_event = unsafe { OpenEventW(EVENT_ALL_ACCESS, false, event_name_pcwstr) }?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `core` in `windows` [INFO] [stdout] --> src/utils.rs:17:29 [INFO] [stdout] | [INFO] [stdout] 17 | return Err(windows::core::Error::from_win32()); [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] = and 1 other candidate [INFO] [stdout] help: if you import `Error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 17 - return Err(windows::core::Error::from_win32()); [INFO] [stdout] 17 + return Err(Error::from_win32()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `core` in `windows` [INFO] [stdout] --> src/utils.rs:29:29 [INFO] [stdout] | [INFO] [stdout] 29 | return Err(windows::core::Error::from_win32()); [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] = and 1 other candidate [INFO] [stdout] help: if you import `Error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 29 - return Err(windows::core::Error::from_win32()); [INFO] [stdout] 29 + return Err(Error::from_win32()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INFINITE` in this scope [INFO] [stdout] --> src/utils.rs:37:40 [INFO] [stdout] | [INFO] [stdout] 37 | let timeout = timeout_ms.unwrap_or(INFINITE); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `core` in `windows` [INFO] [stdout] --> src/utils.rs:43:27 [INFO] [stdout] | [INFO] [stdout] 43 | _ => Err(windows::core::Error::from_win32()), [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] = and 1 other candidate [INFO] [stdout] help: if you import `Error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 43 - _ => Err(windows::core::Error::from_win32()), [INFO] [stdout] 43 + _ => Err(Error::from_win32()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `OpenFileMappingW` in this scope [INFO] [stdout] --> src/client.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | unsafe { OpenFileMappingW(FILE_MAP_ALL_ACCESS.0, false, mapping_name_pcwstr)? }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MapViewOfFile` in this scope [INFO] [stdout] --> src/client.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | MapViewOfFile( [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `UnmapViewOfFile` in this scope [INFO] [stdout] --> src/client.rs:74:29 [INFO] [stdout] | [INFO] [stdout] 74 | if let Err(e) = UnmapViewOfFile(MEMORY_MAPPED_VIEW_ADDRESS { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateFileMappingW` in this scope [INFO] [stdout] --> src/server.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | CreateFileMappingW( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MapViewOfFile` in this scope [INFO] [stdout] --> src/server.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | MapViewOfFile( [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetEvent` in this scope [INFO] [stdout] --> src/server.rs:76:13 [INFO] [stdout] | [INFO] [stdout] 76 | SetEvent(self.h_event_s2c)?; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `UnmapViewOfFile` in this scope [INFO] [stdout] --> src/server.rs:93:29 [INFO] [stdout] | [INFO] [stdout] 93 | if let Err(e) = UnmapViewOfFile(MEMORY_MAPPED_VIEW_ADDRESS { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `OpenEventW` in this scope [INFO] [stdout] --> src/utils.rs:14:28 [INFO] [stdout] | [INFO] [stdout] 14 | let h_event = unsafe { OpenEventW(EVENT_ALL_ACCESS, false, event_name_pcwstr) }?; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateEventW` in this scope [INFO] [stdout] --> src/utils.rs:26:28 [INFO] [stdout] | [INFO] [stdout] 26 | let h_event = unsafe { CreateEventW(None, false, false, event_name_pcwstr) }?; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WaitForSingleObject` in this scope [INFO] [stdout] --> src/utils.rs:38:27 [INFO] [stdout] | [INFO] [stdout] 38 | let result = unsafe { WaitForSingleObject(handle, timeout) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] [INFO] [stderr] error: could not compile `windows_shared_memory` (lib) due to 33 previous errors [INFO] running `Command { std: "docker" "inspect" "05f14c229f946f84f476bcfce49ee15e0368f242c2490fc9ef8b4493f63569fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05f14c229f946f84f476bcfce49ee15e0368f242c2490fc9ef8b4493f63569fa", kill_on_drop: false }` [INFO] [stdout] 05f14c229f946f84f476bcfce49ee15e0368f242c2490fc9ef8b4493f63569fa