Skip to content

bug: 0.53.2 raised the MSRV to 1.83 #6178

@LDeakin

Description

@LDeakin

Describe the bug

#6154 uses std::io::ErrorKind::NotADirectory which is not stable until 1.83.

https://doc.rust-lang.org/stable/std/io/enum.ErrorKind.html#variant.NotADirectory

Compiling opendal v0.53.2
error[E0658]: use of unstable library feature 'io_error_more'
   --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/opendal-0.[53](https://github.com/zarrs/zarrs/actions/runs/15008583441/job/42172924740#step:7:54).2/src/services/fs/backend.rs:378:21
    |
378 |                     std::io::ErrorKind::NotADirectory => Ok((RpList::default(), None)),
    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: see issue #86442 <https://github.com/rust-lang/rust/issues/86442> for more information

Steps to Reproduce

Build with Rust < 1.83 with services-fs feature

Expected Behavior

Build success

Additional Context

No response

Are you willing to submit a PR to fix this bug?

  • Yes, I would like to submit a PR.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingrustPull requests that update Rust code

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions