Closed Bug 1917746 Opened 2 months ago Closed 2 months ago

[rust nightly] Perma error: elided lifetime has a name

Categories

(Firefox Build System :: Toolchains, defect, P5)

defect

Tracking

(firefox132 fixed)

RESOLVED FIXED
132 Branch
Tracking Status
firefox132 --- fixed

People

(Reporter: intermittent-bug-filer, Assigned: nicolas.guichard)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Filed by: mh [at] glandium.org
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=473593713&repo=toolchains
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/Ei3ttpAsSY6Ei68TsPD1Wg/runs/0/artifacts/public/logs/live_backing.log


[task 2024-09-10T02:16:57.080Z] 02:16:57    ERROR -  error: elided lifetime has a name
[task 2024-09-10T02:16:57.080Z] 02:16:57     INFO -      --> servo/ports/geckolib/glue.rs:6376:52
[task 2024-09-10T02:16:57.080Z] 02:16:57     INFO -       |
[task 2024-09-10T02:16:57.080Z] 02:16:57     INFO -  6375 | impl<'a> PrioritizedPropertyIter<'a> {
[task 2024-09-10T02:16:57.080Z] 02:16:57     INFO -       |      -- lifetime `'a` declared here
[task 2024-09-10T02:16:57.081Z] 02:16:57     INFO -  6376 |     fn new(properties: &'a [PropertyValuePair]) -> PrioritizedPropertyIter {
[task 2024-09-10T02:16:57.081Z] 02:16:57     INFO -       |                                                    ^^^^^^^^^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'a`
[task 2024-09-10T02:16:57.081Z] 02:16:57     INFO -       |
[task 2024-09-10T02:16:57.082Z] 02:16:57     INFO -       = note: `-D elided-named-lifetimes` implied by `-D warnings`
[task 2024-09-10T02:16:57.082Z] 02:16:57     INFO -       = help: to override `-D warnings` add `#[allow(elided_named_lifetimes)]`
[task 2024-09-10T02:16:57.082Z] 02:16:57    ERROR -  error: could not compile `geckoservo` (lib) due to 1 previous error
[task 2024-09-10T02:16:57.108Z] 02:16:57    ERROR -  error: elided lifetime has a name
[task 2024-09-10T02:16:57.108Z] 02:16:57     INFO -     --> gfx/webrender_bindings/src/moz2d_renderer.rs:310:34
[task 2024-09-10T02:16:57.108Z] 02:16:57     INFO -      |
[task 2024-09-10T02:16:57.108Z] 02:16:57     INFO -  308 | impl<'a> CachedReader<'a> {
[task 2024-09-10T02:16:57.109Z] 02:16:57     INFO -      |      -- lifetime `'a` declared here
[task 2024-09-10T02:16:57.109Z] 02:16:57     INFO -  309 |     /// Creates a new CachedReader.
[task 2024-09-10T02:16:57.109Z] 02:16:57     INFO -  310 |     pub fn new(buf: &'a [u8]) -> CachedReader {
[task 2024-09-10T02:16:57.110Z] 02:16:57     INFO -      |                                  ^^^^^^^^^^^^ this elided lifetime gets resolved as `'a`
[task 2024-09-10T02:16:57.110Z] 02:16:57     INFO -      |
[task 2024-09-10T02:16:57.110Z] 02:16:57     INFO -  note: the lint level is defined here
[task 2024-09-10T02:16:57.110Z] 02:16:57     INFO -     --> gfx/webrender_bindings/src/lib.rs:5:9
[task 2024-09-10T02:16:57.111Z] 02:16:57     INFO -      |
[task 2024-09-10T02:16:57.111Z] 02:16:57     INFO -  5   | #![deny(warnings)]
[task 2024-09-10T02:16:57.111Z] 02:16:57     INFO -      |         ^^^^^^^^
[task 2024-09-10T02:16:57.111Z] 02:16:57     INFO -      = note: `#[deny(elided_named_lifetimes)]` implied by `#[deny(warnings)]`
[task 2024-09-10T02:16:57.111Z] 02:16:57    ERROR -  error: could not compile `webrender_bindings` (lib) due to 1 previous error
Assignee: nobody → nicolas.guichard
Status: NEW → ASSIGNED
Pushed by mh@glandium.org: https://hg.mozilla.org/integration/autoland/rev/22a83ceba50b Fix Rust 1.82's new elided_named_lifetimes warning. r=emilio
Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 132 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: