[INFO] fetching crate cross-platform-service 0.1.0... [INFO] testing cross-platform-service-0.1.0 against 1.60.0 for beta-1.61-1 [INFO] extracting crate cross-platform-service 0.1.0 into /workspace/builds/worker-16/source [INFO] validating manifest of crates.io crate cross-platform-service 0.1.0 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate cross-platform-service 0.1.0 [INFO] finished tweaking crates.io crate cross-platform-service 0.1.0 [INFO] tweaked toml for crates.io crate cross-platform-service 0.1.0 written to /workspace/builds/worker-16/source/Cargo.toml [INFO] crate crates.io crate cross-platform-service 0.1.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded windows_macros v0.13.0 [INFO] [stderr] Downloaded const-sha1 v0.2.0 [INFO] [stderr] Downloaded signal-hook v0.3.9 [INFO] [stderr] Downloaded dbus v0.9.3 [INFO] [stderr] Downloaded windows v0.13.0 [INFO] [stderr] Downloaded windows_gen v0.13.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a8f4669cb898f8b3d523b3a07ad190d6c9053b3cd913e9fb4a37aff37b2ea333 [INFO] running `Command { std: "docker" "start" "-a" "a8f4669cb898f8b3d523b3a07ad190d6c9053b3cd913e9fb4a37aff37b2ea333", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a8f4669cb898f8b3d523b3a07ad190d6c9053b3cd913e9fb4a37aff37b2ea333", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8f4669cb898f8b3d523b3a07ad190d6c9053b3cd913e9fb4a37aff37b2ea333", kill_on_drop: false }` [INFO] [stdout] a8f4669cb898f8b3d523b3a07ad190d6c9053b3cd913e9fb4a37aff37b2ea333 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 59214d8cacf9eab995124f275f8bc1774ccb07538b37c6a74e2012e00f4ccc08 [INFO] running `Command { std: "docker" "start" "-a" "59214d8cacf9eab995124f275f8bc1774ccb07538b37c6a74e2012e00f4ccc08", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling signal-hook v0.3.9 [INFO] [stderr] Compiling cross-platform-service v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling libdbus-sys v0.2.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling dbus v0.9.3 [INFO] [stdout] warning: unused import: `std::fs::OpenOptions` [INFO] [stdout] --> src/service.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fs::OpenOptions; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/service.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `service_name` [INFO] [stdout] --> src/service.rs:33:22 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn start_service(service_name: &str, service_main: ServiceMainFunc) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_service_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 8.57s [INFO] running `Command { std: "docker" "inspect" "59214d8cacf9eab995124f275f8bc1774ccb07538b37c6a74e2012e00f4ccc08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59214d8cacf9eab995124f275f8bc1774ccb07538b37c6a74e2012e00f4ccc08", kill_on_drop: false }` [INFO] [stdout] 59214d8cacf9eab995124f275f8bc1774ccb07538b37c6a74e2012e00f4ccc08 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7e43f413b996ff667717bc0f642d1ea218fc4d4a4d86290afb82ad10d94200ea [INFO] running `Command { std: "docker" "start" "-a" "7e43f413b996ff667717bc0f642d1ea218fc4d4a4d86290afb82ad10d94200ea", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling cross-platform-service v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fs::OpenOptions` [INFO] [stdout] --> src/service.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fs::OpenOptions; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/service.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `service_name` [INFO] [stdout] --> src/service.rs:33:22 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn start_service(service_name: &str, service_main: ServiceMainFunc) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_service_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `cross_platform_service` [INFO] [stdout] --> examples/win_stop_service.rs:1:29 [INFO] [stdout] | [INFO] [stdout] 1 | use cross_platform_service::windows::win32_api_services::{ServiceControl, ServiceControlsAccepted, ServiceState}; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `cross_platform_service` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `cross_platform_service` [INFO] [stdout] --> examples/win_stop_service.rs:2:29 [INFO] [stdout] | [INFO] [stdout] 2 | use cross_platform_service::windows::win_service_manager::{get_service_status, control_windows_service}; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `cross_platform_service` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `cross_platform_service` [INFO] [stdout] --> examples/win_start_service.rs:1:29 [INFO] [stdout] | [INFO] [stdout] 1 | use cross_platform_service::windows::win32_api_services::ServiceState; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `cross_platform_service` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `cross_platform_service` [INFO] [stdout] --> examples/win_start_service.rs:2:29 [INFO] [stdout] | [INFO] [stdout] 2 | use cross_platform_service::windows::win_service_manager::{get_service_status, start_windows_service}; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `cross_platform_service` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ServiceState` [INFO] [stdout] --> examples/win_start_service.rs:10:32 [INFO] [stdout] | [INFO] [stdout] 10 | if status.service_state != ServiceState::Stopped { [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ServiceState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_service_status` in this scope [INFO] [stdout] --> examples/win_start_service.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | let status = get_service_status(SERVICE_NAME) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Error` [INFO] [stdout] --> examples/unix_create_unit.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `start_windows_service` in this scope [INFO] [stdout] --> examples/win_start_service.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | match start_windows_service(SERVICE_NAME) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ServiceState` [INFO] [stdout] --> examples/win_stop_service.rs:11:32 [INFO] [stdout] | [INFO] [stdout] 11 | if status.service_state == ServiceState::Stopped { [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ServiceState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ServiceControlsAccepted` [INFO] [stdout] --> examples/win_stop_service.rs:13:51 [INFO] [stdout] | [INFO] [stdout] 13 | } else if !status.controls_accepted.contains(&ServiceControlsAccepted::Stop) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `ServiceControlsAccepted` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ServiceControl` [INFO] [stdout] --> examples/win_stop_service.rs:18:53 [INFO] [stdout] | [INFO] [stdout] 18 | match control_windows_service(SERVICE_NAME, ServiceControl::Stop) { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `ServiceControl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_service_status` in this scope [INFO] [stdout] --> examples/win_stop_service.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | let status = get_service_status(SERVICE_NAME) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `control_windows_service` in this scope [INFO] [stdout] --> examples/win_stop_service.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | match control_windows_service(SERVICE_NAME, ServiceControl::Stop) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::OpenOptions` [INFO] [stdout] --> src/service.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fs::OpenOptions; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/service.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::OpenOptions` [INFO] [stdout] --> examples/cross_platform_service.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs::OpenOptions; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> examples/cross_platform_service.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cross-platform-service` due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused import: `std::io::Error` [INFO] [stdout] --> examples/unix_start_unit.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `service_name` [INFO] [stdout] --> src/service.rs:33:22 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn start_service(service_name: &str, service_main: ServiceMainFunc) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_service_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `cross_platform_service` [INFO] [stdout] --> examples/win_create_service.rs:3:29 [INFO] [stdout] | [INFO] [stdout] 3 | use cross_platform_service::windows::win_service_manager::{ [INFO] [stdout] | ^^^^^^^ could not find `windows` in `cross_platform_service` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `cross_platform_service` [INFO] [stdout] --> examples/win_create_service.rs:7:29 [INFO] [stdout] | [INFO] [stdout] 7 | use cross_platform_service::windows::win32_api_services::{ [INFO] [stdout] | ^^^^^^^ could not find `windows` in `cross_platform_service` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `cross_platform_service` [INFO] [stdout] --> examples/win_sample_service.rs:17:29 [INFO] [stdout] | [INFO] [stdout] 17 | use cross_platform_service::windows::win32_api_services::{ [INFO] [stdout] | ^^^^^^^ could not find `windows` in `cross_platform_service` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ServiceType` [INFO] [stdout] --> examples/win_create_service.rs:32:23 [INFO] [stdout] | [INFO] [stdout] 32 | service_type: ServiceType::Win32OwnProcess, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ServiceType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ServiceStartType` [INFO] [stdout] --> examples/win_create_service.rs:33:21 [INFO] [stdout] | [INFO] [stdout] 33 | start_type: ServiceStartType::AutoStart, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `ServiceStartType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ServiceErrorControl` [INFO] [stdout] --> examples/win_create_service.rs:34:24 [INFO] [stdout] | [INFO] [stdout] 34 | error_control: ServiceErrorControl::Normal, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `ServiceErrorControl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `WindowsServiceInfo` in this scope [INFO] [stdout] --> examples/win_create_service.rs:27:16 [INFO] [stdout] | [INFO] [stdout] 27 | let info = WindowsServiceInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SERVICE_ALL_ACCESS` in this scope [INFO] [stdout] --> examples/win_create_service.rs:31:25 [INFO] [stdout] | [INFO] [stdout] 31 | desired_access: SERVICE_ALL_ACCESS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `install_windows_service` in this scope [INFO] [stdout] --> examples/win_create_service.rs:43:11 [INFO] [stdout] | [INFO] [stdout] 43 | match install_windows_service(info) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ServiceType` [INFO] [stdout] --> examples/win_sample_service.rs:59:23 [INFO] [stdout] | [INFO] [stdout] 59 | service_type: ServiceType::Win32OwnProcess, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ServiceType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ServiceState` [INFO] [stdout] --> examples/win_sample_service.rs:60:24 [INFO] [stdout] | [INFO] [stdout] 60 | service_state: ServiceState::StartPending, [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ServiceState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ServiceType` [INFO] [stdout] --> examples/win_sample_service.rs:73:23 [INFO] [stdout] | [INFO] [stdout] 73 | service_type: ServiceType::Win32OwnProcess, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ServiceType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ServiceState` [INFO] [stdout] --> examples/win_sample_service.rs:74:24 [INFO] [stdout] | [INFO] [stdout] 74 | service_state: ServiceState::Running, [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ServiceState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ServiceControlsAccepted` [INFO] [stdout] --> examples/win_sample_service.rs:75:33 [INFO] [stdout] | [INFO] [stdout] 75 | controls_accepted: vec![ServiceControlsAccepted::Stop], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `ServiceControlsAccepted` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ServiceType` [INFO] [stdout] --> examples/win_sample_service.rs:104:23 [INFO] [stdout] | [INFO] [stdout] 104 | service_type: ServiceType::Win32OwnProcess, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ServiceType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ServiceState` [INFO] [stdout] --> examples/win_sample_service.rs:105:24 [INFO] [stdout] | [INFO] [stdout] 105 | service_state: ServiceState::StopPending, [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ServiceState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ServiceType` [INFO] [stdout] --> examples/win_sample_service.rs:117:23 [INFO] [stdout] | [INFO] [stdout] 117 | service_type: ServiceType::Win32OwnProcess, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ServiceType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ServiceState` [INFO] [stdout] --> examples/win_sample_service.rs:118:24 [INFO] [stdout] | [INFO] [stdout] 118 | service_state: ServiceState::Stopped, [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ServiceState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ServiceControl` [INFO] [stdout] --> examples/win_sample_service.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | ServiceControl::Continue => {} [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `ServiceControl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ServiceControl` [INFO] [stdout] --> examples/win_sample_service.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 133 | ServiceControl::Interrogate => {} [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `ServiceControl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ServiceControl` [INFO] [stdout] --> examples/win_sample_service.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | ServiceControl::NetBindAdd => {} [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `ServiceControl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ServiceControl` [INFO] [stdout] --> examples/win_sample_service.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | ServiceControl::NetBindDisable => {} [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `ServiceControl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ServiceControl` [INFO] [stdout] --> examples/win_sample_service.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | ServiceControl::NetBindEnable => {} [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `ServiceControl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ServiceControl` [INFO] [stdout] --> examples/win_sample_service.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | ServiceControl::NetBindRemove => {} [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `ServiceControl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ServiceControl` [INFO] [stdout] --> examples/win_sample_service.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | ServiceControl::ParamChange => {} [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `ServiceControl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ServiceControl` [INFO] [stdout] --> examples/win_sample_service.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | ServiceControl::Pause => {} [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `ServiceControl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ServiceControl` [INFO] [stdout] --> examples/win_sample_service.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | ServiceControl::Stop => { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `ServiceControl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `start_service_ctrl_dispatcher` in this scope [INFO] [stdout] --> examples/win_sample_service.rs:39:11 [INFO] [stdout] | [INFO] [stdout] 39 | match start_service_ctrl_dispatcher(SERVICE_NAME, Some(svc_main)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `register_service_ctrl_handler` in this scope [INFO] [stdout] --> examples/win_sample_service.rs:51:18 [INFO] [stdout] | [INFO] [stdout] 51 | let handle = register_service_ctrl_handler( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `set_service_status` in this scope [INFO] [stdout] --> examples/win_sample_service.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | set_service_status(&handle, ServiceStatus { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ServiceStatus` in this scope [INFO] [stdout] --> examples/win_sample_service.rs:58:33 [INFO] [stdout] | [INFO] [stdout] 58 | set_service_status(&handle, ServiceStatus { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `set_service_status` in this scope [INFO] [stdout] --> examples/win_sample_service.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | set_service_status(&handle, ServiceStatus { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ServiceStatus` in this scope [INFO] [stdout] --> examples/win_sample_service.rs:72:33 [INFO] [stdout] | [INFO] [stdout] 72 | set_service_status(&handle, ServiceStatus { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `set_service_status` in this scope [INFO] [stdout] --> examples/win_sample_service.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | set_service_status(&handle, ServiceStatus { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ServiceStatus` in this scope [INFO] [stdout] --> examples/win_sample_service.rs:103:33 [INFO] [stdout] | [INFO] [stdout] 103 | set_service_status(&handle, ServiceStatus { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `set_service_status` in this scope [INFO] [stdout] --> examples/win_sample_service.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | set_service_status(&handle, ServiceStatus { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ServiceStatus` in this scope [INFO] [stdout] --> examples/win_sample_service.rs:116:33 [INFO] [stdout] | [INFO] [stdout] 116 | set_service_status(&handle, ServiceStatus { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ServiceControl` in this scope [INFO] [stdout] --> examples/win_sample_service.rs:127:26 [INFO] [stdout] | [INFO] [stdout] 127 | fn service_ctrl(control: ServiceControl) { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `cross_platform_service` [INFO] [stdout] --> examples/win_service_status.rs:1:29 [INFO] [stdout] | [INFO] [stdout] 1 | use cross_platform_service::windows::win_service_manager::get_service_status; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `cross_platform_service` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_service_status` in this scope [INFO] [stdout] --> examples/win_service_status.rs:6:26 [INFO] [stdout] | [INFO] [stdout] 6 | let service_status = get_service_status(SERVICE_NAME.into()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 30 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "7e43f413b996ff667717bc0f642d1ea218fc4d4a4d86290afb82ad10d94200ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e43f413b996ff667717bc0f642d1ea218fc4d4a4d86290afb82ad10d94200ea", kill_on_drop: false }` [INFO] [stdout] 7e43f413b996ff667717bc0f642d1ea218fc4d4a4d86290afb82ad10d94200ea