Created
February 1, 2018 22:50
-
-
Save perezd/4b39107381a9a032982fee3543c2f382 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Ran bazel build --javacopt="-Xdiags:verbose" guava/src/com/google/common/collect | |
INFO: Analysed target //guava/src/com/google/common/collect:collect (16 packages loaded). | |
INFO: Found 1 target... | |
INFO: From Executing genrule @bazel_tools//tools/jdk:gen_platformclasspath [for host]: | |
Note: external/bazel_tools/tools/jdk/DumpPlatformClassPath.java uses unchecked or unsafe operations. | |
Note: Recompile with -Xlint:unchecked for details. | |
ERROR: /home/perezd/src/guava/guava/src/com/google/common/collect/BUILD:3:1: Building guava/src/com/google/common/collect/libcollect.jar (215 source files) failed (Exit 1) | |
guava/src/com/google/common/collect/Collections2.java:182: error: method filter in class CollectSpliterators cannot be applied to given types; | |
return CollectSpliterators.filter(unfiltered.spliterator(), predicate); | |
^ | |
required: Spliterator<T>,java.util.function.Predicate<? super T> | |
found: Spliterator<E>,com.google.common.base.Predicate<CAP#1> | |
reason: cannot infer type-variable(s) T | |
(argument mismatch; com.google.common.base.Predicate<CAP#1> cannot be converted to java.util.function.Predicate<? super T>) | |
where T,E are type-variables: | |
T extends Object declared in method <T>filter(Spliterator<T>,java.util.function.Predicate<? super T>) | |
E extends Object declared in class FilteredCollection | |
where CAP#1 is a fresh type-variable: | |
CAP#1 extends Object super: E from capture of ? super E | |
guava/src/com/google/common/collect/Collections2.java:190: error: cannot find symbol | |
if (predicate.test(e)) { | |
^ | |
symbol: method test(E) | |
location: variable predicate of type Predicate<? super E> | |
where E is a type-variable: | |
E extends Object declared in class FilteredCollection | |
guava/src/com/google/common/collect/Collections2.java:290: error: method map in class CollectSpliterators cannot be applied to given types; | |
return CollectSpliterators.map(fromCollection.spliterator(), function); | |
^ | |
required: Spliterator<F#1>,java.util.function.Function<? super F#1,? extends T#1> | |
found: Spliterator<F#2>,com.google.common.base.Function<CAP#1,CAP#2> | |
reason: cannot infer type-variable(s) F#1,T#1 | |
(argument mismatch; com.google.common.base.Function<CAP#1,CAP#2> cannot be converted to java.util.function.Function<? super F#1,? extends T#1>) | |
where F#1,T#1,F#2,T#2 are type-variables: | |
F#1 extends Object declared in method <F#1,T#1>map(Spliterator<F#1>,java.util.function.Function<? super F#1,? extends T#1>) | |
T#1 extends Object declared in method <F#1,T#1>map(Spliterator<F#1>,java.util.function.Function<? super F#1,? extends T#1>) | |
F#2 extends Object declared in class TransformedCollection | |
T#2 extends Object declared in class TransformedCollection | |
where CAP#1,CAP#2 are fresh type-variables: | |
CAP#1 extends Object super: F#2 from capture of ? super F#2 | |
CAP#2 extends T#2 from capture of ? extends T#2 | |
guava/src/com/google/common/collect/Maps.java:2077: error: method map in class CollectSpliterators cannot be applied to given types; | |
return CollectSpliterators.map( | |
^ | |
required: Spliterator<F>,java.util.function.Function<? super F,? extends T> | |
found: Spliterator<Entry<K,V1>>,com.google.common.base.Function<Entry<K,V1>,Entry<K,V2>> | |
reason: cannot infer type-variable(s) F,T | |
(argument mismatch; com.google.common.base.Function<Entry<K,V1>,Entry<K,V2>> cannot be converted to java.util.function.Function<? super F,? extends T>) | |
where F,T,K,V1,V2 are type-variables: | |
F extends Object declared in method <F,T>map(Spliterator<F>,java.util.function.Function<? super F,? extends T>) | |
T extends Object declared in method <F,T>map(Spliterator<F>,java.util.function.Function<? super F,? extends T>) | |
K extends Object declared in class TransformedEntriesMap | |
V1 extends Object declared in class TransformedEntriesMap | |
V2 extends Object declared in class TransformedEntriesMap | |
guava/src/com/google/common/collect/Tables.java:339: error: method map in class CollectSpliterators cannot be applied to given types; | |
return CollectSpliterators.map(original.cellSet().spliterator(), (Function) TRANSPOSE_CELL); | |
^ | |
required: Spliterator<F>,java.util.function.Function<? super F,? extends T> | |
found: Spliterator<Cell<R,C,V>>,com.google.common.base.Function | |
reason: cannot infer type-variable(s) F,T | |
(argument mismatch; com.google.common.base.Function cannot be converted to java.util.function.Function<? super F,? extends T>) | |
where F,T,R,C,V are type-variables: | |
F extends Object declared in method <F,T>map(Spliterator<F>,java.util.function.Function<? super F,? extends T>) | |
T extends Object declared in method <F,T>map(Spliterator<F>,java.util.function.Function<? super F,? extends T>) | |
R extends Object declared in class TransposeTable | |
C extends Object declared in class TransposeTable | |
V extends Object declared in class TransposeTable | |
guava/src/com/google/common/collect/Tables.java:492: error: method map in class CollectSpliterators cannot be applied to given types; | |
return CollectSpliterators.map(fromTable.cellSet().spliterator(), cellFunction()); | |
^ | |
required: Spliterator<F>,java.util.function.Function<? super F,? extends T> | |
found: Spliterator<Cell<R,C,V1>>,com.google.common.base.Function<Cell<R,C,V1>,Cell<R,C,V2>> | |
reason: cannot infer type-variable(s) F,T | |
(argument mismatch; com.google.common.base.Function<Cell<R,C,V1>,Cell<R,C,V2>> cannot be converted to java.util.function.Function<? super F,? extends T>) | |
where F,T,R,C,V1,V2 are type-variables: | |
F extends Object declared in method <F,T>map(Spliterator<F>,java.util.function.Function<? super F,? extends T>) | |
T extends Object declared in method <F,T>map(Spliterator<F>,java.util.function.Function<? super F,? extends T>) | |
R extends Object declared in class TransformedTable | |
C extends Object declared in class TransformedTable | |
V1 extends Object declared in class TransformedTable | |
V2 extends Object declared in class TransformedTable | |
guava/src/com/google/common/collect/Iterables.java:196: error: method removeIf in interface Collection<E> cannot be applied to given types; | |
return ((Collection<T>) removeFrom).removeIf(predicate); | |
^ | |
required: java.util.function.Predicate<? super T> | |
found: com.google.common.base.Predicate<CAP#1> | |
reason: argument mismatch; com.google.common.base.Predicate<CAP#1> cannot be converted to java.util.function.Predicate<? super T> | |
where T,E are type-variables: | |
T extends Object declared in method <T>removeIf(Iterable<T>,com.google.common.base.Predicate<? super T>) | |
E extends Object declared in interface Collection | |
where CAP#1 is a fresh type-variable: | |
CAP#1 extends Object super: T from capture of ? super T | |
guava/src/com/google/common/collect/Iterables.java:567: error: cannot find symbol | |
if (retainIfTrue.test(a)) { | |
^ | |
symbol: method test(T) | |
location: variable retainIfTrue of type Predicate<? super T> | |
where T is a type-variable: | |
T extends Object declared in method <T>filter(Iterable<T>,Predicate<? super T>) | |
guava/src/com/google/common/collect/Iterables.java:575: error: method filter in class CollectSpliterators cannot be applied to given types; | |
return CollectSpliterators.filter(unfiltered.spliterator(), retainIfTrue); | |
^ | |
required: Spliterator<T#1>,java.util.function.Predicate<? super T#1> | |
found: Spliterator<T#2>,com.google.common.base.Predicate<CAP#1> | |
reason: cannot infer type-variable(s) T#1 | |
(argument mismatch; com.google.common.base.Predicate<CAP#1> cannot be converted to java.util.function.Predicate<? super T#1>) | |
where T#1,T#2 are type-variables: | |
T#1 extends Object declared in method <T#1>filter(Spliterator<T#1>,java.util.function.Predicate<? super T#1>) | |
T#2 extends Object declared in method <T#2>filter(Iterable<T#2>,com.google.common.base.Predicate<? super T#2>) | |
where CAP#1 is a fresh type-variable: | |
CAP#1 extends Object super: T#2 from capture of ? super T#2 | |
guava/src/com/google/common/collect/Iterables.java:712: error: method map in class CollectSpliterators cannot be applied to given types; | |
return CollectSpliterators.map(fromIterable.spliterator(), function); | |
^ | |
required: Spliterator<F#1>,java.util.function.Function<? super F#1,? extends T#1> | |
found: Spliterator<F#2>,com.google.common.base.Function<CAP#1,CAP#2> | |
reason: cannot infer type-variable(s) F#1,T#1 | |
(argument mismatch; com.google.common.base.Function<CAP#1,CAP#2> cannot be converted to java.util.function.Function<? super F#1,? extends T#1>) | |
where F#1,T#1,F#2,T#2 are type-variables: | |
F#1 extends Object declared in method <F#1,T#1>map(Spliterator<F#1>,java.util.function.Function<? super F#1,? extends T#1>) | |
T#1 extends Object declared in method <F#1,T#1>map(Spliterator<F#1>,java.util.function.Function<? super F#1,? extends T#1>) | |
F#2 extends Object declared in method <F#2,T#2>transform(Iterable<F#2>,com.google.common.base.Function<? super F#2,? extends T#2>) | |
T#2 extends Object declared in method <F#2,T#2>transform(Iterable<F#2>,com.google.common.base.Function<? super F#2,? extends T#2>) | |
where CAP#1,CAP#2 are fresh type-variables: | |
CAP#1 extends Object super: F#2 from capture of ? super F#2 | |
CAP#2 extends T#2 from capture of ? extends T#2 | |
Target //guava/src/com/google/common/collect:collect failed to build | |
Use --verbose_failures to see the command lines of failed build steps. | |
INFO: Elapsed time: 29.122s, Critical Path: 24.35s | |
FAILED: Build did NOT complete successfully |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment