[ 
https://issues.apache.org/jira/browse/MINIFICPP-2952?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gábor Gyimesi updated MINIFICPP-2952:
-------------------------------------
    Summary: Clippy check fails in CI with latest version  (was: Latest clippy 
version check fails in CI)

> Clippy check fails in CI with latest version
> --------------------------------------------
>
>                 Key: MINIFICPP-2952
>                 URL: https://issues.apache.org/jira/browse/MINIFICPP-2952
>             Project: Apache NiFi MiNiFi C++
>          Issue Type: Bug
>            Reporter: Gábor Gyimesi
>            Assignee: Gábor Gyimesi
>            Priority: Minor
>             Fix For: 1.2.0
>
>
>  
> {code:java}
> error: unreachable call
>   --> minifi_native/src/api/errors.rs:78:41
>    |
> 73 |   macro_rules! process_error_from_fatal {
> ...
> 78 |                       ProcessError::Fatal(MinifiError::from(err))
>    |                                           ^^^^^^^^^^^^^^^^^ --- any code 
> following this expression is unreachable
>    |                                           |
>    |                                           unreachable call
> ...
> 85 | / process_error_from_fatal!(
> 86 | |     std::io::Error,
> 87 | |     strum::ParseError,
> 88 | |     ParseBoolError,
> ...  |
> 94 | |     std::convert::Infallible,
> 95 | | );
>    | |_- in this macro invocation
>    |
>    = note: `-D unreachable-code` implied by `-D warnings`
>    = help: to override `-D warnings` add `#[allow(unreachable_code)]`    
> Checking image-webp v0.2.4
> error: could not compile `minifi_native` (lib) due to 1 previous error
> warning: build failed, waiting for other jobs to finish...
> warning: unused dependency `cc`
>   --> minifi_native_sys/Cargo.toml:22:1
>    |
> 22 | cc = "1.2.41"
>    | ^^^^^^^^^^^^^
>    |
>    = note: `cargo::unused_dependencies` is set to `warn` by default
> {code}
>  



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to