[INFO] cloning repository https://github.com/undergroundbiscuitclub/windowsservice [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/undergroundbiscuitclub/windowsservice" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fundergroundbiscuitclub%2Fwindowsservice", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fundergroundbiscuitclub%2Fwindowsservice'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 677f9be28b3daad5dbb63bec573a152be262df64 [INFO] checking undergroundbiscuitclub/windowsservice against try#2277c63fa464d237b17b68d3b87f9fbb89e58a3e for pr-133570-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fundergroundbiscuitclub%2Fwindowsservice" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/undergroundbiscuitclub/windowsservice on toolchain 2277c63fa464d237b17b68d3b87f9fbb89e58a3e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2277c63fa464d237b17b68d3b87f9fbb89e58a3e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/undergroundbiscuitclub/windowsservice [INFO] finished tweaking git repo https://github.com/undergroundbiscuitclub/windowsservice [INFO] tweaked toml for git repo https://github.com/undergroundbiscuitclub/windowsservice written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/undergroundbiscuitclub/windowsservice 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" "+2277c63fa464d237b17b68d3b87f9fbb89e58a3e" "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-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+2277c63fa464d237b17b68d3b87f9fbb89e58a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 51474ef6fa9e37f7cb3cb75e9b673348cd8ce0a49bd8aecbabc94a12379c23c2 [INFO] running `Command { std: "docker" "start" "-a" "51474ef6fa9e37f7cb3cb75e9b673348cd8ce0a49bd8aecbabc94a12379c23c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "51474ef6fa9e37f7cb3cb75e9b673348cd8ce0a49bd8aecbabc94a12379c23c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51474ef6fa9e37f7cb3cb75e9b673348cd8ce0a49bd8aecbabc94a12379c23c2", kill_on_drop: false }` [INFO] [stdout] 51474ef6fa9e37f7cb3cb75e9b673348cd8ce0a49bd8aecbabc94a12379c23c2 [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+2277c63fa464d237b17b68d3b87f9fbb89e58a3e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 77dfacdbf5a0f1b7222187cf64be865ce6b7bf664aa91fb1f18bd522e0838d8a [INFO] running `Command { std: "docker" "start" "-a" "77dfacdbf5a0f1b7222187cf64be865ce6b7bf664aa91fb1f18bd522e0838d8a", kill_on_drop: false }` [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling winservice v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking windows-service v0.6.0 [INFO] [stdout] error[E0432]: unresolved imports `windows_service::define_windows_service`, `windows_service::service`, `windows_service::service_dispatcher`, `windows_service::service_manager` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | define_windows_service, service::ServiceAccess, service_dispatcher, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^^^ no `service_dispatcher` in the root [INFO] [stdout] | | | [INFO] [stdout] | | could not find `service` in `windows_service` [INFO] [stdout] | no `define_windows_service` in the root [INFO] [stdout] 9 | 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`, `windows_service::service_dispatcher`, `windows_service::service_manager` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | define_windows_service, service::ServiceAccess, service_dispatcher, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^^^ no `service_dispatcher` in the root [INFO] [stdout] | | | [INFO] [stdout] | | could not find `service` in `windows_service` [INFO] [stdout] | no `define_windows_service` in the root [INFO] [stdout] 9 | service_manager::{ServiceManager, ServiceManagerAccess}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ could not find `service_manager` in `windows_service` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Result` in crate `windows_service` [INFO] [stdout] --> src/main.rs:14:70 [INFO] [stdout] | [INFO] [stdout] 14 | fn service_manager(access: ServiceManagerAccess) -> 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] 2 + use std::fmt::Result; [INFO] [stdout] | [INFO] [stdout] 2 + use std::io::Result; [INFO] [stdout] | [INFO] [stdout] 2 + use std::result::Result; [INFO] [stdout] | [INFO] [stdout] 2 + use std::thread::Result; [INFO] [stdout] | [INFO] [stdout] and 2 other candidates [INFO] [stdout] help: if you import `Result`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 14 - fn service_manager(access: ServiceManagerAccess) -> windows_service::Result { [INFO] [stdout] 14 + fn service_manager(access: ServiceManagerAccess) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Result` in crate `windows_service` [INFO] [stdout] --> src/main.rs:35:39 [INFO] [stdout] | [INFO] [stdout] 35 | fn stop_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] 2 + use std::fmt::Result; [INFO] [stdout] | [INFO] [stdout] 2 + use std::io::Result; [INFO] [stdout] | [INFO] [stdout] 2 + use std::result::Result; [INFO] [stdout] | [INFO] [stdout] 2 + use std::thread::Result; [INFO] [stdout] | [INFO] [stdout] and 2 other candidates [INFO] [stdout] help: if you import `Result`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 35 - fn stop_service() -> windows_service::Result<()> { [INFO] [stdout] 35 + fn stop_service() -> Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Result` in crate `windows_service` [INFO] [stdout] --> src/main.rs:49:31 [INFO] [stdout] | [INFO] [stdout] 49 | fn main() -> 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] 2 + use std::fmt::Result; [INFO] [stdout] | [INFO] [stdout] 2 + use std::io::Result; [INFO] [stdout] | [INFO] [stdout] 2 + use std::result::Result; [INFO] [stdout] | [INFO] [stdout] 2 + use std::thread::Result; [INFO] [stdout] | [INFO] [stdout] and 2 other candidates [INFO] [stdout] help: if you import `Result`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 49 - fn main() -> windows_service::Result<()> { [INFO] [stdout] 49 + fn main() -> Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ffi_service_main` in this scope [INFO] [stdout] --> src/main.rs:51:49 [INFO] [stdout] | [INFO] [stdout] 19 | fn my_service_main(_arguments: Vec) { [INFO] [stdout] | --------------------------------------------- similarly named function `my_service_main` defined here [INFO] [stdout] ... [INFO] [stdout] 51 | service_dispatcher::start("PENTESTSERVICE", ffi_service_main)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `my_service_main` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Result` in crate `windows_service` [INFO] [stdout] --> src/main.rs:14:70 [INFO] [stdout] | [INFO] [stdout] 14 | fn service_manager(access: ServiceManagerAccess) -> 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] 2 + use std::fmt::Result; [INFO] [stdout] | [INFO] [stdout] 2 + use std::io::Result; [INFO] [stdout] | [INFO] [stdout] 2 + use std::result::Result; [INFO] [stdout] | [INFO] [stdout] 2 + use std::thread::Result; [INFO] [stdout] | [INFO] [stdout] and 2 other candidates [INFO] [stdout] help: if you import `Result`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 14 - fn service_manager(access: ServiceManagerAccess) -> windows_service::Result { [INFO] [stdout] 14 + fn service_manager(access: ServiceManagerAccess) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Result` in crate `windows_service` [INFO] [stdout] --> src/main.rs:35:39 [INFO] [stdout] | [INFO] [stdout] 35 | fn stop_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] 2 + use std::fmt::Result; [INFO] [stdout] | [INFO] [stdout] 2 + use std::io::Result; [INFO] [stdout] | [INFO] [stdout] 2 + use std::result::Result; [INFO] [stdout] | [INFO] [stdout] 2 + use std::thread::Result; [INFO] [stdout] | [INFO] [stdout] and 2 other candidates [INFO] [stdout] help: if you import `Result`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 35 - fn stop_service() -> windows_service::Result<()> { [INFO] [stdout] 35 + fn stop_service() -> Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Result` in crate `windows_service` [INFO] [stdout] --> src/main.rs:49:31 [INFO] [stdout] | [INFO] [stdout] 49 | fn main() -> 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] 2 + use std::fmt::Result; [INFO] [stdout] | [INFO] [stdout] 2 + use std::io::Result; [INFO] [stdout] | [INFO] [stdout] 2 + use std::result::Result; [INFO] [stdout] | [INFO] [stdout] 2 + use std::thread::Result; [INFO] [stdout] | [INFO] [stdout] and 2 other candidates [INFO] [stdout] help: if you import `Result`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 49 - fn main() -> windows_service::Result<()> { [INFO] [stdout] 49 + fn main() -> Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `winservice` (bin "winservice") due to 5 previous errors [INFO] [stdout] error[E0425]: cannot find value `ffi_service_main` in this scope [INFO] [stdout] --> src/main.rs:51:49 [INFO] [stdout] | [INFO] [stdout] 19 | fn my_service_main(_arguments: Vec) { [INFO] [stdout] | --------------------------------------------- similarly named function `my_service_main` defined here [INFO] [stdout] ... [INFO] [stdout] 51 | service_dispatcher::start("PENTESTSERVICE", ffi_service_main)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `my_service_main` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `winservice` (bin "winservice" test) due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "77dfacdbf5a0f1b7222187cf64be865ce6b7bf664aa91fb1f18bd522e0838d8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77dfacdbf5a0f1b7222187cf64be865ce6b7bf664aa91fb1f18bd522e0838d8a", kill_on_drop: false }` [INFO] [stdout] 77dfacdbf5a0f1b7222187cf64be865ce6b7bf664aa91fb1f18bd522e0838d8a