Skip to content

Commit

Permalink
[ci] Roll pinned nightly toolchain (#2010)
Browse files Browse the repository at this point in the history
  • Loading branch information
google-pr-creation-bot authored Nov 4, 2024
1 parent c3f7844 commit 58f0d99
Show file tree
Hide file tree
Showing 10 changed files with 40 additions and 13 deletions.
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

0 comments on commit 58f0d99

Please sign in to comment.