When updating the project to use Kotlin 1.2.61 or coroutines 0.24.0, the following compilation errors occur
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building vertx-lang-kotlin-coroutines 3.6.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-maven) @ vertx-lang-kotlin-coroutines ---
[INFO]
[INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ vertx-lang-kotlin-coroutines ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /Users/guido.mariotti/Documents/GitHub/vertx-lang-kotlin/vertx-lang-kotlin-coroutines/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ vertx-lang-kotlin-coroutines ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- kotlin-maven-plugin:1.2.51:compile (default) @ vertx-lang-kotlin-coroutines ---
[WARNING] Source root doesn't exist: /Users/guido.mariotti/Documents/GitHub/vertx-lang-kotlin/vertx-lang-kotlin-coroutines/src/main/kotlin
[ERROR] /Users/guido.mariotti/Documents/GitHub/vertx-lang-kotlin/vertx-lang-kotlin-coroutines/src/main/java/examples/Example.kt: (91, 58) Type mismatch: inferred type is ReceiveChannelHandler<Message<Int>> but Handler<Message<Int!>!>! was expected
[ERROR] /Users/guido.mariotti/Documents/GitHub/vertx-lang-kotlin/vertx-lang-kotlin-coroutines/src/main/java/io/vertx/kotlin/coroutines/VertxCoroutine.kt: (43, 39) Unresolved reference: Handler
[ERROR] /Users/guido.mariotti/Documents/GitHub/vertx-lang-kotlin/vertx-lang-kotlin-coroutines/src/main/java/io/vertx/kotlin/coroutines/VertxCoroutine.kt: (46, 20) Unresolved reference: Handler
[ERROR] /Users/guido.mariotti/Documents/GitHub/vertx-lang-kotlin/vertx-lang-kotlin-coroutines/src/main/java/io/vertx/kotlin/coroutines/VertxCoroutine.kt: (46, 30) Cannot infer a type for this parameter. Please specify it explicitly.
[ERROR] /Users/guido.mariotti/Documents/GitHub/vertx-lang-kotlin/vertx-lang-kotlin-coroutines/src/main/java/io/vertx/kotlin/coroutines/VertxCoroutine.kt: (75, 40) Unresolved reference: Handler
[ERROR] /Users/guido.mariotti/Documents/GitHub/vertx-lang-kotlin/vertx-lang-kotlin-coroutines/src/main/java/io/vertx/kotlin/coroutines/VertxCoroutine.kt: (129, 84) Unresolved reference: Handler
[ERROR] /Users/guido.mariotti/Documents/GitHub/vertx-lang-kotlin/vertx-lang-kotlin-coroutines/src/main/java/io/vertx/kotlin/coroutines/VertxCoroutine.kt: (135, 44) Unresolved reference: Handler
[ERROR] /Users/guido.mariotti/Documents/GitHub/vertx-lang-kotlin/vertx-lang-kotlin-coroutines/src/main/java/io/vertx/kotlin/coroutines/VertxCoroutine.kt: (136, 41) Unresolved reference: Handler
[ERROR] /Users/guido.mariotti/Documents/GitHub/vertx-lang-kotlin/vertx-lang-kotlin-coroutines/src/main/java/io/vertx/kotlin/coroutines/VertxCoroutine.kt: (139, 29) Unresolved reference: Handler
[ERROR] /Users/guido.mariotti/Documents/GitHub/vertx-lang-kotlin/vertx-lang-kotlin-coroutines/src/main/java/io/vertx/kotlin/coroutines/VertxCoroutine.kt: (146, 25) Unresolved reference: Handler
[ERROR] /Users/guido.mariotti/Documents/GitHub/vertx-lang-kotlin/vertx-lang-kotlin-coroutines/src/main/java/io/vertx/kotlin/coroutines/VertxCoroutine.kt: (176, 3) 'handle' overrides nothing
[ERROR] /Users/guido.mariotti/Documents/GitHub/vertx-lang-kotlin/vertx-lang-kotlin-coroutines/src/main/java/io/vertx/kotlin/coroutines/VertxCoroutine.kt: (348, 49) Unresolved reference: Handler
[ERROR] /Users/guido.mariotti/Documents/GitHub/vertx-lang-kotlin/vertx-lang-kotlin-coroutines/src/main/java/io/vertx/kotlin/coroutines/VertxCoroutine.kt: (358, 47) Type mismatch: inferred type is VertxScheduledFuture but Handler<Long!>! was expected
[ERROR] /Users/guido.mariotti/Documents/GitHub/vertx-lang-kotlin/vertx-lang-kotlin-coroutines/src/main/java/io/vertx/kotlin/coroutines/VertxCoroutine.kt: (373, 3) 'handle' overrides nothing
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 8.670 s
[INFO] Finished at: 2018-09-25T19:43:31+02:00
[INFO] Final Memory: 54M/773M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.jetbrains.kotlin:kotlin-maven-plugin:1.2.51:compile (default) on project vertx-lang-kotlin-coroutines: Compilation failure: Compilation failure:
[ERROR] /Users/guido.mariotti/Documents/GitHub/vertx-lang-kotlin/vertx-lang-kotlin-coroutines/src/main/java/examples/Example.kt:[91,58] Type mismatch: inferred type is ReceiveChannelHandler<Message<Int>> but Handler<Message<Int!>!>! was expected
[ERROR] /Users/guido.mariotti/Documents/GitHub/vertx-lang-kotlin/vertx-lang-kotlin-coroutines/src/main/java/io/vertx/kotlin/coroutines/VertxCoroutine.kt:[43,39] Unresolved reference: Handler
[ERROR] /Users/guido.mariotti/Documents/GitHub/vertx-lang-kotlin/vertx-lang-kotlin-coroutines/src/main/java/io/vertx/kotlin/coroutines/VertxCoroutine.kt:[46,20] Unresolved reference: Handler
[ERROR] /Users/guido.mariotti/Documents/GitHub/vertx-lang-kotlin/vertx-lang-kotlin-coroutines/src/main/java/io/vertx/kotlin/coroutines/VertxCoroutine.kt:[46,30] Cannot infer a type for this parameter. Please specify it explicitly.
[ERROR] /Users/guido.mariotti/Documents/GitHub/vertx-lang-kotlin/vertx-lang-kotlin-coroutines/src/main/java/io/vertx/kotlin/coroutines/VertxCoroutine.kt:[75,40] Unresolved reference: Handler
[ERROR] /Users/guido.mariotti/Documents/GitHub/vertx-lang-kotlin/vertx-lang-kotlin-coroutines/src/main/java/io/vertx/kotlin/coroutines/VertxCoroutine.kt:[129,84] Unresolved reference: Handler
[ERROR] /Users/guido.mariotti/Documents/GitHub/vertx-lang-kotlin/vertx-lang-kotlin-coroutines/src/main/java/io/vertx/kotlin/coroutines/VertxCoroutine.kt:[135,44] Unresolved reference: Handler
[ERROR] /Users/guido.mariotti/Documents/GitHub/vertx-lang-kotlin/vertx-lang-kotlin-coroutines/src/main/java/io/vertx/kotlin/coroutines/VertxCoroutine.kt:[136,41] Unresolved reference: Handler
[ERROR] /Users/guido.mariotti/Documents/GitHub/vertx-lang-kotlin/vertx-lang-kotlin-coroutines/src/main/java/io/vertx/kotlin/coroutines/VertxCoroutine.kt:[139,29] Unresolved reference: Handler
[ERROR] /Users/guido.mariotti/Documents/GitHub/vertx-lang-kotlin/vertx-lang-kotlin-coroutines/src/main/java/io/vertx/kotlin/coroutines/VertxCoroutine.kt:[146,25] Unresolved reference: Handler
[ERROR] /Users/guido.mariotti/Documents/GitHub/vertx-lang-kotlin/vertx-lang-kotlin-coroutines/src/main/java/io/vertx/kotlin/coroutines/VertxCoroutine.kt:[176,3] 'handle' overrides nothing
[ERROR] /Users/guido.mariotti/Documents/GitHub/vertx-lang-kotlin/vertx-lang-kotlin-coroutines/src/main/java/io/vertx/kotlin/coroutines/VertxCoroutine.kt:[348,49] Unresolved reference: Handler
[ERROR] /Users/guido.mariotti/Documents/GitHub/vertx-lang-kotlin/vertx-lang-kotlin-coroutines/src/main/java/io/vertx/kotlin/coroutines/VertxCoroutine.kt:[358,47] Type mismatch: inferred type is VertxScheduledFuture but Handler<Long!>! was expected
[ERROR] /Users/guido.mariotti/Documents/GitHub/vertx-lang-kotlin/vertx-lang-kotlin-coroutines/src/main/java/io/vertx/kotlin/coroutines/VertxCoroutine.kt:[373,3] 'handle' overrides nothing
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
Process finished with exit code 1
However, IntelliJ doesn't flag any of them, so my guess is that probably some maven plugin is causing it. Any idea which one of them?