Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Detekt 1.22.0 is getting noisier and noisier #5436

Closed
TWiStErRob opened this issue Oct 17, 2022 · 8 comments · Fixed by #5448
Closed

Detekt 1.22.0 is getting noisier and noisier #5436

TWiStErRob opened this issue Oct 17, 2022 · 8 comments · Fixed by #5448
Milestone

Comments

@TWiStErRob
Copy link
Member

TWiStErRob commented Oct 17, 2022

Expected Behavior

No output in Gradle console log unless there's an actual problem.
1.21.0:

> Task :plugins:detektMain
The BindingContext was created with 36 issues. Run detekt with --debug to see the error messages.

> Task :backend:quickbook:detektTest
The BindingContext was created with 6 issues. Run detekt with --debug to see the error messages.

> Task :backend:database:detektTest
The BindingContext was created with 2 issues. Run detekt with --debug to see the error messages.

> Task :backend:endpoint:detektTest
The BindingContext was created with 40 issues. Run detekt with --debug to see the error messages.

Current Behavior

1.22.0-RC1:

> Task :plugins:detekt
The rule 'AvoidReferentialEquality' requires type resolution but it was run without it.
The rule 'Deprecation' requires type resolution but it was run without it.
The rule 'DontDowncastCollectionTypes' requires type resolution but it was run without it.
The rule 'DoubleMutabilityForCollection' requires type resolution but it was run without it.
The rule 'ElseCaseInsteadOfExhaustiveWhen' requires type resolution but it was run without it.
The rule 'ExitOutsideMain' requires type resolution but it was run without it.
The rule 'HasPlatformType' requires type resolution but it was run without it.
The rule 'MissingWhenCase' requires type resolution but it was run without it.
The rule 'NullCheckOnMutableProperty' requires type resolution but it was run without it.
The rule 'RedundantElseInWhen' requires type resolution but it was run without it.
The rule 'UnnecessaryNotNullOperator' requires type resolution but it was run without it.
The rule 'UnnecessarySafeCall' requires type resolution but it was run without it.
The rule 'UnreachableCode' requires type resolution but it was run without it.
The rule 'UnsafeCallOnNullableType' requires type resolution but it was run without it.
The rule 'UnsafeCast' requires type resolution but it was run without it.
The rule 'IgnoredReturnValue' requires type resolution but it was run without it.
The rule 'ImplicitUnitReturnType' requires type resolution but it was run without it.
The rule 'NullableToStringCall' requires type resolution but it was run without it.
The rule 'UnreachableCatchBlock' requires type resolution but it was run without it.
The rule 'UnusedUnaryOperator' requires type resolution but it was run without it.
The rule 'NestedScopeFunctions' requires type resolution but it was run without it.
The rule 'ReplaceSafeCallChainWithRun' requires type resolution but it was run without it.
The rule 'NamedArguments' requires type resolution but it was run without it.
The rule 'InjectDispatcher' requires type resolution but it was run without it.
The rule 'RedundantSuspendModifier' requires type resolution but it was run without it.
The rule 'SleepInsteadOfDelay' requires type resolution but it was run without it.
The rule 'SuspendFunWithFlowReturnType' requires type resolution but it was run without it.
The rule 'SuspendFunWithCoroutineScopeReceiver' requires type resolution but it was run without it.
The rule 'ReturnFromFinally' requires type resolution but it was run without it.
The rule 'ObjectExtendsThrowable' requires type resolution but it was run without it.
The rule 'NoNameShadowing' requires type resolution but it was run without it.
The rule 'BooleanPropertyNaming' requires type resolution but it was run without it.
The rule 'NonBooleanPropertyPrefixedWithIs' requires type resolution but it was run without it.
The rule 'ArrayPrimitive' requires type resolution but it was run without it.
The rule 'CouldBeSequence' requires type resolution but it was run without it.
The rule 'CanBeNonNullable' requires type resolution but it was run without it.
The rule 'ForbiddenMethodCall' requires type resolution but it was run without it.
The rule 'UnnecessaryInnerClass' requires type resolution but it was run without it.
The rule 'ObjectLiteralToLambda' requires type resolution but it was run without it.
The rule 'UnnecessaryApply' requires type resolution but it was run without it.
The rule 'UnnecessaryFilter' requires type resolution but it was run without it.
The rule 'UnnecessaryLet' requires type resolution but it was run without it.
The rule 'PreferToOverPairSyntax' requires type resolution but it was run without it.
The rule 'NullableBooleanCheck' requires type resolution but it was run without it.
The rule 'VarCouldBeVal' requires type resolution but it was run without it.
The rule 'ForbiddenVoid' requires type resolution but it was run without it.
The rule 'ExplicitCollectionElementAccessMethod' requires type resolution but it was run without it.
The rule 'UselessCallOnNotNull' requires type resolution but it was run without it.
The rule 'RedundantExplicitType' requires type resolution but it was run without it.
The rule 'LibraryCodeMustSpecifyReturnType' requires type resolution but it was run without it.
The rule 'UseEmptyCounterpart' requires type resolution but it was run without it.
The rule 'UseCheckNotNull' requires type resolution but it was run without it.
The rule 'UseRequireNotNull' requires type resolution but it was run without it.
The rule 'RedundantHigherOrderMapUsage' requires type resolution but it was run without it.
The rule 'UseIfEmptyOrIfBlank' requires type resolution but it was run without it.
The rule 'MultilineLambdaItParameter' requires type resolution but it was run without it.
The rule 'UseIsNullOrEmpty' requires type resolution but it was run without it.
The rule 'UseOrEmpty' requires type resolution but it was run without it.
The rule 'UseAnyOrNoneInsteadOfFind' requires type resolution but it was run without it.
The rule 'MaxChainedCallsOnSameLine' requires type resolution but it was run without it.

