title: flow.collect(suspend (T) -> Unit) doesn't work with the newer version of coroutines dependencies
body: <p>I updated the gradle file</p>
  <p>from</p>
  <pre class="lang-groovy prettyprint-override"><code>implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.9'
  implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.3.9'
  </code></pre>
  <p>to</p>
  <pre class="lang-groovy prettyprint-override"><code>implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.0'
  implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.0'
  </code></pre>
  <p>What happened was that the following function started to throw error.</p>
  <pre><code>fun &lt;T&gt; Fragment.collectLifeCycleFlow(flow: Flow&lt;T&gt;, collector: suspend (T) -&gt; Unit) {
      lifecycleScope.launch {
          repeatOnLifecycle(Lifecycle.State.STARTED) {
              flow.collect(collector)
          }
      }
  }
  </code></pre>
  <p>However, it works fine with flow.collectLatest(collector)</p>
  <p>I don't know why collect() doesn't accept parameters anymore. Please help with me.</p>