[INFO] cloning repository https://github.com/DeeTomPanda/Guard
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DeeTomPanda/Guard" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDeeTomPanda%2FGuard", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDeeTomPanda%2FGuard'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 1b33cf1d585a0a6bbcd05e59e49881192d5a0ce2
[INFO] checking DeeTomPanda/Guard/1b33cf1d585a0a6bbcd05e59e49881192d5a0ce2 against c9ff496891c278ad660bc0ab85c1f0b72059464a for pr-160491
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDeeTomPanda%2FGuard" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/DeeTomPanda/Guard
[INFO] finished tweaking git repo https://github.com/DeeTomPanda/Guard
[INFO] tweaked toml for git repo https://github.com/DeeTomPanda/Guard written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/DeeTomPanda/Guard on toolchain c9ff496891c278ad660bc0ab85c1f0b72059464a
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c9ff496891c278ad660bc0ab85c1f0b72059464a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/DeeTomPanda/Guard 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" "+c9ff496891c278ad660bc0ab85c1f0b72059464a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded typed-builder v0.21.2
[INFO] [stderr]   Downloaded tree-sitter-go v0.25.0
[INFO] [stderr]   Downloaded typed-builder-macro v0.21.2
[INFO] [stderr]   Downloaded schemafy_lib v0.6.0
[INFO] [stderr]   Downloaded schemafy_core v0.6.0
[INFO] [stderr]   Downloaded serde-sarif v0.8.0
[INFO] [stderr]   Downloaded oxc_syntax v0.134.0
[INFO] [stderr]   Downloaded oxc_ast v0.134.0
[INFO] [stderr]   Downloaded unicode-id-start v1.4.0
[INFO] [stderr]   Downloaded oxc_estree v0.134.0
[INFO] [stderr]   Downloaded oxc_str v0.134.0
[INFO] [stderr]   Downloaded oxc_data_structures v0.134.0
[INFO] [stderr]   Downloaded oxc_allocator v0.134.0
[INFO] [stderr]   Downloaded oxc_span v0.134.0
[INFO] [stderr]   Downloaded oxc_ast_macros v0.134.0
[INFO] [stderr]   Downloaded oxc-miette v2.7.1
[INFO] [stderr]   Downloaded oxc_index v4.1.0
[INFO] [stderr]   Downloaded dragonbox_ecma v0.1.12
[INFO] [stderr]   Downloaded oxc_diagnostics v0.134.0
[INFO] [stderr]   Downloaded oxc_traverse v0.134.0
[INFO] [stderr]   Downloaded oxc_regular_expression v0.134.0
[INFO] [stderr]   Downloaded cow-utils v0.1.3
[INFO] [stderr]   Downloaded oxc_ast_visit v0.134.0
[INFO] [stderr]   Downloaded oxc-miette-derive v2.7.1
[INFO] [stderr]   Downloaded oxc_transformer_plugins v0.134.0
[INFO] [stderr]   Downloaded oxc_ecmascript v0.134.0
[INFO] [stderr]   Downloaded oxc_compat v0.134.0
[INFO] [stderr]   Downloaded oxc_semantic v0.134.0
[INFO] [stderr]   Downloaded oxc_mangler v0.134.0
[INFO] [stderr]   Downloaded json-escape-simd v3.0.2
[INFO] [stderr]   Downloaded oxc_isolated_declarations v0.134.0
[INFO] [stderr]   Downloaded oxc_sourcemap v7.0.0
[INFO] [stderr]   Downloaded oxc_codegen v0.134.0
[INFO] [stderr]   Downloaded oxc-browserslist v3.0.4
[INFO] [stderr]   Downloaded oxc_transformer v0.134.0
[INFO] [stderr]   Downloaded ignore v0.4.27
[INFO] [stderr]   Downloaded oxc_parser v0.134.0
[INFO] [stderr]   Downloaded oxc_minifier v0.134.0
[INFO] [stderr]   Downloaded oxc v0.134.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] e5edf3b23a065337584ec0e571086abb85f103070c17b7ba32430acca8ec7de5
[INFO] running `Command { std: "docker" "start" "e5edf3b23a065337584ec0e571086abb85f103070c17b7ba32430acca8ec7de5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e5edf3b23a065337584ec0e571086abb85f103070c17b7ba32430acca8ec7de5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e5edf3b23a065337584ec0e571086abb85f103070c17b7ba32430acca8ec7de5" "/opt/rustwide/cargo-home/bin/cargo" "+c9ff496891c278ad660bc0ab85c1f0b72059464a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e5edf3b23a065337584ec0e571086abb85f103070c17b7ba32430acca8ec7de5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e5edf3b23a065337584ec0e571086abb85f103070c17b7ba32430acca8ec7de5" "/opt/rustwide/cargo-home/bin/cargo" "+c9ff496891c278ad660bc0ab85c1f0b72059464a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling phf_shared v0.13.1
[INFO] [stderr]     Checking str_indices v0.4.4
[INFO] [stderr]     Checking allocator-api2 v0.2.21
[INFO] [stderr]    Compiling owo-colors v4.3.0
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]     Checking smawk v0.3.2
[INFO] [stderr]     Checking castaway v0.2.4
[INFO] [stderr]    Compiling fastrand v2.4.1
[INFO] [stderr]     Checking compact_str v0.9.1
[INFO] [stderr]     Checking textwrap v0.16.2
[INFO] [stderr]     Checking oxc_estree v0.134.0
[INFO] [stderr]    Compiling dragonbox_ecma v0.1.12
[INFO] [stderr]    Compiling phf v0.13.1
[INFO] [stderr]    Compiling phf_generator v0.13.1
[INFO] [stderr]     Checking cow-utils v0.1.3
[INFO] [stderr]     Checking hashbrown v0.17.1
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking unicode-id-start v1.4.0
[INFO] [stderr]     Checking nonmax v0.5.5
[INFO] [stderr]    Compiling memchr v2.8.1
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling serde_json v1.0.150
[INFO] [stderr]     Checking itertools v0.14.0
[INFO] [stderr]     Checking self_cell v1.2.2
[INFO] [stderr]     Checking hybrid-array v0.4.12
[INFO] [stderr]    Compiling aho-corasick v1.1.4
[INFO] [stderr]    Compiling cc v1.2.64
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling tree-sitter-language v0.1.7
[INFO] [stderr]     Checking num-bigint v0.4.6
[INFO] [stderr]     Checking crypto-common v0.2.2
[INFO] [stderr]     Checking block-buffer v0.12.0
[INFO] [stderr]    Compiling regex-automata v0.4.14
[INFO] [stderr]    Compiling uriparse v0.6.4
[INFO] [stderr]    Compiling anyhow v1.0.102
[INFO] [stderr]     Checking digest v0.11.3
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking slab v0.4.12
[INFO] [stderr]     Checking vsimd v0.8.0
[INFO] [stderr]     Checking outref v0.5.2
[INFO] [stderr]    Compiling oxc_sourcemap v7.0.0
[INFO] [stderr]     Checking futures-util v0.3.32
[INFO] [stderr]     Checking base64-simd v0.8.0
[INFO] [stderr]    Compiling prettyplease v0.2.37
[INFO] [stderr]    Compiling mime_guess v2.0.5
[INFO] [stderr]     Checking indexmap v2.14.0
[INFO] [stderr]     Checking sha1 v0.11.0
[INFO] [stderr]     Checking tracing v0.1.44
[INFO] [stderr]     Checking json-escape-simd v3.0.2
[INFO] [stderr]    Compiling regex v1.12.3
[INFO] [stderr]    Compiling tree-sitter v0.25.10
[INFO] [stderr]    Compiling tree-sitter-go v0.25.0
[INFO] [stderr]     Checking is-docker v0.2.0
[INFO] [stderr]     Checking bstr v1.12.3
[INFO] [stderr]    Compiling Inflector v0.11.4
[INFO] [stderr]     Checking is-wsl v0.4.0
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling thiserror-impl v2.0.18
[INFO] [stderr]    Compiling oxc-miette-derive v2.7.1
[INFO] [stderr]    Compiling phf_macros v0.13.1
[INFO] [stderr]    Compiling oxc_ast_macros v0.134.0
[INFO] [stderr]    Compiling tokio-macros v2.7.0
[INFO] [stderr]    Compiling typed-builder-macro v0.21.2
[INFO] [stderr]     Checking globset v0.4.18
[INFO] [stderr]    Compiling strum_macros v0.27.2
[INFO] [stderr]    Compiling clap_derive v4.6.1
[INFO] [stderr]     Checking axum-core v0.5.6
[INFO] [stderr]     Checking strum v0.27.2
[INFO] [stderr]     Checking thiserror v2.0.18
[INFO] [stderr]     Checking streaming-iterator v0.1.9
[INFO] [stderr]     Checking oxc-miette v2.7.1
[INFO] [stderr]     Checking cobs v0.3.0
[INFO] [stderr]     Checking chrono v0.4.45
[INFO] [stderr]     Checking oxc_diagnostics v0.134.0
[INFO] [stderr]     Checking typed-builder v0.21.2
[INFO] [stderr]     Checking open v5.3.5
[INFO] [stderr]     Checking uuid v1.23.2
[INFO] [stderr]     Checking rayon v1.12.0
[INFO] [stderr]     Checking ignore v0.4.27
[INFO] [stderr]     Checking clap v4.6.1
[INFO] [stderr]    Compiling schemafy_core v0.6.0
[INFO] [stderr]    Compiling schemafy_lib v0.6.0
[INFO] [stderr]     Checking smallvec v1.15.1
[INFO] [stderr]     Checking oxc_index v4.1.0
[INFO] [stderr]     Checking postcard v1.1.3
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking ropey v1.6.1
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]     Checking oxc-browserslist v3.0.4
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]     Checking tokio v1.52.3
[INFO] [stderr]     Checking oxc_data_structures v0.134.0
[INFO] [stderr]     Checking oxc_allocator v0.134.0
[INFO] [stderr]    Compiling serde-sarif v0.8.0
[INFO] [stderr]     Checking oxc_str v0.134.0
[INFO] [stderr]     Checking oxc_span v0.134.0
[INFO] [stderr]     Checking oxc_syntax v0.134.0
[INFO] [stderr]     Checking oxc_regular_expression v0.134.0
[INFO] [stderr]     Checking oxc_compat v0.134.0
[INFO] [stderr]     Checking oxc_ast v0.134.0
[INFO] [stderr]     Checking hyper v1.10.1
[INFO] [stderr]     Checking tower v0.5.3
[INFO] [stderr]     Checking tokio-util v0.7.18
[INFO] [stderr]     Checking tower-http v0.6.11
[INFO] [stderr]     Checking hyper-util v0.1.20
[INFO] [stderr]     Checking axum v0.8.9
[INFO] [stderr]     Checking oxc_ecmascript v0.134.0
[INFO] [stderr]     Checking oxc_ast_visit v0.134.0
[INFO] [stderr]     Checking oxc_parser v0.134.0
[INFO] [stderr]     Checking oxc_semantic v0.134.0
[INFO] [stderr]     Checking oxc_isolated_declarations v0.134.0
[INFO] [stderr]     Checking oxc_traverse v0.134.0
[INFO] [stderr]     Checking oxc_mangler v0.134.0
[INFO] [stderr]     Checking oxc_codegen v0.134.0
[INFO] [stderr]     Checking oxc_transformer v0.134.0
[INFO] [stderr]     Checking oxc_minifier v0.134.0
[INFO] [stderr]     Checking oxc_transformer_plugins v0.134.0
[INFO] [stderr]     Checking oxc v0.134.0
[INFO] [stderr]     Checking guard v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `crate::Findings`
[INFO] [stdout]  --> src/server/detectors/typescript/ts_scanner.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::Findings;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::Findings`
[INFO] [stdout]  --> src/server/detectors/typescript/ts_scanner.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::Findings;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `line`
[INFO] [stdout]   --> src/server/detectors/golang/exec_injection.rs:51:38
[INFO] [stdout]    |
[INFO] [stdout] 51 |             if let Some((_, snippet, line, _)) = m.iter().find(|(n, ..)| n == "snippet") {
[INFO] [stdout]    |                                      ^^^^ help: if this is intentional, prefix it with an underscore: `_line`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `line`
[INFO] [stdout]   --> src/server/detectors/golang/exec_injection.rs:62:38
[INFO] [stdout]    |
[INFO] [stdout] 62 |             if let Some((_, snippet, line, _)) = m.iter().find(|(n, ..)| n == "snippet") {
[INFO] [stdout]    |                                      ^^^^ help: if this is intentional, prefix it with an underscore: `_line`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `line`
[INFO] [stdout]   --> src/server/detectors/golang/exec_injection.rs:75:39
[INFO] [stdout]    |
[INFO] [stdout] 75 |             if let (Some((_, snippet, line, _)), Some((_, method, _, _))) = (
[INFO] [stdout]    |                                       ^^^^ help: if this is intentional, prefix it with an underscore: `_line`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `method`
[INFO] [stdout]   --> src/server/detectors/golang/exec_injection.rs:75:59
[INFO] [stdout]    |
[INFO] [stdout] 75 |             if let (Some((_, snippet, line, _)), Some((_, method, _, _))) = (
[INFO] [stdout]    |                                                           ^^^^^^ help: if this is intentional, prefix it with an underscore: `_method`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `line`
[INFO] [stdout]   --> src/server/detectors/golang/file_operations.rs:25:39
[INFO] [stdout]    |
[INFO] [stdout] 25 |             if let (Some((_, snippet, line, _)), Some((_, method, _, _))) = (
[INFO] [stdout]    |                                       ^^^^ help: if this is intentional, prefix it with an underscore: `_line`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `method`
[INFO] [stdout]   --> src/server/detectors/golang/file_operations.rs:25:59
[INFO] [stdout]    |
[INFO] [stdout] 25 |             if let (Some((_, snippet, line, _)), Some((_, method, _, _))) = (
[INFO] [stdout]    |                                                           ^^^^^^ help: if this is intentional, prefix it with an underscore: `_method`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `line`
[INFO] [stdout]   --> src/server/detectors/golang/hardcoded_secrets.rs:32:42
[INFO] [stdout]    |
[INFO] [stdout] 32 |                 if let Some((_, snippet, line, _)) = m.iter().find(|(n, ..)| n == "snippet") {
[INFO] [stdout]    |                                          ^^^^ help: if this is intentional, prefix it with an underscore: `_line`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `line`
[INFO] [stdout]    --> src/server/detectors/golang/sql_injection.rs:137:45
[INFO] [stdout]     |
[INFO] [stdout] 137 |             if let (Some(q), Some((snippet, line, col))) = (query, snippet) {
[INFO] [stdout]     |                                             ^^^^ help: if this is intentional, prefix it with an underscore: `_line`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `col`
[INFO] [stdout]    --> src/server/detectors/golang/sql_injection.rs:137:51
[INFO] [stdout]     |
[INFO] [stdout] 137 |             if let (Some(q), Some((snippet, line, col))) = (query, snippet) {
[INFO] [stdout]     |                                                   ^^^ help: if this is intentional, prefix it with an underscore: `_col`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `line`
[INFO] [stdout]    --> src/server/detectors/golang/sql_injection.rs:166:45
[INFO] [stdout]     |
[INFO] [stdout] 166 |             if let (Some(q), Some((snippet, line, col))) = (query, snippet) {
[INFO] [stdout]     |                                             ^^^^ help: if this is intentional, prefix it with an underscore: `_line`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `col`
[INFO] [stdout]    --> src/server/detectors/golang/sql_injection.rs:166:51
[INFO] [stdout]     |
[INFO] [stdout] 166 |             if let (Some(q), Some((snippet, line, col))) = (query, snippet) {
[INFO] [stdout]     |                                                   ^^^ help: if this is intentional, prefix it with an underscore: `_col`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `method`
[INFO] [stdout]    --> src/server/detectors/golang/sql_injection.rs:197:26
[INFO] [stdout]     |
[INFO] [stdout] 197 |             if let (Some(method), Some((snippet, line, col))) = (method, snippet) {
[INFO] [stdout]     |                          ^^^^^^ help: if this is intentional, prefix it with an underscore: `_method`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `line`
[INFO] [stdout]    --> src/server/detectors/golang/sql_injection.rs:197:50
[INFO] [stdout]     |
[INFO] [stdout] 197 |             if let (Some(method), Some((snippet, line, col))) = (method, snippet) {
[INFO] [stdout]     |                                                  ^^^^ help: if this is intentional, prefix it with an underscore: `_line`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `col`
[INFO] [stdout]    --> src/server/detectors/golang/sql_injection.rs:197:56
[INFO] [stdout]     |
[INFO] [stdout] 197 |             if let (Some(method), Some((snippet, line, col))) = (method, snippet) {
[INFO] [stdout]     |                                                        ^^^ help: if this is intentional, prefix it with an underscore: `_col`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `method`
[INFO] [stdout]    --> src/server/detectors/golang/sql_injection.rs:218:26
[INFO] [stdout]     |
[INFO] [stdout] 218 |             if let (Some(method), Some((snippet, line, col))) = (method, snippet) {
[INFO] [stdout]     |                          ^^^^^^ help: if this is intentional, prefix it with an underscore: `_method`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `line`
[INFO] [stdout]    --> src/server/detectors/golang/sql_injection.rs:218:50
[INFO] [stdout]     |
[INFO] [stdout] 218 |             if let (Some(method), Some((snippet, line, col))) = (method, snippet) {
[INFO] [stdout]     |                                                  ^^^^ help: if this is intentional, prefix it with an underscore: `_line`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `col`
[INFO] [stdout]    --> src/server/detectors/golang/sql_injection.rs:218:56
[INFO] [stdout]     |
[INFO] [stdout] 218 |             if let (Some(method), Some((snippet, line, col))) = (method, snippet) {
[INFO] [stdout]     |                                                        ^^^ help: if this is intentional, prefix it with an underscore: `_col`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `line`
[INFO] [stdout]    --> src/server/detectors/golang/sql_injection.rs:234:38
[INFO] [stdout]     |
[INFO] [stdout] 234 |             if let Some((_, snippet, line, _)) = m.iter().find(|(n, ..)| n == "snippet") {
[INFO] [stdout]     |                                      ^^^^ help: if this is intentional, prefix it with an underscore: `_line`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `line`
[INFO] [stdout]    --> src/server/detectors/golang/sql_injection.rs:246:38
[INFO] [stdout]     |
[INFO] [stdout] 246 |             if let Some((_, snippet, line, _)) = m.iter().find(|(n, ..)| n == "snippet") {
[INFO] [stdout]     |                                      ^^^^ help: if this is intentional, prefix it with an underscore: `_line`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `line`
[INFO] [stdout]    --> src/server/detectors/golang/sql_injection.rs:258:38
[INFO] [stdout]     |
[INFO] [stdout] 258 |             if let Some((_, snippet, line, _)) = m.iter().find(|(n, ..)| n == "snippet") {
[INFO] [stdout]     |                                      ^^^^ help: if this is intentional, prefix it with an underscore: `_line`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `line`
[INFO] [stdout]   --> src/server/detectors/golang/exec_injection.rs:51:38
[INFO] [stdout]    |
[INFO] [stdout] 51 |             if let Some((_, snippet, line, _)) = m.iter().find(|(n, ..)| n == "snippet") {
[INFO] [stdout]    |                                      ^^^^ help: if this is intentional, prefix it with an underscore: `_line`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `line`
[INFO] [stdout]   --> src/server/detectors/golang/exec_injection.rs:62:38
[INFO] [stdout]    |
[INFO] [stdout] 62 |             if let Some((_, snippet, line, _)) = m.iter().find(|(n, ..)| n == "snippet") {
[INFO] [stdout]    |                                      ^^^^ help: if this is intentional, prefix it with an underscore: `_line`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `line`
[INFO] [stdout]   --> src/server/detectors/golang/exec_injection.rs:75:39
[INFO] [stdout]    |
[INFO] [stdout] 75 |             if let (Some((_, snippet, line, _)), Some((_, method, _, _))) = (
[INFO] [stdout]    |                                       ^^^^ help: if this is intentional, prefix it with an underscore: `_line`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `method`
[INFO] [stdout]   --> src/server/detectors/golang/exec_injection.rs:75:59
[INFO] [stdout]    |
[INFO] [stdout] 75 |             if let (Some((_, snippet, line, _)), Some((_, method, _, _))) = (
[INFO] [stdout]    |                                                           ^^^^^^ help: if this is intentional, prefix it with an underscore: `_method`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `line`
[INFO] [stdout]   --> src/server/detectors/golang/file_operations.rs:25:39
[INFO] [stdout]    |
[INFO] [stdout] 25 |             if let (Some((_, snippet, line, _)), Some((_, method, _, _))) = (
[INFO] [stdout]    |                                       ^^^^ help: if this is intentional, prefix it with an underscore: `_line`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `method`
[INFO] [stdout]   --> src/server/detectors/golang/file_operations.rs:25:59
[INFO] [stdout]    |
[INFO] [stdout] 25 |             if let (Some((_, snippet, line, _)), Some((_, method, _, _))) = (
[INFO] [stdout]    |                                                           ^^^^^^ help: if this is intentional, prefix it with an underscore: `_method`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `line`
[INFO] [stdout]   --> src/server/detectors/golang/hardcoded_secrets.rs:32:42
[INFO] [stdout]    |
[INFO] [stdout] 32 |                 if let Some((_, snippet, line, _)) = m.iter().find(|(n, ..)| n == "snippet") {
[INFO] [stdout]    |                                          ^^^^ help: if this is intentional, prefix it with an underscore: `_line`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `line`
[INFO] [stdout]    --> src/server/detectors/golang/sql_injection.rs:137:45
[INFO] [stdout]     |
[INFO] [stdout] 137 |             if let (Some(q), Some((snippet, line, col))) = (query, snippet) {
[INFO] [stdout]     |                                             ^^^^ help: if this is intentional, prefix it with an underscore: `_line`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `col`
[INFO] [stdout]    --> src/server/detectors/golang/sql_injection.rs:137:51
[INFO] [stdout]     |
[INFO] [stdout] 137 |             if let (Some(q), Some((snippet, line, col))) = (query, snippet) {
[INFO] [stdout]     |                                                   ^^^ help: if this is intentional, prefix it with an underscore: `_col`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `line`
[INFO] [stdout]    --> src/server/detectors/golang/sql_injection.rs:166:45
[INFO] [stdout]     |
[INFO] [stdout] 166 |             if let (Some(q), Some((snippet, line, col))) = (query, snippet) {
[INFO] [stdout]     |                                             ^^^^ help: if this is intentional, prefix it with an underscore: `_line`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `col`
[INFO] [stdout]    --> src/server/detectors/golang/sql_injection.rs:166:51
[INFO] [stdout]     |
[INFO] [stdout] 166 |             if let (Some(q), Some((snippet, line, col))) = (query, snippet) {
[INFO] [stdout]     |                                                   ^^^ help: if this is intentional, prefix it with an underscore: `_col`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `method`
[INFO] [stdout]    --> src/server/detectors/golang/sql_injection.rs:197:26
[INFO] [stdout]     |
[INFO] [stdout] 197 |             if let (Some(method), Some((snippet, line, col))) = (method, snippet) {
[INFO] [stdout]     |                          ^^^^^^ help: if this is intentional, prefix it with an underscore: `_method`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `line`
[INFO] [stdout]    --> src/server/detectors/golang/sql_injection.rs:197:50
[INFO] [stdout]     |
[INFO] [stdout] 197 |             if let (Some(method), Some((snippet, line, col))) = (method, snippet) {
[INFO] [stdout]     |                                                  ^^^^ help: if this is intentional, prefix it with an underscore: `_line`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `col`
[INFO] [stdout]    --> src/server/detectors/golang/sql_injection.rs:197:56
[INFO] [stdout]     |
[INFO] [stdout] 197 |             if let (Some(method), Some((snippet, line, col))) = (method, snippet) {
[INFO] [stdout]     |                                                        ^^^ help: if this is intentional, prefix it with an underscore: `_col`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `method`
[INFO] [stdout]    --> src/server/detectors/golang/sql_injection.rs:218:26
[INFO] [stdout]     |
[INFO] [stdout] 218 |             if let (Some(method), Some((snippet, line, col))) = (method, snippet) {
[INFO] [stdout]     |                          ^^^^^^ help: if this is intentional, prefix it with an underscore: `_method`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `line`
[INFO] [stdout]    --> src/server/detectors/golang/sql_injection.rs:218:50
[INFO] [stdout]     |
[INFO] [stdout] 218 |             if let (Some(method), Some((snippet, line, col))) = (method, snippet) {
[INFO] [stdout]     |                                                  ^^^^ help: if this is intentional, prefix it with an underscore: `_line`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `col`
[INFO] [stdout]    --> src/server/detectors/golang/sql_injection.rs:218:56
[INFO] [stdout]     |
[INFO] [stdout] 218 |             if let (Some(method), Some((snippet, line, col))) = (method, snippet) {
[INFO] [stdout]     |                                                        ^^^ help: if this is intentional, prefix it with an underscore: `_col`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `line`
[INFO] [stdout]    --> src/server/detectors/golang/sql_injection.rs:234:38
[INFO] [stdout]     |
[INFO] [stdout] 234 |             if let Some((_, snippet, line, _)) = m.iter().find(|(n, ..)| n == "snippet") {
[INFO] [stdout]     |                                      ^^^^ help: if this is intentional, prefix it with an underscore: `_line`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `line`
[INFO] [stdout]    --> src/server/detectors/golang/sql_injection.rs:246:38
[INFO] [stdout]     |
[INFO] [stdout] 246 |             if let Some((_, snippet, line, _)) = m.iter().find(|(n, ..)| n == "snippet") {
[INFO] [stdout]     |                                      ^^^^ help: if this is intentional, prefix it with an underscore: `_line`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `line`
[INFO] [stdout]    --> src/server/detectors/golang/sql_injection.rs:258:38
[INFO] [stdout]     |
[INFO] [stdout] 258 |             if let Some((_, snippet, line, _)) = m.iter().find(|(n, ..)| n == "snippet") {
[INFO] [stdout]     |                                      ^^^^ help: if this is intentional, prefix it with an underscore: `_line`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `list_possible_threats` is never used
[INFO] [stdout]    --> src/server/detectors/golang/go_scanner.rs:420:12
[INFO] [stdout]     |
[INFO] [stdout]  30 | impl<'a> GolangTreeSitter<'a> {
[INFO] [stdout]     | ----------------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 420 |     pub fn list_possible_threats(self) -> Vec<Findings> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `list_possible_threats` is never used
[INFO] [stdout]   --> src/server/detectors/shared/common_parser.rs:92:12
[INFO] [stdout]    |
[INFO] [stdout] 25 | impl<'a> CodeVisitor<'a> {
[INFO] [stdout]    | ------------------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 92 |     pub fn list_possible_threats(self) -> Vec<Findings> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `callee`, `object`, `arguments`, `caller`, `line`, and `column` are never read
[INFO] [stdout]   --> src/server/models/calls.rs:4:9
[INFO] [stdout]    |
[INFO] [stdout]  3 | pub struct CallSite {
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout]  4 |     pub callee: String,         // function name
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]  5 |     pub object: Option<String>, // e.g. db.query, db is object
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]  6 |     pub arguments: Vec<String>,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout]  7 |     pub caller: String, // not to be confused with calle
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]  8 |     pub file: String,
[INFO] [stdout]  9 |     pub line: usize,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 10 |     pub column: usize,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `calls` is never read
[INFO] [stdout]   --> src/server/models/calls.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct CallTable {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] 14 |     pub calls: HashMap<String, Vec<CallSite>>,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `insert`, and `total` are never used
[INFO] [stdout]   --> src/server/models/calls.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl CallTable {
[INFO] [stdout]    | -------------- associated items in this implementation
[INFO] [stdout] 18 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |     pub fn insert(&mut self, file: String, call: CallSite) {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 28 |     pub fn total(&self) -> usize {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name`, `line`, `column`, and `scope` are never read
[INFO] [stdout]   --> src/server/models/symbols.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct Symbol {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] 14 |     pub name: String,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 17 |     pub line: usize,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 18 |     pub column: usize,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 19 |     pub scope: String,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `call_table` is never read
[INFO] [stdout]  --> src/state.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct ScanData {
[INFO] [stdout]   |            -------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 7 |     pub call_table: CallTable,
[INFO] [stdout]   |         ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `list_possible_threats` is never used
[INFO] [stdout]    --> src/server/detectors/golang/go_scanner.rs:420:12
[INFO] [stdout]     |
[INFO] [stdout]  30 | impl<'a> GolangTreeSitter<'a> {
[INFO] [stdout]     | ----------------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 420 |     pub fn list_possible_threats(self) -> Vec<Findings> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `list_possible_threats` is never used
[INFO] [stdout]   --> src/server/detectors/shared/common_parser.rs:92:12
[INFO] [stdout]    |
[INFO] [stdout] 25 | impl<'a> CodeVisitor<'a> {
[INFO] [stdout]    | ------------------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 92 |     pub fn list_possible_threats(self) -> Vec<Findings> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `callee`, `object`, `arguments`, `caller`, `line`, and `column` are never read
[INFO] [stdout]   --> src/server/models/calls.rs:4:9
[INFO] [stdout]    |
[INFO] [stdout]  3 | pub struct CallSite {
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout]  4 |     pub callee: String,         // function name
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]  5 |     pub object: Option<String>, // e.g. db.query, db is object
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]  6 |     pub arguments: Vec<String>,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout]  7 |     pub caller: String, // not to be confused with calle
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]  8 |     pub file: String,
[INFO] [stdout]  9 |     pub line: usize,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 10 |     pub column: usize,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `calls` is never read
[INFO] [stdout]   --> src/server/models/calls.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct CallTable {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] 14 |     pub calls: HashMap<String, Vec<CallSite>>,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `insert`, and `total` are never used
[INFO] [stdout]   --> src/server/models/calls.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl CallTable {
[INFO] [stdout]    | -------------- associated items in this implementation
[INFO] [stdout] 18 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |     pub fn insert(&mut self, file: String, call: CallSite) {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 28 |     pub fn total(&self) -> usize {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name`, `line`, `column`, and `scope` are never read
[INFO] [stdout]   --> src/server/models/symbols.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct Symbol {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] 14 |     pub name: String,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 17 |     pub line: usize,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 18 |     pub column: usize,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 19 |     pub scope: String,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `call_table` is never read
[INFO] [stdout]  --> src/state.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct ScanData {
[INFO] [stdout]   |            -------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 7 |     pub call_table: CallTable,
[INFO] [stdout]   |         ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 50s
[INFO] running `Command { std: "docker" "inspect" "e5edf3b23a065337584ec0e571086abb85f103070c17b7ba32430acca8ec7de5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e5edf3b23a065337584ec0e571086abb85f103070c17b7ba32430acca8ec7de5", kill_on_drop: false }`
[INFO] [stdout] e5edf3b23a065337584ec0e571086abb85f103070c17b7ba32430acca8ec7de5
