When using the latest bevy git commit (master branch of this repo), I get the following build error:
error: Please select a feature to build for unix: x11, wayland
--> /home/billy/.cargo/registry/src/github.com-1ecc6299db9ec823/winit-0.25.0/src/platform_impl/linux/mod.rs:10:1
|
10 | compile_error!("Please select a feature to build for unix: x11, wayland");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error[E0392]: parameter T is never used
--> /home/billy/.cargo/registry/src/github.com-1ecc6299db9ec823/winit-0.25.0/src/event_loop.rs:32:22
32
pub struct EventLoop<T: 'static> {
^ unused parameter
= help: consider removing T, referring to it in a field, or using a marker such as PhantomData
= help: if you intended T to be a const parameter, use const T: usize instead
error[E0392]: parameter T is never used
--> /home/billy/.cargo/registry/src/github.com-1ecc6299db9ec823/winit-0.25.0/src/event_loop.rs:43:34
43
pub struct EventLoopWindowTarget<T: 'static> {
^ unused parameter
= help: consider removing T, referring to it in a field, or using a marker such as PhantomData
= help: if you intended T to be a const parameter, use const T: usize instead
error[E0392]: parameter T is never used
--> /home/billy/.cargo/registry/src/github.com-1ecc6299db9ec823/winit-0.25.0/src/event_loop.rs:196:27
196
pub struct EventLoopProxy<T: 'static> {
^ unused parameter
= help: consider removing `T`, referring to it in a field, or using a marker such as `PhantomData`
= help: if you intended `T` to be a const parameter, use `const T: usize` instead
error[E0392]: parameter T is never used
--> /home/billy/.cargo/registry/src/github.com-1ecc6299db9ec823/winit-0.25.0/src/platform_impl/linux/mod.rs:543:20
543
pub enum EventLoop<T: 'static> {
^ unused parameter
= help: consider removing `T`, referring to it in a field, or using a marker such as `PhantomData`
= help: if you intended `T` to be a const parameter, use `const T: usize` instead
error[E0392]: parameter T is never used
--> /home/billy/.cargo/registry/src/github.com-1ecc6299db9ec823/winit-0.25.0/src/platform_impl/linux/mod.rs:550:25
550
pub enum EventLoopProxy<T: 'static> {
^ unused parameter
= help: consider removing `T`, referring to it in a field, or using a marker such as `PhantomData`
= help: if you intended `T` to be a const parameter, use `const T: usize` instead
error[E0392]: parameter T is never used
--> /home/billy/.cargo/registry/src/github.com-1ecc6299db9ec823/winit-0.25.0/src/platform_impl/linux/mod.rs:676:32
676
pub enum EventLoopWindowTarget {
^ unused parameter
= help: consider removing `T`, referring to it in a field, or using a marker such as `PhantomData`
= help: if you intended `T` to be a const parameter, use `const T: usize` instead
Compiling bytemuck v1.5.1
error: aborting due to 7 previous errors
For more information about this error, try rustc --explain E0392.
error: could not compile winit
To learn more, run the command again with --verbose.
warning: build failed, waiting for other jobs to finish...
When using the latest bevy git commit (master branch of this repo), I get the following build error:
error: Please select a feature to build for unix:
x11
,wayland
--> /home/billy/.cargo/registry/src/github.com-1ecc6299db9ec823/winit-0.25.0/src/platform_impl/linux/mod.rs:10:1 | 10 | compile_error!("Please select a feature to build for unix:x11
,wayland
"); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^T
is never used --> /home/billy/.cargo/registry/src/github.com-1ecc6299db9ec823/winit-0.25.0/src/event_loop.rs:32:22= help: consider removing
T
, referring to it in a field, or using a marker such asPhantomData
= help: if you intendedT
to be a const parameter, useconst T: usize
insteadT
is never used --> /home/billy/.cargo/registry/src/github.com-1ecc6299db9ec823/winit-0.25.0/src/event_loop.rs:43:34= help: consider removing
T
, referring to it in a field, or using a marker such asPhantomData
= help: if you intendedT
to be a const parameter, useconst T: usize
insteadT
is never used --> /home/billy/.cargo/registry/src/github.com-1ecc6299db9ec823/winit-0.25.0/src/event_loop.rs:196:27T
is never used --> /home/billy/.cargo/registry/src/github.com-1ecc6299db9ec823/winit-0.25.0/src/platform_impl/linux/mod.rs:543:20T
is never used --> /home/billy/.cargo/registry/src/github.com-1ecc6299db9ec823/winit-0.25.0/src/platform_impl/linux/mod.rs:550:25T
is never used --> /home/billy/.cargo/registry/src/github.com-1ecc6299db9ec823/winit-0.25.0/src/platform_impl/linux/mod.rs:676:32Compiling bytemuck v1.5.1 error: aborting due to 7 previous errors
For more information about this error, try
rustc --explain E0392
. error: could not compilewinit
To learn more, run the command again with --verbose. warning: build failed, waiting for other jobs to finish...