[INFO] cloning repository https://github.com/Dedsec-Xu/needle
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Dedsec-Xu/needle" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDedsec-Xu%2Fneedle", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDedsec-Xu%2Fneedle'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c354b939707921cb7ec0e29d8167c818c2b273ed
[INFO] checking Dedsec-Xu/needle against 416264364aa47959f5827723e1d7dabc95d0744b for pr-162242
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDedsec-Xu%2Fneedle" "/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/Dedsec-Xu/needle
[INFO] finished tweaking git repo https://github.com/Dedsec-Xu/needle
[INFO] tweaked toml for git repo https://github.com/Dedsec-Xu/needle written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Dedsec-Xu/needle on toolchain 416264364aa47959f5827723e1d7dabc95d0744b
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+416264364aa47959f5827723e1d7dabc95d0744b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Dedsec-Xu/needle 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" "+416264364aa47959f5827723e1d7dabc95d0744b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded windows-service v0.7.0
[INFO] [stderr]   Downloaded ignore v0.4.26
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] d83f9e2f94903e6f22fcfc0ff8922067f112126a8c899037882ba11c02428f3a
[INFO] running `Command { std: "docker" "start" "d83f9e2f94903e6f22fcfc0ff8922067f112126a8c899037882ba11c02428f3a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d83f9e2f94903e6f22fcfc0ff8922067f112126a8c899037882ba11c02428f3a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "d83f9e2f94903e6f22fcfc0ff8922067f112126a8c899037882ba11c02428f3a" "/opt/rustwide/cargo-home/bin/cargo" "+416264364aa47959f5827723e1d7dabc95d0744b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d83f9e2f94903e6f22fcfc0ff8922067f112126a8c899037882ba11c02428f3a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "d83f9e2f94903e6f22fcfc0ff8922067f112126a8c899037882ba11c02428f3a" "/opt/rustwide/cargo-home/bin/cargo" "+416264364aa47959f5827723e1d7dabc95d0744b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling quote v1.0.46
[INFO] [stderr]    Compiling windows_x86_64_gnu v0.52.6
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]     Checking aho-corasick v1.1.4
[INFO] [stderr]     Checking bstr v1.12.3
[INFO] [stderr]    Compiling anyhow v1.0.103
[INFO] [stderr]     Checking log v0.4.33
[INFO] [stderr]     Checking windows-service v0.7.0
[INFO] [stderr]     Checking windows-targets v0.52.6
[INFO] [stderr]     Checking windows-result v0.2.0
[INFO] [stderr]     Checking windows-strings v0.1.0
[INFO] [stderr]    Compiling syn v2.0.118
[INFO] [stderr]     Checking crossbeam-epoch v0.9.18
[INFO] [stderr]     Checking crossbeam-deque v0.8.6
[INFO] [stderr]     Checking regex-automata v0.4.14
[INFO] [stderr]     Checking globset v0.4.18
[INFO] [stderr]    Compiling windows-interface v0.58.0
[INFO] [stderr]    Compiling windows-implement v0.58.0
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling clap_derive v4.6.1
[INFO] [stderr]     Checking ignore v0.4.26
[INFO] [stderr]     Checking windows-core v0.58.0
[INFO] [stderr]     Checking windows v0.58.0
[INFO] [stderr]     Checking clap v4.6.1
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking needle v0.1.3 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]   --> src/mft.rs:16:14
[INFO] [stdout]    |
[INFO] [stdout] 16 | use windows::Win32::Foundation::{CloseHandle, ERROR_HANDLE_EOF, HANDLE};
[INFO] [stdout]    |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]   --> src/mft.rs:17:14
[INFO] [stdout]    |
[INFO] [stdout] 17 | use windows::Win32::Storage::FileSystem::{
[INFO] [stdout]    |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]   --> src/mft.rs:22:14
[INFO] [stdout]    |
[INFO] [stdout] 22 | use windows::Win32::System::Ioctl::{
[INFO] [stdout]    |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]   --> src/mft.rs:27:14
[INFO] [stdout]    |
[INFO] [stdout] 27 | use windows::Win32::System::IO::DeviceIoControl;
[INFO] [stdout]    |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `windows` in `os`
[INFO] [stdout]  --> src/service.rs:8:14
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::os::windows::ffi::OsStrExt;
[INFO] [stdout]   |              ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout]   |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]  --> /rustc/416264364aa47959f5827723e1d7dabc95d0744b/library/std/src/os/mod.rs:62:4
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item is gated behind the `windows` feature
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `windows::core`
[INFO] [stdout]   --> src/mft.rs:15:14
[INFO] [stdout]    |
[INFO] [stdout] 15 | use windows::core::PCWSTR;
[INFO] [stdout]    |              ^^^^ could not find `core` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]   --> src/service.rs:12:14
[INFO] [stdout]    |
[INFO] [stdout] 12 | use windows::Win32::Foundation::{CloseHandle, HANDLE, HWND};
[INFO] [stdout]    |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]   --> src/service.rs:13:14
[INFO] [stdout]    |
[INFO] [stdout] 13 | use windows::Win32::Security::{GetTokenInformation, TokenElevation, TOKEN_ELEVATION, TOKEN_QUERY};
[INFO] [stdout]    |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]   --> src/service.rs:14:14
[INFO] [stdout]    |
[INFO] [stdout] 14 | use windows::Win32::System::Threading::{GetCurrentProcess, OpenProcessToken};
[INFO] [stdout]    |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]   --> src/service.rs:15:14
[INFO] [stdout]    |
[INFO] [stdout] 15 | use windows::Win32::UI::Shell::ShellExecuteW;
[INFO] [stdout]    |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]   --> src/service.rs:16:14
[INFO] [stdout]    |
[INFO] [stdout] 16 | use windows::Win32::UI::WindowsAndMessaging::SW_SHOWNORMAL;
[INFO] [stdout]    |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `windows::core`
[INFO] [stdout]   --> src/service.rs:11:14
[INFO] [stdout]    |
[INFO] [stdout] 11 | use windows::core::PCWSTR;
[INFO] [stdout]    |              ^^^^ could not find `core` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `windows_service::service`
[INFO] [stdout]   --> src/service.rs:17:22
[INFO] [stdout]    |
[INFO] [stdout] 17 | use windows_service::service::{
[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.rs:21:22
[INFO] [stdout]    |
[INFO] [stdout] 21 | use windows_service::service_control_handler::{self, ServiceControlHandlerResult};
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^^^^^^^ could not find `service_control_handler` in `windows_service`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]   --> src/mft.rs:16:14
[INFO] [stdout]    |
[INFO] [stdout] 16 | use windows::Win32::Foundation::{CloseHandle, ERROR_HANDLE_EOF, HANDLE};
[INFO] [stdout]    |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]   --> src/mft.rs:17:14
[INFO] [stdout]    |
[INFO] [stdout] 17 | use windows::Win32::Storage::FileSystem::{
[INFO] [stdout]    |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]   --> src/mft.rs:22:14
[INFO] [stdout]    |
[INFO] [stdout] 22 | use windows::Win32::System::Ioctl::{
[INFO] [stdout]    |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]   --> src/mft.rs:27:14
[INFO] [stdout]    |
[INFO] [stdout] 27 | use windows::Win32::System::IO::DeviceIoControl;
[INFO] [stdout]    |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `windows` in `os`
[INFO] [stdout]  --> src/service.rs:8:14
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::os::windows::ffi::OsStrExt;
[INFO] [stdout]   |              ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout]   |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]  --> /rustc/416264364aa47959f5827723e1d7dabc95d0744b/library/std/src/os/mod.rs:62:4
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item is gated behind the `windows` feature
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `windows::core`
[INFO] [stdout]   --> src/mft.rs:15:14
[INFO] [stdout]    |
[INFO] [stdout] 15 | use windows::core::PCWSTR;
[INFO] [stdout]    |              ^^^^ could not find `core` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]   --> src/service.rs:12:14
[INFO] [stdout]    |
[INFO] [stdout] 12 | use windows::Win32::Foundation::{CloseHandle, HANDLE, HWND};
[INFO] [stdout]    |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]   --> src/service.rs:13:14
[INFO] [stdout]    |
[INFO] [stdout] 13 | use windows::Win32::Security::{GetTokenInformation, TokenElevation, TOKEN_ELEVATION, TOKEN_QUERY};
[INFO] [stdout]    |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]   --> src/service.rs:14:14
[INFO] [stdout]    |
[INFO] [stdout] 14 | use windows::Win32::System::Threading::{GetCurrentProcess, OpenProcessToken};
[INFO] [stdout]    |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]   --> src/service.rs:15:14
[INFO] [stdout]    |
[INFO] [stdout] 15 | use windows::Win32::UI::Shell::ShellExecuteW;
[INFO] [stdout]    |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]   --> src/service.rs:16:14
[INFO] [stdout]    |
[INFO] [stdout] 16 | use windows::Win32::UI::WindowsAndMessaging::SW_SHOWNORMAL;
[INFO] [stdout]    |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `windows::core`
[INFO] [stdout]   --> src/service.rs:11:14
[INFO] [stdout]    |
[INFO] [stdout] 11 | use windows::core::PCWSTR;
[INFO] [stdout]    |              ^^^^ could not find `core` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `windows_service::service`
[INFO] [stdout]   --> src/service.rs:17:22
[INFO] [stdout]    |
[INFO] [stdout] 17 | use windows_service::service::{
[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.rs:21:22
[INFO] [stdout]    |
[INFO] [stdout] 21 | use windows_service::service_control_handler::{self, ServiceControlHandlerResult};
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^^^^^^^ could not find `service_control_handler` in `windows_service`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `windows_service::service_manager`
[INFO] [stdout]   --> src/service.rs:22:22
[INFO] [stdout]    |
[INFO] [stdout] 22 | use windows_service::service_manager::{ServiceManager, ServiceManagerAccess};
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^ could not find `service_manager` in `windows_service`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `windows_service::service_manager`
[INFO] [stdout]   --> src/service.rs:22:22
[INFO] [stdout]    |
[INFO] [stdout] 22 | use windows_service::service_manager::{ServiceManager, ServiceManagerAccess};
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^ could not find `service_manager` in `windows_service`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `windows_service::define_windows_service`, `windows_service::service_dispatcher`
[INFO] [stdout]   --> src/service.rs:23:23
[INFO] [stdout]    |
[INFO] [stdout] 23 | use windows_service::{define_windows_service, service_dispatcher};
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^ no `service_dispatcher` in the root
[INFO] [stdout]    |                       |
[INFO] [stdout]    |                       no `define_windows_service` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `windows_service::define_windows_service`, `windows_service::service_dispatcher`
[INFO] [stdout]   --> src/service.rs:23:23
[INFO] [stdout]    |
[INFO] [stdout] 23 | use windows_service::{define_windows_service, service_dispatcher};
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^ no `service_dispatcher` in the root
[INFO] [stdout]    |                       |
[INFO] [stdout]    |                       no `define_windows_service` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ffi_service_main` in this scope
[INFO] [stdout]    --> src/service.rs:155:45
[INFO] [stdout]     |
[INFO] [stdout] 155 |     service_dispatcher::start(SERVICE_NAME, ffi_service_main).map_err(|e| {
[INFO] [stdout]     |                                             ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] note: similarly named function `service_main` defined here
[INFO] [stdout]    --> src/service.rs:162:1
[INFO] [stdout]     |
[INFO] [stdout] 162 | fn service_main(_args: Vec<OsString>) {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: a function with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 155 -     service_dispatcher::start(SERVICE_NAME, ffi_service_main).map_err(|e| {
[INFO] [stdout] 155 +     service_dispatcher::start(SERVICE_NAME, service_main).map_err(|e| {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Result` in crate `windows_service`
[INFO] [stdout]    --> src/service.rs:167:38
[INFO] [stdout]     |
[INFO] [stdout] 167 | fn run_service() -> windows_service::Result<()> {
[INFO] [stdout]     |                                      ^^^^^^ not found in `windows_service`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout]   6 + use crate::Result;
[INFO] [stdout]     |
[INFO] [stdout]   6 + use crate::thread::Result;
[INFO] [stdout]     |
[INFO] [stdout]   6 + use std::fmt::Result;
[INFO] [stdout]     |
[INFO] [stdout]   6 + use std::io::Result;
[INFO] [stdout]     |
[INFO] [stdout]     = and 8 other candidates
[INFO] [stdout] help: if you import `Result`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 167 - fn run_service() -> windows_service::Result<()> {
[INFO] [stdout] 167 + fn run_service() -> Result<()> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ffi_service_main` in this scope
[INFO] [stdout]    --> src/service.rs:155:45
[INFO] [stdout]     |
[INFO] [stdout] 155 |     service_dispatcher::start(SERVICE_NAME, ffi_service_main).map_err(|e| {
[INFO] [stdout]     |                                             ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] note: similarly named function `service_main` defined here
[INFO] [stdout]    --> src/service.rs:162:1
[INFO] [stdout]     |
[INFO] [stdout] 162 | fn service_main(_args: Vec<OsString>) {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: a function with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 155 -     service_dispatcher::start(SERVICE_NAME, ffi_service_main).map_err(|e| {
[INFO] [stdout] 155 +     service_dispatcher::start(SERVICE_NAME, service_main).map_err(|e| {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Result` in crate `windows_service`
[INFO] [stdout]    --> src/service.rs:167:38
[INFO] [stdout]     |
[INFO] [stdout] 167 | fn run_service() -> windows_service::Result<()> {
[INFO] [stdout]     |                                      ^^^^^^ not found in `windows_service`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout]   6 + use crate::Result;
[INFO] [stdout]     |
[INFO] [stdout]   6 + use crate::thread::Result;
[INFO] [stdout]     |
[INFO] [stdout]   6 + use std::fmt::Result;
[INFO] [stdout]     |
[INFO] [stdout]   6 + use std::io::Result;
[INFO] [stdout]     |
[INFO] [stdout]     = and 8 other candidates
[INFO] [stdout] help: if you import `Result`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 167 - fn run_service() -> windows_service::Result<()> {
[INFO] [stdout] 167 + fn run_service() -> Result<()> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&std::ffi::OsStr` in the current scope
[INFO] [stdout]   --> src/service.rs:61:10
[INFO] [stdout]    |
[INFO] [stdout] 59 |       let exe_w: Vec<u16> = exe
[INFO] [stdout]    |  ___________________________-
[INFO] [stdout] 60 | |         .as_os_str()
[INFO] [stdout] 61 | |         .encode_wide()
[INFO] [stdout]    | |         -^^^^^^^^^^^ method not found in `&std::ffi::OsStr`
[INFO] [stdout]    | |_________|
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode_wide` found for struct `OsString` in the current scope
[INFO] [stdout]   --> src/service.rs:65:10
[INFO] [stdout]    |
[INFO] [stdout] 64 |       let verb_w: Vec<u16> = OsString::from("runas")
[INFO] [stdout]    |  ____________________________-
[INFO] [stdout] 65 | |         .encode_wide()
[INFO] [stdout]    | |         -^^^^^^^^^^^ method not found in `OsString`
[INFO] [stdout]    | |_________|
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode_wide` found for struct `OsString` in the current scope
[INFO] [stdout]   --> src/service.rs:69:10
[INFO] [stdout]    |
[INFO] [stdout] 68 |       let params_w: Vec<u16> = OsString::from(args.join(" "))
[INFO] [stdout]    |  ______________________________-
[INFO] [stdout] 69 | |         .encode_wide()
[INFO] [stdout]    | |         -^^^^^^^^^^^ method not found in `OsString`
[INFO] [stdout]    | |_________|
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&std::ffi::OsStr` in the current scope
[INFO] [stdout]   --> src/service.rs:61:10
[INFO] [stdout]    |
[INFO] [stdout] 59 |       let exe_w: Vec<u16> = exe
[INFO] [stdout]    |  ___________________________-
[INFO] [stdout] 60 | |         .as_os_str()
[INFO] [stdout] 61 | |         .encode_wide()
[INFO] [stdout]    | |         -^^^^^^^^^^^ method not found in `&std::ffi::OsStr`
[INFO] [stdout]    | |_________|
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode_wide` found for struct `OsString` in the current scope
[INFO] [stdout]   --> src/service.rs:65:10
[INFO] [stdout]    |
[INFO] [stdout] 64 |       let verb_w: Vec<u16> = OsString::from("runas")
[INFO] [stdout]    |  ____________________________-
[INFO] [stdout] 65 | |         .encode_wide()
[INFO] [stdout]    | |         -^^^^^^^^^^^ method not found in `OsString`
[INFO] [stdout]    | |_________|
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode_wide` found for struct `OsString` in the current scope
[INFO] [stdout]   --> src/service.rs:69:10
[INFO] [stdout]    |
[INFO] [stdout] 68 |       let params_w: Vec<u16> = OsString::from(args.join(" "))
[INFO] [stdout]    |  ______________________________-
[INFO] [stdout] 69 | |         .encode_wide()
[INFO] [stdout]    | |         -^^^^^^^^^^^ method not found in `OsString`
[INFO] [stdout]    | |_________|
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `needle` (bin "needle" test) due to 21 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `needle` (bin "needle") due to 21 previous errors
[INFO] running `Command { std: "docker" "inspect" "d83f9e2f94903e6f22fcfc0ff8922067f112126a8c899037882ba11c02428f3a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d83f9e2f94903e6f22fcfc0ff8922067f112126a8c899037882ba11c02428f3a", kill_on_drop: false }`
[INFO] [stdout] d83f9e2f94903e6f22fcfc0ff8922067f112126a8c899037882ba11c02428f3a
