[ 95%] Building Java objects for hamcrest-core.jar
org/hamcrest/core/AllOf.java:60: error: no suitable method found for allOf(List<Matcher<? super T#1>>)
return allOf(Arrays.asList(matchers));
^
method AllOf.<T#2>allOf(Iterable<Matcher<? super T#2>>) is not applicable
(inference variable T#3 has incompatible bounds
equality constraints: Matcher<? super CAP#1>
lower bounds: Matcher<? super T#1>)
method AllOf.<T#1>allOf(Matcher<? super T#1>...) is not applicable
(cannot infer type-variable(s) T#1
(varargs mismatch; no instance(s) of type variable(s) T#3 exist so that List<T#3> conforms to Matcher<? super T#1>))
method AllOf.<T#4>allOf(Matcher<? super T#4>,Matcher<? super T#4>) is not applicable
(cannot infer type-variable(s) T#4
(actual and formal argument lists differ in length))
method AllOf.<T#5>allOf(Matcher<? super T#5>,Matcher<? super T#5>,Matcher<? super T#5>) is not applicable
(cannot infer type-variable(s) T#5
(actual and formal argument lists differ in length))
method AllOf.<T#6>allOf(Matcher<? super T#6>,Matcher<? super T#6>,Matcher<? super T#6>,Matcher<? super T#6>) is not applicable
(cannot infer type-variable(s) T#6
(actual and formal argument lists differ in length))
method AllOf.<T#7>allOf(Matcher<? super T#7>,Matcher<? super T#7>,Matcher<? super T#7>,Matcher<? super T#7>,Matcher<? super T#7>) is not applicable
(cannot infer type-variable(s) T#7
(actual and formal argument lists differ in length))
method AllOf.<T#8>allOf(Matcher<? super T#8>,Matcher<? super T#8>,Matcher<? super T#8>,Matcher<? super T#8>,Matcher<? super T#8>,Matcher<? super T#8>) is not applicable
(cannot infer type-variable(s) T#8
(actual and formal argument lists differ in length))
where T#1,T#2,T#3,T#4,T#5,T#6,T#7,T#8 are type-variables:
T#1 extends Object declared in method <T#1>allOf(Matcher<? super T#1>...)
T#2 extends Object declared in method <T#2>allOf(Iterable<Matcher<? super T#2>>)
T#3 extends Object declared in method <T#3>asList(T#3...)
T#4 extends Object declared in method <T#4>allOf(Matcher<? super T#4>,Matcher<? super T#4>)
T#5 extends Object declared in method <T#5>allOf(Matcher<? super T#5>,Matcher<? super T#5>,Matcher<? super T#5>)
T#6 extends Object declared in method <T#6>allOf(Matcher<? super T#6>,Matcher<? super T#6>,Matcher<? super T#6>,Matcher<? super T#6>)
T#7 extends Object declared in method <T#7>allOf(Matcher<? super T#7>,Matcher<? super T#7>,Matcher<? super T#7>,Matcher<? super T#7>,Matcher<? super T#7>)
T#8 extends Object declared in method <T#8>allOf(Matcher<? super T#8>,Matcher<? super T#8>,Matcher<? super T#8>,Matcher<? super T#8>,Matcher<? super T#8>,Matcher<? super T#8>)
where CAP#1 is a fresh type-variable:
CAP#1 extends Object super: T#1 from capture of ? super T#1
org/hamcrest/core/AnyOf.java:50: error: no suitable method found for anyOf(List<Matcher<? super T#1>>)
return anyOf(Arrays.asList(matchers));
^
method AnyOf.<T#2>anyOf(Iterable<Matcher<? super T#2>>) is not applicable
(inference variable T#3 has incompatible bounds
equality constraints: Matcher<? super CAP#1>
lower bounds: Matcher<? super T#1>)
method AnyOf.<T#1>anyOf(Matcher<? super T#1>...) is not applicable
(cannot infer type-variable(s) T#1
(varargs mismatch; no instance(s) of type variable(s) T#3 exist so that List<T#3> conforms to Matcher<? super T#1>))
method AnyOf.<T#4>anyOf(Matcher<T#4>,Matcher<? super T#4>) is not applicable
(cannot infer type-variable(s) T#4
(actual and formal argument lists differ in length))
method AnyOf.<T#5>anyOf(Matcher<T#5>,Matcher<? super T#5>,Matcher<? super T#5>) is not applicable
(cannot infer type-variable(s) T#5
(actual and formal argument lists differ in length))
method AnyOf.<T#6>anyOf(Matcher<T#6>,Matcher<? super T#6>,Matcher<? super T#6>,Matcher<? super T#6>) is not applicable
(cannot infer type-variable(s) T#6
(actual and formal argument lists differ in length))
method AnyOf.<T#7>anyOf(Matcher<T#7>,Matcher<? super T#7>,Matcher<? super T#7>,Matcher<? super T#7>,Matcher<? super T#7>) is not applicable
(cannot infer type-variable(s) T#7
(actual and formal argument lists differ in length))
method AnyOf.<T#8>anyOf(Matcher<T#8>,Matcher<? super T#8>,Matcher<? super T#8>,Matcher<? super T#8>,Matcher<? super T#8>,Matcher<? super T#8>) is not applicable
(cannot infer type-variable(s) T#8
(actual and formal argument lists differ in length))
where T#1,T#2,T#3,T#4,T#5,T#6,T#7,T#8 are type-variables:
T#1 extends Object declared in method <T#1>anyOf(Matcher<? super T#1>...)
T#2 extends Object declared in method <T#2>anyOf(Iterable<Matcher<? super T#2>>)
T#3 extends Object declared in method <T#3>asList(T#3...)
T#4 extends Object declared in method <T#4>anyOf(Matcher<T#4>,Matcher<? super T#4>)
T#5 extends Object declared in method <T#5>anyOf(Matcher<T#5>,Matcher<? super T#5>,Matcher<? super T#5>)
T#6 extends Object declared in method <T#6>anyOf(Matcher<T#6>,Matcher<? super T#6>,Matcher<? super T#6>,Matcher<? super T#6>)
T#7 extends Object declared in method <T#7>anyOf(Matcher<T#7>,Matcher<? super T#7>,Matcher<? super T#7>,Matcher<? super T#7>,Matcher<? super T#7>)
T#8 extends Object declared in method <T#8>anyOf(Matcher<T#8>,Matcher<? super T#8>,Matcher<? super T#8>,Matcher<? super T#8>,Matcher<? super T#8>,Matcher<? super T#8>)
where CAP#1 is a fresh type-variable:
CAP#1 extends Object super: T#1 from capture of ? super T#1
org/hamcrest/CoreMatchers.java:234: warning: [dep-ann] deprecated item is not annotated with @Deprecated
public static org.hamcrest.Matcher is(java.lang.Class type) {
^
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
2 errors
1 warning
test/java/hamcrest-core-1.3/CMakeFiles/hamcrest-core.dir/build.make:106: recipe for target 'test/java/hamcrest-core-1.3/CMakeFiles/hamcrest-core.dir/java_compiled_hamcrest-core' failed
make[2]: [test/java/hamcrest-core-1.3/CMakeFiles/hamcrest-core.dir/java_compiled_hamcrest-core] Error 1
CMakeFiles/Makefile2:1853: recipe for target 'test/java/hamcrest-core-1.3/CMakeFiles/hamcrest-core.dir/all' failed
make[1]: [test/java/hamcrest-core-1.3/CMakeFiles/hamcrest-core.dir/all] Error 2
Makefile:160: recipe for target 'all' failed
make: *** [all] Error 2
Hello,
[ 95%] Building Java objects for hamcrest-core.jar org/hamcrest/core/AllOf.java:60: error: no suitable method found for allOf(List<Matcher<? super T#1>>) return allOf(Arrays.asList(matchers)); ^ method AllOf.<T#2>allOf(Iterable<Matcher<? super T#2>>) is not applicable (inference variable T#3 has incompatible bounds equality constraints: Matcher<? super CAP#1> lower bounds: Matcher<? super T#1>) method AllOf.<T#1>allOf(Matcher<? super T#1>...) is not applicable (cannot infer type-variable(s) T#1 (varargs mismatch; no instance(s) of type variable(s) T#3 exist so that List<T#3> conforms to Matcher<? super T#1>)) method AllOf.<T#4>allOf(Matcher<? super T#4>,Matcher<? super T#4>) is not applicable (cannot infer type-variable(s) T#4 (actual and formal argument lists differ in length)) method AllOf.<T#5>allOf(Matcher<? super T#5>,Matcher<? super T#5>,Matcher<? super T#5>) is not applicable (cannot infer type-variable(s) T#5 (actual and formal argument lists differ in length)) method AllOf.<T#6>allOf(Matcher<? super T#6>,Matcher<? super T#6>,Matcher<? super T#6>,Matcher<? super T#6>) is not applicable (cannot infer type-variable(s) T#6 (actual and formal argument lists differ in length)) method AllOf.<T#7>allOf(Matcher<? super T#7>,Matcher<? super T#7>,Matcher<? super T#7>,Matcher<? super T#7>,Matcher<? super T#7>) is not applicable (cannot infer type-variable(s) T#7 (actual and formal argument lists differ in length)) method AllOf.<T#8>allOf(Matcher<? super T#8>,Matcher<? super T#8>,Matcher<? super T#8>,Matcher<? super T#8>,Matcher<? super T#8>,Matcher<? super T#8>) is not applicable (cannot infer type-variable(s) T#8 (actual and formal argument lists differ in length)) where T#1,T#2,T#3,T#4,T#5,T#6,T#7,T#8 are type-variables: T#1 extends Object declared in method <T#1>allOf(Matcher<? super T#1>...) T#2 extends Object declared in method <T#2>allOf(Iterable<Matcher<? super T#2>>) T#3 extends Object declared in method <T#3>asList(T#3...) T#4 extends Object declared in method <T#4>allOf(Matcher<? super T#4>,Matcher<? super T#4>) T#5 extends Object declared in method <T#5>allOf(Matcher<? super T#5>,Matcher<? super T#5>,Matcher<? super T#5>) T#6 extends Object declared in method <T#6>allOf(Matcher<? super T#6>,Matcher<? super T#6>,Matcher<? super T#6>,Matcher<? super T#6>) T#7 extends Object declared in method <T#7>allOf(Matcher<? super T#7>,Matcher<? super T#7>,Matcher<? super T#7>,Matcher<? super T#7>,Matcher<? super T#7>) T#8 extends Object declared in method <T#8>allOf(Matcher<? super T#8>,Matcher<? super T#8>,Matcher<? super T#8>,Matcher<? super T#8>,Matcher<? super T#8>,Matcher<? super T#8>) where CAP#1 is a fresh type-variable: CAP#1 extends Object super: T#1 from capture of ? super T#1 org/hamcrest/core/AnyOf.java:50: error: no suitable method found for anyOf(List<Matcher<? super T#1>>) return anyOf(Arrays.asList(matchers)); ^ method AnyOf.<T#2>anyOf(Iterable<Matcher<? super T#2>>) is not applicable (inference variable T#3 has incompatible bounds equality constraints: Matcher<? super CAP#1> lower bounds: Matcher<? super T#1>) method AnyOf.<T#1>anyOf(Matcher<? super T#1>...) is not applicable (cannot infer type-variable(s) T#1 (varargs mismatch; no instance(s) of type variable(s) T#3 exist so that List<T#3> conforms to Matcher<? super T#1>)) method AnyOf.<T#4>anyOf(Matcher<T#4>,Matcher<? super T#4>) is not applicable (cannot infer type-variable(s) T#4 (actual and formal argument lists differ in length)) method AnyOf.<T#5>anyOf(Matcher<T#5>,Matcher<? super T#5>,Matcher<? super T#5>) is not applicable (cannot infer type-variable(s) T#5 (actual and formal argument lists differ in length)) method AnyOf.<T#6>anyOf(Matcher<T#6>,Matcher<? super T#6>,Matcher<? super T#6>,Matcher<? super T#6>) is not applicable (cannot infer type-variable(s) T#6 (actual and formal argument lists differ in length)) method AnyOf.<T#7>anyOf(Matcher<T#7>,Matcher<? super T#7>,Matcher<? super T#7>,Matcher<? super T#7>,Matcher<? super T#7>) is not applicable (cannot infer type-variable(s) T#7 (actual and formal argument lists differ in length)) method AnyOf.<T#8>anyOf(Matcher<T#8>,Matcher<? super T#8>,Matcher<? super T#8>,Matcher<? super T#8>,Matcher<? super T#8>,Matcher<? super T#8>) is not applicable (cannot infer type-variable(s) T#8 (actual and formal argument lists differ in length)) where T#1,T#2,T#3,T#4,T#5,T#6,T#7,T#8 are type-variables: T#1 extends Object declared in method <T#1>anyOf(Matcher<? super T#1>...) T#2 extends Object declared in method <T#2>anyOf(Iterable<Matcher<? super T#2>>) T#3 extends Object declared in method <T#3>asList(T#3...) T#4 extends Object declared in method <T#4>anyOf(Matcher<T#4>,Matcher<? super T#4>) T#5 extends Object declared in method <T#5>anyOf(Matcher<T#5>,Matcher<? super T#5>,Matcher<? super T#5>) T#6 extends Object declared in method <T#6>anyOf(Matcher<T#6>,Matcher<? super T#6>,Matcher<? super T#6>,Matcher<? super T#6>) T#7 extends Object declared in method <T#7>anyOf(Matcher<T#7>,Matcher<? super T#7>,Matcher<? super T#7>,Matcher<? super T#7>,Matcher<? super T#7>) T#8 extends Object declared in method <T#8>anyOf(Matcher<T#8>,Matcher<? super T#8>,Matcher<? super T#8>,Matcher<? super T#8>,Matcher<? super T#8>,Matcher<? super T#8>) where CAP#1 is a fresh type-variable: CAP#1 extends Object super: T#1 from capture of ? super T#1 org/hamcrest/CoreMatchers.java:234: warning: [dep-ann] deprecated item is not annotated with @Deprecated public static org.hamcrest.Matcher is(java.lang.Class type) {
^
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
2 errors
1 warning
test/java/hamcrest-core-1.3/CMakeFiles/hamcrest-core.dir/build.make:106: recipe for target 'test/java/hamcrest-core-1.3/CMakeFiles/hamcrest-core.dir/java_compiled_hamcrest-core' failed
make[2]: [test/java/hamcrest-core-1.3/CMakeFiles/hamcrest-core.dir/java_compiled_hamcrest-core] Error 1
CMakeFiles/Makefile2:1853: recipe for target 'test/java/hamcrest-core-1.3/CMakeFiles/hamcrest-core.dir/all' failed
make[1]: [test/java/hamcrest-core-1.3/CMakeFiles/hamcrest-core.dir/all] Error 2
Makefile:160: recipe for target 'all' failed
make: *** [all] Error 2
lcm 1.4.0 / Uuntu 16.04
Do you know how to fix it? THX!