FS#72599 - [firefox] Package does not build
Attached to Project:
Arch Linux
Opened by Tomas Volf (gray_-_wolf) - Monday, 01 November 2021, 01:52 GMT
Last edited by Jonas Witschel (diabonas) - Tuesday, 02 November 2021, 09:53 GMT
Opened by Tomas Volf (gray_-_wolf) - Monday, 01 November 2021, 01:52 GMT
Last edited by Jonas Witschel (diabonas) - Tuesday, 02 November 2021, 09:53 GMT
|
Details
Description:
Building firefox package on current archlinux fails with: ``` 3:31.86 error[E0557]: feature has been removed 3:31.86 --> /build/copy/src/firefox-93.0/third_party/rust/packed_simd/src/lib.rs:203:5 3:31.86 | 3:31.86 203 | const_generics, 3:31.86 | ^^^^^^^^^^^^^^ feature has been removed 3:31.86 | 3:31.86 = note: removed in favor of `#![feature(adt_const_params]` and `#![feature(generic_const_exprs)]` 3:34.47 error: type parameters must be declared prior to const parameters 3:34.47 --> /build/copy/src/firefox-93.0/third_party/rust/packed_simd/src/codegen/llvm.rs:20:54 3:34.47 | 3:34.47 20 | pub unsafe fn __shuffle_vector2<const IDX: [u32; 2], T, U>(x: T, y: T) -> U 3:34.47 | ----------------------^--^- help: reorder the parameters: lifetimes, then types, then consts: `<T, U, const IDX: [u32; 2]>` 3:34.47 error: type parameters must be declared prior to const parameters 3:34.47 --> /build/copy/src/firefox-93.0/third_party/rust/packed_simd/src/codegen/llvm.rs:30:54 3:34.47 | 3:34.47 30 | pub unsafe fn __shuffle_vector4<const IDX: [u32; 4], T, U>(x: T, y: T) -> U 3:34.47 | ----------------------^--^- help: reorder the parameters: lifetimes, then types, then consts: `<T, U, const IDX: [u32; 4]>` 3:34.47 error: type parameters must be declared prior to const parameters 3:34.47 --> /build/copy/src/firefox-93.0/third_party/rust/packed_simd/src/codegen/llvm.rs:40:54 3:34.47 | 3:34.47 40 | pub unsafe fn __shuffle_vector8<const IDX: [u32; 8], T, U>(x: T, y: T) -> U 3:34.47 | ----------------------^--^- help: reorder the parameters: lifetimes, then types, then consts: `<T, U, const IDX: [u32; 8]>` 3:34.47 error: type parameters must be declared prior to const parameters 3:34.47 --> /build/copy/src/firefox-93.0/third_party/rust/packed_simd/src/codegen/llvm.rs:50:56 3:34.47 | 3:34.47 50 | pub unsafe fn __shuffle_vector16<const IDX: [u32; 16], T, U>(x: T, y: T) -> U 3:34.47 | -----------------------^--^- help: reorder the parameters: lifetimes, then types, then consts: `<T, U, const IDX: [u32; 16]>` 3:34.48 error: type parameters must be declared prior to const parameters 3:34.48 --> /build/copy/src/firefox-93.0/third_party/rust/packed_simd/src/codegen/llvm.rs:60:56 3:34.48 | 3:34.48 60 | pub unsafe fn __shuffle_vector32<const IDX: [u32; 32], T, U>(x: T, y: T) -> U 3:34.48 | -----------------------^--^- help: reorder the parameters: lifetimes, then types, then consts: `<T, U, const IDX: [u32; 32]>` 3:34.48 error: type parameters must be declared prior to const parameters 3:34.48 --> /build/copy/src/firefox-93.0/third_party/rust/packed_simd/src/codegen/llvm.rs:70:56 3:34.48 | 3:34.48 70 | pub unsafe fn __shuffle_vector64<const IDX: [u32; 64], T, U>(x: T, y: T) -> U 3:34.48 | -----------------------^--^- help: reorder the parameters: lifetimes, then types, then consts: `<T, U, const IDX: [u32; 64]>` 3:36.05 Compiling cubeb-sys v0.9.0 3:37.36 Compiling hashlink v0.6.0 3:38.04 Compiling fallible_collections v0.4.2 3:38.64 error: `[u32; 2]` is forbidden as the type of a const generic parameter 3:38.64 --> /build/copy/src/firefox-93.0/third_party/rust/packed_simd/src/codegen/llvm.rs:20:44 3:38.64 | 3:38.64 20 | pub unsafe fn __shuffle_vector2<const IDX: [u32; 2], T, U>(x: T, y: T) -> U 3:38.64 | ^^^^^^^^ 3:38.64 | 3:38.64 = note: the only supported types are integers, `bool` and `char` 3:38.64 = help: more complex types are supported with `#![feature(adt_const_params)]` 3:38.64 error: `[u32; 4]` is forbidden as the type of a const generic parameter 3:38.64 --> /build/copy/src/firefox-93.0/third_party/rust/packed_simd/src/codegen/llvm.rs:30:44 3:38.64 | 3:38.64 30 | pub unsafe fn __shuffle_vector4<const IDX: [u32; 4], T, U>(x: T, y: T) -> U 3:38.64 | ^^^^^^^^ 3:38.64 | 3:38.64 = note: the only supported types are integers, `bool` and `char` 3:38.64 = help: more complex types are supported with `#![feature(adt_const_params)]` 3:38.64 error: `[u32; 8]` is forbidden as the type of a const generic parameter 3:38.64 --> /build/copy/src/firefox-93.0/third_party/rust/packed_simd/src/codegen/llvm.rs:40:44 3:38.64 | 3:38.64 40 | pub unsafe fn __shuffle_vector8<const IDX: [u32; 8], T, U>(x: T, y: T) -> U 3:38.64 | ^^^^^^^^ 3:38.64 | 3:38.64 = note: the only supported types are integers, `bool` and `char` 3:38.64 = help: more complex types are supported with `#![feature(adt_const_params)]` 3:38.64 error: `[u32; 16]` is forbidden as the type of a const generic parameter 3:38.64 --> /build/copy/src/firefox-93.0/third_party/rust/packed_simd/src/codegen/llvm.rs:50:45 3:38.64 | 3:38.64 50 | pub unsafe fn __shuffle_vector16<const IDX: [u32; 16], T, U>(x: T, y: T) -> U 3:38.64 | ^^^^^^^^^ 3:38.64 | 3:38.64 = note: the only supported types are integers, `bool` and `char` 3:38.64 = help: more complex types are supported with `#![feature(adt_const_params)]` 3:38.64 error: `[u32; 32]` is forbidden as the type of a const generic parameter 3:38.64 --> /build/copy/src/firefox-93.0/third_party/rust/packed_simd/src/codegen/llvm.rs:60:45 3:38.64 | 3:38.64 60 | pub unsafe fn __shuffle_vector32<const IDX: [u32; 32], T, U>(x: T, y: T) -> U 3:38.64 | ^^^^^^^^^ 3:38.64 | 3:38.64 = note: the only supported types are integers, `bool` and `char` 3:38.64 = help: more complex types are supported with `#![feature(adt_const_params)]` 3:38.64 error: `[u32; 64]` is forbidden as the type of a const generic parameter 3:38.64 --> /build/copy/src/firefox-93.0/third_party/rust/packed_simd/src/codegen/llvm.rs:70:45 3:38.64 | 3:38.64 70 | pub unsafe fn __shuffle_vector64<const IDX: [u32; 64], T, U>(x: T, y: T) -> U 3:38.64 | ^^^^^^^^^ 3:38.64 | 3:38.64 = note: the only supported types are integers, `bool` and `char` 3:38.64 = help: more complex types are supported with `#![feature(adt_const_params)]` 3:42.53 For more information about this error, try `rustc --explain E0557`. 3:42.56 The following warnings were emitted during compilation: 3:42.56 warning: Cannot set `RUSTC_BOOTSTRAP=1` from build script of `packed_simd v0.3.4 (https://github.com/hsivonen/packed_simd?rev=6a16f954950401b92b4e220fbf2dfaf6f00e1fb2#6a16f954)`. 3:42.56 note: Crates cannot set `RUSTC_BOOTSTRAP` themselves, as doing so would subvert the stability guarantees of Rust for your project. 3:42.56 error: could not compile `packed_simd` due to 13 previous errors 3:42.56 warning: build failed, waiting for other jobs to finish... ``` |
This task depends upon
Closed by Jonas Witschel (diabonas)
Tuesday, 02 November 2021, 09:53 GMT
Reason for closing: Fixed
Additional comments about closing: firefox 94.0-1
Tuesday, 02 November 2021, 09:53 GMT
Reason for closing: Fixed
Additional comments about closing: firefox 94.0-1
[1] https://phabricator.services.mozilla.com/D125604
[2] https://github.com/mozilla/gecko-dev/commit/23c14710ecfc642deb12d596729697dca6e15b0d