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

Current master branch doesn't build #5319

Closed
msridhar opened this issue Sep 16, 2022 · 1 comment · Fixed by #5324
Closed

Current master branch doesn't build #5319

msridhar opened this issue Sep 16, 2022 · 1 comment · Fixed by #5324
Assignees
Labels

Comments

@msridhar
Copy link
Contributor

I'm at git SHA aa4c449c16c2594288bf5ec73fb882a36b60b6d5 on the master branch. If I run ./gradlew build (after successfully running ./gradlew cloneAndBuildDependencies) I get the following error:

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':framework-test:spotlessJavaCheck'.
> The following files had format violations:
      src/main/java/org/checkerframework/framework/test/CheckerFrameworkWPIPerDirectoryTest.java
          @@ -48,7 +48,7 @@
           ···*·····typechecked·ends·with.·Usually,·this·takes·the·form·"all-systems/ProblematicFile.java".
           ···*/
           ··protected·void·doNotTypecheck(
          -··········@UnderInitialization(CheckerFrameworkPerDirectoryTest.class)·CheckerFrameworkWPIPerDirectoryTest·this,
          +······@UnderInitialization(CheckerFrameworkPerDirectoryTest.class)·CheckerFrameworkWPIPerDirectoryTest·this,
           ······String·endswith)·{
           ····int·removeIndex·=·-1;
           ····for·(int·i·=·0;·i·<·testFiles.size();·i++)·{
  Run './gradlew :framework-test:spotlessApply' to fix these violations.

Is this expected?

@mernst mernst added the bug label Sep 16, 2022
@mernst
Copy link
Member

mernst commented Sep 16, 2022

I get the same behavior.
./gradlew copyJarsToDist does work.

Merging #5308 and #5311 will probably correct this; I believe @smillst is working on that right now.

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

Successfully merging a pull request may close this issue.

3 participants