[INFO] fetching crate cherrybomb-engine 0.1.2... [INFO] checking cherrybomb-engine-0.1.2 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate cherrybomb-engine 0.1.2 into /workspace/builds/worker-3-tc1/source [INFO] removed /workspace/builds/worker-3-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-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate cherrybomb-engine 0.1.2 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 177 packages to latest compatible versions [INFO] [stderr] Adding base64 v0.13.1 (available: v0.22.1) [INFO] [stderr] Adding reqwest v0.11.27 (available: v0.12.23) [INFO] [stderr] Adding strum v0.23.0 (available: v0.27.2) [INFO] [stderr] Adding strum_macros v0.23.1 (available: v0.27.2) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.16) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 007492097ee21221544d3de789810fc366291f484d6afd0209c8e2898a0bf0d7 [INFO] running `Command { std: "docker" "start" "-a" "007492097ee21221544d3de789810fc366291f484d6afd0209c8e2898a0bf0d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "007492097ee21221544d3de789810fc366291f484d6afd0209c8e2898a0bf0d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "007492097ee21221544d3de789810fc366291f484d6afd0209c8e2898a0bf0d7", kill_on_drop: false }` [INFO] [stdout] 007492097ee21221544d3de789810fc366291f484d6afd0209c8e2898a0bf0d7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2424520217faf9feb732050d1ca64e8b0cf7a9098b810abafee80f97535e6234 [INFO] running `Command { std: "docker" "start" "-a" "2424520217faf9feb732050d1ca64e8b0cf7a9098b810abafee80f97535e6234", 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 proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking writeable v0.6.1 [INFO] [stderr] Checking litemap v0.8.0 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Checking hashbrown v0.15.5 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Compiling cc v1.2.34 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking percent-encoding v2.3.2 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking slab v0.4.11 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking anstyle-parse v0.2.7 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking colorchoice v1.0.4 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Checking anstyle v1.0.11 [INFO] [stderr] Checking anstyle-query v1.1.4 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking form_urlencoded v1.2.2 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Checking indexmap v2.11.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Checking anstream v0.6.20 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking clap_lex v0.7.5 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking colored v2.2.0 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking clap_builder v4.5.44 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking ipnet v2.11.0 [INFO] [stderr] Checking unsafe-libyaml v0.2.11 [INFO] [stderr] Checking webpki-roots v0.25.4 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking strum v0.23.0 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking socket2 v0.6.0 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Compiling strum_macros v0.23.1 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling clap_derive v4.5.45 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking zerovec v0.11.4 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking clap v4.5.45 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.2 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking cherrybomb-oas v0.1.2 [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] 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: trait `Check` is never used [INFO] [stdout] --> src/scan/checks.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | pub trait Check { [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] 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] 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] 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: trait `Check` is never used [INFO] [stdout] --> src/scan/checks.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | pub trait Check { [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] 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] 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 38.07s [INFO] running `Command { std: "docker" "inspect" "2424520217faf9feb732050d1ca64e8b0cf7a9098b810abafee80f97535e6234", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2424520217faf9feb732050d1ca64e8b0cf7a9098b810abafee80f97535e6234", kill_on_drop: false }` [INFO] [stdout] 2424520217faf9feb732050d1ca64e8b0cf7a9098b810abafee80f97535e6234