Skip to content

Not compiling with nightly-2020-09-22-x86_64-unknown-linux-gnu #883

Closed
@jerry73204

Description

@jerry73204

async-std does not compile with recent nightly toolchain (nightly-2020-09-22-x86_64-unknown-linux-gnu, to be exact). I personally downgrade the toolchain by rustup default nightly-2020-09-21 to resolve this issue.

   --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/async-std-1.6.4/src/fs/open_options.rs:303:5
    |
303 |     impl OpenOptionsExt for OpenOptions {
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `as_flags` in implementation
    |
    = help: implement the missing item: `fn as_flags(&self) -> std::result::Result<i32, futures_io::Error> { todo!() }`

error: aborting due to previous error

For more information about this error, try `rustc --explain E0046`.
error: could not compile `async-std`

To learn more, run the command again with --verbose.
warning: build failed, waiting for other jobs to finish...
error: build failed

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions