-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathabsolute_final_log_utf8.txt
More file actions
160 lines (143 loc) · 4.92 KB
/
Copy pathabsolute_final_log_utf8.txt
File metadata and controls
160 lines (143 loc) · 4.92 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
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 >
absolute_final_log.tx ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~
+ 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)
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};
|
^^^^^^^^^^
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
warning: method `trigger_heartbeat` is never used
--> kernel\src\drivers\input\ps2.rs:167:15
|
38 | impl Ps2Keyboard {
| ---------------- method in this implementation
...
167 | unsafe fn trigger_heartbeat(&self) {
| ^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`)
on by default
warning: field `tx_queue` is never read
--> kernel\src\net\virtio_net.rs:60:5
|
55 | pub struct VirtIONet {
| --------- field in this struct
...
60 | tx_queue: Mutex<VirtQueue>,
| ^^^^^^^^
error: assigning to `&T` is undefined behavior, consider
using an `UnsafeCell`
--> kernel\src\ui\display.rs:44:18
|
43 | let ptr = (&self.ring[head as usize]) as *const
Option<GpuCommand> as *mut Option<GpuCommand>;
| ---------------------------------------
-------------------------------------------- casting happened
here
44 | unsafe { *ptr = Some(cmd); }
| ^^^^^^^^^^^^^^^^
|
= note: for more information, visit <https://doc.rust-lang.
org/book/ch15-05-interior-mutability.html>
= note: `#[deny(invalid_reference_casting)]` on by default
warning: comparison is useless due to type limits
--> kernel\src\runtime\apm.rs:67:9
|
67 | data.len() >= 0
| ^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_comparisons)]` on by default
warning: `aetheros-kernel` (lib) generated 15 warnings
error: could not compile `aetheros-kernel` (lib) due to 1
previous error; 15 warnings emitted