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 #507

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 @@ -26,7 +26,7 @@ all-features = true
[package.metadata.ci]
# The versions of the stable and nightly compiler toolchains to use in CI.
pinned-stable = "1.73.0"
pinned-nightly = "nightly-2023-05-25"
pinned-nightly = "nightly-2023-10-13"

[features]
default = ["byteorder"]
Expand Down
16 changes: 8 additions & 8 deletions tests/ui-nightly/transmute-dst-not-frombytes.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ error[E0277]: the trait bound `NotZerocopy: FromBytes` is not satisfied
| ^^^^^^^^^^^^^^^^^^^ the trait `FromBytes` is not implemented for `NotZerocopy`
|
= help: the following other types implement trait `FromBytes`:
()
AU16
F32<O>
F64<O>
I128<O>
I16<O>
I32<O>
I64<O>
isize
i8
i16
i32
i64
i128
usize
u8
and $N others
note: required by a bound in `DST_NOT_FROM_BYTES::transmute`
--> tests/ui-nightly/transmute-dst-not-frombytes.rs:14:41
Expand Down
16 changes: 8 additions & 8 deletions tests/ui-nightly/transmute-ref-dst-not-frombytes.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ error[E0277]: the trait bound `NotZerocopy: FromBytes` is not satisfied
| ^^^^^^^^^^^^^^^^^^^^^^^^ the trait `FromBytes` is not implemented for `NotZerocopy`
|
= help: the following other types implement trait `FromBytes`:
()
AU16
F32<O>
F64<O>
I128<O>
I16<O>
I32<O>
I64<O>
isize
i8
i16
i32
i64
i128
usize
u8
and $N others
note: required by a bound in `DST_NOT_FROM_BYTES::transmute`
--> tests/ui-nightly/transmute-ref-dst-not-frombytes.rs:14:42
Expand Down
14 changes: 0 additions & 14 deletions tests/ui-nightly/transmute-ref-dst-unsized.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -62,20 +62,6 @@ note: required by a bound in `MaxAlignsOf`
| ^ required by this bound in `MaxAlignsOf`
= note: this error originates in the macro `transmute_ref` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
--> tests/ui-nightly/transmute-ref-dst-unsized.rs:13:28
|
13 | const DST_UNSIZED: &[u8] = transmute_ref!(&[0u8; 1]);
| ^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time
|
= help: the trait `Sized` is not implemented for `[u8]`
note: required by a bound in `MaxAlignsOf`
--> src/macro_util.rs
|
| pub union MaxAlignsOf<T, U> {
| ^ required by this bound in `MaxAlignsOf`
= note: this error originates in the macro `transmute_ref` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
--> tests/ui-nightly/transmute-ref-dst-unsized.rs:13:28
|
Expand Down
16 changes: 8 additions & 8 deletions tests/ui-nightly/transmute-ref-src-not-asbytes.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ error[E0277]: the trait bound `NotZerocopy<AU16>: AsBytes` is not satisfied
| required by a bound introduced by this call
|
= help: the following other types implement trait `AsBytes`:
()
AU16
F32<O>
F64<O>
I128<O>
I16<O>
I32<O>
I64<O>
bool
char
isize
i8
i16
i32
i64
i128
and $N others
note: required by a bound in `SRC_NOT_AS_BYTES::transmute`
--> tests/ui-nightly/transmute-ref-src-not-asbytes.rs:14:33
Expand Down
16 changes: 8 additions & 8 deletions tests/ui-nightly/transmute-src-not-asbytes.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ error[E0277]: the trait bound `NotZerocopy<AU16>: AsBytes` is not satisfied
| required by a bound introduced by this call
|
= help: the following other types implement trait `AsBytes`:
()
AU16
F32<O>
F64<O>
I128<O>
I16<O>
I32<O>
I64<O>
bool
char
isize
i8
i16
i32
i64
i128
and $N others
note: required by a bound in `SRC_NOT_AS_BYTES::transmute`
--> tests/ui-nightly/transmute-src-not-asbytes.rs:14:32
Expand Down
64 changes: 32 additions & 32 deletions zerocopy-derive/tests/ui-nightly/derive_transparent.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ error[E0277]: the trait bound `NotZerocopy: FromZeroes` is not satisfied
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `FromZeroes` is not implemented for `NotZerocopy`
|
= help: the following other types implement trait `FromZeroes`:
()
AU16
F32<O>
F64<O>
I128<O>
I16<O>
I32<O>
I64<O>
bool
char
isize
i8
i16
i32
i64
i128
and $N others
note: required for `TransparentStruct<NotZerocopy>` to implement `FromZeroes`
--> tests/ui-nightly/derive_transparent.rs:23:19
Expand All @@ -33,14 +33,14 @@ error[E0277]: the trait bound `NotZerocopy: FromBytes` is not satisfied
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `FromBytes` is not implemented for `NotZerocopy`
|
= help: the following other types implement trait `FromBytes`:
()
AU16
F32<O>
F64<O>
I128<O>
I16<O>
I32<O>
I64<O>
isize
i8
i16
i32
i64
i128
usize
u8
and $N others
note: required for `TransparentStruct<NotZerocopy>` to implement `FromBytes`
--> tests/ui-nightly/derive_transparent.rs:23:31
Expand All @@ -61,14 +61,14 @@ error[E0277]: the trait bound `NotZerocopy: AsBytes` is not satisfied
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `AsBytes` is not implemented for `NotZerocopy`
|
= help: the following other types implement trait `AsBytes`:
()
AU16
F32<O>
F64<O>
I128<O>
I16<O>
I32<O>
I64<O>
bool
char
isize
i8
i16
i32
i64
i128
and $N others
note: required for `TransparentStruct<NotZerocopy>` to implement `AsBytes`
--> tests/ui-nightly/derive_transparent.rs:23:10
Expand All @@ -89,14 +89,14 @@ error[E0277]: the trait bound `NotZerocopy: Unaligned` is not satisfied
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Unaligned` is not implemented for `NotZerocopy`
|
= help: the following other types implement trait `Unaligned`:
()
F32<O>
F64<O>
I128<O>
I16<O>
I32<O>
I64<O>
ManuallyDrop<T>
bool
i8
u8
TransparentStruct<T>
U16<O>
U32<O>
U64<O>
U128<O>
and $N others
note: required for `TransparentStruct<NotZerocopy>` to implement `Unaligned`
--> tests/ui-nightly/derive_transparent.rs:23:42
Expand Down
2 changes: 1 addition & 1 deletion zerocopy-derive/tests/ui-nightly/enum.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ error[E0552]: unrecognized representation hint
21 | #[repr(foo)]
| ^^^
|
= help: valid reprs are `C`, `align`, `packed`, `transparent`, `simd`, `i8`, `u8`, `i16`, `u16`, `i32`, `u32`, `i64`, `u64`, `i128`, `u128`, `isize`, `usize`
= help: valid reprs are `Rust` (default), `C`, `align`, `packed`, `transparent`, `simd`, `i8`, `u8`, `i16`, `u16`, `i32`, `u32`, `i64`, `u64`, `i128`, `u128`, `isize`, `usize`

error[E0566]: conflicting representation hints
--> tests/ui-nightly/enum.rs:33:8
Expand Down
112 changes: 56 additions & 56 deletions zerocopy-derive/tests/ui-nightly/late_compile_pass.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ error[E0277]: the trait bound `NotZerocopy: FromZeroes` is not satisfied
| ^^^^^^^^^^ the trait `FromZeroes` is not implemented for `NotZerocopy`
|
= help: the following other types implement trait `FromZeroes`:
()
AU16
F32<O>
F64<O>
FromZeroes1
I128<O>
I16<O>
I32<O>
bool
char
isize
i8
i16
i32
i64
i128
and $N others
= help: see issue #48214
= help: add `#![feature(trivial_bounds)]` to the crate attributes to enable
Expand All @@ -25,14 +25,14 @@ error[E0277]: the trait bound `NotZerocopy: FromBytes` is not satisfied
| ^^^^^^^^^ the trait `FromBytes` is not implemented for `NotZerocopy`
|
= help: the following other types implement trait `FromBytes`:
()
AU16
F32<O>
F64<O>
FromBytes1
I128<O>
I16<O>
I32<O>
isize
i8
i16
i32
i64
i128
usize
u8
and $N others
= help: see issue #48214
= help: add `#![feature(trivial_bounds)]` to the crate attributes to enable
Expand All @@ -45,14 +45,14 @@ error[E0277]: the trait bound `FromBytes1: FromZeroes` is not satisfied
| ^^^^^^^^^ the trait `FromZeroes` is not implemented for `FromBytes1`
|
= help: the following other types implement trait `FromZeroes`:
()
AU16
F32<O>
F64<O>
FromZeroes1
I128<O>
I16<O>
I32<O>
bool
char
isize
i8
i16
i32
i64
i128
and $N others
note: required by a bound in `FromBytes`
--> $WORKSPACE/src/lib.rs
Expand All @@ -68,14 +68,14 @@ error[E0277]: the trait bound `NotZerocopy: AsBytes` is not satisfied
| ^^^^^^^ the trait `AsBytes` is not implemented for `NotZerocopy`
|
= help: the following other types implement trait `AsBytes`:
()
AU16
AsBytes1
F32<O>
F64<O>
I128<O>
I16<O>
I32<O>
bool
char
isize
i8
i16
i32
i64
i128
and $N others
= help: see issue #48214
= help: add `#![feature(trivial_bounds)]` to the crate attributes to enable
Expand All @@ -88,14 +88,14 @@ error[E0277]: the trait bound `AU16: Unaligned` is not satisfied
| ^^^^^^^^^ the trait `Unaligned` is not implemented for `AU16`
|
= help: the following other types implement trait `Unaligned`:
()
F32<O>
F64<O>
I128<O>
I16<O>
I32<O>
I64<O>
ManuallyDrop<T>
bool
i8
u8
Unaligned1
Unaligned2
Unaligned3
U16<O>
U32<O>
and $N others
= help: see issue #48214
= help: add `#![feature(trivial_bounds)]` to the crate attributes to enable
Expand All @@ -108,14 +108,14 @@ error[E0277]: the trait bound `AU16: Unaligned` is not satisfied
| ^^^^^^^^^ the trait `Unaligned` is not implemented for `AU16`
|
= help: the following other types implement trait `Unaligned`:
()
F32<O>
F64<O>
I128<O>
I16<O>
I32<O>
I64<O>
ManuallyDrop<T>
bool
i8
u8
Unaligned1
Unaligned2
Unaligned3
U16<O>
U32<O>
and $N others
= help: see issue #48214
= help: add `#![feature(trivial_bounds)]` to the crate attributes to enable
Expand All @@ -128,14 +128,14 @@ error[E0277]: the trait bound `AU16: Unaligned` is not satisfied
| ^^^^^^^^^ the trait `Unaligned` is not implemented for `AU16`
|
= help: the following other types implement trait `Unaligned`:
()
F32<O>
F64<O>
I128<O>
I16<O>
I32<O>
I64<O>
ManuallyDrop<T>
bool
i8
u8
Unaligned1
Unaligned2
Unaligned3
U16<O>
U32<O>
and $N others
= help: see issue #48214
= help: add `#![feature(trivial_bounds)]` to the crate attributes to enable
Expand Down
2 changes: 1 addition & 1 deletion zerocopy-derive/tests/ui-nightly/struct.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ error[E0277]: the trait bound `HasPadding<AsBytes2, true>: ShouldBe<false>` is n
23 | #[derive(AsBytes)]
| ^^^^^^^ the trait `ShouldBe<false>` is not implemented for `HasPadding<AsBytes2, true>`
|
= help: the trait `ShouldBe<VALUE>` is implemented for `HasPadding<T, VALUE>`
= help: the trait `ShouldBe<true>` is implemented for `HasPadding<AsBytes2, true>`
= help: see issue #48214
= help: add `#![feature(trivial_bounds)]` to the crate attributes to enable
= note: this error originates in the derive macro `AsBytes` (in Nightly builds, run with -Z macro-backtrace for more info)
Loading
Loading