Thank you, this was the problem apparently. Dub ignored the malformed dependency declaration instead of displaying a warning or an error.(this is apparently a bug.[0][1])That isn't right.
[0] https://github.com/dlang/dub/issues/614 [1] https://github.com/dlang/dub/issues/1382