[INFO] cloning repository https://github.com/steel-bucket/sqlscan
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/steel-bucket/sqlscan" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsteel-bucket%2Fsqlscan", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsteel-bucket%2Fsqlscan'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 737e8a055d40a213bcd21f1d274edc95500fe602
[INFO] testing steel-bucket/sqlscan against 1.94.0 for beta-1.95-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsteel-bucket%2Fsqlscan" "/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/steel-bucket/sqlscan
[INFO] finished tweaking git repo https://github.com/steel-bucket/sqlscan
[INFO] tweaked toml for git repo https://github.com/steel-bucket/sqlscan written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/steel-bucket/sqlscan on toolchain 1.94.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.94.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/steel-bucket/sqlscan 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" "+1.94.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded tabled_derive v0.11.0
[INFO] [stderr]   Downloaded assert-json-diff v2.0.2
[INFO] [stderr]   Downloaded deadpool-runtime v0.1.4
[INFO] [stderr]   Downloaded deadpool v0.10.0
[INFO] [stderr]   Downloaded psl-types v2.0.11
[INFO] [stderr]   Downloaded plotters-backend v0.3.7
[INFO] [stderr]   Downloaded plotters-svg v0.3.7
[INFO] [stderr]   Downloaded testing_table v0.3.0
[INFO] [stderr]   Downloaded dtoa v1.0.10
[INFO] [stderr]   Downloaded criterion-plot v0.6.0
[INFO] [stderr]   Downloaded litrs v0.4.2
[INFO] [stderr]   Downloaded clap v4.5.43
[INFO] [stderr]   Downloaded papergrid v0.17.0
[INFO] [stderr]   Downloaded publicsuffix v2.3.0
[INFO] [stderr]   Downloaded cc v1.2.31
[INFO] [stderr]   Downloaded criterion v0.7.0
[INFO] [stderr]   Downloaded plotters v0.3.7
[INFO] [stderr]   Downloaded clap_builder v4.5.43
[INFO] [stderr]   Downloaded tabled v0.20.0
[INFO] [stderr]   Downloaded serde_json v1.0.142
[INFO] [stderr]   Downloaded reqwest v0.12.22
[INFO] [stderr]   Downloaded h2 v0.4.11
[INFO] [stderr]   Downloaded cssparser v0.34.0
[INFO] [stderr]   Downloaded selectors v0.26.0
[INFO] [stderr]   Downloaded wiremock v0.6.4
[INFO] [stderr]   Downloaded cookie_store v0.21.1
[INFO] [stderr]   Downloaded ego-tree v0.10.0
[INFO] [stderr]   Downloaded servo_arc v0.4.1
[INFO] [stderr]   Downloaded oorandom v11.1.5
[INFO] [stderr]   Downloaded getopts v0.2.23
[INFO] [stderr]   Downloaded scraper v0.23.1
[INFO] [stderr]   Downloaded dtoa-short v0.3.5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.94.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b80c165dd01fe765c0cf089c1d609a5ceafbc826e58d0e766b607e5d6f9233e2
[INFO] running `Command { std: "docker" "start" "-a" "b80c165dd01fe765c0cf089c1d609a5ceafbc826e58d0e766b607e5d6f9233e2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b80c165dd01fe765c0cf089c1d609a5ceafbc826e58d0e766b607e5d6f9233e2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b80c165dd01fe765c0cf089c1d609a5ceafbc826e58d0e766b607e5d6f9233e2", kill_on_drop: false }`
[INFO] [stdout] b80c165dd01fe765c0cf089c1d609a5ceafbc826e58d0e766b607e5d6f9233e2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.94.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3556b14ce81a2b59e99743b750fb478b66c6baf398cf4e07fe420e06dbbff0cb
[INFO] running `Command { std: "docker" "start" "-a" "3556b14ce81a2b59e99743b750fb478b66c6baf398cf4e07fe420e06dbbff0cb", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.95
[INFO] [stderr]    Compiling libc v0.2.174
[INFO] [stderr]    Compiling cfg-if v1.0.1
[INFO] [stderr]    Compiling stable_deref_trait v1.2.0
[INFO] [stderr]    Compiling siphasher v1.0.1
[INFO] [stderr]    Compiling bytes v1.10.1
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling slab v0.4.10
[INFO] [stderr]    Compiling log v0.4.27
[INFO] [stderr]    Compiling cc v1.2.31
[INFO] [stderr]    Compiling bitflags v2.9.1
[INFO] [stderr]    Compiling serde_json v1.0.142
[INFO] [stderr]    Compiling tracing-core v0.1.34
[INFO] [stderr]    Compiling new_debug_unreachable v1.0.6
[INFO] [stderr]    Compiling hashbrown v0.15.4
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling unicode-width v0.2.1
[INFO] [stderr]    Compiling num-conv v0.1.0
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling phf_shared v0.11.3
[INFO] [stderr]    Compiling precomputed-hash v0.1.1
[INFO] [stderr]    Compiling mac v0.1.1
[INFO] [stderr]    Compiling zerocopy v0.8.26
[INFO] [stderr]    Compiling time-core v0.1.4
[INFO] [stderr]    Compiling deranged v0.4.0
[INFO] [stderr]    Compiling anstyle-parse v0.2.7
[INFO] [stderr]    Compiling cookie v0.18.1
[INFO] [stderr]    Compiling futf v0.1.5
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling time-macros v0.2.22
[INFO] [stderr]    Compiling indexmap v2.10.0
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling colorchoice v1.0.4
[INFO] [stderr]    Compiling rayon-core v1.12.1
[INFO] [stderr]    Compiling anstyle-query v1.1.4
[INFO] [stderr]    Compiling dtoa v1.0.10
[INFO] [stderr]    Compiling phf_generator v0.11.3
[INFO] [stderr]    Compiling anstyle v1.0.11
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling dtoa-short v0.3.5
[INFO] [stderr]    Compiling http v1.3.1
[INFO] [stderr]    Compiling phf_codegen v0.11.3
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling crossbeam-deque v0.8.6
[INFO] [stderr]    Compiling selectors v0.26.0
[INFO] [stderr]    Compiling tendril v0.4.3
[INFO] [stderr]    Compiling anstream v0.6.20
[INFO] [stderr]    Compiling half v2.6.0
[INFO] [stderr]    Compiling clap_lex v0.7.5
[INFO] [stderr]    Compiling psl-types v2.0.11
[INFO] [stderr]    Compiling litrs v0.4.2
[INFO] [stderr]    Compiling ciborium-io v0.2.2
[INFO] [stderr]    Compiling plotters-backend v0.3.7
[INFO] [stderr]    Compiling rustix v1.0.8
[INFO] [stderr]    Compiling fxhash v0.2.1
[INFO] [stderr]    Compiling syn v2.0.104
[INFO] [stderr]    Compiling socket2 v0.6.0
[INFO] [stderr]    Compiling mio v1.0.4
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling parking_lot_core v0.9.11
[INFO] [stderr]    Compiling string_cache_codegen v0.5.4
[INFO] [stderr]    Compiling http-body-util v0.1.3
[INFO] [stderr]    Compiling proc-macro-error-attr2 v2.0.0
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling document-features v0.2.11
[INFO] [stderr]    Compiling ciborium-ll v0.2.2
[INFO] [stderr]    Compiling parking_lot v0.12.4
[INFO] [stderr]    Compiling time v0.3.41
[INFO] [stderr]    Compiling markup5ever v0.14.1
[INFO] [stderr]    Compiling plotters-svg v0.3.7
[INFO] [stderr]    Compiling num_cpus v1.17.0
[INFO] [stderr]    Compiling clap_builder v4.5.43
[INFO] [stderr]    Compiling itertools v0.13.0
[INFO] [stderr]    Compiling servo_arc v0.4.1
[INFO] [stderr]    Compiling deadpool-runtime v0.1.4
[INFO] [stderr]    Compiling iri-string v0.7.8
[INFO] [stderr]    Compiling linux-raw-sys v0.9.4
[INFO] [stderr]    Compiling cast v0.3.0
[INFO] [stderr]    Compiling bytecount v0.6.9
[INFO] [stderr]    Compiling zeroize v1.8.1
[INFO] [stderr]    Compiling same-file v1.0.6
[INFO] [stderr]    Compiling openssl-sys v0.9.109
[INFO] [stderr]    Compiling walkdir v2.5.0
[INFO] [stderr]    Compiling papergrid v0.17.0
[INFO] [stderr]    Compiling plotters v0.3.7
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]    Compiling rustls-pki-types v1.12.0
[INFO] [stderr]    Compiling getopts v0.2.23
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling rayon v1.10.0
[INFO] [stderr]    Compiling openssl v0.10.73
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling criterion-plot v0.6.0
[INFO] [stderr]    Compiling testing_table v0.3.0
[INFO] [stderr]    Compiling encoding_rs v0.8.35
[INFO] [stderr]    Compiling anes v0.1.6
[INFO] [stderr]    Compiling iana-time-zone v0.1.63
[INFO] [stderr]    Compiling ego-tree v0.10.0
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling oorandom v11.1.5
[INFO] [stderr]    Compiling chrono v0.4.41
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling urlencoding v2.1.3
[INFO] [stderr]    Compiling tempfile v3.20.0
[INFO] [stderr]    Compiling colored v3.0.0
[INFO] [stderr]    Compiling clap v4.5.43
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling proc-macro-error2 v2.0.1
[INFO] [stderr]    Compiling zerovec-derive v0.11.1
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling phf_macros v0.11.3
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling cssparser-macros v0.6.1
[INFO] [stderr]    Compiling match_token v0.1.0
[INFO] [stderr]    Compiling async-trait v0.1.88
[INFO] [stderr]    Compiling derive_more v0.99.20
[INFO] [stderr]    Compiling thiserror-impl v2.0.12
[INFO] [stderr]    Compiling tabled_derive v0.11.0
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.0
[INFO] [stderr]    Compiling phf v0.11.3
[INFO] [stderr]    Compiling tokio v1.47.1
[INFO] [stderr]    Compiling cssparser v0.34.0
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling tabled v0.20.0
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling yoke v0.8.0
[INFO] [stderr]    Compiling thiserror v2.0.12
[INFO] [stderr]    Compiling zerovec v0.11.4
[INFO] [stderr]    Compiling zerotrie v0.2.2
[INFO] [stderr]    Compiling tinystr v0.8.1
[INFO] [stderr]    Compiling potential_utf v0.1.2
[INFO] [stderr]    Compiling icu_locale_core v2.0.0
[INFO] [stderr]    Compiling icu_collections v2.0.0
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling icu_provider v2.0.0
[INFO] [stderr]    Compiling icu_normalizer v2.0.0
[INFO] [stderr]    Compiling icu_properties v2.0.1
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.0.3
[INFO] [stderr]    Compiling url v2.5.4
[INFO] [stderr]    Compiling publicsuffix v2.3.0
[INFO] [stderr]    Compiling tokio-util v0.7.16
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling tower v0.5.2
[INFO] [stderr]    Compiling deadpool v0.10.0
[INFO] [stderr]    Compiling tower-http v0.6.6
[INFO] [stderr]    Compiling string_cache v0.8.9
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling ciborium v0.2.2
[INFO] [stderr]    Compiling h2 v0.4.11
[INFO] [stderr]    Compiling assert-json-diff v2.0.2
[INFO] [stderr]    Compiling tinytemplate v1.2.1
[INFO] [stderr]    Compiling cookie_store v0.21.1
[INFO] [stderr]    Compiling html5ever v0.29.1
[INFO] [stderr]    Compiling criterion v0.7.0
[INFO] [stderr]    Compiling scraper v0.23.1
[INFO] [stderr]    Compiling hyper v1.6.0
[INFO] [stderr]    Compiling hyper-util v0.1.16
[INFO] [stderr]    Compiling hyper-tls v0.6.0
[INFO] [stderr]    Compiling wiremock v0.6.4
[INFO] [stderr]    Compiling reqwest v0.12.22
[INFO] [stderr]    Compiling untitled v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `crate::sql_vuln::crawler::WebCrawler`
[INFO] [stdout]  --> src/crawler_bench.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::sql_vuln::crawler::WebCrawler;
[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: `std::collections::HashMap`
[INFO] [stdout]  --> src/searchlibs/google.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `url::Url`
[INFO] [stdout]  --> src/searchlibs/google.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use url::Url;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]  --> src/sql_vuln/server_info.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::sync::Arc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BufReader`
[INFO] [stdout]  --> src/sql_vuln/std_utils.rs:7:30
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::io::{self, BufRead, BufReader, Write};
[INFO] [stdout]   |                              ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ServerData`, `TableData`, and `VulnData`
[INFO] [stdout]   --> src/sql_vuln/mod.rs:10:21
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub use std_utils::{ServerData, StdUtils, TableData, VulnData};
[INFO] [stdout]    |                     ^^^^^^^^^^            ^^^^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs`
[INFO] [stdout]   --> src/tests.rs:2:5
[INFO] [stdout]    |
[INFO] [stdout]  2 | use std::fs;
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module
[INFO] [stdout]   --> src/main.rs:11:1
[INFO] [stdout]    |
[INFO] [stdout] 11 | mod tests;
[INFO] [stdout]    | ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::process::Command`
[INFO] [stdout]   --> src/tests.rs:3:5
[INFO] [stdout]    |
[INFO] [stdout]  3 | use std::process::Command;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module
[INFO] [stdout]   --> src/main.rs:11:1
[INFO] [stdout]    |
[INFO] [stdout] 11 | mod tests;
[INFO] [stdout]    | ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tempfile::TempDir`
[INFO] [stdout]   --> src/tests.rs:4:5
[INFO] [stdout]    |
[INFO] [stdout]  4 | use tempfile::TempDir;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module
[INFO] [stdout]   --> src/main.rs:11:1
[INFO] [stdout]    |
[INFO] [stdout] 11 | mod tests;
[INFO] [stdout]    | ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SqlErrorChecker`
[INFO] [stdout]   --> src/main.rs:18:16
[INFO] [stdout]    |
[INFO] [stdout] 18 | use sql_vuln::{SqlErrorChecker, StdUtils};
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead
[INFO] [stdout]  --> src/crawler_bench.rs:4:41
[INFO] [stdout]   |
[INFO] [stdout] 4 | use criterion::{BenchmarkId, Criterion, black_box, criterion_group, criterion_main};
[INFO] [stdout]   |                                         ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead
[INFO] [stdout]   --> src/crawler_bench.rs:31:48
[INFO] [stdout]    |
[INFO] [stdout] 31 |             b.iter(|| parameter_regex.is_match(black_box(url)))
[INFO] [stdout]    |                                                ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead
[INFO] [stdout]   --> src/crawler_bench.rs:59:47
[INFO] [stdout]    |
[INFO] [stdout] 59 |                     let _resolved = base.join(black_box(link));
[INFO] [stdout]    |                                               ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead
[INFO] [stdout]  --> src/scanner_bench.rs:3:41
[INFO] [stdout]   |
[INFO] [stdout] 3 | use criterion::{BenchmarkId, Criterion, black_box, criterion_group, criterion_main};
[INFO] [stdout]   |                                         ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead
[INFO] [stdout]   --> src/scanner_bench.rs:59:37
[INFO] [stdout]    |
[INFO] [stdout] 59 |             b.iter(|| checker.check(black_box(html)))
[INFO] [stdout]    |                                     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead
[INFO] [stdout]   --> src/scanner_bench.rs:95:53
[INFO] [stdout]    |
[INFO] [stdout] 95 |                 if let Ok(parsed) = url::Url::parse(black_box(url)) {
[INFO] [stdout]    |                                                     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BufRead`
[INFO] [stdout]  --> src/sql_vuln/std_utils.rs:7:21
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::io::{self, BufRead, BufReader, Write};
[INFO] [stdout]   |                     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `scanner`
[INFO] [stdout]   --> src/scanner_bench.rs:67:9
[INFO] [stdout]    |
[INFO] [stdout] 67 |     let scanner = SqlInjectionScanner::new();
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scanner`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `parsed_url`
[INFO] [stdout]   --> src/web/web.rs:34:9
[INFO] [stdout]    |
[INFO] [stdout] 34 |     let parsed_url = Url::parse(&full_url)?;
[INFO] [stdout]    |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parsed_url`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `bench_user_agent_selection` is never used
[INFO] [stdout]  --> src/crawler_bench.rs:6:4
[INFO] [stdout]   |
[INFO] [stdout] 6 | fn bench_user_agent_selection(c: &mut Criterion) {
[INFO] [stdout]   |    ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `bench_regex_matching` is never used
[INFO] [stdout]   --> src/crawler_bench.rs:12:4
[INFO] [stdout]    |
[INFO] [stdout] 12 | fn bench_regex_matching(c: &mut Criterion) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `bench_url_resolution` is never used
[INFO] [stdout]   --> src/crawler_bench.rs:38:4
[INFO] [stdout]    |
[INFO] [stdout] 38 | fn bench_url_resolution(c: &mut Criterion) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `bench_sql_error_detection` is never used
[INFO] [stdout]  --> src/scanner_bench.rs:5:4
[INFO] [stdout]   |
[INFO] [stdout] 5 | fn bench_sql_error_detection(c: &mut Criterion) {
[INFO] [stdout]   |    ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `bench_payload_generation` is never used
[INFO] [stdout]   --> src/scanner_bench.rs:66:4
[INFO] [stdout]    |
[INFO] [stdout] 66 | fn bench_payload_generation(c: &mut Criterion) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `bench_url_parsing` is never used
[INFO] [stdout]   --> src/scanner_bench.rs:82:4
[INFO] [stdout]    |
[INFO] [stdout] 82 | fn bench_url_parsing(c: &mut Criterion) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SearchResult` is never constructed
[INFO] [stdout]   --> src/searchlibs/mod.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct SearchResult {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `ParseError` and `InvalidParameter` are never constructed
[INFO] [stdout]   --> src/searchlibs/mod.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub enum SearchError {
[INFO] [stdout]    |          ----------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 26 |     ParseError(String),
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 32 |     InvalidParameter(String),
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SearchError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `deduplicate_urls` is never used
[INFO] [stdout]   --> src/searchlibs/mod.rs:37:8
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub fn deduplicate_urls(urls: Vec<String>) -> Vec<String> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `filter_google_urls` is never used
[INFO] [stdout]   --> src/searchlibs/mod.rs:50:8
[INFO] [stdout]    |
[INFO] [stdout] 50 | pub fn filter_google_urls(url: &str) -> Option<String> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `with_user_agent` is never used
[INFO] [stdout]   --> src/searchlibs/bing.rs:33:12
[INFO] [stdout]    |
[INFO] [stdout] 28 | impl BingSearch {
[INFO] [stdout]    | --------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 33 |     pub fn with_user_agent(mut self, name: &str, version: &str) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SearchResult` is never constructed
[INFO] [stdout]  --> src/searchlibs/common.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct SearchResult {
[INFO] [stdout]   |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `ParseError` and `InvalidParameter` are never constructed
[INFO] [stdout]   --> src/searchlibs/common.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub enum SearchError {
[INFO] [stdout]    |          ----------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 17 |     ParseError(String),
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |     InvalidParameter(String),
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SearchError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout]    --> src/searchlibs/google.rs:49:12
[INFO] [stdout]     |
[INFO] [stdout]  34 | impl GoogleSearch {
[INFO] [stdout]     | ----------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  49 |     pub fn with_safe_search(mut self, safe: &str) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 269 |     pub async fn search_images(
[INFO] [stdout]     |                  ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 281 |     pub async fn search_news(
[INFO] [stdout]     |                  ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 293 |     pub async fn search_videos(
[INFO] [stdout]     |                  ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 305 |     pub async fn search_shop(
[INFO] [stdout]     |                  ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 317 |     pub async fn search_books(
[INFO] [stdout]     |                  ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 329 |     pub async fn search_apps(
[INFO] [stdout]     |                  ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 341 |     async fn search_with_type(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 385 |     pub async fn lucky(&self, query: &str) -> Result<Option<String>, SearchError> {
[INFO] [stdout]     |                  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `with_user_agent` and `with_content_type` are never used
[INFO] [stdout]   --> src/searchlibs/yahoo.rs:32:12
[INFO] [stdout]    |
[INFO] [stdout] 27 | impl YahooSearch {
[INFO] [stdout]    | ---------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 32 |     pub fn with_user_agent(mut self, user_agent: &str) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 37 |     pub fn with_content_type(mut self, content_type: &str) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `VERSION` is never used
[INFO] [stdout]  --> src/setup.rs:9:7
[INFO] [stdout]   |
[INFO] [stdout] 9 | const VERSION: &str = "2.0";
[INFO] [stdout]   |       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `AUTHOR` is never used
[INFO] [stdout]   --> src/setup.rs:10:7
[INFO] [stdout]    |
[INFO] [stdout] 10 | const AUTHOR: &str = "Ghost (Rust Port)";
[INFO] [stdout]    |       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `LINUX_INSTALL_PATH` is never used
[INFO] [stdout]   --> src/setup.rs:13:7
[INFO] [stdout]    |
[INFO] [stdout] 13 | const LINUX_INSTALL_PATH: &str = "/usr/share/sqlscan";
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `LINUX_EXEC_PATH` is never used
[INFO] [stdout]   --> src/setup.rs:14:7
[INFO] [stdout]    |
[INFO] [stdout] 14 | const LINUX_EXEC_PATH: &str = "/usr/bin/sqlscan";
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MACOS_INSTALL_PATH` is never used
[INFO] [stdout]   --> src/setup.rs:15:7
[INFO] [stdout]    |
[INFO] [stdout] 15 | const MACOS_INSTALL_PATH: &str = "/usr/local/share/sqlscan";
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MACOS_EXEC_PATH` is never used
[INFO] [stdout]   --> src/setup.rs:16:7
[INFO] [stdout]    |
[INFO] [stdout] 16 | const MACOS_EXEC_PATH: &str = "/usr/local/bin/sqlscan";
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]   --> src/setup.rs:18:4
[INFO] [stdout]    |
[INFO] [stdout] 18 | fn main() {
[INFO] [stdout]    |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `build_cli` is never used
[INFO] [stdout]   --> src/setup.rs:45:4
[INFO] [stdout]    |
[INFO] [stdout] 45 | fn build_cli() -> Command {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `show_metadata` is never used
[INFO] [stdout]   --> src/setup.rs:73:4
[INFO] [stdout]    |
[INFO] [stdout] 73 | fn show_metadata() {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_platform_paths` is never used
[INFO] [stdout]   --> src/setup.rs:78:4
[INFO] [stdout]    |
[INFO] [stdout] 78 | fn get_platform_paths() -> (PathBuf, PathBuf) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check_root_access` is never used
[INFO] [stdout]    --> src/setup.rs:104:4
[INFO] [stdout]     |
[INFO] [stdout] 104 | fn check_root_access() {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `handle_install` is never used
[INFO] [stdout]    --> src/setup.rs:114:4
[INFO] [stdout]     |
[INFO] [stdout] 114 | fn handle_install(install_path: &Path, exec_path: &Path) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `handle_uninstall` is never used
[INFO] [stdout]    --> src/setup.rs:138:4
[INFO] [stdout]     |
[INFO] [stdout] 138 | fn handle_uninstall(install_path: &Path, exec_path: &Path) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `handle_reinstall` is never used
[INFO] [stdout]    --> src/setup.rs:144:4
[INFO] [stdout]     |
[INFO] [stdout] 144 | fn handle_reinstall(install_path: &Path, exec_path: &Path) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `install` is never used
[INFO] [stdout]    --> src/setup.rs:158:4
[INFO] [stdout]     |
[INFO] [stdout] 158 | fn install(install_path: &Path, exec_path: &Path) -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]     |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `copy_dir_recursive` is never used
[INFO] [stdout]    --> src/setup.rs:239:4
[INFO] [stdout]     |
[INFO] [stdout] 239 | fn copy_dir_recursive(src: &Path, dest: &Path) -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_executable_wrapper` is never used
[INFO] [stdout]    --> src/setup.rs:259:4
[INFO] [stdout]     |
[INFO] [stdout] 259 | fn create_executable_wrapper(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `uninstall` is never used
[INFO] [stdout]    --> src/setup.rs:282:4
[INFO] [stdout]     |
[INFO] [stdout] 282 | fn uninstall(install_path: &Path, exec_path: &Path) {
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `set_max_depth` is never used
[INFO] [stdout]   --> src/sql_vuln/crawler.rs:35:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl WebCrawler {
[INFO] [stdout]    | --------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 35 |     pub fn set_max_depth(&mut self, depth: usize) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `error_checker` is never read
[INFO] [stdout]  --> src/sql_vuln/scanner.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct SqlInjectionScanner {
[INFO] [stdout]   |            ------------------- field in this struct
[INFO] [stdout] 9 |     error_checker: SqlErrorChecker,
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `TableData` is never used
[INFO] [stdout]   --> src/sql_vuln/std_utils.rs:52:10
[INFO] [stdout]    |
[INFO] [stdout] 52 | pub type TableData = Vec<Vec<String>>;
[INFO] [stdout]    |          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Unknown` is never constructed
[INFO] [stdout]   --> src/web/search.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub enum SearchError {
[INFO] [stdout]    |          ----------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 19 |     Unknown,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SearchError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Search` is never constructed
[INFO] [stdout]   --> src/web/search.rs:27:12
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub struct Search;
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/web/search.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 29 | impl Search {
[INFO] [stdout]    | ----------- associated function in this implementation
[INFO] [stdout] 30 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_all` is never used
[INFO] [stdout]   --> src/web/useragents.rs:34:12
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl UserAgents {
[INFO] [stdout]    | --------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 34 |     pub fn get_all(&self) -> &Vec<&'static str> {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `gethtml` is never used
[INFO] [stdout]   --> src/web/web.rs:85:14
[INFO] [stdout]    |
[INFO] [stdout] 85 | pub async fn gethtml(url: &str, last_url: bool) -> Option<(String, Option<String>)> {
[INFO] [stdout]    |              ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 25s
[INFO] running `Command { std: "docker" "inspect" "3556b14ce81a2b59e99743b750fb478b66c6baf398cf4e07fe420e06dbbff0cb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3556b14ce81a2b59e99743b750fb478b66c6baf398cf4e07fe420e06dbbff0cb", kill_on_drop: false }`
[INFO] [stdout] 3556b14ce81a2b59e99743b750fb478b66c6baf398cf4e07fe420e06dbbff0cb
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.94.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] cc3a86790f2c9c0eee00d256be197295dcf06d870dadd01dfdc7dc1306e43eb7
[INFO] running `Command { std: "docker" "start" "-a" "cc3a86790f2c9c0eee00d256be197295dcf06d870dadd01dfdc7dc1306e43eb7", kill_on_drop: false }`
[INFO] [stderr]    Compiling untitled v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `crate::sql_vuln::crawler::WebCrawler`
[INFO] [stdout]  --> src/crawler_bench.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::sql_vuln::crawler::WebCrawler;
[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: `std::collections::HashMap`
[INFO] [stdout]  --> src/searchlibs/google.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `url::Url`
[INFO] [stdout]  --> src/searchlibs/google.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use url::Url;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]  --> src/sql_vuln/server_info.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::sync::Arc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BufReader`
[INFO] [stdout]  --> src/sql_vuln/std_utils.rs:7:30
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::io::{self, BufRead, BufReader, Write};
[INFO] [stdout]   |                              ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ServerData`, `TableData`, and `VulnData`
[INFO] [stdout]   --> src/sql_vuln/mod.rs:10:21
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub use std_utils::{ServerData, StdUtils, TableData, VulnData};
[INFO] [stdout]    |                     ^^^^^^^^^^            ^^^^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs`
[INFO] [stdout]  --> src/tests.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::fs;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tempfile::TempDir`
[INFO] [stdout]  --> src/tests.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use tempfile::TempDir;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::web::useragents::UserAgents`
[INFO] [stdout]    --> src/tests.rs:229:9
[INFO] [stdout]     |
[INFO] [stdout] 229 |     use crate::web::useragents::UserAgents;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]    --> src/tests.rs:257:9
[INFO] [stdout]     |
[INFO] [stdout] 257 |     use super::*;
[INFO] [stdout]     |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SqlErrorChecker`
[INFO] [stdout]   --> src/main.rs:18:16
[INFO] [stdout]    |
[INFO] [stdout] 18 | use sql_vuln::{SqlErrorChecker, StdUtils};
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead
[INFO] [stdout]  --> src/crawler_bench.rs:4:41
[INFO] [stdout]   |
[INFO] [stdout] 4 | use criterion::{BenchmarkId, Criterion, black_box, criterion_group, criterion_main};
[INFO] [stdout]   |                                         ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead
[INFO] [stdout]   --> src/crawler_bench.rs:31:48
[INFO] [stdout]    |
[INFO] [stdout] 31 |             b.iter(|| parameter_regex.is_match(black_box(url)))
[INFO] [stdout]    |                                                ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead
[INFO] [stdout]   --> src/crawler_bench.rs:59:47
[INFO] [stdout]    |
[INFO] [stdout] 59 |                     let _resolved = base.join(black_box(link));
[INFO] [stdout]    |                                               ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead
[INFO] [stdout]  --> src/scanner_bench.rs:3:41
[INFO] [stdout]   |
[INFO] [stdout] 3 | use criterion::{BenchmarkId, Criterion, black_box, criterion_group, criterion_main};
[INFO] [stdout]   |                                         ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead
[INFO] [stdout]   --> src/scanner_bench.rs:59:37
[INFO] [stdout]    |
[INFO] [stdout] 59 |             b.iter(|| checker.check(black_box(html)))
[INFO] [stdout]    |                                     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead
[INFO] [stdout]   --> src/scanner_bench.rs:95:53
[INFO] [stdout]    |
[INFO] [stdout] 95 |                 if let Ok(parsed) = url::Url::parse(black_box(url)) {
[INFO] [stdout]    |                                                     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead
[INFO] [stdout]    --> src/tests.rs:230:32
[INFO] [stdout]     |
[INFO] [stdout] 230 |     use criterion::{Criterion, black_box};
[INFO] [stdout]     |                                ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead
[INFO] [stdout]    --> src/tests.rs:243:37
[INFO] [stdout]     |
[INFO] [stdout] 243 |             b.iter(|| checker.check(black_box(test_html)))
[INFO] [stdout]     |                                     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BufRead`
[INFO] [stdout]  --> src/sql_vuln/std_utils.rs:7:21
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::io::{self, BufRead, BufReader, Write};
[INFO] [stdout]   |                     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `scanner`
[INFO] [stdout]   --> src/scanner_bench.rs:67:9
[INFO] [stdout]    |
[INFO] [stdout] 67 |     let scanner = SqlInjectionScanner::new();
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scanner`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `parsed_url`
[INFO] [stdout]   --> src/web/web.rs:34:9
[INFO] [stdout]    |
[INFO] [stdout] 34 |     let parsed_url = Url::parse(&full_url)?;
[INFO] [stdout]    |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parsed_url`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `bench_user_agent_selection` is never used
[INFO] [stdout]  --> src/crawler_bench.rs:6:4
[INFO] [stdout]   |
[INFO] [stdout] 6 | fn bench_user_agent_selection(c: &mut Criterion) {
[INFO] [stdout]   |    ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `bench_regex_matching` is never used
[INFO] [stdout]   --> src/crawler_bench.rs:12:4
[INFO] [stdout]    |
[INFO] [stdout] 12 | fn bench_regex_matching(c: &mut Criterion) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `bench_url_resolution` is never used
[INFO] [stdout]   --> src/crawler_bench.rs:38:4
[INFO] [stdout]    |
[INFO] [stdout] 38 | fn bench_url_resolution(c: &mut Criterion) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `bench_sql_error_detection` is never used
[INFO] [stdout]  --> src/scanner_bench.rs:5:4
[INFO] [stdout]   |
[INFO] [stdout] 5 | fn bench_sql_error_detection(c: &mut Criterion) {
[INFO] [stdout]   |    ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `bench_payload_generation` is never used
[INFO] [stdout]   --> src/scanner_bench.rs:66:4
[INFO] [stdout]    |
[INFO] [stdout] 66 | fn bench_payload_generation(c: &mut Criterion) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `bench_url_parsing` is never used
[INFO] [stdout]   --> src/scanner_bench.rs:82:4
[INFO] [stdout]    |
[INFO] [stdout] 82 | fn bench_url_parsing(c: &mut Criterion) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SearchResult` is never constructed
[INFO] [stdout]   --> src/searchlibs/mod.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct SearchResult {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `ParseError` and `InvalidParameter` are never constructed
[INFO] [stdout]   --> src/searchlibs/mod.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub enum SearchError {
[INFO] [stdout]    |          ----------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 26 |     ParseError(String),
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 32 |     InvalidParameter(String),
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SearchError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `deduplicate_urls` is never used
[INFO] [stdout]   --> src/searchlibs/mod.rs:37:8
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub fn deduplicate_urls(urls: Vec<String>) -> Vec<String> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `filter_google_urls` is never used
[INFO] [stdout]   --> src/searchlibs/mod.rs:50:8
[INFO] [stdout]    |
[INFO] [stdout] 50 | pub fn filter_google_urls(url: &str) -> Option<String> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `with_user_agent` is never used
[INFO] [stdout]   --> src/searchlibs/bing.rs:33:12
[INFO] [stdout]    |
[INFO] [stdout] 28 | impl BingSearch {
[INFO] [stdout]    | --------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 33 |     pub fn with_user_agent(mut self, name: &str, version: &str) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SearchResult` is never constructed
[INFO] [stdout]  --> src/searchlibs/common.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct SearchResult {
[INFO] [stdout]   |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `ParseError` and `InvalidParameter` are never constructed
[INFO] [stdout]   --> src/searchlibs/common.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub enum SearchError {
[INFO] [stdout]    |          ----------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 17 |     ParseError(String),
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |     InvalidParameter(String),
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SearchError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout]    --> src/searchlibs/google.rs:49:12
[INFO] [stdout]     |
[INFO] [stdout]  34 | impl GoogleSearch {
[INFO] [stdout]     | ----------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  49 |     pub fn with_safe_search(mut self, safe: &str) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 269 |     pub async fn search_images(
[INFO] [stdout]     |                  ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 281 |     pub async fn search_news(
[INFO] [stdout]     |                  ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 293 |     pub async fn search_videos(
[INFO] [stdout]     |                  ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 305 |     pub async fn search_shop(
[INFO] [stdout]     |                  ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 317 |     pub async fn search_books(
[INFO] [stdout]     |                  ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 329 |     pub async fn search_apps(
[INFO] [stdout]     |                  ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 341 |     async fn search_with_type(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 385 |     pub async fn lucky(&self, query: &str) -> Result<Option<String>, SearchError> {
[INFO] [stdout]     |                  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `with_user_agent` and `with_content_type` are never used
[INFO] [stdout]   --> src/searchlibs/yahoo.rs:32:12
[INFO] [stdout]    |
[INFO] [stdout] 27 | impl YahooSearch {
[INFO] [stdout]    | ---------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 32 |     pub fn with_user_agent(mut self, user_agent: &str) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 37 |     pub fn with_content_type(mut self, content_type: &str) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]   --> src/setup.rs:18:4
[INFO] [stdout]    |
[INFO] [stdout] 18 | fn main() {
[INFO] [stdout]    |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_platform_paths` is never used
[INFO] [stdout]   --> src/setup.rs:78:4
[INFO] [stdout]    |
[INFO] [stdout] 78 | fn get_platform_paths() -> (PathBuf, PathBuf) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check_root_access` is never used
[INFO] [stdout]    --> src/setup.rs:104:4
[INFO] [stdout]     |
[INFO] [stdout] 104 | fn check_root_access() {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `handle_install` is never used
[INFO] [stdout]    --> src/setup.rs:114:4
[INFO] [stdout]     |
[INFO] [stdout] 114 | fn handle_install(install_path: &Path, exec_path: &Path) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `handle_uninstall` is never used
[INFO] [stdout]    --> src/setup.rs:138:4
[INFO] [stdout]     |
[INFO] [stdout] 138 | fn handle_uninstall(install_path: &Path, exec_path: &Path) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `handle_reinstall` is never used
[INFO] [stdout]    --> src/setup.rs:144:4
[INFO] [stdout]     |
[INFO] [stdout] 144 | fn handle_reinstall(install_path: &Path, exec_path: &Path) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `install` is never used
[INFO] [stdout]    --> src/setup.rs:158:4
[INFO] [stdout]     |
[INFO] [stdout] 158 | fn install(install_path: &Path, exec_path: &Path) -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]     |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `set_max_depth` is never used
[INFO] [stdout]   --> src/sql_vuln/crawler.rs:35:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl WebCrawler {
[INFO] [stdout]    | --------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 35 |     pub fn set_max_depth(&mut self, depth: usize) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `error_checker` is never read
[INFO] [stdout]  --> src/sql_vuln/scanner.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct SqlInjectionScanner {
[INFO] [stdout]   |            ------------------- field in this struct
[INFO] [stdout] 9 |     error_checker: SqlErrorChecker,
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `TableData` is never used
[INFO] [stdout]   --> src/sql_vuln/std_utils.rs:52:10
[INFO] [stdout]    |
[INFO] [stdout] 52 | pub type TableData = Vec<Vec<String>>;
[INFO] [stdout]    |          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `bench_sql_error_detection` is never used
[INFO] [stdout]    --> src/tests.rs:232:12
[INFO] [stdout]     |
[INFO] [stdout] 232 |     pub fn bench_sql_error_detection(c: &mut Criterion) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `bench_user_agent_selection` is never used
[INFO] [stdout]    --> src/tests.rs:247:12
[INFO] [stdout]     |
[INFO] [stdout] 247 |     pub fn bench_user_agent_selection(c: &mut Criterion) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Unknown` is never constructed
[INFO] [stdout]   --> src/web/search.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub enum SearchError {
[INFO] [stdout]    |          ----------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 19 |     Unknown,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SearchError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Search` is never constructed
[INFO] [stdout]   --> src/web/search.rs:27:12
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub struct Search;
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/web/search.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 29 | impl Search {
[INFO] [stdout]    | ----------- associated function in this implementation
[INFO] [stdout] 30 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `gethtml` is never used
[INFO] [stdout]   --> src/web/web.rs:85:14
[INFO] [stdout]    |
[INFO] [stdout] 85 | pub async fn gethtml(url: &str, last_url: bool) -> Option<(String, Option<String>)> {
[INFO] [stdout]    |              ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 4.04s
[INFO] running `Command { std: "docker" "inspect" "cc3a86790f2c9c0eee00d256be197295dcf06d870dadd01dfdc7dc1306e43eb7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cc3a86790f2c9c0eee00d256be197295dcf06d870dadd01dfdc7dc1306e43eb7", kill_on_drop: false }`
[INFO] [stdout] cc3a86790f2c9c0eee00d256be197295dcf06d870dadd01dfdc7dc1306e43eb7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.94.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 4ac229aa5869c3a9f4a4f97342d8186e1731f1e28603363164f350f9ed3825a5
[INFO] running `Command { std: "docker" "start" "-a" "4ac229aa5869c3a9f4a4f97342d8186e1731f1e28603363164f350f9ed3825a5", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `crate::sql_vuln::crawler::WebCrawler`
[INFO] [stderr]  --> src/crawler_bench.rs:2:5
[INFO] [stderr]   |
[INFO] [stderr] 2 | use crate::sql_vuln::crawler::WebCrawler;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::collections::HashMap`
[INFO] [stderr]  --> src/searchlibs/google.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use std::collections::HashMap;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `url::Url`
[INFO] [stderr]  --> src/searchlibs/google.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 7 | use url::Url;
[INFO] [stderr]   |     ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::sync::Arc`
[INFO] [stderr]  --> src/sql_vuln/server_info.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | use std::sync::Arc;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `BufReader`
[INFO] [stderr]  --> src/sql_vuln/std_utils.rs:7:30
[INFO] [stderr]   |
[INFO] [stderr] 7 | use std::io::{self, BufRead, BufReader, Write};
[INFO] [stderr]   |                              ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `ServerData`, `TableData`, and `VulnData`
[INFO] [stderr]   --> src/sql_vuln/mod.rs:10:21
[INFO] [stderr]    |
[INFO] [stderr] 10 | pub use std_utils::{ServerData, StdUtils, TableData, VulnData};
[INFO] [stderr]    |                     ^^^^^^^^^^            ^^^^^^^^^  ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::fs`
[INFO] [stderr]  --> src/tests.rs:2:5
[INFO] [stderr]   |
[INFO] [stderr] 2 | use std::fs;
[INFO] [stderr]   |     ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `tempfile::TempDir`
[INFO] [stderr]  --> src/tests.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use tempfile::TempDir;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::web::useragents::UserAgents`
[INFO] [stderr]    --> src/tests.rs:229:9
[INFO] [stderr]     |
[INFO] [stderr] 229 |     use crate::web::useragents::UserAgents;
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `super::*`
[INFO] [stderr]    --> src/tests.rs:257:9
[INFO] [stderr]     |
[INFO] [stderr] 257 |     use super::*;
[INFO] [stderr]     |         ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `SqlErrorChecker`
[INFO] [stderr]   --> src/main.rs:18:16
[INFO] [stderr]    |
[INFO] [stderr] 18 | use sql_vuln::{SqlErrorChecker, StdUtils};
[INFO] [stderr]    |                ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead
[INFO] [stderr]  --> src/crawler_bench.rs:4:41
[INFO] [stderr]   |
[INFO] [stderr] 4 | use criterion::{BenchmarkId, Criterion, black_box, criterion_group, criterion_main};
[INFO] [stderr]   |                                         ^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead
[INFO] [stderr]   --> src/crawler_bench.rs:31:48
[INFO] [stderr]    |
[INFO] [stderr] 31 |             b.iter(|| parameter_regex.is_match(black_box(url)))
[INFO] [stderr]    |                                                ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead
[INFO] [stderr]   --> src/crawler_bench.rs:59:47
[INFO] [stderr]    |
[INFO] [stderr] 59 |                     let _resolved = base.join(black_box(link));
[INFO] [stderr]    |                                               ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead
[INFO] [stderr]  --> src/scanner_bench.rs:3:41
[INFO] [stderr]   |
[INFO] [stderr] 3 | use criterion::{BenchmarkId, Criterion, black_box, criterion_group, criterion_main};
[INFO] [stderr]   |                                         ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead
[INFO] [stderr]   --> src/scanner_bench.rs:59:37
[INFO] [stderr]    |
[INFO] [stderr] 59 |             b.iter(|| checker.check(black_box(html)))
[INFO] [stderr]    |                                     ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead
[INFO] [stderr]   --> src/scanner_bench.rs:95:53
[INFO] [stderr]    |
[INFO] [stderr] 95 |                 if let Ok(parsed) = url::Url::parse(black_box(url)) {
[INFO] [stderr]    |                                                     ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead
[INFO] [stderr]    --> src/tests.rs:230:32
[INFO] [stderr]     |
[INFO] [stderr] 230 |     use criterion::{Criterion, black_box};
[INFO] [stderr]     |                                ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead
[INFO] [stderr]    --> src/tests.rs:243:37
[INFO] [stderr]     |
[INFO] [stderr] 243 |             b.iter(|| checker.check(black_box(test_html)))
[INFO] [stderr]     |                                     ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `BufRead`
[INFO] [stderr]  --> src/sql_vuln/std_utils.rs:7:21
[INFO] [stderr]   |
[INFO] [stderr] 7 | use std::io::{self, BufRead, BufReader, Write};
[INFO] [stderr]   |                     ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `scanner`
[INFO] [stderr]   --> src/scanner_bench.rs:67:9
[INFO] [stderr]    |
[INFO] [stderr] 67 |     let scanner = SqlInjectionScanner::new();
[INFO] [stderr]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scanner`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `parsed_url`
[INFO] [stderr]   --> src/web/web.rs:34:9
[INFO] [stderr]    |
[INFO] [stderr] 34 |     let parsed_url = Url::parse(&full_url)?;
[INFO] [stderr]    |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parsed_url`
[INFO] [stderr] 
[INFO] [stderr] warning: function `bench_user_agent_selection` is never used
[INFO] [stderr]  --> src/crawler_bench.rs:6:4
[INFO] [stderr]   |
[INFO] [stderr] 6 | fn bench_user_agent_selection(c: &mut Criterion) {
[INFO] [stderr]   |    ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `bench_regex_matching` is never used
[INFO] [stderr]   --> src/crawler_bench.rs:12:4
[INFO] [stderr]    |
[INFO] [stderr] 12 | fn bench_regex_matching(c: &mut Criterion) {
[INFO] [stderr]    |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `bench_url_resolution` is never used
[INFO] [stderr]   --> src/crawler_bench.rs:38:4
[INFO] [stderr]    |
[INFO] [stderr] 38 | fn bench_url_resolution(c: &mut Criterion) {
[INFO] [stderr]    |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `bench_sql_error_detection` is never used
[INFO] [stderr]  --> src/scanner_bench.rs:5:4
[INFO] [stderr]   |
[INFO] [stderr] 5 | fn bench_sql_error_detection(c: &mut Criterion) {
[INFO] [stderr]   |    ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `bench_payload_generation` is never used
[INFO] [stderr]   --> src/scanner_bench.rs:66:4
[INFO] [stderr]    |
[INFO] [stderr] 66 | fn bench_payload_generation(c: &mut Criterion) {
[INFO] [stderr]    |    ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `bench_url_parsing` is never used
[INFO] [stderr]   --> src/scanner_bench.rs:82:4
[INFO] [stderr]    |
[INFO] [stderr] 82 | fn bench_url_parsing(c: &mut Criterion) {
[INFO] [stderr]    |    ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `SearchResult` is never constructed
[INFO] [stderr]   --> src/searchlibs/mod.rs:14:12
[INFO] [stderr]    |
[INFO] [stderr] 14 | pub struct SearchResult {
[INFO] [stderr]    |            ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variants `ParseError` and `InvalidParameter` are never constructed
[INFO] [stderr]   --> src/searchlibs/mod.rs:26:5
[INFO] [stderr]    |
[INFO] [stderr] 21 | pub enum SearchError {
[INFO] [stderr]    |          ----------- variants in this enum
[INFO] [stderr] ...
[INFO] [stderr] 26 |     ParseError(String),
[INFO] [stderr]    |     ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 32 |     InvalidParameter(String),
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `SearchError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: function `deduplicate_urls` is never used
[INFO] [stderr]   --> src/searchlibs/mod.rs:37:8
[INFO] [stderr]    |
[INFO] [stderr] 37 | pub fn deduplicate_urls(urls: Vec<String>) -> Vec<String> {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `filter_google_urls` is never used
[INFO] [stderr]   --> src/searchlibs/mod.rs:50:8
[INFO] [stderr]    |
[INFO] [stderr] 50 | pub fn filter_google_urls(url: &str) -> Option<String> {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `with_user_agent` is never used
[INFO] [stderr]   --> src/searchlibs/bing.rs:33:12
[INFO] [stderr]    |
[INFO] [stderr] 28 | impl BingSearch {
[INFO] [stderr]    | --------------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 33 |     pub fn with_user_agent(mut self, name: &str, version: &str) -> Self {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `SearchResult` is never constructed
[INFO] [stderr]  --> src/searchlibs/common.rs:5:12
[INFO] [stderr]   |
[INFO] [stderr] 5 | pub struct SearchResult {
[INFO] [stderr]   |            ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variants `ParseError` and `InvalidParameter` are never constructed
[INFO] [stderr]   --> src/searchlibs/common.rs:17:5
[INFO] [stderr]    |
[INFO] [stderr] 12 | pub enum SearchError {
[INFO] [stderr]    |          ----------- variants in this enum
[INFO] [stderr] ...
[INFO] [stderr] 17 |     ParseError(String),
[INFO] [stderr]    |     ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 23 |     InvalidParameter(String),
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `SearchError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: multiple methods are never used
[INFO] [stderr]    --> src/searchlibs/google.rs:49:12
[INFO] [stderr]     |
[INFO] [stderr]  34 | impl GoogleSearch {
[INFO] [stderr]     | ----------------- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr]  49 |     pub fn with_safe_search(mut self, safe: &str) -> Self {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 269 |     pub async fn search_images(
[INFO] [stderr]     |                  ^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 281 |     pub async fn search_news(
[INFO] [stderr]     |                  ^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 293 |     pub async fn search_videos(
[INFO] [stderr]     |                  ^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 305 |     pub async fn search_shop(
[INFO] [stderr]     |                  ^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 317 |     pub async fn search_books(
[INFO] [stderr]     |                  ^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 329 |     pub async fn search_apps(
[INFO] [stderr]     |                  ^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 341 |     async fn search_with_type(
[INFO] [stderr]     |              ^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 385 |     pub async fn lucky(&self, query: &str) -> Result<Option<String>, SearchError> {
[INFO] [stderr]     |                  ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: methods `with_user_agent` and `with_content_type` are never used
[INFO] [stderr]   --> src/searchlibs/yahoo.rs:32:12
[INFO] [stderr]    |
[INFO] [stderr] 27 | impl YahooSearch {
[INFO] [stderr]    | ---------------- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 32 |     pub fn with_user_agent(mut self, user_agent: &str) -> Self {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 37 |     pub fn with_content_type(mut self, content_type: &str) -> Self {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `main` is never used
[INFO] [stderr]   --> src/setup.rs:18:4
[INFO] [stderr]    |
[INFO] [stderr] 18 | fn main() {
[INFO] [stderr]    |    ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `get_platform_paths` is never used
[INFO] [stderr]   --> src/setup.rs:78:4
[INFO] [stderr]    |
[INFO] [stderr] 78 | fn get_platform_paths() -> (PathBuf, PathBuf) {
[INFO] [stderr]    |    ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `check_root_access` is never used
[INFO] [stderr]    --> src/setup.rs:104:4
[INFO] [stderr]     |
[INFO] [stderr] 104 | fn check_root_access() {
[INFO] [stderr]     |    ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `handle_install` is never used
[INFO] [stderr]    --> src/setup.rs:114:4
[INFO] [stderr]     |
[INFO] [stderr] 114 | fn handle_install(install_path: &Path, exec_path: &Path) {
[INFO] [stderr]     |    ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `handle_uninstall` is never used
[INFO] [stderr]    --> src/setup.rs:138:4
[INFO] [stderr]     |
[INFO] [stderr] 138 | fn handle_uninstall(install_path: &Path, exec_path: &Path) {
[INFO] [stderr]     |    ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `handle_reinstall` is never used
[INFO] [stderr]    --> src/setup.rs:144:4
[INFO] [stderr]     |
[INFO] [stderr] 144 | fn handle_reinstall(install_path: &Path, exec_path: &Path) {
[INFO] [stderr]     |    ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `install` is never used
[INFO] [stderr]    --> src/setup.rs:158:4
[INFO] [stderr]     |
[INFO] [stderr] 158 | fn install(install_path: &Path, exec_path: &Path) -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stderr]     |    ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `set_max_depth` is never used
[INFO] [stderr]   --> src/sql_vuln/crawler.rs:35:12
[INFO] [stderr]    |
[INFO] [stderr] 16 | impl WebCrawler {
[INFO] [stderr]    | --------------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 35 |     pub fn set_max_depth(&mut self, depth: usize) {
[INFO] [stderr]    |            ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `error_checker` is never read
[INFO] [stderr]  --> src/sql_vuln/scanner.rs:9:5
[INFO] [stderr]   |
[INFO] [stderr] 8 | pub struct SqlInjectionScanner {
[INFO] [stderr]   |            ------------------- field in this struct
[INFO] [stderr] 9 |     error_checker: SqlErrorChecker,
[INFO] [stderr]   |     ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: type alias `TableData` is never used
[INFO] [stderr]   --> src/sql_vuln/std_utils.rs:52:10
[INFO] [stderr]    |
[INFO] [stderr] 52 | pub type TableData = Vec<Vec<String>>;
[INFO] [stderr]    |          ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `bench_sql_error_detection` is never used
[INFO] [stderr]    --> src/tests.rs:232:12
[INFO] [stderr]     |
[INFO] [stderr] 232 |     pub fn bench_sql_error_detection(c: &mut Criterion) {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `bench_user_agent_selection` is never used
[INFO] [stderr]    --> src/tests.rs:247:12
[INFO] [stderr]     |
[INFO] [stderr] 247 |     pub fn bench_user_agent_selection(c: &mut Criterion) {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variant `Unknown` is never constructed
[INFO] [stderr]   --> src/web/search.rs:19:5
[INFO] [stderr]    |
[INFO] [stderr]  8 | pub enum SearchError {
[INFO] [stderr]    |          ----------- variant in this enum
[INFO] [stderr] ...
[INFO] [stderr] 19 |     Unknown,
[INFO] [stderr]    |     ^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `SearchError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Search` is never constructed
[INFO] [stderr]   --> src/web/search.rs:27:12
[INFO] [stderr]    |
[INFO] [stderr] 27 | pub struct Search;
[INFO] [stderr]    |            ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `new` is never used
[INFO] [stderr]   --> src/web/search.rs:30:12
[INFO] [stderr]    |
[INFO] [stderr] 29 | impl Search {
[INFO] [stderr]    | ----------- associated function in this implementation
[INFO] [stderr] 30 |     pub fn new() -> Self {
[INFO] [stderr]    |            ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `gethtml` is never used
[INFO] [stderr]   --> src/web/web.rs:85:14
[INFO] [stderr]    |
[INFO] [stderr] 85 | pub async fn gethtml(url: &str, last_url: bool) -> Option<(String, Option<String>)> {
[INFO] [stderr]    |              ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `untitled` (bin "untitled" test) generated 53 warnings (run `cargo fix --bin "untitled" -p untitled --tests` to apply 13 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.35s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/untitled-540e3e3a900d059c)
[INFO] [stdout] 
[INFO] [stdout] running 30 tests
[INFO] [stdout] test setup::tests::test_cli_creation ... ok
[INFO] [stdout] test setup::tests::test_get_platform_paths_non_windows ... ok
[INFO] [stdout] test setup::tests::test_metadata_display ... ok
[INFO] [stdout] test setup::tests::test_cli_install_flag ... ok
[INFO] [stdout] test setup::tests::test_cli_reinstall_flag ... ok
[INFO] [stdout] test setup::tests::test_cli_uninstall_flag ... ok
[INFO] [stdout] test setup::tests::test_copy_dir_recursive ... ok
[INFO] [stdout] test setup::tests::test_uninstall_nonexistent_paths ... ok
[INFO] [stdout] test tests::sql_vuln_tests::test_std_utils_dump ... ok
[INFO] [stdout] test setup::tests::test_uninstall_existing_paths ... ok
[INFO] [stdout] test tests::tests::test_cli_pages_custom ... ok
[INFO] [stdout] test tests::tests::test_cli_dork_and_engine_args ... ok
[INFO] [stdout] test tests::sql_vuln_tests::test_std_utils_dump_json ... ok
[INFO] [stdout] test setup::tests::test_create_executable_wrapper ... ok
[INFO] [stdout] test tests::tests::test_cli_creation ... ok
[INFO] [stdout] test tests::tests::test_cli_reverse_flag ... ok
[INFO] [stdout] test tests::tests::test_cli_target_arg ... ok
[INFO] [stdout] test tests::web_tests::test_user_agents_get_all ... ok
[INFO] [stdout] test tests::tests::test_cli_pages_default ... ok
[INFO] [stdout] test tests::web_tests::test_user_agents_random ... ok
[INFO] [stdout] test tests::sql_vuln_tests::test_sql_error_checker_no_error ... ok
[INFO] [stdout] test tests::sql_vuln_tests::test_sql_error_checker_mysql ... ok
[INFO] [stdout] test tests::mock_server_tests::test_get_html_success ... ok
[INFO] [stdout] test tests::mock_server_tests::test_get_html_server_error ... ok
[INFO] [stdout] test tests::tests::test_single_scan_invalid_url ... ok
[INFO] [stdout] test tests::tests::test_single_scan_valid_url_format ... ok
[INFO] [stdout] test tests::mock_server_tests::test_get_html_with_sql_error ... ok
[INFO] [stdout] test tests::test_invalid_search_engine ... ok
[INFO] [stdout] test tests::test_cli_version ... ok
[INFO] [stdout] test tests::test_missing_required_args ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 30 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.11s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "4ac229aa5869c3a9f4a4f97342d8186e1731f1e28603363164f350f9ed3825a5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4ac229aa5869c3a9f4a4f97342d8186e1731f1e28603363164f350f9ed3825a5", kill_on_drop: false }`
[INFO] [stdout] 4ac229aa5869c3a9f4a4f97342d8186e1731f1e28603363164f350f9ed3825a5
