[INFO] cloning repository https://github.com/VenTheZone/Project-WebHunter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/VenTheZone/Project-WebHunter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVenTheZone%2FProject-WebHunter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVenTheZone%2FProject-WebHunter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9eb8380ac7752309c2f7bc77ad5e5506c041a424 [INFO] testing VenTheZone/Project-WebHunter against try#a7ee93192a766fb0dafa23def7154fc03cfcfc3e for pr-146989 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVenTheZone%2FProject-WebHunter" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/VenTheZone/Project-WebHunter [INFO] finished tweaking git repo https://github.com/VenTheZone/Project-WebHunter [INFO] tweaked toml for git repo https://github.com/VenTheZone/Project-WebHunter written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/VenTheZone/Project-WebHunter on toolchain a7ee93192a766fb0dafa23def7154fc03cfcfc3e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/VenTheZone/Project-WebHunter 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" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a326fb920d9cfdaf2ac6643ebfb3fd591d39a6e646e4df6c8598901de4420ee2 [INFO] running `Command { std: "docker" "start" "-a" "a326fb920d9cfdaf2ac6643ebfb3fd591d39a6e646e4df6c8598901de4420ee2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a326fb920d9cfdaf2ac6643ebfb3fd591d39a6e646e4df6c8598901de4420ee2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a326fb920d9cfdaf2ac6643ebfb3fd591d39a6e646e4df6c8598901de4420ee2", kill_on_drop: false }` [INFO] [stdout] a326fb920d9cfdaf2ac6643ebfb3fd591d39a6e646e4df6c8598901de4420ee2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9b7510113931f1d4b76efa7224bcb9480a8eea7947f31d373be1cac2d9023534 [INFO] running `Command { std: "docker" "start" "-a" "9b7510113931f1d4b76efa7224bcb9480a8eea7947f31d373be1cac2d9023534", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling find-msvc-tools v0.1.4 [INFO] [stderr] Compiling writeable v0.6.2 [INFO] [stderr] Compiling litemap v0.8.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Compiling icu_properties_data v2.1.1 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling cc v1.2.44 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling openssl v0.10.74 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling unicode-width v0.2.2 [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling futf v0.1.5 [INFO] [stderr] Compiling dtoa v1.0.10 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling dtoa-short v0.3.5 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling tendril v0.4.3 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling indexmap v2.12.0 [INFO] [stderr] Compiling anstyle-query v1.1.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling anstream v0.6.21 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling phf v0.10.1 [INFO] [stderr] Compiling servo_arc v0.3.0 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling iri-string v0.7.8 [INFO] [stderr] Compiling clap_lex v0.7.6 [INFO] [stderr] Compiling clap_builder v4.5.51 [INFO] [stderr] Compiling rustls-pki-types v1.13.0 [INFO] [stderr] Compiling getopts v0.2.24 [INFO] [stderr] Compiling syn v2.0.108 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling socket2 v0.6.1 [INFO] [stderr] Compiling mio v1.1.0 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling openssl-sys v0.9.110 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling shell-words v1.1.0 [INFO] [stderr] Compiling utf8-width v0.1.7 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling ego-tree v0.6.3 [INFO] [stderr] Compiling colored v2.2.0 [INFO] [stderr] Compiling indicatif v0.17.11 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling signal-hook-mio v0.2.5 [INFO] [stderr] Compiling serde_path_to_error v0.1.20 [INFO] [stderr] Compiling uuid v1.19.0 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Compiling crossterm v0.27.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling html-escape v0.2.13 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling figlet-rs v0.1.5 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling phf_codegen v0.10.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.4 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Compiling selectors v0.25.0 [INFO] [stderr] Compiling markup5ever v0.12.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.228 [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 html5ever v0.27.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling clap_derive v4.5.49 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling cssparser v0.31.2 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling dialoguer v0.11.0 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling clap v4.5.51 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.1 [INFO] [stderr] Compiling string_cache v0.8.9 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling scraper v0.19.1 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling hyper-util v0.1.17 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stderr] Compiling reqwest v0.12.24 [INFO] [stderr] Compiling webhunter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::access_control_scanner::AccessControlVulnerability` [INFO] [stdout] --> src/reporter.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::access_control_scanner::AccessControlVulnerability; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::xss` [INFO] [stdout] --> src/reporter.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::xss; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 58.67s [INFO] running `Command { std: "docker" "inspect" "9b7510113931f1d4b76efa7224bcb9480a8eea7947f31d373be1cac2d9023534", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b7510113931f1d4b76efa7224bcb9480a8eea7947f31d373be1cac2d9023534", kill_on_drop: false }` [INFO] [stdout] 9b7510113931f1d4b76efa7224bcb9480a8eea7947f31d373be1cac2d9023534 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 440784dca90265f8af7c64a875c64f7046587c5d8b72050dd4ded6c5e7d3b1b4 [INFO] running `Command { std: "docker" "start" "-a" "440784dca90265f8af7c64a875c64f7046587c5d8b72050dd4ded6c5e7d3b1b4", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling assert-json-diff v2.0.2 [INFO] [stderr] Compiling similar v2.7.0 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Compiling uuid v1.19.0 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling scraper v0.19.1 [INFO] [stderr] Compiling dialoguer v0.11.0 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling tokio-test v0.4.4 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling hyper-util v0.1.17 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling mockito v1.7.1 [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stderr] Compiling reqwest v0.12.24 [INFO] [stderr] Compiling webhunter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::access_control_scanner::AccessControlVulnerability` [INFO] [stdout] --> src/reporter.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::access_control_scanner::AccessControlVulnerability; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::xss` [INFO] [stdout] --> src/reporter.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::xss; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_test_reporter` is never used [INFO] [stdout] --> src/access_control_scanner.rs:199:8 [INFO] [stdout] | [INFO] [stdout] 199 | fn create_test_reporter() -> (Arc, TempDir) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/access_control_scanner.rs:190:48 [INFO] [stdout] | [INFO] [stdout] 190 | fn create_test_scanner(url: Url, reporter: &Arc) -> AccessControlScanner { [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 190 | fn create_test_scanner(url: Url, reporter: &Arc) -> AccessControlScanner<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 30.76s [INFO] running `Command { std: "docker" "inspect" "440784dca90265f8af7c64a875c64f7046587c5d8b72050dd4ded6c5e7d3b1b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "440784dca90265f8af7c64a875c64f7046587c5d8b72050dd4ded6c5e7d3b1b4", kill_on_drop: false }` [INFO] [stdout] 440784dca90265f8af7c64a875c64f7046587c5d8b72050dd4ded6c5e7d3b1b4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5c459e70403bccaef8f213c192dc7c5a9fb015a15a906fa8c4da3d12b3eaf1ec [INFO] running `Command { std: "docker" "start" "-a" "5c459e70403bccaef8f213c192dc7c5a9fb015a15a906fa8c4da3d12b3eaf1ec", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `crate::access_control_scanner::AccessControlVulnerability` [INFO] [stderr] --> src/reporter.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::access_control_scanner::AccessControlVulnerability; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::xss` [INFO] [stderr] --> src/reporter.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use crate::xss; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `create_test_reporter` is never used [INFO] [stderr] --> src/access_control_scanner.rs:199:8 [INFO] [stderr] | [INFO] [stderr] 199 | fn create_test_reporter() -> (Arc, TempDir) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/access_control_scanner.rs:190:48 [INFO] [stderr] | [INFO] [stderr] 190 | fn create_test_scanner(url: Url, reporter: &Arc) -> AccessControlScanner { [INFO] [stderr] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 190 | fn create_test_scanner(url: Url, reporter: &Arc) -> AccessControlScanner<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `webhunter` (bin "webhunter" test) generated 4 warnings (run `cargo fix --bin "webhunter" -p webhunter --tests` to apply 3 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.42s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/webhunter-5dc178c490a2b271) [INFO] [stdout] [INFO] [stdout] running 64 tests [INFO] [stdout] test auth_bypass_scanner::tests::test_is_login_form_detection ... ok [INFO] [stdout] test blind_xss_scanner::tests::test_payload_generation ... ok [INFO] [stdout] test blind_xss_scanner::tests::test_unique_payload_ids ... ok [INFO] [stdout] test csrf_scanner::tests::test_calculate_severity ... ok [INFO] [stdout] test csrf_scanner::tests::test_has_csrf_token_with_authenticity_token ... ok [INFO] [stdout] test bypass_403::tests::test_scanner_creation ... ok [INFO] [stdout] test csrf_scanner::tests::test_generate_poc ... ok [INFO] [stdout] test csrf_scanner::tests::test_has_csrf_token_empty_value ... ok [INFO] [stdout] test csrf_scanner::tests::test_has_csrf_token_without_token ... ok [INFO] [stdout] test csrf_scanner::tests::test_poc_escapes_quotes ... ok [INFO] [stdout] test dom_xss_scanner::tests::test_extract_scripts_from_html ... ok [INFO] [stdout] test dom_xss_scanner::tests::test_line_numbers_accurate ... ok [INFO] [stdout] test dom_xss_scanner::tests::test_extract_scripts_ignores_empty ... ok [INFO] [stdout] test csrf_scanner::tests::test_has_csrf_token_with_csrf_token ... ok [INFO] [stdout] test dom_xss_scanner::tests::test_multiple_lines ... ok [INFO] [stdout] test dom_xss_scanner::tests::test_no_false_positive_safe_code ... ok [INFO] [stdout] test file_inclusion_scanner::tests::test_is_vulnerable_lfi_windows_boot ... ok [INFO] [stdout] test dom_xss_scanner::tests::test_detect_innerhtml_with_location ... ok [INFO] [stdout] test dom_xss_scanner::tests::test_settimeout_with_location ... ok [INFO] [stdout] test file_inclusion_scanner::tests::test_is_vulnerable_no_evidence ... ok [INFO] [stdout] test csrf_scanner::tests::test_has_csrf_token_case_insensitive ... ok [INFO] [stdout] test file_inclusion_scanner::tests::test_is_vulnerable_rfi_google ... ok [INFO] [stdout] test file_inclusion_scanner::tests::test_is_vulnerable_lfi_windows_fonts ... ok [INFO] [stdout] test file_inclusion_scanner::tests::test_is_vulnerable_rfi_robots ... ok [INFO] [stdout] test file_inclusion_scanner::tests::test_payload_classification_lfi ... ok [INFO] [stdout] test file_inclusion_scanner::tests::test_multiple_lfi_evidence_patterns ... ok [INFO] [stdout] test file_inclusion_scanner::tests::test_multiple_rfi_evidence_patterns ... ok [INFO] [stdout] test file_inclusion_scanner::tests::test_vulnerability_struct_creation ... ok [INFO] [stdout] test form::tests::test_form_creation ... ok [INFO] [stdout] test form::tests::test_form_input_creation ... ok [INFO] [stdout] test form::tests::test_form_empty_inputs ... ok [INFO] [stdout] test file_inclusion_scanner::tests::test_payload_classification_rfi ... ok [INFO] [stdout] test bypass_403::tests::test_generate_bypass_techniques ... ok [INFO] [stdout] test file_inclusion_scanner::tests::test_scanner_creation ... ok [INFO] [stdout] test dom_xss_scanner::tests::test_detect_location_hash_eval ... ok [INFO] [stdout] test rate_limiter::tests::test_rate_limiter_zero_delay ... ok [INFO] [stdout] test reporter::tests::test_reporter_creation_basic ... ok [INFO] [stdout] test sql_injection_scanner::tests::test_is_error_based_not_vulnerable ... ok [INFO] [stdout] test reporter::tests::test_report_sql_injection ... ok [INFO] [stdout] test sql_injection_scanner::tests::test_is_error_based_vulnerable_mssql ... ok [INFO] [stdout] test sql_injection_scanner::tests::test_is_error_based_vulnerable_mysql ... ok [INFO] [stdout] test sql_injection_scanner::tests::test_load_boolean_payloads ... ok [INFO] [stdout] test sql_injection_scanner::tests::test_is_error_based_vulnerable_postgresql ... ok [INFO] [stdout] test sql_injection_scanner::tests::test_payloads_count ... ok [INFO] [stdout] test sql_injection_scanner::tests::test_load_payloads ... ok [INFO] [stdout] test reporter::tests::test_report_directory ... ok [INFO] [stdout] test xss::tests::test_is_vulnerable_no_xss ... ok [INFO] [stdout] test xss::tests::test_is_vulnerable_script_tag ... ok [INFO] [stdout] test xss::tests::test_is_vulnerable_event_handler ... ok [INFO] [stdout] test xss::tests::test_is_vulnerable_html_encoded ... ok [INFO] [stdout] test xss::tests::test_payloads_count ... ok [INFO] [stdout] test dom_xss_scanner::tests::test_detect_document_write_with_url ... ok [INFO] [stdout] test reporter::tests::test_report_file_inclusion ... ok [INFO] [stdout] test reporter::tests::test_report_xss ... ok [INFO] [stdout] test file_inclusion_scanner::tests::test_is_vulnerable_lfi_linux_passwd ... ok [INFO] [stdout] test rate_limiter::tests::test_rate_limiter_delays ... ok [INFO] [stdout] test rate_limiter::tests::test_rate_limiter_concurrent ... ok [INFO] [stdout] test access_control_scanner::tests::test_check_forced_browsing ... ok [INFO] [stdout] test access_control_scanner::tests::test_check_method_override ... ok [INFO] [stdout] test access_control_scanner::tests::test_check_idor ... ok [INFO] [stdout] test bypass_403::tests::test_check_bypass_method_override ... ok [INFO] [stdout] test bypass_403::tests::test_check_bypass_header_spoofing ... ok [INFO] [stdout] test bypass_403::tests::test_check_bypass_success ... ok [INFO] [stdout] test bypass_403::tests::test_check_bypass_failure_same_body ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 64 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.49s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "5c459e70403bccaef8f213c192dc7c5a9fb015a15a906fa8c4da3d12b3eaf1ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c459e70403bccaef8f213c192dc7c5a9fb015a15a906fa8c4da3d12b3eaf1ec", kill_on_drop: false }` [INFO] [stdout] 5c459e70403bccaef8f213c192dc7c5a9fb015a15a906fa8c4da3d12b3eaf1ec