www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Build failed LuaD & vibe.d

DUB version 0.9.21
dmd version 2.065.0
vibe.d version 0.7.20

Since v0.7.19 vibe.d has vibe.utils.dictionarylist. This doesn't
go well with LuaD's vibe.utils.dictionarylist (same goes for
higher versions of dmd and vibe.d, see below)


Compiling...
source/luad/conversions/structs.d-mixin-38(38): Error: cannot
pass type Field as a function argument
source/luad/conversions/structs.d-mixin-38(38): Error: struct
vibe.utils.dictionarylist.DictionaryList!(string,
true).DictionaryList member m_fields is not accessible
source/luad/conversions/structs.d-mixin-38(38): Error: struct
vibe.utils.dictionarylist.DictionaryList!(string,
true).DictionaryList member m_fields is not accessible
source/luad/conversions/structs.d-mixin-38(38): Error: struct
vibe.utils.dictionarylist.DictionaryList!(string,
true).DictionaryList member m_fieldCount is not accessible
source/luad/conversions/structs.d-mixin-38(38): Error: struct
vibe.utils.dictionarylist.DictionaryList!(string,
true).DictionaryList member m_fieldCount is not accessible
source/luad/conversions/structs.d-mixin-38(38): Error: struct
vibe.utils.dictionarylist.DictionaryList!(string,
true).DictionaryList member m_extendedFields is not accessible
source/luad/conversions/structs.d-mixin-38(38): Error: struct
vibe.utils.dictionarylist.DictionaryList!(string,
true).DictionaryList member m_extendedFields is not accessible
source/luad/conversions/structs.d-mixin-38(38): Error: struct
vibe.utils.dictionarylist.DictionaryList!(string,
true).DictionaryList member s_keyBuffer is not accessible
source/luad/conversions/structs.d-mixin-38(38): Deprecation:
alias vibe.utils.dictionarylist.DictionaryList!(string,
true).DictionaryList.valueType is deprecated
source/luad/conversions/structs.d-mixin-38(38): Error: cannot
pass type string as a function argument
source/luad/conversions/structs.d-mixin-38(38): Error: cannot
pass type string as a function argument
source/luad/conversions/structs.d-mixin-38(38): Error: cannot
pass type Tuple!(string, "key", string, "value") as a function
argument
source/luad/conversions/structs.d-mixin-38(38): Error: function
vibe.utils.dictionarylist.DictionaryList!(string,
true).DictionaryList.fromRepresentation (Tuple!(string, "key",
string, "value")[] array) is not callable using argument types ()
source/luad/conversions/structs.d-mixin-38(38): Error: cannot
pass type (string, string) as a function argument
source/luad/conversions/structs.d(38): Error: template
luad.stack.pushValue cannot deduce function from argument types
!()(lua_State*, string, string), candidates are:
source/luad/stack.d(82):
luad.stack.pushValue(T)(lua_State* L, T value)
source/luad/conversions/functions.d(234): Error: variable
luad.conversions.functions.pushFunction!(inout(Tuple!(string,
string)) delegate() inout pure nothrow  property ref
 trusted).pushFunction.udata inout variables can only be declared
inside inout functions
source/luad/conversions/functions.d(97): Error: variable
luad.conversions.functions.callFunction!(inout(Tuple!(string,
string)) delegate() inout pure nothrow  property ref
 trusted).callFunction.ret inout variables can only be declared
