dub.json contains package in "dependencies" with ~>1.2.3 version. And it is available 1.2.4 version of this package.

Why dub isn't downloads version 1.2.4 and uses 1.2.3 before build? "dub upgrade" isn't solves this problem.