1
0
Fork 0
forked from AbleOS/ableos
This commit is contained in:
peony 2024-12-01 13:36:12 +01:00
parent b3d07b5235
commit e3abec2927

View file

@ -0,0 +1,99 @@
Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.11s
Running `target/debug/repbuild r -r -d --noaccel`
Compiling x86_64 v0.14.13
Compiling crossbeam-queue v0.3.11
Compiling uart_16550 v0.3.2
Compiling derive_more v1.0.0
Compiling spin v0.9.8
Compiling hbvm v0.1.0 (https://git.ablecorp.us/AbleOS/holey-bytes.git#cf672beb)
error[E0053]: method `steps_between` has an incompatible type for trait
--> /home/meOwO/.cargo/registry/src/index.crates.io-6f17d22bba15001f/x86_64-0.14.13/src/addr.rs:387:51
|
387 | fn steps_between(start: &Self, end: &Self) -> (usize, Option<usize>) {
| ^^^^^^^^^^^^^^^^^^^^^^ expected `Option<usize>`, found `(usize, Option<usize>)`
|
= note: expected signature `fn(&addr::VirtAddr, &addr::VirtAddr) -> Option<usize>`
found signature `fn(&addr::VirtAddr, &addr::VirtAddr) -> (usize, Option<usize>)`
help: change the output type to match the trait
|
387 | fn steps_between(start: &Self, end: &Self) -> Option<usize> {
| ~~~~~~~~~~~~~
Compiling slab v0.4.9
error[E0053]: method `steps_between` has an incompatible type for trait
--> /home/meOwO/.cargo/registry/src/index.crates.io-6f17d22bba15001f/x86_64-0.14.13/src/structures/paging/page.rs:284:51
|
284 | fn steps_between(start: &Self, end: &Self) -> (usize, Option<usize>) {
| ^^^^^^^^^^^^^^^^^^^^^^ expected `Option<usize>`, found `(usize, Option<usize>)`
|
= note: expected signature `fn(&Page<_>, &Page<_>) -> Option<usize>`
found signature `fn(&Page<_>, &Page<_>) -> (usize, Option<usize>)`
help: change the output type to match the trait
|
284 | fn steps_between(start: &Self, end: &Self) -> Option<usize> {
| ~~~~~~~~~~~~~
Compiling xml v0.1.0 (https://git.ablecorp.us/ableos/ableos_userland#6c38f2b2)
Compiling versioning v0.1.3 (https://git.ablecorp.us/ableos/ableos_userland#6c38f2b2)
Compiling x86_64 v0.15.2
Compiling ktest_macro v0.1.0 (/home/meOwO/peo-able/kernel/ktest_macro)
Compiling limine v0.1.12
Compiling log v0.4.22
error[E0053]: method `steps_between` has an incompatible type for trait
--> /home/meOwO/.cargo/registry/src/index.crates.io-6f17d22bba15001f/x86_64-0.15.2/src/addr.rs:406:51
|
406 | fn steps_between(start: &Self, end: &Self) -> (usize, Option<usize>) {
| ^^^^^^^^^^^^^^^^^^^^^^ expected `Option<usize>`, found `(usize, Option<usize>)`
|
= note: expected signature `fn(&addr::VirtAddr, &addr::VirtAddr) -> Option<usize>`
found signature `fn(&addr::VirtAddr, &addr::VirtAddr) -> (usize, Option<usize>)`
help: change the output type to match the trait
|
406 | fn steps_between(start: &Self, end: &Self) -> Option<usize> {
| ~~~~~~~~~~~~~
For more information about this error, try `rustc --explain E0053`.
error: could not compile `x86_64` (lib) due to 2 previous errors
warning: build failed, waiting for other jobs to finish...
error[E0053]: method `steps_between` has an incompatible type for trait
--> /home/meOwO/.cargo/registry/src/index.crates.io-6f17d22bba15001f/x86_64-0.15.2/src/structures/paging/page.rs:307:51
|
307 | fn steps_between(start: &Self, end: &Self) -> (usize, Option<usize>) {
| ^^^^^^^^^^^^^^^^^^^^^^ expected `Option<usize>`, found `(usize, Option<usize>)`
|
= note: expected signature `fn(&page::Page<_>, &page::Page<_>) -> Option<usize>`
found signature `fn(&page::Page<_>, &page::Page<_>) -> (usize, Option<usize>)`
help: change the output type to match the trait
|
307 | fn steps_between(start: &Self, end: &Self) -> Option<usize> {
| ~~~~~~~~~~~~~
error[E0053]: method `steps_between` has an incompatible type for trait
--> /home/meOwO/.cargo/registry/src/index.crates.io-6f17d22bba15001f/x86_64-0.15.2/src/structures/paging/page_table.rs:356:51
|
356 | fn steps_between(start: &Self, end: &Self) -> (usize, Option<usize>) {
| ^^^^^^^^^^^^^^^^^^^^^^ expected `Option<usize>`, found `(usize, Option<usize>)`
|
= note: expected signature `fn(&PageTableIndex, &PageTableIndex) -> Option<usize>`
found signature `fn(&PageTableIndex, &PageTableIndex) -> (usize, Option<usize>)`
help: change the output type to match the trait
|
356 | fn steps_between(start: &Self, end: &Self) -> Option<usize> {
| ~~~~~~~~~~~~~
error[E0308]: mismatched types
--> /home/meOwO/.cargo/registry/src/index.crates.io-6f17d22bba15001f/x86_64-0.15.2/src/structures/paging/page_table.rs:357:9
|
356 | fn steps_between(start: &Self, end: &Self) -> (usize, Option<usize>) {
| ---------------------- expected `(usize, Option<usize>)` because of return type
357 | Step::steps_between(&start.0, &end.0)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `(usize, Option<usize>)`, found `Option<usize>`
|
= note: expected tuple `(usize, Option<usize>)`
found enum `Option<usize>`
Some errors have detailed explanations: E0053, E0308.
For more information about an error, try `rustc --explain E0053`.
error: could not compile `x86_64` (lib) due to 4 previous errors
Error: Failed to build the kernel
╰╴at repbuild/src/main.rs:369:41