> Task :plugins:detektMain
The BindingContext was created with 36 issues. Run detekt CLI with --debug or set `detekt { debug = true }` in Gradle to see the error messages.

> Task :backend:quickbook:detektTest
The BindingContext was created with 6 issues. Run detekt CLI with --debug or set `detekt { debug = true }` in Gradle to see the error messages.

> Task :backend:database:detektTest
The BindingContext was created with 2 issues. Run detekt CLI with --debug or set `detekt { debug = true }` in Gradle to see the error messages.

> Task :backend:endpoint:detektTest
The BindingContext was created with 40 issues. Run detekt CLI with --debug or set `detekt { debug = true }` in Gradle to see the error messages.

1.22.0-RC2:

> Task :backend:feed:detektMain
warning: classpath entry points to a non-existent location: ...\backend\feed\src\main\java

> Task :plugins:detektMain
warning: classpath entry points to a non-existent location: ...\gradle\plugins\src\main\java
The BindingContext was created with 36 issues. Run detekt CLI with --debug or set `detekt { debug = true }` in Gradle to see the error messages.

> Task :backend:network:detektMain
warning: classpath entry points to a non-existent location: ...\backend\network\src\main\java

> Task :backend:quickbook:detektMain
warning: classpath entry points to a non-existent location: ...\backend\quickbook\src\main\java

> Task :backend:network:detektTest
warning: classpath entry points to a non-existent location: ...\backend\network\src\test\java
warning: classpath entry points to a non-existent location: ...\backend\network\build\classes\java\main

> Task :backend:quickbook:detektTest
warning: classpath entry points to a non-existent location: ...\backend\quickbook\src\test\java
The BindingContext was created with 6 issues. Run detekt CLI with --debug or set `detekt { debug = true }` in Gradle to see the error messages.

> Task :backend:feed:detektTest
warning: classpath entry points to a non-existent location: ...\backend\feed\src\test\java

> Task :backend:database:detektTestFixtures
warning: classpath entry points to a non-existent location: ...\backend\database\src\testFixtures\java

