put the build dump as an error instead of print

This way the dump is useful in the console, and in the metabuildbot