[BUG] Native man cannot resolve the workspace-exhaustion helper #6

Closed
opened 2026-10-24 01:05:21 +02:00 by erikinkinen · 1 comment
Owner

Summary

The native manual reader does not compile because two capacity-refusal paths
refer to a helper that is outside their module scope. This blocks Coreutils
runtime builds, including image consumers.

Reproduction

Build Coreutils at 726df3c406d9c7226e517c32d594993921564a5a with the native
runtime enabled. The hosted all-target/all-feature unit and Clippy commands,
and the freestanding runtime check and Clippy commands, each fail with E0425.
The unresolved calls are in src/runtime/execute/manual.rs.

Expected and actual behavior

Empty caller-owned read or selector storage should return the existing status 1
and workspace diagnostic before requesting file authority. Compilation instead
fails because super::workspace_exhausted is not defined in the common execute
module; the existing implementations live in sibling modules.

Environment and identity

  • Component: Coreutils 726df3c406d9c7226e517c32d594993921564a5a.
  • Affected configuration: native runtime, hosted and freestanding x86_64 builds.
  • No guest execution is needed to reproduce this compiler error.
  • The defect is in the new manual-reader implementation; no last working native
    manual-reader revision is established.

Evidence and prior checks

Four compiler commands fail at the same two unresolved references. The separate
packer, script, documentation and formatting results do not establish a runtime
build pass.

The shared helper repair
moves the existing diagnostic into the common scope and removes its duplicates.
A driver regression
covers both pre-effect capacity refusals and buffer clearing.

Tracking

Related to native man and
Coreutils PR2.

  • Share the original diagnostic without broadening its authority requirements.
  • Add controls for both pre-effect capacity refusals.
  • Complete the affected hosted and freestanding compiler checks.
## Summary The native manual reader does not compile because two capacity-refusal paths refer to a helper that is outside their module scope. This blocks Coreutils runtime builds, including image consumers. ## Reproduction Build Coreutils at `726df3c406d9c7226e517c32d594993921564a5a` with the native runtime enabled. The hosted all-target/all-feature unit and Clippy commands, and the freestanding runtime check and Clippy commands, each fail with E0425. The unresolved calls are in `src/runtime/execute/manual.rs`. ## Expected and actual behavior Empty caller-owned read or selector storage should return the existing status 1 and workspace diagnostic before requesting file authority. Compilation instead fails because `super::workspace_exhausted` is not defined in the common execute module; the existing implementations live in sibling modules. ## Environment and identity - Component: Coreutils `726df3c406d9c7226e517c32d594993921564a5a`. - Affected configuration: native runtime, hosted and freestanding x86_64 builds. - No guest execution is needed to reproduce this compiler error. - The defect is in the new manual-reader implementation; no last working native manual-reader revision is established. ## Evidence and prior checks Four compiler commands fail at the same two unresolved references. The separate packer, script, documentation and formatting results do not establish a runtime build pass. The [shared helper repair](https://git.erikinkinen.fi/erix/coreutils/commit/8f976de5190aaf4a3e5f5796b63ec38ad20c3889) moves the existing diagnostic into the common scope and removes its duplicates. A [driver regression](https://git.erikinkinen.fi/erix/coreutils/commit/6dca9fb9f1380b2fa5ed33e1c4ec343bdcbfb0b9) covers both pre-effect capacity refusals and buffer clearing. ## Tracking Related to [native man](https://git.erikinkinen.fi/erix/coreutils/issues/4) and [Coreutils PR2](https://git.erikinkinen.fi/erix/coreutils/pulls/2). - [x] Share the original diagnostic without broadening its authority requirements. - [x] Add controls for both pre-effect capacity refusals. - [x] Complete the affected hosted and freestanding compiler checks.
erikinkinen 2026-10-24 01:05:21 +02:00
Author
Owner

Fixed in 8f976de5, with both pre-effect refusal controls in 6dca9fb9. All 185 Rust tests and the affected hosted/freestanding strict checks pass. Both capacity refusals acquire no file authority, consume no input and clear their buffers. The original compiler failures remain recorded.

Fixed in [8f976de5](https://git.erikinkinen.fi/erix/coreutils/commit/8f976de5190aaf4a3e5f5796b63ec38ad20c3889), with both pre-effect refusal controls in [6dca9fb9](https://git.erikinkinen.fi/erix/coreutils/commit/6dca9fb9f1380b2fa5ed33e1c4ec343bdcbfb0b9). All 185 Rust tests and the affected hosted/freestanding strict checks pass. Both capacity refusals acquire no file authority, consume no input and clear their buffers. The original compiler failures remain recorded.
erikinkinen added this to the Alpha 1 milestone 2026-10-30 09:33:35 +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/coreutils#6
No description provided.