NLnetLabs / rotonda-store

IP prefixes storage and retrieval

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

rust >1.51 failing to compile

density215 opened this issue · comments

cargo build outputs on rustc 1.54 (pretty sure it's the same output for 1.52 and up):

error[E0229]: associated type bindings are not allowed here
  --> src/tree.rs:486:48
   |
486 |     nodes: Vec<SizedStrideNode<AF, InMemNodeId<Sort = u16, Part = u32>>>,
   |                                                ^^^^^^^^^^ associated type not allowed here

error[E0229]: associated type bindings are not allowed here
  --> src/tree.rs:488:74
   |
488 |     _node_with_guard: std::cell::RefCell<SizedStrideNode<AF, InMemNodeId<Sort = u16, Part = u32>>>,
   |                                                                          ^^^^^^^^^^ associated type not allowed here

error[E0229]: associated type bindings are not allowed here
  --> src/tree.rs:492:33
   |
492 |     type NodeType = InMemNodeId<Sort = u16, Part = u32>;
   |                                 ^^^^^^^^^^ associated type not allowed here

error: aborting due to 3 previous errors

For more information about this error, try `rustc --explain E0229`.
error: could not compile `rotonda-store`

To learn more, run the command again with --verbose.
warning: build failed, waiting for other jobs to finish...
error: build failed

Solved in 0.1.1