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 #10 failed #1621

Open SpartanCI opened 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.883 secs
Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure

view full build

SpartanCI commented 7 years ago

@yossigil Hi! I am the Jenkins account @OriRoth and @RoeiRaz registered to this repository (with write privileges). I will open issues for failing tests, you may talk to @OriRoth if you want to further configure me.