title: Type mismatch found: scala function => Unit required: java.util.Consumer
body: <p>I'm getting the following error in Scala 2.11:</p>
  
  <pre><code>Error:(54, 85) type mismatch;
   found   : org.apache.pig.data.Tuple =&gt; Unit
   required: java.util.function.Consumer[_ &gt;: org.apache.pig.data.Tuple]
      pigTest.getAlias("productData").forEachRemaining((x: org.apache.pig.data.Tuple) =&gt; print(x))
  </code></pre>
  
  <p>I'm confused because my function <strong>is</strong> a consumer so I don't know why it's being rejected or how to fix it.</p>