[INFO] cloning repository https://github.com/nehcuh/devsecflow [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nehcuh/devsecflow" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnehcuh%2Fdevsecflow", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnehcuh%2Fdevsecflow'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a0d52bd9c6ad9385f057682324d3c15610562c23 [INFO] testing nehcuh/devsecflow against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnehcuh%2Fdevsecflow" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/nehcuh/devsecflow [INFO] finished tweaking git repo https://github.com/nehcuh/devsecflow [INFO] tweaked toml for git repo https://github.com/nehcuh/devsecflow written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/nehcuh/devsecflow on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/nehcuh/devsecflow 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded redox_users v0.5.0 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 67137c37ce296616aa15667198c381de4f123b54cbe1f2afb98bcf154c9cf01e [INFO] running `Command { std: "docker" "start" "-a" "67137c37ce296616aa15667198c381de4f123b54cbe1f2afb98bcf154c9cf01e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "67137c37ce296616aa15667198c381de4f123b54cbe1f2afb98bcf154c9cf01e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "67137c37ce296616aa15667198c381de4f123b54cbe1f2afb98bcf154c9cf01e", kill_on_drop: false }` [INFO] [stdout] 67137c37ce296616aa15667198c381de4f123b54cbe1f2afb98bcf154c9cf01e [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] af9d2b45046885d71471eceb54fcc441ca32070e94f0e12b0f19a75d8a0b2acb [INFO] running `Command { std: "docker" "start" "-a" "af9d2b45046885d71471eceb54fcc441ca32070e94f0e12b0f19a75d8a0b2acb", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.2.29 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling winnow v0.7.11 [INFO] [stderr] Compiling iri-string v0.7.8 [INFO] [stderr] Compiling dirs-sys v0.5.0 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling dirs v6.0.0 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling regex v1.11.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 tokio-macros v2.5.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling clap_derive v4.5.40 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling tokio v1.46.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling clap v4.5.40 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling toml_edit v0.22.27 [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 tokio-util v0.7.15 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling h2 v0.4.11 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper-util v0.1.14 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.22 [INFO] [stderr] Compiling devsecflow v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/cli/commands/init.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::path::Path; [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: `Context` [INFO] [stdout] --> src/cli/commands/scan.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{Context, Result}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/cli/commands/analyze.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{Context, Result}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/cli/commands/report.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{Context, Result}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/cli/commands/report.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/cli/commands/config.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{Context, Result}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::core::config::AppConfig` [INFO] [stdout] --> src/cli/commands/config.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::core::config::AppConfig; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `USER_CONFIG_PATH` is never used [INFO] [stdout] --> src/core/config/mod.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | const USER_CONFIG_PATH: &str = "~/.config/dsf"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `USER_CONFIG_FILE` is never used [INFO] [stdout] --> src/core/config/mod.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const USER_CONFIG_FILE: &str = "config.toml"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/core/ai/mod.rs:156:5 [INFO] [stdout] | [INFO] [stdout] 153 | pub struct AIEngine { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 156 | config: AIConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `custom_rules_path` is never read [INFO] [stdout] --> src/core/security/mod.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 115 | pub struct RuleManager { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 116 | rules: HashMap, [INFO] [stdout] 117 | custom_rules_path: PathBuf, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RuleManager` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `rule_manager` is never read [INFO] [stdout] --> src/core/security/mod.rs:195:5 [INFO] [stdout] | [INFO] [stdout] 192 | pub struct AstGrepScanner { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 195 | rule_manager: RuleManager, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/cli/commands/init.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::path::Path; [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: `Context` [INFO] [stdout] --> src/cli/commands/scan.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{Context, Result}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/cli/commands/analyze.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{Context, Result}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/cli/commands/report.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{Context, Result}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/cli/commands/report.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/cli/commands/config.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{Context, Result}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::core::config::AppConfig` [INFO] [stdout] --> src/cli/commands/config.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::core::config::AppConfig; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `USER_CONFIG_PATH` is never used [INFO] [stdout] --> src/core/config/mod.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | const USER_CONFIG_PATH: &str = "~/.config/dsf"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `USER_CONFIG_FILE` is never used [INFO] [stdout] --> src/core/config/mod.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const USER_CONFIG_FILE: &str = "config.toml"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/core/ai/mod.rs:156:5 [INFO] [stdout] | [INFO] [stdout] 153 | pub struct AIEngine { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 156 | config: AIConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `custom_rules_path` is never read [INFO] [stdout] --> src/core/security/mod.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 115 | pub struct RuleManager { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 116 | rules: HashMap, [INFO] [stdout] 117 | custom_rules_path: PathBuf, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RuleManager` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `rule_manager` is never read [INFO] [stdout] --> src/core/security/mod.rs:195:5 [INFO] [stdout] | [INFO] [stdout] 192 | pub struct AstGrepScanner { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 195 | rule_manager: RuleManager, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 46.96s [INFO] running `Command { std: "docker" "inspect" "af9d2b45046885d71471eceb54fcc441ca32070e94f0e12b0f19a75d8a0b2acb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af9d2b45046885d71471eceb54fcc441ca32070e94f0e12b0f19a75d8a0b2acb", kill_on_drop: false }` [INFO] [stdout] af9d2b45046885d71471eceb54fcc441ca32070e94f0e12b0f19a75d8a0b2acb [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3448eed8fbd744c48f66598a4b99acfec7d7ae268c7f3f788f2a6fba4e4d591e [INFO] running `Command { std: "docker" "start" "-a" "3448eed8fbd744c48f66598a4b99acfec7d7ae268c7f3f788f2a6fba4e4d591e", kill_on_drop: false }` [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling tokio v1.46.1 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling tokio-util v0.7.15 [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.11 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper-util v0.1.14 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.22 [INFO] [stderr] Compiling devsecflow v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/cli/commands/init.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::path::Path; [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: `Context` [INFO] [stdout] --> src/cli/commands/scan.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{Context, Result}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/cli/commands/analyze.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{Context, Result}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/cli/commands/report.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{Context, Result}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/cli/commands/report.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/cli/commands/config.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{Context, Result}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::core::config::AppConfig` [INFO] [stdout] --> src/cli/commands/config.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::core::config::AppConfig; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `USER_CONFIG_PATH` is never used [INFO] [stdout] --> src/core/config/mod.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | const USER_CONFIG_PATH: &str = "~/.config/dsf"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `USER_CONFIG_FILE` is never used [INFO] [stdout] --> src/core/config/mod.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const USER_CONFIG_FILE: &str = "config.toml"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/core/ai/mod.rs:156:5 [INFO] [stdout] | [INFO] [stdout] 153 | pub struct AIEngine { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 156 | config: AIConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `custom_rules_path` is never read [INFO] [stdout] --> src/core/security/mod.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 115 | pub struct RuleManager { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 116 | rules: HashMap, [INFO] [stdout] 117 | custom_rules_path: PathBuf, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RuleManager` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `rule_manager` is never read [INFO] [stdout] --> src/core/security/mod.rs:195:5 [INFO] [stdout] | [INFO] [stdout] 192 | pub struct AstGrepScanner { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 195 | rule_manager: RuleManager, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/cli/commands/init.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::path::Path; [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: `Context` [INFO] [stdout] --> src/cli/commands/scan.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{Context, Result}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/cli/commands/analyze.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{Context, Result}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/cli/commands/report.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{Context, Result}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/cli/commands/report.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/cli/commands/config.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{Context, Result}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::core::config::AppConfig` [INFO] [stdout] --> src/cli/commands/config.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::core::config::AppConfig; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/cli/commands/init.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::path::Path; [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: `Context` [INFO] [stdout] --> src/cli/commands/scan.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{Context, Result}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/cli/commands/analyze.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{Context, Result}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/cli/commands/report.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{Context, Result}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/cli/commands/report.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/cli/commands/config.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{Context, Result}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::core::config::AppConfig` [INFO] [stdout] --> src/cli/commands/config.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::core::config::AppConfig; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/cli/commands/init.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::path::Path; [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: `Context` [INFO] [stdout] --> src/cli/commands/scan.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{Context, Result}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/cli/commands/analyze.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{Context, Result}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/cli/commands/report.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{Context, Result}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/cli/commands/report.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/cli/commands/config.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{Context, Result}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::core::config::AppConfig` [INFO] [stdout] --> src/cli/commands/config.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::core::config::AppConfig; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `USER_CONFIG_PATH` is never used [INFO] [stdout] --> src/core/config/mod.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | const USER_CONFIG_PATH: &str = "~/.config/dsf"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `USER_CONFIG_FILE` is never used [INFO] [stdout] --> src/core/config/mod.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const USER_CONFIG_FILE: &str = "config.toml"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/core/ai/mod.rs:156:5 [INFO] [stdout] | [INFO] [stdout] 153 | pub struct AIEngine { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 156 | config: AIConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `custom_rules_path` is never read [INFO] [stdout] --> src/core/security/mod.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 115 | pub struct RuleManager { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 116 | rules: HashMap, [INFO] [stdout] 117 | custom_rules_path: PathBuf, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RuleManager` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `rule_manager` is never read [INFO] [stdout] --> src/core/security/mod.rs:195:5 [INFO] [stdout] | [INFO] [stdout] 192 | pub struct AstGrepScanner { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 195 | rule_manager: RuleManager, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `USER_CONFIG_PATH` is never used [INFO] [stdout] --> src/core/config/mod.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | const USER_CONFIG_PATH: &str = "~/.config/dsf"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `USER_CONFIG_PATH` is never used [INFO] [stdout] --> src/core/config/mod.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | const USER_CONFIG_PATH: &str = "~/.config/dsf"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `USER_CONFIG_FILE` is never used [INFO] [stdout] --> src/core/config/mod.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const USER_CONFIG_FILE: &str = "config.toml"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/core/ai/mod.rs:156:5 [INFO] [stdout] | [INFO] [stdout] 153 | pub struct AIEngine { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 156 | config: AIConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `custom_rules_path` is never read [INFO] [stdout] --> src/core/security/mod.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 115 | pub struct RuleManager { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 116 | rules: HashMap, [INFO] [stdout] 117 | custom_rules_path: PathBuf, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RuleManager` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `rule_manager` is never read [INFO] [stdout] --> src/core/security/mod.rs:195:5 [INFO] [stdout] | [INFO] [stdout] 192 | pub struct AstGrepScanner { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 195 | rule_manager: RuleManager, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `USER_CONFIG_FILE` is never used [INFO] [stdout] --> src/core/config/mod.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const USER_CONFIG_FILE: &str = "config.toml"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/core/ai/mod.rs:156:5 [INFO] [stdout] | [INFO] [stdout] 153 | pub struct AIEngine { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 156 | config: AIConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `custom_rules_path` is never read [INFO] [stdout] --> src/core/security/mod.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 115 | pub struct RuleManager { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 116 | rules: HashMap, [INFO] [stdout] 117 | custom_rules_path: PathBuf, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RuleManager` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `rule_manager` is never read [INFO] [stdout] --> src/core/security/mod.rs:195:5 [INFO] [stdout] | [INFO] [stdout] 192 | pub struct AstGrepScanner { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 195 | rule_manager: RuleManager, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 16.12s [INFO] running `Command { std: "docker" "inspect" "3448eed8fbd744c48f66598a4b99acfec7d7ae268c7f3f788f2a6fba4e4d591e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3448eed8fbd744c48f66598a4b99acfec7d7ae268c7f3f788f2a6fba4e4d591e", kill_on_drop: false }` [INFO] [stdout] 3448eed8fbd744c48f66598a4b99acfec7d7ae268c7f3f788f2a6fba4e4d591e [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7cf44becc63c4837d7498bcb0a41488eeac2e5f3fec984e0b178be324f9ba0d0 [INFO] running `Command { std: "docker" "start" "-a" "7cf44becc63c4837d7498bcb0a41488eeac2e5f3fec984e0b178be324f9ba0d0", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `std::path::Path` [INFO] [stderr] --> src/cli/commands/init.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use std::path::Path; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Context` [INFO] [stderr] --> src/cli/commands/scan.rs:1:14 [INFO] [stderr] | [INFO] [stderr] 1 | use anyhow::{Context, Result}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Context` [INFO] [stderr] --> src/cli/commands/analyze.rs:1:14 [INFO] [stderr] | [INFO] [stderr] 1 | use anyhow::{Context, Result}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Context` [INFO] [stderr] --> src/cli/commands/report.rs:1:14 [INFO] [stderr] | [INFO] [stderr] 1 | use anyhow::{Context, Result}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::path::Path` [INFO] [stderr] --> src/cli/commands/report.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::path::Path; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Context` [INFO] [stderr] --> src/cli/commands/config.rs:1:14 [INFO] [stderr] | [INFO] [stderr] 1 | use anyhow::{Context, Result}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::core::config::AppConfig` [INFO] [stderr] --> src/cli/commands/config.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::core::config::AppConfig; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `USER_CONFIG_PATH` is never used [INFO] [stderr] --> src/core/config/mod.rs:5:7 [INFO] [stderr] | [INFO] [stderr] 5 | const USER_CONFIG_PATH: &str = "~/.config/dsf"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: constant `USER_CONFIG_FILE` is never used [INFO] [stderr] --> src/core/config/mod.rs:6:7 [INFO] [stderr] | [INFO] [stderr] 6 | const USER_CONFIG_FILE: &str = "config.toml"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `config` is never read [INFO] [stderr] --> src/core/ai/mod.rs:156:5 [INFO] [stderr] | [INFO] [stderr] 153 | pub struct AIEngine { [INFO] [stderr] | -------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 156 | config: AIConfig, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `custom_rules_path` is never read [INFO] [stderr] --> src/core/security/mod.rs:117:5 [INFO] [stderr] | [INFO] [stderr] 115 | pub struct RuleManager { [INFO] [stderr] | ----------- field in this struct [INFO] [stderr] 116 | rules: HashMap, [INFO] [stderr] 117 | custom_rules_path: PathBuf, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `RuleManager` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `rule_manager` is never read [INFO] [stderr] --> src/core/security/mod.rs:195:5 [INFO] [stderr] | [INFO] [stderr] 192 | pub struct AstGrepScanner { [INFO] [stderr] | -------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 195 | rule_manager: RuleManager, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `devsecflow` (lib) generated 12 warnings (run `cargo fix --lib -p devsecflow` to apply 7 suggestions) [INFO] [stderr] warning: `devsecflow` (lib test) generated 12 warnings (12 duplicates) [INFO] [stderr] warning: `devsecflow` (bin "dsf") generated 12 warnings (12 duplicates) [INFO] [stderr] warning: `devsecflow` (bin "dsf" test) generated 12 warnings (12 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/devsecflow-bfedee81ed44973c) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] 2025-09-10T20:21:28.211628Z  WARN ThreadId(02) src/utils/logger.rs:47: [TEST] Context warning message [INFO] [stdout] 2025-09-10T20:21:28.211674Z ERROR ThreadId(02) src/utils/logger.rs:51: [TEST] Context error message [INFO] [stdout] test utils::logger::tests::test_contextual_logging ... ok [INFO] [stdout] 2025-09-10T20:21:28.211770Z  WARN ThreadId(03) src/utils/logger.rs:35: Test warning message [INFO] [stdout] 2025-09-10T20:21:28.211824Z ERROR ThreadId(03) src/utils/logger.rs:39: Test error message [INFO] [stdout] test utils::logger::tests::test_logger_initialization ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/dsf-bc5616ad0622ce28) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] 2025-09-10T20:21:28.220416Z  INFO ThreadId(02) src/utils/logger.rs:43: [TEST] Context test message [INFO] [stdout] 2025-09-10T20:21:28.220486Z  WARN ThreadId(02) src/utils/logger.rs:47: [TEST] Context warning message [INFO] [stdout] 2025-09-10T20:21:28.220502Z ERROR ThreadId(02) src/utils/logger.rs:51: [TEST] Context error message [INFO] [stdout] 2025-09-10T20:21:28.220514Z  INFO ThreadId(03) src/utils/logger.rs:31: Test log message [INFO] [stdout] 2025-09-10T20:21:28.220599Z  WARN ThreadId(03) src/utils/logger.rs:35: Test warning message [INFO] [stdout] test utils::logger::tests::test_contextual_logging ... 2025-09-10T20:21:28.220614Z ERROR ThreadId(03) src/utils/logger.rs:39: Test error message [INFO] [stdout] ok [INFO] [stdout] test utils::logger::tests::test_logger_initialization ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running tests/integration_test.rs (/opt/rustwide/target/debug/deps/integration_test-28d1bc67c5aae9b5) [INFO] [stdout] [INFO] [stdout] running 11 tests [INFO] [stdout] test test_app_initialization ... ok [INFO] [stdout] test test_ai_code_analysis ... ok [INFO] [stdout] test test_config_validation ... ok [INFO] [stdout] test test_custom_config_initialization ... ok [INFO] [stdout] test test_git_error_explanation ... ok [INFO] [stdout] test test_scanner_availability ... ok [INFO] [stdout] test test_threat_modeling ... ok [INFO] [stdout] test test_security_scan_file ... ok [INFO] [stdout] test test_concurrent_operations ... ok [INFO] [stdout] test test_security_scan_directory ... ok [INFO] [stdout] test test_error_handling ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] [stderr] Doc-tests devsecflow [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "7cf44becc63c4837d7498bcb0a41488eeac2e5f3fec984e0b178be324f9ba0d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7cf44becc63c4837d7498bcb0a41488eeac2e5f3fec984e0b178be324f9ba0d0", kill_on_drop: false }` [INFO] [stdout] 7cf44becc63c4837d7498bcb0a41488eeac2e5f3fec984e0b178be324f9ba0d0