I get an error there were 15 feature warning(s); re-run with -feature for details :
$ /usr/local/sbt/bin/sbt
[info] Loading project definition fr
You should add
scalacOptions += "-feature"
to your build.sbt and execute reload if your sbt console is running (or restart it).
Alternatively if you want to set it only for a single session, while in sbt console, you can write set scalacOptions += "-feature", this setting is applied immediately, no need to reload or restart sbt console.
Re-run with -feature for details