From e3abec2927bd61a2faa4c01bcf2244c1011128e4 Mon Sep 17 00:00:00 2001 From: peony Date: Sun, 1 Dec 2024 13:36:12 +0100 Subject: [PATCH] Errorrr --- sysdata/programs/ps2_driver/error.:3 | 99 ++++++++++++++++++++++++++++ 1 file changed, 99 insertions(+) create mode 100644 sysdata/programs/ps2_driver/error.:3 diff --git a/sysdata/programs/ps2_driver/error.:3 b/sysdata/programs/ps2_driver/error.:3 new file mode 100644 index 00000000..4c16a448 --- /dev/null +++ b/sysdata/programs/ps2_driver/error.:3 @@ -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) { + | ^^^^^^^^^^^^^^^^^^^^^^ expected `Option`, found `(usize, Option)` + | + = note: expected signature `fn(&addr::VirtAddr, &addr::VirtAddr) -> Option` + found signature `fn(&addr::VirtAddr, &addr::VirtAddr) -> (usize, Option)` +help: change the output type to match the trait + | +387 | fn steps_between(start: &Self, end: &Self) -> Option { + | ~~~~~~~~~~~~~ + + 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) { + | ^^^^^^^^^^^^^^^^^^^^^^ expected `Option`, found `(usize, Option)` + | + = note: expected signature `fn(&Page<_>, &Page<_>) -> Option` + found signature `fn(&Page<_>, &Page<_>) -> (usize, Option)` +help: change the output type to match the trait + | +284 | fn steps_between(start: &Self, end: &Self) -> Option { + | ~~~~~~~~~~~~~ + + 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) { + | ^^^^^^^^^^^^^^^^^^^^^^ expected `Option`, found `(usize, Option)` + | + = note: expected signature `fn(&addr::VirtAddr, &addr::VirtAddr) -> Option` + found signature `fn(&addr::VirtAddr, &addr::VirtAddr) -> (usize, Option)` +help: change the output type to match the trait + | +406 | fn steps_between(start: &Self, end: &Self) -> Option { + | ~~~~~~~~~~~~~ + +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) { + | ^^^^^^^^^^^^^^^^^^^^^^ expected `Option`, found `(usize, Option)` + | + = note: expected signature `fn(&page::Page<_>, &page::Page<_>) -> Option` + found signature `fn(&page::Page<_>, &page::Page<_>) -> (usize, Option)` +help: change the output type to match the trait + | +307 | fn steps_between(start: &Self, end: &Self) -> Option { + | ~~~~~~~~~~~~~ + +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) { + | ^^^^^^^^^^^^^^^^^^^^^^ expected `Option`, found `(usize, Option)` + | + = note: expected signature `fn(&PageTableIndex, &PageTableIndex) -> Option` + found signature `fn(&PageTableIndex, &PageTableIndex) -> (usize, Option)` +help: change the output type to match the trait + | +356 | fn steps_between(start: &Self, end: &Self) -> Option { + | ~~~~~~~~~~~~~ + +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) { + | ---------------------- expected `(usize, Option)` because of return type +357 | Step::steps_between(&start.0, &end.0) + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `(usize, Option)`, found `Option` + | + = note: expected tuple `(usize, Option)` + found enum `Option` + +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 \ No newline at end of file