-
Notifications
You must be signed in to change notification settings - Fork 195
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
Red lines on try launch. Dont know what this things mean.
cargo run --bin view --release
[2023-04-28 00:56:59][kajiya_backend::rust_shader_compiler][ERROR] Failed to build Rust-GPU shaders. Falling back to the previously compiled ones. Error: Shader builder failed:
Compiling rustc_codegen_spirv v0.4.0-alpha.12 (https://github.com/EmbarkStudios/rust-gpu?rev=b692ab5afc7fbdb4599b42ab3e0328dc7e8e0e97#b692ab5a)
error[E0463]: can't find crate for `rustc_ast`
--> C:\Users\nikit\.cargo\git\checkouts\rust-gpu-e0a37a82a46176e6\b692ab5\crates\rustc_codegen_spirv\src\lib.rs:111:1 |
111 | extern crate rustc_ast;
| ^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
|
= help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview`
error[E0463]: can't find crate for `rustc_attr`
--> C:\Users\nikit\.cargo\git\checkouts\rust-gpu-e0a37a82a46176e6\b692ab5\crates\rustc_codegen_spirv\src\lib.rs:112:1 |
112 | extern crate rustc_attr;
| ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
|
= help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview`
error[E0463]: can't find crate for `rustc_codegen_ssa`
--> C:\Users\nikit\.cargo\git\checkouts\rust-gpu-e0a37a82a46176e6\b692ab5\crates\rustc_codegen_spirv\src\lib.rs:113:1 |
113 | extern crate rustc_codegen_ssa;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
|
= help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview`
error[E0463]: can't find crate for `rustc_data_structures`
--> C:\Users\nikit\.cargo\git\checkouts\rust-gpu-e0a37a82a46176e6\b692ab5\crates\rustc_codegen_spirv\src\lib.rs:114:1 |
114 | extern crate rustc_data_structures;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
|
= help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview`
error[E0463]: can't find crate for `rustc_driver`
--> C:\Users\nikit\.cargo\git\checkouts\rust-gpu-e0a37a82a46176e6\b692ab5\crates\rustc_codegen_spirv\src\lib.rs:115:1 |
115 | extern crate rustc_driver;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
|
= help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview`
error[E0463]: can't find crate for `rustc_errors`
--> C:\Users\nikit\.cargo\git\checkouts\rust-gpu-e0a37a82a46176e6\b692ab5\crates\rustc_codegen_spirv\src\lib.rs:116:1 |
116 | extern crate rustc_errors;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
|
= help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview`
error[E0463]: can't find crate for `rustc_hir`
--> C:\Users\nikit\.cargo\git\checkouts\rust-gpu-e0a37a82a46176e6\b692ab5\crates\rustc_codegen_spirv\src\lib.rs:117:1 |
117 | extern crate rustc_hir;
| ^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
|
= help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview`
error[E0463]: can't find crate for `rustc_index`
--> C:\Users\nikit\.cargo\git\checkouts\rust-gpu-e0a37a82a46176e6\b692ab5\crates\rustc_codegen_spirv\src\lib.rs:118:1 |
118 | extern crate rustc_index;
| ^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
|
= help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview`
error[E0463]: can't find crate for `rustc_interface`
--> C:\Users\nikit\.cargo\git\checkouts\rust-gpu-e0a37a82a46176e6\b692ab5\crates\rustc_codegen_spirv\src\lib.rs:119:1 |
119 | extern crate rustc_interface;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
|
= help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview`
error[E0463]: can't find crate for `rustc_middle`
--> C:\Users\nikit\.cargo\git\checkouts\rust-gpu-e0a37a82a46176e6\b692ab5\crates\rustc_codegen_spirv\src\lib.rs:120:1 |
120 | extern crate rustc_middle;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
|
= help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview`
error[E0463]: can't find crate for `rustc_session`
--> C:\Users\nikit\.cargo\git\checkouts\rust-gpu-e0a37a82a46176e6\b692ab5\crates\rustc_codegen_spirv\src\lib.rs:121:1 |
121 | extern crate rustc_session;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
|
= help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview`
error[E0463]: can't find crate for `rustc_span`
--> C:\Users\nikit\.cargo\git\checkouts\rust-gpu-e0a37a82a46176e6\b692ab5\crates\rustc_codegen_spirv\src\lib.rs:122:1 |
122 | extern crate rustc_span;
| ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
|
= help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview`
error[E0463]: can't find crate for `rustc_target`
--> C:\Users\nikit\.cargo\git\checkouts\rust-gpu-e0a37a82a46176e6\b692ab5\crates\rustc_codegen_spirv\src\lib.rs:123:1 |
123 | extern crate rustc_target;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
|
= help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview`
error[E0432]: unresolved imports `std::lazy`, `IntPredicate::*`, `RealPredicate::*`, `AtomicRmwBinOp::*`
--> C:\Users\nikit\.cargo\git\checkouts\rust-gpu-e0a37a82a46176e6\b692ab5\crates\rustc_codegen_spirv\src\builder\builder_methods.rs:1432:13
|
1432 | use IntPredicate::*;
| ^^^^^^^^^^^^^^^
...
1634 | use RealPredicate::*;
| ^^^^^^^^^^^^^^^^
...
2001 | use AtomicRmwBinOp::*;
| ^^^^^^^^^^^^^^^^^
|
::: C:\Users\nikit\.cargo\git\checkouts\rust-gpu-e0a37a82a46176e6\b692ab5\crates\rustc_codegen_spirv\src\spirv_type.rs:15:10
|
15 | use std::lazy::SyncLazy;
| ^^^^ could not find `lazy` in `std`
error: cannot determine resolution for the macro `bug`
--> C:\Users\nikit\.cargo\git\checkouts\rust-gpu-e0a37a82a46176e6\b692ab5\crates\rustc_codegen_spirv\src\abi.rs:84:33
|
84 | Entry::Vacant(_) => bug!("RecursivePointeeCache::end should always have entry"),
| ^^^
|
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro `bug`
--> C:\Users\nikit\.cargo\git\checkouts\rust-gpu-e0a37a82a46176e6\b692ab5\crates\rustc_codegen_spirv\src\abi.rs:106:21
|
106 | bug!("RecursivePointeeCache::end defined pointer twice")
| ^^^
|
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro `bug`
--> C:\Users\nikit\.cargo\git\checkouts\rust-gpu-e0a37a82a46176e6\b692ab5\crates\rustc_codegen_spirv\src\abi.rs:398:18
|
398 | other => bug!("scalar_pair_element_backend_type invalid abi: {:?}", other),
| ^^^
|
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro `bug`
--> C:\Users\nikit\.cargo\git\checkouts\rust-gpu-e0a37a82a46176e6\b692ab5\crates\rustc_codegen_spirv\src\abi.rs:475:18
|
475 | _ => bug!("Pointer is not `&T`, `*T` or `fn` pointer: {:#?}", layout),
| ^^^
|
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro `bug`
--> C:\Users\nikit\.cargo\git\checkouts\rust-gpu-e0a37a82a46176e6\b692ab5\crates\rustc_codegen_spirv\src\abi.rs:517:9 |
517 | bug!(
| ^^^
|
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro `bug`
--> C:\Users\nikit\.cargo\git\checkouts\rust-gpu-e0a37a82a46176e6\b692ab5\crates\rustc_codegen_spirv\src\abi.rs:527:35
|
527 | FieldsShape::Primitive => bug!(
| ^^^
|
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro `bug`
--> C:\Users\nikit\.cargo\git\checkouts\rust-gpu-e0a37a82a46176e6\b692ab5\crates\rustc_codegen_spirv\src\abi.rs:632:17
|
632 | bug!("Variants::Multiple not TyKind::Adt");
| ^^^
|
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro `bug`
--> C:\Users\nikit\.cargo\git\checkouts\rust-gpu-e0a37a82a46176e6\b692ab5\crates\rustc_codegen_spirv\src\builder\builder_methods.rs:2169:22
|
2169 | _ => bug!(
| ^^^
|
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro `bug`
--> C:\Users\nikit\.cargo\git\checkouts\rust-gpu-e0a37a82a46176e6\b692ab5\crates\rustc_codegen_spirv\src\builder\builder_methods.rs:2175:18
|
2175 | _ => bug!(
| ^^^
|
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro `bug`
--> C:\Users\nikit\.cargo\git\checkouts\rust-gpu-e0a37a82a46176e6\b692ab5\crates\rustc_codegen_spirv\src\builder\builder_methods.rs:2188:17
|
2188 | bug!(
| ^^^
|
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro `bug`
--> C:\Users\nikit\.cargo\git\checkouts\rust-gpu-e0a37a82a46176e6\b692ab5\crates\rustc_codegen_spirv\src\builder\intrinsics.rs:37:22
|
37 | other => bug!(
| ^^^
|
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro `bug`
--> C:\Users\nikit\.cargo\git\checkouts\rust-gpu-e0a37a82a46176e6\b692ab5\crates\rustc_codegen_spirv\src\builder\intrinsics.rs:52:18
|
52 | _ => bug!("copysign must have width 32 or 64, not {}", width),
| ^^^
|
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro `bug`
--> C:\Users\nikit\.cargo\git\checkouts\rust-gpu-e0a37a82a46176e6\b692ab5\crates\rustc_codegen_spirv\src\builder\intrinsics.rs:76:18
|
76 | _ => bug!("expected fn item type, found {}", callee_ty),
| ^^^
|
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro `bug`
--> C:\Users\nikit\.cargo\git\checkouts\rust-gpu-e0a37a82a46176e6\b692ab5\crates\rustc_codegen_spirv\src\builder\spirv_asm.rs:1055:17
|
1055 | bug!("should be handled by parse_operands");
| ^^^
|
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro `bug`
--> C:\Users\nikit\.cargo\git\checkouts\rust-gpu-e0a37a82a46176e6\b692ab5\crates\rustc_codegen_spirv\src\builder\spirv_asm.rs:1354:35
|
1354 | Token::Word(_) => bug!(),
| ^^^
|
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro `bug`
--> C:\Users\nikit\.cargo\git\checkouts\rust-gpu-e0a37a82a46176e6\b692ab5\crates\rustc_codegen_spirv\src\builder_spirv.rs:76:35
|
76 | ... ty => bug!("load called on value that wasn't a pointer: {:?}", ty),
| ^^^
|
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro `bug`
--> C:\Users\nikit\.cargo\git\checkouts\rust-gpu-e0a37a82a46176e6\b692ab5\crates\rustc_codegen_spirv\src\builder_spirv.rs:466:9
|
466 | bug!("Function not found: {}", id);
| ^^^
|
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro `bug`
--> C:\Users\nikit\.cargo\git\checkouts\rust-gpu-e0a37a82a46176e6\b692ab5\crates\rustc_codegen_spirv\src\builder_spirv.rs:699:9
|
699 | bug!("Block not found: {}", id);
| ^^^
|
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro `bug`
--> C:\Users\nikit\.cargo\git\checkouts\rust-gpu-e0a37a82a46176e6\b692ab5\crates\rustc_codegen_spirv\src\codegen_cx\constant.rs:418:47
|
418 | unsupported_spirv_type => bug!(
| ^^^
|
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro `bug`
--> C:\Users\nikit\.cargo\git\checkouts\rust-gpu-e0a37a82a46176e6\b692ab5\crates\rustc_codegen_spirv\src\codegen_cx\declare.rs:68:22
|
68 | other => bug!("fn_abi type {}", other.debug(function_type, self)),
| ^^^
|
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro `bug`
--> C:\Users\nikit\.cargo\git\checkouts\rust-gpu-e0a37a82a46176e6\b692ab5\crates\rustc_codegen_spirv\src\codegen_cx\declare.rs:286:22
|
286 | _ => bug!(),
| ^^^
|
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro `span_bug`
--> C:\Users\nikit\.cargo\git\checkouts\rust-gpu-e0a37a82a46176e6\b692ab5\crates\rustc_codegen_spirv\src\codegen_cx\type_.rs:24:13
|
24 | span_bug!(span, "failed to get layout for `{}`: {}", ty, err)
| ^^^^^^^^
|
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro `span_bug`
--> C:\Users\nikit\.cargo\git\checkouts\rust-gpu-e0a37a82a46176e6\b692ab5\crates\rustc_codegen_spirv\src\codegen_cx\type_.rs:44:21
|
44 | span_bug!(
| ^^^^^^^^
|
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro `span_bug`
--> C:\Users\nikit\.cargo\git\checkouts\rust-gpu-e0a37a82a46176e6\b692ab5\crates\rustc_codegen_spirv\src\codegen_cx\type_.rs:56:21
|
56 | span_bug!(
| ^^^^^^^^
|
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro `bug`
--> C:\Users\nikit\.cargo\git\checkouts\rust-gpu-e0a37a82a46176e6\b692ab5\crates\rustc_codegen_spirv\src\codegen_cx\type_.rs:112:17
|
112 | bug!("backend_field_index({:?}): not applicable", layout);
| ^^^
|
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro `bug`
--> C:\Users\nikit\.cargo\git\checkouts\rust-gpu-e0a37a82a46176e6\b692ab5\crates\rustc_codegen_spirv\src\codegen_cx\type_.rs:118:17
|
118 | bug!("backend_field_index({:?}): not applicable", layout)
| ^^^
|
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro `bug`
--> C:\Users\nikit\.cargo\git\checkouts\rust-gpu-e0a37a82a46176e6\b692ab5\crates\rustc_codegen_spirv\src\link.rs:43:13 |
43 | bug!(
| ^^^
|
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro `bug`
--> C:\Users\nikit\.cargo\git\checkouts\rust-gpu-e0a37a82a46176e6\b692ab5\crates\rustc_codegen_spirv\src\link.rs:540:13
|
540 | bug!("Linker errored, but no error reported")
| ^^^
|
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro `bug`
--> C:\Users\nikit\.cargo\git\checkouts\rust-gpu-e0a37a82a46176e6\b692ab5\crates\rustc_codegen_spirv\src\link.rs:558:13
|
558 | bug!("TODO: Implement whatever the heck this is");
| ^^^
|
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro `bug`
--> C:\Users\nikit\.cargo\git\checkouts\rust-gpu-e0a37a82a46176e6\b692ab5\crates\rustc_codegen_spirv\src\linker\duplicates.rs:161:30
|
161 | _ => bug!(),
| ^^^
|
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro `bug`
--> C:\Users\nikit\.cargo\git\checkouts\rust-gpu-e0a37a82a46176e6\b692ab5\crates\rustc_codegen_spirv\src\linker\peephole_opts.rs:32:22
|
32 | _ => bug!(),
| ^^^
|
= note: import resolution is stuck, try simplifying macro imports
error[E0554]: `#![feature]` may not be used on the stable release channel
--> C:\Users\nikit\.cargo\git\checkouts\rust-gpu-e0a37a82a46176e6\b692ab5\crates\rustc_codegen_spirv\src\lib.rs:18:1
|
18 | #![feature(rustc_private)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
error[E0554]: `#![feature]` may not be used on the stable release channel
--> C:\Users\nikit\.cargo\git\checkouts\rust-gpu-e0a37a82a46176e6\b692ab5\crates\rustc_codegen_spirv\src\lib.rs:19:1
|
19 | #![feature(assert_matches)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
error[E0554]: `#![feature]` may not be used on the stable release channel
--> C:\Users\nikit\.cargo\git\checkouts\rust-gpu-e0a37a82a46176e6\b692ab5\crates\rustc_codegen_spirv\src\lib.rs:20:1
|
20 | #![feature(once_cell)]
| ^^^^^^^^^^^^^^^^^^^^^^
error[E0554]: `#![feature]` may not be used on the stable release channel
--> C:\Users\nikit\.cargo\git\checkouts\rust-gpu-e0a37a82a46176e6\b692ab5\crates\rustc_codegen_spirv\src\lib.rs:19:12
|
19 | #![feature(assert_matches)]
| ^^^^^^^^^^^^^^
error[E0554]: `#![feature]` may not be used on the stable release channel
--> C:\Users\nikit\.cargo\git\checkouts\rust-gpu-e0a37a82a46176e6\b692ab5\crates\rustc_codegen_spirv\src\lib.rs:20:12
|
20 | #![feature(once_cell)]
| ^^^^^^^^^
Some errors have detailed explanations: E0432, E0463, E0554.
For more information about an error, try `rustc --explain E0432`.
error: could not compile `rustc_codegen_spirv` due to 50 previous errors
To Reproduce
Steps to reproduce the behavior:
Dont know.
Expected behavior
Program run with no errors.
Device:
- OS: Win 10
Additional context
Arturo-Intel and krupitskas
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
