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

[ci] Roll pinned nightly toolchain #2010

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ zerocopy-panic-in-const-and-vec-try-reserve-1-57-0 = "1.57.0"
[package.metadata.ci]
# The versions of the stable and nightly compiler toolchains to use in CI.
pinned-stable = "1.82.0"
pinned-nightly = "nightly-2024-11-02"
pinned-nightly = "nightly-2024-11-03"

[package.metadata.docs.rs]
all-features = true
Expand Down
5 changes: 5 additions & 0 deletions tests/ui-nightly/transmute-mut-src-dst-not-references.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@ note: in edition 2024, the requirement `!: FromBytes` will fail
| ^^^^^^^^^^^^^^^^^^^^^^
= note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default
= note: this warning originates in the macro `transmute_mut` (in Nightly builds, run with -Z macro-backtrace for more info)
help: use `()` annotations to avoid fallback changes
--> src/macros.rs
|
| let e: &mut () = $e;
| ~~

warning: never type fallback affects this call to an `unsafe` function
--> tests/ui-nightly/transmute-mut-src-dst-not-references.rs:17:44
Expand Down
5 changes: 5 additions & 0 deletions tests/ui-nightly/transmute-mut-src-immutable.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ note: in edition 2024, the requirement `!: FromBytes` will fail
| ^^^^^^^^^^^^^^^^^^^^
= note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default
= note: this warning originates in the macro `transmute_mut` (in Nightly builds, run with -Z macro-backtrace for more info)
help: use `()` annotations to avoid fallback changes
--> src/macros.rs
|
| let e: &mut () = $e;
| ~~

warning: never type fallback affects this call to an `unsafe` function
--> tests/ui-nightly/transmute-mut-src-immutable.rs:17:22
Expand Down
5 changes: 5 additions & 0 deletions tests/ui-nightly/transmute-mut-src-not-a-reference.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@ note: in edition 2024, the requirement `!: FromBytes` will fail
| ^^^^^^^^^^^^^^^^^^^^^^
= note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default
= note: this warning originates in the macro `transmute_mut` (in Nightly builds, run with -Z macro-backtrace for more info)
help: use `()` annotations to avoid fallback changes
--> src/macros.rs
|
| let e: &mut () = $e;
| ~~

warning: never type fallback affects this call to an `unsafe` function
--> tests/ui-nightly/transmute-mut-src-not-a-reference.rs:17:38
Expand Down
5 changes: 5 additions & 0 deletions tests/ui-nightly/transmute-ref-src-dst-not-references.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,11 @@ note: in edition 2024, the requirement `!: IntoBytes` will fail
| ^^^^^^^^^^^^^^^^^^^^^^
= note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default
= note: this warning originates in the macro `transmute_ref` (in Nightly builds, run with -Z macro-backtrace for more info)
help: use `()` annotations to avoid fallback changes
--> src/macros.rs
|
| let e: &() = $e;
| ~~

warning: never type fallback affects this call to an `unsafe` function
--> tests/ui-nightly/transmute-ref-src-dst-not-references.rs:17:39
Expand Down
5 changes: 5 additions & 0 deletions tests/ui-nightly/transmute-ref-src-not-a-reference.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@ note: in edition 2024, the requirement `!: IntoBytes` will fail
| ^^^^^^^^^^^^^^^^^^^^^^
= note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default
= note: this warning originates in the macro `transmute_ref` (in Nightly builds, run with -Z macro-backtrace for more info)
help: use `()` annotations to avoid fallback changes
--> src/macros.rs
|
| let e: &() = $e;
| ~~

