1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
Compiling llmrust v0.1.0 (D:\halowor\llmrust)
error[E0433]: failed to resolve: use of undeclared type `Arc`
--> src\providers\ollama.rs:442:23
|
442 | let barrier = Arc::new(Barrier::new(2));
| ^^^ use of undeclared type `Arc`
|
help: consider importing one of these structs
|
409 + use crate::Arc;
|
409 + use std::sync::Arc;
|
error[E0433]: failed to resolve: use of undeclared type `Arc`
--> src\providers\ollama.rs:443:17
|
443 | let b = Arc::clone(&barrier);
| ^^^ use of undeclared type `Arc`
|
help: consider importing one of these structs
|
409 + use crate::Arc;
|
409 + use std::sync::Arc;
|
error[E0433]: failed to resolve: use of undeclared type `Arc`
--> src\providers\ollama.rs:598:24
|
598 | let provider = Arc::new(OllamaProvider::new(config));
| ^^^ use of undeclared type `Arc`
|
help: consider importing one of these structs
|
409 + use crate::Arc;
|
409 + use std::sync::Arc;
|
For more information about this error, try `rustc --explain E0433`.
error: could not compile `llmrust` (lib test) due to 3 previous errors