[INFO] cloning repository https://github.com/tuliomoreira77/rust_hardware_monitor [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tuliomoreira77/rust_hardware_monitor" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftuliomoreira77%2Frust_hardware_monitor", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftuliomoreira77%2Frust_hardware_monitor'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2dc202923ecc51ae0f895258e9c8782e995aff8f [INFO] checking tuliomoreira77/rust_hardware_monitor against try#9b8307bcb9d1de8ffc7e1c81c48efffdb24ee840 for pr-149518 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftuliomoreira77%2Frust_hardware_monitor" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/tuliomoreira77/rust_hardware_monitor [INFO] finished tweaking git repo https://github.com/tuliomoreira77/rust_hardware_monitor [INFO] tweaked toml for git repo https://github.com/tuliomoreira77/rust_hardware_monitor written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tuliomoreira77/rust_hardware_monitor on toolchain 9b8307bcb9d1de8ffc7e1c81c48efffdb24ee840 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9b8307bcb9d1de8ffc7e1c81c48efffdb24ee840" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/tuliomoreira77/rust_hardware_monitor 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" "+9b8307bcb9d1de8ffc7e1c81c48efffdb24ee840" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pretty-bytes v0.2.2 [INFO] [stderr] Downloaded wrapcenum-derive v0.4.0 [INFO] [stderr] Downloaded err-derive v0.1.5 [INFO] [stderr] Downloaded ctrlc v3.4.1 [INFO] [stderr] Downloaded windows-service v0.2.0 [INFO] [stderr] Downloaded widestring v0.3.0 [INFO] [stderr] Downloaded nvml-wrapper v0.9.0 [INFO] [stderr] Downloaded systemstat v0.2.3 [INFO] [stderr] Downloaded nvml-wrapper-sys v0.7.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+9b8307bcb9d1de8ffc7e1c81c48efffdb24ee840" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1554d0acf09179b0f2fd1e1b4a7597236e2186a6602b57940c2078b5f5f36bcd [INFO] running `Command { std: "docker" "start" "-a" "1554d0acf09179b0f2fd1e1b4a7597236e2186a6602b57940c2078b5f5f36bcd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1554d0acf09179b0f2fd1e1b4a7597236e2186a6602b57940c2078b5f5f36bcd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1554d0acf09179b0f2fd1e1b4a7597236e2186a6602b57940c2078b5f5f36bcd", kill_on_drop: false }` [INFO] [stdout] 1554d0acf09179b0f2fd1e1b4a7597236e2186a6602b57940c2078b5f5f36bcd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+9b8307bcb9d1de8ffc7e1c81c48efffdb24ee840" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fed172579bcd507276e63735005f0a455da99211238d14a88fa74b68fa8bb8c4 [INFO] running `Command { std: "docker" "start" "-a" "fed172579bcd507276e63735005f0a455da99211238d14a88fa74b68fa8bb8c4", kill_on_drop: false }` [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Compiling err-derive v0.1.5 [INFO] [stderr] Checking deranged v0.3.10 [INFO] [stderr] Checking libloading v0.7.4 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Checking nvml-wrapper-sys v0.7.0 [INFO] [stderr] Checking nix v0.27.1 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking bytesize v1.3.0 [INFO] [stderr] Checking pretty-bytes v0.2.2 [INFO] [stderr] Checking console v0.15.7 [INFO] [stderr] Checking time v0.3.30 [INFO] [stderr] Checking windows-service v0.2.0 [INFO] [stderr] Checking ctrlc v3.4.1 [INFO] [stderr] Checking systemstat v0.2.3 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Compiling synstructure v0.10.2 [INFO] [stderr] Checking thiserror v1.0.50 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Compiling wrapcenum-derive v0.4.0 [INFO] [stderr] Checking nvml-wrapper v0.9.0 [INFO] [stderr] Checking gpu_monitor v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: couldn't read `src/win_ring0_c/../winRing0x64.sys`: No such file or directory (os error 2) [INFO] [stdout] --> src/win_ring0_c/winRing0.rs:13:26 [INFO] [stdout] | [INFO] [stdout] 13 | let driver_x64 = include_bytes!("../winRing0x64.sys"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/win_kernel_driver_c/utils.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | 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/9b8307bcb9d1de8ffc7e1c81c48efffdb24ee840/library/std/src/os/mod.rs:56:4 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/9b8307bcb9d1de8ffc7e1c81c48efffdb24ee840/library/std/src/os/mod.rs:120:9 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `windows_service::service`, `windows_service::service_manager` [INFO] [stdout] --> src/win_kernel_driver_c/driver.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | service::{ServiceAccess, ServiceErrorControl, ServiceInfo, ServiceStartType, ServiceType, Service, ServiceStatus, ServiceState}, [INFO] [stdout] | ^^^^^^^ could not find `service` in `windows_service` [INFO] [stdout] 13 | service_manager::{ServiceManager, ServiceManagerAccess} [INFO] [stdout] | ^^^^^^^^^^^^^^^ could not find `service_manager` in `windows_service` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/win_kernel_driver_c/driver.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | use winapi::um::winnt; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/win_kernel_driver_c/driver.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | use winapi::um::fileapi; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/win_kernel_driver_c/driver.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | use winapi::shared::minwindef::DWORD; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/win_kernel_driver_c/driver.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | use winapi::um::handleapi; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/win_kernel_driver_c/driver.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | use winapi::um::ioapiset; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/win_kernel_driver_c/driver.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | use winapi::um::errhandlingapi; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/win_ring0_c/winRing0.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::shared::minwindef::DWORD; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/win_kernel_driver_c/driver.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | use winapi::um::winioctl; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `temporary_cstring_as_ptr` has been renamed to `dangling_pointers_from_temporaries` [INFO] [stdout] --> src/win_kernel_driver_c/mod.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | #[warn(temporary_cstring_as_ptr)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `dangling_pointers_from_temporaries` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ioctl::IOCTL` [INFO] [stdout] --> src/win_ring0_c/mod.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | pub use ioctl::IOCTL; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ioctl::DEVICE_TYPE` [INFO] [stdout] --> src/win_ring0_c/mod.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | pub use ioctl::DEVICE_TYPE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `io` [INFO] [stdout] --> src/main.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | use std::{io, thread}; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mutex` [INFO] [stdout] --> src/main.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 14 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/win_ring0_c/../winRing0x64.sys`: No such file or directory (os error 2) [INFO] [stdout] --> src/win_ring0_c/winRing0.rs:13:26 [INFO] [stdout] | [INFO] [stdout] 13 | let driver_x64 = include_bytes!("../winRing0x64.sys"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/win_kernel_driver_c/utils.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | 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/9b8307bcb9d1de8ffc7e1c81c48efffdb24ee840/library/std/src/os/mod.rs:56:4 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/9b8307bcb9d1de8ffc7e1c81c48efffdb24ee840/library/std/src/os/mod.rs:120:9 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `windows_service::service`, `windows_service::service_manager` [INFO] [stdout] --> src/win_kernel_driver_c/driver.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | service::{ServiceAccess, ServiceErrorControl, ServiceInfo, ServiceStartType, ServiceType, Service, ServiceStatus, ServiceState}, [INFO] [stdout] | ^^^^^^^ could not find `service` in `windows_service` [INFO] [stdout] 13 | service_manager::{ServiceManager, ServiceManagerAccess} [INFO] [stdout] | ^^^^^^^^^^^^^^^ could not find `service_manager` in `windows_service` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/win_kernel_driver_c/driver.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | use winapi::um::winnt; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/win_kernel_driver_c/driver.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | use winapi::um::fileapi; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/win_kernel_driver_c/driver.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | use winapi::shared::minwindef::DWORD; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/win_kernel_driver_c/driver.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | use winapi::um::handleapi; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/win_kernel_driver_c/driver.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | use winapi::um::ioapiset; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/win_kernel_driver_c/driver.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | use winapi::um::errhandlingapi; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/win_ring0_c/winRing0.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::shared::minwindef::DWORD; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/win_kernel_driver_c/driver.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | use winapi::um::winioctl; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `temporary_cstring_as_ptr` has been renamed to `dangling_pointers_from_temporaries` [INFO] [stdout] --> src/win_kernel_driver_c/mod.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | #[warn(temporary_cstring_as_ptr)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `dangling_pointers_from_temporaries` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ioctl::IOCTL` [INFO] [stdout] --> src/win_ring0_c/mod.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | pub use ioctl::IOCTL; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ioctl::DEVICE_TYPE` [INFO] [stdout] --> src/win_ring0_c/mod.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | pub use ioctl::DEVICE_TYPE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `io` [INFO] [stdout] --> src/main.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | use std::{io, thread}; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mutex` [INFO] [stdout] --> src/main.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 14 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/win_kernel_driver_c/utils.rs:6:42 [INFO] [stdout] | [INFO] [stdout] 6 | let wide: Vec = OsStr::new(msg).encode_wide().chain(once(0)).collect(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/win_kernel_driver_c/driver.rs:229:25 [INFO] [stdout] | [INFO] [stdout] 229 | let r = svc.start(&[OsString::from("")]); [INFO] [stdout] | ^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/win_kernel_driver_c/utils.rs:6:42 [INFO] [stdout] | [INFO] [stdout] 6 | let wide: Vec = OsStr::new(msg).encode_wide().chain(once(0)).collect(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/win_kernel_driver_c/driver.rs:229:25 [INFO] [stdout] | [INFO] [stdout] 229 | let r = svc.start(&[OsString::from("")]); [INFO] [stdout] | ^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `gpu_monitor` (bin "gpu_monitor" test) due to 13 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `gpu_monitor` (bin "gpu_monitor") due to 13 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "fed172579bcd507276e63735005f0a455da99211238d14a88fa74b68fa8bb8c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fed172579bcd507276e63735005f0a455da99211238d14a88fa74b68fa8bb8c4", kill_on_drop: false }` [INFO] [stdout] fed172579bcd507276e63735005f0a455da99211238d14a88fa74b68fa8bb8c4