https://github.com/atilaneves/flycheck-dmd-dub Besides simply updating the package with Emacs itself, call flycheck-dmd-dub-init-variables now from your init.el/.emacs and string imports should be set from dub so no more pesky flycheck errors. Atila