> Task :backend:endpoint:detektMain
warning: classpath entry points to a non-existent location: ...\backend\endpoint\src\main\java
The BindingContext was created with 4 issues. Run detekt CLI with --debug or set `detekt { debug = true }` in Gradle to see the error messages.

> Task :backend:database:detektTest
warning: classpath entry points to a non-existent location: ...\backend\database\src\test\java
warning: classpath entry points to a non-existent location: ...\backend\database\build\classes\java\testFixtures
warning: classpath entry points to a non-existent location: ...\backend\database\build\tmp\kapt3\classes\testFixtures
The BindingContext was created with 1 issues. Run detekt CLI with --debug or set `detekt { debug = true }` in Gradle to see the error messages.

> Task :backend:endpoint:detektTest
warning: classpath entry points to a non-existent location: ...\backend\endpoint\src\test\java
warning: classpath entry points to a non-existent location: ...\backend\database\build\classes\java\testFixtures
warning: classpath entry points to a non-existent location: ...\backend\database\build\tmp\kapt3\classes\testFixtures
The BindingContext was created with 52 issues. Run detekt CLI with --debug or set `detekt { debug = true }` in Gradle to see the error messages.

Notice that even the number of BindingContext issues are getting higher.

Context

gradlew ... is usually empty, and that's a good thing. The more warnings show up the less likely is that we see new warnings pop up, and long term projects end up with just megabytes of logs which no-one cares about.

The project I was executing on is exactly the same code for each version. The task I was running was also exactly the same for each version: gradlew :plugins:detektEach detektMain detektTest detektTestFixtures --rerun-tasks (detektEach depends on detekt, detektMain and detektTest in that module).

@TWiStErRob
Copy link
Member Author

Note: I would consider this a regression in this version. And a potential solution might be introducing a new log level similar to debug, where diagnostics messages are shown.


There's nothing I can do about any of these warnings (this is why I called them "noise"):

warning: classpath entry points to a non-existent location

  • It's a Kotlin project with src/main/kotlin folders.
  • There are no annotation processors in testFixtures.

There's nothing to do, I cannot remove java / kapt plugins from those modules, and git cannot version empty folders, especially ones that are not necessary.

The BindingContext was created with 52 issues.

This is because test/testFixtures friends are missing, so again, we cannot solve it in our projects.
#5396

@TWiStErRob
Copy link
Member Author

TWiStErRob commented Oct 19, 2022

Same thing on Detekt itself:

gradlew detektMain detektTest
> Configure project :detekt-gradle-plugin
Signing plugin detected. Will automatically sign the published artifacts.
Type-safe project accessors is an incubating feature.

> Task :detekt-psi-utils:detektMain
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-psi-utils\src\main\java

> Task :detekt-report-xml:detektMain
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-report-xml\src\main\java
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-api\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-psi-utils\build\classes\java\main

> Task :detekt-report-sarif:detektMain
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-report-sarif\src\main\java
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-tooling\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-api\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-psi-utils\build\classes\java\main

> Task :detekt-generator:detektMain
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-generator\src\main\java
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-parser\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-api\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-rules-empty\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-formatting\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-cli\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-utils\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-psi-utils\build\classes\java\main

> Task :detekt-parser:detektMain
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-parser\src\main\java
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-psi-utils\build\classes\java\main

> Task :detekt-report-md:detektMain
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-report-md\src\main\java
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-metrics\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-api\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-utils\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-psi-utils\build\classes\java\main

> Task :detekt-rules-libraries:detektMain
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-rules-libraries\src\main\java
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-api\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-psi-utils\build\classes\java\main

> Task :detekt-utils:detektMain
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-utils\src\main\java

> Task :detekt-report-txt:detektMain
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-report-txt\src\main\java
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-api\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-psi-utils\build\classes\java\main

> Task :detekt-rules-coroutines:detektMain
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-rules-coroutines\src\main\java
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-api\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-psi-utils\build\classes\java\main

