Skip to content

Failing CI on WUnused tests #18512

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

Closed
szymon-rd opened this issue Sep 4, 2023 · 1 comment
Closed

Failing CI on WUnused tests #18512

szymon-rd opened this issue Sep 4, 2023 · 1 comment
Assignees
Labels
area:linting Linting warnings enabled with -W or -Xlint itype:bug

Comments

@szymon-rd
Copy link
Contributor

Tests started failing after merging #18468 to main.

[info] Test dotty.tools.dotc.CompilationTests.negAll started

Wrong number of errors encountered when compiling tests/neg/i15503a.scala
expected: 22, actual: 21
Unfulfilled expectations:
tests/neg/i15503a.scala:245
Unexpected errors:

-> following the errors:
 at 5: unused import
 at 6: unused import
 at 7: unused import
 at 10: unused import
 at 25: unused import
 at 35: unused import
 at 39: unused import
 at 55: unused import
 at 67: unused import
 at 72: unused import
 at 83: unused import
 at 91: unused import
 at 109: unused import
 at 123: unused import
 at 152: unused import
 at 164: unused import
 at 177: unused import
 at 183: unused import
 at 189: unused import
 at 229: unused import
 at 251: unused import
Error:  Test dotty.tools.dotc.CompilationTests.negAll failed: java.lang.AssertionError: Neg test should have failed, but did not, took 114.789 sec
Error:      at dotty.tools.vulpix.ParallelTesting$CompilationTest.checkExpectedErrors(ParallelTesting.scala:1044)
Error:      at dotty.tools.dotc.CompilationTests.negAll(CompilationTests.scala:127)
Error:      at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Error:      at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
Error:      at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
Error:      at java.lang.reflect.Method.invoke(Method.java:567)
Error:      ...
@szymon-rd szymon-rd added itype:bug area:linting Linting warnings enabled with -W or -Xlint labels Sep 4, 2023
@szymon-rd szymon-rd self-assigned this Sep 4, 2023
@szymon-rd
Copy link
Contributor Author

Changes reverted on main

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:linting Linting warnings enabled with -W or -Xlint itype:bug
Projects
None yet
Development

No branches or pull requests

1 participant