-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgold_master_log.txt
More file actions
181 lines (161 loc) · 11.7 KB
/
Copy pathgold_master_log.txt
File metadata and controls
181 lines (161 loc) · 11.7 KB
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
cargo : warning: profiles for the non root package will be
ignored, specify profiles at the workspace root:
At line:1 char:1
+ cargo check --manifest-path kernel/Cargo.toml >
gold_master_log.txt 2 ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~
+ CategoryInfo : NotSpecified: (warning: profil.
..workspace root::String) [], RemoteException
+ FullyQualifiedErrorId : NativeCommandError
package: D:\GitHub\AetherOS\kernel\Cargo.toml
workspace: D:\GitHub\AetherOS\Cargo.toml
Checking aetheros-kernel v10.2.0
(D:\GitHub\AetherOS\kernel)
error[E0425]: cannot find type `GpuCommand` in this scope
--> kernel\src\ui\display.rs:16:30
|
16 | ring: [UnsafeCell<Option<GpuCommand>>; 256],
| ^^^^^^^^^^ not found in
this scope
|
help: you might be missing a type parameter
|
15 | pub struct GpuCommandQueue<GpuCommand> {
| ++++++++++++
error[E0425]: cannot find type `GpuCommand` in this scope
--> kernel\src\ui\display.rs:24:45
|
24 | const EMPTY_CELL: UnsafeCell<Option<GpuCommand>>
= UnsafeCell::new(None);
| ^^^^^^^^^^
not found in this scope
|
help: you might be missing a type parameter
|
24 | const EMPTY_CELL<GpuCommand>:
UnsafeCell<Option<GpuCommand>> = UnsafeCell::new(None);
| ++++++++++++
error[E0425]: cannot find type `GpuCommand` in this scope
--> kernel\src\ui\display.rs:32:32
|
32 | pub fn enqueue(&self, cmd: GpuCommand) -> Result<(),
&'static str> {
| ^^^^^^^^^^ not found in
this scope
error[E0425]: cannot find type `GpuCommand` in this scope
--> kernel\src\ui\display.rs:83:31
|
83 | pub fn submit(&self, cmd: GpuCommand) {
| ^^^^^^^^^^ not found in
this scope
warning: unused import: `spin::Mutex`
--> kernel\src\ui\display.rs:6:5
|
6 | use spin::Mutex;
| ^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` (part of
`#[warn(unused)]`) on by default
warning: unused imports: `AtomicUsize` and `Ordering`
--> kernel\src\ui\window.rs:7:26
|
7 | use core::sync::atomic::{AtomicUsize, Ordering};
| ^^^^^^^^^^^ ^^^^^^^^
warning: unused import: `crate::net::driver::NetError`
--> kernel\src\net\mod.rs:13:5
|
13 | use crate::net::driver::NetError;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: unused imports: `PACKAGE_MANAGER`,
`PackageManifest`, and `Package`
--> kernel\src\ecosystem\store.rs:7:27
|
7 | use crate::runtime::apm::{PACKAGE_MANAGER, Package,
PackageManifest};
| ^^^^^^^^^^^^^^^ ^^^^^^^
^^^^^^^^^^^^^^^
warning: unused import: `alloc::collections::BTreeMap`
--> kernel\src\ecosystem\store.rs:8:5
|
8 | use alloc::collections::BTreeMap;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: unused import: `crate::ipc::QuantumBus`
--> kernel\src\runtime\apm.rs:10:5
|
10 | use crate::ipc::QuantumBus;
| ^^^^^^^^^^^^^^^^^^^^^^
warning: unused import: `crate::bus::quantum_bus::Device`
--> kernel\src\runtime\apm.rs:11:5
|
11 | use crate::bus::quantum_bus::Device;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: unused import: `CRYPTO_ENGINE`
--> kernel\src\runtime\browser.rs:6:31
|
6 | use crate::security::crypto::{CRYPTO_ENGINE,
SecurityLevel, QuantumSecurity};
| ^^^^^^^^^^^^^
warning: unused import: `Capability`
--> kernel\src\security\sandbox.rs:7:54
|
7 | use crate::security::capabilities::{SecurityContext,
Capability, ClearanceLevel};
|
^^^^^^^^^^
error[E0433]: cannot find type `GpuCommand` in this scope
--> kernel\src\ui\display.rs:143:27
|
143 | VIRTIO_GPU.submit(GpuCommand::Flush);
| ^^^^^^^^^^ use of undeclared
type `GpuCommand`
warning: unused variable: `packet`
--> kernel\src\net\virtio_net.rs:119:28
|
119 | fn transmit(&mut self, packet: &[u8]) ->
NetResult<()> {
| ^^^^^^ help: if this is
intentional, prefix it with an underscore: `_packet`
|
= note: `#[warn(unused_variables)]` (part of
`#[warn(unused)]`) on by default
warning: unused variable: `expected_root`
--> kernel\src\runtime\apm.rs:64:45
|
64 | fn verify_integrity(&self, data: &[u8],
expected_root: [u8; 32]) -> bool {
|
^^^^^^^^^^^^^ help: if this is intentional, prefix it with an
underscore: `_expected_root`
warning: unnecessary `unsafe` block
--> kernel\src\lib.rs:362:52
|
343 | unsafe {
| ------ because it's nested under this `unsafe` block
...
362 |
crate::drivers::video::register_driver(unsafe { &mut VGA });
|
^^^^^^ unnecessary `unsafe` block
|
= note: `#[warn(unused_unsafe)]` (part of
`#[warn(unused)]`) on by default
error[E0433]: cannot find type `GpuCommand` in this scope
--> kernel\src\ui\display.rs:129:27
|
129 | VIRTIO_GPU.submit(GpuCommand::Clear { color });
| ^^^^^^^^^^ use of undeclared
type `GpuCommand`
error[E0433]: cannot find type `GpuCommand` in this scope
--> kernel\src\ui\display.rs:139:27
|
139 | VIRTIO_GPU.submit(GpuCommand::FillRect { x, y,
w, h, color });
| ^^^^^^^^^^ use of undeclared
type `GpuCommand`
Some errors have detailed explanations: E0425, E0433.
For more information about an error, try `rustc --explain
E0425`.
warning: `aetheros-kernel` (lib) generated 12 warnings
error: could not compile `aetheros-kernel` (lib) due to 7
previous errors; 12 warnings emitted