[INFO] cloning repository https://github.com/insomnimus/wol [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/insomnimus/wol" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finsomnimus%2Fwol", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finsomnimus%2Fwol'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c587a3fe70973ed41076b29e135abe6e5090153f [INFO] testing insomnimus/wol against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finsomnimus%2Fwol" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/insomnimus/wol [INFO] finished tweaking git repo https://github.com/insomnimus/wol [INFO] tweaked toml for git repo https://github.com/insomnimus/wol written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/insomnimus/wol on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/insomnimus/wol 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 639122aab60bd664f637313745d3a33b0f83f0f6a0e486ad5344ca070b464451 [INFO] running `Command { std: "docker" "start" "-a" "639122aab60bd664f637313745d3a33b0f83f0f6a0e486ad5344ca070b464451", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "639122aab60bd664f637313745d3a33b0f83f0f6a0e486ad5344ca070b464451", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "639122aab60bd664f637313745d3a33b0f83f0f6a0e486ad5344ca070b464451", kill_on_drop: false }` [INFO] [stdout] 639122aab60bd664f637313745d3a33b0f83f0f6a0e486ad5344ca070b464451 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 956daf64521a1226697fb2e04b20f047f3959ae3b2709a49536571acae349a87 [INFO] running `Command { std: "docker" "start" "-a" "956daf64521a1226697fb2e04b20f047f3959ae3b2709a49536571acae349a87", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling windows_x86_64_gnu v0.52.6 [INFO] [stderr] Compiling windows-targets v0.52.6 [INFO] [stderr] Compiling windows-result v0.2.0 [INFO] [stderr] Compiling windows-strings v0.1.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.91 [INFO] [stderr] Compiling windows-interface v0.58.0 [INFO] [stderr] Compiling windows-implement v0.58.0 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling windows-core v0.58.0 [INFO] [stderr] Compiling windows v0.58.0 [INFO] [stderr] Compiling derive_more v1.0.0 [INFO] [stderr] Compiling wol v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: cannot find `Win32` in `windows` [INFO] [stdout] --> src/device.rs:20:2 [INFO] [stdout] | [INFO] [stdout] 20 | Win32::{ [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `windows::core` [INFO] [stdout] --> src/device.rs:16:2 [INFO] [stdout] | [INFO] [stdout] 16 | core::{ [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `Win32` in `windows` [INFO] [stdout] --> src/screen_reader.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | 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/error.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | use windows::core::Error as WinError; [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `windows::core` [INFO] [stdout] --> src/volume.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use windows::core::Result as WinResult; [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `IMMDeviceCollection` in this scope [INFO] [stdout] --> src/device.rs:37:14 [INFO] [stdout] | [INFO] [stdout] 37 | collection: IMMDeviceCollection, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `IMMDevice` in this scope [INFO] [stdout] --> src/device.rs:43:7 [INFO] [stdout] | [INFO] [stdout] 43 | dev: IMMDevice, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DEVICE_STATE_ACTIVE` in this scope [INFO] [stdout] --> src/device.rs:67:32 [INFO] [stdout] | [INFO] [stdout] 67 | pub const ACTIVE: Self = Self(DEVICE_STATE_ACTIVE.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DEVICE_STATE_DISABLED` in this scope [INFO] [stdout] --> src/device.rs:70:34 [INFO] [stdout] | [INFO] [stdout] 70 | pub const DISABLED: Self = Self(DEVICE_STATE_DISABLED.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DEVICE_STATE_NOTPRESENT` in this scope [INFO] [stdout] --> src/device.rs:71:37 [INFO] [stdout] | [INFO] [stdout] 71 | pub const NOT_PRESENT: Self = Self(DEVICE_STATE_NOTPRESENT.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DEVICE_STATE_UNPLUGGED` in this scope [INFO] [stdout] --> src/device.rs:72:35 [INFO] [stdout] | [INFO] [stdout] 72 | pub const UNPLUGGED: Self = Self(DEVICE_STATE_UNPLUGGED.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `IMMDevice` in this scope [INFO] [stdout] --> src/device.rs:137:21 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct Device { [INFO] [stdout] | ----------------- similarly named struct `Device` defined here [INFO] [stdout] ... [INFO] [stdout] 137 | unsafe fn new(dev: IMMDevice) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 137 - unsafe fn new(dev: IMMDevice) -> Result { [INFO] [stdout] 137 + unsafe fn new(dev: Device) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `STGM_READ` in this scope [INFO] [stdout] --> src/device.rs:140:37 [INFO] [stdout] | [INFO] [stdout] 140 | let props = dev.OpenPropertyStore(STGM_READ)?; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PKEY_Device_FriendlyName` in this scope [INFO] [stdout] --> src/device.rs:142:15 [INFO] [stdout] | [INFO] [stdout] 142 | .GetValue(&PKEY_Device_FriendlyName)? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VT_EMPTY` in this scope [INFO] [stdout] --> src/device.rs:145:30 [INFO] [stdout] | [INFO] [stdout] 145 | if varname.Anonymous.vt == VT_EMPTY.0 { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `IMMDeviceEnumerator` in this scope [INFO] [stdout] --> src/device.rs:172:35 [INFO] [stdout] | [INFO] [stdout] 172 | unsafe fn enumerator() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 136 | impl Device { [INFO] [stdout] | +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `COINIT_APARTMENTTHREADED` in this scope [INFO] [stdout] --> src/device.rs:173:24 [INFO] [stdout] | [INFO] [stdout] 173 | CoInitializeEx(None, COINIT_APARTMENTTHREADED).ok()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `IMMDeviceEnumerator` in this scope [INFO] [stdout] --> src/device.rs:174:16 [INFO] [stdout] | [INFO] [stdout] 174 | let mm_enum: IMMDeviceEnumerator = CoCreateInstance(&MMDeviceEnumerator, None, CLSCTX_ALL)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MMDeviceEnumerator` in this scope [INFO] [stdout] --> src/device.rs:174:56 [INFO] [stdout] | [INFO] [stdout] 174 | let mm_enum: IMMDeviceEnumerator = CoCreateInstance(&MMDeviceEnumerator, None, CLSCTX_ALL)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CLSCTX_ALL` in this scope [INFO] [stdout] --> src/device.rs:174:82 [INFO] [stdout] | [INFO] [stdout] 174 | let mm_enum: IMMDeviceEnumerator = CoCreateInstance(&MMDeviceEnumerator, None, CLSCTX_ALL)?; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CLSCTX_ALL` in this scope [INFO] [stdout] --> src/device.rs:184:31 [INFO] [stdout] | [INFO] [stdout] 184 | let vol = self.dev.Activate(CLSCTX_ALL, None)?; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `eRender` in this scope [INFO] [stdout] --> src/device.rs:193:46 [INFO] [stdout] | [INFO] [stdout] 193 | let dev = mm_enum.GetDefaultAudioEndpoint(eRender, eConsole)?; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `eConsole` in this scope [INFO] [stdout] --> src/device.rs:193:55 [INFO] [stdout] | [INFO] [stdout] 193 | let dev = mm_enum.GetDefaultAudioEndpoint(eRender, eConsole)?; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `eRender` in this scope [INFO] [stdout] --> src/device.rs:201:51 [INFO] [stdout] | [INFO] [stdout] 201 | let enumerator = enumerator.EnumAudioEndpoints(eRender, DEVICE_STATE(state.0))?; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `STGM_READ` in this scope [INFO] [stdout] --> src/device.rs:262:43 [INFO] [stdout] | [INFO] [stdout] 262 | let props = self.dev.OpenPropertyStore(STGM_READ)?; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PKEY_Device_DeviceDesc` in this scope [INFO] [stdout] --> src/device.rs:263:34 [INFO] [stdout] | [INFO] [stdout] 263 | let varname = props.GetValue(&PKEY_Device_DeviceDesc)?.as_raw().Anonymous; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VT_EMPTY` in this scope [INFO] [stdout] --> src/device.rs:264:31 [INFO] [stdout] | [INFO] [stdout] 264 | if varname.Anonymous.vt == VT_EMPTY.0 { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CoInitializeEx` in this scope [INFO] [stdout] --> src/device.rs:173:3 [INFO] [stdout] | [INFO] [stdout] 173 | CoInitializeEx(None, COINIT_APARTMENTTHREADED).ok()?; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CoCreateInstance` in this scope [INFO] [stdout] --> src/device.rs:174:38 [INFO] [stdout] | [INFO] [stdout] 174 | let mm_enum: IMMDeviceEnumerator = CoCreateInstance(&MMDeviceEnumerator, None, CLSCTX_ALL)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DEVICE_STATE` in this scope [INFO] [stdout] --> src/device.rs:201:60 [INFO] [stdout] | [INFO] [stdout] 201 | let enumerator = enumerator.EnumAudioEndpoints(eRender, DEVICE_STATE(state.0))?; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wol` (bin "wol") due to 30 previous errors [INFO] running `Command { std: "docker" "inspect" "956daf64521a1226697fb2e04b20f047f3959ae3b2709a49536571acae349a87", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "956daf64521a1226697fb2e04b20f047f3959ae3b2709a49536571acae349a87", kill_on_drop: false }` [INFO] [stdout] 956daf64521a1226697fb2e04b20f047f3959ae3b2709a49536571acae349a87