> Task :detekt-rules:detektTest
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-rules\src\test\java
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-rules\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-rules\build\classes\kotlin\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-rules\build\resources\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-test\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-test-utils\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-core\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-rules-complexity\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-rules-coroutines\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-rules-documentation\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-rules-empty\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-rules-errorprone\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-rules-exceptions\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-rules-naming\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-rules-performance\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-rules-style\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-tooling\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-api\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-parser\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-psi-utils\build\classes\java\main

> Task :detekt-test-utils:detektMain
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-test-utils\src\main\java
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-parser\build\classes\java\main

> Task :detekt-rules-ruleauthors:detektMain FAILED
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-rules-ruleauthors\src\main\java
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-api\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-psi-utils\build\classes\java\main
The BindingContext was created with 8 issues. Run detekt CLI with --debug or set `detekt { debug = true }` in Gradle to see the error messages.
P:\projects\contrib\github-detekt\detekt-rules-ruleauthors\src\main\kotlin\io\gitlab\arturbosch\detekt\authors\UseNamedLocation.kt:40:23: Calling !! on a nullable type will throw a NullPointerException at runtime in case the value is null. It should be avoided. [UnsafeCallOnNullableType]
P:\projects\contrib\github-detekt\detekt-rules-ruleauthors\src\main\kotlin\io\gitlab\arturbosch\detekt\authors\UseNamedLocation.kt:46:37: Calling !! on a nullable type will throw a NullPointerException at runtime in case the value is null. It should be avoided. [UnsafeCallOnNullableType]
P:\projects\contrib\github-detekt\detekt-rules-ruleauthors\src\main\kotlin\io\gitlab\arturbosch\detekt\authors\UseNamedLocation.kt:71:44: Calling !! on a nullable type will throw a NullPointerException at runtime in case the value is null. It should be avoided. [UnsafeCallOnNullableType]
P:\projects\contrib\github-detekt\detekt-rules-ruleauthors\src\main\kotlin\io\gitlab\arturbosch\detekt\authors\UseNamedLocation.kt:74:44: Calling !! on a nullable type will throw a NullPointerException at runtime in case the value is null. It should be avoided. [UnsafeCallOnNullableType]


> Task :detekt-sample-extensions:detektMain
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-sample-extensions\src\main\java
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-api\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-psi-utils\build\classes\java\main

> Task :detekt-report-html:detektMain
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-report-html\src\main\java
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-metrics\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-api\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-utils\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-psi-utils\build\classes\java\main

> Task :detekt-cli:detektMain
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-cli\src\main\java
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-tooling\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-parser\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-api\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-psi-utils\build\classes\java\main

> Task :detekt-rules-empty:detektMain
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-rules-empty\src\main\java
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-api\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-psi-utils\build\classes\java\main

> Task :detekt-test:detektMain
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-test\src\main\java
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-core\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-tooling\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-api\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-test-utils\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-utils\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-psi-utils\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-parser\build\classes\java\main

> Task :detekt-rules-performance:detektMain
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-rules-performance\src\main\java
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-api\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-psi-utils\build\classes\java\main

> Task :detekt-rules-complexity:detektMain
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-rules-complexity\src\main\java
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-metrics\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-tooling\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-api\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-psi-utils\build\classes\java\main

> Task :detekt-test-utils:detektTest
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-test-utils\src\test\java
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-test-utils\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-test-utils\build\resources\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-parser\build\classes\java\main
The BindingContext was created with 11 issues. Run detekt CLI with --debug or set `detekt { debug = true }` in Gradle to see the error messages.

> Task :detekt-rules-documentation:detektMain
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-rules-documentation\src\main\java
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-api\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-psi-utils\build\classes\java\main

> Task :detekt-tooling:detektMain
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-tooling\src\main\java
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-api\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-psi-utils\build\classes\java\main

