buildtools: output build failure reason to stderr