On 6/16/25 18:46, Stefan Hajnoczi wrote:
Hi Paolo,
The CI is hitting the following new issue in rust/hw/hpet/device.rs:
Thanks! I just saw it as well.
As you've noticed, this job is allowed to fail, because it's just making
sure that we find these issues before they hit the "real" CI targets.
I'll send a patch as soon as it passes CI. Let me know if you want to
apply it right away; otherwise I'll send my next pull request later this
week and in the meanwhile you can ignore the failure.
Paolo
error: lifetime flowing from input to output with different syntax can
be confusing
--> ../rust/hw/timer/hpet/src/device.rs:770:15
|
770 | fn decode(&self, mut addr: hwaddr, size: u32) -> HPETAddrDecode {
| ^^^^^ -------------- the lifetime gets resolved as `'_`
| |
| this lifetime flows to the output
|
= note: `-D mismatched-lifetime-syntaxes` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(mismatched_lifetime_syntaxes)]`
help: one option is to remove the lifetime for references and use the
anonymous lifetime for paths
|
770 | fn decode(&self, mut addr: hwaddr, size: u32) -> HPETAddrDecode<'_> {
| ++++
error: aborting due to 1 previous error
https://gitlab.com/qemu-project/qemu/-/jobs/10338038013#L5165
Stefan