> Task :detekt-rules-errorprone:detektMain
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-rules-errorprone\src\main\java
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-tooling\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-api\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-psi-utils\build\classes\java\main

> Task :detekt-report-xml:detektTest
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-report-xml\src\test\java
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-report-xml\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-api\build\classes\java\testFixtures
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-api\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-psi-utils\build\classes\java\main

> Task :detekt-report-txt:detektTest
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-report-txt\src\test\java
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-report-txt\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-api\build\classes\java\testFixtures
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-api\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-psi-utils\build\classes\java\main

> Task :detekt-rules-exceptions:detektMain
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-rules-exceptions\src\main\java
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-api\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-psi-utils\build\classes\java\main

> Task :detekt-formatting:detektMain
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-formatting\src\main\java
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-api\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-psi-utils\build\classes\java\main

> Task :detekt-utils:detektTest
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-utils\src\test\java
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-utils\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-utils\build\resources\main

> Task :detekt-core:detektMain
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-core\src\main\java
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-tooling\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-metrics\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-api\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-parser\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-psi-utils\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-report-html\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-report-md\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-report-txt\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-report-xml\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-report-sarif\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-utils\build\classes\java\main

> Task :detekt-rules-ruleauthors:detektTest
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-rules-ruleauthors\src\test\java
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-rules-ruleauthors\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-test\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-test-utils\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-api\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-psi-utils\build\classes\java\main

> Task :detekt-metrics:detektMain
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-metrics\src\main\java
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-api\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-psi-utils\build\classes\java\main

> Task :detekt-api:detektMain
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-api\src\main\java
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-psi-utils\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-utils\build\classes\java\main

> Task :detekt-report-sarif:detektTest
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-report-sarif\src\test\java
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-report-sarif\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-test\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-test-utils\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-tooling\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-api\build\classes\java\testFixtures
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-api\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-psi-utils\build\classes\java\main

> Task :detekt-rules-naming:detektMain
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-rules-naming\src\main\java
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-api\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-psi-utils\build\classes\java\main

> Task :detekt-sample-extensions:detektTest
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-sample-extensions\src\test\java
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-sample-extensions\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-test\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-test-utils\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-api\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-psi-utils\build\classes\java\main

> Task :detekt-rules-style:detektMain
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-rules-style\src\main\java
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-metrics\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-tooling\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-api\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-psi-utils\build\classes\java\main

> Task :detekt-rules-libraries:detektTest
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-rules-libraries\src\test\java
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-rules-libraries\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-test\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-test-utils\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-api\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-psi-utils\build\classes\java\main

> Task :detekt-parser:detektTest
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-parser\src\test\java
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-parser\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-parser\build\resources\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-psi-utils\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-test-utils\build\classes\java\main
The BindingContext was created with 4 issues. Run detekt CLI with --debug or set `detekt { debug = true }` in Gradle to see the error messages.

> Task :detekt-report-md:detektTest
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-report-md\src\test\java
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-report-md\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-metrics\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-api\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-api\build\classes\java\testFixtures
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-utils\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-psi-utils\build\classes\java\main

> Task :detekt-rules-coroutines:detektTest
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-rules-coroutines\src\test\java
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-rules-coroutines\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-test\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-test-utils\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-api\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-psi-utils\build\classes\java\main

> Task :detekt-rules-empty:detektTest
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-rules-empty\src\test\java
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-rules-empty\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-test\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-test-utils\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-api\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-psi-utils\build\classes\java\main

> Task :detekt-report-html:detektTest
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-report-html\src\test\java
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-report-html\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-utils\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-test-utils\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-metrics\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-api\build\classes\java\testFixtures
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-api\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-psi-utils\build\classes\java\main
The BindingContext was created with 8 issues. Run detekt CLI with --debug or set `detekt { debug = true }` in Gradle to see the error messages.

> Task :detekt-psi-utils:detektTest
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-psi-utils\src\test\java
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-psi-utils\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-psi-utils\build\resources\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-test\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-api\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-test-utils\build\classes\java\main

