Trying to set up a new Golang service scaffolded from Weaver, I set "unit.engine" to "ConfigurableGolangTestEngine" in my .arcconfig. I am now receiving the following exception when I run arc unit
:
tag@tag-C02RQ11AG8WM ~/gocode/src/code.uber.internal/hwautomation/blacksmith $ arc unit --trace
ARGV '/usr/local/Cellar/arcanist/tip/arcanist/bin/../scripts/arcanist.php' 'unit' '--trace'
LOAD Loaded "phutil" from "/usr/local/Cellar/arcanist/tip/arcanist/externals/includes/libphutil/src".
LOAD Loaded "arcanist" from "/usr/local/Cellar/arcanist/tip/arcanist/src".
Config: Reading user configuration file "/Users/tag/.arcrc"...
Config: Did not find system configuration at "/etc/arcconfig".
Working Copy: Reading .arcconfig from "/Users/tag/gocode/src/code.uber.internal/hwautomation/blacksmith/.arcconfig".
Working Copy: Path "/Users/tag/gocode/src/code.uber.internal/hwautomation/blacksmith" is part of `git` working copy "/Users/tag/gocode/src/code.uber.internal/hwautomation/blacksmith".
Working Copy: Project root is at "/Users/tag/gocode/src/code.uber.internal/hwautomation/blacksmith".
Config: Did not find local configuration at "/Users/tag/gocode/src/code.uber.internal/hwautomation/blacksmith/.git/arc/config".
>>> [0] <exec> $ git rev-parse --verify HEAD^
<<< [0] <exec> 9,675 us
>>> [1] <exec> $ git cat-file -t 'origin/master'
<<< [1] <exec> 8,119 us
>>> [2] <exec> $ git merge-base 'origin/master' HEAD
<<< [2] <exec> 6,885 us
>>> [3] <exec> $ git diff --no-ext-diff --no-textconv --raw 'd64b8535f79526eb562f100ec10a69530e2a87fc' --
<<< [3] <exec> 34,996 us
>>> [4] <exec> $ git diff --no-ext-diff --no-textconv --raw 'HEAD' --
>>> [5] <exec> $ git ls-files --others --exclude-standard
<<< [5] <exec> 8,361 us
<<< [4] <exec> 35,103 us
>>> [6] <exec> $ git diff-files --name-only
<<< [6] <exec> 32,579 us
[2016-10-27 01:21:27] EXCEPTION: (BadFunctionCallException) Too many arguments to xsprintf(). at [<phutil>/src/xsprintf/xsprintf.php:83]
arcanist(head=master, ref.master=e9d6fcb78e5d), phutil(head=master, ref.master=84b0feab4220)
#0 xsprintf(string, array, array) called at [<phutil>/src/xsprintf/PhutilCommandString.php:45]
#1 PhutilCommandString::renderString(boolean) called at [<phutil>/src/xsprintf/PhutilCommandString.php:30]
#2 PhutilCommandString::getMaskedString() called at [<phutil>/src/xsprintf/PhutilCommandString.php:18]
#3 PhutilCommandString::__construct(array) called at [<phutil>/src/xsprintf/csprintf.php:36]
#4 csprintf(NULL, TempFile, TempFile) called at [<arcanist>/src/unit/engine/ConfigurableGolangTestEngine.php:25]
#5 ConfigurableGolangTestEngine::buildTestFuture(TempFile, TempFile) called at [<arcanist>/src/unit/engine/ConfigurableGolangTestEngine.php:14]
#6 ConfigurableGolangTestEngine::run() called at [<arcanist>/src/workflow/ArcanistUnitWorkflow.php:167]
#7 ArcanistUnitWorkflow::run() called at [<arcanist>/scripts/arcanist.php:392]