Closed
Description
Type inference broke, or something. Hard to see why, as the file (broadcast.rs) is probably one of the simpler cases.
Easiest repro to is clone the repo (it is also up on crates, though as an earlier version)
% git clone https://github.com/frankmcsherry/timely-dataflow
Cloning into 'timely-dataflow'...
remote: Counting objects: 1959, done.
remote: Compressing objects: 100% (70/70), done.
remote: Total 1959 (delta 32), reused 0 (delta 0), pack-reused 1889
Receiving objects: 100% (1959/1959), 596.67 KiB | 741.00 KiB/s, done.
Resolving deltas: 100% (1393/1393), done.
Checking connectivity... done.
% cd timely-dataflow
% multirust override stable
multirust: using existing install for 'stable'
multirust: override toolchain for '/Users/mcsherry/timely-dataflow' set to 'stable'
% cargo build
Updating git repository `https://github.com/frankmcsherry/abomonation`
Updating registry `https://github.com/rust-lang/crates.io-index`
Compiling byteorder v0.3.11
Compiling libc v0.1.8
Compiling abomonation v0.1.0 (https://github.com/frankmcsherry/abomonation#6bdf392c)
Compiling log v0.3.1
Compiling getopts v0.2.11
Compiling timely v0.0.7 (file:///Users/mcsherry/timely-dataflow)
% multirust override nightly
multirust: using existing install for 'nightly'
multirust: override toolchain for '/Users/mcsherry/timely-dataflow' set to 'nightly'
% cargo build
Compiling abomonation v0.1.0 (https://github.com/frankmcsherry/abomonation#6bdf392c)
Compiling libc v0.1.8
Compiling byteorder v0.3.11
Compiling log v0.3.1
Compiling getopts v0.2.11
Compiling timely v0.0.7 (file:///Users/mcsherry/timely-dataflow)
src/progress/broadcast.rs:31:51: 31:70 error: the type of this value must be known in this context
src/progress/broadcast.rs:31 while let Some((update, delta)) = recv_messages.pop() {
^~~~~~~~~~~~~~~~~~~
note: in expansion of while let expansion
src/progress/broadcast.rs:31:17: 33:55 note: expansion site
note: in expansion of while let expansion
src/progress/broadcast.rs:30:13: 37:14 note: expansion site
src/progress/broadcast.rs:34:51: 34:70 error: the type of this value must be known in this context
src/progress/broadcast.rs:34 while let Some((update, delta)) = recv_internal.pop() {
^~~~~~~~~~~~~~~~~~~
note: in expansion of while let expansion
src/progress/broadcast.rs:34:17: 36:55 note: expansion site
note: in expansion of while let expansion
src/progress/broadcast.rs:30:13: 37:14 note: expansion site
error: aborting due to 2 previous errors
Could not compile `timely`.
To learn more, run the command again with --verbose.
% cargo --version
cargo 0.4.0-nightly (15b497b 2015-07-08) (built 2015-07-08)
% rustc --version
rustc 1.3.0-nightly (16f64c388 2015-07-09)