On Mon, Jun 16, 2025 at 1:00 PM Paolo Bonzini <pbonz...@redhat.com> wrote:
>
> 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.

There is no rush, I just wanted to let you know that the job is now in
the warning state. The next pull request is good.

Thanks,
Stefan

>
> 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
> >
> >
>

Reply via email to