[INFO] cloning repository https://github.com/HuskyHacks/RustySCShell [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/HuskyHacks/RustySCShell" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHuskyHacks%2FRustySCShell", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHuskyHacks%2FRustySCShell'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 994308616e3c8d29bdc088ce52e01fbd1d08663f [INFO] checking HuskyHacks/RustySCShell against master#426a60abc213b28a7c7198e475476b6e650d871f for pr-129199 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHuskyHacks%2FRustySCShell" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/HuskyHacks/RustySCShell on toolchain 426a60abc213b28a7c7198e475476b6e650d871f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+426a60abc213b28a7c7198e475476b6e650d871f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/HuskyHacks/RustySCShell [INFO] finished tweaking git repo https://github.com/HuskyHacks/RustySCShell [INFO] tweaked toml for git repo https://github.com/HuskyHacks/RustySCShell written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/HuskyHacks/RustySCShell 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" "+426a60abc213b28a7c7198e475476b6e650d871f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking HuskyHacks/RustySCShell against try#2c70eb47850052381670935f807d41647a7dc992 for pr-129199 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHuskyHacks%2FRustySCShell" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/HuskyHacks/RustySCShell on toolchain 2c70eb47850052381670935f807d41647a7dc992 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2c70eb47850052381670935f807d41647a7dc992" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/HuskyHacks/RustySCShell [INFO] finished tweaking git repo https://github.com/HuskyHacks/RustySCShell [INFO] tweaked toml for git repo https://github.com/HuskyHacks/RustySCShell written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/HuskyHacks/RustySCShell 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" "+2c70eb47850052381670935f807d41647a7dc992" "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_i686_msvc v0.35.0 [INFO] [stderr] Downloaded windows_aarch64_msvc v0.35.0 [INFO] [stderr] Downloaded windows_x86_64_msvc v0.35.0 [INFO] [stderr] Downloaded windows_x86_64_gnu v0.35.0 [INFO] [stderr] Downloaded windows_i686_gnu v0.35.0 [INFO] [stderr] Downloaded windows v0.35.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+2c70eb47850052381670935f807d41647a7dc992" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 60c05bec0bf86a57f428a31d203b7b2a835058c5da1216dacc95ec503748ccfc [INFO] running `Command { std: "docker" "start" "-a" "60c05bec0bf86a57f428a31d203b7b2a835058c5da1216dacc95ec503748ccfc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "60c05bec0bf86a57f428a31d203b7b2a835058c5da1216dacc95ec503748ccfc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "60c05bec0bf86a57f428a31d203b7b2a835058c5da1216dacc95ec503748ccfc", kill_on_drop: false }` [INFO] [stdout] 60c05bec0bf86a57f428a31d203b7b2a835058c5da1216dacc95ec503748ccfc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+2c70eb47850052381670935f807d41647a7dc992" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 83cbc552776835d76fe4037491c75aeda0e64f8e2c430d31b60ab6b1bf4800db [INFO] running `Command { std: "docker" "start" "-a" "83cbc552776835d76fe4037491c75aeda0e64f8e2c430d31b60ab6b1bf4800db", kill_on_drop: false }` [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Checking windows v0.35.0 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Checking Rusty_SCShell v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `windows::core::Error` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use windows::core::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GetServiceKeyNameA` and `Memory::GPTR` [INFO] [stdout] --> src/main.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | ... Memory::GPTR, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | ... QUERY_SERVICE_CONFIGA, SERVICES_ACTIVE_DATABASE, SC_MANAGER_ALL_ACCESS, SERVICE_ALL_ACCESS, CloseServiceHandle, GetServiceKeyNameA,SE... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `windows::core::Error` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use windows::core::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GetServiceKeyNameA` and `Memory::GPTR` [INFO] [stdout] --> src/main.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | ... Memory::GPTR, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | ... QUERY_SERVICE_CONFIGA, SERVICES_ACTIVE_DATABASE, SC_MANAGER_ALL_ACCESS, SERVICE_ALL_ACCESS, CloseServiceHandle, GetServiceKeyNameA,SE... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lpqsc` [INFO] [stdout] --> src/main.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | let mut lpqsc: QUERY_SERVICE_CONFIGA; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lpqsc` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lpqsize` [INFO] [stdout] --> src/main.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | let mut lpqsize: u32; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lpqsize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `originalBinaryPath` [INFO] [stdout] --> src/main.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | let mut originalBinaryPath: &str; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_originalBinaryPath` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/main.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | let mut result: bool = false; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bResult` [INFO] [stdout] --> src/main.rs:80:17 [INFO] [stdout] | [INFO] [stdout] 80 | let bResult: BOOL = LogonUserA( [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bResult` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bResult` [INFO] [stdout] --> src/main.rs:99:17 [INFO] [stdout] | [INFO] [stdout] 99 | let mut bResult: BOOL = ImpersonateLoggedOnUser(hToken); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bResult` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `schManager` [INFO] [stdout] --> src/main.rs:105:17 [INFO] [stdout] | [INFO] [stdout] 105 | let mut schManager: SC_HANDLE = SC_HANDLE(0); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_schManager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lpqsc` [INFO] [stdout] --> src/main.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | let mut lpqsc: QUERY_SERVICE_CONFIGA; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lpqsc` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lpqsize` [INFO] [stdout] --> src/main.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | let mut lpqsize: u32; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lpqsize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `originalBinaryPath` [INFO] [stdout] --> src/main.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | let mut originalBinaryPath: &str; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_originalBinaryPath` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/main.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | let mut result: bool = false; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bResult` [INFO] [stdout] --> src/main.rs:80:17 [INFO] [stdout] | [INFO] [stdout] 80 | let bResult: BOOL = LogonUserA( [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bResult` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bResult` [INFO] [stdout] --> src/main.rs:99:17 [INFO] [stdout] | [INFO] [stdout] 99 | let mut bResult: BOOL = ImpersonateLoggedOnUser(hToken); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bResult` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `schManager` [INFO] [stdout] --> src/main.rs:105:17 [INFO] [stdout] | [INFO] [stdout] 105 | let mut schManager: SC_HANDLE = SC_HANDLE(0); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_schManager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | mut target_host: &str, [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | let mut result: bool = false; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 99 | let mut bResult: BOOL = ImpersonateLoggedOnUser(hToken); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | let mut schManager: SC_HANDLE = SC_HANDLE(0); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | mut target_host: &str, [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 145 | let mut bResult: BOOL = ChangeServiceConfigA( [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | let mut result: bool = false; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `SCShell` should have a snake case name [INFO] [stdout] --> src/main.rs:39:4 [INFO] [stdout] | [INFO] [stdout] 39 | fn SCShell( [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `scshell` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `originalBinaryPath` should have a snake case name [INFO] [stdout] --> src/main.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | let mut originalBinaryPath: &str; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `original_binary_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 99 | let mut bResult: BOOL = ImpersonateLoggedOnUser(hToken); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `hToken` should have a snake case name [INFO] [stdout] --> src/main.rs:77:17 [INFO] [stdout] | [INFO] [stdout] 77 | let mut hToken: HANDLE = HANDLE(0); [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `h_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | let mut schManager: SC_HANDLE = SC_HANDLE(0); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 145 | let mut bResult: BOOL = ChangeServiceConfigA( [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `bResult` should have a snake case name [INFO] [stdout] --> src/main.rs:80:17 [INFO] [stdout] | [INFO] [stdout] 80 | let bResult: BOOL = LogonUserA( [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `b_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `bResult` should have a snake case name [INFO] [stdout] --> src/main.rs:99:17 [INFO] [stdout] | [INFO] [stdout] 99 | let mut bResult: BOOL = ImpersonateLoggedOnUser(hToken); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `b_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `schManager` should have a snake case name [INFO] [stdout] --> src/main.rs:105:17 [INFO] [stdout] | [INFO] [stdout] 105 | let mut schManager: SC_HANDLE = SC_HANDLE(0); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `sch_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `schManager` should have a snake case name [INFO] [stdout] --> src/main.rs:106:13 [INFO] [stdout] | [INFO] [stdout] 106 | let schManager: SC_HANDLE = OpenSCManagerA( [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `sch_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `schService` should have a snake case name [INFO] [stdout] --> src/main.rs:121:13 [INFO] [stdout] | [INFO] [stdout] 121 | let schService: SC_HANDLE = OpenServiceA( [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `sch_service` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `dwSize` should have a snake case name [INFO] [stdout] --> src/main.rs:136:17 [INFO] [stdout] | [INFO] [stdout] 136 | let mut dwSize: u32 = 0; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `dw_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `bResult` should have a snake case name [INFO] [stdout] --> src/main.rs:145:17 [INFO] [stdout] | [INFO] [stdout] 145 | let mut bResult: BOOL = ChangeServiceConfigA( [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `b_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `bResult` should have a snake case name [INFO] [stdout] --> src/main.rs:162:13 [INFO] [stdout] | [INFO] [stdout] 162 | let bResult: BOOL = StartServiceA(schService, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `b_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `SCShell` should have a snake case name [INFO] [stdout] --> src/main.rs:39:4 [INFO] [stdout] | [INFO] [stdout] 39 | fn SCShell( [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `scshell` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `originalBinaryPath` should have a snake case name [INFO] [stdout] --> src/main.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | let mut originalBinaryPath: &str; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `original_binary_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `hToken` should have a snake case name [INFO] [stdout] --> src/main.rs:77:17 [INFO] [stdout] | [INFO] [stdout] 77 | let mut hToken: HANDLE = HANDLE(0); [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `h_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `bResult` should have a snake case name [INFO] [stdout] --> src/main.rs:80:17 [INFO] [stdout] | [INFO] [stdout] 80 | let bResult: BOOL = LogonUserA( [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `b_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `bResult` should have a snake case name [INFO] [stdout] --> src/main.rs:99:17 [INFO] [stdout] | [INFO] [stdout] 99 | let mut bResult: BOOL = ImpersonateLoggedOnUser(hToken); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `b_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `schManager` should have a snake case name [INFO] [stdout] --> src/main.rs:105:17 [INFO] [stdout] | [INFO] [stdout] 105 | let mut schManager: SC_HANDLE = SC_HANDLE(0); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `sch_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `schManager` should have a snake case name [INFO] [stdout] --> src/main.rs:106:13 [INFO] [stdout] | [INFO] [stdout] 106 | let schManager: SC_HANDLE = OpenSCManagerA( [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `sch_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `schService` should have a snake case name [INFO] [stdout] --> src/main.rs:121:13 [INFO] [stdout] | [INFO] [stdout] 121 | let schService: SC_HANDLE = OpenServiceA( [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `sch_service` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `dwSize` should have a snake case name [INFO] [stdout] --> src/main.rs:136:17 [INFO] [stdout] | [INFO] [stdout] 136 | let mut dwSize: u32 = 0; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `dw_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `bResult` should have a snake case name [INFO] [stdout] --> src/main.rs:145:17 [INFO] [stdout] | [INFO] [stdout] 145 | let mut bResult: BOOL = ChangeServiceConfigA( [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `b_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `bResult` should have a snake case name [INFO] [stdout] --> src/main.rs:162:13 [INFO] [stdout] | [INFO] [stdout] 162 | let bResult: BOOL = StartServiceA(schService, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `b_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.20s [INFO] running `Command { std: "docker" "inspect" "83cbc552776835d76fe4037491c75aeda0e64f8e2c430d31b60ab6b1bf4800db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83cbc552776835d76fe4037491c75aeda0e64f8e2c430d31b60ab6b1bf4800db", kill_on_drop: false }` [INFO] [stdout] 83cbc552776835d76fe4037491c75aeda0e64f8e2c430d31b60ab6b1bf4800db