Hello,

Trying to create the simplest 'vide-d' application, two issue arise:

  1. When adding 'userman' to 'package.json' of the application and running 'dub build' - dub is stuck. Removing this dependency (or replacing it with another dub module) works fine.
    'deb fetch userman' also works fine.
  2. Manually copying the files from 'userman-0.0.8' into my project's "source" and "views" directory, build fails with:
Checking dependencies in '/data/gordon/projects/test'
Building configuration "application", build type debug
Compiling...
Compiling diet template 'userman.login.dt' (compat)...
Compiling diet template 'userman.logout.dt' (compat)...
Compiling diet template 'userman.register.dt' (compat)...
Compiling diet template 'userman.register_activate.dt' (compat)...
Compiling diet template 'userman.resend_activation.dt' (compat)...
Compiling diet template 'userman.resend_activation_done.dt' (compat)...
Compiling diet template 'userman.activate.dt' (compat)...
Compiling diet template 'userman.forgot_login.dt' (compat)...
Compiling diet template 'userman.forgot_login_sent.dt' (compat)...
Compiling diet template 'userman.reset_password.dt' (compat)...
Compiling diet template 'userman.reset_password_done.dt' (compat)...
Compiling diet template 'userman.profile.dt' (compat)...
../../../../../home/agordon/.dub/packages/vibe-d-0.7.18/source/vibe/data/serialization.d(117): Error: need 'this' for 'getAttribute' of type 'nothrow @safe NameAttribute(NameAttribute default_value)'
../../../../../home/agordon/.dub/packages/vibe-d-0.7.18/source/vibe/data/serialization.d(117): Error: need 'this' for 'getAttribute' of type 'nothrow @safe NameAttribute(NameAttribute default_value)'
../../../../../home/agordon/.dub/packages/vibe-d-0.7.18/source/vibe/data/serialization.d(117): Error: need 'this' for 'getAttribute' of type 'nothrow @safe NameAttribute(NameAttribute default_value)'
../../../../../home/agordon/.dub/packages/vibe-d-0.7.18/source/vibe/data/serialization.d(117): Error: need 'this' for 'getAttribute' of type 'nothrow @safe NameAttribute(NameAttribute default_value)'
../../../../../home/agordon/.dub/packages/vibe-d-0.7.18/source/vibe/data/serialization.d(117): Error: need 'this' for 'getAttribute' of type 'nothrow @safe NameAttribute(NameAttribute default_value)'
../../../../../home/agordon/.dub/packages/vibe-d-0.7.18/source/vibe/data/serialization.d(117): Error: need 'this' for 'getAttribute' of type 'nothrow @safe NameAttribute(NameAttribute default_value)'
../../../../../home/agordon/.dub/packages/vibe-d-0.7.18/source/vibe/data/serialization.d(117): Error: need 'this' for 'getAttribute' of type 'nothrow @safe NameAttribute(NameAttribute default_value)'
../../../../../home/agordon/.dub/packages/vibe-d-0.7.18/source/vibe/data/serialization.d(117): Error: need 'this' for 'getAttribute' of type 'nothrow @safe NameAttribute(NameAttribute default_value)'
../../../../../home/agordon/.dub/packages/vibe-d-0.7.18/source/vibe/data/serialization.d(117): Error: need 'this' for 'getAttribute' of type 'nothrow @safe NameAttribute(NameAttribute default_value)'
../../../../../home/agordon/.dub/packages/vibe-d-0.7.18/source/vibe/data/serialization.d(117): Error: need 'this' for 'getAttribute' of type 'nothrow @safe NameAttribute(NameAttribute default_value)'
../../../../../home/agordon/.dub/packages/vibe-d-0.7.18/source/vibe/data/serialization.d(117): Error: need 'this' for 'getAttribute' of type 'nothrow @safe NameAttribute(NameAttribute default_value)'
../../../../../home/agordon/.dub/packages/vibe-d-0.7.18/source/vibe/data/serialization.d(117): Error: need 'this' for 'getAttribute' of type 'nothrow @safe NameAttribute(NameAttribute default_value)'
../../../../../home/agordon/.dub/packages/vibe-d-0.7.18/source/vibe/data/serialization.d(117): Error: need 'this' for 'getAttribute' of type 'nothrow @safe NameAttribute(NameAttribute default_value)'
../../../../../home/agordon/.dub/packages/vibe-d-0.7.18/source/vibe/data/serialization.d(117): Error: need 'this' for 'getAttribute' of type 'nothrow @safe NameAttribute(NameAttribute default_value)'
../../../../../home/agordon/.dub/packages/vibe-d-0.7.18/source/vibe/data/serialization.d(117): Error: need 'this' for 'getAttribute' of type 'nothrow @safe NameAttribute(NameAttribute default_value)'
../../../../../home/agordon/.dub/packages/vibe-d-0.7.18/source/vibe/data/serialization.d(117): Error: need 'this' for 'getAttribute' of type 'nothrow @safe NameAttribute(NameAttribute default_value)'
../../../../../home/agordon/.dub/packages/vibe-d-0.7.18/source/vibe/data/serialization.d(122): Error: template instance vibe.data.serialization.serialize!(BsonSerializer, AuthInfo) error instantiating
../../../../../home/agordon/.dub/packages/vibe-d-0.7.18/source/vibe/data/serialization.d(61):        instantiated from here: serialize!(BsonSerializer, User)
../../../../../home/agordon/.dub/packages/vibe-d-0.7.18/source/vibe/data/bson.d(926):        instantiated from here: serialize!(BsonSerializer, User, )
../../../../../home/agordon/.dub/packages/vibe-d-0.7.18/source/vibe/db/mongo/collection.d(115):        instantiated from here: serializeToBson!(User)
source/userman/controller.d(67):        instantiated from here: insert!(User)
../../../../../home/agordon/.dub/packages/vibe-d-0.7.18/source/vibe/data/serialization.d(117): Error: need 'this' for 'getAttribute' of type 'nothrow @safe NameAttribute(NameAttribute default_value)'
../../../../../home/agordon/.dub/packages/vibe-d-0.7.18/source/vibe/data/serialization.d(61): Error: template instance vibe.data.serialization.serialize!(BsonSerializer, User) error instantiating
../../../../../home/agordon/.dub/packages/vibe-d-0.7.18/source/vibe/data/bson.d(926):        instantiated from here: serialize!(BsonSerializer, User, )
../../../../../home/agordon/.dub/packages/vibe-d-0.7.18/source/vibe/db/mongo/collection.d(115):        instantiated from here: serializeToBson!(User)
source/userman/controller.d(67):        instantiated from here: insert!(User)
../../../../../home/agordon/.dub/packages/vibe-d-0.7.18/source/vibe/data/bson.d(926): Error: template instance vibe.data.serialization.serialize!(BsonSerializer, User, ) error instantiating
../../../../../home/agordon/.dub/packages/vibe-d-0.7.18/source/vibe/db/mongo/collection.d(115):        instantiated from here: serializeToBson!(User)
source/userman/controller.d(67):        instantiated from here: insert!(User)
../../../../../home/agordon/.dub/packages/vibe-d-0.7.18/source/vibe/db/mongo/collection.d(115): Error: template instance vibe.data.bson.serializeToBson!(User) error instantiating
Error: DMD compile run failed with exit code 1

Run 'dub help' for usage information.

Using dmd v2.065 on Linux 64bit, and the latest 'userman' from Github.

Any ideas how to fix this?
Thanks,
-gordon