[INFO] cloning repository https://github.com/arloor/keep_wsl [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/arloor/keep_wsl" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farloor%2Fkeep_wsl", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farloor%2Fkeep_wsl'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 47b4093f2765fb6438a6fa9c5028d22ff42fb924 [INFO] testing arloor/keep_wsl against try#17092ad00ed8fe1e7f81a7e38238ff70779034b1 for pr-140985 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farloor%2Fkeep_wsl" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/arloor/keep_wsl on toolchain 17092ad00ed8fe1e7f81a7e38238ff70779034b1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/arloor/keep_wsl [INFO] finished tweaking git repo https://github.com/arloor/keep_wsl [INFO] tweaked toml for git repo https://github.com/arloor/keep_wsl written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/arloor/keep_wsl 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" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded windows-service v0.7.0 [INFO] [stderr] Downloaded sysexits v0.8.5 [INFO] [stderr] Downloaded flexi_logger v0.29.8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 81e26a7aad7e2b901e904e1cf9df2c59cf5eefae0a99ebf13e171ae77c4e21e3 [INFO] running `Command { std: "docker" "start" "-a" "81e26a7aad7e2b901e904e1cf9df2c59cf5eefae0a99ebf13e171ae77c4e21e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "81e26a7aad7e2b901e904e1cf9df2c59cf5eefae0a99ebf13e171ae77c4e21e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81e26a7aad7e2b901e904e1cf9df2c59cf5eefae0a99ebf13e171ae77c4e21e3", kill_on_drop: false }` [INFO] [stdout] 81e26a7aad7e2b901e904e1cf9df2c59cf5eefae0a99ebf13e171ae77c4e21e3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b97e00610b0fbb62017a8d387fc415eb773a314b83d80c09690679b67ba6c7cc [INFO] running `Command { std: "docker" "start" "-a" "b97e00610b0fbb62017a8d387fc415eb773a314b83d80c09690679b67ba6c7cc", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling thiserror v2.0.9 [INFO] [stderr] Compiling pin-project-lite v0.2.15 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling clap_builder v4.5.23 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling nu-ansi-term v0.50.1 [INFO] [stderr] Compiling bytes v1.9.0 [INFO] [stderr] Compiling windows-service v0.7.0 [INFO] [stderr] Compiling sysexits v0.8.5 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.93 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling chrono v0.4.39 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling thiserror-impl v2.0.9 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling clap_derive v4.5.18 [INFO] [stderr] Compiling tokio v1.42.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling flexi_logger v0.29.8 [INFO] [stderr] Compiling clap v4.5.23 [INFO] [stderr] Compiling keep_wsl 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:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | define_windows_service, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ no `define_windows_service` in the root [INFO] [stdout] 22 | service::{ [INFO] [stdout] | ^^^^^^^ could not find `service` in `windows_service` [INFO] [stdout] ... [INFO] [stdout] 26 | service_control_handler::{self, ServiceControlHandlerResult, ServiceStatusHandle}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ no `service_control_handler` in the root [INFO] [stdout] | | [INFO] [stdout] | could not find `service_control_handler` in `windows_service` [INFO] [stdout] 27 | service_dispatcher, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ no `service_dispatcher` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in crate `windows_service` [INFO] [stdout] --> src/main.rs:41:34 [INFO] [stdout] | [INFO] [stdout] 41 | ) -> 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] 2 + use crate::io::Error; [INFO] [stdout] | [INFO] [stdout] 2 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 2 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 2 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] and 6 other candidates [INFO] [stdout] help: if you import `Error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 41 - ) -> Result<(), windows_service::Error> { [INFO] [stdout] 41 + ) -> Result<(), Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in crate `windows_service` [INFO] [stdout] --> src/main.rs:68:34 [INFO] [stdout] | [INFO] [stdout] 68 | ) -> 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] 2 + use crate::io::Error; [INFO] [stdout] | [INFO] [stdout] 2 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 2 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 2 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] and 6 other candidates [INFO] [stdout] help: if you import `Error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 68 - ) -> Result<(), windows_service::Error> [INFO] [stdout] 68 + ) -> Result<(), Error> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in crate `windows_service` [INFO] [stdout] --> src/main.rs:128:74 [INFO] [stdout] | [INFO] [stdout] 128 | fn service_main(arguments: Vec) -> 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] 2 + use crate::io::Error; [INFO] [stdout] | [INFO] [stdout] 2 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 2 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 2 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] and 6 other candidates [INFO] [stdout] help: if you import `Error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 128 - fn service_main(arguments: Vec) -> Result<(), windows_service::Error> { [INFO] [stdout] 128 + fn service_main(arguments: Vec) -> Result<(), Error> { [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:185:41 [INFO] [stdout] | [INFO] [stdout] 185 | return Err(windows_service::Error::LaunchArgumentsNotSupported); [INFO] [stdout] | ^^^^^ could not find `Error` in `windows_service` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use crate::io::Error; [INFO] [stdout] | [INFO] [stdout] 2 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 2 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 2 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] and 6 other candidates [INFO] [stdout] help: if you import `Error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 185 - return Err(windows_service::Error::LaunchArgumentsNotSupported); [INFO] [stdout] 185 + return Err(Error::LaunchArgumentsNotSupported); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in crate `windows_service` [INFO] [stdout] --> src/main.rs:200:42 [INFO] [stdout] | [INFO] [stdout] 200 | 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] 2 + use crate::io::Error; [INFO] [stdout] | [INFO] [stdout] 2 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 2 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 2 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] and 6 other candidates [INFO] [stdout] help: if you import `Error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 200 - fn main() -> Result<(), windows_service::Error> { [INFO] [stdout] 200 + fn main() -> Result<(), Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ffi_service_entry` in this scope [INFO] [stdout] --> src/main.rs:202:45 [INFO] [stdout] | [INFO] [stdout] 192 | fn service_entry(arguments: Vec) { [INFO] [stdout] | ------------------------------------------ similarly named function `service_entry` defined here [INFO] [stdout] ... [INFO] [stdout] 202 | service_dispatcher::start(SERVICE_NAME, ffi_service_entry)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `service_entry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `default` and `env::args` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | default, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 4 | env::args, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `matches` [INFO] [stdout] --> src/main.rs:207:15 [INFO] [stdout] | [INFO] [stdout] 207 | pub fn create(matches: &ArgMatches) -> Result<(Runtime, impl Future), ExitCode> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_matches` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [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 `keep_wsl` (bin "keep_wsl") due to 7 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b97e00610b0fbb62017a8d387fc415eb773a314b83d80c09690679b67ba6c7cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b97e00610b0fbb62017a8d387fc415eb773a314b83d80c09690679b67ba6c7cc", kill_on_drop: false }` [INFO] [stdout] b97e00610b0fbb62017a8d387fc415eb773a314b83d80c09690679b67ba6c7cc