Closed
Description
OS: ArchLinux
rustup: 1.16.0
cargo: 1.33.0-nightly (34320d212 2019-01-03
rustc: 1.33.0-nightly (d22fa2d87 2019-01-08)
Successfully built with nightly-2019-01-09-x86_64-unknown-linux-gnu.
Failed build with nightly-2019-01-11-x86_64-unknown-linux-gnu.
Output:
╭─dcjanus at DCjanusArchLinux in /home/dcjanus/code/futures-rs ((0.3.0-alpha.11) ✔)
╰─λ cargo build 22:27:02
Compiling proc-macro2 v0.4.24
Compiling unicode-xid v0.1.0
Compiling libc v0.2.46
Compiling either v1.5.0
Compiling rand_core v0.3.0
Compiling pin-utils v0.1.0-alpha.4
Compiling slab v0.4.2
Compiling lazy_static v1.2.0
Compiling futures-core-preview v0.3.0-alpha.11 (/home/dcjanus/code/futures-rs/futures-core)
Compiling rand_core v0.2.2
Compiling futures-channel-preview v0.3.0-alpha.11 (/home/dcjanus/code/futures-rs/futures-channel)
Compiling futures-sink-preview v0.3.0-alpha.11 (/home/dcjanus/code/futures-rs/futures-sink)
Compiling iovec v0.1.2
Compiling rand v0.5.5
Compiling num_cpus v1.9.0
Compiling futures-io-preview v0.3.0-alpha.11 (/home/dcjanus/code/futures-rs/futures-io)
Compiling quote v0.6.10
Compiling syn v0.15.24
Compiling proc-macro-hack v0.5.4
Compiling futures-select-macro-preview v0.3.0-alpha.11 (/home/dcjanus/code/futures-rs/futures-select-macro)
Compiling futures-util-preview v0.3.0-alpha.11 (/home/dcjanus/code/futures-rs/futures-util)
error[E0308]: mismatched types
--> futures-util/src/future/maybe_done.rs:110:18
|
110 | Pin::set(self, MaybeDone::Done(res));
| ^^^^
| |
| expected mutable reference, found struct `std::pin::Pin`
| help: consider mutably borrowing here: `&mut self`
|
= note: expected type `&mut std::pin::Pin<_>`
found type `std::pin::Pin<&mut future::maybe_done::MaybeDone<Fut>>`
error[E0308]: mismatched types
--> futures-util/src/future/fuse.rs:53:18
|
53 | Pin::set(self.as_mut().future(), None);
| ^^^^^^^^^^^^^^^^^^^^^^
| |
| expected mutable reference, found struct `std::pin::Pin`
| help: consider mutably borrowing here: `&mut self.as_mut().future()`
|
= note: expected type `&mut std::pin::Pin<_>`
found type `std::pin::Pin<&mut std::option::Option<Fut>>`
error[E0308]: mismatched types
--> futures-util/src/future/into_stream.rs:39:18
|
39 | Pin::set(self.as_mut().future(), None);
| ^^^^^^^^^^^^^^^^^^^^^^
| |
| expected mutable reference, found struct `std::pin::Pin`
| help: consider mutably borrowing here: `&mut self.as_mut().future()`
|
= note: expected type `&mut std::pin::Pin<_>`
found type `std::pin::Pin<&mut std::option::Option<Fut>>`
error[E0308]: mismatched types
--> futures-util/src/try_future/flatten_sink.rs:62:18
|
62 | Pin::set(self.as_mut(), FlattenSink(Ready(resolved_stream)));
| ^^^^^^^^^^^^^
| |
| expected mutable reference, found struct `std::pin::Pin`
| help: consider mutably borrowing here: `&mut self.as_mut()`
|
= note: expected type `&mut std::pin::Pin<_>`
found type `std::pin::Pin<&mut try_future::flatten_sink::FlattenSink<Fut, Si>>`
error[E0308]: mismatched types
--> futures-util/src/try_future/flatten_sink.rs:102:22
|
102 | Pin::set(self, FlattenSink(Closed));
| ^^^^
| |
| expected mutable reference, found struct `std::pin::Pin`
| help: consider mutably borrowing here: `&mut self`
|
= note: expected type `&mut std::pin::Pin<_>`
found type `std::pin::Pin<&mut try_future::flatten_sink::FlattenSink<Fut, Si>>`
error[E0308]: mismatched types
--> futures-util/src/stream/unfold.rs:99:22
|
99 | Pin::set(self.as_mut().fut(), Some(fut));
| ^^^^^^^^^^^^^^^^^^^
| |
| expected mutable reference, found struct `std::pin::Pin`
| help: consider mutably borrowing here: `&mut self.as_mut().fut()`
|
= note: expected type `&mut std::pin::Pin<_>`
found type `std::pin::Pin<&mut std::option::Option<Fut>>`
error[E0308]: mismatched types
--> futures-util/src/try_stream/try_for_each.rs:52:22
|
52 | Pin::set(self.as_mut().future(), None);
| ^^^^^^^^^^^^^^^^^^^^^^
| |
| expected mutable reference, found struct `std::pin::Pin`
| help: consider mutably borrowing here: `&mut self.as_mut().future()`
|
= note: expected type `&mut std::pin::Pin<_>`
found type `std::pin::Pin<&mut std::option::Option<Fut>>`
error[E0308]: mismatched types
--> futures-util/src/try_stream/try_for_each.rs:57:30
|
57 | Pin::set(self.as_mut().future(), Some(future));
| ^^^^^^^^^^^^^^^^^^^^^^
| |
| expected mutable reference, found struct `std::pin::Pin`
| help: consider mutably borrowing here: `&mut self.as_mut().future()`
|
= note: expected type `&mut std::pin::Pin<_>`
found type `std::pin::Pin<&mut std::option::Option<Fut>>`
error[E0308]: mismatched types
--> futures-util/src/sink/with_flat_map.rs:105:18
|
105 | Pin::set(stream, None);
| ^^^^^^
| |
| expected mutable reference, found struct `std::pin::Pin`
| help: consider mutably borrowing here: `&mut stream`
|
= note: expected type `&mut std::pin::Pin<_>`
found type `std::pin::Pin<&mut std::option::Option<St>>`
error: aborting due to 9 previous errors
For more information about this error, try `rustc --explain E0308`.
error: Could not compile `futures-util-preview`.
To learn more, run the command again with --verbose.
Metadata
Metadata
Assignees
Labels
No labels