warning: fields buffer and indices are never read -->…
- User
warning: fields
bufferandindicesare never read --> src\graphics\internal_canvas.rs:689:9 | 688 | pub struct InstanceArrayView { | ----------------- fields in this struct 689 | pub buffer: ArcBuffer, | ^^^^^^ 690 | pub indices: ArcBuffer, | ^^^^^^^ | = note:InstanceArrayViewhas a derived impl for the traitDebug, but this is intentionally ignored during dead code analysis = note:#[warn(dead_code)]on by defaultwarning: method
appendis never used --> src\vfs.rs:112:8 | 97 | pub trait VFS: Debug { | --- method in this trait ... 112 | fn append(&self, path: &Path) -> GameResult<Box> { | ^^^^^^warning: method
lenis never used --> src\vfs.rs:149:8 | 140 | pub trait VMetadata { | --------- method in this trait ... 149 | fn len(&self) -> u64; | ^^^warning:
ggez(lib) generated 3 warnings Compiling ggez v0.9.3 (C:\Users\fer52\ggez-master) error[E0053]: methodupdatehas an incompatible type for trait --> examples\01_super_simple_1.rs:20:55 | 20 | fn update(&mut self, ctx: &egui::Context, _frame: &eframe::Frame) { | ^^^^^^^^^^^^^^ types differ in mutability | = note: expected signaturefn(&mut MyApp, &eframe::egui::Context, &mut eframe::Frame)
found signaturefn(&mut MyApp, &eframe::egui::Context, &eframe::Frame)help: change the parameter type to match the trait | 20 | fn update(&mut self, ctx: &egui::Context, _frame: &mut eframe::Frame) { | ~~~~~~~~~~~~~~~~~~error[E0599]: the function or associated item
defaultexists for structBox<dyn App>, but its trait bounds were not satisfied --> examples\01_super_simple_1.rs:4:96 | 4 | ...t(), Box::::default()) | ^^^^^^^ function or associated item cannot be called onBox<dyn App>due to unsatisfied trait bounds | ::: C:\Users\fer52.cargo\registry\src\index.crates.io-6f17d22bba15001f\eframe-0.27.2\src\epi.rs:112:1 | 112 | pub trait App { | ------------- doesn't satisfydyn App: Sizedordyn App: std::default::Default
| ::: C:\Users\fer52.rustup\toolchains\stable-x86_64-pc-windows-msvc\lib/rustlib/src/rust\library\alloc\src\boxed.rs:233:1 | 233 | / pub struct Box< 234 | | T: ?Sized, 235 | | #[unstable(feature = "allocator_api", issue = "32838")] A: Allocator = Global,
236 | | >(Unique, A); | |_- doesn't satisfyBox<dyn App>: std::default::Default| note: if you're trying to build a newBox<dyn App>consider using one of the following associated functions: Box::::from_raw Box::::from_non_null Box::<T, A>::from_raw_in Box::<T, A>::from_non_null_in --> C:\Users\fer52.rustup\toolchains\stable-x86_64-pc-windows-msvc\lib/rustlib/src/rust\library\alloc\src\boxed.rs:1060:5 | 1060 | pub unsafe fn from_raw(raw: *mut T) -> Self { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ... 1113 | pub unsafe fn from_non_null(ptr: NonNull) -> Self { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ... 1169 | pub const unsafe fn from_raw_in(raw: *mut T, alloc: A) -> Self { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ... 1223 | pub const unsafe fn from_non_null_in(raw: NonNull, alloc: A) -> Self { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: the following trait bounds were not satisfied: which is required by which is required by - Assistant