# Functions
DefaultDebugBinaryPath returns an unused file path in the current directory named 'name' followed by a random string.
GoBuild builds non-test files in 'pkgs' with the specified 'buildflags' and writes the output at 'debugname'.
GoBuildCombinedOutput builds non-test files in 'pkgs' with the specified 'buildflags' and writes the output at 'debugname'.
GoTestBuild builds test files 'pkgs' with the specified 'buildflags' and writes the output at 'debugname'.
GoTestBuildCombinedOutput builds test files 'pkgs' with the specified 'buildflags' and writes the output at 'debugname'.
Remove the file at path and issue a warning to stderr if this fails.