[INFO] cloning repository https://github.com/jcksnvllxr80/windows_rs_service [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jcksnvllxr80/windows_rs_service" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjcksnvllxr80%2Fwindows_rs_service", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjcksnvllxr80%2Fwindows_rs_service'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9c0fce1d7144b32328738c4b64e9be303f733a41 [INFO] testing jcksnvllxr80/windows_rs_service against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjcksnvllxr80%2Fwindows_rs_service" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/jcksnvllxr80/windows_rs_service [INFO] finished tweaking git repo https://github.com/jcksnvllxr80/windows_rs_service [INFO] tweaked toml for git repo https://github.com/jcksnvllxr80/windows_rs_service written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jcksnvllxr80/windows_rs_service on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jcksnvllxr80/windows_rs_service 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" "+caccb4d0368bd918ef6668af8e13834d07040417" "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] Downloading crates ... [INFO] [stderr] Downloaded simplelog v0.12.2 [INFO] [stderr] Downloaded windows-service v0.7.0 [INFO] [stderr] Downloaded widestring v1.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b867bafb8326a3efa1cfab113470327f32ce1a6171ac2e6ec3c8b2fdbc137f4b [INFO] running `Command { std: "docker" "start" "-a" "b867bafb8326a3efa1cfab113470327f32ce1a6171ac2e6ec3c8b2fdbc137f4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b867bafb8326a3efa1cfab113470327f32ce1a6171ac2e6ec3c8b2fdbc137f4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b867bafb8326a3efa1cfab113470327f32ce1a6171ac2e6ec3c8b2fdbc137f4b", kill_on_drop: false }` [INFO] [stdout] b867bafb8326a3efa1cfab113470327f32ce1a6171ac2e6ec3c8b2fdbc137f4b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bca912127e3af9f4a5f32b98d2d6115b5f06d37bc12f1aa7e000b6ed1faca9da [INFO] running `Command { std: "docker" "start" "-a" "bca912127e3af9f4a5f32b98d2d6115b5f06d37bc12f1aa7e000b6ed1faca9da", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling num_threads v0.1.7 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling windows-service v0.7.0 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling simplelog v0.12.2 [INFO] [stderr] Compiling windows_rs_service v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved imports `windows_service::define_windows_service`, `windows_service::service`, `windows_service::service_control_handler`, `windows_service::service_control_handler`, `windows_service::service_dispatcher` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | define_windows_service, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ no `define_windows_service` in the root [INFO] [stdout] 5 | service::{ [INFO] [stdout] | ^^^^^^^ could not find `service` in `windows_service` [INFO] [stdout] ... [INFO] [stdout] 9 | service_control_handler::{self, ServiceControlHandlerResult}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ no `service_control_handler` in the root [INFO] [stdout] | | [INFO] [stdout] | could not find `service_control_handler` in `windows_service` [INFO] [stdout] 10 | service_dispatcher, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ no `service_dispatcher` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Result` in crate `windows_service` [INFO] [stdout] --> src/main.rs:27:38 [INFO] [stdout] | [INFO] [stdout] 27 | 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] 1 + use crate::thread::Result; [INFO] [stdout] | [INFO] [stdout] 1 + use std::fmt::Result; [INFO] [stdout] | [INFO] [stdout] 1 + use std::io::Result; [INFO] [stdout] | [INFO] [stdout] 1 + use std::result::Result; [INFO] [stdout] | [INFO] [stdout] = and 3 other candidates [INFO] [stdout] help: if you import `Result`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 27 - fn run_service() -> windows_service::Result<()> { [INFO] [stdout] 27 + fn run_service() -> Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Error` in `windows_service` [INFO] [stdout] --> src/main.rs:33:43 [INFO] [stdout] | [INFO] [stdout] 33 | .map_err(|e| windows_service::Error::Winapi(e))?, [INFO] [stdout] | ^^^^^ could not find `Error` in `windows_service` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 1 + 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] 33 - .map_err(|e| windows_service::Error::Winapi(e))?, [INFO] [stdout] 33 + .map_err(|e| Error::Winapi(e))?, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Error` in `windows_service` [INFO] [stdout] --> src/main.rs:34:36 [INFO] [stdout] | [INFO] [stdout] 34 | ).map_err(|e| windows_service::Error::Winapi(std::io::Error::new(std::io::ErrorKind::Other, e.to_string())))?; [INFO] [stdout] | ^^^^^ could not find `Error` in `windows_service` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 1 + 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] 34 - ).map_err(|e| windows_service::Error::Winapi(std::io::Error::new(std::io::ErrorKind::Other, e.to_string())))?; [INFO] [stdout] 34 + ).map_err(|e| Error::Winapi(std::io::Error::new(std::io::ErrorKind::Other, e.to_string())))?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Result` in crate `windows_service` [INFO] [stdout] --> src/main.rs:88:31 [INFO] [stdout] | [INFO] [stdout] 88 | 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] 1 + use crate::thread::Result; [INFO] [stdout] | [INFO] [stdout] 1 + use std::fmt::Result; [INFO] [stdout] | [INFO] [stdout] 1 + use std::io::Result; [INFO] [stdout] | [INFO] [stdout] 1 + use std::result::Result; [INFO] [stdout] | [INFO] [stdout] = and 3 other candidates [INFO] [stdout] help: if you import `Result`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 88 - fn main() -> windows_service::Result<()> { [INFO] [stdout] 88 + 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:89:45 [INFO] [stdout] | [INFO] [stdout] 21 | fn my_service_main(_arguments: Vec) { [INFO] [stdout] | ------------------------------------------------------- similarly named function `my_service_main` defined here [INFO] [stdout] ... [INFO] [stdout] 89 | service_dispatcher::start(SERVICE_NAME, 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, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `windows_rs_service` (bin "windows_rs_service") due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "bca912127e3af9f4a5f32b98d2d6115b5f06d37bc12f1aa7e000b6ed1faca9da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bca912127e3af9f4a5f32b98d2d6115b5f06d37bc12f1aa7e000b6ed1faca9da", kill_on_drop: false }` [INFO] [stdout] bca912127e3af9f4a5f32b98d2d6115b5f06d37bc12f1aa7e000b6ed1faca9da