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

Doesn't build with current nightly #32

Open
kyrias opened this issue Sep 13, 2019 · 2 comments
Open

Doesn't build with current nightly #32

kyrias opened this issue Sep 13, 2019 · 2 comments

Comments

@kyrias
Copy link

kyrias commented Sep 13, 2019

error[E0599]: no method named `is_xid_start` found for type `char` in the current scope
   --> /home/kyrias/.cargo/registry/src/gh.neting.cc-1ecc6299db9ec823/runtime-fmt-0.3.0/src/fmt_macros.rs:422:34
    |
422 |             Some(&(pos, c)) if c.is_xid_start() => {
    |                                  ^^^^^^^^^^^^ method not found in `char`

error[E0599]: no method named `is_xid_continue` found for type `char` in the current scope
   --> /home/kyrias/.cargo/registry/src/gh.neting.cc-1ecc6299db9ec823/runtime-fmt-0.3.0/src/fmt_macros.rs:431:18
    |
431 |             if c.is_xid_continue() {
    |                  ^^^^^^^^^^^^^^^ method not found in `char`

It seems to have broken due to rust-lang/rust@27b703d. Does anyone know what the last working nightly was?

@Arkweid
Copy link

Arkweid commented Sep 16, 2019

@kyrias 1.38.0-nightly (4b65a86eb 2019-07-15) works fine

@s-a-y
Copy link

s-a-y commented May 23, 2020

I had the same issue (8 build errors)
With 1.38.0-nightly these errors seem to go away, but 6 others are still there.

error[E0106]: missing lifetime specifier
   --> /Users/dev/.cargo/registry/src/gh.neting.cc-1ecc6299db9ec823/futures-io-preview-0.3.0-alpha.19/src/lib.rs:292:28
    |
292 |             -> Poll<Result<&[u8]>>;
    |                            ^ expected lifetime parameter
    |
    = help: this function's return type contains a borrowed value, but the signature does not say which one of argument 2's 2 lifetimes it is borrowed from

error[E0106]: missing lifetime specifier
   --> /Users/dev/.cargo/registry/src/gh.neting.cc-1ecc6299db9ec823/futures-io-preview-0.3.0-alpha.19/src/lib.rs:559:32
    |
559 |                 -> Poll<Result<&[u8]>>
    |                                ^ expected lifetime parameter
...
571 |         deref_async_buf_read!();
    |         ------------------------ in this macro invocation
    |
    = help: this function's return type contains a borrowed value, but the signature does not say which one of `cx`'s 2 lifetimes it is borrowed from

error[E0106]: missing lifetime specifier
   --> /Users/dev/.cargo/registry/src/gh.neting.cc-1ecc6299db9ec823/futures-io-preview-0.3.0-alpha.19/src/lib.rs:559:32
    |
559 |                 -> Poll<Result<&[u8]>>
    |                                ^ expected lifetime parameter
...
575 |         deref_async_buf_read!();
    |         ------------------------ in this macro invocation
    |
    = help: this function's return type contains a borrowed value, but the signature does not say which one of `cx`'s 2 lifetimes it is borrowed from

error[E0106]: missing lifetime specifier
   --> /Users/dev/.cargo/registry/src/gh.neting.cc-1ecc6299db9ec823/futures-io-preview-0.3.0-alpha.19/src/lib.rs:584:28
    |
584 |             -> Poll<Result<&[u8]>>
    |                            ^ expected lifetime parameter
    |
    = help: this function's return type contains a borrowed value, but the signature does not say which one of `cx`'s 2 lifetimes it is borrowed from

error[E0106]: missing lifetime specifier
   --> /Users/dev/.cargo/registry/src/gh.neting.cc-1ecc6299db9ec823/futures-io-preview-0.3.0-alpha.19/src/lib.rs:597:32
    |
597 |                 -> Poll<Result<&[u8]>>
    |                                ^ expected lifetime parameter
...
609 |         delegate_async_buf_read_to_stdio!();
    |         ------------------------------------ in this macro invocation
    |
    = help: this function's return type contains a borrowed value, but the signature does not say which one of argument 2's 2 lifetimes it is borrowed from

error[E0106]: missing lifetime specifier
   --> /Users/dev/.cargo/registry/src/gh.neting.cc-1ecc6299db9ec823/futures-io-preview-0.3.0-alpha.19/src/lib.rs:597:32
    |
597 |                 -> Poll<Result<&[u8]>>
    |                                ^ expected lifetime parameter
...
613 |         delegate_async_buf_read_to_stdio!();
    |         ------------------------------------ in this macro invocation
    |
    = help: this function's return type contains a borrowed value, but the signature does not say which one of argument 2's 2 lifetimes it is borrowed from

error: aborting due to 6 previous errors

Any ideas what can be done? I'm pretty new to rust

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

3 participants