[INFO] cloning repository https://github.com/ivafer00/PWSAST
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ivafer00/PWSAST" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fivafer00%2FPWSAST", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fivafer00%2FPWSAST'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 9a9854d66483e89f12265edf201d90987cc45f62
[INFO] building ivafer00/PWSAST against master#ad211ced81509462cdfe4c29ed10f97279a0acae for pr-135216
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fivafer00%2FPWSAST" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/ivafer00/PWSAST on toolchain ad211ced81509462cdfe4c29ed10f97279a0acae
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/ivafer00/PWSAST
[INFO] finished tweaking git repo https://github.com/ivafer00/PWSAST
[INFO] tweaked toml for git repo https://github.com/ivafer00/PWSAST written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/ivafer00/PWSAST 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" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded httparse v1.9.2
[INFO] [stderr]   Downloaded axum-server v0.6.0
[INFO] [stderr]   Downloaded config-derive v0.13.0
[INFO] [stderr]   Downloaded twelf v0.13.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 4b8fc56376ff3aa13113fb1a54963d72dbe2c5328ae9031817e9f2ed90d40d01
[INFO] running `Command { std: "docker" "start" "-a" "4b8fc56376ff3aa13113fb1a54963d72dbe2c5328ae9031817e9f2ed90d40d01", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4b8fc56376ff3aa13113fb1a54963d72dbe2c5328ae9031817e9f2ed90d40d01", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4b8fc56376ff3aa13113fb1a54963d72dbe2c5328ae9031817e9f2ed90d40d01", kill_on_drop: false }`
[INFO] [stdout] 4b8fc56376ff3aa13113fb1a54963d72dbe2c5328ae9031817e9f2ed90d40d01
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d064ebc73de262635288fdd854e0a51d7ba076f110d7f3c0e8580e47ed198125
[INFO] running `Command { std: "docker" "start" "-a" "d064ebc73de262635288fdd854e0a51d7ba076f110d7f3c0e8580e47ed198125", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.85
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]    Compiling libc v0.2.155
[INFO] [stderr]    Compiling autocfg v1.3.0
[INFO] [stderr]    Compiling serde v1.0.203
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling itoa v1.0.11
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling pin-project-lite v0.2.14
[INFO] [stderr]    Compiling once_cell v1.19.0
[INFO] [stderr]    Compiling bytes v1.6.0
[INFO] [stderr]    Compiling cc v1.0.99
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling futures-core v0.3.30
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling futures-task v0.3.30
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling futures-util v0.3.30
[INFO] [stderr]    Compiling futures-sink v0.3.30
[INFO] [stderr]    Compiling equivalent v1.0.1
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]    Compiling mime v0.3.17
[INFO] [stderr]    Compiling memchr v2.7.2
[INFO] [stderr]    Compiling rustversion v1.0.17
[INFO] [stderr]    Compiling ryu v1.0.18
[INFO] [stderr]    Compiling tracing-core v0.1.32
[INFO] [stderr]    Compiling unicase v2.7.0
[INFO] [stderr]    Compiling httparse v1.9.2
[INFO] [stderr]    Compiling serde_json v1.0.117
[INFO] [stderr]    Compiling untrusted v0.9.0
[INFO] [stderr]    Compiling ppv-lite86 v0.2.17
[INFO] [stderr]    Compiling utf8parse v0.2.2
[INFO] [stderr]    Compiling hashbrown v0.12.3
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling http v1.1.0
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling anstyle-parse v0.2.4
[INFO] [stderr]    Compiling anstyle-query v1.1.0
[INFO] [stderr]    Compiling try-lock v0.2.5
[INFO] [stderr]    Compiling pkg-config v0.3.30
[INFO] [stderr]    Compiling regex-syntax v0.8.4
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling percent-encoding v2.3.1
[INFO] [stderr]    Compiling indexmap v2.2.6
[INFO] [stderr]    Compiling syn v2.0.66
[INFO] [stderr]    Compiling colorchoice v1.0.1
[INFO] [stderr]    Compiling anstyle v1.0.7
[INFO] [stderr]    Compiling tower-layer v0.3.2
[INFO] [stderr]    Compiling httpdate v1.0.3
[INFO] [stderr]    Compiling tower-service v0.3.2
[INFO] [stderr]    Compiling atomic-waker v1.1.2
[INFO] [stderr]    Compiling ring v0.17.8
[INFO] [stderr]    Compiling is_terminal_polyfill v1.70.0
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling num_cpus v1.16.0
[INFO] [stderr]    Compiling signal-hook-registry v1.4.2
[INFO] [stderr]    Compiling socket2 v0.5.7
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling mio v0.8.11
[INFO] [stderr]    Compiling http-body v1.0.0
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling anstream v0.6.14
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling want v0.3.1
[INFO] [stderr]    Compiling mime_guess v2.0.4
[INFO] [stderr]    Compiling futures-channel v0.3.30
[INFO] [stderr]    Compiling option-ext v0.2.0
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling minimal-lexical v0.2.1
[INFO] [stderr]    Compiling thiserror v1.0.61
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling rustls v0.21.12
[INFO] [stderr]    Compiling openssl-sys v0.9.102
[INFO] [stderr]    Compiling libm v0.2.8
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]    Compiling hdrhistogram v7.5.4
[INFO] [stderr]    Compiling http-body-util v0.1.2
[INFO] [stderr]    Compiling dirs-sys v0.4.1
[INFO] [stderr]    Compiling axum-core v0.4.3
[INFO] [stderr]    Compiling multer v3.1.0
[INFO] [stderr]    Compiling linked-hash-map v0.5.6
[INFO] [stderr]    Compiling clap_lex v0.7.1
[INFO] [stderr]    Compiling destructure_traitobject v0.2.0
[INFO] [stderr]    Compiling strsim v0.11.1
[INFO] [stderr]    Compiling regex-automata v0.4.7
[INFO] [stderr]    Compiling heck v0.5.0
[INFO] [stderr]    Compiling regex-syntax v0.6.29
[INFO] [stderr]    Compiling anyhow v1.0.86
[INFO] [stderr]    Compiling yaml-rust v0.4.5
[INFO] [stderr]    Compiling clap_builder v4.5.7
[INFO] [stderr]    Compiling unsafe-any-ors v1.0.0
[INFO] [stderr]    Compiling dirs v5.0.1
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling ordered-float v2.10.1
[INFO] [stderr]    Compiling axum v0.7.5
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling encoding_rs v0.8.34
[INFO] [stderr]    Compiling overload v0.1.1
[INFO] [stderr]    Compiling arc-swap v1.7.1
[INFO] [stderr]    Compiling openssl v0.10.64
[INFO] [stderr]    Compiling unsafe-libyaml v0.2.11
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling sync_wrapper v0.1.2
[INFO] [stderr]    Compiling base64 v0.22.1
[INFO] [stderr]    Compiling rustls-pki-types v1.7.0
[INFO] [stderr]    Compiling bitflags v2.5.0
[INFO] [stderr]    Compiling iana-time-zone v0.1.60
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling humantime v2.1.0
[INFO] [stderr]    Compiling sharded-slab v0.1.7
[INFO] [stderr]    Compiling chrono v0.4.38
[INFO] [stderr]    Compiling rustls-pemfile v2.1.2
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling humansize v2.1.3
[INFO] [stderr]    Compiling nu-ansi-term v0.46.0
[INFO] [stderr]    Compiling shellexpand v3.1.0
[INFO] [stderr]    Compiling typemap-ors v1.0.0
[INFO] [stderr]    Compiling thread-id v4.2.1
[INFO] [stderr]    Compiling thread_local v1.1.8
[INFO] [stderr]    Compiling matchit v0.7.3
[INFO] [stderr]    Compiling askama_escape v0.10.3
[INFO] [stderr]    Compiling log-mdc v0.1.0
[INFO] [stderr]    Compiling sync_wrapper v1.0.1
[INFO] [stderr]    Compiling http-range-header v0.4.1
[INFO] [stderr]    Compiling prelude v0.2.1
[INFO] [stderr]    Compiling dotenv v0.15.0
[INFO] [stderr]    Compiling sct v0.7.1
[INFO] [stderr]    Compiling regex v1.10.5
[INFO] [stderr]    Compiling rustls-webpki v0.101.7
[INFO] [stderr]    Compiling regex-automata v0.1.10
[INFO] [stderr]    Compiling askama_parser v0.2.1
[INFO] [stderr]    Compiling matchers v0.1.0
[INFO] [stderr]    Compiling serde_derive v1.0.203
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]    Compiling tokio-macros v2.3.0
[INFO] [stderr]    Compiling pin-project-internal v1.1.5
[INFO] [stderr]    Compiling thiserror-impl v1.0.61
[INFO] [stderr]    Compiling clap_derive v4.5.5
[INFO] [stderr]    Compiling async-trait v0.1.80
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling axum-macros v0.4.1
[INFO] [stderr]    Compiling config-derive v0.13.0
[INFO] [stderr]    Compiling derivative v2.2.0
[INFO] [stderr]    Compiling tokio v1.38.0
[INFO] [stderr]    Compiling pin-project v1.1.5
[INFO] [stderr]    Compiling clap v4.5.7
[INFO] [stderr]    Compiling tokio-util v0.7.11
[INFO] [stderr]    Compiling log v0.4.21
[INFO] [stderr]    Compiling basic-toml v0.1.9
[INFO] [stderr]    Compiling serde_yaml v0.9.34+deprecated
[INFO] [stderr]    Compiling serde_yaml v0.8.26
[INFO] [stderr]    Compiling serde_path_to_error v0.1.16
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling serde-value v0.7.0
[INFO] [stderr]    Compiling envy v0.4.2
[INFO] [stderr]    Compiling tracing-serde v0.1.3
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling env_filter v0.1.0
[INFO] [stderr]    Compiling h2 v0.4.5
[INFO] [stderr]    Compiling tower v0.4.13
[INFO] [stderr]    Compiling tower-http v0.5.2
[INFO] [stderr]    Compiling env_logger v0.11.3
[INFO] [stderr]    Compiling askama_derive v0.12.5
[INFO] [stderr]    Compiling tracing-subscriber v0.3.18
[INFO] [stderr]    Compiling twelf v0.13.0
[INFO] [stderr]    Compiling log4rs v1.3.0
[INFO] [stderr]    Compiling askama v0.12.1
[INFO] [stderr]    Compiling tokio-rustls v0.24.1
[INFO] [stderr]    Compiling hyper v1.3.1
[INFO] [stderr]    Compiling hyper-util v0.1.5
[INFO] [stderr]    Compiling axum-server v0.6.0
[INFO] [stderr]    Compiling PowershellSAST v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `axum::routing::get`
[INFO] [stdout]  --> src/controllers/html/html.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use axum::routing::get;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ptr::null`
[INFO] [stdout]  --> src/controllers/html/scripts/scripts_controller.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::ptr::null;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Json`
[INFO] [stdout]  --> src/controllers/html/scripts/scripts_controller.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | use axum::{Json, Router};
[INFO] [stdout]   |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `clap::builder::Str`
[INFO] [stdout]   --> src/controllers/html/scripts/scripts_controller.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use clap::builder::Str;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `error404`
[INFO] [stdout]   --> src/controllers/html/scripts/scripts_controller.rs:16:38
[INFO] [stdout]    |
[INFO] [stdout] 16 | use crate::controllers::html::html::{error404, Error404Template, HtmlTemplate, HTTPResponse};
[INFO] [stdout]    |                                      ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/controllers/html/scripts/scripts_controller.rs:102:11
[INFO] [stdout]     |
[INFO] [stdout] 102 |         if(is_valid_extension(file_name.as_str())){
[INFO] [stdout]     |           ^                                      ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 102 -         if(is_valid_extension(file_name.as_str())){
[INFO] [stdout] 102 +         if is_valid_extension(file_name.as_str()) {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `FORBIDDEN403` is never constructed
[INFO] [stdout]   --> src/controllers/html/html.rs:59:5
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub enum HTTPResponse<T> where
[INFO] [stdout]    |          ------------ variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 59 |     FORBIDDEN403(Error403Template),
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `InternalServerError` is never constructed
[INFO] [stdout]   --> src/prelude.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub enum ApiError {
[INFO] [stdout]    |          -------- variant in this enum
[INFO] [stdout] 11 |     InternalServerError,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ApiError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 38s
[INFO] running `Command { std: "docker" "inspect" "d064ebc73de262635288fdd854e0a51d7ba076f110d7f3c0e8580e47ed198125", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d064ebc73de262635288fdd854e0a51d7ba076f110d7f3c0e8580e47ed198125", kill_on_drop: false }`
[INFO] [stdout] d064ebc73de262635288fdd854e0a51d7ba076f110d7f3c0e8580e47ed198125
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a21c1034b4e4cfd8e3271f7ee70ece1c067d20e1db4e15a6f6a024368b2c40f0
[INFO] running `Command { std: "docker" "start" "-a" "a21c1034b4e4cfd8e3271f7ee70ece1c067d20e1db4e15a6f6a024368b2c40f0", kill_on_drop: false }`
[INFO] [stderr]    Compiling PowershellSAST v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `axum::routing::get`
[INFO] [stdout]  --> src/controllers/html/html.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use axum::routing::get;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ptr::null`
[INFO] [stdout]  --> src/controllers/html/scripts/scripts_controller.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::ptr::null;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Json`
[INFO] [stdout]  --> src/controllers/html/scripts/scripts_controller.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | use axum::{Json, Router};
[INFO] [stdout]   |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `clap::builder::Str`
[INFO] [stdout]   --> src/controllers/html/scripts/scripts_controller.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use clap::builder::Str;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `error404`
[INFO] [stdout]   --> src/controllers/html/scripts/scripts_controller.rs:16:38
[INFO] [stdout]    |
[INFO] [stdout] 16 | use crate::controllers::html::html::{error404, Error404Template, HtmlTemplate, HTTPResponse};
[INFO] [stdout]    |                                      ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/controllers/html/scripts/scripts_controller.rs:102:11
[INFO] [stdout]     |
[INFO] [stdout] 102 |         if(is_valid_extension(file_name.as_str())){
[INFO] [stdout]     |           ^                                      ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 102 -         if(is_valid_extension(file_name.as_str())){
[INFO] [stdout] 102 +         if is_valid_extension(file_name.as_str()) {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `FORBIDDEN403` is never constructed
[INFO] [stdout]   --> src/controllers/html/html.rs:59:5
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub enum HTTPResponse<T> where
[INFO] [stdout]    |          ------------ variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 59 |     FORBIDDEN403(Error403Template),
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `InternalServerError` is never constructed
[INFO] [stdout]   --> src/prelude.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub enum ApiError {
[INFO] [stdout]    |          -------- variant in this enum
[INFO] [stdout] 11 |     InternalServerError,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ApiError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.29s
[INFO] running `Command { std: "docker" "inspect" "a21c1034b4e4cfd8e3271f7ee70ece1c067d20e1db4e15a6f6a024368b2c40f0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a21c1034b4e4cfd8e3271f7ee70ece1c067d20e1db4e15a6f6a024368b2c40f0", kill_on_drop: false }`
[INFO] [stdout] a21c1034b4e4cfd8e3271f7ee70ece1c067d20e1db4e15a6f6a024368b2c40f0
