Skip to content

fix(fast_io): import FileReader trait for IoUringFileReader::open - #4452

Merged
oferchen merged 1 commit into
masterfrom
fix/data-reader-trait-import
May 18, 2026
Merged

oferchen merged 1 commit into
masterfrom
fix/data-reader-trait-import

Conversation

@oferchen

Copy link
Copy Markdown
Owner

Summary

Master is currently failing fmt+clippy with E0599: IoUringFileReader::open calls inner.size() on `IoUringReader` but the `FileReader` trait that provides `size()` is not imported. Every rebased PR inherits the same failure.

Fix: add `use crate::traits::FileReader;` to `crates/fast_io/src/io_uring/data_reader.rs`.

Test plan

  • `cargo fmt --all` clean
  • CI fmt+clippy passes (this is the validation)

The IUD-6 `IoUringFileReader::open` calls `inner.size()` on
`IoUringReader`, but `size()` is provided by the `FileReader` trait
which was not imported. Master CI fails fmt+clippy with E0599 on the
data_reader.rs:67 call site.

Add `use crate::traits::FileReader;` so the trait method resolves.
This is a CI-blocking fix; every PR rebased onto master inherits the
same failure.
@github-actions github-actions Bot added the bug Something isn't working label May 18, 2026
@oferchen
oferchen merged commit 8ab66e6 into master May 18, 2026
22 of 27 checks passed
@oferchen
oferchen deleted the fix/data-reader-trait-import branch May 18, 2026 02:25
oferchen added a commit that referenced this pull request May 18, 2026
)

The IUD-6 `IoUringFileReader::open` calls `inner.size()` on
`IoUringReader`, but `size()` is provided by the `FileReader` trait
which was not imported. Master CI fails fmt+clippy with E0599 on the
data_reader.rs:67 call site.

Add `use crate::traits::FileReader;` so the trait method resolves.
This is a CI-blocking fix; every PR rebased onto master inherits the
same failure.
oferchen added a commit that referenced this pull request May 18, 2026
)

The IUD-6 `IoUringFileReader::open` calls `inner.size()` on
`IoUringReader`, but `size()` is provided by the `FileReader` trait
which was not imported. Master CI fails fmt+clippy with E0599 on the
data_reader.rs:67 call site.

Add `use crate::traits::FileReader;` so the trait method resolves.
This is a CI-blocking fix; every PR rebased onto master inherits the
same failure.
oferchen added a commit that referenced this pull request Aug 24, 2026
)

The IUD-6 `IoUringFileReader::open` calls `inner.size()` on
`IoUringReader`, but `size()` is provided by the `FileReader` trait
which was not imported. Master CI fails fmt+clippy with E0599 on the
data_reader.rs:67 call site.

Add `use crate::traits::FileReader;` so the trait method resolves.
This is a CI-blocking fix; every PR rebased onto master inherits the
same failure.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant