You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by Apache Jenkins Server <je...@builds.apache.org> on 2016/02/14 02:40:54 UTC

Build failed in Jenkins: Thrift-precommit #133

See <https://builds.apache.org/job/Thrift-precommit/133/changes>

Changes:

[jensg] THRIFT-3605 Have the compiler complain about invalid arguments and

------------------------------------------
[...truncated 3462 lines...]
    [javac]     S extends IScheme declared in method <S>getScheme()
    [javac] /thrift/lib/java/src/org/apache/thrift/TUnion.java:217: warning: [unchecked] unchecked assignment to variable setField_ as member of raw type TUnion
    [javac]       struct.setField_ = null;
    [javac]             ^
    [javac] /thrift/lib/java/src/org/apache/thrift/TUnion.java:226: warning: [unchecked] unchecked assignment to variable setField_ as member of raw type TUnion
    [javac]         struct.setField_ = struct.enumForId(field.id);
    [javac]               ^
    [javac] /thrift/lib/java/src/org/apache/thrift/TUnion.java:243: warning: [unchecked] unchecked call to getFieldDesc(F) as a member of the raw type TUnion
    [javac]       oprot.writeFieldBegin(struct.getFieldDesc(struct.setField_));
    [javac]                                                ^
    [javac]   where F is a type-variable:
    [javac]     F extends TFieldIdEnum declared in class TUnion
    [javac] /thrift/lib/java/src/org/apache/thrift/TUnion.java:252: warning: [unchecked] getScheme() in TUnionTupleSchemeFactory implements <S>getScheme() in SchemeFactory
    [javac]     public TUnionTupleScheme getScheme() {
    [javac]                              ^
    [javac]   return type requires unchecked conversion from TUnionTupleScheme to S
    [javac]   where S is a type-variable:
    [javac]     S extends IScheme declared in method <S>getScheme()
    [javac] /thrift/lib/java/src/org/apache/thrift/TUnion.java:261: warning: [unchecked] unchecked assignment to variable setField_ as member of raw type TUnion
    [javac]       struct.setField_ = null;
    [javac]             ^
    [javac] /thrift/lib/java/src/org/apache/thrift/TUnion.java:266: warning: [unchecked] unchecked assignment to variable setField_ as member of raw type TUnion
    [javac]         struct.setField_ = struct.enumForId(fieldID);
    [javac]               ^
    [javac] /thrift/lib/java/src/org/apache/thrift/async/TAsyncMethodCall.java:229: warning: [unchecked] unchecked cast
    [javac]     callback.onComplete((T)this);
    [javac]                            ^
    [javac]   required: T
    [javac]   found:    TAsyncMethodCall<T>
    [javac]   where T is a type-variable:
    [javac]     T extends Object declared in class TAsyncMethodCall
    [javac] Note: /thrift/lib/java/src/org/apache/thrift/transport/THttpClient.java uses or overrides a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] 45 warnings

dist:
    [mkdir] Created dir: /thrift/lib/java/build/META-INF
     [copy] Copying 1 file to /thrift/lib/java/build/META-INF
     [copy] Copying 1 file to /thrift/lib/java/build/META-INF
      [jar] Building jar: /thrift/lib/java/build/libthrift-1.0.0.jar

BUILD SUCCESSFUL
Total time: 7 seconds
make  check-local
make[3]: Entering directory `/thrift/lib/java'
/usr/bin/ant 
Buildfile: /thrift/lib/java/build.xml

setup.init:

mvn.ant.tasks.check:

proxy:

mvn.ant.tasks.download:
      [get] Getting: http://repo1.maven.org/maven2/org/apache/maven/maven-ant-tasks/2.1.3/maven-ant-tasks-2.1.3.jar
      [get] To: /thrift/lib/java/build/tools/maven-ant-tasks-2.1.3.jar
      [get] Not modified - so not downloaded

mvn.init:
[artifact:dependencies] [WARNING] Overriding profile: 'maven-ant-tasks-repo-profile' (source: pom) with new instance from source: pom

init:

compile:

dist:

BUILD SUCCESSFUL
Total time: 2 seconds
/usr/bin/ant  test
Buildfile: /thrift/lib/java/build.xml

optional-generate:

generate:
     [exec] [WARNING:/thrift/test/ThriftTest.thrift:83] The "byte" type is a compatibility alias for "i8". Use "i8" to emphasize the signedness of this type.
     [exec] 
     [exec] [WARNING:/thrift/test/ThriftTest.thrift:44] No generator named 'noexist' could be found!
     [exec] [WARNING:/thrift/test/ThriftTest.thrift:46] cpp generator does not accept 'noexist' as sub-namespace!
     [exec] Error: unknown option java:hashcode
     [exec] [WARNING:/thrift/test/DebugProtoTest.thrift:39] The "byte" type is a compatibility alias for "i8". Use "i8" to emphasize the signedness of this type.
     [exec] 
     [exec] [WARNING:/thrift/test/DebugProtoTest.thrift:42] 64-bit constant "10000000000" may not work in all languages.
     [exec] 
     [exec] [WARNING:/thrift/test/DebugProtoTest.thrift:178] 64-bit constant "1099511627775" may not work in all languages.
     [exec] 
     [exec] [WARNING:/thrift/test/DebugProtoTest.thrift:188] 64-bit constant "4294967295" may not work in all languages.
     [exec] 
     [exec] [WARNING:/thrift/test/DebugProtoTest.thrift:188] 64-bit constant "1099511627775" may not work in all languages.
     [exec] 
     [exec] [WARNING:/thrift/test/DebugProtoTest.thrift:188] 64-bit constant "281474976710655" may not work in all languages.
     [exec] 
     [exec] [WARNING:/thrift/test/DebugProtoTest.thrift:188] 64-bit constant "72057594037927935" may not work in all languages.
     [exec] 
     [exec] [WARNING:/thrift/test/DebugProtoTest.thrift:188] 64-bit constant "9223372036854775807" may not work in all languages.
     [exec] 
     [exec] [WARNING:/thrift/test/DebugProtoTest.thrift:197] 64-bit constant "4294967295" may not work in all languages.
     [exec] 
     [exec] [WARNING:/thrift/test/DebugProtoTest.thrift:197] 64-bit constant "1099511627775" may not work in all languages.
     [exec] 
     [exec] [WARNING:/thrift/test/DebugProtoTest.thrift:197] 64-bit constant "281474976710655" may not work in all languages.
     [exec] 
     [exec] [WARNING:/thrift/test/DebugProtoTest.thrift:197] 64-bit constant "72057594037927935" may not work in all languages.
     [exec] 
     [exec] [WARNING:/thrift/test/DebugProtoTest.thrift:197] 64-bit constant "9223372036854775807" may not work in all languages.
     [exec] 
     [exec] [WARNING:/thrift/test/DebugProtoTest.thrift:206] 64-bit constant "9223372036854775807" may not work in all languages.
     [exec] 
     [exec] [WARNING:/thrift/test/DebugProtoTest.thrift:213] 64-bit constant "9223372036854775807" may not work in all languages.
     [exec] 
     [exec] [WARNING:/thrift/test/DebugProtoTest.thrift:360] No field key specified for field1, resulting protocol may have conflicts or not be backwards compatible!
     [exec] 
     [exec] [WARNING:/thrift/test/DebugProtoTest.thrift:361] No field key specified for field2, resulting protocol may have conflicts or not be backwards compatible!
     [exec] 
     [exec] [WARNING:/thrift/test/DebugProtoTest.thrift:362] No field key specified for field3, resulting protocol may have conflicts or not be backwards compatible!
     [exec] 
     [exec] [WARNING:/thrift/test/DebugProtoTest.thrift:363] No field key specified for field4, resulting protocol may have conflicts or not be backwards compatible!
     [exec] 
     [exec] [WARNING:/thrift/test/DebugProtoTest.thrift:364] No field key specified for field5, resulting protocol may have conflicts or not be backwards compatible!
     [exec] 
     [exec] [WARNING:/thrift/test/DebugProtoTest.thrift:365] No field key specified for field6, resulting protocol may have conflicts or not be backwards compatible!
     [exec] 
     [exec] [WARNING:/thrift/test/DebugProtoTest.thrift:366] No field key specified for field7, resulting protocol may have conflicts or not be backwards compatible!
     [exec] 
     [exec] [WARNING:/thrift/test/DebugProtoTest.thrift:367] No field key specified for field8, resulting protocol may have conflicts or not be backwards compatible!
     [exec] 
     [exec] [WARNING:/thrift/test/DebugProtoTest.thrift:368] No field key specified for field9, resulting protocol may have conflicts or not be backwards compatible!
     [exec] 
     [exec] [WARNING:/thrift/test/DebugProtoTest.thrift:369] No field key specified for field10, resulting protocol may have conflicts or not be backwards compatible!
     [exec] 
     [exec] [WARNING:/thrift/test/DebugProtoTest.thrift:370] No field key specified for field11, resulting protocol may have conflicts or not be backwards compatible!
     [exec] 
     [exec] [WARNING:/thrift/test/DebugProtoTest.thrift:371] No field key specified for field12, resulting protocol may have conflicts or not be backwards compatible!
     [exec] 
     [exec] [WARNING:/thrift/test/DebugProtoTest.thrift:42] 64-bit constant "10000000000" may not work in all languages.
     [exec] 
     [exec] [WARNING:/thrift/test/DebugProtoTest.thrift:48] Consider using the more efficient "binary" type instead of "list<byte>".
     [exec] [WARNING:/thrift/test/DebugProtoTest.thrift:120] Consider using the more efficient "binary" type instead of "list<byte>".
     [exec] [WARNING:/thrift/test/DebugProtoTest.thrift:160] Consider using the more efficient "binary" type instead of "list<byte>".
     [exec] [WARNING:/thrift/test/DebugProtoTest.thrift:166] Consider using the more efficient "binary" type instead of "list<byte>".
     [exec] [WARNING:/thrift/test/DebugProtoTest.thrift:178] 64-bit constant "1099511627775" may not work in all languages.
     [exec] 
     [exec] [WARNING:/thrift/test/DebugProtoTest.thrift:188] 64-bit constant "4294967295" may not work in all languages.
     [exec] 
     [exec] [WARNING:/thrift/test/DebugProtoTest.thrift:188] 64-bit constant "1099511627775" may not work in all languages.
     [exec] 
     [exec] [WARNING:/thrift/test/DebugProtoTest.thrift:188] 64-bit constant "281474976710655" may not work in all languages.
     [exec] 
     [exec] [WARNING:/thrift/test/DebugProtoTest.thrift:188] 64-bit constant "72057594037927935" may not work in all languages.
     [exec] 
     [exec] [WARNING:/thrift/test/DebugProtoTest.thrift:188] 64-bit constant "9223372036854775807" may not work in all languages.
     [exec] 
     [exec] [WARNING:/thrift/test/DebugProtoTest.thrift:197] 64-bit constant "4294967295" may not work in all languages.
     [exec] 
     [exec] [WARNING:/thrift/test/DebugProtoTest.thrift:197] 64-bit constant "1099511627775" may not work in all languages.
     [exec] 
     [exec] [WARNING:/thrift/test/DebugProtoTest.thrift:197] 64-bit constant "281474976710655" may not work in all languages.
     [exec] 
     [exec] [WARNING:/thrift/test/DebugProtoTest.thrift:197] 64-bit constant "72057594037927935" may not work in all languages.
     [exec] 
     [exec] [WARNING:/thrift/test/DebugProtoTest.thrift:197] 64-bit constant "9223372036854775807" may not work in all languages.
     [exec] 
     [exec] [WARNING:/thrift/test/DebugProtoTest.thrift:206] 64-bit constant "9223372036854775807" may not work in all languages.
     [exec] 
     [exec] [WARNING:/thrift/test/DebugProtoTest.thrift:213] 64-bit constant "9223372036854775807" may not work in all languages.
     [exec] 
     [exec] [WARNING:/thrift/test/DebugProtoTest.thrift:360] No field key specified for field1, resulting protocol may have conflicts or not be backwards compatible!
     [exec] 
     [exec] [WARNING:/thrift/test/DebugProtoTest.thrift:361] No field key specified for field2, resulting protocol may have conflicts or not be backwards compatible!
     [exec] 
     [exec] [WARNING:/thrift/test/DebugProtoTest.thrift:362] No field key specified for field3, resulting protocol may have conflicts or not be backwards compatible!
     [exec] 
     [exec] [WARNING:/thrift/test/DebugProtoTest.thrift:363] No field key specified for field4, resulting protocol may have conflicts or not be backwards compatible!
     [exec] 
     [exec] [WARNING:/thrift/test/DebugProtoTest.thrift:364] No field key specified for field5, resulting protocol may have conflicts or not be backwards compatible!
     [exec] 
     [exec] [WARNING:/thrift/test/DebugProtoTest.thrift:365] No field key specified for field6, resulting protocol may have conflicts or not be backwards compatible!
     [exec] 
     [exec] [WARNING:/thrift/test/DebugProtoTest.thrift:366] No field key specified for field7, resulting protocol may have conflicts or not be backwards compatible!
     [exec] 
     [exec] [WARNING:/thrift/test/DebugProtoTest.thrift:367] No field key specified for field8, resulting protocol may have conflicts or not be backwards compatible!
     [exec] 
     [exec] [WARNING:/thrift/test/DebugProtoTest.thrift:368] No field key specified for field9, resulting protocol may have conflicts or not be backwards compatible!
     [exec] 
     [exec] [WARNING:/thrift/test/DebugProtoTest.thrift:369] No field key specified for field10, resulting protocol may have conflicts or not be backwards compatible!
     [exec] 
     [exec] [WARNING:/thrift/test/DebugProtoTest.thrift:370] No field key specified for field11, resulting protocol may have conflicts or not be backwards compatible!
     [exec] 
     [exec] [WARNING:/thrift/test/DebugProtoTest.thrift:371] No field key specified for field12, resulting protocol may have conflicts or not be backwards compatible!
     [exec] 
     [exec] Error: unknown option java:hashcode
     [exec] Error: unknown option java:hashcode
     [exec] [WARNING:/thrift/test/JavaBeansTest.thrift:24] The "byte" type is a compatibility alias for "i8". Use "i8" to emphasize the signedness of this type.
     [exec] 
     [exec] [WARNING:/thrift/test/JavaBeansTest.thrift:38] No field key specified for blah, resulting protocol may have conflicts or not be backwards compatible!
     [exec] 
     [exec] [WARNING:/thrift/test/JavaBeansTest.thrift:31] Consider using the more efficient "binary" type instead of "list<byte>".
     [exec] [WARNING:/thrift/test/JavaBeansTest.thrift:38] No field key specified for blah, resulting protocol may have conflicts or not be backwards compatible!
     [exec] 
     [exec] Error: unknown option java:hashcode
     [exec] [WARNING:/thrift/test/FullCamelTest.thrift:25] The "byte" type is a compatibility alias for "i8". Use "i8" to emphasize the signedness of this type.
     [exec] 
     [exec] Error: unknown option java:hashcode
     [exec] [WARNING:/thrift/test/ThriftTest.thrift:83] The "byte" type is a compatibility alias for "i8". Use "i8" to emphasize the signedness of this type.
     [exec] 
     [exec] [WARNING:/thrift/test/ThriftTest.thrift:44] No generator named 'noexist' could be found!
     [exec] [WARNING:/thrift/test/ThriftTest.thrift:46] cpp generator does not accept 'noexist' as sub-namespace!

setup.init:

mvn.ant.tasks.check:

proxy:

mvn.ant.tasks.download:
      [get] Getting: http://repo1.maven.org/maven2/org/apache/maven/maven-ant-tasks/2.1.3/maven-ant-tasks-2.1.3.jar
      [get] To: /thrift/lib/java/build/tools/maven-ant-tasks-2.1.3.jar
      [get] Not modified - so not downloaded

mvn.init:
[artifact:dependencies] [WARNING] Overriding profile: 'maven-ant-tasks-repo-profile' (source: pom) with new instance from source: pom

init:

compile:

dist:

compile-test:

BUILD FAILED
/thrift/lib/java/build.xml:171: srcdir "/thrift/lib/java/gen-java" does not exist!

Total time: 2 seconds
make[3]: *** [check-local] Error 1
make[3]: Leaving directory `/thrift/lib/java'
make[2]: *** [check-am] Error 2
make[2]: Leaving directory `/thrift/lib/java'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/thrift/lib'
make: *** [check-recursive] Error 1
Build step 'Execute shell' marked build as failure
[WARNINGS] Skipping publisher since build result is FAILURE
[TASKS] Skipping publisher since build result is FAILURE
Archiving artifacts
Publishing Javadoc
Update relevant JIRA issues is waiting for a checkpoint on Thrift-precommit #132
Updating THRIFT-3605

Jenkins build is back to normal : Thrift-precommit #134

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/Thrift-precommit/134/changes>