Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

regression: lifetime bound not satisfied #119874

Closed
Mark-Simulacrum opened this issue Jan 12, 2024 · 4 comments
Closed

regression: lifetime bound not satisfied #119874

Mark-Simulacrum opened this issue Jan 12, 2024 · 4 comments
Labels
regression-from-stable-to-beta Performance or correctness regression from stable to beta. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Milestone

Comments

@Mark-Simulacrum
Copy link
Member

[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

@Mark-Simulacrum Mark-Simulacrum added T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. regression-from-stable-to-beta Performance or correctness regression from stable to beta. labels Jan 12, 2024
@Mark-Simulacrum Mark-Simulacrum added this to the 1.76.0 milestone Jan 12, 2024
@rustbot rustbot added I-prioritize Issue: Indicates that prioritization has been requested for this issue. needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. labels Jan 12, 2024
@compiler-errors
Copy link
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
Copy link
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
Copy link
Member Author

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.

@Mark-Simulacrum Mark-Simulacrum closed this as not planned Won't fix, can't repro, duplicate, stale Jan 12, 2024
@apiraino apiraino removed the I-prioritize Issue: Indicates that prioritization has been requested for this issue. label Jan 15, 2024
@fmease fmease removed the needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. label Jan 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
regression-from-stable-to-beta Performance or correctness regression from stable to beta. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

5 participants