[ https://issues.apache.org/jira/browse/THRIFT-4478?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16405234#comment-16405234 ]
James E. King, III commented on THRIFT-4478: -------------------------------------------- Also: {noformat} src/thrift/transport/file.d(40): Deprecation: alias `std.datetime.AutoStart` is deprecated - Use std.datetime.stopwatch.AutoStart. src/thrift/transport/file.d(40): Deprecation: alias `std.datetime.AutoStart` is deprecated - Use std.datetime.stopwatch.AutoStart. src/thrift/transport/file.d(40): Deprecation: struct `std.datetime.StopWatch` is deprecated - Use std.datetime.stopwatch.StopWatch. src/thrift/transport/file.d(40): Deprecation: struct `std.datetime.StopWatch` is deprecated - Use std.datetime.stopwatch.StopWatch. src/thrift/transport/file.d(836): Deprecation: struct `std.datetime.StopWatch` is deprecated - Use std.datetime.stopwatch.StopWatch. /usr/include/dmd/phobos/std/functional.d-mixin-114(114): Error: no property _0 for type Tuple!(Address, Exception) /usr/include/dmd/phobos/std/functional.d-mixin-114(114): Error: no property _1 for type Tuple!(Address, Exception) /usr/include/dmd/phobos/std/algorithm/iteration.d(602): Error: template instance `std.functional.unaryFun!("text(a._0, `: \"`, a._1.msg, `\"`)", "a").unaryFun!(Tuple!(Address, Exception))` error instantiating /usr/include/dmd/phobos/std/algorithm/iteration.d(497): instantiated from here: MapResult!(unaryFun, Zip!(Address[], Exception[])) src/thrift/transport/socket.d(259): instantiated from here: map!(Zip!(Address[], Exception[])) src/thrift/transport/socket.d(259): Error: template std.algorithm.iteration.joiner cannot deduce function from argument types !()(MapResult!(unaryFun, Zip!(Address[], Exception[])), string), candidates are: /usr/include/dmd/phobos/std/algorithm/iteration.d(2140): std.algorithm.iteration.joiner(RoR, Separator)(RoR r, Separator sep) if (isInputRange!RoR && isInputRange!(ElementType!RoR) && isForwardRange!Separator && is(ElementType!Separator : ElementType!(ElementType!RoR))) /usr/include/dmd/phobos/std/algorithm/iteration.d(2423): std.algorithm.iteration.joiner(RoR)(RoR r) if (isInputRange!RoR && isInputRange!(ElementType!RoR)) Makefile:1304: recipe for target 'libthriftd.a' failed make[1]: *** [libthriftd.a] Error 1 make[1]: Leaving directory '/thrift/src/lib/d' {noformat} [~nsuke] any suggestions? > Thrift is not compatible with dlang 2.078 and 2.079 > --------------------------------------------------- > > Key: THRIFT-4478 > URL: https://issues.apache.org/jira/browse/THRIFT-4478 > Project: Thrift > Issue Type: Bug > Components: D - Compiler > Affects Versions: 0.11.0 > Reporter: James E. King, III > Priority: Major > > I tried to move the ubuntu-artful dlang version up from 2.076.0 to 2.078.1 > and the build failed here: > {noformat} > dmd -L-fuse-ld=gold -L-levent ../libthriftd-event.a -L-fuse-ld=gold -L-lssl > -L-lcrypto ../libthriftd-ssl.a -w -wi -O -release -inline > -I../../../lib/d/src -Igen-d ../../../lib/d/libthriftd.a > -ofserialization_benchmark serialization_benchmark.d > gen-d/DebugProtoTest_types.d > [1mthrift_test_client.d(128): [1;36mDeprecation: [mstruct > std.datetime.StopWatch is deprecated - Use std.datetime.stopwatch.StopWatch. > [1mthrift_test_client.d(128): [1;36mDeprecation: [mstruct > std.datetime.StopWatch is deprecated - Use std.datetime.stopwatch.StopWatch. > [1mserialization_benchmark.d(16): [1;36mDeprecation: [malias > std.datetime.AutoStart is deprecated - Use std.datetime.stopwatch.AutoStart. > [1mserialization_benchmark.d(16): [1;36mDeprecation: [malias > std.datetime.AutoStart is deprecated - Use std.datetime.stopwatch.AutoStart. > [1mserialization_benchmark.d(16): [1;36mDeprecation: [mstruct > std.datetime.StopWatch is deprecated - Use std.datetime.stopwatch.StopWatch. > [1mserialization_benchmark.d(16): [1;36mDeprecation: [mstruct > std.datetime.StopWatch is deprecated - Use std.datetime.stopwatch.StopWatch. > [1mthrift_test_client.d(338): [1;36mDeprecation: [mstruct > std.datetime.StopWatch is deprecated - Use std.datetime.stopwatch.StopWatch. > [1mthrift_test_client.d(338): [1;36mDeprecation: [malias > std.datetime.AutoStart is deprecated - Use std.datetime.stopwatch.AutoStart. > [1mthrift_test_client.d(338): [1;36mDeprecation: [mstruct > std.datetime.StopWatch is deprecated - Use std.datetime.stopwatch.StopWatch. > [1mserialization_benchmark.d(42): [1;36mDeprecation: [mstruct > std.datetime.StopWatch is deprecated - Use std.datetime.stopwatch.StopWatch. > [1mserialization_benchmark.d(60): [1;36mDeprecation: [mstruct > std.datetime.StopWatch is deprecated - Use std.datetime.stopwatch.StopWatch. > [1m/usr/include/dmd/druntime/import/object.d(3461): [1;31mError: [mno > property 'tupleof' for type > 'const(HashSet!(string[immutable(Insanity)][])[int][immutable(HashSet!int)])' > [1m/usr/include/dmd/druntime/import/object.d(3461): [1;31mError: [mno > property 'tupleof' for type > 'const(HashSet!(string[immutable(Insanity)][])[int][immutable(HashSet!int)])' > [1m../../../lib/d/src/thrift/codegen/base.d(466): [1;31mError: [mtemplate > instance > object.__equals!(const(HashSet!(string[immutable(Insanity)][])[int][immutable(HashSet!int)]), > const(HashSet!(string[immutable(Insanity)][])[int][immutable(HashSet!int)])) > error instantiating > [1m/usr/include/dmd/druntime/import/object.d(3461): [1;31mError: [mno > property 'tupleof' for type 'const(HashSet!string[int])' > [1m/usr/include/dmd/druntime/import/object.d(3461): [1;31mError: [mno > property 'tupleof' for type 'const(HashSet!string[int])' > [1m../../../lib/d/src/thrift/codegen/base.d(466): [1;31mError: [mtemplate > instance object.__equals!(const(HashSet!string[int]), > const(HashSet!string[int])) error instantiating > Makefile:803: recipe for target 'thrift_test_client' failed > make[5]: *** [thrift_test_client] Error 1 > make[5]: *** Waiting for unfinished jobs.... > [1m/usr/include/dmd/druntime/import/object.d(3461): [1;31mError: [mno > property 'tupleof' for type > 'const(HashSet!(string[immutable(Insanity)][])[int][immutable(HashSet!int)])' > [1m/usr/include/dmd/druntime/import/object.d(3461): [1;31mError: [mno > property 'tupleof' for type > 'const(HashSet!(string[immutable(Insanity)][])[int][immutable(HashSet!int)])' > [1m../../../lib/d/src/thrift/codegen/base.d(466): [1;31mError: [mtemplate > instance > object.__equals!(const(HashSet!(string[immutable(Insanity)][])[int][immutable(HashSet!int)]), > const(HashSet!(string[immutable(Insanity)][])[int][immutable(HashSet!int)])) > error instantiating > [1m/usr/include/dmd/druntime/import/object.d(3461): [1;31mError: [mno > property 'tupleof' for type 'const(HashSet!string[int])' > [1m/usr/include/dmd/druntime/import/object.d(3461): [1;31mError: [mno > property 'tupleof' for type 'const(HashSet!string[int])' > [1m../../../lib/d/src/thrift/codegen/base.d(466): [1;31mError: [mtemplate > instance object.__equals!(const(HashSet!string[int]), > const(HashSet!string[int])) error instantiating > Makefile:806: recipe for target 'thrift_test_server' failed > make[5]: *** [thrift_test_server] Error 1 > make[5]: Leaving directory '/thrift/src/lib/d/test' > {noformat} > When I backed it down to 2.077.1, things worked again. -- This message was sent by Atlassian JIRA (v7.6.3#76005)