Skip to content
This repository has been archived by the owner on Feb 14, 2023. It is now read-only.

nigthly feature fails #11

Open
dignifiedquire opened this issue Mar 1, 2019 · 1 comment
Open

nigthly feature fails #11

dignifiedquire opened this issue Mar 1, 2019 · 1 comment

Comments

@dignifiedquire
Copy link
Contributor

When enabling the nightly feature I get these errors

error[E0432]: unresolved import `policy::MoveStrategy`
  --> /Users/dignifiedquire/.cargo/registry/src/github.com-1ecc6299db9ec823/buf_redux-0.8.1/src/nightly.rs:16:28
   |
16 | use policy::{WriterPolicy, MoveStrategy, ReaderPolicy};
   |                            ^^^^^^^^^^^^ no `MoveStrategy` in `policy`

error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail
   --> /Users/dignifiedquire/.cargo/registry/src/github.com-1ecc6299db9ec823/buf_redux-0.8.1/src/buffer/std_buf.rs:180:9
    |
180 |     use self::alloc::raw_vec::RawVec;
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = help: add #![feature(raw_vec_internals)] to the crate attributes to enable

error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail
   --> /Users/dignifiedquire/.cargo/registry/src/github.com-1ecc6299db9ec823/buf_redux-0.8.1/src/buffer/std_buf.rs:185:14
    |
185 |         buf: RawVec<u8>,
    |              ^^^^^^^^^^
    |
    = help: add #![feature(raw_vec_internals)] to the crate attributes to enable

error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail
   --> /Users/dignifiedquire/.cargo/registry/src/github.com-1ecc6299db9ec823/buf_redux-0.8.1/src/buffer/std_buf.rs:191:22
    |
191 |                 buf: RawVec::with_capacity(capacity)
    |                      ^^^^^^^^^^^^^^^^^^^^^
    |
    = help: add #![feature(raw_vec_internals)] to the crate attributes to enable

error[E0119]: conflicting implementations of trait `std::fmt::Debug` for type `BufReader<_, _>`:
   --> /Users/dignifiedquire/.cargo/registry/src/github.com-1ecc6299db9ec823/buf_redux-0.8.1/src/lib.rs:417:1
    |
417 | impl<R: fmt::Debug, P: fmt::Debug> fmt::Debug for BufReader<R, P> {
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `BufReader<_, _>`
    |
   ::: /Users/dignifiedquire/.cargo/registry/src/github.com-1ecc6299db9ec823/buf_redux-0.8.1/src/nightly.rs:18:1
    |
18  | impl<R, Rs: ReaderPolicy> fmt::Debug for BufReader<R, Rs> {
    | --------------------------------------------------------- first implementation here

error[E0119]: conflicting implementations of trait `std::fmt::Debug` for type `BufWriter<_, _>`:
   --> /Users/dignifiedquire/.cargo/registry/src/github.com-1ecc6299db9ec823/buf_redux-0.8.1/src/lib.rs:706:1
    |
706 | impl<W: Write + fmt::Debug, P: fmt::Debug> fmt::Debug for BufWriter<W, P> {
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `BufWriter<_, _>`
    |
   ::: /Users/dignifiedquire/.cargo/registry/src/github.com-1ecc6299db9ec823/buf_redux-0.8.1/src/nightly.rs:30:1
    |
30  | impl<W: Write, Fs: WriterPolicy> fmt::Debug for BufWriter<W, Fs> {
    | ---------------------------------------------------------------- first implementation here

error: aborting due to 6 previous errors
@bbigras
Copy link

bbigras commented Sep 7, 2019

I have the same problem. Any progress on this?

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

No branches or pull requests

2 participants