> Task :detekt-rules-performance:detektTest
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-rules-performance\src\test\java
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-rules-performance\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-test\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-test-utils\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-api\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-psi-utils\build\classes\java\main

> Task :detekt-tooling:detektTest
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-tooling\src\test\java
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-tooling\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-tooling\build\resources\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-test\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-api\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-test-utils\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-psi-utils\build\classes\java\main
The BindingContext was created with 10 issues. Run detekt CLI with --debug or set `detekt { debug = true }` in Gradle to see the error messages.

> Task :detekt-cli:detektTest
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-cli\src\test\java
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-cli\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-tooling\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-parser\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-api\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-psi-utils\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-test-utils\build\classes\java\main
The BindingContext was created with 2 issues. Run detekt CLI with --debug or set `detekt { debug = true }` in Gradle to see the error messages.

> Task :detekt-metrics:detektTest
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-metrics\src\test\java
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-metrics\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-metrics\build\resources\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-api\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-api\build\classes\java\testFixtures
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-test-utils\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-psi-utils\build\classes\java\main

> Task :detekt-rules-exceptions:detektTest
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-rules-exceptions\src\test\java
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-rules-exceptions\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-test\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-test-utils\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-api\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-psi-utils\build\classes\java\main

> Task :detekt-rules-documentation:detektTest
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-rules-documentation\src\test\java
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-rules-documentation\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-test\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-test-utils\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-api\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-psi-utils\build\classes\java\main

> Task :detekt-rules-complexity:detektTest
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-rules-complexity\src\test\java
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-rules-complexity\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-test\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-test-utils\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-metrics\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-api\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-psi-utils\build\classes\java\main

> Task :detekt-formatting:detektTest
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-formatting\src\test\java
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-formatting\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-test\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-test-utils\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-api\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-psi-utils\build\classes\java\main
The BindingContext was created with 1 issues. Run detekt CLI with --debug or set `detekt { debug = true }` in Gradle to see the error messages.

> Task :detekt-rules-naming:detektTest
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-rules-naming\src\test\java
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-rules-naming\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-test\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-test-utils\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-api\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-psi-utils\build\classes\java\main

> Task :detekt-generator:detektTest
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-generator\src\test\java
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-generator\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-generator\build\resources\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-core\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-parser\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-tooling\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-api\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-rules-empty\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-formatting\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-cli\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-utils\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-test-utils\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-psi-utils\build\classes\java\main
The BindingContext was created with 60 issues. Run detekt CLI with --debug or set `detekt { debug = true }` in Gradle to see the error messages.

> Task :detekt-api:detektTest
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-api\src\test\java
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-test\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-api\build\classes\java\testFixtures
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-api\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-psi-utils\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-utils\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-test-utils\build\classes\java\main
The BindingContext was created with 4 issues. Run detekt CLI with --debug or set `detekt { debug = true }` in Gradle to see the error messages.

> Task :detekt-rules-errorprone:detektTest
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-rules-errorprone\src\test\java
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-rules-errorprone\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-tooling\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-test\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-test-utils\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-api\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-psi-utils\build\classes\java\main
> Task :detekt-core:detektTest
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-core\src\test\java
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-core\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-tooling\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-metrics\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-test\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-api\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-api\build\classes\java\testFixtures
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-parser\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-psi-utils\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-report-html\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-report-md\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-report-txt\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-report-xml\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-report-sarif\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-utils\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-test-utils\build\classes\java\main
The BindingContext was created with 242 issues. Run detekt CLI with --debug or set `detekt { debug = true }` in Gradle to see the error messages.

> Task :detekt-rules-style:detektTest
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-rules-style\src\test\java
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-rules-style\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-test\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-test-utils\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-metrics\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-api\build\classes\java\main
warning: classpath entry points to a non-existent location: P:\projects\contrib\github-detekt\detekt-psi-utils\build\classes\java\main

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':detekt-rules-ruleauthors:detektMain'.
> Analysis failed with 4 weighted issues.

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.

