[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/994308616e3c8d29bdc088ce52e01fbd1d08663f against try#498fce24f39c1ecbb0abe08824e72162da853341 for pr-129935 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHuskyHacks%2FRustySCShell" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/HuskyHacks/RustySCShell on toolchain 498fce24f39c1ecbb0abe08824e72162da853341 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+498fce24f39c1ecbb0abe08824e72162da853341" "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-2-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" "+498fce24f39c1ecbb0abe08824e72162da853341" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking HuskyHacks/RustySCShell/994308616e3c8d29bdc088ce52e01fbd1d08663f against try#498fce24f39c1ecbb0abe08824e72162da853341 for pr-129935 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHuskyHacks%2FRustySCShell" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/HuskyHacks/RustySCShell on toolchain 498fce24f39c1ecbb0abe08824e72162da853341 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+498fce24f39c1ecbb0abe08824e72162da853341" "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-2-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" "+498fce24f39c1ecbb0abe08824e72162da853341" "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] 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:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+498fce24f39c1ecbb0abe08824e72162da853341" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d07a0427e9ad67e5e8b5f18d6736ee74cc93e459ff5fb9b2d27d052b653285d1 [INFO] running `Command { std: "docker" "start" "-a" "d07a0427e9ad67e5e8b5f18d6736ee74cc93e459ff5fb9b2d27d052b653285d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d07a0427e9ad67e5e8b5f18d6736ee74cc93e459ff5fb9b2d27d052b653285d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d07a0427e9ad67e5e8b5f18d6736ee74cc93e459ff5fb9b2d27d052b653285d1", kill_on_drop: false }` [INFO] [stdout] d07a0427e9ad67e5e8b5f18d6736ee74cc93e459ff5fb9b2d27d052b653285d1 [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:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+498fce24f39c1ecbb0abe08824e72162da853341" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3e6b43c786be203ddfe596c4a2045f2b3a77a93e36290a71c9474a300e02d551 [INFO] running `Command { std: "docker" "start" "-a" "3e6b43c786be203ddfe596c4a2045f2b3a77a93e36290a71c9474a300e02d551", 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: `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: `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: `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: `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: `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: `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: `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: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: 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: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 `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: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 `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 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 `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 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 `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 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 `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 2.09s [INFO] running `Command { std: "docker" "inspect" "3e6b43c786be203ddfe596c4a2045f2b3a77a93e36290a71c9474a300e02d551", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e6b43c786be203ddfe596c4a2045f2b3a77a93e36290a71c9474a300e02d551", kill_on_drop: false }` [INFO] [stdout] 3e6b43c786be203ddfe596c4a2045f2b3a77a93e36290a71c9474a300e02d551