Remove cache if build fails

Log the error (`log.Println(err)` is sufficient).