[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#438eb4c1a1c3841523d7f672601e8adbe04cff28 for pr-147589-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FConfused-Engineer%2FWindows-Service-Template" "/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/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-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Confused-Engineer/Windows-Service-Template on toolchain 438eb4c1a1c3841523d7f672601e8adbe04cff28
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+438eb4c1a1c3841523d7f672601e8adbe04cff28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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" "+438eb4c1a1c3841523d7f672601e8adbe04cff28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+438eb4c1a1c3841523d7f672601e8adbe04cff28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 9e07dab59487ddec1b51ae774ab9ef6ccf443c5cd24b4cac3f74f6927fa1cbb3
[INFO] running `Command { std: "docker" "start" "-a" "9e07dab59487ddec1b51ae774ab9ef6ccf443c5cd24b4cac3f74f6927fa1cbb3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9e07dab59487ddec1b51ae774ab9ef6ccf443c5cd24b4cac3f74f6927fa1cbb3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9e07dab59487ddec1b51ae774ab9ef6ccf443c5cd24b4cac3f74f6927fa1cbb3", kill_on_drop: false }`
[INFO] [stdout] 9e07dab59487ddec1b51ae774ab9ef6ccf443c5cd24b4cac3f74f6927fa1cbb3
[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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+438eb4c1a1c3841523d7f672601e8adbe04cff28" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b216b3ccfb2a58294cdf79611ea205b7a59d364f32a16d0110e06c0dffcde5d3
[INFO] running `Command { std: "docker" "start" "-a" "b216b3ccfb2a58294cdf79611ea205b7a59d364f32a16d0110e06c0dffcde5d3", 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)]` (part of `#[warn(unused)]`) 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" test) due to 5 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[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)]` (part of `#[warn(unused)]`) 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" "b216b3ccfb2a58294cdf79611ea205b7a59d364f32a16d0110e06c0dffcde5d3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b216b3ccfb2a58294cdf79611ea205b7a59d364f32a16d0110e06c0dffcde5d3", kill_on_drop: false }`
[INFO] [stdout] b216b3ccfb2a58294cdf79611ea205b7a59d364f32a16d0110e06c0dffcde5d3
