-
Notifications
You must be signed in to change notification settings - Fork 13.8k
Closed
Closed
Copy link
Labels
A-attributesArea: Attributes (`#[…]`, `#![…]`)Area: Attributes (`#[…]`, `#![…]`)A-reprArea: the `#[repr(stuff)]` attributeArea: the `#[repr(stuff)]` attributeC-bugCategory: This is a bug.Category: This is a bug.P-criticalCritical priorityCritical priorityS-has-bisectionStatus: A bisection has been found for this issueStatus: A bisection has been found for this issueS-has-mcveStatus: A Minimal Complete and Verifiable Example has been found for this issueStatus: A Minimal Complete and Verifiable Example has been found for this issueregression-from-stable-to-nightlyPerformance or correctness regression from stable to nightly.Performance or correctness regression from stable to nightly.
Description
Compiling the vulkano crate fails with the latest nightly.
Error:
error[E0308]: mismatched types
--> /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/vulkano-0.34.1/src/macros.rs:658:48
|
658 | $flag_name = ash::vk::$ty_ffi::$flag_name_ffi.as_raw(),
| ^^^^^^^^^^^^^^^^^^^^^^^ expected `isize`, found `i32`
|
::: /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/vulkano-0.34.1/src/acceleration_structure.rs:315:1
|
315 | / vulkan_enum! {
316 | | #[non_exhaustive]
317 | |
318 | | /// The type of an acceleration structure.
... |
330 | | Generic = GENERIC,
331 | | }
| |_- in this macro invocation
|
= note: this error originates in the macro `vulkan_enum` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0308]: mismatched types
--> /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/vulkano-0.34.1/src/macros.rs:658:48
|
658 | $flag_name = ash::vk::$ty_ffi::$flag_name_ffi.as_raw(),
| ^^^^^^^^^^^^^^^^^^^^^^^ expected `isize`, found `i32`
|
::: /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/vulkano-0.34.1/src/acceleration_structure.rs:1591:1
|
1591 | / vulkan_enum! {
1592 | | #[non_exhaustive]
1593 | |
1594 | | /// What mode an acceleration structure copy command should operate in.
... |
1618 | | Deserialize = DESERIALIZE,
1619 | | }
| |_- in this macro invocation
|
= note: this error originates in the macro `vulkan_enum` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0308]: mismatched types
--> /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/vulkano-0.34.1/src/macros.rs:658:48
|
658 | $flag_name = ash::vk::$ty_ffi::$flag_name_ffi.as_raw(),
| ^^^^^^^^^^^^^^^^^^^^^^^ expected `isize`, found `i32`
|
::: /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/vulkano-0.34.1/src/acceleration_structure.rs:1621:1
|
1621 | / vulkan_enum! {
1622 | | #[non_exhaustive]
1623 | |
1624 | | /// Where the building of an acceleration structure will take place.
... |
1634 | | HostOrDevice = HOST_OR_DEVICE,
1635 | | }
| |_- in this macro invocation
|
= note: this error originates in the macro `vulkan_enum` (in Nightly builds, run with -Z macro-backtrace for more info)
(... skipped more of the same ...)
This is using the version 0.34.1 of vulkano
but I have verified this also fails in the master branch of https://github.com/vulkano-rs/vulkano/
The error was noticed because we build with nightly on our CI, and we depends on that crate
Version it worked on
Works on nightly-2025-02-24
rustc 1.87.0-nightly (f8a913b 2025-02-23)
Version with regression
Current nightly
rustc 1.87.0-nightly (85abb27 2025-02-25)
@rustbot modify labels: +regression-from-stable-to-nightly -regression-untriaged
Oughie and mwlon
Metadata
Metadata
Assignees
Labels
A-attributesArea: Attributes (`#[…]`, `#![…]`)Area: Attributes (`#[…]`, `#![…]`)A-reprArea: the `#[repr(stuff)]` attributeArea: the `#[repr(stuff)]` attributeC-bugCategory: This is a bug.Category: This is a bug.P-criticalCritical priorityCritical priorityS-has-bisectionStatus: A bisection has been found for this issueStatus: A bisection has been found for this issueS-has-mcveStatus: A Minimal Complete and Verifiable Example has been found for this issueStatus: A Minimal Complete and Verifiable Example has been found for this issueregression-from-stable-to-nightlyPerformance or correctness regression from stable to nightly.Performance or correctness regression from stable to nightly.
Type
Projects
Milestone
Relationships
Development
Select code repository
Activity
CI: Pin rust nightly version
Noratrieb commentedon Feb 26, 2025
Thank you for the report! It would be useful to bisect the regression using cargo-bisect-rustc to make it easier to figure out what happened and ping the relevant people.
@rustbot label E-needs-bisection
cyrgani commentedon Feb 26, 2025
working on reducing this
cyrgani commentedon Feb 26, 2025
reduction:
bisection:
searched nightlies: from nightly-2025-02-24 to nightly-2025-02-26
regressed nightly: nightly-2025-02-26
searched commit range: 617aad8...85abb27
regressed commit: 7d8c6e7
bisected with cargo-bisect-rustc v0.6.9
Host triple: x86_64-unknown-linux-gnu
Reproduce with:
@rustbot label:S-has-mcve -E-needs-mcve S-has-bisection -E-needs-bisection
20 remaining items
trapezoid
Cpu
standalone usage Amjad50/Trapezoid#67Rollup merge of rust-lang#137758 - jdonszelmann:fix-137662, r=nnether…
Rollup merge of rust-lang#137758 - jdonszelmann:fix-137662, r=nnether…
Rollup merge of rust-lang#137758 - jdonszelmann:fix-137662, r=nnether…
Rollup merge of rust-lang#137758 - jdonszelmann:fix-137662, r=nnether…
Rollup merge of rust-lang#137758 - jdonszelmann:fix-137662, r=nnether…
Rollup merge of rust-lang#137758 - jdonszelmann:fix-137662, r=nnether…
Rollup merge of rust-lang#137758 - jdonszelmann:fix-137662, r=nnether…
Rollup merge of rust-lang#137758 - jdonszelmann:fix-137662, r=nnether…
Rollup merge of rust-lang#137758 - jdonszelmann:fix-137662, r=nnether…
Rollup merge of rust-lang#137758 - jdonszelmann:fix-137662, r=nnether…
Rollup merge of rust-lang#137758 - jdonszelmann:fix-137662, r=nnether…
Unrolled build for rust-lang#137758
macro_rules
broken on latest nightly #138178