[INFO] cloning repository https://github.com/Confused-Engineer/Windows-Service-Template
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Confused-Engineer/Windows-Service-Template" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FConfused-Engineer%2FWindows-Service-Template", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FConfused-Engineer%2FWindows-Service-Template'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 59642dd23d7a054db0154ed8a83698910d915580
[INFO] checking Confused-Engineer/Windows-Service-Template against try#5fee451ebd94296ea05214e819c311e164b30af6 for pr-139042
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FConfused-Engineer%2FWindows-Service-Template" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Confused-Engineer/Windows-Service-Template on toolchain 5fee451ebd94296ea05214e819c311e164b30af6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5fee451ebd94296ea05214e819c311e164b30af6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Confused-Engineer/Windows-Service-Template
[INFO] finished tweaking git repo https://github.com/Confused-Engineer/Windows-Service-Template
[INFO] tweaked toml for git repo https://github.com/Confused-Engineer/Windows-Service-Template written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/Confused-Engineer/Windows-Service-Template 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" "+5fee451ebd94296ea05214e819c311e164b30af6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+5fee451ebd94296ea05214e819c311e164b30af6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 33b19c0666d2b182f0c49bbedaea671d71dacb5500bf9761a2614e6ff7ab5a56
[INFO] running `Command { std: "docker" "start" "-a" "33b19c0666d2b182f0c49bbedaea671d71dacb5500bf9761a2614e6ff7ab5a56", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "33b19c0666d2b182f0c49bbedaea671d71dacb5500bf9761a2614e6ff7ab5a56", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "33b19c0666d2b182f0c49bbedaea671d71dacb5500bf9761a2614e6ff7ab5a56", kill_on_drop: false }`
[INFO] [stdout] 33b19c0666d2b182f0c49bbedaea671d71dacb5500bf9761a2614e6ff7ab5a56
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+5fee451ebd94296ea05214e819c311e164b30af6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] fc7c90fcab3e1bcb2285d8d3f3a793497995b3e59d9b5123b4d0d84e162b70d3
[INFO] running `Command { std: "docker" "start" "-a" "fc7c90fcab3e1bcb2285d8d3f3a793497995b3e59d9b5123b4d0d84e162b70d3", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde v1.0.203
[INFO] [stderr]    Compiling static_vcruntime v2.0.0
[INFO] [stderr]     Checking windows-service v0.7.0
[INFO] [stderr]    Compiling toml v0.5.11
[INFO] [stderr]    Compiling winres v0.1.12
[INFO] [stderr]    Compiling windows-service-template v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved imports `windows_service::service`, `windows_service::service_control_handler`, `windows_service::service_control_handler`, `windows_service::service_dispatcher`
[INFO] [stdout]   --> src/main.rs:6:5
[INFO] [stdout]    |
[INFO] [stdout] 6  |     service::
[INFO] [stdout]    |     ^^^^^^^ could not find `service` in `windows_service`
[INFO] [stdout] ...
[INFO] [stdout] 16 |     service_control_handler::
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^ could not find `service_control_handler` in `windows_service`
[INFO] [stdout] 17 |     {
[INFO] [stdout] 18 |         self, 
[INFO] [stdout]    |         ^^^^ no `service_control_handler` in the root
[INFO] [stdout] ...
[INFO] [stdout] 22 |     service_dispatcher};
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^ no `service_dispatcher` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `define_windows_service` in this scope
[INFO] [stdout]   --> src/main.rs:25:1
[INFO] [stdout]    |
[INFO] [stdout] 25 | define_windows_service!(ffi_service_main, my_service_main);
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Result` in crate `windows_service`
[INFO] [stdout]   --> src/main.rs:44:62
[INFO] [stdout]    |
[INFO] [stdout] 44 | fn run_service(arguments: Vec<OsString>) -> 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] 4  + use std::fmt::Result;
[INFO] [stdout]    |
[INFO] [stdout] 4  + use std::io::Result;
[INFO] [stdout]    |
[INFO] [stdout] 4  + use std::result::Result;
[INFO] [stdout]    |
[INFO] [stdout] 4  + 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] 44 - fn run_service(arguments: Vec<OsString>) -> windows_service::Result<()> {
[INFO] [stdout] 44 + fn run_service(arguments: Vec<OsString>) -> Result<()> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Error` in crate `windows_service`
[INFO] [stdout]    --> src/main.rs:106:42
[INFO] [stdout]     |
[INFO] [stdout] 106 | fn main() -> Result<(), windows_service::Error> {
[INFO] [stdout]     |                                          ^^^^^ not found in `windows_service`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 4   + use std::error::Error;
[INFO] [stdout]     |
[INFO] [stdout] 4   + use std::fmt::Error;
[INFO] [stdout]     |
[INFO] [stdout] 4   + use std::io::Error;
[INFO] [stdout]     |
[INFO] [stdout] 4   + use core::error::Error;
[INFO] [stdout]     |
[INFO] [stdout]       and 1 other candidate
[INFO] [stdout] help: if you import `Error`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 106 - fn main() -> Result<(), windows_service::Error> {
[INFO] [stdout] 106 + fn main() -> Result<(), Error> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ffi_service_main` in this scope
[INFO] [stdout]    --> src/main.rs:109:50
[INFO] [stdout]     |
[INFO] [stdout] 27  | fn my_service_main(arguments: Vec<OsString>) {
[INFO] [stdout]     | -------------------------------------------- similarly named function `my_service_main` defined here
[INFO] [stdout] ...
[INFO] [stdout] 109 |     service_dispatcher::start("servicetemplate", ffi_service_main)?;
[INFO] [stdout]     |                                                  ^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `my_service_main`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]  --> src/main.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[macro_use]
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[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[E0432]: unresolved imports `windows_service::service`, `windows_service::service_control_handler`, `windows_service::service_control_handler`, `windows_service::service_dispatcher`
[INFO] [stdout]   --> src/main.rs:6:5
[INFO] [stdout]    |
[INFO] [stdout] 6  |     service::
[INFO] [stdout]    |     ^^^^^^^ could not find `service` in `windows_service`
[INFO] [stdout] ...
[INFO] [stdout] 16 |     service_control_handler::
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^ could not find `service_control_handler` in `windows_service`
[INFO] [stdout] 17 |     {
[INFO] [stdout] 18 |         self, 
[INFO] [stdout]    |         ^^^^ no `service_control_handler` in the root
[INFO] [stdout] ...
[INFO] [stdout] 22 |     service_dispatcher};
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^ no `service_dispatcher` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `windows-service-template` (bin "ServiceTemplate" test) due to 5 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: cannot find macro `define_windows_service` in this scope
[INFO] [stdout]   --> src/main.rs:25:1
[INFO] [stdout]    |
[INFO] [stdout] 25 | define_windows_service!(ffi_service_main, my_service_main);
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Result` in crate `windows_service`
[INFO] [stdout]   --> src/main.rs:44:62
[INFO] [stdout]    |
[INFO] [stdout] 44 | fn run_service(arguments: Vec<OsString>) -> 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] 4  + use std::fmt::Result;
[INFO] [stdout]    |
[INFO] [stdout] 4  + use std::io::Result;
[INFO] [stdout]    |
[INFO] [stdout] 4  + use std::result::Result;
[INFO] [stdout]    |
[INFO] [stdout] 4  + 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] 44 - fn run_service(arguments: Vec<OsString>) -> windows_service::Result<()> {
[INFO] [stdout] 44 + fn run_service(arguments: Vec<OsString>) -> Result<()> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Error` in crate `windows_service`
[INFO] [stdout]    --> src/main.rs:106:42
[INFO] [stdout]     |
[INFO] [stdout] 106 | fn main() -> Result<(), windows_service::Error> {
[INFO] [stdout]     |                                          ^^^^^ not found in `windows_service`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 4   + use std::error::Error;
[INFO] [stdout]     |
[INFO] [stdout] 4   + use std::fmt::Error;
[INFO] [stdout]     |
[INFO] [stdout] 4   + use std::io::Error;
[INFO] [stdout]     |
[INFO] [stdout] 4   + use core::error::Error;
[INFO] [stdout]     |
[INFO] [stdout]       and 1 other candidate
[INFO] [stdout] help: if you import `Error`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 106 - fn main() -> Result<(), windows_service::Error> {
[INFO] [stdout] 106 + fn main() -> Result<(), Error> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ffi_service_main` in this scope
[INFO] [stdout]    --> src/main.rs:109:50
[INFO] [stdout]     |
[INFO] [stdout] 27  | fn my_service_main(arguments: Vec<OsString>) {
[INFO] [stdout]     | -------------------------------------------- similarly named function `my_service_main` defined here
[INFO] [stdout] ...
[INFO] [stdout] 109 |     service_dispatcher::start("servicetemplate", ffi_service_main)?;
[INFO] [stdout]     |                                                  ^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `my_service_main`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]  --> src/main.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[macro_use]
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[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] [stderr] error: could not compile `windows-service-template` (bin "ServiceTemplate") due to 5 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "fc7c90fcab3e1bcb2285d8d3f3a793497995b3e59d9b5123b4d0d84e162b70d3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fc7c90fcab3e1bcb2285d8d3f3a793497995b3e59d9b5123b4d0d84e162b70d3", kill_on_drop: false }`
[INFO] [stdout] fc7c90fcab3e1bcb2285d8d3f3a793497995b3e59d9b5123b4d0d84e162b70d3
