See <https://builds.apache.org/job/Thrift-precommit/419/changes>
Changes: [jensg] THRIFT-3788 Compatibility improvements and Win64 support Client: Delphi [jensg] THRIFT-3788 Compatibility improvements and Win64 support Client: Delphi ------------------------------------------ [...truncated 58773 lines...] [4 of 4] Compiling Main ( TestServer.hs, TestServer.o ) Linking TestServer ... ghc -igen-hs TestClient.hs [4 of 5] Compiling ThriftTest_Client ( gen-hs/ThriftTest_Client.hs, gen-hs/ThriftTest_Client.o ) [5 of 5] Compiling Main ( TestClient.hs, TestClient.o ) Linking TestClient ... sh run-test.sh ConstantsDemo Running test... ../../lib/hs/src/Thrift/Types.hs:23:1: Warning: The import of `Data.Foldable' is redundant except perhaps to import instances from `Data.Foldable' To import instances alone, use: import Data.Foldable() ../../lib/hs/src/Thrift/Types.hs:31:1: Warning: The qualified import of `Data.HashSet' is redundant except perhaps to import instances from `Data.HashSet' To import instances alone, use: import Data.HashSet() ../../lib/hs/src/Thrift/Protocol.hs:134:1: Warning: Top-level binding with no type signature: castBsSwapped :: forall b a. Storable b => GHC.Ptr.Ptr a -> IO b ../../lib/hs/src/Thrift/Protocol.hs:138:1: Warning: Top-level binding with no type signature: castBs :: forall a. GHC.Ptr.Ptr a -> IO Double ../../lib/hs/src/Thrift/Protocol/Binary.hs:149:1: Warning: Top-level binding with no type signature: parseBinaryString :: forall b. (LBS.ByteString -> b) -> Data.Attoparsec.Internal.Types.Parser Data.ByteString.Internal.ByteString b ../../lib/hs/src/Thrift/Arbitraries.hs:10:1: Warning: The import of `Data.Map' is redundant except perhaps to import instances from `Data.Map' To import instances alone, use: import Data.Map() ../../lib/hs/src/Thrift/Arbitraries.hs:11:1: Warning: The qualified import of `Data.Map' is redundant except perhaps to import instances from `Data.Map' To import instances alone, use: import Data.Map() ../../lib/hs/src/Thrift/Arbitraries.hs:12:1: Warning: The qualified import of `Data.Set' is redundant except perhaps to import instances from `Data.Set' To import instances alone, use: import Data.Set() SERVER: Ready... SERVER: SERVER: Got blingity SERVER: SERVER: Got blangity CLIENT: 31 SUCCESS sh run-test.sh DebugProtoTest Running test... ../../lib/hs/src/Thrift/Types.hs:23:1: Warning: The import of `Data.Foldable' is redundant except perhaps to import instances from `Data.Foldable' To import instances alone, use: import Data.Foldable() ../../lib/hs/src/Thrift/Types.hs:31:1: Warning: The qualified import of `Data.HashSet' is redundant except perhaps to import instances from `Data.HashSet' To import instances alone, use: import Data.HashSet() ../../lib/hs/src/Thrift/Protocol.hs:134:1: Warning: Top-level binding with no type signature: castBsSwapped :: forall b a. Storable b => GHC.Ptr.Ptr a -> IO b ../../lib/hs/src/Thrift/Protocol.hs:138:1: Warning: Top-level binding with no type signature: castBs :: forall a. GHC.Ptr.Ptr a -> IO Double ../../lib/hs/src/Thrift/Protocol/Binary.hs:149:1: Warning: Top-level binding with no type signature: parseBinaryString :: forall b. (LBS.ByteString -> b) -> Data.Attoparsec.Internal.Types.Parser Data.ByteString.Internal.ByteString b ../../lib/hs/src/Thrift/Arbitraries.hs:10:1: Warning: The import of `Data.Map' is redundant except perhaps to import instances from `Data.Map' To import instances alone, use: import Data.Map() ../../lib/hs/src/Thrift/Arbitraries.hs:11:1: Warning: The qualified import of `Data.Map' is redundant except perhaps to import instances from `Data.Map' To import instances alone, use: import Data.Map() ../../lib/hs/src/Thrift/Arbitraries.hs:12:1: Warning: The qualified import of `Data.Set' is redundant except perhaps to import instances from `Data.Set' To import instances alone, use: import Data.Set() ../../test/hs/DebugProtoTest_Main.hs:50:10: Warning: No explicit method or default declaration for `SIface.declaredExceptionMethod' In the instance declaration for `SIface.Srv_Iface InheritedHandler' SERVER: Ready... SERVER: Got janky method call: 42 CLIENT: 31 SERVER: Got voidMethod method call SERVER: Got primitiveMethod call CLIENT: 42 SERVER: Got structMethod call CLIENT: CompactProtoTestStruct {compactProtoTestStruct_a_byte = 1, compactProtoTestStruct_a_i16 = 2, compactProtoTestStruct_a_i32 = 3, compactProtoTestStruct_a_i64 = 4, compactProtoTestStruct_a_double = 0.1, compactProtoTestStruct_a_string = "abcdef", compactProtoTestStruct_a_binary = "", compactProtoTestStruct_true_field = True, compactProtoTestStruct_false_field = False, compactProtoTestStruct_empty_struct_field = Empty, compactProtoTestStruct_byte_list = [], compactProtoTestStruct_i16_list = [], compactProtoTestStruct_i32_list = [], compactProtoTestStruct_i64_list = [], compactProtoTestStruct_double_list = [], compactProtoTestStruct_string_list = [], compactProtoTestStruct_binary_list = [], compactProtoTestStruct_boolean_list = [], compactProtoTestStruct_struct_list = [], compactProtoTestStruct_byte_set = fromList [], compactProtoTestStruct_i16_set = fromList [], compactProtoTestStruct_i32_set = fromList [], compactProtoTestStruct_i64_set = fromList [], compactProtoTestStruct_double_set = fromList [], compactProtoTestStruct_string_set = fromList [], compactProtoTestStruct_binary_set = fromList [], compactProtoTestStruct_boolean_set = fromList [], compactProtoTestStruct_struct_set = fromList [], compactProtoTestStruct_byte_byte_map = fromList [], compactProtoTestStruct_i16_byte_map = fromList [], compactProtoTestStruct_i32_byte_map = fromList [], compactProtoTestStruct_i64_byte_map = fromList [], compactProtoTestStruct_double_byte_map = fromList [], compactProtoTestStruct_string_byte_map = fromList [], compactProtoTestStruct_binary_byte_map = fromList [], compactProtoTestStruct_boolean_byte_map = fromList [], compactProtoTestStruct_byte_i16_map = fromList [], compactProtoTestStruct_byte_i32_map = fromList [], compactProtoTestStruct_byte_i64_map = fromList [], compactProtoTestStruct_byte_double_map = fromList [], compactProtoTestStruct_byte_string_map = fromList [], compactProtoTestStruct_byte_binary_map = fromList [], compactProtoTestStruct_byte_boolean_map = fromList [], compactProtoTestStruct_list_byte_map = fromList [], compactProtoTestStruct_set_byte_map = fromList [], compactProtoTestStruct_map_byte_map = fromList [], compactProtoTestStruct_byte_map_map = fromList [], compactProtoTestStruct_byte_set_map = fromList [], compactProtoTestStruct_byte_list_map = fromList []} SERVER: Got methodWithDefaultArgs: 42 SERVER: Got onewayMethod SERVER: Got identity method: 42 CLIENT: 42 SUCCESS sh run-test.sh ThriftTest Running test... ../../lib/hs/src/Thrift/Types.hs:23:1: Warning: The import of `Data.Foldable' is redundant except perhaps to import instances from `Data.Foldable' To import instances alone, use: import Data.Foldable() ../../lib/hs/src/Thrift/Types.hs:31:1: Warning: The qualified import of `Data.HashSet' is redundant except perhaps to import instances from `Data.HashSet' To import instances alone, use: import Data.HashSet() ../../lib/hs/src/Thrift/Protocol.hs:134:1: Warning: Top-level binding with no type signature: castBsSwapped :: forall b a. Storable b => GHC.Ptr.Ptr a -> IO b ../../lib/hs/src/Thrift/Protocol.hs:138:1: Warning: Top-level binding with no type signature: castBs :: forall a. GHC.Ptr.Ptr a -> IO Double ../../lib/hs/src/Thrift/Protocol/Binary.hs:149:1: Warning: Top-level binding with no type signature: parseBinaryString :: forall b. (LBS.ByteString -> b) -> Data.Attoparsec.Internal.Types.Parser Data.ByteString.Internal.ByteString b ../../lib/hs/src/Thrift/Arbitraries.hs:10:1: Warning: The import of `Data.Map' is redundant except perhaps to import instances from `Data.Map' To import instances alone, use: import Data.Map() ../../lib/hs/src/Thrift/Arbitraries.hs:11:1: Warning: The qualified import of `Data.Map' is redundant except perhaps to import instances from `Data.Map' To import instances alone, use: import Data.Map() ../../lib/hs/src/Thrift/Arbitraries.hs:12:1: Warning: The qualified import of `Data.Set' is redundant except perhaps to import instances from `Data.Set' To import instances alone, use: import Data.Set() ../../test/hs/ThriftTest_Main.hs:47:10: Warning: No explicit method or default declaration for `Iface.testBool' In the instance declaration for `Iface.ThriftTest_Iface TestHandler' SERVER: Ready... SERVER: "bya" CLIENT: "bya" SERVER: 8 CLIENT: 8 SERVER: -8 CLIENT: -8 SERVER: 32 CLIENT: 32 SERVER: -32 CLIENT: -32 SERVER: 64 CLIENT: 64 SERVER: -64 CLIENT: -64 SERVER: 3.14 CLIENT: 3.14 SERVER: -3.14 CLIENT: -3.14 SERVER: fromList [(1,1),(2,2),(3,3)] CLIENT: fromList [(1,1),(2,2),(3,3)] SERVER: fromList [("same","same"),("0","numeric key"),("a","123"),("a b","with spaces ")] CLIENT: fromList [("same","same"),("0","numeric key"),("a","123"),("a b","with spaces ")] SERVER: [1,2,3,4,5] CLIENT: [1,2,3,4,5] SERVER: fromList [1,2,3,4,5] CLIENT: fromList [1,2,3,4,5] SERVER: Xtruct {xtruct_string_thing = "hi", xtruct_byte_thing = 4, xtruct_i32_thing = 5, xtruct_i64_thing = 0} CLIENT: Xtruct {xtruct_string_thing = "hi", xtruct_byte_thing = 4, xtruct_i32_thing = 5, xtruct_i64_thing = 0} CLIENT: Xception {xception_errorCode = 1, xception_message = "bya"} CLIENT: Xception {xception_errorCode = 1, xception_message = "xyz"} CLIENT: ok SUCCESS sh run-test.sh Include Running test... ../../lib/hs/src/Thrift/Types.hs:23:1: Warning: The import of `Data.Foldable' is redundant except perhaps to import instances from `Data.Foldable' To import instances alone, use: import Data.Foldable() ../../lib/hs/src/Thrift/Types.hs:31:1: Warning: The qualified import of `Data.HashSet' is redundant except perhaps to import instances from `Data.HashSet' To import instances alone, use: import Data.HashSet() ../../lib/hs/src/Thrift/Protocol.hs:134:1: Warning: Top-level binding with no type signature: castBsSwapped :: forall b a. Storable b => GHC.Ptr.Ptr a -> IO b ../../lib/hs/src/Thrift/Protocol.hs:138:1: Warning: Top-level binding with no type signature: castBs :: forall a. GHC.Ptr.Ptr a -> IO Double ../../lib/hs/src/Thrift/Arbitraries.hs:10:1: Warning: The import of `Data.Map' is redundant except perhaps to import instances from `Data.Map' To import instances alone, use: import Data.Map() ../../lib/hs/src/Thrift/Arbitraries.hs:11:1: Warning: The qualified import of `Data.Map' is redundant except perhaps to import instances from `Data.Map' To import instances alone, use: import Data.Map() ../../lib/hs/src/Thrift/Arbitraries.hs:12:1: Warning: The qualified import of `Data.Set' is redundant except perhaps to import instances from `Data.Set' To import instances alone, use: import Data.Set() Includes work: IncludeTest {includeTest_bools = Bools {bools_im_true = True, bools_im_false = False}} make[2]: Leaving directory `/thrift/test/hs' Making check in haxe make[2]: Entering directory `/thrift/test/haxe' ../../compiler/cpp/thrift --gen haxe -r ../../test/ThriftTest.thrift [WARNING:/thrift/test/ThriftTest.thrift:44] No generator named 'noexist' could be found! [WARNING:/thrift/test/ThriftTest.thrift:46] cpp generator does not accept 'noexist' as sub-namespace! /usr/bin/haxe --cwd . cpp.hxml haxelib run hxcpp Build.xml haxe -Ddebug -Dhaxe3="1" -Dhaxe_ver="3.2" -Dhxcpp_api_level="321" -I"../../lib/haxe/src/" -I"gen-haxe/" -I"src/" -I"/usr/lib/haxe/extraLibs/" -I"/usr/local/lib/haxe/extraLibs/" -I"" -I"/usr/lib/haxe/std/cpp/_std/" -I"/usr/share/haxe/std/cpp/_std/" -I"/usr/local/lib/haxe/std/cpp/_std/" -I"/usr/lib/haxe/std/" -I"/usr/share/haxe/std/" -I"/usr/local/lib/haxe/std/" This is the first time you are runing haxelib. Please run `haxelib setup` first Error: Build failed make[2]: *** [bin/Main-debug] Error 1 make[2]: Leaving directory `/thrift/test/haxe' make[1]: *** [check-recursive] Error 1 make[1]: Leaving directory `/thrift/test' 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 Updating THRIFT-3788