THRIFT-1814 Minor D library fixes
fix a few tiny issues in the D library so that it compiles using the upcoming 2.061 DMD release

Patch: David Nadlinger
diff --git a/lib/d/src/thrift/codegen/base.d b/lib/d/src/thrift/codegen/base.d
index d697375..95e09ff 100644
--- a/lib/d/src/thrift/codegen/base.d
+++ b/lib/d/src/thrift/codegen/base.d
@@ -913,7 +913,7 @@
   // combinations. Functionality checks are covered by the rest of the test
   // suite.
 
-  struct Test {
+  static struct Test {
     // Non-nullable.
     int a1;
     int a2;
diff --git a/lib/d/src/thrift/internal/codegen.d b/lib/d/src/thrift/internal/codegen.d
index d6ce0a9..aae65bb 100644
--- a/lib/d/src/thrift/internal/codegen.d
+++ b/lib/d/src/thrift/internal/codegen.d
@@ -201,7 +201,7 @@
   ) AllMemberMethodNames;
 }
 
-private template FilterMethodNames(T, MemberNames...) {
+template FilterMethodNames(T, MemberNames...) {
   alias StaticFilter!(
     CompilesAndTrue!(
       Compose!(isSomeFunction, TypeOf, PApply!(GetMember, T))
diff --git a/lib/d/test/transport_test.d b/lib/d/test/transport_test.d
index 3f61a5d..09bf6fd 100644
--- a/lib/d/test/transport_test.d
+++ b/lib/d/test/transport_test.d
@@ -669,7 +669,7 @@
   // each send() call.  If we have more than ~400 outstanding 1-byte write
   // requests, additional send() calls start blocking.
   testRw!CoupledSocketTransports(1024 * 16, 1, 1,
-          0, 0, 400);
+          0, 0, 250);
   testRw!CoupledSocketTransports(1024 * 256, 0, 0,
           rand4k, rand4k, socketMaxOutstanding);
   testRw!CoupledSocketTransports(1024 * 256, rand4k, rand4k,
@@ -677,7 +677,7 @@
   testRw!CoupledSocketTransports(1024 * 256, 167, 163,
           rand4k, rand4k, socketMaxOutstanding);
   testRw!CoupledSocketTransports(1024 * 16, 1, 1,
-          rand4k, rand4k, 400);
+          rand4k, rand4k, 250);
 
   testBlocking!CoupledSocketTransports();