Modern-Apps.git
Publicgit clone https://git.maproj.org/Modern-Apps.gitModern-Apps.git / analysis_build_err.txt
analysis_build_err.txt400 lines · 20.6 KiBRaw
| 1 | warning: profiles for the non root package will be ignored, specify profiles at the workspace root: |
| 2 | package: C:\Users\Vayun\Documents\code\Modern-Apps\astronomy\src\main\rust\Cargo.toml |
| 3 | workspace: C:\Users\Vayun\Documents\code\Modern-Apps\Cargo.toml |
| 4 | warning: profiles for the non root package will be ignored, specify profiles at the workspace root: |
| 5 | package: C:\Users\Vayun\Documents\code\Modern-Apps\photos\src\main\rust\Cargo.toml |
| 6 | workspace: C:\Users\Vayun\Documents\code\Modern-Apps\Cargo.toml |
| 7 | warning: profiles for the non root package will be ignored, specify profiles at the workspace root: |
| 8 | package: C:\Users\Vayun\Documents\code\Modern-Apps\office\src\main\rust\Cargo.toml |
| 9 | workspace: C:\Users\Vayun\Documents\code\Modern-Apps\Cargo.toml |
| 10 | warning: profiles for the non root package will be ignored, specify profiles at the workspace root: |
| 11 | package: C:\Users\Vayun\Documents\code\Modern-Apps\weather\src\main\rust\Cargo.toml |
| 12 | workspace: C:\Users\Vayun\Documents\code\Modern-Apps\Cargo.toml |
| 13 | warning: profiles for the non root package will be ignored, specify profiles at the workspace root: |
| 14 | package: C:\Users\Vayun\Documents\code\Modern-Apps\pdf\src\main\rust\Cargo.toml |
| 15 | workspace: C:\Users\Vayun\Documents\code\Modern-Apps\Cargo.toml |
| 16 | warning: profiles for the non root package will be ignored, specify profiles at the workspace root: |
| 17 | package: C:\Users\Vayun\Documents\code\Modern-Apps\camera\src\main\rust\Cargo.toml |
| 18 | workspace: C:\Users\Vayun\Documents\code\Modern-Apps\Cargo.toml |
| 19 | warning: profiles for the non root package will be ignored, specify profiles at the workspace root: |
| 20 | package: C:\Users\Vayun\Documents\code\Modern-Apps\maps\src\main\rust\Cargo.toml |
| 21 | workspace: C:\Users\Vayun\Documents\code\Modern-Apps\Cargo.toml |
| 22 | warning: profiles for the non root package will be ignored, specify profiles at the workspace root: |
| 23 | package: C:\Users\Vayun\Documents\code\Modern-Apps\networklocation\src\main\rust\Cargo.toml |
| 24 | workspace: C:\Users\Vayun\Documents\code\Modern-Apps\Cargo.toml |
| 25 | warning: profiles for the non root package will be ignored, specify profiles at the workspace root: |
| 26 | package: C:\Users\Vayun\Documents\code\Modern-Apps\euicc\src\main\rust\Cargo.toml |
| 27 | workspace: C:\Users\Vayun\Documents\code\Modern-Apps\Cargo.toml |
| 28 | warning: profiles for the non root package will be ignored, specify profiles at the workspace root: |
| 29 | package: C:\Users\Vayun\Documents\code\Modern-Apps\passwords\src\main\rust\Cargo.toml |
| 30 | workspace: C:\Users\Vayun\Documents\code\Modern-Apps\Cargo.toml |
| 31 | warning: profiles for the non root package will be ignored, specify profiles at the workspace root: |
| 32 | package: C:\Users\Vayun\Documents\code\Modern-Apps\vpn\src\main\rust\Cargo.toml |
| 33 | workspace: C:\Users\Vayun\Documents\code\Modern-Apps\Cargo.toml |
| 34 | warning: profiles for the non root package will be ignored, specify profiles at the workspace root: |
| 35 | package: C:\Users\Vayun\Documents\code\Modern-Apps\library\e2ee-p2p\src\main\rust\Cargo.toml |
| 36 | workspace: C:\Users\Vayun\Documents\code\Modern-Apps\Cargo.toml |
| 37 | warning: profiles for the non root package will be ignored, specify profiles at the workspace root: |
| 38 | package: C:\Users\Vayun\Documents\code\Modern-Apps\measure\src\main\rust\Cargo.toml |
| 39 | workspace: C:\Users\Vayun\Documents\code\Modern-Apps\Cargo.toml |
| 40 | warning: profiles for the non root package will be ignored, specify profiles at the workspace root: |
| 41 | package: C:\Users\Vayun\Documents\code\Modern-Apps\communicate\src\main\rust\Cargo.toml |
| 42 | workspace: C:\Users\Vayun\Documents\code\Modern-Apps\Cargo.toml |
| 43 | warning: profiles for the non root package will be ignored, specify profiles at the workspace root: |
| 44 | package: C:\Users\Vayun\Documents\code\Modern-Apps\youpipe\src\main\rust\Cargo.toml |
| 45 | workspace: C:\Users\Vayun\Documents\code\Modern-Apps\Cargo.toml |
| 46 | warning: profiles for the non root package will be ignored, specify profiles at the workspace root: |
| 47 | package: C:\Users\Vayun\Documents\code\Modern-Apps\share\src\main\rust\Cargo.toml |
| 48 | workspace: C:\Users\Vayun\Documents\code\Modern-Apps\Cargo.toml |
| 49 | warning: C:\Users\Vayun\Documents\code\Modern-Apps\third_party\betocore\crypto_provider_rustcrypto\Cargo.toml: `default-features` is ignored for rand, since `default-features` was not specified for `workspace.dependencies.rand`, this could become a hard error in the future |
| 50 | Checking ml_vulkan v0.1.0 (C:\Users\Vayun\Documents\code\Modern-Apps\library\ml\src\main\rust) |
| 51 | error[E0432]: unresolved import `ash` |
| 52 | --> library\ml\src\main\rust\src\device.rs:29:5 |
| 53 | | |
| 54 | 29 | use ash::{Entry, vk}; |
| 55 | | ^^^ use of unresolved module or unlinked crate `ash` |
| 56 | | |
| 57 | = help: if you wanted to use a crate named `ash`, use `cargo add ash` to add it to your `Cargo.toml` |
| 58 | |
| 59 | error[E0432]: unresolved import `super::vulkan_session::KvCache` |
| 60 | --> library\ml\src\main\rust\src\jni_bridge.rs:61:41 |
| 61 | | |
| 62 | 61 | use super::vulkan_session::{GpuSession, KvCache}; |
| 63 | | ^^^^^^^ no `KvCache` in `vulkan_session` |
| 64 | |
| 65 | error[E0433]: cannot find `GpuTensor` in `onnx_vulkan` |
| 66 | --> library\ml\src\main\rust\src\vulkan_session.rs:101:49 |
| 67 | | |
| 68 | 101 | inputs.into_iter().map(onnx_vulkan::GpuTensor::from).collect(); |
| 69 | | ^^^^^^^^^ could not find `GpuTensor` in `onnx_vulkan` |
| 70 | | |
| 71 | help: an enum with a similar name exists |
| 72 | | |
| 73 | 101 - inputs.into_iter().map(onnx_vulkan::GpuTensor::from).collect(); |
| 74 | 101 + inputs.into_iter().map(onnx_vulkan::Tensor::from).collect(); |
| 75 | | |
| 76 | |
| 77 | error[E0425]: cannot find type `GpuTensor` in crate `onnx_vulkan` |
| 78 | --> library\ml\src\main\rust\src\vulkan_session.rs:100:42 |
| 79 | | |
| 80 | 100 | let gpu_inputs: Vec<onnx_vulkan::GpuTensor> = |
| 81 | | ^^^^^^^^^ |
| 82 | | |
| 83 | ::: C:\Users\Vayun\.cargo\git\checkouts\onnx-vulkan-rs-91074aa5a2270394\c3aa968\crates\onnx-vulkan-core\src\device.rs:36:1 |
| 84 | | |
| 85 | 36 | pub enum Tensor<'a> { |
| 86 | | ------------------- similarly named enum `Tensor` defined here |
| 87 | | |
| 88 | help: an enum with a similar name exists |
| 89 | | |
| 90 | 100 - let gpu_inputs: Vec<onnx_vulkan::GpuTensor> = |
| 91 | 100 + let gpu_inputs: Vec<onnx_vulkan::Tensor> = |
| 92 | | |
| 93 | |
| 94 | error[E0425]: cannot find function `probe_json` in module `probe` |
| 95 | --> library\ml\src\main\rust\src\jni_bridge.rs:165:47 |
| 96 | | |
| 97 | 165 | jstring_or_null(&mut env, Some(probe::probe_json())) |
| 98 | | ^^^^^^^^^^ not found in `probe` |
| 99 | |
| 100 | error[E0308]: mismatched types |
| 101 | --> library\ml\src\main\rust\src\vulkan_session.rs:66:60 |
| 102 | | |
| 103 | 66 | onnx_vulkan::Error::Load(msg) => VulcanError::Load(msg), |
| 104 | | ----------------- ^^^ expected `String`, found `Error` |
| 105 | | | |
| 106 | | arguments to this enum variant are incorrect |
| 107 | | |
| 108 | note: tuple variant defined here |
| 109 | --> library\ml\src\main\rust\src\vulkan_session.rs:25:5 |
| 110 | | |
| 111 | 25 | Load(String), |
| 112 | | ^^^^ |
| 113 | help: try using a conversion method |
| 114 | | |
| 115 | 66 | onnx_vulkan::Error::Load(msg) => VulcanError::Load(msg.to_string()), |
| 116 | | ++++++++++++ |
| 117 | |
| 118 | error[E0599]: no associated function or constant named `from_bytes` found for struct `Session` in the current scope |
| 119 | --> library\ml\src\main\rust\src\vulkan_session.rs:81:45 |
| 120 | | |
| 121 | 81 | let session = onnx_vulkan::Session::from_bytes(bytes, base_dir).map_err(map_native_error)?; |
| 122 | | ^^^^^^^^^^ associated function or constant not found in `Session` |
| 123 | | |
| 124 | note: if you're trying to build a new `Session` consider using one of the following associated functions: |
| 125 | Session::load |
| 126 | Session::load_from_bytes |
| 127 | --> C:\Users\Vayun\.cargo\git\checkouts\onnx-vulkan-rs-91074aa5a2270394\c3aa968\crates\onnx-vulkan\src\lib.rs:147:5 |
| 128 | | |
| 129 | 147 | pub fn load(path: impl AsRef<Path>) -> Result<Self> { |
| 130 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 131 | ... |
| 132 | 154 | pub fn load_from_bytes(bytes: &[u8], base_dir: Option<&Path>) -> Result<Self> { |
| 133 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 134 | help: there is an associated function `load_from_bytes` with a similar name |
| 135 | | |
| 136 | 81 | let session = onnx_vulkan::Session::load_from_bytes(bytes, base_dir).map_err(map_native_error)?; |
| 137 | | +++++ |
| 138 | |
| 139 | error[E0599]: the method `into_iter` exists for struct `Run<'_>`, but its trait bounds were not satisfied |
| 140 | --> library\ml\src\main\rust\src\vulkan_session.rs:104:14 |
| 141 | | |
| 142 | 103 | / gpu_outputs |
| 143 | 104 | | .into_iter() |
| 144 | | | -^^^^^^^^^ method cannot be called on `Run<'_>` due to unsatisfied trait bounds |
| 145 | | |_____________| |
| 146 | | |
| 147 | | |
| 148 | ::: C:\Users\Vayun\.cargo\git\checkouts\onnx-vulkan-rs-91074aa5a2270394\c3aa968\crates\onnx-vulkan\src\lib.rs:726:1 |
| 149 | | |
| 150 | 726 | pub struct Run<'a> { |
| 151 | | ------------------ doesn't satisfy `Run<'_>: IntoIterator` or `Run<'_>: Iterator` |
| 152 | | |
| 153 | = note: the following trait bounds were not satisfied: |
| 154 | `Run<'_>: Iterator` |
| 155 | which is required by `Run<'_>: IntoIterator` |
| 156 | `&Run<'_>: Iterator` |
| 157 | which is required by `&Run<'_>: IntoIterator` |
| 158 | `&mut Run<'_>: Iterator` |
| 159 | which is required by `&mut Run<'_>: IntoIterator` |
| 160 | |
| 161 | error[E0277]: the trait bound `VulcanError: From<Infallible>` is not satisfied |
| 162 | --> library\ml\src\main\rust\src\vulkan_session.rs:105:27 |
| 163 | | |
| 164 | 105 | .map(|tensor| HostTensor::try_from(tensor).map_err(VulcanError::from)) |
| 165 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound |
| 166 | | |
| 167 | help: the trait `From<Infallible>` is not implemented for `VulcanError` |
| 168 | but trait `From<TensorError>` is implemented for it |
| 169 | --> library\ml\src\main\rust\src\vulkan_session.rs:37:14 |
| 170 | | |
| 171 | 37 | Tensor(#[from] TensorError), |
| 172 | | ^^^^ |
| 173 | = help: for that trait implementation, expected `TensorError`, found `Infallible` |
| 174 | |
| 175 | error[E0277]: the trait bound `VulcanError: From<Infallible>` is not satisfied |
| 176 | --> library\ml\src\main\rust\src\vulkan_session.rs:105:64 |
| 177 | | |
| 178 | 105 | .map(|tensor| HostTensor::try_from(tensor).map_err(VulcanError::from)) |
| 179 | | ^^^^^^^^^^^ unsatisfied trait bound |
| 180 | | |
| 181 | help: the trait `From<Infallible>` is not implemented for `VulcanError` |
| 182 | but trait `From<TensorError>` is implemented for it |
| 183 | --> library\ml\src\main\rust\src\vulkan_session.rs:37:14 |
| 184 | | |
| 185 | 37 | Tensor(#[from] TensorError), |
| 186 | | ^^^^ |
| 187 | = help: for that trait implementation, expected `TensorError`, found `Infallible` |
| 188 | |
| 189 | error[E0599]: no method named `plan_stats` found for reference `&Session` in the current scope |
| 190 | --> library\ml\src\main\rust\src\vulkan_session.rs:115:78 |
| 191 | | |
| 192 | 115 | Some(session) => format!("key={} plan={}", self.key, session.plan_stats()), |
| 193 | | ^^^^^^^^^^ method not found in `&Session` |
| 194 | |
| 195 | error[E0061]: this function takes 2 arguments but 0 arguments were supplied |
| 196 | --> library\ml\src\main\rust\src\vulkan_session.rs:151:20 |
| 197 | | |
| 198 | 151 | cache: onnx_vulkan::KvCache::new(), |
| 199 | | ^^^^^^^^^^^^^^^^^^^^^^^^^-- two arguments of type `&Session` and `usize` are missing |
| 200 | | |
| 201 | note: associated function defined here |
| 202 | --> C:\Users\Vayun\.cargo\git\checkouts\onnx-vulkan-rs-91074aa5a2270394\c3aa968\crates\onnx-vulkan\src\lib.rs:634:12 |
| 203 | | |
| 204 | 634 | pub fn new(session: &Session, max_seq_len: usize) -> Result<Self> { |
| 205 | | ^^^ |
| 206 | help: provide the arguments |
| 207 | | |
| 208 | 151 | cache: onnx_vulkan::KvCache::new(/* &Session */, /* usize */), |
| 209 | | +++++++++++++++++++++++++++ |
| 210 | |
| 211 | error[E0308]: mismatched types |
| 212 | --> library\ml\src\main\rust\src\vulkan_session.rs:151:20 |
| 213 | | |
| 214 | 151 | cache: onnx_vulkan::KvCache::new(), |
| 215 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `KvCache`, found `Result<KvCache, Error>` |
| 216 | | |
| 217 | = note: expected struct `KvCache` |
| 218 | found enum `Result<KvCache, onnx_vulkan::Error>` |
| 219 | help: consider using `Result::expect` to unwrap the `Result<KvCache, onnx_vulkan::Error>` value, panicking if the value is a `Result::Err` |
| 220 | | |
| 221 | 151 | cache: onnx_vulkan::KvCache::new().expect("REASON"), |
| 222 | | +++++++++++++++++ |
| 223 | |
| 224 | error[E0308]: mismatched types |
| 225 | --> library\ml\src\main\rust\src\jni_bridge.rs:78:20 |
| 226 | | |
| 227 | 78 | env.get_string(value) |
| 228 | | ---------- ^^^^^ expected `&JString<'_>`, found `JString<'_>` |
| 229 | | | |
| 230 | | arguments to this method are incorrect |
| 231 | | |
| 232 | note: method defined here |
| 233 | --> C:\Users\Vayun\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\jni-0.21.1\src\wrapper\jnienv.rs:1629:12 |
| 234 | | |
| 235 | 1629 | pub fn get_string<'other_local: 'obj_ref, 'obj_ref>( |
| 236 | | ^^^^^^^^^^ |
| 237 | help: consider borrowing here |
| 238 | | |
| 239 | 78 | env.get_string(&value) |
| 240 | | + |
| 241 | |
| 242 | error[E0061]: this function takes 3 arguments but 2 arguments were supplied |
| 243 | --> library\ml\src\main\rust\src\jni_bridge.rs:184:15 |
| 244 | | |
| 245 | 184 | match GpuSession::load(&bytes, &tag) { |
| 246 | | ^^^^^^^^^^^^^^^^ ---- argument #2 of type `Option<&str>` is missing |
| 247 | | |
| 248 | note: associated function defined here |
| 249 | --> library\ml\src\main\rust\src\vulkan_session.rs:80:12 |
| 250 | | |
| 251 | 80 | pub fn load(bytes: &[u8], base_dir: Option<&str>, key: &str) -> Result<Self, VulcanError> { |
| 252 | | ^^^^ ---------------------- |
| 253 | help: provide the argument |
| 254 | | |
| 255 | 184 | match GpuSession::load(&bytes, /* Option<&str> */, &tag) { |
| 256 | | +++++++++++++++++++ |
| 257 | |
| 258 | error[E0599]: no associated function or constant named `preflight` found for struct `GpuSession` in the current scope |
| 259 | --> library\ml\src\main\rust\src\jni_bridge.rs:204:41 |
| 260 | | |
| 261 | 204 | let summary = match GpuSession::preflight(&bytes) { |
| 262 | | ^^^^^^^^^ associated function or constant not found in `GpuSession` |
| 263 | | |
| 264 | ::: library\ml\src\main\rust\src\vulkan_session.rs:52:1 |
| 265 | | |
| 266 | 52 | pub struct GpuSession { |
| 267 | | --------------------- associated function or constant `preflight` not found for this struct |
| 268 | | |
| 269 | note: if you're trying to build a new `GpuSession`, consider using `GpuSession::load` which returns `Result<GpuSession, VulcanError>` |
| 270 | --> library\ml\src\main\rust\src\vulkan_session.rs:80:5 |
| 271 | | |
| 272 | 80 | pub fn load(bytes: &[u8], base_dir: Option<&str>, key: &str) -> Result<Self, VulcanError> { |
| 273 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 274 | |
| 275 | error[E0599]: no associated function or constant named `load_path` found for struct `GpuSession` in the current scope |
| 276 | --> library\ml\src\main\rust\src\jni_bridge.rs:224:27 |
| 277 | | |
| 278 | 224 | match GpuSession::load_path(&path) { |
| 279 | | ^^^^^^^^^ associated function or constant not found in `GpuSession` |
| 280 | | |
| 281 | ::: library\ml\src\main\rust\src\vulkan_session.rs:52:1 |
| 282 | | |
| 283 | 52 | pub struct GpuSession { |
| 284 | | --------------------- associated function or constant `load_path` not found for this struct |
| 285 | | |
| 286 | note: if you're trying to build a new `GpuSession`, consider using `GpuSession::load` which returns `Result<GpuSession, VulcanError>` |
| 287 | --> library\ml\src\main\rust\src\vulkan_session.rs:80:5 |
| 288 | | |
| 289 | 80 | pub fn load(bytes: &[u8], base_dir: Option<&str>, key: &str) -> Result<Self, VulcanError> { |
| 290 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 291 | |
| 292 | error[E0308]: mismatched types |
| 293 | --> library\ml\src\main\rust\src\jni_bridge.rs:263:71 |
| 294 | | |
| 295 | 263 | let output = with_session(handle, None, |session| session.run(&input).ok()); |
| 296 | | --- ^^^^^^ expected `Vec<HostTensor>`, found `&Vec<u8>` |
| 297 | | | |
| 298 | | arguments to this method are incorrect |
| 299 | | |
| 300 | = note: expected struct `Vec<tensors::HostTensor>` |
| 301 | found reference `&Vec<u8>` |
| 302 | note: method defined here |
| 303 | --> library\ml\src\main\rust\src\vulkan_session.rs:92:12 |
| 304 | | |
| 305 | 92 | pub fn run(&self, inputs: Vec<HostTensor>) -> Result<Vec<HostTensor>, VulcanError> { |
| 306 | | ^^^ ----------------------- |
| 307 | |
| 308 | error[E0308]: mismatched types |
| 309 | --> library\ml\src\main\rust\src\jni_bridge.rs:264:34 |
| 310 | | |
| 311 | 264 | jbytes_or_null(&mut env, output) |
| 312 | | -------------- ^^^^^^ expected `Option<Vec<u8>>`, found `Option<Vec<HostTensor>>` |
| 313 | | | |
| 314 | | arguments to this function are incorrect |
| 315 | | |
| 316 | = note: expected enum `Option<Vec<u8>>` |
| 317 | found enum `Option<Vec<tensors::HostTensor>>` |
| 318 | note: function defined here |
| 319 | --> library\ml\src\main\rust\src\jni_bridge.rs:97:4 |
| 320 | | |
| 321 | 97 | fn jbytes_or_null(env: &mut JNIEnv, data: Option<Vec<u8>>) -> jbyteArray { |
| 322 | | ^^^^^^^^^^^^^^ --------------------- |
| 323 | |
| 324 | error[E0599]: no method named `output_shapes_json` found for mutable reference `&mut GpuSession` in the current scope |
| 325 | --> library\ml\src\main\rust\src\jni_bridge.rs:278:26 |
| 326 | | |
| 327 | 278 | Some(session.output_shapes_json()) |
| 328 | | ^^^^^^^^^^^^^^^^^^ method not found in `&mut GpuSession` |
| 329 | |
| 330 | error[E0599]: no method named `output_names_json` found for mutable reference `&mut GpuSession` in the current scope |
| 331 | --> library\ml\src\main\rust\src\jni_bridge.rs:293:70 |
| 332 | | |
| 333 | 293 | let json = with_session(handle, None, |session| Some(session.output_names_json())); |
| 334 | | ^^^^^^^^^^^^^^^^^ method not found in `&mut GpuSession` |
| 335 | |
| 336 | error[E0599]: no method named `create_kv` found for mutable reference `&mut GpuSession` in the current scope |
| 337 | --> library\ml\src\main\rust\src\jni_bridge.rs:310:27 |
| 338 | | |
| 339 | 310 | match session.create_kv(max_tokens) { |
| 340 | | ^^^^^^^^^ method not found in `&mut GpuSession` |
| 341 | |
| 342 | error[E0433]: cannot find module or crate `ash` in this scope |
| 343 | --> library\ml\src\main\rust\src\device.rs:142:16 |
| 344 | | |
| 345 | 142 | instance: &ash::Instance, |
| 346 | | ^^^ use of unresolved module or unlinked crate `ash` |
| 347 | | |
| 348 | = help: if you wanted to use a crate named `ash`, use `cargo add ash` to add it to your `Cargo.toml` |
| 349 | |
| 350 | error[E0433]: cannot find module or crate `ash` in this scope |
| 351 | --> library\ml\src\main\rust\src\device.rs:165:16 |
| 352 | | |
| 353 | 165 | instance: &ash::Instance, |
| 354 | | ^^^ use of unresolved module or unlinked crate `ash` |
| 355 | | |
| 356 | = help: if you wanted to use a crate named `ash`, use `cargo add ash` to add it to your `Cargo.toml` |
| 357 | |
| 358 | error[E0433]: cannot find module or crate `ash` in this scope |
| 359 | --> library\ml\src\main\rust\src\device.rs:194:45 |
| 360 | | |
| 361 | 194 | fn create_instance(entry: &Entry) -> Result<ash::Instance, DeviceError> { |
| 362 | | ^^^ use of unresolved module or unlinked crate `ash` |
| 363 | | |
| 364 | = help: if you wanted to use a crate named `ash`, use `cargo add ash` to add it to your `Cargo.toml` |
| 365 | |
| 366 | error[E0433]: cannot find module or crate `ash` in this scope |
| 367 | --> library\ml\src\main\rust\src\device.rs:207:16 |
| 368 | | |
| 369 | 207 | instance: &ash::Instance, |
| 370 | | ^^^ use of unresolved module or unlinked crate `ash` |
| 371 | | |
| 372 | = help: if you wanted to use a crate named `ash`, use `cargo add ash` to add it to your `Cargo.toml` |
| 373 | |
| 374 | error[E0433]: cannot find module or crate `ash` in this scope |
| 375 | --> library\ml\src\main\rust\src\device.rs:249:15 |
| 376 | | |
| 377 | 249 | instance: ash::Instance, |
| 378 | | ^^^ use of unresolved module or unlinked crate `ash` |
| 379 | | |
| 380 | = help: if you wanted to use a crate named `ash`, use `cargo add ash` to add it to your `Cargo.toml` |
| 381 | |
| 382 | error[E0433]: cannot find module or crate `ash` in this scope |
| 383 | --> library\ml\src\main\rust\src\device.rs:251:14 |
| 384 | | |
| 385 | 251 | logical: ash::Device, |
| 386 | | ^^^ use of unresolved module or unlinked crate `ash` |
| 387 | | |
| 388 | = help: if you wanted to use a crate named `ash`, use `cargo add ash` to add it to your `Cargo.toml` |
| 389 | |
| 390 | error[E0433]: cannot find module or crate `ash` in this scope |
| 391 | --> library\ml\src\main\rust\src\device.rs:260:37 |
| 392 | | |
| 393 | 260 | pub const fn logical(&self) -> &ash::Device { |
| 394 | | ^^^ use of unresolved module or unlinked crate `ash` |
| 395 | | |
| 396 | = help: if you wanted to use a crate named `ash`, use `cargo add ash` to add it to your `Cargo.toml` |
| 397 | |
| 398 | Some errors have detailed explanations: E0061, E0277, E0308, E0425, E0432, E0433, E0599. |
| 399 | For more information about an error, try `rustc --explain E0061`. |
| 400 | error: could not compile `ml_vulkan` (lib) due to 29 previous errors |