title: Scala: The `-` [dash, minus] command is deprecated in favor of `onFailure` and will be removed in 0.14.0
body: <p>When I'm doing <code>sbt compile -feature</code> on my Scala project I get a mysterious warnings:</p>
  
  <pre><code>The `-` command is deprecated in favor of `onFailure` and will be removed in 0.14.0
  </code></pre>
  
  <p>I have no clue what that dash/minus command is or where it is possibly being used. Searching for it on google is impossible, as well as grepping the code base for it (There are just /so/ /many/ /dashes/).</p>
  
  <p>If at least I knew where it is defined. I could not find anything in the scala doc either.</p>