title: scala future error for " Don't call `Awaitable` methods directly, use the `Await` object."
body: <p>My trait method is:</p>
  
  <pre><code>userService{
    def link(current: U, to:User): Future[U]
    def findUserByEmail(email:String):Future[Option[User]]
  }
  </code></pre>
  
  <p>when I execute I use:</p>
  
  <pre><code>for(link(currentUser, userService.findUserByEmail(email).result(Duration(1000, MILLISECONDS)).get)){
  ...
  }
  </code></pre>
  
  <p>and the error is:</p>
  
  <pre><code>[error] G:\testprojects\mifun\modules\app\controllers\
  ProviderController.scala:130: Don't call `Awaitable` methods directly, use the `
  Await` object.
  </code></pre>
  
  <p>I do not know why here must use await object instead of awaitable methods, and how to change it correctly.</p>