inside inout functions
source/luad/conversions/functions.d(102): Error: template
std.typecons.Tuple!(string, string).Tuple.opAssign cannot deduce
function from argument types !()(inout(Tuple!(string, string)))
inout, candidates are:
/home/christoph/.dvm/compilers/dmd-2.065.0/linux/bin/../../src/phobos/std/typecons.d(507):
         std.typecons.Tuple!(string, string).Tuple.opAssign(R)(auto
ref R rhs) if (areCompatibleTuples!(typeof(this), R, "="))
source/luad/conversions/functions.d(217): Error: template
instance
luad.conversions.functions.callFunction!(inout(Tuple!(string,
string)) delegate() inout pure nothrow  property ref  trusted)
error instantiating
source/luad/conversions/functions.d(248):        instantiated
from here: functionWrapper!(inout(Tuple!(string, string))
delegate() inout pure nothrow  property ref  trusted)
source/luad/stack.d(132):        instantiated from here:
pushFunction!(inout(Tuple!(string, string)) delegate() inout pure
nothrow  property ref  trusted)
source/luad/conversions/structs.d(36):        instantiated from
here: pushValue!(inout(Tuple!(string, string)) delegate() inout
pure nothrow  property ref  trusted)
source/luad/stack.d(124):        ... (11 instantiations, -v to
show) ...
source/luad/state.d(428):        instantiated from here:
opIndexAssign!(DictionaryList!(string, true), string)
source/app.d(81):        instantiated from here:
opIndexAssign!(DictionaryList!(string, true), string)
source/luad/conversions/functions.d(217): Error: cannot
implicitly convert expression (func) of type inout(Tuple!(string,
string)) delegate() inout pure nothrow  property ref  trusted to
const(Tuple!(string, string)) delegate() const pure nothrow
 property ref  trusted
source/luad/conversions/functions.d(248): Error: template
instance
luad.conversions.functions.functionWrapper!(inout(Tuple!(string,
string)) delegate() inout pure nothrow  property ref  trusted)
error instantiating
source/luad/stack.d(132):        instantiated from here:
pushFunction!(inout(Tuple!(string, string)) delegate() inout pure
nothrow  property ref  trusted)
source/luad/conversions/structs.d(36):        instantiated from
here: pushValue!(inout(Tuple!(string, string)) delegate() inout
pure nothrow  property ref  trusted)
source/luad/stack.d(124):        instantiated from here:
pushStruct!(Tuple!(string, "key", string, "value"))
source/luad/conversions/arrays.d(20):        ... (10
instantiations, -v to show) ...
source/luad/state.d(428):        instantiated from here:
opIndexAssign!(DictionaryList!(string, true), string)
source/app.d(81):        instantiated from here:
opIndexAssign!(DictionaryList!(string, true), string)
source/luad/stack.d(132): Error: template instance
luad.conversions.functions.pushFunction!(inout(Tuple!(string,
string)) delegate() inout pure nothrow  property ref  trusted)
error instantiating
FAIL .dub/build/application-debug-linux.posix-x86_64-

---------------------------------------------------

dmd version 2.066
vibe.d version 0.7.21-alpha.4