* Get more help at https://help.gradle.org

BUILD FAILED in 2m 10s
150 actionable tasks: 150 executed

Good luck quickly reading the findings...

Expected:

> Task :detekt-rules-ruleauthors:detektMain FAILED
P:\projects\contrib\github-detekt\detekt-rules-ruleauthors\src\main\kotlin\io\gitlab\arturbosch\detekt\authors\UseNamedLocation.kt:40:23: Calling !! on a nullable type will throw a NullPointerException at runtime in case the value is null. It should be avoided. [UnsafeCallOnNullableType]
P:\projects\contrib\github-detekt\detekt-rules-ruleauthors\src\main\kotlin\io\gitlab\arturbosch\detekt\authors\UseNamedLocation.kt:46:37: Calling !! on a nullable type will throw a NullPointerException at runtime in case the value is null. It should be avoided. [UnsafeCallOnNullableType]
P:\projects\contrib\github-detekt\detekt-rules-ruleauthors\src\main\kotlin\io\gitlab\arturbosch\detekt\authors\UseNamedLocation.kt:71:44: Calling !! on a nullable type will throw a NullPointerException at runtime in case the value is null. It should be avoided. [UnsafeCallOnNullableType]
P:\projects\contrib\github-detekt\detekt-rules-ruleauthors\src\main\kotlin\io\gitlab\arturbosch\detekt\authors\UseNamedLocation.kt:74:44: Calling !! on a nullable type will throw a NullPointerException at runtime in case the value is null. It should be avoided. [UnsafeCallOnNullableType]

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':detekt-rules-ruleauthors:detektMain'.
> Analysis failed with 4 weighted issues.

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.

* Get more help at https://help.gradle.org

BUILD FAILED in 2m 10s
150 actionable tasks: 150 executed

Note that Detekt is a small project, at work we have ~250 modules, and I think even that is a medium project only.

@BraisGabin BraisGabin added this to the 1.22.0 milestone Oct 19, 2022
@BraisGabin
Copy link
Member

I see diferent issues listed here. But I agree, the warning should not be there. I assume that's something that the updated compiler is printing, but we should take a look at that.

About the message "The BindingContext was created with 242 issues. [...]": I think it is good to keep it there there. It ensure the idea that type solving is still not solving everything at the moment so detekt could have some false negatives.

@TWiStErRob
Copy link
Member Author

I think the key here is that these warnings are unfixable (in both cases) by end users of Detekt, but they get bugged about it every single execution. Average Joe developer at Big Company doesn't care or know about this, even me as a contributor still raise my eyebrow at BindingContext. Joe just wants to see what they messed up according to their team's Detekt setup. When looking at the details with debug = true it'll still just show unfixable problems, so people will just learn to tune these warnings out (and every other warning from any log / check). They might be useful for Platform engineers, but only behind a flag similar to debug.

@BraisGabin
Copy link
Member

I would like to know what other people think about this. For sure we can completely remove the "The BindingContext was created with 242 issues. [...]" message.

For me this situation is odd because in one hand type resolution is still experimental and have some rought edges. On the other hand half of the rules of detekt use type resolution and I think that all the maintainer doesn't think too much about detekt without type solving. It would be great to make the our compiler plugin production ready to fix all these issues but we need hands for doing that.

so people will just learn to tune these warnings out (and every other warning from any log / check)

☝️ To me this is a really good reason to remove that message.

@ZacSweers
Copy link
Contributor

ZacSweers commented Oct 19, 2022

I think those messages are inactionable and will condition users to tune out detekt logs by default

@cortinico
Copy link
Member

For sure we can completely remove the "The BindingContext was created with 242 issues. [...]" message.

+1 on suppressing this. End users don't need to know what a BindingContext is frankly.

@BraisGabin
Copy link
Member

#5448 and #5449 should fix these :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants