Skip to content

bump

bump #94

Triggered via pull request August 15, 2025 19:53
Status Failure
Total duration 1m 37s
Artifacts

rust.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

42 errors, 48 warnings, and 4 notices
this `if` statement can be collapsed: src/json_output.rs#L218
error: this `if` statement can be collapsed --> src/json_output.rs:218:17 | 218 | / if let Some(old_attribute) = value.insert(format!("{name}_attributes"), Value::Null) 219 | | { 220 | | if let Some(old_value) = value.insert(name.to_string(), Value::Null) { 221 | | let mut free_slot = 1; ... | 244 | | }; 245 | | }; | |_________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if help: collapse nested if block | 218 ~ if let Some(old_attribute) = value.insert(format!("{name}_attributes"), Value::Null) 219 ~ && let Some(old_value) = value.insert(name.to_string(), Value::Null) { 220 | let mut free_slot = 1; ... 242 | }; 243 ~ };; |
this `if` statement can be collapsed: src/json_output.rs#L163
error: this `if` statement can be collapsed --> src/json_output.rs:163:13 | 163 | / if let Some(map) = old_value.as_object() { 164 | | if map.is_empty() { 165 | | return Ok(()); 166 | | } 167 | | } | |_____________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if help: collapse nested if block | 163 ~ if let Some(map) = old_value.as_object() 164 ~ && map.is_empty() { 165 | return Ok(()); 166 ~ } |
this `if` statement can be collapsed: src/json_output.rs#L265
error: this `if` statement can be collapsed --> src/json_output.rs:265:21 | 265 | / if let Some(map) = old_value.as_object() { 266 | | if !map.is_empty() { 267 | | let mut free_slot = 1; ... | 275 | | } | |_____________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if help: collapse nested if block | 265 ~ if let Some(map) = old_value.as_object() 266 ~ && !map.is_empty() { 267 | let mut free_slot = 1; ... 273 | container.insert(format!("{name}_{free_slot}"), old_value); 274 ~ } |
this `if` statement can be collapsed: src/json_output.rs#L264
error: this `if` statement can be collapsed --> src/json_output.rs:264:17 | 264 | / if let Some(old_value) = container.insert(name.to_string(), Value::Null) { 265 | | if let Some(map) = old_value.as_object() { 266 | | if !map.is_empty() { 267 | | let mut free_slot = 1; ... | 276 | | }; | |_________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if help: collapse nested if block | 264 ~ if let Some(old_value) = container.insert(name.to_string(), Value::Null) 265 ~ && let Some(map) = old_value.as_object() { 266 | if !map.is_empty() { ... 274 | } 275 ~ }; |
this `if` statement can be collapsed: src/json_output.rs#L236
error: this `if` statement can be collapsed --> src/json_output.rs:236:25 | 236 | / if let Some(old_attribute_object) = old_attribute.as_object() { 237 | | if !old_attribute_object.is_empty() { 238 | | value.insert( 239 | | format!("{name}_{free_slot}_attributes"), ... | 242 | | }; 243 | | }; | |_________________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if help: collapse nested if block | 236 ~ if let Some(old_attribute_object) = old_attribute.as_object() 237 ~ && !old_attribute_object.is_empty() { 238 | value.insert( ... 241 | ); 242 ~ };; |
this `if` statement can be collapsed: src/json_output.rs#L231
error: this `if` statement can be collapsed --> src/json_output.rs:231:25 | 231 | / if let Some(old_value_object) = old_value.as_object() { 232 | | if !old_value_object.is_empty() { 233 | | value.insert(format!("{name}_{free_slot}"), old_value); 234 | | } 235 | | }; | |_________________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if help: collapse nested if block | 231 ~ if let Some(old_value_object) = old_value.as_object() 232 ~ && !old_value_object.is_empty() { 233 | value.insert(format!("{name}_{free_slot}"), old_value); 234 ~ }; |
this `if` statement can be collapsed: src/json_output.rs#L218
error: this `if` statement can be collapsed --> src/json_output.rs:218:17 | 218 | / if let Some(old_attribute) = value.insert(format!("{name}_attributes"), Value::Null) 219 | | { 220 | | if let Some(old_value) = value.insert(name.to_string(), Value::Null) { 221 | | let mut free_slot = 1; ... | 244 | | }; 245 | | }; | |_________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if help: collapse nested if block | 218 ~ if let Some(old_attribute) = value.insert(format!("{name}_attributes"), Value::Null) 219 ~ && let Some(old_value) = value.insert(name.to_string(), Value::Null) { 220 | let mut free_slot = 1; ... 242 | }; 243 ~ };; |
this `if` statement can be collapsed: src/json_output.rs#L163
error: this `if` statement can be collapsed --> src/json_output.rs:163:13 | 163 | / if let Some(map) = old_value.as_object() { 164 | | if map.is_empty() { 165 | | return Ok(()); 166 | | } 167 | | } | |_____________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if help: collapse nested if block | 163 ~ if let Some(map) = old_value.as_object() 164 ~ && map.is_empty() { 165 | return Ok(()); 166 ~ } |
this `if` statement can be collapsed: src/binxml/tokens.rs#L279
error: this `if` statement can be collapsed --> src/binxml/tokens.rs:279:5 | 279 | / if let Some(c) = chunk { 280 | | if data_size >= c.data.len() as u32 { 281 | | warn!( 282 | | "Detected a case where `dependency_identifier` should not have been read. \ ... | 294 | | } | |_____^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if = note: `-D clippy::collapsible-if` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::collapsible_if)]` help: collapse nested if block | 279 ~ if let Some(c) = chunk 280 ~ && data_size >= c.data.len() as u32 { 281 | warn!( ... 292 | return read_open_start_element(cursor, chunk, has_attributes, true); 293 ~ } |
this `if` statement can be collapsed: src/binxml/tokens.rs#L279
error: this `if` statement can be collapsed --> src/binxml/tokens.rs:279:5 | 279 | / if let Some(c) = chunk { 280 | | if data_size >= c.data.len() as u32 { 281 | | warn!( 282 | | "Detected a case where `dependency_identifier` should not have been read. \ ... | 294 | | } | |_____^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if = note: `-D clippy::collapsible-if` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::collapsible_if)]` help: collapse nested if block | 279 ~ if let Some(c) = chunk 280 ~ && data_size >= c.data.len() as u32 { 281 | warn!( ... 292 | return read_open_start_element(cursor, chunk, has_attributes, true); 293 ~ } |
this `if` statement can be collapsed: src/json_output.rs#L218
error: this `if` statement can be collapsed --> src/json_output.rs:218:17 | 218 | / if let Some(old_attribute) = value.insert(format!("{name}_attributes"), Value::Null) 219 | | { 220 | | if let Some(old_value) = value.insert(name.to_string(), Value::Null) { 221 | | let mut free_slot = 1; ... | 244 | | }; 245 | | }; | |_________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if help: collapse nested if block | 218 ~ if let Some(old_attribute) = value.insert(format!("{name}_attributes"), Value::Null) 219 ~ && let Some(old_value) = value.insert(name.to_string(), Value::Null) { 220 | let mut free_slot = 1; ... 242 | }; 243 ~ };; |
this `if` statement can be collapsed: src/json_output.rs#L163
error: this `if` statement can be collapsed --> src/json_output.rs:163:13 | 163 | / if let Some(map) = old_value.as_object() { 164 | | if map.is_empty() { 165 | | return Ok(()); 166 | | } 167 | | } | |_____________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if help: collapse nested if block | 163 ~ if let Some(map) = old_value.as_object() 164 ~ && map.is_empty() { 165 | return Ok(()); 166 ~ } |
this `if` statement can be collapsed: src/json_output.rs#L265
error: this `if` statement can be collapsed --> src/json_output.rs:265:21 | 265 | / if let Some(map) = old_value.as_object() { 266 | | if !map.is_empty() { 267 | | let mut free_slot = 1; ... | 275 | | } | |_____________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if help: collapse nested if block | 265 ~ if let Some(map) = old_value.as_object() 266 ~ && !map.is_empty() { 267 | let mut free_slot = 1; ... 273 | container.insert(format!("{name}_{free_slot}"), old_value); 274 ~ } |
this `if` statement can be collapsed: src/json_output.rs#L264
error: this `if` statement can be collapsed --> src/json_output.rs:264:17 | 264 | / if let Some(old_value) = container.insert(name.to_string(), Value::Null) { 265 | | if let Some(map) = old_value.as_object() { 266 | | if !map.is_empty() { 267 | | let mut free_slot = 1; ... | 276 | | }; | |_________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if help: collapse nested if block | 264 ~ if let Some(old_value) = container.insert(name.to_string(), Value::Null) 265 ~ && let Some(map) = old_value.as_object() { 266 | if !map.is_empty() { ... 274 | } 275 ~ }; |
this `if` statement can be collapsed: src/json_output.rs#L236
error: this `if` statement can be collapsed --> src/json_output.rs:236:25 | 236 | / if let Some(old_attribute_object) = old_attribute.as_object() { 237 | | if !old_attribute_object.is_empty() { 238 | | value.insert( 239 | | format!("{name}_{free_slot}_attributes"), ... | 242 | | }; 243 | | }; | |_________________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if help: collapse nested if block | 236 ~ if let Some(old_attribute_object) = old_attribute.as_object() 237 ~ && !old_attribute_object.is_empty() { 238 | value.insert( ... 241 | ); 242 ~ };; |
this `if` statement can be collapsed: src/json_output.rs#L231
error: this `if` statement can be collapsed --> src/json_output.rs:231:25 | 231 | / if let Some(old_value_object) = old_value.as_object() { 232 | | if !old_value_object.is_empty() { 233 | | value.insert(format!("{name}_{free_slot}"), old_value); 234 | | } 235 | | }; | |_________________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if help: collapse nested if block | 231 ~ if let Some(old_value_object) = old_value.as_object() 232 ~ && !old_value_object.is_empty() { 233 | value.insert(format!("{name}_{free_slot}"), old_value); 234 ~ }; |
this `if` statement can be collapsed: src/json_output.rs#L218
error: this `if` statement can be collapsed --> src/json_output.rs:218:17 | 218 | / if let Some(old_attribute) = value.insert(format!("{name}_attributes"), Value::Null) 219 | | { 220 | | if let Some(old_value) = value.insert(name.to_string(), Value::Null) { 221 | | let mut free_slot = 1; ... | 244 | | }; 245 | | }; | |_________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if help: collapse nested if block | 218 ~ if let Some(old_attribute) = value.insert(format!("{name}_attributes"), Value::Null) 219 ~ && let Some(old_value) = value.insert(name.to_string(), Value::Null) { 220 | let mut free_slot = 1; ... 242 | }; 243 ~ };; |
this `if` statement can be collapsed: src/json_output.rs#L163
error: this `if` statement can be collapsed --> src/json_output.rs:163:13 | 163 | / if let Some(map) = old_value.as_object() { 164 | | if map.is_empty() { 165 | | return Ok(()); 166 | | } 167 | | } | |_____________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if help: collapse nested if block | 163 ~ if let Some(map) = old_value.as_object() 164 ~ && map.is_empty() { 165 | return Ok(()); 166 ~ } |
this `if` statement can be collapsed: src/binxml/tokens.rs#L279
error: this `if` statement can be collapsed --> src/binxml/tokens.rs:279:5 | 279 | / if let Some(c) = chunk { 280 | | if data_size >= c.data.len() as u32 { 281 | | warn!( 282 | | "Detected a case where `dependency_identifier` should not have been read. \ ... | 294 | | } | |_____^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if = note: `-D clippy::collapsible-if` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::collapsible_if)]` help: collapse nested if block | 279 ~ if let Some(c) = chunk 280 ~ && data_size >= c.data.len() as u32 { 281 | warn!( ... 292 | return read_open_start_element(cursor, chunk, has_attributes, true); 293 ~ } |
this `if` statement can be collapsed: src/binxml/tokens.rs#L279
error: this `if` statement can be collapsed --> src/binxml/tokens.rs:279:5 | 279 | / if let Some(c) = chunk { 280 | | if data_size >= c.data.len() as u32 { 281 | | warn!( 282 | | "Detected a case where `dependency_identifier` should not have been read. \ ... | 294 | | } | |_____^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if = note: `-D clippy::collapsible-if` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::collapsible_if)]` help: collapse nested if block | 279 ~ if let Some(c) = chunk 280 ~ && data_size >= c.data.len() as u32 { 281 | warn!( ... 292 | return read_open_start_element(cursor, chunk, has_attributes, true); 293 ~ } |
hiding a lifetime that's elided elsewhere is confusing: src/evtx_chunk.rs#L194
error: hiding a lifetime that's elided elsewhere is confusing --> src/evtx_chunk.rs:194:17 | 194 | pub fn iter(&mut self) -> IterChunkRecords { | ^^^^^^^^^ ---------------- the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 194 | pub fn iter(&mut self) -> IterChunkRecords<'_> { | ++++
hiding a lifetime that's elided elsewhere is confusing: src/evtx_chunk.rs#L87
error: hiding a lifetime that's elided elsewhere is confusing --> src/evtx_chunk.rs:87:18 | 87 | pub fn parse(&mut self, settings: Arc<ParserSettings>) -> EvtxChunkResult<EvtxChunk> { | ^^^^^^^^^ the lifetime is elided here --------- the same lifetime is hidden here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 87 | pub fn parse(&mut self, settings: Arc<ParserSettings>) -> EvtxChunkResult<EvtxChunk<'_>> { | ++++
hiding a lifetime that's elided elsewhere is confusing: src/binxml/value_variant.rs#L545
error: hiding a lifetime that's elided elsewhere is confusing --> src/binxml/value_variant.rs:545:23 | 545 | pub fn as_cow_str(&self) -> Cow<str> { | ^^^^^ -------- the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: `-D mismatched-lifetime-syntaxes` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(mismatched_lifetime_syntaxes)]` help: use `'_` for type paths | 545 | pub fn as_cow_str(&self) -> Cow<'_, str> { | +++
this `if` statement can be collapsed: src/json_output.rs#L265
error: this `if` statement can be collapsed --> src/json_output.rs:265:21 | 265 | / if let Some(map) = old_value.as_object() { 266 | | if !map.is_empty() { 267 | | let mut free_slot = 1; ... | 275 | | } | |_____________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if help: collapse nested if block | 265 ~ if let Some(map) = old_value.as_object() 266 ~ && !map.is_empty() { 267 | let mut free_slot = 1; ... 273 | container.insert(format!("{name}_{free_slot}"), old_value); 274 ~ } |
this `if` statement can be collapsed: src/json_output.rs#L264
error: this `if` statement can be collapsed --> src/json_output.rs:264:17 | 264 | / if let Some(old_value) = container.insert(name.to_string(), Value::Null) { 265 | | if let Some(map) = old_value.as_object() { 266 | | if !map.is_empty() { 267 | | let mut free_slot = 1; ... | 276 | | }; | |_________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if help: collapse nested if block | 264 ~ if let Some(old_value) = container.insert(name.to_string(), Value::Null) 265 ~ && let Some(map) = old_value.as_object() { 266 | if !map.is_empty() { ... 274 | } 275 ~ }; |
this `if` statement can be collapsed: src/json_output.rs#L236
error: this `if` statement can be collapsed --> src/json_output.rs:236:25 | 236 | / if let Some(old_attribute_object) = old_attribute.as_object() { 237 | | if !old_attribute_object.is_empty() { 238 | | value.insert( 239 | | format!("{name}_{free_slot}_attributes"), ... | 242 | | }; 243 | | }; | |_________________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if help: collapse nested if block | 236 ~ if let Some(old_attribute_object) = old_attribute.as_object() 237 ~ && !old_attribute_object.is_empty() { 238 | value.insert( ... 241 | ); 242 ~ };; |
this `if` statement can be collapsed: src/json_output.rs#L231
error: this `if` statement can be collapsed --> src/json_output.rs:231:25 | 231 | / if let Some(old_value_object) = old_value.as_object() { 232 | | if !old_value_object.is_empty() { 233 | | value.insert(format!("{name}_{free_slot}"), old_value); 234 | | } 235 | | }; | |_________________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if help: collapse nested if block | 231 ~ if let Some(old_value_object) = old_value.as_object() 232 ~ && !old_value_object.is_empty() { 233 | value.insert(format!("{name}_{free_slot}"), old_value); 234 ~ }; |
this `if` statement can be collapsed: src/json_output.rs#L218
error: this `if` statement can be collapsed --> src/json_output.rs:218:17 | 218 | / if let Some(old_attribute) = value.insert(format!("{name}_attributes"), Value::Null) 219 | | { 220 | | if let Some(old_value) = value.insert(name.to_string(), Value::Null) { 221 | | let mut free_slot = 1; ... | 244 | | }; 245 | | }; | |_________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if help: collapse nested if block | 218 ~ if let Some(old_attribute) = value.insert(format!("{name}_attributes"), Value::Null) 219 ~ && let Some(old_value) = value.insert(name.to_string(), Value::Null) { 220 | let mut free_slot = 1; ... 242 | }; 243 ~ };; |
this `if` statement can be collapsed: src/json_output.rs#L163
error: this `if` statement can be collapsed --> src/json_output.rs:163:13 | 163 | / if let Some(map) = old_value.as_object() { 164 | | if map.is_empty() { 165 | | return Ok(()); 166 | | } 167 | | } | |_____________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if help: collapse nested if block | 163 ~ if let Some(map) = old_value.as_object() 164 ~ && map.is_empty() { 165 | return Ok(()); 166 ~ } |
this `if` statement can be collapsed: src/binxml/tokens.rs#L279
error: this `if` statement can be collapsed --> src/binxml/tokens.rs:279:5 | 279 | / if let Some(c) = chunk { 280 | | if data_size >= c.data.len() as u32 { 281 | | warn!( 282 | | "Detected a case where `dependency_identifier` should not have been read. \ ... | 294 | | } | |_____^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if = note: `-D clippy::collapsible-if` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::collapsible_if)]` help: collapse nested if block | 279 ~ if let Some(c) = chunk 280 ~ && data_size >= c.data.len() as u32 { 281 | warn!( ... 292 | return read_open_start_element(cursor, chunk, has_attributes, true); 293 ~ } |
hiding a lifetime that's elided elsewhere is confusing: src/evtx_chunk.rs#L194
error: hiding a lifetime that's elided elsewhere is confusing --> src/evtx_chunk.rs:194:17 | 194 | pub fn iter(&mut self) -> IterChunkRecords { | ^^^^^^^^^ ---------------- the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 194 | pub fn iter(&mut self) -> IterChunkRecords<'_> { | ++++
hiding a lifetime that's elided elsewhere is confusing: src/evtx_chunk.rs#L87
error: hiding a lifetime that's elided elsewhere is confusing --> src/evtx_chunk.rs:87:18 | 87 | pub fn parse(&mut self, settings: Arc<ParserSettings>) -> EvtxChunkResult<EvtxChunk> { | ^^^^^^^^^ the lifetime is elided here --------- the same lifetime is hidden here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 87 | pub fn parse(&mut self, settings: Arc<ParserSettings>) -> EvtxChunkResult<EvtxChunk<'_>> { | ++++
hiding a lifetime that's elided elsewhere is confusing: src/binxml/value_variant.rs#L545
error: hiding a lifetime that's elided elsewhere is confusing --> src/binxml/value_variant.rs:545:23 | 545 | pub fn as_cow_str(&self) -> Cow<str> { | ^^^^^ -------- the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: `-D mismatched-lifetime-syntaxes` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(mismatched_lifetime_syntaxes)]` help: use `'_` for type paths | 545 | pub fn as_cow_str(&self) -> Cow<'_, str> { | +++
this `if` statement can be collapsed: src/json_output.rs#L265
error: this `if` statement can be collapsed --> src/json_output.rs:265:21 | 265 | / if let Some(map) = old_value.as_object() { 266 | | if !map.is_empty() { 267 | | let mut free_slot = 1; ... | 275 | | } | |_____________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if help: collapse nested if block | 265 ~ if let Some(map) = old_value.as_object() 266 ~ && !map.is_empty() { 267 | let mut free_slot = 1; ... 273 | container.insert(format!("{name}_{free_slot}"), old_value); 274 ~ } |
this `if` statement can be collapsed: src/json_output.rs#L264
error: this `if` statement can be collapsed --> src/json_output.rs:264:17 | 264 | / if let Some(old_value) = container.insert(name.to_string(), Value::Null) { 265 | | if let Some(map) = old_value.as_object() { 266 | | if !map.is_empty() { 267 | | let mut free_slot = 1; ... | 276 | | }; | |_________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if help: collapse nested if block | 264 ~ if let Some(old_value) = container.insert(name.to_string(), Value::Null) 265 ~ && let Some(map) = old_value.as_object() { 266 | if !map.is_empty() { ... 274 | } 275 ~ }; |
this `if` statement can be collapsed: src/json_output.rs#L236
error: this `if` statement can be collapsed --> src/json_output.rs:236:25 | 236 | / if let Some(old_attribute_object) = old_attribute.as_object() { 237 | | if !old_attribute_object.is_empty() { 238 | | value.insert( 239 | | format!("{name}_{free_slot}_attributes"), ... | 242 | | }; 243 | | }; | |_________________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if help: collapse nested if block | 236 ~ if let Some(old_attribute_object) = old_attribute.as_object() 237 ~ && !old_attribute_object.is_empty() { 238 | value.insert( ... 241 | ); 242 ~ };; |
this `if` statement can be collapsed: src/json_output.rs#L231
error: this `if` statement can be collapsed --> src/json_output.rs:231:25 | 231 | / if let Some(old_value_object) = old_value.as_object() { 232 | | if !old_value_object.is_empty() { 233 | | value.insert(format!("{name}_{free_slot}"), old_value); 234 | | } 235 | | }; | |_________________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if help: collapse nested if block | 231 ~ if let Some(old_value_object) = old_value.as_object() 232 ~ && !old_value_object.is_empty() { 233 | value.insert(format!("{name}_{free_slot}"), old_value); 234 ~ }; |
this `if` statement can be collapsed: src/json_output.rs#L218
error: this `if` statement can be collapsed --> src/json_output.rs:218:17 | 218 | / if let Some(old_attribute) = value.insert(format!("{name}_attributes"), Value::Null) 219 | | { 220 | | if let Some(old_value) = value.insert(name.to_string(), Value::Null) { 221 | | let mut free_slot = 1; ... | 244 | | }; 245 | | }; | |_________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if help: collapse nested if block | 218 ~ if let Some(old_attribute) = value.insert(format!("{name}_attributes"), Value::Null) 219 ~ && let Some(old_value) = value.insert(name.to_string(), Value::Null) { 220 | let mut free_slot = 1; ... 242 | }; 243 ~ };; |
this `if` statement can be collapsed: src/json_output.rs#L163
error: this `if` statement can be collapsed --> src/json_output.rs:163:13 | 163 | / if let Some(map) = old_value.as_object() { 164 | | if map.is_empty() { 165 | | return Ok(()); 166 | | } 167 | | } | |_____________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if help: collapse nested if block | 163 ~ if let Some(map) = old_value.as_object() 164 ~ && map.is_empty() { 165 | return Ok(()); 166 ~ } |
this `if` statement can be collapsed: src/binxml/tokens.rs#L279
error: this `if` statement can be collapsed --> src/binxml/tokens.rs:279:5 | 279 | / if let Some(c) = chunk { 280 | | if data_size >= c.data.len() as u32 { 281 | | warn!( 282 | | "Detected a case where `dependency_identifier` should not have been read. \ ... | 294 | | } | |_____^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if = note: `-D clippy::collapsible-if` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::collapsible_if)]` help: collapse nested if block | 279 ~ if let Some(c) = chunk 280 ~ && data_size >= c.data.len() as u32 { 281 | warn!( ... 292 | return read_open_start_element(cursor, chunk, has_attributes, true); 293 ~ } |
build (windows-latest, x86_64-pc-windows-msvc, true)
Clippy has exited with exit code 101
build (windows-latest, i686-pc-windows-msvc, true)
Clippy has exited with exit code 101
build (ubuntu-latest, x86_64-unknown-linux-gnu, false)
Unexpected input(s) 'token', valid inputs are ['toolchain', 'args', 'use-cross', 'working-directory']
build (ubuntu-latest, x86_64-unknown-linux-gnu, false)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build (ubuntu-latest, x86_64-unknown-linux-gnu, false)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build (ubuntu-latest, x86_64-unknown-linux-gnu, false)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build (ubuntu-latest, x86_64-unknown-linux-gnu, false)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build (ubuntu-latest, x86_64-unknown-linux-gnu, false)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build (ubuntu-latest, x86_64-unknown-linux-gnu, false)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build (ubuntu-latest, x86_64-unknown-linux-gnu, false)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build (ubuntu-latest, x86_64-unknown-linux-musl, true)
Unexpected input(s) 'token', valid inputs are ['toolchain', 'args', 'use-cross', 'working-directory']
build (ubuntu-latest, x86_64-unknown-linux-musl, true)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build (ubuntu-latest, x86_64-unknown-linux-musl, true)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build (ubuntu-latest, x86_64-unknown-linux-musl, true)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build (ubuntu-latest, x86_64-unknown-linux-musl, true)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build (ubuntu-latest, x86_64-unknown-linux-musl, true)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build (ubuntu-latest, x86_64-unknown-linux-musl, true)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build (ubuntu-latest, x86_64-unknown-linux-musl, true)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build (macOS-latest, x86_64-apple-darwin, false)
Unexpected input(s) 'token', valid inputs are ['toolchain', 'args', 'use-cross', 'working-directory']
build (macOS-latest, x86_64-apple-darwin, false)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build (macOS-latest, x86_64-apple-darwin, false)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build (macOS-latest, x86_64-apple-darwin, false)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build (macOS-latest, x86_64-apple-darwin, false)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build (macOS-latest, x86_64-apple-darwin, false)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build (macOS-latest, x86_64-apple-darwin, false)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build (macOS-latest, x86_64-apple-darwin, false)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build (macOS-latest, aarch64-apple-darwin, false)
Unexpected input(s) 'token', valid inputs are ['toolchain', 'args', 'use-cross', 'working-directory']
build (macOS-latest, aarch64-apple-darwin, false)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build (macOS-latest, aarch64-apple-darwin, false)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build (macOS-latest, aarch64-apple-darwin, false)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build (macOS-latest, aarch64-apple-darwin, false)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build (macOS-latest, aarch64-apple-darwin, false)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build (macOS-latest, aarch64-apple-darwin, false)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build (macOS-latest, aarch64-apple-darwin, false)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build (windows-latest, x86_64-pc-windows-msvc, true)
Unexpected input(s) 'token', valid inputs are ['toolchain', 'args', 'use-cross', 'working-directory']
build (windows-latest, x86_64-pc-windows-msvc, true)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build (windows-latest, x86_64-pc-windows-msvc, true)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build (windows-latest, x86_64-pc-windows-msvc, true)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build (windows-latest, x86_64-pc-windows-msvc, true)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build (windows-latest, x86_64-pc-windows-msvc, true)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build (windows-latest, x86_64-pc-windows-msvc, true)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build (windows-latest, x86_64-pc-windows-msvc, true)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build (windows-latest, i686-pc-windows-msvc, true)
Unexpected input(s) 'token', valid inputs are ['toolchain', 'args', 'use-cross', 'working-directory']
build (windows-latest, i686-pc-windows-msvc, true)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build (windows-latest, i686-pc-windows-msvc, true)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build (windows-latest, i686-pc-windows-msvc, true)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build (windows-latest, i686-pc-windows-msvc, true)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build (windows-latest, i686-pc-windows-msvc, true)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build (windows-latest, i686-pc-windows-msvc, true)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build (windows-latest, i686-pc-windows-msvc, true)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build (macOS-latest, x86_64-apple-darwin, false)
The macos-latest label will migrate to macOS 15 beginning August 4, 2025. For more information see https://github.com/actions/runner-images/issues/12520
build (macOS-latest, aarch64-apple-darwin, false)
The macos-latest label will migrate to macOS 15 beginning August 4, 2025. For more information see https://github.com/actions/runner-images/issues/12520
build (windows-latest, x86_64-pc-windows-msvc, true)
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677
build (windows-latest, i686-pc-windows-msvc, true)
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677