Not exactly sure how to write this, here goes.
Compiling x86_64 v0.15.5
Compiling uefi v0.39.0
error[E0407]: method `forward_overflowing` is not a member of trait `Step`
--> /home/r3pr/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/x86_64-0.15.5/src/addr.rs:494:5
|
494 | / fn forward_overflowing(start: Self, count: usize) -> (Self, bool) {
495 | | match Self::forward_checked(start, count) {
496 | | Some(next) => (next, false),
497 | | None => (start, true),
498 | | }
499 | | }
| |_____^ not a member of trait `Step`
error[E0407]: method `backward_overflowing` is not a member of trait `Step`
--> /home/r3pr/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/x86_64-0.15.5/src/addr.rs:506:5
|
506 | / fn backward_overflowing(start: Self, count: usize) -> (Self, bool) {
507 | | match Self::backward_checked(start, count) {
508 | | Some(next) => (next, false),
509 | | None => (start, true),
510 | | }
511 | | }
| |_____^ not a member of trait `Step`
error[E0407]: method `forward_overflowing` is not a member of trait `Step`
--> /home/r3pr/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/x86_64-0.15.5/src/structures/paging/page.rs:330:5
|
330 | / fn forward_overflowing(start: Self, count: usize) -> (Self, bool) {
331 | | match Self::forward_checked(start, count) {
332 | | Some(next) => (next, false),
333 | | None => (start, true),
334 | | }
335 | | }
| |_____^ not a member of trait `Step`
error[E0407]: method `backward_overflowing` is not a member of trait `Step`
--> /home/r3pr/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/x86_64-0.15.5/src/structures/paging/page.rs:341:5
|
341 | / fn backward_overflowing(start: Self, count: usize) -> (Self, bool) {
342 | | match Self::backward_checked(start, count) {
343 | | Some(next) => (next, false),
344 | | None => (start, true),
345 | | }
346 | | }
| |_____^ not a member of trait `Step`
error[E0407]: method `forward_overflowing` is not a member of trait `Step`
--> /home/r3pr/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/x86_64-0.15.5/src/structures/paging/page_table.rs:397:5
|
397 | / fn forward_overflowing(start: Self, count: usize) -> (Self, bool) {
398 | | match Self::forward_checked(start, count) {
399 | | Some(next) => (next, false),
400 | | None => (start, true),
401 | | }
402 | | }
| |_____^ not a member of trait `Step`
error[E0407]: method `backward_overflowing` is not a member of trait `Step`
--> /home/r3pr/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/x86_64-0.15.5/src/structures/paging/page_table.rs:409:5
|
409 | / fn backward_overflowing(start: Self, count: usize) -> (Self, bool) {
410 | | match Self::backward_checked(start, count) {
411 | | Some(next) => (next, false),
412 | | None => (start, true),
413 | | }
414 | | }
| |_____^ not a member of trait `Step`
For more information about this error, try `rustc --explain E0407`.
error: could not compile `x86_64` (lib) due to 6 previous errors
warning: build failed, waiting for other jobs to finish...
Maybe uefi and x86_64 are colliding? If you need any more information then please ask
Not exactly sure how to write this, here goes.
Cargo output
Minimal code to reproduce
src/main.rs
cargo.toml
Maybe uefi and x86_64 are colliding? If you need any more information then please ask