···209209 return 0, 0, 0
210210 }
211211212212+ // Check if binary was actually created
213213+ if _, err := os.Stat(combinedBinary); os.IsNotExist(err) {
214214+ log.Printf("Match binary was not created at %s, compilation output: %s", combinedBinary, output)
215215+ return 0, 0, 0
216216+ }
217217+212218 // Run match in sandbox with 300 second timeout (1000 games should be ~60s, give headroom)
213219 runArgs := []string{combinedBinary, strconv.Itoa(numGames)}
214220 output, err = runSandboxed(context.Background(), "run-match", runArgs, 300)