[INFO] cloning repository https://github.com/kai-ten/log-analyzer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kai-ten/log-analyzer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkai-ten%2Flog-analyzer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkai-ten%2Flog-analyzer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 35679f29687701ad7c72dc805ebdd6cd76832ba7 [INFO] testing kai-ten/log-analyzer against 1.86.0 for beta-1.87-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkai-ten%2Flog-analyzer" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kai-ten/log-analyzer on toolchain 1.86.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.86.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kai-ten/log-analyzer [INFO] finished tweaking git repo https://github.com/kai-ten/log-analyzer [INFO] tweaked toml for git repo https://github.com/kai-ten/log-analyzer written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/kai-ten/log-analyzer 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" "+1.86.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_yaml v0.9.13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1.86.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ec0c76b8347bf2156113fe4031d1064356660434d77ac7bdfbe1a432eb2735ae [INFO] running `Command { std: "docker" "start" "-a" "ec0c76b8347bf2156113fe4031d1064356660434d77ac7bdfbe1a432eb2735ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ec0c76b8347bf2156113fe4031d1064356660434d77ac7bdfbe1a432eb2735ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec0c76b8347bf2156113fe4031d1064356660434d77ac7bdfbe1a432eb2735ae", kill_on_drop: false }` [INFO] [stdout] ec0c76b8347bf2156113fe4031d1064356660434d77ac7bdfbe1a432eb2735ae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1.86.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1559ccabce89a95dc0225df37ed445c8de14432ba226be8f056ad9045f1c92da [INFO] running `Command { std: "docker" "start" "-a" "1559ccabce89a95dc0225df37ed445c8de14432ba226be8f056ad9045f1c92da", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling libc v0.2.134 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.46 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling unicode-ident v1.0.4 [INFO] [stderr] Compiling syn v1.0.101 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling serde_derive v1.0.145 [INFO] [stderr] Compiling serde v1.0.145 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling itoa v1.0.3 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling futures-core v0.3.24 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling bytes v1.2.1 [INFO] [stderr] Compiling once_cell v1.15.0 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling tracing-core v0.1.29 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling futures-task v0.3.24 [INFO] [stderr] Compiling futures-util v0.3.24 [INFO] [stderr] Compiling ryu v1.0.11 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling tokio v1.21.2 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling futures-sink v0.3.24 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling percent-encoding v2.2.0 [INFO] [stderr] Compiling http v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling zstd-safe v5.0.2+zstd.1.5.2 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling local-waker v0.1.3 [INFO] [stderr] Compiling serde_json v1.0.85 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling aho-corasick v0.7.19 [INFO] [stderr] Compiling bytestring v1.1.0 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling anyhow v1.0.65 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Compiling jobserver v0.1.25 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling socket2 v0.4.7 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling paste v1.0.9 [INFO] [stderr] Compiling thiserror v1.0.37 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling unsafe-any v0.4.2 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling miniz_oxide v0.5.4 [INFO] [stderr] Compiling ordered-float v2.10.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling brotli-decompressor v2.3.2 [INFO] [stderr] Compiling actix-utils v3.0.0 [INFO] [stderr] Compiling form_urlencoded v1.1.0 [INFO] [stderr] Compiling cookie v0.16.1 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.3 [INFO] [stderr] Compiling actix-service v2.0.2 [INFO] [stderr] Compiling iana-time-zone v0.1.50 [INFO] [stderr] Compiling cpufeatures v0.2.5 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling digest v0.10.5 [INFO] [stderr] Compiling num_threads v0.1.6 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling time-macros v0.2.4 [INFO] [stderr] Compiling zstd-sys v2.0.1+zstd.1.5.2 [INFO] [stderr] Compiling sha1 v0.10.5 [INFO] [stderr] Compiling idna v0.3.0 [INFO] [stderr] Compiling chrono v0.4.22 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling flate2 v1.0.24 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Compiling typemap v0.3.3 [INFO] [stderr] Compiling local-channel v0.1.3 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling thread-id v4.0.0 [INFO] [stderr] Compiling arc-swap v1.5.1 [INFO] [stderr] Compiling bytecount v0.6.3 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling brotli v3.3.4 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling log-mdc v0.1.0 [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Compiling unsafe-libyaml v0.2.4 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling url v2.3.1 [INFO] [stderr] Compiling sigma_log_parser v0.1.0 (/opt/rustwide/workdir/src/sigma_log_parser) [INFO] [stderr] Compiling time v0.3.14 [INFO] [stderr] Compiling nom_locate v4.0.0 [INFO] [stderr] Compiling thiserror-impl v1.0.37 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling actix-macros v0.2.3 [INFO] [stderr] Compiling serde_yaml v0.8.26 [INFO] [stderr] Compiling serde-value v0.7.0 [INFO] [stderr] Compiling serde_yaml v0.9.13 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tracing v0.1.36 [INFO] [stderr] Compiling mio v0.8.4 [INFO] [stderr] Compiling actix-router v0.5.1 [INFO] [stderr] Compiling log4rs v1.1.1 [INFO] [stderr] Compiling actix-web-codegen v4.1.0 [INFO] [stderr] Compiling sigma_rule_parser v0.1.0 (/opt/rustwide/workdir/src/sigma_rule_parser) [INFO] [stdout] warning: unused imports: `info` and `warn` [INFO] [stdout] --> src/sigma_rule_parser/src/detection_builder.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use log::{info, warn}; [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/sigma_rule_parser/src/detection_builder.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | /// search identifiers are used to validate whether or not a condition contains existing search id's [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 21 | let search_identifiers = raw_detection.clone().into_keys().collect::>(); [INFO] [stdout] | ------------------------------------------------------------------------------------ rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/sigma_rule_parser/src/detection_parsers/condition/condition_parser.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error` and `info` [INFO] [stdout] --> src/sigma_rule_parser/src/detection_parsers/condition/condition_parser.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use log::{error, info}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::detection_parsers::logic::logic_parser::parse_search_identifier` [INFO] [stdout] --> src/sigma_rule_parser/src/detection_parsers/condition/condition_parser.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::detection_parsers::logic::logic_parser::parse_search_identifier; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::detection_parsers::condition::sub_parsers::parser` [INFO] [stdout] --> src/sigma_rule_parser/src/detection_parsers/condition/or_parser.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::detection_parsers::condition::sub_parsers::parser; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::detection_parsers::condition::and_parser::and_parser` [INFO] [stdout] --> src/sigma_rule_parser/src/detection_parsers/condition/search_id_parser.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::detection_parsers::condition::and_parser::and_parser; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::detection_parsers::condition::or_parser::or_parser` [INFO] [stdout] --> src/sigma_rule_parser/src/detection_parsers/condition/search_id_parser.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::detection_parsers::condition::or_parser::or_parser; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tag_no_case` [INFO] [stdout] --> src/sigma_rule_parser/src/detection_parsers/condition/search_id_parser.rs:4:28 [INFO] [stdout] | [INFO] [stdout] 4 | use nom::bytes::complete::{tag_no_case, take_until, take_while}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Operator` [INFO] [stdout] --> src/sigma_rule_parser/src/detection_parsers/condition/search_id_parser.rs:8:63 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::structs::detection_condition::{DetectionCondition, Operator}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IResult` [INFO] [stdout] --> src/sigma_rule_parser/src/detection_parsers/condition/sub_parsers.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | use nom::{Finish, IResult}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Operator` [INFO] [stdout] --> src/sigma_rule_parser/src/detection_parsers/logic/logic_parser.rs:4:63 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::structs::detection_condition::{DetectionCondition, Operator}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::structs::detection_logic::DetectionLogic` [INFO] [stdout] --> src/sigma_rule_parser/src/sigma_file/sigma_rule.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::structs::detection_logic::DetectionLogic; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rule_id` [INFO] [stdout] --> src/sigma_rule_parser/src/detection_builder.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | let rule_id = rule.id; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rule_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `condition` [INFO] [stdout] --> src/sigma_rule_parser/src/detection_parsers/condition/condition_parser.rs:29:29 [INFO] [stdout] | [INFO] [stdout] 29 | let condition = parser_output.result.clone(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_condition` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `condition` is never read [INFO] [stdout] --> src/sigma_rule_parser/src/detection_parsers/condition/parens_parser.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | let mut condition = DetectionCondition::init(); // builds the conditions in the parentheses [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `condition` is never read [INFO] [stdout] --> src/sigma_rule_parser/src/detection_parsers/condition/parens_parser.rs:31:25 [INFO] [stdout] | [INFO] [stdout] 31 | condition = parser_output.result.clone(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sigma_rule_parser/src/detection_parsers/condition/parens_parser.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | let mut remaining_condition = remaining; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sigma_rule_parser/src/detection_parsers/condition/parens_parser.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | let mut parser_result = format!("{}{}{}", "(", result.to_string(), ")"); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `search_identifiers` [INFO] [stdout] --> src/sigma_rule_parser/src/detection_parsers/condition/or_parser.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | let search_identifiers = parser_output.search_identifier.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_search_identifiers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> src/sigma_rule_parser/src/detection_parsers/condition/parser_output.rs:199:5 [INFO] [stdout] | [INFO] [stdout] 199 | fn offset(&self, second: &Self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing [INFO] [stdout] 200 | let fst = self.offset(self); [INFO] [stdout] | ----------------- recursive call site [INFO] [stdout] | [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] = note: `#[warn(unconditional_recursion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `nested_detection_logic` is never read [INFO] [stdout] --> src/sigma_rule_parser/src/detection_parsers/logic/logic_parser.rs:69:21 [INFO] [stdout] | [INFO] [stdout] 69 | let mut nested_detection_logic = DetectionLogic::init(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `nested_detection_logic` is never read [INFO] [stdout] --> src/sigma_rule_parser/src/detection_parsers/logic/logic_parser.rs:85:21 [INFO] [stdout] | [INFO] [stdout] 85 | let mut nested_detection_logic = DetectionLogic::init(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `condition` [INFO] [stdout] --> src/sigma_rule_parser/src/sigma_file/sigma_rule.rs:66:27 [INFO] [stdout] | [INFO] [stdout] 66 | YmlTypes::Boolean(condition) => stringify!(condition), [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_condition` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `condition` [INFO] [stdout] --> src/sigma_rule_parser/src/sigma_file/sigma_rule.rs:67:26 [INFO] [stdout] | [INFO] [stdout] 67 | YmlTypes::Number(condition) => stringify!(condition), [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_condition` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_bytes` is never used [INFO] [stdout] --> src/sigma_rule_parser/src/detection_parsers/condition/parser_output.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 33 | impl ParserOutput { [INFO] [stdout] | -------------------------------- method in this implementation [INFO] [stdout] 34 | fn as_bytes(&self) -> &[u8] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parser_str_builder` is never used [INFO] [stdout] --> src/sigma_rule_parser/src/detection_parsers/condition/atomic_parsers.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn parser_str_builder(input: Option>) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/sigma_rule_parser/src/detection_parsers/condition/search_id_parser.rs:16:28 [INFO] [stdout] | [INFO] [stdout] 16 | String::from(result.clone()), [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/sigma_rule_parser/src/detection_parsers/condition/search_id_parser.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 17 | vec![result.clone().to_string()], [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/sigma_rule_parser/src/sigma_file/sigma_rule.rs:44:36 [INFO] [stdout] | [INFO] [stdout] 44 | let file = File::open(file_path.clone()).unwrap(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tokio-util v0.7.4 [INFO] [stderr] Compiling actix-rt v2.7.0 [INFO] [stderr] Compiling actix-server v2.1.1 [INFO] [stderr] Compiling h2 v0.3.14 [INFO] [stderr] Compiling actix-codec v0.5.0 [INFO] [stderr] Compiling zstd v0.11.2+zstd.1.5.2 [INFO] [stderr] Compiling actix-http v3.2.2 [INFO] [stderr] Compiling actix-web v4.2.1 [INFO] [stdout] error: failed to write to `/opt/rustwide/target/debug/deps/rmetaBHfLcr/lib.rmeta`: No space left on device (os error 28) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `actix-web` (lib) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "1559ccabce89a95dc0225df37ed445c8de14432ba226be8f056ad9045f1c92da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1559ccabce89a95dc0225df37ed445c8de14432ba226be8f056ad9045f1c92da", kill_on_drop: false }` [INFO] [stdout] 1559ccabce89a95dc0225df37ed445c8de14432ba226be8f056ad9045f1c92da