Open SnowyThinker opened 2 years ago
Hi! Try cargo run --package executor --release
andrew@BigMac StationIapetus % cargo run --package executor --release Compiling autocfg v1.1.0 Compiling proc-macro2 v1.0.47 Compiling quote v1.0.21 Compiling unicode-ident v1.0.5 Compiling libc v0.2.135 Compiling syn v1.0.103 Compiling cfg-if v1.0.0 Compiling libm v0.2.5 Compiling serde_derive v1.0.147 Compiling serde v1.0.147 Compiling bitflags v1.3.2 Compiling log v0.4.17 Compiling memchr v2.5.0 Compiling crossbeam-utils v0.8.12 Compiling version_check v0.9.4 Compiling scopeguard v1.1.0 Compiling bytemuck v1.12.1 Compiling core-foundation-sys v0.8.3 Compiling typenum v1.15.0 Compiling smallvec v1.10.0 Compiling wasm-bindgen-shared v0.2.83 Compiling futures-core v0.3.25 Compiling rawpointer v0.2.1 Compiling paste v1.0.9 Compiling byteorder v1.4.3 Compiling glob v0.3.0 Compiling futures-channel v0.3.25 Compiling bumpalo v3.11.1 Compiling futures-task v0.3.25 Compiling once_cell v1.15.0 Compiling ident_case v1.0.1 Compiling arrayvec v0.7.2 Compiling fnv v1.0.7 Compiling futures-sink v0.3.25 Compiling strsim v0.10.0 Compiling futures-util v0.3.25 Compiling parking_lot_core v0.9.4 Compiling wasm-bindgen v0.2.83 Compiling either v1.8.0 Compiling pin-project-lite v0.2.9 Compiling foreign-types-shared v0.1.1 Compiling futures-io v0.3.25 Compiling block v0.1.6 Compiling khronos_api v3.1.0 Compiling minimal-lexical v0.2.1 Compiling pin-utils v0.1.0 Compiling base64 v0.13.1 Compiling thiserror v1.0.37 Compiling rayon-core v1.9.3 Compiling unicode-segmentation v1.10.0 Compiling strength_reduce v0.2.3 Compiling bindgen v0.59.2 Compiling crc32fast v1.3.2 Compiling ppv-lite86 v0.2.16 Compiling regex-syntax v0.6.27 Compiling robust v0.2.3 Compiling adler v1.0.2 Compiling lazycell v1.3.0 Compiling lazy_static v1.4.0 Compiling xml-rs v0.8.4 Compiling rustversion v1.0.9 Compiling optional v0.5.0 Compiling heck v0.4.0 Compiling crossbeam-queue v0.3.6 Compiling rustc-hash v1.1.0 Compiling shlex v1.1.0 Compiling peeking_take_while v0.1.2 Compiling downcast-rs v1.2.0 Compiling cty v0.2.2 Compiling same-file v1.0.6 Compiling tinyvec_macros v0.1.0 Compiling sysinfo v0.26.5 Compiling weezl v0.1.7 Compiling strum v0.24.1 Compiling ttf-parser v0.15.2 Compiling color_quant v1.1.0 Compiling os_str_bytes v6.3.0 Compiling bit-vec v0.6.3 Compiling jpeg-decoder v0.2.6 Compiling dispatch v0.2.0 Compiling hound v3.5.0 Compiling termcolor v1.1.3 Compiling adler32 v1.2.0 Compiling tbc v0.3.0 Compiling glow v0.11.2 Compiling instant v0.1.12 Compiling libloading v0.7.3 Compiling matrixmultiply v0.3.2 Compiling safe_arch v0.6.0 Compiling num-traits v0.2.15 Compiling num-integer v0.1.45 Compiling memoffset v0.6.5 Compiling slab v0.4.7 Compiling num-rational v0.4.1 Compiling crossbeam-epoch v0.9.11 Compiling lock_api v0.4.9 Compiling rayon v1.5.3 Compiling fxhash v0.2.1 Compiling ogg v0.8.0 Compiling proc-macro-error-attr v1.0.4 Compiling ahash v0.7.6 Compiling proc-macro-error v1.0.4 Compiling foreign-types v0.3.2 Compiling clang-sys v1.4.0 Compiling miniz_oxide v0.5.4 Compiling convert_case v0.6.0 Compiling raw-window-handle v0.5.0 Compiling raw-window-handle v0.4.3 Compiling tinyvec v1.6.0 Compiling walkdir v2.3.2 Compiling clap_lex v0.3.0 Compiling gif v0.11.4 Compiling inflate v0.4.5 Compiling wide v0.7.5 Compiling regex v1.6.0 Compiling lewton v0.10.2 Compiling crossbeam-channel v0.5.6 Compiling nom v7.1.1 Compiling getrandom v0.2.8 Compiling num_cpus v1.13.1 Compiling malloc_buf v0.0.6 Compiling core-foundation v0.9.3 Compiling filetime v0.2.18 Compiling fsevent-sys v4.1.0 Compiling atty v0.2.14 Compiling cgl v0.3.2 Compiling gl_generator v0.14.0 Compiling flate2 v1.0.24 Compiling rand_core v0.6.4 Compiling objc v0.2.7 Compiling notify v5.0.0 Compiling core-graphics-types v0.1.1 Compiling parking_lot v0.12.1 Compiling png v0.17.6 Compiling tiff v0.7.3 Compiling rand_chacha v0.3.1 Compiling hashbrown v0.11.2 Compiling objc_id v0.1.1 Compiling approx v0.5.1 Compiling spade v2.0.0 Compiling num-traits v0.1.43 Compiling cocoa-foundation v0.1.0 Compiling core-graphics v0.22.3 Compiling glutin_gles2_sys v0.1.5 Compiling crossbeam-deque v0.8.2 Compiling cexpr v0.6.0 Compiling rand v0.8.5 Compiling objc-foundation v0.1.1 Compiling fontdue v0.7.2 Compiling enum_primitive v0.1.1 Compiling transpose v0.2.1 Compiling primal-check v0.3.3 Compiling crossbeam v0.8.2 Compiling cocoa v0.24.0 Compiling copypasta v0.8.1 Compiling ddsfile v0.5.1 Compiling image v0.24.4 Compiling wasm-bindgen-backend v0.2.83 Compiling darling_core v0.14.1 Compiling wasm-bindgen-macro-support v0.2.83 Compiling nalgebra-macros v0.1.0 Compiling futures-macro v0.3.25 Compiling thiserror-impl v1.0.37 Compiling num-derive v0.3.3 Compiling strum_macros v0.24.3 Compiling clap_derive v4.0.18 Compiling darling_macro v0.14.1 Compiling wasm-bindgen-macro v0.2.83 Compiling darling v0.14.1 Compiling fyrox-core-derive v0.17.0 (/Users/andrew/workbench/souce/rust/Fyrox/fyrox-core-derive) Compiling uuid v1.2.1 Compiling clap v4.0.18 Compiling coreaudio-sys v0.2.10 Compiling futures-executor v0.3.25 Compiling futures v0.3.25 Compiling num-complex v0.4.2 Compiling winit v0.27.4 Compiling ron v0.8.0 Compiling ron v0.7.1 Compiling simba v0.7.2 Compiling rustfft v6.0.1 Compiling glutin v0.29.1 Compiling realfft v2.0.1 Compiling rubato v0.10.1 Compiling hrtf v0.8.0 Compiling nalgebra v0.31.2 Compiling fyrox-core v0.22.0 (/Users/andrew/workbench/souce/rust/Fyrox/fyrox-core) Compiling parry3d v0.10.0 Compiling parry2d v0.10.0 Compiling fyrox-resource v0.6.0 (/Users/andrew/workbench/souce/rust/Fyrox/fyrox-resource) Compiling fyrox-ui v0.19.0 (/Users/andrew/workbench/souce/rust/Fyrox/fyrox-ui) Compiling fyrox-sound v0.29.0 (/Users/andrew/workbench/souce/rust/Fyrox/fyrox-sound) Compiling rapier2d v0.15.0 Compiling rapier3d v0.15.0 Compiling fyrox v0.28.0 (/Users/andrew/workbench/souce/rust/Fyrox) Compiling station_iapetus v0.4.0 (/Users/andrew/workbench/souce/rust/StationIapetus/game) error[E0308]: mismatched types --> game/src/door/mod.rs:392:48 | 392 | first_surface.set_material(Arc::new(Mutex::new(material))); | ------------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct SharedMaterial , found struct Arc |
---|---|---|---|
arguments to this function are incorrect | |||
= note: expected struct `SharedMaterial`
found struct `Arc<fyrox::fyrox_core::parking_lot::lock_api::Mutex<fyrox::fyrox_core::parking_lot::RawMutex, Material>>`
note: associated function defined here --> /Users/andrew/workbench/souce/rust/Fyrox/src/scene/mesh/surface.rs:1100:12 | 1100 | pub fn set_material(&mut self, material: SharedMaterial) { | ^^^^^^^^^^^^
error[E0308]: mismatched types --> game/src/elevator/call_button.rs:80:48 | 80 | first_surface.set_material(Arc::new(Mutex::new(material))); | ------------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct SharedMaterial , found struct Arc |
---|---|---|---|
arguments to this function are incorrect | |||
= note: expected struct `SharedMaterial`
found struct `Arc<fyrox::fyrox_core::parking_lot::lock_api::Mutex<fyrox::fyrox_core::parking_lot::RawMutex, Material>>`
note: associated function defined here --> /Users/andrew/workbench/souce/rust/Fyrox/src/scene/mesh/surface.rs:1100:12 | 1100 | pub fn set_material(&mut self, material: SharedMaterial) { | ^^^^^^^^^^^^
error[E0308]: mismatched types --> game/src/weapon/sight.rs:89:49 | 89 | .with_surfaces(vec![SurfaceBuilder::new(Arc::new(Mutex::new( | ____-------------------^ |
---|---|---|---|
arguments to this function are incorrect | |||
90 | SurfaceData::make_cylinder( | ||
91 | 6, | ||
92 | 1.0, | ||
... | |||
97 | ), | ||
98 | ))) | ||
__^ expected struct SurfaceSharedData , found struct Arc |
|||
= note: expected struct `SurfaceSharedData`
found struct `Arc<fyrox::fyrox_core::parking_lot::lock_api::Mutex<fyrox::fyrox_core::parking_lot::RawMutex, SurfaceData>>`
note: associated function defined here --> /Users/andrew/workbench/souce/rust/Fyrox/src/scene/mesh/surface.rs:1120:12 | 1120 | pub fn new(data: SurfaceSharedData) -> Self { | ^^^
error[E0308]: mismatched types --> game/src/weapon/sight.rs:99:24 | 99 | .with_material(Arc::new(Mutex::new({ | __-------------_^ |
---|---|---|---|
arguments to this function are incorrect | |||
100 | let mut material = Material::standard(); | ||
101 | Log::verify(material.set_property( | ||
102 | &ImmutableString::new("diffuseColor"), | ||
... | |||
105 | material | ||
106 | }))) | ||
___^ expected struct SharedMaterial , found struct Arc |
|||
= note: expected struct `SharedMaterial`
found struct `Arc<fyrox::fyrox_core::parking_lot::lock_api::Mutex<fyrox::fyrox_core::parking_lot::RawMutex, Material>>`
note: associated function defined here --> /Users/andrew/workbench/souce/rust/Fyrox/src/scene/mesh/surface.rs:1129:12 | 1129 | pub fn with_material(mut self, material: SharedMaterial) -> Self { | ^^^^^^^^^^^^^
error[E0308]: mismatched types --> game/src/weapon/mod.rs:395:57 | 395 | .with_surfaces(vec![SurfaceBuilder::new(Arc::new(Mutex::new( | ____-------------------^ |
---|---|---|---|
arguments to this function are incorrect | |||
396 | SurfaceData::make_cylinder( | ||
397 | 6, | ||
398 | 1.0, | ||
... | |||
403 | ), | ||
404 | ))) | ||
__^ expected struct SurfaceSharedData , found struct Arc |
|||
= note: expected struct `SurfaceSharedData`
found struct `Arc<fyrox::fyrox_core::parking_lot::lock_api::Mutex<fyrox::fyrox_core::parking_lot::RawMutex, SurfaceData>>`
note: associated function defined here --> /Users/andrew/workbench/souce/rust/Fyrox/src/scene/mesh/surface.rs:1120:12 | 1120 | pub fn new(data: SurfaceSharedData) -> Self { | ^^^
error[E0308]: mismatched types --> game/src/weapon/mod.rs:405:32 | 405 | .with_material(Arc::new(Mutex::new({ | __-------------_^ |
---|---|---|---|
arguments to this function are incorrect | |||
406 | let mut material = Material::standard(); | ||
407 | Log::verify(material.set_property( | ||
408 | &ImmutableString::new("diffuseColor"), | ||
... | |||
411 | material | ||
412 | }))) | ||
___^ expected struct SharedMaterial , found struct Arc |
|||
= note: expected struct `SharedMaterial`
found struct `Arc<fyrox::fyrox_core::parking_lot::lock_api::Mutex<fyrox::fyrox_core::parking_lot::RawMutex, Material>>`
note: associated function defined here --> /Users/andrew/workbench/souce/rust/Fyrox/src/scene/mesh/surface.rs:1129:12 | 1129 | pub fn with_material(mut self, material: SharedMaterial) -> Self { | ^^^^^^^^^^^^^
For more information about this error, try rustc --explain E0308
.
error: could not compile station_iapetus
due to 6 previous errors
warning: build failed, waiting for other jobs to finish...