Skip to content

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

Closed

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

Activity

  1. yoshuawuyts commented on Sep 23, 2020

    @yoshuawuyts
    Contributor

    Thanks for the report! This appears to be a regression on nightly, see rust-lang/rust#77089 -- for now I recommend pinning to an earlier nightly as we wait on this to be resolved in the stdlib.

  2. tompro commented on Sep 23, 2020

    @tompro

    This currently also breaks docs.rs builds:
    https://docs.rs/crate/redis_ts/0.2.0

  3. Fishrock123 commented on Sep 23, 2020

    @Fishrock123
    Member

    This is causing issues in downstream CI: http-rs/http-client#45, http-rs/surf#234

  4. jplatte commented on Sep 24, 2020

    @jplatte

    Fixed in latest Nightly, via rust-lang/rust#77090.

  5. jerry73204 commented on Oct 3, 2020

    @jerry73204
    ContributorAuthor

    It is resolved in recent nightly. It's time to close this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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