[INFO] cloning repository https://github.com/MaulingMonkey/rust_win32_sample [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MaulingMonkey/rust_win32_sample" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMaulingMonkey%2Frust_win32_sample", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMaulingMonkey%2Frust_win32_sample'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 23da4cc4ab04dbd2a4d809ddc99cef10ec1a27ae [INFO] checking MaulingMonkey/rust_win32_sample against try#8384de5d92dd9b1c0b67caa5c1c1b11bf606490f for pr-146300 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMaulingMonkey%2Frust_win32_sample" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/MaulingMonkey/rust_win32_sample [INFO] finished tweaking git repo https://github.com/MaulingMonkey/rust_win32_sample [INFO] tweaked toml for git repo https://github.com/MaulingMonkey/rust_win32_sample written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/MaulingMonkey/rust_win32_sample on toolchain 8384de5d92dd9b1c0b67caa5c1c1b11bf606490f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8384de5d92dd9b1c0b67caa5c1c1b11bf606490f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/MaulingMonkey/rust_win32_sample 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" "+8384de5d92dd9b1c0b67caa5c1c1b11bf606490f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/rust-windowing/winit` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wayland-sys v0.23.5 [INFO] [stderr] Downloaded wayland-commons v0.23.5 [INFO] [stderr] Downloaded wayland-client v0.23.5 [INFO] [stderr] Downloaded wayland-scanner v0.23.5 [INFO] [stderr] Downloaded mio-extras v2.0.5 [INFO] [stderr] Downloaded walkdir v2.2.8 [INFO] [stderr] Downloaded metal v0.14.0 [INFO] [stderr] Downloaded dispatch v0.1.4 [INFO] [stderr] Downloaded wayland-protocols v0.23.5 [INFO] [stderr] Downloaded libloading v0.5.1 [INFO] [stderr] Downloaded syn v0.15.36 [INFO] [stderr] Downloaded core-video-sys v0.1.2 [INFO] [stderr] Downloaded smithay-client-toolkit v0.6.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+8384de5d92dd9b1c0b67caa5c1c1b11bf606490f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 18454bc0c530f1a4dbc013e9f37b7b99632635781d6f52cb8e6f98383b11da7b [INFO] running `Command { std: "docker" "start" "-a" "18454bc0c530f1a4dbc013e9f37b7b99632635781d6f52cb8e6f98383b11da7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "18454bc0c530f1a4dbc013e9f37b7b99632635781d6f52cb8e6f98383b11da7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18454bc0c530f1a4dbc013e9f37b7b99632635781d6f52cb8e6f98383b11da7b", kill_on_drop: false }` [INFO] [stdout] 18454bc0c530f1a4dbc013e9f37b7b99632635781d6f52cb8e6f98383b11da7b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+8384de5d92dd9b1c0b67caa5c1c1b11bf606490f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 26242d026a1dd4820d2842c948e14eb8ac150c62872895d2dd13d192a7da1aca [INFO] running `Command { std: "docker" "start" "-a" "26242d026a1dd4820d2842c948e14eb8ac150c62872895d2dd13d192a7da1aca", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.58 [INFO] [stderr] Checking cfg-if v0.1.9 [INFO] [stderr] Checking rand_core v0.4.0 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling cc v1.0.37 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Checking nodrop v0.1.13 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling parking_lot_core v0.5.0 [INFO] [stderr] Checking stb_truetype v0.2.6 [INFO] [stderr] Compiling syn v0.15.36 [INFO] [stderr] Checking same-file v1.0.4 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Checking downcast-rs v1.0.4 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking walkdir v2.2.8 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Compiling parking_lot v0.8.0 [INFO] [stderr] Compiling wayland-scanner v0.23.5 [INFO] [stderr] Checking smallvec v0.6.10 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking iovec v0.1.2 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking lock_api v0.2.0 [INFO] [stderr] Compiling x11-dl v2.18.3 [INFO] [stderr] Checking nix v0.14.1 [INFO] [stderr] Compiling libloading v0.5.1 [INFO] [stderr] Checking mio v0.6.19 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking ordered-float v1.0.2 [INFO] [stderr] Checking line_drawing v0.7.0 [INFO] [stderr] Checking rusttype v0.7.7 [INFO] [stderr] Checking dlib v0.4.1 [INFO] [stderr] Checking mio-extras v2.0.5 [INFO] [stderr] Checking andrew v0.2.1 [INFO] [stderr] Checking wayland-sys v0.23.5 [INFO] [stderr] Compiling wayland-client v0.23.5 [INFO] [stderr] Compiling wayland-protocols v0.23.5 [INFO] [stderr] Checking wayland-commons v0.23.5 [INFO] [stderr] Checking calloop v0.4.4 [INFO] [stderr] Compiling derivative v1.0.2 [INFO] [stderr] Checking smithay-client-toolkit v0.6.2 [INFO] [stderr] Checking winit v0.19.1 (https://github.com/rust-windowing/winit#2e0bbc09) [INFO] [stderr] Checking rust_win32_d3d11 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/com/d3d/blob.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use std::os::windows::ffi::OsStrExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/8384de5d92dd9b1c0b67caa5c1c1b11bf606490f/library/std/src/os/mod.rs:56:5 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/8384de5d92dd9b1c0b67caa5c1c1b11bf606490f/library/std/src/os/mod.rs:120:10 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winit::platform::windows` [INFO] [stdout] --> src/main.rs:28:22 [INFO] [stdout] | [INFO] [stdout] 28 | use winit::platform::windows::WindowExtWindows; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `platform` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/winit-4d35a78d1599eac3/2e0bbc0/src/platform/mod.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub mod windows; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/winit-4d35a78d1599eac3/2e0bbc0/src/platform/windows.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | #![cfg(target_os = "windows")] [INFO] [stdout] | --------------------- the item is gated behind the `windows` feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/com/d3d/blob.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use std::os::windows::ffi::OsStrExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/8384de5d92dd9b1c0b67caa5c1c1b11bf606490f/library/std/src/os/mod.rs:56:5 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/8384de5d92dd9b1c0b67caa5c1c1b11bf606490f/library/std/src/os/mod.rs:120:10 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winit::platform::windows` [INFO] [stdout] --> src/main.rs:28:22 [INFO] [stdout] | [INFO] [stdout] 28 | use winit::platform::windows::WindowExtWindows; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `platform` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/winit-4d35a78d1599eac3/2e0bbc0/src/platform/mod.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub mod windows; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/winit-4d35a78d1599eac3/2e0bbc0/src/platform/windows.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | #![cfg(target_os = "windows")] [INFO] [stdout] | --------------------- the item is gated behind the `windows` feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `win32` [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use win32::*; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `win32` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/win32.rs, use `mod win32` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 10 + mod win32; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::win32` [INFO] [stdout] --> src/com/d3d/blob.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::win32::*; [INFO] [stdout] | ^^^^^ could not find `win32` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `win32` [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use win32::*; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `win32` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/win32.rs, use `mod win32` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 10 + mod win32; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::win32` [INFO] [stdout] --> src/com/d3d/compile.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::win32::*; [INFO] [stdout] | ^^^^^ could not find `win32` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::win32` [INFO] [stdout] --> src/com/d3d/blob.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::win32::*; [INFO] [stdout] | ^^^^^ could not find `win32` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::win32` [INFO] [stdout] --> src/com/d3d11/mod.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::win32::*; [INFO] [stdout] | ^^^^^ could not find `win32` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::win32` [INFO] [stdout] --> src/com/d3d/compile.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::win32::*; [INFO] [stdout] | ^^^^^ could not find `win32` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::win32` [INFO] [stdout] --> src/com/d3d11/driver_type.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::win32::*; [INFO] [stdout] | ^^^^^ could not find `win32` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::win32` [INFO] [stdout] --> src/com/d3d11/mod.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::win32::*; [INFO] [stdout] | ^^^^^ could not find `win32` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::win32` [INFO] [stdout] --> src/com/d3d11/feature_level.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::win32::*; [INFO] [stdout] | ^^^^^ could not find `win32` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::win32` [INFO] [stdout] --> src/com/d3d11/driver_type.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::win32::*; [INFO] [stdout] | ^^^^^ could not find `win32` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::win32` [INFO] [stdout] --> src/com/d3d11/input_element_desc.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::win32::*; [INFO] [stdout] | ^^^^^ could not find `win32` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::win32` [INFO] [stdout] --> src/com/d3d11/feature_level.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::win32::*; [INFO] [stdout] | ^^^^^ could not find `win32` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::win32` [INFO] [stdout] --> src/com/d3d11/primitive_topology.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::win32::*; [INFO] [stdout] | ^^^^^ could not find `win32` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::win32` [INFO] [stdout] --> src/com/d3d11/input_element_desc.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::win32::*; [INFO] [stdout] | ^^^^^ could not find `win32` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::win32` [INFO] [stdout] --> src/com/dxgi/swap_chain.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::win32::*; [INFO] [stdout] | ^^^^^ could not find `win32` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::win32` [INFO] [stdout] --> src/com/device_and_swap_chain.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::win32::*; [INFO] [stdout] | ^^^^^ could not find `win32` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::win32` [INFO] [stdout] --> src/com/d3d11/primitive_topology.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::win32::*; [INFO] [stdout] | ^^^^^ could not find `win32` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::win32` [INFO] [stdout] --> src/com/dxgi/swap_chain.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::win32::*; [INFO] [stdout] | ^^^^^ could not find `win32` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::win32` [INFO] [stdout] --> src/com/device_and_swap_chain.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::win32::*; [INFO] [stdout] | ^^^^^ could not find `win32` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/com/d3d/blob.rs:13:61 [INFO] [stdout] | [INFO] [stdout] 13 | let mut path : Vec = path.as_ref().as_os_str().encode_wide().collect(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/com/d3d/blob.rs:26:61 [INFO] [stdout] | [INFO] [stdout] 26 | let mut path : Vec = path.as_ref().as_os_str().encode_wide().collect(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/com/d3d/blob.rs:13:61 [INFO] [stdout] | [INFO] [stdout] 13 | let mut path : Vec = path.as_ref().as_os_str().encode_wide().collect(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/com/d3d/blob.rs:26:61 [INFO] [stdout] | [INFO] [stdout] 26 | let mut path : Vec = path.as_ref().as_os_str().encode_wide().collect(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/com/d3d/compile.rs:83:43 [INFO] [stdout] | [INFO] [stdout] 83 | entrypoint.map_or(null_mut(), |e| e.as_ptr()), [INFO] [stdout] | ^^^^^^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected raw pointer `*mut _` [INFO] [stdout] found raw pointer `*const i8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/com/d3d/compile.rs:83:43 [INFO] [stdout] | [INFO] [stdout] 83 | entrypoint.map_or(null_mut(), |e| e.as_ptr()), [INFO] [stdout] | ^^^^^^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected raw pointer `*mut _` [INFO] [stdout] found raw pointer `*const i8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `hwnd` found for struct `winit::window::Window` in the current scope [INFO] [stdout] --> src/main.rs:107:30 [INFO] [stdout] | [INFO] [stdout] 107 | OutputWindow: window.hwnd() as HWND, [INFO] [stdout] | ^^^^ method not found in `winit::window::Window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `hwnd` found for struct `winit::window::Window` in the current scope [INFO] [stdout] --> src/main.rs:107:30 [INFO] [stdout] | [INFO] [stdout] 107 | OutputWindow: window.hwnd() as HWND, [INFO] [stdout] | ^^^^ method not found in `winit::window::Window` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_win32_d3d11` (bin "rust_win32_d3d11" test) due to 16 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0308, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_win32_d3d11` (bin "rust_win32_d3d11") due to 16 previous errors [INFO] running `Command { std: "docker" "inspect" "26242d026a1dd4820d2842c948e14eb8ac150c62872895d2dd13d192a7da1aca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26242d026a1dd4820d2842c948e14eb8ac150c62872895d2dd13d192a7da1aca", kill_on_drop: false }` [INFO] [stdout] 26242d026a1dd4820d2842c948e14eb8ac150c62872895d2dd13d192a7da1aca