Skip to content

getting error  #1

@jitendrachandelPB

Description

@jitendrachandelPB

installing error on Ubuntu

warning: unused variable: db_name
--> src/utils/common.rs:142:5
|
142 | db_name: &str,
| ^^^^^^^ help: if this is intentional, prefix it with an underscore: _db_name
|
= note: #[warn(unused_variables)] on by default

warning: unused variable: sast_count
--> src/utils/pipeline.rs:142:13
|
142 | let sast_count = 0;
| ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: _sast_count

warning: unused variable: messages
--> src/utils/pipeline.rs:143:13
|
143 | let messages: Vec = Vec::new();
| ^^^^^^^^ help: if this is intentional, prefix it with an underscore: _messages

warning: variable found_sca_issues is assigned to, but never used
--> src/utils/pipeline.rs:207:17
|
207 | let mut found_sca_issues = false;
| ^^^^^^^^^^^^^^^^
|
= note: consider using _found_sca_issues instead

warning: value assigned to found_sca_issues is never read
--> src/utils/pipeline.rs:211:17
|
211 | found_sca_issues = true;
| ^^^^^^^^^^^^^^^^
|
= help: maybe it is overwritten before being read?
= note: #[warn(unused_assignments)] on by default

warning: unused variable: sca_count
--> src/utils/pipeline.rs:336:21
|
336 | let sca_count = 0;
| ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: _sca_count

warning: variable found_sca_issues is assigned to, but never used
--> src/utils/pipeline.rs:385:25
|
385 | let mut found_sca_issues = false;
| ^^^^^^^^^^^^^^^^
|
= note: consider using _found_sca_issues instead

warning: value assigned to found_sca_issues is never read
--> src/utils/pipeline.rs:392:25
|
392 | found_sca_issues = true;
| ^^^^^^^^^^^^^^^^
|
= help: maybe it is overwritten before being read?

warning: unused variable: secret_count
--> src/utils/pipeline.rs:488:13
|
488 | let secret_count = 0;
| ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: _secret_count

warning: value assigned to policy_yaml is never read
--> src/utils/pipeline.rs:845:17
|
845 | let mut policy_yaml: serde_yaml::Value = serde_yaml::Value::Null;
| ^^^^^^^^^^^
|
= help: maybe it is overwritten before being read?

warning: unused variable: host
--> src/utils/pipeline.rs:1307:9
|
1307 | let host = repo_url.host_str().unwrap_or("github.com");
| ^^^^ help: if this is intentional, prefix it with an underscore: _host

warning: Hela (bin "Hela" test) generated 11 warnings
warning: Hela (bin "Hela") generated 11 warnings (11 duplicates)
Finished dev profile [unoptimized + debuginfo] target(s) in 28.75s
The cargo fix command has successfully applied fixes

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions