-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
no errors encountered even though delay_span_bug
issued
#107691
Labels
C-bug
Category: This is a bug.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
regression-from-stable-to-stable
Performance or correctness regression from one stable version to another.
S-has-mcve
Status: A Minimal Complete and Verifiable Example has been found for this issue
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Comments
winterqt
added
C-bug
Category: This is a bug.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
labels
Feb 5, 2023
rustbot
added
the
E-needs-mcve
Call for participation: This issue has a repro, but needs a Minimal Complete and Verifiable Example
label
Feb 5, 2023
Also possibly related: #107440 |
Can also confirm that this issue is fixed by #107688, thanks! |
13 tasks
needs to be library and release mode pub trait Archive {
type Archived;
type Resolver;
fn resolve(resolver: Self::Resolver, out: *mut Self::Archived);
}
pub type Archived<T> = <T as Archive>::Archived;
pub type Resolver<T> = <T as Archive>::Resolver;
pub struct Record<'a> {
_payload: &'a [u8],
}
pub struct ArchivedRecord<'a>
where
&'a [u8]: Archive,
{
_payload: Archived<&'a [u8]>,
}
pub struct RecordResolver<'a>
where
&'a [u8]: Archive,
{
_payload: Resolver<&'a [u8]>,
}
impl<'a> Archive for Record<'a>
where
&'a [u8]: Archive,
{
type Archived = ArchivedRecord<'a>;
type Resolver = RecordResolver<'a>;
fn resolve(_resolver: Self::Resolver, _out: *mut Self::Archived) {}
} @rustbot label -E-needs-mcve +S-bug-has-mcve |
rustbot
added
S-has-mcve
Status: A Minimal Complete and Verifiable Example has been found for this issue
and removed
E-needs-mcve
Call for participation: This issue has a repro, but needs a Minimal Complete and Verifiable Example
labels
Feb 5, 2023
This regressed from 1.66.1 to 1.67.0. @rustbot label regression-from-stable-to-stable also cc downstream vectordotdev/vector#16212 |
rustbot
added
regression-from-stable-to-stable
Performance or correctness regression from one stable version to another.
I-prioritize
Issue: Indicates that prioritization has been requested for this issue.
labels
Feb 7, 2023
winterqt
added a commit
to winterqt/nixpkgs
that referenced
this issue
Feb 8, 2023
Rust 1.67.0 introduced a regression that caused an ICE when building Vector. https://hydra.nixos.org/build/207931877 rust-lang/rust#107691 rust-lang/rust#107688
winterqt
added a commit
to NixOS/nixpkgs
that referenced
this issue
Feb 8, 2023
Rust 1.67.0 introduced a regression that caused an ICE when building Vector. https://hydra.nixos.org/build/207931877 rust-lang/rust#107691 rust-lang/rust#107688
apiraino
removed
the
I-prioritize
Issue: Indicates that prioritization has been requested for this issue.
label
Feb 8, 2023
RalfJung
pushed a commit
to RalfJung/miri
that referenced
this issue
Feb 9, 2023
ReErased regions are local fix rust-lang/rust#107678 fix rust-lang/rust#107684 fix rust-lang/rust#107686 fix rust-lang/rust#107691 fix rust-lang/rust#107730
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
C-bug
Category: This is a bug.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
regression-from-stable-to-stable
Performance or correctness regression from one stable version to another.
S-has-mcve
Status: A Minimal Complete and Verifiable Example has been found for this issue
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
The notable difference between this issue and others like it (#107684, #107678, #107686) are that this is happening in 1.67.0 (where the others have it in nightly), and in release mode (where at least one of them only happens in debug mode). Posting this as a separate ticket given these reasons, I hope that's okay.
Code
(Tested with
rkyv
v0.7.39)This only happens when building in release mode.
Meta
rustc --version --verbose
:Error output
Backtrace
The text was updated successfully, but these errors were encountered: