Skip to content

regression: lifetime bound not satisfied #119874

Not planned
Not planned
@Mark-Simulacrum

Description

@Mark-Simulacrum
[INFO] [stdout] error[E0478]: lifetime bound not satisfied
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/schema_analysis-0.3.4/src/traits.rs:53:5
[INFO] [stdout]    |
[INFO] [stdout] 53 |     fn coalesce_any(&mut self, other: Box<dyn Any + 'a>) -> Option<Box<dyn Any>> {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: lifetime parameter instantiated with the lifetime `'a` as defined here
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/schema_analysis-0.3.4/src/traits.rs:52:6
[INFO] [stdout]    |
[INFO] [stdout] 52 | impl<'a, T: Coalesce + 'a> CoalesceAny for T {
[INFO] [stdout]    |      ^^
[INFO] [stdout]    = note: but lifetime parameter must outlive the static lifetime

https://crater-reports.s3.amazonaws.com/beta-1.76-3/beta-2024-01-09/gh/lizelive.gusteau/log.txt

Activity

added
T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.
on Jan 12, 2024
added this to the 1.76.0 milestone on Jan 12, 2024
added
I-prioritizeIssue: Indicates that prioritization has been requested for this issue.
needs-triageThis issue may need triage. Remove it if it has been sufficiently triaged.
on Jan 12, 2024
compiler-errors

compiler-errors commented on Jan 12, 2024

@compiler-errors
Member

This is expected, due to the fact that the IMPLIED_BOUNDS_ENTAILEMENT lint turned into a hard error, #117984

It was fixed in schema_analysis 0.5

compiler-errors

compiler-errors commented on Jan 12, 2024

@compiler-errors
Member

Biogarden and gdrust are also regressions from that same root cause, see referenced PRs that lcnr opened in the thread of #105572 . gdrust seems unmaintained, so that never got a fix.

Mark-Simulacrum

Mark-Simulacrum commented on Jan 12, 2024

@Mark-Simulacrum
MemberAuthor

Thanks! I filtered the 2000+ rustc-serialize reverse-deps out of the regressions but not these. I think we can close this issue then, we'll definitely call out the hard error in release notes.

removed
I-prioritizeIssue: Indicates that prioritization has been requested for this issue.
on Jan 15, 2024
removed
needs-triageThis issue may need triage. Remove it if it has been sufficiently triaged.
on Jan 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.regression-from-stable-to-betaPerformance or correctness regression from stable to beta.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @compiler-errors@Mark-Simulacrum@apiraino@fmease@rustbot

        Issue actions

          regression: lifetime bound not satisfied · Issue #119874 · rust-lang/rust