[INFO] fetching crate cherrybomb-engine 0.1.2... [INFO] checking cherrybomb-engine-0.1.2 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] extracting crate cherrybomb-engine 0.1.2 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate cherrybomb-engine 0.1.2 on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-0-tc1/source/rust-toolchain.toml [INFO] started tweaking crates.io crate cherrybomb-engine 0.1.2 [INFO] finished tweaking crates.io crate cherrybomb-engine 0.1.2 [INFO] tweaked toml for crates.io crate cherrybomb-engine 0.1.2 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 145 packages to latest compatible versions [INFO] [stderr] Adding addr2line v0.22.0 (latest: v0.24.1) [INFO] [stderr] Adding base64 v0.13.1 (latest: v0.22.1) [INFO] [stderr] Adding base64 v0.21.7 (latest: v0.22.1) [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.6.0) [INFO] [stderr] Adding core-foundation v0.9.4 (latest: v0.10.0) [INFO] [stderr] Adding gimli v0.29.0 (latest: v0.31.0) [INFO] [stderr] Adding h2 v0.3.26 (latest: v0.4.6) [INFO] [stderr] Adding heck v0.3.3 (latest: v0.5.0) [INFO] [stderr] Adding hermit-abi v0.3.9 (latest: v0.4.0) [INFO] [stderr] Adding http v0.2.12 (latest: v1.1.0) [INFO] [stderr] Adding http-body v0.4.6 (latest: v1.0.1) [INFO] [stderr] Adding hyper v0.14.30 (latest: v1.4.1) [INFO] [stderr] Adding hyper-rustls v0.24.2 (latest: v0.27.2) [INFO] [stderr] Adding idna v0.5.0 (latest: v1.0.2) [INFO] [stderr] Adding miniz_oxide v0.7.4 (latest: v0.8.0) [INFO] [stderr] Adding reqwest v0.11.27 (latest: v0.12.7) [INFO] [stderr] Adding rustls v0.21.12 (latest: v0.23.12) [INFO] [stderr] Adding rustls-pemfile v1.0.4 (latest: v2.1.3) [INFO] [stderr] Adding rustls-webpki v0.101.7 (latest: v0.102.7) [INFO] [stderr] Adding strum v0.23.0 (latest: v0.26.3) [INFO] [stderr] Adding strum_macros v0.23.1 (latest: v0.26.4) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.77) [INFO] [stderr] Adding sync_wrapper v0.1.2 (latest: v1.0.1) [INFO] [stderr] Adding system-configuration v0.5.1 (latest: v0.6.1) [INFO] [stderr] Adding system-configuration-sys v0.5.0 (latest: v0.6.0) [INFO] [stderr] Adding tokio-rustls v0.24.1 (latest: v0.26.0) [INFO] [stderr] Adding uuid v0.8.2 (latest: v1.10.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding webpki-roots v0.25.4 (latest: v0.26.5) [INFO] [stderr] Adding windows-sys v0.48.0 (latest: v0.59.0) [INFO] [stderr] Adding windows-sys v0.52.0 (latest: v0.59.0) [INFO] [stderr] Adding windows-targets v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_aarch64_gnullvm v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_aarch64_msvc v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_i686_gnu v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_i686_msvc v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnu v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnullvm v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_x86_64_msvc v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding winreg v0.50.0 (latest: v0.52.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `reqwest` dependency) [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cherrybomb-oas v0.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7726ea0ed22850afa39c7ca19d6ffd0042de0dec797c336709317c20812aaa6e [INFO] running `Command { std: "docker" "start" "-a" "7726ea0ed22850afa39c7ca19d6ffd0042de0dec797c336709317c20812aaa6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7726ea0ed22850afa39c7ca19d6ffd0042de0dec797c336709317c20812aaa6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7726ea0ed22850afa39c7ca19d6ffd0042de0dec797c336709317c20812aaa6e", kill_on_drop: false }` [INFO] [stdout] 7726ea0ed22850afa39c7ca19d6ffd0042de0dec797c336709317c20812aaa6e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4c143b218a9f623c063c886cc72e7b8f0e44e81856b015e23f41e264cd5a14fd [INFO] running `Command { std: "docker" "start" "-a" "4c143b218a9f623c063c886cc72e7b8f0e44e81856b015e23f41e264cd5a14fd", kill_on_drop: false }` [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `reqwest` dependency) [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Checking colorchoice v1.0.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking anstyle-query v1.1.1 [INFO] [stderr] Checking anstyle-parse v0.2.5 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking clap_lex v0.7.2 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Checking colored v2.1.0 [INFO] [stderr] Checking clap_builder v4.5.15 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking webpki-roots v0.25.4 [INFO] [stderr] Checking unsafe-libyaml v0.2.11 [INFO] [stderr] Checking strum v0.23.0 [INFO] [stderr] Compiling strum_macros v0.23.1 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Compiling clap_derive v4.5.13 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking thiserror v1.0.63 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking clap v4.5.16 [INFO] [stderr] Checking hyper v0.14.30 [INFO] [stderr] Checking serde v1.0.209 [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Checking serde_json v1.0.127 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking cherrybomb-oas v0.1.2 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking cherrybomb-engine v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/lib.rs:15:33 [INFO] [stdout] | [INFO] [stdout] 15 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/lib.rs:15:33 [INFO] [stdout] | [INFO] [stdout] 15 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/scan/macros.rs:80:25 [INFO] [stdout] | [INFO] [stdout] 80 | $name=>Some(ActiveChecks::$check((vec![],AttackLog::default()))), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no value can reach this [INFO] [stdout] | matches all the relevant values [INFO] [stdout] | [INFO] [stdout] ::: src/scan/checks.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | / impl_active_checks![ [INFO] [stdout] 96 | | ( [INFO] [stdout] 97 | | CheckOpenRedirect, [INFO] [stdout] 98 | | check_open_redirect, [INFO] [stdout] ... | [INFO] [stdout] 200 | | ) [INFO] [stdout] 201 | | ]; [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_active_checks` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `oas` [INFO] [stdout] --> src/lib.rs:88:38 [INFO] [stdout] | [INFO] [stdout] 88 | fn run_profile_info(config: &Config, oas: &OAS3_1, oas_json: &Value) -> anyhow::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_oas` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `path_only` is never used [INFO] [stdout] --> src/info/eps.rs:174:12 [INFO] [stdout] | [INFO] [stdout] 173 | impl EpTable { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 174 | pub fn path_only(&self, path: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `named_param` is never used [INFO] [stdout] --> src/info/params.rs:149:12 [INFO] [stdout] | [INFO] [stdout] 148 | impl ParamTable { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 149 | pub fn named_param(&self, param: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse_check_list` is never used [INFO] [stdout] --> src/scan/active/active_scanner.rs:307:12 [INFO] [stdout] | [INFO] [stdout] 306 | impl ActiveChecks { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 307 | pub fn parse_check_list(list: Vec, exclude: bool) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `uri2` and `uri_http` are never used [INFO] [stdout] --> src/scan/active/http_client/req.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl AttackRequestBuilder { [INFO] [stdout] | ------------------------- methods in this implementation [INFO] [stdout] 23 | pub fn uri2(&mut self, server: Server, path: &str, secure: bool) -> &mut Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn uri_http(&mut self, server: &Server) -> &mut Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `top_severity` and `result` are never used [INFO] [stdout] --> src/scan/checks.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub trait Check { [INFO] [stdout] | ----- methods in this trait [INFO] [stdout] 22 | // fn alerts_text(&self) -> Cell; [INFO] [stdout] 23 | fn top_severity(&self) -> Level; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 24 | fn result(&self) -> &'static str; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `description` is never used [INFO] [stdout] --> src/scan/macros.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 10 | impl PassiveChecks{ [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn description(&self)->&'static str{ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/scan/checks.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | / impl_passive_checks![ [INFO] [stdout] 66 | | //name in enum check function check name check description [INFO] [stdout] 67 | | (CheckServerUrl,check_server_url,"SERVER URL","Checks for server url misconfigurations"), [INFO] [stdout] 68 | | (CheckAdditionalProperties,check_additional_properties,"ADDITIONAL PROPERTIES","Checks for bad defaults in object additional properti... [INFO] [stdout] ... | [INFO] [stdout] 92 | | [INFO] [stdout] 93 | | ]; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_passive_checks` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `description` is never used [INFO] [stdout] --> src/scan/macros.rs:70:20 [INFO] [stdout] | [INFO] [stdout] 69 | impl ActiveChecks{ [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 70 | pub fn description(&self)->&'static str{ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/scan/checks.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | / impl_active_checks![ [INFO] [stdout] 96 | | ( [INFO] [stdout] 97 | | CheckOpenRedirect, [INFO] [stdout] 98 | | check_open_redirect, [INFO] [stdout] ... | [INFO] [stdout] 200 | | ) [INFO] [stdout] 201 | | ]; [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_active_checks` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `example_inconsistant_schema` and `check_required_undefined` are never used [INFO] [stdout] --> src/scan/passive/general.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait PassiveGeneralScan { [INFO] [stdout] | ------------------ methods in this trait [INFO] [stdout] ... [INFO] [stdout] 13 | fn example_inconsistant_schema(&self) -> Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | fn check_required_undefined(&self) -> Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/scan/passive/passive_scanner.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl Deserialize<'de>> PassiveSwaggerScan { [INFO] [stdout] | -------------------------------------------------------------------------- associated function in this implementation [INFO] [stdout] 30 | pub fn new(swagger_value: Value) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse_check_list` is never used [INFO] [stdout] --> src/scan/passive/passive_scanner.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 61 | impl PassiveChecks { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 62 | pub fn parse_check_list(list: Vec, exclude: bool) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/scan/macros.rs:80:25 [INFO] [stdout] | [INFO] [stdout] 80 | $name=>Some(ActiveChecks::$check((vec![],AttackLog::default()))), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no value can reach this [INFO] [stdout] | matches all the relevant values [INFO] [stdout] | [INFO] [stdout] ::: src/scan/checks.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | / impl_active_checks![ [INFO] [stdout] 96 | | ( [INFO] [stdout] 97 | | CheckOpenRedirect, [INFO] [stdout] 98 | | check_open_redirect, [INFO] [stdout] ... | [INFO] [stdout] 200 | | ) [INFO] [stdout] 201 | | ]; [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_active_checks` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `oas` [INFO] [stdout] --> src/lib.rs:88:38 [INFO] [stdout] | [INFO] [stdout] 88 | fn run_profile_info(config: &Config, oas: &OAS3_1, oas_json: &Value) -> anyhow::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_oas` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `path_only` is never used [INFO] [stdout] --> src/info/eps.rs:174:12 [INFO] [stdout] | [INFO] [stdout] 173 | impl EpTable { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 174 | pub fn path_only(&self, path: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `named_param` is never used [INFO] [stdout] --> src/info/params.rs:149:12 [INFO] [stdout] | [INFO] [stdout] 148 | impl ParamTable { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 149 | pub fn named_param(&self, param: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse_check_list` is never used [INFO] [stdout] --> src/scan/active/active_scanner.rs:307:12 [INFO] [stdout] | [INFO] [stdout] 306 | impl ActiveChecks { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 307 | pub fn parse_check_list(list: Vec, exclude: bool) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `uri2` and `uri_http` are never used [INFO] [stdout] --> src/scan/active/http_client/req.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl AttackRequestBuilder { [INFO] [stdout] | ------------------------- methods in this implementation [INFO] [stdout] 23 | pub fn uri2(&mut self, server: Server, path: &str, secure: bool) -> &mut Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn uri_http(&mut self, server: &Server) -> &mut Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `top_severity` and `result` are never used [INFO] [stdout] --> src/scan/checks.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub trait Check { [INFO] [stdout] | ----- methods in this trait [INFO] [stdout] 22 | // fn alerts_text(&self) -> Cell; [INFO] [stdout] 23 | fn top_severity(&self) -> Level; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 24 | fn result(&self) -> &'static str; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `description` is never used [INFO] [stdout] --> src/scan/macros.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 10 | impl PassiveChecks{ [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn description(&self)->&'static str{ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/scan/checks.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | / impl_passive_checks![ [INFO] [stdout] 66 | | //name in enum check function check name check description [INFO] [stdout] 67 | | (CheckServerUrl,check_server_url,"SERVER URL","Checks for server url misconfigurations"), [INFO] [stdout] 68 | | (CheckAdditionalProperties,check_additional_properties,"ADDITIONAL PROPERTIES","Checks for bad defaults in object additional properti... [INFO] [stdout] ... | [INFO] [stdout] 92 | | [INFO] [stdout] 93 | | ]; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_passive_checks` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `description` is never used [INFO] [stdout] --> src/scan/macros.rs:70:20 [INFO] [stdout] | [INFO] [stdout] 69 | impl ActiveChecks{ [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 70 | pub fn description(&self)->&'static str{ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/scan/checks.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | / impl_active_checks![ [INFO] [stdout] 96 | | ( [INFO] [stdout] 97 | | CheckOpenRedirect, [INFO] [stdout] 98 | | check_open_redirect, [INFO] [stdout] ... | [INFO] [stdout] 200 | | ) [INFO] [stdout] 201 | | ]; [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_active_checks` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `example_inconsistant_schema` and `check_required_undefined` are never used [INFO] [stdout] --> src/scan/passive/general.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait PassiveGeneralScan { [INFO] [stdout] | ------------------ methods in this trait [INFO] [stdout] ... [INFO] [stdout] 13 | fn example_inconsistant_schema(&self) -> Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | fn check_required_undefined(&self) -> Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/scan/passive/passive_scanner.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl Deserialize<'de>> PassiveSwaggerScan { [INFO] [stdout] | -------------------------------------------------------------------------- associated function in this implementation [INFO] [stdout] 30 | pub fn new(swagger_value: Value) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse_check_list` is never used [INFO] [stdout] --> src/scan/passive/passive_scanner.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 61 | impl PassiveChecks { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 62 | pub fn parse_check_list(list: Vec, exclude: bool) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 44.95s [INFO] running `Command { std: "docker" "inspect" "4c143b218a9f623c063c886cc72e7b8f0e44e81856b015e23f41e264cd5a14fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c143b218a9f623c063c886cc72e7b8f0e44e81856b015e23f41e264cd5a14fd", kill_on_drop: false }` [INFO] [stdout] 4c143b218a9f623c063c886cc72e7b8f0e44e81856b015e23f41e264cd5a14fd