Undefined method `ArcanistFileUploader::setConduitClient()` when creating a diff

Reproduction Instructions

  • Try to create a diff that adds a new binary file.
  • An error will be thrown
[2020-03-05 01:41:05] EXCEPTION: (Error) Call to undefined method ArcanistFileUploader::setConduitClient() at [<arcanist>/src/workflow/ArcanistDiffWorkflow.php:2745]
arcanist(head=master, ref.master=5451d2875221)
  #0 ArcanistDiffWorkflow::uploadFilesForChanges(array) called at [<arcanist>/src/workflow/ArcanistDiffWorkflow.php:1126]
  #1 ArcanistDiffWorkflow::generateChanges() called at [<arcanist>/src/workflow/ArcanistDiffWorkflow.php:462]
  #2 ArcanistDiffWorkflow::run() called at [<arcanist>/scripts/arcanist.php:411]

Looks like we renamed setConduitClient to setConduitEngine in https://secure.phabricator.com/rARC1b97f8b4086dba6ce52b11d8601e03987581e3f7 but did not change this usage of it.

Phabricator/Arcanist Version
arcanist 5451d2875221239f8ae151c125c927a1bd43d9ca (27 Feb 2020)

Thanks, I filed this upstream as https://secure.phabricator.com/T13498.

This should be fixed upstream by https://secure.phabricator.com/D21043.