What was checked, and how
An appendix to the milestone.
Verified firsthand, on a fresh shallow clone of nifeos/nife at 137639a3 and a copy of the
crate standing alone with a literal manifest (rust-version = "1.87", license = "MIT OR Apache-2.0", the three template lints inline):
- In the tree, with the pinned nightly:
cargo test -p address_space_layout, 6 unit tests and 1 documentation test, all green. - Standing alone, the test target does not compile:
include_str!("../../user_mode_runtime/link.ld")has nothing to read. With that one test removed, on stable 1.99.1: 5 unit tests and 1 documentation test green,cargo clippy --all-targets -D warningsclean on the host and onaarch64-unknown-none-softfloat,riscv64imac-unknown-none-elfandx86_64-unknown-none,cargo docclean with-D rustdoc::broken_intra_doc_links -D rustdoc::invalid_html_tags. - Rust 1.88 builds and tests the copy. Rust 1.85 refuses it:
u64::is_multiple_ofis unstable there (unsigned_is_multiple_of). That it stabilized in 1.87 is from memory and unverified; no 1.86 or 1.87 toolchain was on the machine. - Kani 0.68.0, the version the template pins: 9 harnesses, 9 verified, 0 failures. The run prints five future-incompatibility warnings from the crate's own source (item 10).
- The template's helpers over the copy:
standalone.pyrefuses it on nine counts (items 3, 4, 5).falsify.py --checkrefuses all nine harness records (item 2).spelled_out.pyrefuses 9 names (item 6).question_shape.pyrefuses 1 (item 6).register_names.pyrefuses 5 harness names, every one a false positive (item 13).unit_symbols.py,british_spelling.py,unsafe_scan.py,comment_blocks.py,file_length.py,function_length.pyandorphan_modules.pypass. - The recorded mutation census (
notes/project-metrics/mutation-census.csv, its newest row and the weekly series): 45 mutants, 23 caught, 1 missed, 21 unviable. The one survivor ischeck_image's>to>=, triaged equivalent; readingcheck_imageconfirms it (item 11). This review ran no census. - Every caller in nife: 26 manifests depend on the crate by path, and the tree names its items at
281 sites. The most-used items are
pair_page(196),IMAGE_BASE(42),PAGE(23),STACK_TOP_PAGE(20),service_window(15),VERSIONandINTERFACE_ID(15 each),runtime_window(11). Nothing outside the crate readsBANDS. - FreeBSD's
sys/amd64/include/vmparam.hand Linux'sarch/x86/include/asm/elf.handpage_64_types.hat their current heads, for the prior-art box. Download figures from the crates.io API.
Inferred from reading, not run: the behavior of the template's proofs / falsify job on the rewritten patches (item 2). Also inferred: whether cargo xtask std-src resolves a git dependency when it generates memory_region_heap's core into std (the move section).
Not run: a mutation census (outside its window), cargo semver-checks (no release to compare),
Miri (the crate has no unsafe), the template's prose and README gates (there is no README yet).