[INFO] cloning repository https://github.com/Ell/monswitch [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Ell/monswitch" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEll%2Fmonswitch", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEll%2Fmonswitch'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 698c6bec81586830ad2fb470cb58a153cfa2f334 [INFO] checking Ell/monswitch against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEll%2Fmonswitch" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Ell/monswitch 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 git repo https://github.com/Ell/monswitch [INFO] finished tweaking git repo https://github.com/Ell/monswitch [INFO] tweaked toml for git repo https://github.com/Ell/monswitch written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/Ell/monswitch already has a lockfile, it will not be regenerated [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-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7843f3e1e2c0041a60bddc87728e2f08ef1810b1d25cd74dc8eda537401bcc08 [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" "7843f3e1e2c0041a60bddc87728e2f08ef1810b1d25cd74dc8eda537401bcc08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7843f3e1e2c0041a60bddc87728e2f08ef1810b1d25cd74dc8eda537401bcc08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7843f3e1e2c0041a60bddc87728e2f08ef1810b1d25cd74dc8eda537401bcc08", kill_on_drop: false }` [INFO] [stdout] 7843f3e1e2c0041a60bddc87728e2f08ef1810b1d25cd74dc8eda537401bcc08 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 7e7b4339c7858ccabc28d56c6416d5a212f274550b7ba1691c1af6e0bdc2e4af [INFO] running `Command { std: "docker" "start" "-a" "7e7b4339c7858ccabc28d56c6416d5a212f274550b7ba1691c1af6e0bdc2e4af", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.17 [INFO] [stderr] Compiling syn v1.0.23 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Compiling num-derive v0.3.0 [INFO] [stderr] Checking monswitch v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/display/monitor.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::shared::minwindef::BYTE; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/display/monitor.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::shared::minwindef::DWORD; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/display/monitor.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::shared::minwindef::{LPARAM, LPDWORD}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/display/monitor.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::shared::windef::{HDC, HMONITOR, LPRECT}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/display/monitor.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::um::lowlevelmonitorconfigurationapi::SetVCPFeature; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/display/monitor.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::um::lowlevelmonitorconfigurationapi::{ [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/display/monitor.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::um::physicalmonitorenumerationapi::{ [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/display/monitor.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use winapi::um::winuser::EnumDisplayMonitors; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `systray` [INFO] [stdout] --> src/gui/app.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use systray; [INFO] [stdout] | ^^^^^^^ no external crate `systray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/display/monitor.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::shared::minwindef::BYTE; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/display/monitor.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::shared::minwindef::DWORD; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/display/monitor.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::shared::minwindef::{LPARAM, LPDWORD}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/display/monitor.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::shared::windef::{HDC, HMONITOR, LPRECT}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/display/monitor.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::um::lowlevelmonitorconfigurationapi::SetVCPFeature; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/display/monitor.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::um::lowlevelmonitorconfigurationapi::{ [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/display/monitor.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::um::physicalmonitorenumerationapi::{ [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/display/monitor.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use winapi::um::winuser::EnumDisplayMonitors; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `systray` [INFO] [stdout] --> src/gui/app.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use systray; [INFO] [stdout] | ^^^^^^^ no external crate `systray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PHYSICAL_MONITOR` in this scope [INFO] [stdout] --> src/display/monitor.rs:89:20 [INFO] [stdout] | [INFO] [stdout] 89 | pub phys_mons: PHYSICAL_MONITOR, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BYTE` in this scope [INFO] [stdout] --> src/display/monitor.rs:100:37 [INFO] [stdout] | [INFO] [stdout] 100 | fn set_vcp_feature(&self, code: BYTE, new_value: DWORD) -> Result<(), MonitorError> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/display/monitor.rs:100:54 [INFO] [stdout] | [INFO] [stdout] 100 | fn set_vcp_feature(&self, code: BYTE, new_value: DWORD) -> Result<(), MonitorError> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetVCPFeature` in this scope [INFO] [stdout] --> src/display/monitor.rs:104:26 [INFO] [stdout] | [INFO] [stdout] 104 | let result = SetVCPFeature(hmonitor, code, new_value); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMONITOR` in this scope [INFO] [stdout] --> src/display/monitor.rs:141:44 [INFO] [stdout] | [INFO] [stdout] 127 | impl MonitorManager { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 141 | fn enum_display_monitors(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMONITOR` in this scope [INFO] [stdout] --> src/display/monitor.rs:145:35 [INFO] [stdout] | [INFO] [stdout] 127 | impl MonitorManager { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 145 | let mut monitors: Box> = Box::new(vec![]); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> src/display/monitor.rs:149:30 [INFO] [stdout] | [INFO] [stdout] 149 | let mons_lparam: LPARAM = std::mem::transmute(mons_ptr); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EnumDisplayMonitors` in this scope [INFO] [stdout] --> src/display/monitor.rs:151:13 [INFO] [stdout] | [INFO] [stdout] 151 | EnumDisplayMonitors(hdc, lprc_clip, Some(lpfn_enum_callback), mons_lparam); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMONITOR` in this scope [INFO] [stdout] --> src/display/monitor.rs:159:71 [INFO] [stdout] | [INFO] [stdout] 159 | fn get_number_of_physical_monitors_from_hmonitor(&self, hmonitor: HMONITOR) -> i32 { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPDWORD` in this scope [INFO] [stdout] --> src/display/monitor.rs:164:30 [INFO] [stdout] | [INFO] [stdout] 164 | let num_lpdword: LPDWORD = std::mem::transmute(num_ptr); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetNumberOfPhysicalMonitorsFromHMONITOR` in this scope [INFO] [stdout] --> src/display/monitor.rs:166:13 [INFO] [stdout] | [INFO] [stdout] 166 | GetNumberOfPhysicalMonitorsFromHMONITOR(hmonitor, num_lpdword); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMONITOR` in this scope [INFO] [stdout] --> src/display/monitor.rs:176:18 [INFO] [stdout] | [INFO] [stdout] 176 | monitor: HMONITOR, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PHYSICAL_MONITOR` in this scope [INFO] [stdout] --> src/display/monitor.rs:178:14 [INFO] [stdout] | [INFO] [stdout] 127 | impl MonitorManager { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 178 | ) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PHYSICAL_MONITOR` in this scope [INFO] [stdout] --> src/display/monitor.rs:179:32 [INFO] [stdout] | [INFO] [stdout] 127 | impl MonitorManager { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 179 | let mut phys_mons: Vec = [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetPhysicalMonitorsFromHMONITOR` in this scope [INFO] [stdout] --> src/display/monitor.rs:183:13 [INFO] [stdout] | [INFO] [stdout] 183 | GetPhysicalMonitorsFromHMONITOR( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PHYSICAL_MONITOR` in this scope [INFO] [stdout] --> src/display/monitor.rs:193:56 [INFO] [stdout] | [INFO] [stdout] 193 | fn get_capabilities_string_length(&self, phys_mon: PHYSICAL_MONITOR) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPDWORD` in this scope [INFO] [stdout] --> src/display/monitor.rs:198:30 [INFO] [stdout] | [INFO] [stdout] 198 | let cap_lpdword: LPDWORD = std::mem::transmute(cap_len_ptr); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCapabilitiesStringLength` in this scope [INFO] [stdout] --> src/display/monitor.rs:200:13 [INFO] [stdout] | [INFO] [stdout] 200 | GetCapabilitiesStringLength(phys_mon.hPhysicalMonitor, cap_lpdword); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PHYSICAL_MONITOR` in this scope [INFO] [stdout] --> src/display/monitor.rs:210:19 [INFO] [stdout] | [INFO] [stdout] 210 | phys_mon: PHYSICAL_MONITOR, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CapabilitiesRequestAndCapabilitiesReply` in this scope [INFO] [stdout] --> src/display/monitor.rs:216:13 [INFO] [stdout] | [INFO] [stdout] 216 | CapabilitiesRequestAndCapabilitiesReply( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMONITOR` in this scope [INFO] [stdout] --> src/display/monitor.rs:313:11 [INFO] [stdout] | [INFO] [stdout] 313 | hmon: HMONITOR, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HDC` in this scope [INFO] [stdout] --> src/display/monitor.rs:314:11 [INFO] [stdout] | [INFO] [stdout] 314 | _hdc: HDC, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPRECT` in this scope [INFO] [stdout] --> src/display/monitor.rs:315:14 [INFO] [stdout] | [INFO] [stdout] 315 | _lprect: LPRECT, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> src/display/monitor.rs:316:13 [INFO] [stdout] | [INFO] [stdout] 316 | lparam: LPARAM, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMONITOR` in this scope [INFO] [stdout] --> src/display/monitor.rs:318:28 [INFO] [stdout] | [INFO] [stdout] 312 | unsafe extern "system" fn lpfn_enum_callback( [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 318 | let mons_ptr: *mut Vec = std::mem::transmute(lparam); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Monitor` [INFO] [stdout] --> src/gui/app.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::display::monitor::{Monitor, MonitorManager}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PHYSICAL_MONITOR` in this scope [INFO] [stdout] --> src/display/monitor.rs:89:20 [INFO] [stdout] | [INFO] [stdout] 89 | pub phys_mons: PHYSICAL_MONITOR, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BYTE` in this scope [INFO] [stdout] --> src/display/monitor.rs:100:37 [INFO] [stdout] | [INFO] [stdout] 100 | fn set_vcp_feature(&self, code: BYTE, new_value: DWORD) -> Result<(), MonitorError> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/display/monitor.rs:100:54 [INFO] [stdout] | [INFO] [stdout] 100 | fn set_vcp_feature(&self, code: BYTE, new_value: DWORD) -> Result<(), MonitorError> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetVCPFeature` in this scope [INFO] [stdout] --> src/display/monitor.rs:104:26 [INFO] [stdout] | [INFO] [stdout] 104 | let result = SetVCPFeature(hmonitor, code, new_value); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMONITOR` in this scope [INFO] [stdout] --> src/display/monitor.rs:141:44 [INFO] [stdout] | [INFO] [stdout] 127 | impl MonitorManager { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 141 | fn enum_display_monitors(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMONITOR` in this scope [INFO] [stdout] --> src/display/monitor.rs:145:35 [INFO] [stdout] | [INFO] [stdout] 127 | impl MonitorManager { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 145 | let mut monitors: Box> = Box::new(vec![]); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> src/display/monitor.rs:149:30 [INFO] [stdout] | [INFO] [stdout] 149 | let mons_lparam: LPARAM = std::mem::transmute(mons_ptr); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EnumDisplayMonitors` in this scope [INFO] [stdout] --> src/display/monitor.rs:151:13 [INFO] [stdout] | [INFO] [stdout] 151 | EnumDisplayMonitors(hdc, lprc_clip, Some(lpfn_enum_callback), mons_lparam); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMONITOR` in this scope [INFO] [stdout] --> src/display/monitor.rs:159:71 [INFO] [stdout] | [INFO] [stdout] 159 | fn get_number_of_physical_monitors_from_hmonitor(&self, hmonitor: HMONITOR) -> i32 { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPDWORD` in this scope [INFO] [stdout] --> src/display/monitor.rs:164:30 [INFO] [stdout] | [INFO] [stdout] 164 | let num_lpdword: LPDWORD = std::mem::transmute(num_ptr); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetNumberOfPhysicalMonitorsFromHMONITOR` in this scope [INFO] [stdout] --> src/display/monitor.rs:166:13 [INFO] [stdout] | [INFO] [stdout] 166 | GetNumberOfPhysicalMonitorsFromHMONITOR(hmonitor, num_lpdword); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMONITOR` in this scope [INFO] [stdout] --> src/display/monitor.rs:176:18 [INFO] [stdout] | [INFO] [stdout] 176 | monitor: HMONITOR, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PHYSICAL_MONITOR` in this scope [INFO] [stdout] --> src/display/monitor.rs:178:14 [INFO] [stdout] | [INFO] [stdout] 127 | impl MonitorManager { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 178 | ) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PHYSICAL_MONITOR` in this scope [INFO] [stdout] --> src/display/monitor.rs:179:32 [INFO] [stdout] | [INFO] [stdout] 127 | impl MonitorManager { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 179 | let mut phys_mons: Vec = [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetPhysicalMonitorsFromHMONITOR` in this scope [INFO] [stdout] --> src/display/monitor.rs:183:13 [INFO] [stdout] | [INFO] [stdout] 183 | GetPhysicalMonitorsFromHMONITOR( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PHYSICAL_MONITOR` in this scope [INFO] [stdout] --> src/display/monitor.rs:193:56 [INFO] [stdout] | [INFO] [stdout] 193 | fn get_capabilities_string_length(&self, phys_mon: PHYSICAL_MONITOR) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPDWORD` in this scope [INFO] [stdout] --> src/display/monitor.rs:198:30 [INFO] [stdout] | [INFO] [stdout] 198 | let cap_lpdword: LPDWORD = std::mem::transmute(cap_len_ptr); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCapabilitiesStringLength` in this scope [INFO] [stdout] --> src/display/monitor.rs:200:13 [INFO] [stdout] | [INFO] [stdout] 200 | GetCapabilitiesStringLength(phys_mon.hPhysicalMonitor, cap_lpdword); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PHYSICAL_MONITOR` in this scope [INFO] [stdout] --> src/display/monitor.rs:210:19 [INFO] [stdout] | [INFO] [stdout] 210 | phys_mon: PHYSICAL_MONITOR, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CapabilitiesRequestAndCapabilitiesReply` in this scope [INFO] [stdout] --> src/display/monitor.rs:216:13 [INFO] [stdout] | [INFO] [stdout] 216 | CapabilitiesRequestAndCapabilitiesReply( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMONITOR` in this scope [INFO] [stdout] --> src/display/monitor.rs:313:11 [INFO] [stdout] | [INFO] [stdout] 313 | hmon: HMONITOR, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HDC` in this scope [INFO] [stdout] --> src/display/monitor.rs:314:11 [INFO] [stdout] | [INFO] [stdout] 314 | _hdc: HDC, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPRECT` in this scope [INFO] [stdout] --> src/display/monitor.rs:315:14 [INFO] [stdout] | [INFO] [stdout] 315 | _lprect: LPRECT, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> src/display/monitor.rs:316:13 [INFO] [stdout] | [INFO] [stdout] 316 | lparam: LPARAM, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMONITOR` in this scope [INFO] [stdout] --> src/display/monitor.rs:318:28 [INFO] [stdout] | [INFO] [stdout] 312 | unsafe extern "system" fn lpfn_enum_callback( [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 318 | let mons_ptr: *mut Vec = std::mem::transmute(lparam); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Monitor` [INFO] [stdout] --> src/gui/app.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::display::monitor::{Monitor, MonitorManager}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/display/monitor.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | pub phys_mons: PHYSICAL_MONITOR, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: Default` [INFO] [stdout] = note: required by `std::default::Default::default` [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/display/monitor.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | pub phys_mons: PHYSICAL_MONITOR, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: Default` [INFO] [stdout] = note: required by `std::default::Default::default` [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 35 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0283, E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stderr] error: could not compile `monswitch` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 35 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0283, E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "7e7b4339c7858ccabc28d56c6416d5a212f274550b7ba1691c1af6e0bdc2e4af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e7b4339c7858ccabc28d56c6416d5a212f274550b7ba1691c1af6e0bdc2e4af", kill_on_drop: false }` [INFO] [stdout] 7e7b4339c7858ccabc28d56c6416d5a212f274550b7ba1691c1af6e0bdc2e4af