File assembly fails host and native builds #12

Open
opened 2026-10-24 16:06:53 +02:00 by erikinkinen · 0 comments
Owner

Summary

The local FAT32 image-assembly changes fail host and native compilation. Strict Clippy also rejects the sector-alignment predicate. These failures prevent building the new image commands.

Reproduction

Against the prepared FAT32 source and its matching dependency selections, run:

cargo clippy --all-targets -- -D warnings -D clippy::all
cargo build --all-targets
cargo build --all-targets --all-features

The failures were observed in separate fresh default and all-feature operations. No image or guest operation was reached.

Expected and actual behavior

The prepared command should build in the supported host and native configurations with strict linting. Actual diagnostics are:

  • manual_is_multiple_of at src/fat32.rs:312 for the sector-alignment remainder test.
  • E0425/E0433 at src/native/backend/assembly.rs:60,70 because ReadOwner is not imported.
  • E0277 in src/output/assembly.rs because io::Error::other receives OutputError, which lacks the error trait implementation required by that conversion.

Environment and identity

Observed on x86_64 Linux with Rust/Cargo 1.97.1, using the signed local FAT32 implementation and its explicit source graph. Default and all-feature host targets are affected; native assembly is selected by the native runtime feature. The source changes are not yet published. No earlier working version of this new assembly path is established.

Evidence and prior checks

The complete original compiler and Clippy stderr and native retirement outcomes are retained. Authored-target and formatting checks pass independently. Each failed command has a positively retired owner; no compiler success, image acceptance or repeated run is inferred.

Tracking

Related to FAT32 image creation, typed ext4 population and Phase 6 completion.

  • Fix the alignment lint and native read-owner import.
  • Preserve the typed output error through the host I/O conversion.
  • Complete the affected strict host/native builds with the corrected source.
## Summary The local FAT32 image-assembly changes fail host and native compilation. Strict Clippy also rejects the sector-alignment predicate. These failures prevent building the new image commands. ## Reproduction Against the prepared FAT32 source and its matching dependency selections, run: ```sh cargo clippy --all-targets -- -D warnings -D clippy::all cargo build --all-targets cargo build --all-targets --all-features ``` The failures were observed in separate fresh default and all-feature operations. No image or guest operation was reached. ## Expected and actual behavior The prepared command should build in the supported host and native configurations with strict linting. Actual diagnostics are: - `manual_is_multiple_of` at `src/fat32.rs:312` for the sector-alignment remainder test. - `E0425`/`E0433` at `src/native/backend/assembly.rs:60,70` because `ReadOwner` is not imported. - `E0277` in `src/output/assembly.rs` because `io::Error::other` receives `OutputError`, which lacks the error trait implementation required by that conversion. ## Environment and identity Observed on x86_64 Linux with Rust/Cargo 1.97.1, using the signed local FAT32 implementation and its explicit source graph. Default and all-feature host targets are affected; native assembly is selected by the native runtime feature. The source changes are not yet published. No earlier working version of this new assembly path is established. ## Evidence and prior checks The complete original compiler and Clippy stderr and native retirement outcomes are retained. Authored-target and formatting checks pass independently. Each failed command has a positively retired owner; no compiler success, image acceptance or repeated run is inferred. ## Tracking Related to [FAT32 image creation](https://git.erikinkinen.fi/erix/boot-tool/issues/9), [typed ext4 population](https://git.erikinkinen.fi/erix/boot-tool/issues/11) and [Phase 6 completion](https://git.erikinkinen.fi/erix/integration/issues/65). - [ ] Fix the alignment lint and native read-owner import. - [ ] Preserve the typed output error through the host I/O conversion. - [ ] Complete the affected strict host/native builds with the corrected source.
erikinkinen added this to the Alpha 1 milestone 2026-10-30 09:33:34 +01:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
erix/boot-tool#12
No description provided.