or: could not compile `aurora-semantic` (lib) due to 25 previous errors; 11 warnings emitted
Alvan E:\VOID-EDITOR\aurora-semantic 1.92.0 33.504s 04:57:11
❯ cargo check
Checking aurora-semantic v0.1.0 (E:\VOID-EDITOR\aurora-semantic)
error[E0432]: unresolved imports `ort::GraphOptimizationLevel`, `ort::Session`
--> src\embeddings\providers.rs:27:11
|
| | |
| | no `Session` in the root
| | help: a similar name exists in the module (notice the capitalization): `session`
| no `GraphOptimizationLevel` in the root
|
= help: consider importing this enum instead:
ort::session::builder::GraphOptimizationLevel
= help: consider importing this struct instead:
ort::session::Session
error[E0432]: unresolved import `crate::search::Searcher`
--> src\search\lexical.rs:13:71
|
|
= help: consider importing one of these items instead:
std::str::pattern::Searcher
tantivy::Searcher
error[E0432]: unresolved import `crate::search::Searcher`
--> src\search\semantic.rs:11:52
|
|
= help: consider importing one of these items instead:
std::str::pattern::Searcher
tantivy::Searcher
error[E0412]: cannot find type `Tensor` in crate `ort`
--> src\embeddings\providers.rs:292:30
|
|
help: consider importing this type alias
|
23 + use ort::value::Tensor;
|
help: if you import `Tensor`, refer to it directly
|
292 - let embeddings: ort::Tensor<f32> = output_tensor
292 + let embeddings: Tensor<f32> = output_tensor
|
error[E0603]: module `pooling` is private
--> src\search\semantic.rs:9:25
|
|
note: the module `pooling` is defined here
--> src\embeddings\mod.rs:10:1
|
10 | mod pooling;
| ^^^^^^^^^^^^
warning: unused imports: `LineChunker`, `SemanticChunker`, and `SlidingWindowChunker`
--> src\chunker\mod.rs:8:22
|
|
= note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
warning: unused imports: `Array1` and `Axis`
--> src\embeddings\providers.rs:26:15
|
warning: unused import: `pooling::PoolingStrategy`
--> src\embeddings\mod.rs:13:9
|
warning: unused import: `PathBuf`
--> src\engine\mod.rs:6:23
|
warning: unused import: `Language`
--> src\storage\disk.rs:12:37
|
Some errors have detailed explanations: E0412, E0432, E0603.
For more information about an error, try `rustc --explain E0412`.
warning: `aurora-semantic` (lib) generated 5 warnings
error: could not compile `aurora-semantic` (lib) due to 5 previous errors; 5 warnings emitted
Alvan E:\VOID-EDITOR\aurora-semantic 1.92.0 735ms 04:58:26
❯