Gábor Gyimesi created MINIFICPP-2952:
----------------------------------------
Summary: Latest clippy version check fails in CI
Key: MINIFICPP-2952
URL: https://issues.apache.org/jira/browse/MINIFICPP-2952
Project: Apache NiFi MiNiFi C++
Issue Type: Bug
Reporter: Gábor Gyimesi
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)