[INFO] cloning repository https://github.com/slick1015/biosdump [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/slick1015/biosdump" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fslick1015%2Fbiosdump", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fslick1015%2Fbiosdump'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1359afb6abcb309ce20120d809cb58c50a226ad5 [INFO] checking slick1015/biosdump against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fslick1015%2Fbiosdump" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/slick1015/biosdump on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/slick1015/biosdump [INFO] finished tweaking git repo https://github.com/slick1015/biosdump [INFO] tweaked toml for git repo https://github.com/slick1015/biosdump written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/slick1015/biosdump already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b2a3993ea91adaada5d9840736d48f3da776c95cc9041a81d7cf3308a106c933 [INFO] running `Command { std: "docker" "start" "-a" "b2a3993ea91adaada5d9840736d48f3da776c95cc9041a81d7cf3308a106c933", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b2a3993ea91adaada5d9840736d48f3da776c95cc9041a81d7cf3308a106c933", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2a3993ea91adaada5d9840736d48f3da776c95cc9041a81d7cf3308a106c933", kill_on_drop: false }` [INFO] [stdout] b2a3993ea91adaada5d9840736d48f3da776c95cc9041a81d7cf3308a106c933 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b7092aecad2399adfcda05ef17959648c35422d8692f96c8c0141becfdbb7e46 [INFO] running `Command { std: "docker" "start" "-a" "b7092aecad2399adfcda05ef17959648c35422d8692f96c8c0141becfdbb7e46", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking biosdump v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/service.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use winapi::um::winsvc::{OpenSCManagerA, SC_MANAGER_CREATE_SERVICE, CreateServiceA, SERVICE_START, SERVICE_STOP, OpenServiceA, CloseServi... [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `_core` in `winapi` [INFO] [stdout] --> src/service.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::_core::ptr::{null, null_mut}; [INFO] [stdout] | ^^^^^ could not find `_core` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/service.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::um::winnt::{DELETE, SERVICE_KERNEL_DRIVER, SERVICE_DEMAND_START, SERVICE_ERROR_IGNORE}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/win_ring.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::um::fileapi::{CreateFileA, OPEN_EXISTING}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `_core` in `winapi` [INFO] [stdout] --> src/win_ring.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::_core::ptr::null_mut; [INFO] [stdout] | ^^^^^ could not find `_core` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/win_ring.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::um::winnt::{GENERIC_READ, GENERIC_WRITE, HANDLE}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/win_ring.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::um::handleapi::CloseHandle; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/win_ring.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::um::ioapiset::DeviceIoControl; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/service.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use winapi::um::winsvc::{OpenSCManagerA, SC_MANAGER_CREATE_SERVICE, CreateServiceA, SERVICE_START, SERVICE_STOP, OpenServiceA, CloseServi... [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `_core` in `winapi` [INFO] [stdout] --> src/service.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::_core::ptr::{null, null_mut}; [INFO] [stdout] | ^^^^^ could not find `_core` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/service.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::um::winnt::{DELETE, SERVICE_KERNEL_DRIVER, SERVICE_DEMAND_START, SERVICE_ERROR_IGNORE}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/win_ring.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::um::fileapi::{CreateFileA, OPEN_EXISTING}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `_core` in `winapi` [INFO] [stdout] --> src/win_ring.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::_core::ptr::null_mut; [INFO] [stdout] | ^^^^^ could not find `_core` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/win_ring.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::um::winnt::{GENERIC_READ, GENERIC_WRITE, HANDLE}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/win_ring.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::um::handleapi::CloseHandle; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SC_HANDLE` in this scope [INFO] [stdout] --> src/service.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | sc_manager: SC_HANDLE, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SC_HANDLE` in this scope [INFO] [stdout] --> src/service.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | handle: SC_HANDLE, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `OpenSCManagerA` in this scope [INFO] [stdout] --> src/service.rs:19:30 [INFO] [stdout] | [INFO] [stdout] 19 | let sc_manager = OpenSCManagerA(null(), null(), SC_MANAGER_CREATE_SERVICE); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `null` in this scope [INFO] [stdout] --> src/service.rs:19:45 [INFO] [stdout] | [INFO] [stdout] 19 | let sc_manager = OpenSCManagerA(null(), null(), SC_MANAGER_CREATE_SERVICE); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::ptr::null; [INFO] [stdout] | [INFO] [stdout] 1 | use std::ptr::null; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `null` in this scope [INFO] [stdout] --> src/service.rs:19:53 [INFO] [stdout] | [INFO] [stdout] 19 | let sc_manager = OpenSCManagerA(null(), null(), SC_MANAGER_CREATE_SERVICE); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::ptr::null; [INFO] [stdout] | [INFO] [stdout] 1 | use std::ptr::null; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SC_MANAGER_CREATE_SERVICE` in this scope [INFO] [stdout] --> src/service.rs:19:61 [INFO] [stdout] | [INFO] [stdout] 19 | let sc_manager = OpenSCManagerA(null(), null(), SC_MANAGER_CREATE_SERVICE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateServiceA` in this scope [INFO] [stdout] --> src/service.rs:20:30 [INFO] [stdout] | [INFO] [stdout] 20 | let mut handle = CreateServiceA( [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SERVICE_START` in this scope [INFO] [stdout] --> src/service.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 24 | SERVICE_START | DELETE | SERVICE_STOP, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DELETE` in this scope [INFO] [stdout] --> src/service.rs:24:33 [INFO] [stdout] | [INFO] [stdout] 24 | SERVICE_START | DELETE | SERVICE_STOP, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SERVICE_STOP` in this scope [INFO] [stdout] --> src/service.rs:24:42 [INFO] [stdout] | [INFO] [stdout] 24 | SERVICE_START | DELETE | SERVICE_STOP, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SERVICE_KERNEL_DRIVER` in this scope [INFO] [stdout] --> src/service.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | SERVICE_KERNEL_DRIVER, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SERVICE_DEMAND_START` in this scope [INFO] [stdout] --> src/service.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | SERVICE_DEMAND_START, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SERVICE_ERROR_IGNORE` in this scope [INFO] [stdout] --> src/service.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | SERVICE_ERROR_IGNORE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `null` in this scope [INFO] [stdout] --> src/service.rs:29:17 [INFO] [stdout] | [INFO] [stdout] 29 | null(), null_mut(), null(), null(), null() [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::ptr::null; [INFO] [stdout] | [INFO] [stdout] 1 | use std::ptr::null; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `null_mut` in this scope [INFO] [stdout] --> src/service.rs:29:25 [INFO] [stdout] | [INFO] [stdout] 29 | null(), null_mut(), null(), null(), null() [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::ptr::null_mut; [INFO] [stdout] | [INFO] [stdout] 1 | use std::ptr::null_mut; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `null` in this scope [INFO] [stdout] --> src/service.rs:29:37 [INFO] [stdout] | [INFO] [stdout] 29 | null(), null_mut(), null(), null(), null() [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::ptr::null; [INFO] [stdout] | [INFO] [stdout] 1 | use std::ptr::null; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `null` in this scope [INFO] [stdout] --> src/service.rs:29:45 [INFO] [stdout] | [INFO] [stdout] 29 | null(), null_mut(), null(), null(), null() [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::ptr::null; [INFO] [stdout] | [INFO] [stdout] 1 | use std::ptr::null; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `null` in this scope [INFO] [stdout] --> src/service.rs:29:53 [INFO] [stdout] | [INFO] [stdout] 29 | null(), null_mut(), null(), null(), null() [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::ptr::null; [INFO] [stdout] | [INFO] [stdout] 1 | use std::ptr::null; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `null_mut` in this scope [INFO] [stdout] --> src/service.rs:32:26 [INFO] [stdout] | [INFO] [stdout] 32 | if handle == null_mut() { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::ptr::null_mut; [INFO] [stdout] | [INFO] [stdout] 1 | use std::ptr::null_mut; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `OpenServiceA` in this scope [INFO] [stdout] --> src/service.rs:33:26 [INFO] [stdout] | [INFO] [stdout] 33 | handle = OpenServiceA( [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SERVICE_START` in this scope [INFO] [stdout] --> src/service.rs:36:21 [INFO] [stdout] | [INFO] [stdout] 36 | SERVICE_START | DELETE | SERVICE_STOP, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DELETE` in this scope [INFO] [stdout] --> src/service.rs:36:37 [INFO] [stdout] | [INFO] [stdout] 36 | SERVICE_START | DELETE | SERVICE_STOP, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SERVICE_STOP` in this scope [INFO] [stdout] --> src/service.rs:36:46 [INFO] [stdout] | [INFO] [stdout] 36 | SERVICE_START | DELETE | SERVICE_STOP, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `StartServiceA` in this scope [INFO] [stdout] --> src/service.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | StartServiceA(handle, 0, null_mut()); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `null_mut` in this scope [INFO] [stdout] --> src/service.rs:40:38 [INFO] [stdout] | [INFO] [stdout] 40 | StartServiceA(handle, 0, null_mut()); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::ptr::null_mut; [INFO] [stdout] | [INFO] [stdout] 1 | use std::ptr::null_mut; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SERVICE_STATUS` in this scope [INFO] [stdout] --> src/service.rs:53:21 [INFO] [stdout] | [INFO] [stdout] 53 | let ss: SERVICE_STATUS = mem::MaybeUninit::uninit().assume_init(); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ControlService` in this scope [INFO] [stdout] --> src/service.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | ControlService(self.handle, SERVICE_CONTROL_STOP, &ss as *const _ as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SERVICE_CONTROL_STOP` in this scope [INFO] [stdout] --> src/service.rs:54:41 [INFO] [stdout] | [INFO] [stdout] 54 | ControlService(self.handle, SERVICE_CONTROL_STOP, &ss as *const _ as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DeleteService` in this scope [INFO] [stdout] --> src/service.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | DeleteService(self.handle); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseServiceHandle` in this scope [INFO] [stdout] --> src/service.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | CloseServiceHandle(self.handle); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseServiceHandle` in this scope [INFO] [stdout] --> src/service.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | CloseServiceHandle(self.sc_manager); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/win_ring.rs:43:20 [INFO] [stdout] | [INFO] [stdout] 43 | device_handle: HANDLE, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateFileA` in this scope [INFO] [stdout] --> src/win_ring.rs:55:33 [INFO] [stdout] | [INFO] [stdout] 55 | let device_handle = CreateFileA( [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GENERIC_READ` in this scope [INFO] [stdout] --> src/win_ring.rs:57:17 [INFO] [stdout] | [INFO] [stdout] 57 | GENERIC_READ | GENERIC_WRITE, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GENERIC_WRITE` in this scope [INFO] [stdout] --> src/win_ring.rs:57:32 [INFO] [stdout] | [INFO] [stdout] 57 | GENERIC_READ | GENERIC_WRITE, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `null_mut` in this scope [INFO] [stdout] --> src/win_ring.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | null_mut(), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::ptr::null_mut; [INFO] [stdout] | [INFO] [stdout] 1 | use std::ptr::null_mut; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `OPEN_EXISTING` in this scope [INFO] [stdout] --> src/win_ring.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | OPEN_EXISTING, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `null_mut` in this scope [INFO] [stdout] --> src/win_ring.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 62 | null_mut() [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::ptr::null_mut; [INFO] [stdout] | [INFO] [stdout] 1 | use std::ptr::null_mut; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DeviceIoControl` in this scope [INFO] [stdout] --> src/win_ring.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | DeviceIoControl( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `null_mut` in this scope [INFO] [stdout] --> src/win_ring.rs:87:52 [INFO] [stdout] | [INFO] [stdout] 87 | &bytes_read as *const _ as *mut _, null_mut() [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::ptr::null_mut; [INFO] [stdout] | [INFO] [stdout] 1 | use std::ptr::null_mut; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DeviceIoControl` in this scope [INFO] [stdout] --> src/win_ring.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | DeviceIoControl( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `null_mut` in this scope [INFO] [stdout] --> src/win_ring.rs:107:17 [INFO] [stdout] | [INFO] [stdout] 107 | null_mut(), 0, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::ptr::null_mut; [INFO] [stdout] | [INFO] [stdout] 1 | use std::ptr::null_mut; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `null_mut` in this scope [INFO] [stdout] --> src/win_ring.rs:108:52 [INFO] [stdout] | [INFO] [stdout] 108 | &bytes_read as *const _ as *mut _, null_mut() [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::ptr::null_mut; [INFO] [stdout] | [INFO] [stdout] 1 | use std::ptr::null_mut; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DeviceIoControl` in this scope [INFO] [stdout] --> src/win_ring.rs:121:13 [INFO] [stdout] | [INFO] [stdout] 121 | DeviceIoControl( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `null_mut` in this scope [INFO] [stdout] --> src/win_ring.rs:126:52 [INFO] [stdout] | [INFO] [stdout] 126 | &bytes_read as *const _ as *mut _, null_mut() [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::ptr::null_mut; [INFO] [stdout] | [INFO] [stdout] 1 | use std::ptr::null_mut; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/win_ring.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::um::ioapiset::DeviceIoControl; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DeviceIoControl` in this scope [INFO] [stdout] --> src/win_ring.rs:140:13 [INFO] [stdout] | [INFO] [stdout] 140 | DeviceIoControl( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `null_mut` in this scope [INFO] [stdout] --> src/win_ring.rs:144:17 [INFO] [stdout] | [INFO] [stdout] 144 | null_mut(), 8, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::ptr::null_mut; [INFO] [stdout] | [INFO] [stdout] 1 | use std::ptr::null_mut; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `null_mut` in this scope [INFO] [stdout] --> src/win_ring.rs:145:52 [INFO] [stdout] | [INFO] [stdout] 145 | &bytes_read as *const _ as *mut _, null_mut() [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::ptr::null_mut; [INFO] [stdout] | [INFO] [stdout] 1 | use std::ptr::null_mut; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DeviceIoControl` in this scope [INFO] [stdout] --> src/win_ring.rs:154:9 [INFO] [stdout] | [INFO] [stdout] 154 | DeviceIoControl( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `null_mut` in this scope [INFO] [stdout] --> src/win_ring.rs:159:48 [INFO] [stdout] | [INFO] [stdout] 159 | &bytes_read as *const _ as *mut _, null_mut() [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::ptr::null_mut; [INFO] [stdout] | [INFO] [stdout] 1 | use std::ptr::null_mut; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DeviceIoControl` in this scope [INFO] [stdout] --> src/win_ring.rs:183:9 [INFO] [stdout] | [INFO] [stdout] 183 | DeviceIoControl( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `null_mut` in this scope [INFO] [stdout] --> src/win_ring.rs:187:13 [INFO] [stdout] | [INFO] [stdout] 187 | null_mut(), 0, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::ptr::null_mut; [INFO] [stdout] | [INFO] [stdout] 1 | use std::ptr::null_mut; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `null_mut` in this scope [INFO] [stdout] --> src/win_ring.rs:188:48 [INFO] [stdout] | [INFO] [stdout] 188 | &bytes_read as *const _ as *mut _, null_mut() [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::ptr::null_mut; [INFO] [stdout] | [INFO] [stdout] 1 | use std::ptr::null_mut; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope [INFO] [stdout] --> src/win_ring.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 208 | CloseHandle(self.device_handle); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SC_HANDLE` in this scope [INFO] [stdout] --> src/service.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | sc_manager: SC_HANDLE, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SC_HANDLE` in this scope [INFO] [stdout] --> src/service.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | handle: SC_HANDLE, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `OpenSCManagerA` in this scope [INFO] [stdout] --> src/service.rs:19:30 [INFO] [stdout] | [INFO] [stdout] 19 | let sc_manager = OpenSCManagerA(null(), null(), SC_MANAGER_CREATE_SERVICE); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `null` in this scope [INFO] [stdout] --> src/service.rs:19:45 [INFO] [stdout] | [INFO] [stdout] 19 | let sc_manager = OpenSCManagerA(null(), null(), SC_MANAGER_CREATE_SERVICE); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::ptr::null; [INFO] [stdout] | [INFO] [stdout] 1 | use std::ptr::null; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `null` in this scope [INFO] [stdout] --> src/service.rs:19:53 [INFO] [stdout] | [INFO] [stdout] 19 | let sc_manager = OpenSCManagerA(null(), null(), SC_MANAGER_CREATE_SERVICE); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::ptr::null; [INFO] [stdout] | [INFO] [stdout] 1 | use std::ptr::null; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SC_MANAGER_CREATE_SERVICE` in this scope [INFO] [stdout] --> src/service.rs:19:61 [INFO] [stdout] | [INFO] [stdout] 19 | let sc_manager = OpenSCManagerA(null(), null(), SC_MANAGER_CREATE_SERVICE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateServiceA` in this scope [INFO] [stdout] --> src/service.rs:20:30 [INFO] [stdout] | [INFO] [stdout] 20 | let mut handle = CreateServiceA( [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SERVICE_START` in this scope [INFO] [stdout] --> src/service.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 24 | SERVICE_START | DELETE | SERVICE_STOP, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DELETE` in this scope [INFO] [stdout] --> src/service.rs:24:33 [INFO] [stdout] | [INFO] [stdout] 24 | SERVICE_START | DELETE | SERVICE_STOP, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SERVICE_STOP` in this scope [INFO] [stdout] --> src/service.rs:24:42 [INFO] [stdout] | [INFO] [stdout] 24 | SERVICE_START | DELETE | SERVICE_STOP, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SERVICE_KERNEL_DRIVER` in this scope [INFO] [stdout] --> src/service.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | SERVICE_KERNEL_DRIVER, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SERVICE_DEMAND_START` in this scope [INFO] [stdout] --> src/service.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | SERVICE_DEMAND_START, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SERVICE_ERROR_IGNORE` in this scope [INFO] [stdout] --> src/service.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | SERVICE_ERROR_IGNORE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `null` in this scope [INFO] [stdout] --> src/service.rs:29:17 [INFO] [stdout] | [INFO] [stdout] 29 | null(), null_mut(), null(), null(), null() [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::ptr::null; [INFO] [stdout] | [INFO] [stdout] 1 | use std::ptr::null; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `null_mut` in this scope [INFO] [stdout] --> src/service.rs:29:25 [INFO] [stdout] | [INFO] [stdout] 29 | null(), null_mut(), null(), null(), null() [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::ptr::null_mut; [INFO] [stdout] | [INFO] [stdout] 1 | use std::ptr::null_mut; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `null` in this scope [INFO] [stdout] --> src/service.rs:29:37 [INFO] [stdout] | [INFO] [stdout] 29 | null(), null_mut(), null(), null(), null() [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::ptr::null; [INFO] [stdout] | [INFO] [stdout] 1 | use std::ptr::null; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `null` in this scope [INFO] [stdout] --> src/service.rs:29:45 [INFO] [stdout] | [INFO] [stdout] 29 | null(), null_mut(), null(), null(), null() [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::ptr::null; [INFO] [stdout] | [INFO] [stdout] 1 | use std::ptr::null; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `null` in this scope [INFO] [stdout] --> src/service.rs:29:53 [INFO] [stdout] | [INFO] [stdout] 29 | null(), null_mut(), null(), null(), null() [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::ptr::null; [INFO] [stdout] | [INFO] [stdout] 1 | use std::ptr::null; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `null_mut` in this scope [INFO] [stdout] --> src/service.rs:32:26 [INFO] [stdout] | [INFO] [stdout] 32 | if handle == null_mut() { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::ptr::null_mut; [INFO] [stdout] | [INFO] [stdout] 1 | use std::ptr::null_mut; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `OpenServiceA` in this scope [INFO] [stdout] --> src/service.rs:33:26 [INFO] [stdout] | [INFO] [stdout] 33 | handle = OpenServiceA( [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SERVICE_START` in this scope [INFO] [stdout] --> src/service.rs:36:21 [INFO] [stdout] | [INFO] [stdout] 36 | SERVICE_START | DELETE | SERVICE_STOP, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DELETE` in this scope [INFO] [stdout] --> src/service.rs:36:37 [INFO] [stdout] | [INFO] [stdout] 36 | SERVICE_START | DELETE | SERVICE_STOP, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SERVICE_STOP` in this scope [INFO] [stdout] --> src/service.rs:36:46 [INFO] [stdout] | [INFO] [stdout] 36 | SERVICE_START | DELETE | SERVICE_STOP, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 62 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `StartServiceA` in this scope [INFO] [stdout] --> src/service.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | StartServiceA(handle, 0, null_mut()); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `null_mut` in this scope [INFO] [stdout] --> src/service.rs:40:38 [INFO] [stdout] | [INFO] [stdout] 40 | StartServiceA(handle, 0, null_mut()); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::ptr::null_mut; [INFO] [stdout] | [INFO] [stdout] 1 | use std::ptr::null_mut; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SERVICE_STATUS` in this scope [INFO] [stdout] --> src/service.rs:53:21 [INFO] [stdout] | [INFO] [stdout] 53 | let ss: SERVICE_STATUS = mem::MaybeUninit::uninit().assume_init(); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ControlService` in this scope [INFO] [stdout] --> src/service.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | ControlService(self.handle, SERVICE_CONTROL_STOP, &ss as *const _ as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SERVICE_CONTROL_STOP` in this scope [INFO] [stdout] --> src/service.rs:54:41 [INFO] [stdout] | [INFO] [stdout] 54 | ControlService(self.handle, SERVICE_CONTROL_STOP, &ss as *const _ as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DeleteService` in this scope [INFO] [stdout] --> src/service.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | DeleteService(self.handle); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseServiceHandle` in this scope [INFO] [stdout] --> src/service.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | CloseServiceHandle(self.handle); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseServiceHandle` in this scope [INFO] [stdout] --> src/service.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | CloseServiceHandle(self.sc_manager); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/win_ring.rs:43:20 [INFO] [stdout] | [INFO] [stdout] 43 | device_handle: HANDLE, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateFileA` in this scope [INFO] [stdout] --> src/win_ring.rs:55:33 [INFO] [stdout] | [INFO] [stdout] 55 | let device_handle = CreateFileA( [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GENERIC_READ` in this scope [INFO] [stdout] --> src/win_ring.rs:57:17 [INFO] [stdout] | [INFO] [stdout] 57 | GENERIC_READ | GENERIC_WRITE, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GENERIC_WRITE` in this scope [INFO] [stdout] --> src/win_ring.rs:57:32 [INFO] [stdout] | [INFO] [stdout] 57 | GENERIC_READ | GENERIC_WRITE, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `null_mut` in this scope [INFO] [stdout] --> src/win_ring.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | null_mut(), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::ptr::null_mut; [INFO] [stdout] | [INFO] [stdout] 1 | use std::ptr::null_mut; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `OPEN_EXISTING` in this scope [INFO] [stdout] --> src/win_ring.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | OPEN_EXISTING, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `null_mut` in this scope [INFO] [stdout] --> src/win_ring.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 62 | null_mut() [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::ptr::null_mut; [INFO] [stdout] | [INFO] [stdout] 1 | use std::ptr::null_mut; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DeviceIoControl` in this scope [INFO] [stdout] --> src/win_ring.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | DeviceIoControl( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `null_mut` in this scope [INFO] [stdout] --> src/win_ring.rs:87:52 [INFO] [stdout] | [INFO] [stdout] 87 | &bytes_read as *const _ as *mut _, null_mut() [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::ptr::null_mut; [INFO] [stdout] | [INFO] [stdout] 1 | use std::ptr::null_mut; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DeviceIoControl` in this scope [INFO] [stdout] --> src/win_ring.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | DeviceIoControl( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `null_mut` in this scope [INFO] [stdout] --> src/win_ring.rs:107:17 [INFO] [stdout] | [INFO] [stdout] 107 | null_mut(), 0, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::ptr::null_mut; [INFO] [stdout] | [INFO] [stdout] 1 | use std::ptr::null_mut; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `null_mut` in this scope [INFO] [stdout] --> src/win_ring.rs:108:52 [INFO] [stdout] | [INFO] [stdout] 108 | &bytes_read as *const _ as *mut _, null_mut() [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::ptr::null_mut; [INFO] [stdout] | [INFO] [stdout] 1 | use std::ptr::null_mut; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DeviceIoControl` in this scope [INFO] [stdout] --> src/win_ring.rs:121:13 [INFO] [stdout] | [INFO] [stdout] 121 | DeviceIoControl( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `null_mut` in this scope [INFO] [stdout] --> src/win_ring.rs:126:52 [INFO] [stdout] | [INFO] [stdout] 126 | &bytes_read as *const _ as *mut _, null_mut() [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::ptr::null_mut; [INFO] [stdout] | [INFO] [stdout] 1 | use std::ptr::null_mut; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DeviceIoControl` in this scope [INFO] [stdout] --> src/win_ring.rs:140:13 [INFO] [stdout] | [INFO] [stdout] 140 | DeviceIoControl( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `null_mut` in this scope [INFO] [stdout] --> src/win_ring.rs:144:17 [INFO] [stdout] | [INFO] [stdout] 144 | null_mut(), 8, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::ptr::null_mut; [INFO] [stdout] | [INFO] [stdout] 1 | use std::ptr::null_mut; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `null_mut` in this scope [INFO] [stdout] --> src/win_ring.rs:145:52 [INFO] [stdout] | [INFO] [stdout] 145 | &bytes_read as *const _ as *mut _, null_mut() [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::ptr::null_mut; [INFO] [stdout] | [INFO] [stdout] 1 | use std::ptr::null_mut; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DeviceIoControl` in this scope [INFO] [stdout] --> src/win_ring.rs:154:9 [INFO] [stdout] | [INFO] [stdout] 154 | DeviceIoControl( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `null_mut` in this scope [INFO] [stdout] --> src/win_ring.rs:159:48 [INFO] [stdout] | [INFO] [stdout] 159 | &bytes_read as *const _ as *mut _, null_mut() [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::ptr::null_mut; [INFO] [stdout] | [INFO] [stdout] 1 | use std::ptr::null_mut; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DeviceIoControl` in this scope [INFO] [stdout] --> src/win_ring.rs:183:9 [INFO] [stdout] | [INFO] [stdout] 183 | DeviceIoControl( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `null_mut` in this scope [INFO] [stdout] --> src/win_ring.rs:187:13 [INFO] [stdout] | [INFO] [stdout] 187 | null_mut(), 0, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::ptr::null_mut; [INFO] [stdout] | [INFO] [stdout] 1 | use std::ptr::null_mut; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `null_mut` in this scope [INFO] [stdout] --> src/win_ring.rs:188:48 [INFO] [stdout] | [INFO] [stdout] 188 | &bytes_read as *const _ as *mut _, null_mut() [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::ptr::null_mut; [INFO] [stdout] | [INFO] [stdout] 1 | use std::ptr::null_mut; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope [INFO] [stdout] --> src/win_ring.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 208 | CloseHandle(self.device_handle); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `biosdump` due to 63 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 62 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "b7092aecad2399adfcda05ef17959648c35422d8692f96c8c0141becfdbb7e46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7092aecad2399adfcda05ef17959648c35422d8692f96c8c0141becfdbb7e46", kill_on_drop: false }` [INFO] [stdout] b7092aecad2399adfcda05ef17959648c35422d8692f96c8c0141becfdbb7e46