SpartanRefactoring / Main

Eclipse plugin that performs automatic refactoring of Java source code, making it shorter, more idiomatic and more readable
https://www.spartan.org.il
100 stars 56 forks source link

SpartanRefactoring #4 failed #1619

Closed SpartanCI closed 7 years ago

SpartanCI commented 7 years ago

Build 'SpartanRefactoring' is failing!

Last 50 lines of build output:

[...truncated 3.48 KB...]
:il.org.spartan.spartan:classes UP-TO-DATE
:il.org.spartan.spartan:jar UP-TO-DATE
:il.org.spartan.spartanizer-plugin:compileJava/var/lib/jenkins/workspace/SpartanRefactoring/il.org.spartan.spartanizer-plugin/src/main/java/il/org/spartan/spartanizer/cmdline/ASTInFilesVisitor.java:140: error: reference to beforeCheck is ambiguous
          on(TypeDeclaration.class).hook(r.beforeCheck(System.out::println).beforeCheck(q).afterCheck(System.out::println)
                                          ^
  both method beforeCheck(Consumer<T>) in Rule and method beforeCheck(Predicate<T>) in Rule match
  where T,R are type-variables:
    T extends Object declared in interface Rule
    R extends Object declared in interface Rule
/var/lib/jenkins/workspace/SpartanRefactoring/il.org.spartan.spartanizer-plugin/src/main/java/il/org/spartan/spartanizer/cmdline/ASTInFilesVisitor.java:140: error: reference to afterCheck is ambiguous
          on(TypeDeclaration.class).hook(r.beforeCheck(System.out::println).beforeCheck(q).afterCheck(System.out::println)
                                                                                          ^
  both method afterCheck(Consumer<T>) in Rule and method afterCheck(Predicate<T>) in Rule match
  where T,R are type-variables:
    T extends Object declared in interface Rule
    R extends Object declared in interface Rule
/var/lib/jenkins/workspace/SpartanRefactoring/il.org.spartan.spartanizer-plugin/src/main/java/il/org/spartan/spartanizer/cmdline/PrintAllInterfaces.java:23: error: reference to beforeCheck is ambiguous
          on(TypeDeclaration.class).hook(r.beforeCheck(System.out::println).beforeCheck(q).afterCheck(System.out::println)
                                          ^
  both method beforeCheck(Consumer<T>) in Rule and method beforeCheck(Predicate<T>) in Rule match
  where T,R are type-variables:
    T extends Object declared in interface Rule
    R extends Object declared in interface Rule
/var/lib/jenkins/workspace/SpartanRefactoring/il.org.spartan.spartanizer-plugin/src/main/java/il/org/spartan/spartanizer/cmdline/PrintAllInterfaces.java:23: error: reference to afterCheck is ambiguous
          on(TypeDeclaration.class).hook(r.beforeCheck(System.out::println).beforeCheck(q).afterCheck(System.out::println)
                                                                                          ^
  both method afterCheck(Consumer<T>) in Rule and method afterCheck(Predicate<T>) in Rule match
  where T,R are type-variables:
    T extends Object declared in interface Rule
    R extends Object declared in interface Rule
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
4 errors
 FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':il.org.spartan.spartanizer-plugin:compileJava'.
> Compilation failed; see the compiler error output for details.

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

BUILD FAILED

Total time: 13.773 secs
Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure

Changes since last successful build: No changes No changes

No changes

View full output

SpartanCI commented 7 years ago

Build 'SpartanRefactoring' is failing!

Last 50 lines of build output:

[...truncated 3.48 KB...]
:il.org.spartan.spartan:classes UP-TO-DATE
:il.org.spartan.spartan:jar UP-TO-DATE
:il.org.spartan.spartanizer-plugin:compileJava/var/lib/jenkins/workspace/SpartanRefactoring/il.org.spartan.spartanizer-plugin/src/main/java/il/org/spartan/spartanizer/cmdline/ASTInFilesVisitor.java:140: error: reference to beforeCheck is ambiguous
          on(TypeDeclaration.class).hook(r.beforeCheck(System.out::println).beforeCheck(q).afterCheck(System.out::println)
                                          ^
  both method beforeCheck(Consumer<T>) in Rule and method beforeCheck(Predicate<T>) in Rule match
  where T,R are type-variables:
    T extends Object declared in interface Rule
    R extends Object declared in interface Rule
/var/lib/jenkins/workspace/SpartanRefactoring/il.org.spartan.spartanizer-plugin/src/main/java/il/org/spartan/spartanizer/cmdline/ASTInFilesVisitor.java:140: error: reference to afterCheck is ambiguous
          on(TypeDeclaration.class).hook(r.beforeCheck(System.out::println).beforeCheck(q).afterCheck(System.out::println)
                                                                                          ^
  both method afterCheck(Consumer<T>) in Rule and method afterCheck(Predicate<T>) in Rule match
  where T,R are type-variables:
    T extends Object declared in interface Rule
    R extends Object declared in interface Rule
/var/lib/jenkins/workspace/SpartanRefactoring/il.org.spartan.spartanizer-plugin/src/main/java/il/org/spartan/spartanizer/cmdline/PrintAllInterfaces.java:23: error: reference to beforeCheck is ambiguous
          on(TypeDeclaration.class).hook(r.beforeCheck(System.out::println).beforeCheck(q).afterCheck(System.out::println)
                                          ^
  both method beforeCheck(Consumer<T>) in Rule and method beforeCheck(Predicate<T>) in Rule match
  where T,R are type-variables:
    T extends Object declared in interface Rule
    R extends Object declared in interface Rule
/var/lib/jenkins/workspace/SpartanRefactoring/il.org.spartan.spartanizer-plugin/src/main/java/il/org/spartan/spartanizer/cmdline/PrintAllInterfaces.java:23: error: reference to afterCheck is ambiguous
          on(TypeDeclaration.class).hook(r.beforeCheck(System.out::println).beforeCheck(q).afterCheck(System.out::println)
                                                                                          ^
  both method afterCheck(Consumer<T>) in Rule and method afterCheck(Predicate<T>) in Rule match
  where T,R are type-variables:
    T extends Object declared in interface Rule
    R extends Object declared in interface Rule
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
4 errors
 FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':il.org.spartan.spartanizer-plugin:compileJava'.
> Compilation failed; see the compiler error output for details.

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

BUILD FAILED

Total time: 13.995 secs
Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure

[view full build]{https://ssdlspartanci.cs.technion.ac.il/job/SpartanRefactoring/7/}

SpartanCI commented 7 years ago

Build 'SpartanRefactoring' is failing!

Last 50 lines of build output:

[...truncated 3.48 KB...]
:il.org.spartan.spartan:classes UP-TO-DATE
:il.org.spartan.spartan:jar UP-TO-DATE
:il.org.spartan.spartanizer-plugin:compileJava/var/lib/jenkins/workspace/SpartanRefactoring/il.org.spartan.spartanizer-plugin/src/main/java/il/org/spartan/spartanizer/cmdline/ASTInFilesVisitor.java:140: error: reference to beforeCheck is ambiguous
          on(TypeDeclaration.class).hook(r.beforeCheck(System.out::println).beforeCheck(q).afterCheck(System.out::println)
                                          ^
  both method beforeCheck(Consumer<T>) in Rule and method beforeCheck(Predicate<T>) in Rule match
  where T,R are type-variables:
    T extends Object declared in interface Rule
    R extends Object declared in interface Rule
/var/lib/jenkins/workspace/SpartanRefactoring/il.org.spartan.spartanizer-plugin/src/main/java/il/org/spartan/spartanizer/cmdline/ASTInFilesVisitor.java:140: error: reference to afterCheck is ambiguous
          on(TypeDeclaration.class).hook(r.beforeCheck(System.out::println).beforeCheck(q).afterCheck(System.out::println)
                                                                                          ^
  both method afterCheck(Consumer<T>) in Rule and method afterCheck(Predicate<T>) in Rule match
  where T,R are type-variables:
    T extends Object declared in interface Rule
    R extends Object declared in interface Rule
/var/lib/jenkins/workspace/SpartanRefactoring/il.org.spartan.spartanizer-plugin/src/main/java/il/org/spartan/spartanizer/cmdline/PrintAllInterfaces.java:23: error: reference to beforeCheck is ambiguous
          on(TypeDeclaration.class).hook(r.beforeCheck(System.out::println).beforeCheck(q).afterCheck(System.out::println)
                                          ^
  both method beforeCheck(Consumer<T>) in Rule and method beforeCheck(Predicate<T>) in Rule match
  where T,R are type-variables:
    T extends Object declared in interface Rule
    R extends Object declared in interface Rule
/var/lib/jenkins/workspace/SpartanRefactoring/il.org.spartan.spartanizer-plugin/src/main/java/il/org/spartan/spartanizer/cmdline/PrintAllInterfaces.java:23: error: reference to afterCheck is ambiguous
          on(TypeDeclaration.class).hook(r.beforeCheck(System.out::println).beforeCheck(q).afterCheck(System.out::println)
                                                                                          ^
  both method afterCheck(Consumer<T>) in Rule and method afterCheck(Predicate<T>) in Rule match
  where T,R are type-variables:
    T extends Object declared in interface Rule
    R extends Object declared in interface Rule
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
4 errors
 FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':il.org.spartan.spartanizer-plugin:compileJava'.
> Compilation failed; see the compiler error output for details.

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

BUILD FAILED

Total time: 13.894 secs
Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure

[view full build]{https://ssdlspartanci.cs.technion.ac.il/job/SpartanRefactoring/8/}