Tried (and failed) to fix race in finishWith
initialization order in compileresult is messed up.