Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation fails #67

Closed
hunger opened this issue Feb 5, 2022 · 3 comments
Closed

Compilation fails #67

hunger opened this issue Feb 5, 2022 · 3 comments

Comments

@hunger
Copy link

hunger commented Feb 5, 2022

Compilation fails with a nightly compiler:

   Compiling oursh v0.4.3
error[E0599]: no function or associated item named `with_options` found for struct `std::fs::File` in the current scope
   --> /home/dev/.cargo/registry/src/github.com-1ecc6299db9ec823/oursh-0.4.3/src/program/posix/mod.rs:220:46
    |
220 | ...                   let file = File::with_options()
    |                                        ^^^^^^^^^^^^ function or associated item not found in `std::fs::File`

error[E0599]: no function or associated item named `with_options` found for struct `std::fs::File` in the current scope
   --> /home/dev/.cargo/registry/src/github.com-1ecc6299db9ec823/oursh-0.4.3/src/program/posix/mod.rs:229:46
    |
229 | ...                   let file = File::with_options()
    |                                        ^^^^^^^^^^^^ function or associated item not found in `std::fs::File`

error[E0599]: no function or associated item named `with_options` found for struct `std::fs::File` in the current scope
   --> /home/dev/.cargo/registry/src/github.com-1ecc6299db9ec823/oursh-0.4.3/src/program/posix/mod.rs:238:46
    |
238 | ...                   let file = File::with_options()
    |                                        ^^^^^^^^^^^^ function or associated item not found in `std::fs::File`

For more information about this error, try `rustc --explain E0599`.
error: failed to compile `oursh v0.4.3`, intermediate artifacts can be found at `/home/dev/.cache/tmp/cargo-installDjSFLz`

Caused by:
  could not compile `oursh` due to 3 previous errors
@nixpulvis
Copy link
Owner

Hmmmm, this should be a really small fix. But there seems like there might be another bug here too...

@nixpulvis
Copy link
Owner

🥱

Closed with 41978f5.

@nixpulvis
Copy link
Owner

FWIW, the other bug is related to #26.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants