Hello, I have a problem with mongodb and bson in vibe.d. When I use findOne for a MongoCollection, the program hang with exit code -11. I do not know what is going wrong. The mongo server is up and running, the collection exist with at least 1 user.

auto users = client.getCollection("mulinex.users");
logInfo("collection found: " ~ users.name);  // print "collection found: users"

auto result = users.findOne(["email": email]);
logInfo("This line will not be printed!"); // never printed... program exit with error code -11

Also I have another question, I'm trying to use dvorm as ORM for my project, but adding "dvorm" as a dependency in dub.json result in a error when linking the executable. It is the same with "dvorm:vibeproviders". This problem exist since dvorm is in the registry so maybe it's just me doing something wrong.

the error is

/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/crt1.o: dans la fonction « _start »:
(.text+0x20): référence indéfinie vers « main »
collect2: error: ld returned 1 exit status

and my dub.json is

{
    "name": "mulinex",
    "stringImportPaths": ["translations", "views"],
    "dependencies": {
        "vibe-d": ">=0.7.22",
        "dvorm": ">=0.4.3" // "dvorm:vibeproviders": ">=0.4.3"
     },
    "versions": ["VibeDefaultMain"]
}

Another problem is the dauth package. I got tons of linker error when I try to compile my program with --build=release. I don't know why. Some month ago with the same version everything was fine if I remember well, so it can be a dmd compiler bug?

If you need further information about the hang just tell me what to do. Thanks.
Romain