warning: never type fallback affects this call to an `unsafe` function
--> tests/ui-nightly/transmute-ref-src-not-a-reference.rs:17:34
Expand Down
12 changes: 6 additions & 6 deletions zerocopy-derive/tests/ui-nightly/enum.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -448,11 +448,11 @@ error[E0277]: `IntoBytes1` has inter-field padding
538 | #[derive(IntoBytes)]
| ^^^^^^^^^ types with padding cannot implement `IntoBytes`
|
= help: the trait `PaddingFree<IntoBytes1, true>` is not implemented for `()`
= note: consider using `zerocopy::Unalign` to lower the alignment of individual fields
= note: consider adding explicit fields where padding would be
= note: consider using `#[repr(packed)]` to remove inter-field padding
= help: the trait `PaddingFree<IntoBytes1, false>` is implemented for `()`
= help: the trait `PaddingFree<IntoBytes1, true>` is not implemented for `()`
but trait `PaddingFree<IntoBytes1, false>` is implemented for it
= help: see issue #48214
= note: this error originates in the derive macro `IntoBytes` (in Nightly builds, run with -Z macro-backtrace for more info)
help: add `#![feature(trivial_bounds)]` to the crate attributes to enable
Expand All @@ -466,11 +466,11 @@ error[E0277]: `IntoBytes2` has inter-field padding
549 | #[derive(IntoBytes)]
| ^^^^^^^^^ types with padding cannot implement `IntoBytes`
|
= help: the trait `PaddingFree<IntoBytes2, true>` is not implemented for `()`
= note: consider using `zerocopy::Unalign` to lower the alignment of individual fields
= note: consider adding explicit fields where padding would be
= note: consider using `#[repr(packed)]` to remove inter-field padding
= help: the trait `PaddingFree<IntoBytes2, false>` is implemented for `()`
= help: the trait `PaddingFree<IntoBytes2, true>` is not implemented for `()`
but trait `PaddingFree<IntoBytes2, false>` is implemented for it
= help: see issue #48214
= note: this error originates in the derive macro `IntoBytes` (in Nightly builds, run with -Z macro-backtrace for more info)
help: add `#![feature(trivial_bounds)]` to the crate attributes to enable
Expand All @@ -484,11 +484,11 @@ error[E0277]: `IntoBytes3` has inter-field padding
555 | #[derive(IntoBytes)]
| ^^^^^^^^^ types with padding cannot implement `IntoBytes`
|
= help: the trait `PaddingFree<IntoBytes3, true>` is not implemented for `()`
= note: consider using `zerocopy::Unalign` to lower the alignment of individual fields
= note: consider adding explicit fields where padding would be
= note: consider using `#[repr(packed)]` to remove inter-field padding
= help: the trait `PaddingFree<IntoBytes3, false>` is implemented for `()`
= help: the trait `PaddingFree<IntoBytes3, true>` is not implemented for `()`
but trait `PaddingFree<IntoBytes3, false>` is implemented for it
= help: see issue #48214
= note: this error originates in the derive macro `IntoBytes` (in Nightly builds, run with -Z macro-backtrace for more info)
help: add `#![feature(trivial_bounds)]` to the crate attributes to enable
Expand Down
2 changes: 2 additions & 0 deletions zerocopy-derive/tests/ui-nightly/mid_compile_pass.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ error[E0277]: the trait bound `T: KnownLayout` is not satisfied
|
59 | fn test_kl13<T>(t: T) -> impl KnownLayout {
| ^^^^^^^^^^^^^^^^ the trait `KnownLayout` is not implemented for `T`
60 | KL13(0u8, t)
| ------------ return type was inferred to be `KL13<T>` here
|
= note: Consider adding `#[derive(KnownLayout)]` to `T`
note: required for `KL13<T>` to implement `KnownLayout`
Expand Down
8 changes: 4 additions & 4 deletions zerocopy-derive/tests/ui-nightly/struct.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -302,11 +302,11 @@ error[E0277]: `IntoBytes2` has inter-field padding
107 | #[derive(IntoBytes)]
| ^^^^^^^^^ types with padding cannot implement `IntoBytes`
|
= help: the trait `PaddingFree<IntoBytes2, true>` is not implemented for `()`
= note: consider using `zerocopy::Unalign` to lower the alignment of individual fields
= note: consider adding explicit fields where padding would be
= note: consider using `#[repr(packed)]` to remove inter-field padding
= help: the trait `PaddingFree<IntoBytes2, false>` is implemented for `()`
= help: the trait `PaddingFree<IntoBytes2, true>` is not implemented for `()`
but trait `PaddingFree<IntoBytes2, false>` is implemented for it
= help: see issue #48214
= note: this error originates in the derive macro `IntoBytes` (in Nightly builds, run with -Z macro-backtrace for more info)
help: add `#![feature(trivial_bounds)]` to the crate attributes to enable
Expand All @@ -320,11 +320,11 @@ error[E0277]: `IntoBytes3` has inter-field padding
114 | #[derive(IntoBytes)]
| ^^^^^^^^^ types with padding cannot implement `IntoBytes`
|
= help: the trait `PaddingFree<IntoBytes3, true>` is not implemented for `()`
= note: consider using `zerocopy::Unalign` to lower the alignment of individual fields
= note: consider adding explicit fields where padding would be
= note: consider using `#[repr(packed)]` to remove inter-field padding
= help: the trait `PaddingFree<IntoBytes3, false>` is implemented for `()`
= help: the trait `PaddingFree<IntoBytes3, true>` is not implemented for `()`
but trait `PaddingFree<IntoBytes3, false>` is implemented for it
= help: see issue #48214
= note: this error originates in the derive macro `IntoBytes` (in Nightly builds, run with -Z macro-backtrace for more info)
help: add `#![feature(trivial_bounds)]` to the crate attributes to enable
Expand Down
4 changes: 2 additions & 2 deletions zerocopy-derive/tests/ui-nightly/union.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -93,11 +93,11 @@ error[E0277]: `IntoBytes2` has inter-field padding
39 | #[derive(IntoBytes)]
| ^^^^^^^^^ types with padding cannot implement `IntoBytes`
|
= help: the trait `PaddingFree<IntoBytes2, true>` is not implemented for `()`
= note: consider using `zerocopy::Unalign` to lower the alignment of individual fields
= note: consider adding explicit fields where padding would be
= note: consider using `#[repr(packed)]` to remove inter-field padding
= help: the trait `PaddingFree<IntoBytes2, false>` is implemented for `()`
= help: the trait `PaddingFree<IntoBytes2, true>` is not implemented for `()`
but trait `PaddingFree<IntoBytes2, false>` is implemented for it
= help: see issue #48214
= note: this error originates in the derive macro `IntoBytes` (in Nightly builds, run with -Z macro-backtrace for more info)
help: add `#![feature(trivial_bounds)]` to the crate attributes to enable
Expand Down
Loading