[INFO] cloning repository https://github.com/xinggaoya/rust-nssm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xinggaoya/rust-nssm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxinggaoya%2Frust-nssm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxinggaoya%2Frust-nssm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9f0a9d397c98eae50ee19bec42ee011256c7492e [INFO] checking xinggaoya/rust-nssm against try#d83b14207998f47b18a34e930157ac0d7c18b16e for pr-149137 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxinggaoya%2Frust-nssm" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/xinggaoya/rust-nssm [INFO] finished tweaking git repo https://github.com/xinggaoya/rust-nssm [INFO] tweaked toml for git repo https://github.com/xinggaoya/rust-nssm written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/xinggaoya/rust-nssm on toolchain d83b14207998f47b18a34e930157ac0d7c18b16e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d83b14207998f47b18a34e930157ac0d7c18b16e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/xinggaoya/rust-nssm 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" "+d83b14207998f47b18a34e930157ac0d7c18b16e" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking xinggaoya/rust-nssm against try#d83b14207998f47b18a34e930157ac0d7c18b16e for pr-149137 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxinggaoya%2Frust-nssm" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/xinggaoya/rust-nssm [INFO] finished tweaking git repo https://github.com/xinggaoya/rust-nssm [INFO] tweaked toml for git repo https://github.com/xinggaoya/rust-nssm written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/xinggaoya/rust-nssm on toolchain d83b14207998f47b18a34e930157ac0d7c18b16e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d83b14207998f47b18a34e930157ac0d7c18b16e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/xinggaoya/rust-nssm 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" "+d83b14207998f47b18a34e930157ac0d7c18b16e" "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 wasm-bindgen-macro-support v0.2.103 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.103 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.103 [INFO] [stderr] Downloaded ctrlc v3.5.0 [INFO] [stderr] Downloaded wasm-bindgen v0.2.103 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.103 [INFO] [stderr] Downloaded js-sys v0.3.80 [INFO] [stderr] Downloaded find-msvc-tools v0.1.2 [INFO] [stderr] Downloaded cc v1.2.38 [INFO] [stderr] Downloaded windows-service v0.7.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+d83b14207998f47b18a34e930157ac0d7c18b16e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 09bf2c47f8fdb199aff00aa19222a3283435abcba4f2ce2a54e825b50418e876 [INFO] running `Command { std: "docker" "start" "-a" "09bf2c47f8fdb199aff00aa19222a3283435abcba4f2ce2a54e825b50418e876", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "09bf2c47f8fdb199aff00aa19222a3283435abcba4f2ce2a54e825b50418e876", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09bf2c47f8fdb199aff00aa19222a3283435abcba4f2ce2a54e825b50418e876", kill_on_drop: false }` [INFO] [stdout] 09bf2c47f8fdb199aff00aa19222a3283435abcba4f2ce2a54e825b50418e876 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+d83b14207998f47b18a34e930157ac0d7c18b16e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 36529f41f9fa03f5c95b7513d8c1b7f42e32fd97def55db13e49443e14c5acfd [INFO] running `Command { std: "docker" "start" "-a" "36529f41f9fa03f5c95b7513d8c1b7f42e32fd97def55db13e49443e14c5acfd", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Compiling windows_x86_64_gnu v0.48.5 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling serde_core v1.0.225 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Checking anstyle-query v1.1.4 [INFO] [stderr] Checking regex-syntax v0.8.6 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Checking bitflags v2.9.4 [INFO] [stderr] Compiling serde v1.0.225 [INFO] [stderr] Compiling nix v0.30.1 [INFO] [stderr] Checking anstream v0.6.20 [INFO] [stderr] Checking humantime v2.3.0 [INFO] [stderr] Checking windows-service v0.7.0 [INFO] [stderr] Checking windows-targets v0.48.5 [INFO] [stderr] Checking windows-sys v0.48.0 [INFO] [stderr] Checking clap_builder v4.5.47 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking chrono v0.4.42 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking regex-automata v0.4.10 [INFO] [stderr] Checking socket2 v0.6.0 [INFO] [stderr] Checking signal-hook-registry v1.4.6 [INFO] [stderr] Checking is-terminal v0.4.16 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking ctrlc v3.5.0 [INFO] [stderr] Checking serde_json v1.0.145 [INFO] [stderr] Checking regex v1.11.2 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling clap_derive v4.5.47 [INFO] [stderr] Compiling serde_derive v1.0.225 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking clap v4.5.47 [INFO] [stderr] Checking rust-nssm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/service_host.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use std::os::windows::ffi::OsStringExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/d83b14207998f47b18a34e930157ac0d7c18b16e/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/d83b14207998f47b18a34e930157ac0d7c18b16e/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[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/service_host.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use std::os::windows::ffi::OsStringExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/d83b14207998f47b18a34e930157ac0d7c18b16e/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/d83b14207998f47b18a34e930157ac0d7c18b16e/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 import `windows_service::service` [INFO] [stdout] --> src/service_host.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | use windows_service::service::{ServiceControl, ServiceState, ServiceType, ServiceStatus, ServiceControlAccept, ServiceExitCode}; [INFO] [stdout] | ^^^^^^^ could not find `service` in `windows_service` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `windows_service::service` [INFO] [stdout] --> src/service_host.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | use windows_service::service::{ServiceControl, ServiceState, ServiceType, ServiceStatus, ServiceControlAccept, ServiceExitCode}; [INFO] [stdout] | ^^^^^^^ could not find `service` in `windows_service` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `windows_service::service_control_handler` [INFO] [stdout] --> src/service_host.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 11 | use windows_service::service_control_handler::{ServiceStatusHandle, ServiceControlHandlerResult}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ could not find `service_control_handler` in `windows_service` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/service_host.rs:542:18 [INFO] [stdout] | [INFO] [stdout] 542 | use std::os::windows::ffi::OsStringExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/d83b14207998f47b18a34e930157ac0d7c18b16e/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/d83b14207998f47b18a34e930157ac0d7c18b16e/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 import `windows_service::service_control_handler` [INFO] [stdout] --> src/service_host.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 11 | use windows_service::service_control_handler::{ServiceStatusHandle, ServiceControlHandlerResult}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ could not find `service_control_handler` in `windows_service` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/service_host.rs:542:18 [INFO] [stdout] | [INFO] [stdout] 542 | use std::os::windows::ffi::OsStringExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/d83b14207998f47b18a34e930157ac0d7c18b16e/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/d83b14207998f47b18a34e930157ac0d7c18b16e/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 import `windows_service::service_dispatcher` [INFO] [stdout] --> src/service_host.rs:540:9 [INFO] [stdout] | [INFO] [stdout] 540 | use windows_service::service_dispatcher; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `service_dispatcher` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `windows_service::service_control_handler`, `windows_service::service_control_handler` [INFO] [stdout] --> src/service_host.rs:625:26 [INFO] [stdout] | [INFO] [stdout] 625 | use windows_service::service_control_handler::{self, ServiceControlHandlerResult}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ no `service_control_handler` in the root [INFO] [stdout] | | [INFO] [stdout] | could not find `service_control_handler` in `windows_service` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/service_manager.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use std::os::windows::ffi::OsStringExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/d83b14207998f47b18a34e930157ac0d7c18b16e/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/d83b14207998f47b18a34e930157ac0d7c18b16e/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 import `windows_service::service` [INFO] [stdout] --> src/service_host.rs:626:26 [INFO] [stdout] | [INFO] [stdout] 626 | use windows_service::service::{ServiceControl, ServiceState, ServiceStatus, ServiceType}; [INFO] [stdout] | ^^^^^^^ could not find `service` in `windows_service` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `windows_service::service_dispatcher` [INFO] [stdout] --> src/service_host.rs:540:9 [INFO] [stdout] | [INFO] [stdout] 540 | use windows_service::service_dispatcher; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `service_dispatcher` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `windows_service::service_control_handler`, `windows_service::service_control_handler` [INFO] [stdout] --> src/service_host.rs:625:26 [INFO] [stdout] | [INFO] [stdout] 625 | use windows_service::service_control_handler::{self, ServiceControlHandlerResult}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ no `service_control_handler` in the root [INFO] [stdout] | | [INFO] [stdout] | could not find `service_control_handler` in `windows_service` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/service_manager.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use std::os::windows::ffi::OsStringExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/d83b14207998f47b18a34e930157ac0d7c18b16e/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/d83b14207998f47b18a34e930157ac0d7c18b16e/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 import `windows_service::service` [INFO] [stdout] --> src/service_host.rs:626:26 [INFO] [stdout] | [INFO] [stdout] 626 | use windows_service::service::{ServiceControl, ServiceState, ServiceStatus, ServiceType}; [INFO] [stdout] | ^^^^^^^ could not find `service` in `windows_service` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `service` in `windows_service` [INFO] [stdout] --> src/service_host.rs:693:45 [INFO] [stdout] | [INFO] [stdout] 693 | controls_accepted: windows_service::service::ServiceControlAccept::STOP, [INFO] [stdout] | ^^^^^^^ could not find `service` in `windows_service` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `service` in `windows_service` [INFO] [stdout] --> src/service_host.rs:694:37 [INFO] [stdout] | [INFO] [stdout] 694 | exit_code: windows_service::service::ServiceExitCode::Win32(0), [INFO] [stdout] | ^^^^^^^ could not find `service` in `windows_service` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `service` in `windows_service` [INFO] [stdout] --> src/service_host.rs:693:45 [INFO] [stdout] | [INFO] [stdout] 693 | controls_accepted: windows_service::service::ServiceControlAccept::STOP, [INFO] [stdout] | ^^^^^^^ could not find `service` in `windows_service` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `service` in `windows_service` [INFO] [stdout] --> src/service_host.rs:751:45 [INFO] [stdout] | [INFO] [stdout] 751 | controls_accepted: windows_service::service::ServiceControlAccept::empty(), [INFO] [stdout] | ^^^^^^^ could not find `service` in `windows_service` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `service` in `windows_service` [INFO] [stdout] --> src/service_host.rs:694:37 [INFO] [stdout] | [INFO] [stdout] 694 | exit_code: windows_service::service::ServiceExitCode::Win32(0), [INFO] [stdout] | ^^^^^^^ could not find `service` in `windows_service` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `service` in `windows_service` [INFO] [stdout] --> src/service_host.rs:752:37 [INFO] [stdout] | [INFO] [stdout] 752 | exit_code: windows_service::service::ServiceExitCode::Win32(0), [INFO] [stdout] | ^^^^^^^ could not find `service` in `windows_service` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `windows_sys::Win32::System::Services::*` [INFO] [stdout] --> src/service_host.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use windows_sys::Win32::System::Services::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `service` in `windows_service` [INFO] [stdout] --> src/service_host.rs:751:45 [INFO] [stdout] | [INFO] [stdout] 751 | controls_accepted: windows_service::service::ServiceControlAccept::empty(), [INFO] [stdout] | ^^^^^^^ could not find `service` in `windows_service` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `service` in `windows_service` [INFO] [stdout] --> src/service_host.rs:752:37 [INFO] [stdout] | [INFO] [stdout] 752 | exit_code: windows_service::service::ServiceExitCode::Win32(0), [INFO] [stdout] | ^^^^^^^ could not find `service` in `windows_service` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `windows_sys::Win32::System::Services::*` [INFO] [stdout] --> src/service_host.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use windows_sys::Win32::System::Services::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_wide` found for struct `OsString` in the current scope [INFO] [stdout] --> src/service_host.rs:386:19 [INFO] [stdout] | [INFO] [stdout] 386 | OsString::from_wide(std::slice::from_raw_parts( [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `OsString` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `OsString` consider using one of the following associated functions: [INFO] [stdout] OsString::new [INFO] [stdout] OsString::from_encoded_bytes_unchecked [INFO] [stdout] OsString::with_capacity [INFO] [stdout] --> /rustc/d83b14207998f47b18a34e930157ac0d7c18b16e/library/std/src/ffi/os_str.rs:141:4 [INFO] [stdout] help: there is an associated function `from_iter` with a similar name [INFO] [stdout] | [INFO] [stdout] 386 - OsString::from_wide(std::slice::from_raw_parts( [INFO] [stdout] 386 + OsString::from_iter(std::slice::from_raw_parts( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_wide` found for struct `OsString` in the current scope [INFO] [stdout] --> src/service_host.rs:386:19 [INFO] [stdout] | [INFO] [stdout] 386 | OsString::from_wide(std::slice::from_raw_parts( [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `OsString` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `OsString` consider using one of the following associated functions: [INFO] [stdout] OsString::new [INFO] [stdout] OsString::from_encoded_bytes_unchecked [INFO] [stdout] OsString::with_capacity [INFO] [stdout] --> /rustc/d83b14207998f47b18a34e930157ac0d7c18b16e/library/std/src/ffi/os_str.rs:141:4 [INFO] [stdout] help: there is an associated function `from_iter` with a similar name [INFO] [stdout] | [INFO] [stdout] 386 - OsString::from_wide(std::slice::from_raw_parts( [INFO] [stdout] 386 + OsString::from_iter(std::slice::from_raw_parts( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_wide` found for struct `OsString` in the current scope [INFO] [stdout] --> src/service_host.rs:547:37 [INFO] [stdout] | [INFO] [stdout] 547 | let service_name_os = OsString::from_wide(service_name.encode_utf16().collect::>().as_slice()); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `OsString` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `OsString` consider using one of the following associated functions: [INFO] [stdout] OsString::new [INFO] [stdout] OsString::from_encoded_bytes_unchecked [INFO] [stdout] OsString::with_capacity [INFO] [stdout] --> /rustc/d83b14207998f47b18a34e930157ac0d7c18b16e/library/std/src/ffi/os_str.rs:141:4 [INFO] [stdout] help: there is an associated function `from_iter` with a similar name [INFO] [stdout] | [INFO] [stdout] 547 - let service_name_os = OsString::from_wide(service_name.encode_utf16().collect::>().as_slice()); [INFO] [stdout] 547 + let service_name_os = OsString::from_iter(service_name.encode_utf16().collect::>().as_slice()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_wide` found for struct `OsString` in the current scope [INFO] [stdout] --> src/service_host.rs:547:37 [INFO] [stdout] | [INFO] [stdout] 547 | let service_name_os = OsString::from_wide(service_name.encode_utf16().collect::>().as_slice()); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `OsString` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `OsString` consider using one of the following associated functions: [INFO] [stdout] OsString::new [INFO] [stdout] OsString::from_encoded_bytes_unchecked [INFO] [stdout] OsString::with_capacity [INFO] [stdout] --> /rustc/d83b14207998f47b18a34e930157ac0d7c18b16e/library/std/src/ffi/os_str.rs:141:4 [INFO] [stdout] help: there is an associated function `from_iter` with a similar name [INFO] [stdout] | [INFO] [stdout] 547 - let service_name_os = OsString::from_wide(service_name.encode_utf16().collect::>().as_slice()); [INFO] [stdout] 547 + let service_name_os = OsString::from_iter(service_name.encode_utf16().collect::>().as_slice()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/service_host.rs:677:9 [INFO] [stdout] | [INFO] [stdout] 677 | let status_handle = match handler_result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 701 | if let Err(e) = status_handle.set_service_status(status) { [INFO] [stdout] | ------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `status_handle` an explicit type [INFO] [stdout] | [INFO] [stdout] 677 | let status_handle: /* Type */ = match handler_result { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/service_host.rs:677:9 [INFO] [stdout] | [INFO] [stdout] 677 | let status_handle = match handler_result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 701 | if let Err(e) = status_handle.set_service_status(status) { [INFO] [stdout] | ------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `status_handle` an explicit type [INFO] [stdout] | [INFO] [stdout] 677 | let status_handle: /* Type */ = match handler_result { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_wide` found for struct `OsString` in the current scope [INFO] [stdout] --> src/service_manager.rs:239:31 [INFO] [stdout] | [INFO] [stdout] 239 | OsString::from_wide(std::slice::from_raw_parts( [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `OsString` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `OsString` consider using one of the following associated functions: [INFO] [stdout] OsString::new [INFO] [stdout] OsString::from_encoded_bytes_unchecked [INFO] [stdout] OsString::with_capacity [INFO] [stdout] --> /rustc/d83b14207998f47b18a34e930157ac0d7c18b16e/library/std/src/ffi/os_str.rs:141:4 [INFO] [stdout] help: there is an associated function `from_iter` with a similar name [INFO] [stdout] | [INFO] [stdout] 239 - OsString::from_wide(std::slice::from_raw_parts( [INFO] [stdout] 239 + OsString::from_iter(std::slice::from_raw_parts( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_wide` found for struct `OsString` in the current scope [INFO] [stdout] --> src/service_manager.rs:239:31 [INFO] [stdout] | [INFO] [stdout] 239 | OsString::from_wide(std::slice::from_raw_parts( [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `OsString` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `OsString` consider using one of the following associated functions: [INFO] [stdout] OsString::new [INFO] [stdout] OsString::from_encoded_bytes_unchecked [INFO] [stdout] OsString::with_capacity [INFO] [stdout] --> /rustc/d83b14207998f47b18a34e930157ac0d7c18b16e/library/std/src/ffi/os_str.rs:141:4 [INFO] [stdout] help: there is an associated function `from_iter` with a similar name [INFO] [stdout] | [INFO] [stdout] 239 - OsString::from_wide(std::slice::from_raw_parts( [INFO] [stdout] 239 + OsString::from_iter(std::slice::from_raw_parts( [INFO] [stdout] | [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 `rust-nssm` (bin "rust-nssm" test) due to 16 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rust-nssm` (bin "rust-nssm") due to 16 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "36529f41f9fa03f5c95b7513d8c1b7f42e32fd97def55db13e49443e14c5acfd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36529f41f9fa03f5c95b7513d8c1b7f42e32fd97def55db13e49443e14c5acfd", kill_on_drop: false }` [INFO] [stdout] 36529f41f9fa03f5c95b7513d8c1b7f42e32fd97def55db13e49443e14c5acfd