Closed danheuck closed 2 years ago
The issue is more that Flowistry has to pin to a specific toolchain, because it uses the Rust compiler API. That API changes frequently, so I usually have to do manual codebase patches every time I change the toolchain.
Honestly, the only solution right now is I should just set a reminder to bump the Flowistry version a few days before a Rust stable release happens.
Regardless, I just bumped the Flowistry toolchain version and release v0.5.31. Should fix your issue in a few hours.
Flowistry is currently failing for my project with a lot of errors that look like this because one of my dependencies uses generic associated types extensively:
It seems that flowistry is using the nightly toolchain from 2022-09-12 and generic associated types were stabilized (in nightly) on 2022-09-13. This is obviously a very specific issue, but it seems like a symptom of a problem that could come up quite frequently in any project using a nightly toolchain.
It seems like flowistry currently uses its own toolchain to make it compatible with projects using a stable toolchain (#2). If that's the only reason, is it possible to detect when a project is already using the nightly toolchain so that the same toolchain can be used by flowistry?