Hi! I've tried to update from 1.1 to 2.0 but I got the following error when the pamac-manager is trying to compile the program:
error[E0658]: const generics are unstable
--> /var/tmp/pamac-build-yoshi/shortwave/src/Shortwave-2.0.0/builddir/cargo-home/registry/src/github.com-1ecc6299db9ec823/array-init-2.0.0/src/lib.rs:70:31
|
70 | pub fn array_init<F, T, const N: usize>(mut initializer: F) -> [T; N]
| ^
|
= note: see issue #44580 <https://github.com/rust-lang/rust/issues/44580> for more information
error[E0658]: const generics are unstable
--> /var/tmp/pamac-build-yoshi/shortwave/src/Shortwave-2.0.0/builddir/cargo-home/registry/src/github.com-1ecc6299db9ec823/array-init-2.0.0/src/lib.rs:108:37
|
108 | pub fn from_iter<Iterable, T, const N: usize>(iterable: Iterable) -> Option<[T; N]>
| ^
|
= note: see issue #44580 <https://github.com/rust-lang/rust/issues/44580> for more information
error[E0658]: const generics are unstable
--> /var/tmp/pamac-build-yoshi/shortwave/src/Shortwave-2.0.0/builddir/cargo-home/registry/src/github.com-1ecc6299db9ec823/array-init-2.0.0/src/lib.rs:150:40
|
150 | pub fn try_array_init<Err, F, T, const N: usize>(mut initializer: F) -> Result<[T; N], Err>
| ^
|
= note: see issue #44580 <https://github.com/rust-lang/rust/issues/44580> for more information
error: aborting due to 3 previous errors
For more information about this error, try `rustc --explain E0658`.
error: could not compile `array-init`.
To learn more, run the command again with --verbose.
warning: build failed, waiting for other jobs to finish...
error: build failed
[3/4] Generating de.haeckerfelix.Shortwave.metainfo.xml_data_merge with a custom command
FAILED: src/shortwave
/var/tmp/pamac-build-yoshi/shortwave/src/Shortwave-2.0.0/build-aux/cargo.sh /var/tmp/pamac-build-yoshi/shortwave/src/Shortwave-2.0.0/builddir /var/tmp/pamac-build-yoshi/shortwave/src/Shortwave-2.0.0 src/shortwave /usr/share/locale default
ninja: build stopped: subcommand failed.
Any advise to avoid these and get a good compilation?
Pinned Comments