In recent of Rust compiler (2026-07-09), if we compile this crate, it will report this error:
Checking x86_64 v0.15.4
error[E0046]: not all trait items implemented, missing: `forward_overflowing`, `backward_overflowing`
--> /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/x86_64-0.15.4/src/addr.rs:474:1
|
474 | impl Step for VirtAddr {
| ^^^^^^^^^^^^^^^^^^^^^^ missing `forward_overflowing`, `backward_overflowing` in implementation
|
= help: implement the missing item: `fn forward_overflowing(_: Self, _: usize) -> (Self, bool) { todo!() }`
= help: implement the missing item: `fn backward_overflowing(_: Self, _: usize) -> (Self, bool) { todo!() }`
error[E0046]: not all trait items implemented, missing: `forward_overflowing`, `backward_overflowing`
--> /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/x86_64-0.15.4/src/structures/paging/page.rs:306:1
|
306 | impl<S: PageSize> Step for Page<S> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `forward_overflowing`, `backward_overflowing` in implementation
|
= help: implement the missing item: `fn forward_overflowing(_: Self, _: usize) -> (Self, bool) { todo!() }`
= help: implement the missing item: `fn backward_overflowing(_: Self, _: usize) -> (Self, bool) { todo!() }`
error[E0046]: not all trait items implemented, missing: `forward_overflowing`, `backward_overflowing`
--> /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/x86_64-0.15.4/src/structures/paging/page_table.rs:374:1
|
374 | impl Step for PageTableIndex {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `forward_overflowing`, `backward_overflowing` in implementation
|
= help: implement the missing item: `fn forward_overflowing(_: Self, _: usize) -> (Self, bool) { todo!() }`
= help: implement the missing item: `fn backward_overflowing(_: Self, _: usize) -> (Self, bool) { todo!() }`
Yes, a compile error. So that means i cannot compile this correctly in the latest compiler.
I checked the error, and looked up the official docs, the latest nightly added 2 required methods, which are called forward_overflowing and backward_overflowing, and current version doesn't adapt it.
Current worked version: 2026-07-07
That is critical. please fix this as quickly as possible.
In recent of Rust compiler (2026-07-09), if we compile this crate, it will report this error:
Yes, a compile error. So that means i cannot compile this correctly in the latest compiler.
I checked the error, and looked up the official docs, the latest nightly added 2 required methods, which are called
forward_overflowingandbackward_overflowing, and current version doesn't adapt it.Current worked version: 2026-07-07
That is critical. please fix this as quickly as possible.