[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#1383df06117fd218068d1f39fd5326256dd4a348 for pr-145181 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fundergroundbiscuitclub%2Fwindowsservice" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [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-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/undergroundbiscuitclub/windowsservice on toolchain 1383df06117fd218068d1f39fd5326256dd4a348 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1383df06117fd218068d1f39fd5326256dd4a348" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+1383df06117fd218068d1f39fd5326256dd4a348" "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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+1383df06117fd218068d1f39fd5326256dd4a348" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0b6f233c2277cae3179a5eef6a0bb5209e7f479adcb5f170e7b5f858a21373b5 [INFO] running `Command { std: "docker" "start" "-a" "0b6f233c2277cae3179a5eef6a0bb5209e7f479adcb5f170e7b5f858a21373b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0b6f233c2277cae3179a5eef6a0bb5209e7f479adcb5f170e7b5f858a21373b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b6f233c2277cae3179a5eef6a0bb5209e7f479adcb5f170e7b5f858a21373b5", kill_on_drop: false }` [INFO] [stdout] 0b6f233c2277cae3179a5eef6a0bb5209e7f479adcb5f170e7b5f858a21373b5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+1383df06117fd218068d1f39fd5326256dd4a348" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6e217c6cd80e5de11c9aa59f91821be200f05d3ef12c3d92a26b4cf26b9caf0c [INFO] running `Command { std: "docker" "start" "-a" "6e217c6cd80e5de11c9aa59f91821be200f05d3ef12c3d92a26b4cf26b9caf0c", 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] 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] 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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `winservice` (bin "winservice") due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "6e217c6cd80e5de11c9aa59f91821be200f05d3ef12c3d92a26b4cf26b9caf0c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e217c6cd80e5de11c9aa59f91821be200f05d3ef12c3d92a26b4cf26b9caf0c", kill_on_drop: false }` [INFO] [stdout] 6e217c6cd80e5de11c9aa59f91821be200f05d3ef12c3d92a26b4cf26b9caf0c