[warn] /home/runner/work/io/io/io/src/main/scala/sbt/internal/io/SourceModificationWatch.scala:118:26: Auto-application to `()` is deprecated. Supply the empty argument list `()` explicitly to invoke method pollEvents,
[warn] or remove the empty argument list from its definition (Java-defined methods are exempt).
[warn] In Scala 3, an unapplied method like this will be eta-expanded into a function.
[warn] val events = service.pollEvents
[warn] ^
[warn] /home/runner/work/io/io/io/src/main/scala/sbt/internal/nio/FileTreeRepositoryImpl.scala:108:9: Auto-application to `()` is deprecated. Supply the empty argument list `()` explicitly to invoke method result,
[warn] or remove the empty argument list from its definition (Java-defined methods are exempt).
[warn] In Scala 3, an unapplied method like this will be eta-expanded into a function.
[warn] res.result
[warn] ^
[warn] /home/runner/work/io/io/io/src/main/scala/sbt/nio/file/Glob.scala:552:37: Auto-application to `()` is deprecated. Supply the empty argument list `()` explicitly to invoke method clear,
[warn] or remove the empty argument list from its definition (Java-defined methods are exempt).
[warn] In Scala 3, an unapplied method like this will be eta-expanded into a function.
[warn] stringBuilder.clear
[warn] ^
[warn] /home/runner/work/io/io/io/src/main/scala/sbt/nio/file/Glob.scala:562:31: Auto-application to `()` is deprecated. Supply the empty argument list `()` explicitly to invoke method clear,
[warn] or remove the empty argument list from its definition (Java-defined methods are exempt).
[warn] In Scala 3, an unapplied method like this will be eta-expanded into a function.
[warn] stringBuilder.clear
[warn] ^
[warn] /home/runner/work/io/io/io/src/main/scala/sbt/nio/file/Glob.scala:813:45: Auto-application to `()` is deprecated. Supply the empty argument list `()` explicitly to invoke method next,
[warn] or remove the empty argument list from its definition (Java-defined methods are exempt).
[warn] In Scala 3, an unapplied method like this will be eta-expanded into a function.
[warn] val res = ordering.compare(leftIt.next, rightIt.next)
[warn] ^
[warn] /home/runner/work/io/io/io/src/main/scala/sbt/nio/file/Glob.scala:813:59: Auto-application to `()` is deprecated. Supply the empty argument list `()` explicitly to invoke method next,
[warn] or remove the empty argument list from its definition (Java-defined methods are exempt).
[warn] In Scala 3, an unapplied method like this will be eta-expanded into a function.
[warn] val res = ordering.compare(leftIt.next, rightIt.next)
[warn] ^