[BUG] Native Result import shadows the provider test result type #15
Labels
No labels
alpha-1
bug
ci
docs
duplicate
enhancement
help wanted
invalid
performance
phase-6
question
refactor
security
wontfix
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
erix/vfsd#15
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Vfsd's native provider test adapter imports
lib_ipc::*, bringing the one-parameter nativeResult<T>alias into scope. Itsfile_callmethod declaresResult<usize, u32>. This source type-arity mismatch prevents the existing scoped file controls from compiling as written. Explicit imports preserve the intended standard result type and provider error domain.Reproduction
At Vfsd
61c54520b2eee6c852c5c224dbe59e2673f15720, inspectsrc/acquisition_scope/file_transport.rs: its wildcard import and two-parameter result signature conflict with the alias in LibIPCsrc/error.rs, publicly exported bysrc/lib.rs. The parent test adapter imports no explicit standard Result alias. Compile the supported Vfsd unit-test target when testing is re-enabled; no compiler command or reproduction was executed for this report.Expected and actual behavior
Expected: the adapter returns the standard two-parameter result and explicitly imports the native framing it uses. Actual source: the native one-parameter alias shadows the prelude type. This is a source observation; no compiler diagnostic, exit status or runtime result is claimed.
Environment and identity
61c54520b2eee6c852c5c224dbe59e2673f15720; LibIPC:bebb7a740d1eb665e7325e5c6f3a7a0ec501032d.be7e5cbb5f1041fafa44a70df6da38e02db2ad88.Evidence and prior checks
The alias, import and signature are direct source evidence. The earlier Posixd import repair covered different files; the broader source scan now includes numeric error types. Testing, builds, lint checks and CI observation remain deferred by user instruction.
The expanded source inventory also confirms the same module-level collision in
src/acquisition_scope/creation_transport.rs,src/acquisition_scope/directory_transport.rs,src/acquisition_scope/mount_installation_tests.rs,src/acquisition_scope/namespace_parent_tests.rs,src/backend_link.rs,src/backend_mount.rs,src/handles/namespace.rs,src/mount_test_transport.rs,src/mounts/native/walk.rs,src/scope_candidate_io.rs,src/scope_directory_io.rs,src/scope_link.rs. These modules now explicitly selectcore::result::Result, while the originally reported file adapter uses explicit native imports. Existing Loaderd standard imports and function-local native globs whose enclosing signatures are outside that scope are non-defects and remain unchanged. This repair does not execute compiler or runtime validation.Tracking
Related work: original status and directories, Vfsd review, and phase completion. Close after the import repair and coherent signed publication; test execution is waived.
Original special-inode metadata — 30 September 2026
No device, socket, pipe, clock or new provider endpoint is granted.
The full status/directory item remains open for complete FAT metadata, pipe/stream status, the compatibility special-device-number field and remaining full-item integration. Both complete EriX guest generations and external Rust/LLVM rebuilding inside EriX remain required and unperformed.
Related records and contracts
erikinkinen referenced this issue from erix/posixd2026-09-30 17:11:26 +02:00
erikinkinen referenced this issue from erix/lib-posixabi2026-09-30 17:11:40 +02:00
erikinkinen referenced this issue from erix/coreutils2026-09-30 17:11:55 +02:00
erikinkinen referenced this issue from erix/docs2026-09-30 17:12:05 +02:00
erikinkinen referenced this issue from erix/e2fsd2026-09-30 17:12:32 +02:00
erikinkinen referenced this issue from erix/exsh2026-09-30 17:12:34 +02:00
erikinkinen referenced this issue from erix/extop2026-09-30 17:12:35 +02:00
erikinkinen referenced this issue from erix/fatd2026-09-30 17:12:35 +02:00
erikinkinen referenced this issue from erix/integration2026-09-30 17:12:38 +02:00
erikinkinen referenced this issue from erix/launchd2026-09-30 17:12:41 +02:00
erikinkinen referenced this issue from erix/lib-ipc2026-09-30 17:12:44 +02:00
erikinkinen referenced this issue from erix/lib-posixabi2026-09-30 17:12:45 +02:00
erikinkinen referenced this issue from erix/lib-stdio2026-09-30 17:12:46 +02:00
erikinkinen referenced this issue from erix/loaderd2026-09-30 17:12:47 +02:00
erikinkinen referenced this issue from erix/posixd2026-09-30 17:12:51 +02:00
erikinkinen referenced this issue from erix/procd2026-09-30 17:12:52 +02:00
erikinkinen referenced this issue from erix/ramfsd2026-09-30 17:12:53 +02:00
erikinkinen referenced this issue from erix/rootd2026-09-30 17:12:53 +02:00
erikinkinen referenced this issue from erix/timed2026-09-30 17:12:54 +02:00
erikinkinen referenced this issue from erix/ttyd2026-09-30 17:12:54 +02:00
erikinkinen referenced this issue2026-09-30 17:12:55 +02:00