Compiling...
source/luad/conversions/structs.d-mixin-38(38): Error: cannot
pass type Field as a function argument
source/luad/conversions/structs.d-mixin-38(38): Error: struct
vibe.utils.dictionarylist.DictionaryList!(string, true,
16LU).DictionaryList member m_fields is not accessible
source/luad/conversions/structs.d-mixin-38(38): Error: struct
vibe.utils.dictionarylist.DictionaryList!(string, true,
16LU).DictionaryList member m_fieldCount is not accessible
source/luad/conversions/structs.d-mixin-38(38): Error: struct
vibe.utils.dictionarylist.DictionaryList!(string, true,
16LU).DictionaryList member m_extendedFields is not accessible
source/luad/conversions/structs.d-mixin-38(38): Error: struct
vibe.utils.dictionarylist.DictionaryList!(string, true,
16LU).DictionaryList member s_keyBuffer is not accessible
source/luad/conversions/structs.d-mixin-38(38): Error: cannot
pass type string as a function argument
source/luad/conversions/structs.d-mixin-38(38): Error: cannot
pass type FieldTuple as a function argument
source/luad/conversions/structs.d-mixin-38(38): Error: function
vibe.utils.dictionarylist.DictionaryList!(string, true,
16LU).DictionaryList.fromRepresentation (FieldTuple[] array) is
not callable using argument types ()
source/luad/stack.d(205): Error: inout on return means inout must
be on a parameter as well for T(lua_State* L, int idx)
source/luad/stack.d(377): Error: template instance
luad.stack.getValue!(inout(immutable(char)[]),
argumentTypeMismatch) error instantiating
source/luad/conversions/functions.d(215):        instantiated
from here: getArgument!(inout(immutable(char)[]) delegate(string,
lazy inout(immutable(char)[])) inout pure  safe, 1)
source/luad/conversions/functions.d(248):        instantiated
from here: functionWrapper!(inout(immutable(char)[])
delegate(string, lazy inout(immutable(char)[])) inout pure  safe)
source/luad/stack.d(132):        instantiated from here:
pushFunction!(inout(immutable(char)[]) delegate(string key, lazy
inout(immutable(char)[]) def_val = null) inout pure  safe)
source/luad/conversions/structs.d(36):        ... (3
instantiations, -v to show) ...
source/luad/state.d(428):        instantiated from here:
opIndexAssign!(DictionaryList!(string, true, 16LU), string)
source/app.d(81):        instantiated from here:
opIndexAssign!(DictionaryList!(string, true, 16LU), string)
source/luad/conversions/functions.d(217): Error: template
luad.conversions.functions.callFunction cannot deduce function
from argument types !(inout(immutable(char)[]) delegate(string,
lazy inout(immutable(char)[])) inout pure  safe)(lua_State*,
inout(immutable(char)[]) delegate(string, lazy
inout(immutable(char)[])) inout pure  safe, string, string),
candidates are:
source/luad/conversions/functions.d(89):
luad.conversions.functions.callFunction(T)(lua_State* L, T func,
ParameterTypeTuple!T args) if (!is(BindableReturnType!T == const)
&& !is(BindableReturnType!T == immutable))
source/luad/conversions/functions.d(119):
luad.conversions.functions.callFunction(T)(lua_State* L, T func,
ParameterTypeTuple!T args) if (is(BindableReturnType!T == const)
|| is(BindableReturnType!T == immutable))
source/luad/conversions/structs.d-mixin-38(38): Error: cannot
resolve type for value.opBinaryRight(string op)(string key) if
(op == "in")
source/luad/conversions/structs.d-mixin-62(62): Error: cannot
modify const expression s.keyCheckSum
source/luad/conversions/structs.d-mixin-62(62): Error: cannot
modify const expression s.key
source/luad/conversions/structs.d-mixin-62(62): Error: cannot
modify const expression s.value
source/luad/conversions/structs.d(48): Error: template instance
luad.conversions.structs.fillStruct!(const(Field)) error
instantiating
source/luad/stack.d(292):        instantiated from here:
getStruct!(const(Field))
source/luad/stack.d(313):        instantiated from here:
getValue!(const(Field), defaultTypeMismatch)
source/luad/conversions/arrays.d(35):        instantiated from
here: popValue!(const(Field), defaultTypeMismatch)
source/luad/stack.d(282):        ... (8 instantiations, -v to
show) ...
source/luad/state.d(428):        instantiated from here:
opIndexAssign!(DictionaryList!(string, true, 16LU), string)
source/app.d(81):        instantiated from here:
opIndexAssign!(DictionaryList!(string, true, 16LU), string)
source/luad/conversions/structs.d-mixin-38(38): Error: function
vibe.utils.dictionarylist.DictionaryList!(string, true,
16LU).DictionaryList.matches (string a, string b) is not callable
using argument types ()
source/luad/conversions/structs.d-mixin-38(38): Error: function
vibe.utils.dictionarylist.DictionaryList!(string, true,
16LU).DictionaryList.computeCheckSumI (string s) is not callable
using argument types ()
FAIL .dub/build/application-debug-linux.posix-x86_64-
Sep 17 2014