Use `Single.using` instead of `onError`/`onSuccess` for async uploads

Failed in 30m 13s
:pipeline:
:fedora: Fedora 39 (OpenJDK 17, gcc 13.1.1)
Clang on :ubuntu: Ubuntu 20.04 LTS
Windows (arm64) on :windows: Windows
RBE on :ubuntu: Ubuntu 20.04 LTS
Docs on :ubuntu: Ubuntu 20.04 LTS

This run only contains test targets that have been changed since b03cb636f4091c69c601e6b84f3f4e0a22f1b3ae due to the USE_BAZEL_DIFF env variable

3/4
:centos: CentOS 7 (shard 3)curl -sS https://raw.githubusercontent.com/bazelbuild/continuous-integration/master/buildkite/bazelci.py?1738951285 -o bazelci.py && python3.6 bazelci.py runner --task=centos7 --file_config=.bazelci/presubmit.yml
Waited 6s
·
Ran in 16m 25s
3/4
:ubuntu: Ubuntu 22.04 LTS (shard 3)curl -sS https://raw.githubusercontent.com/bazelbuild/continuous-integration/master/buildkite/bazelci.py?1738951285 -o bazelci.py && python3 bazelci.py runner --task=ubuntu2204 --file_config=.bazelci/presubmit.yml
Waited 3s
·
Ran in 15m 43s
3/4
:ubuntu: Ubuntu 20.04 LTS (shard 3)curl -sS https://raw.githubusercontent.com/bazelbuild/continuous-integration/master/buildkite/bazelci.py?1738951285 -o bazelci.py && python3.8 bazelci.py runner --task=ubuntu2004 --file_config=.bazelci/presubmit.yml
Waited 3s
·
Ran in 15m 52s
3/10
:mac: macOS (shard 3)curl -sS https://raw.githubusercontent.com/bazelbuild/continuous-integration/master/buildkite/bazelci.py?1738951285 -o bazelci.py && python3 bazelci.py runner --task=macos --file_config=.bazelci/presubmit.yml
Waited 3s
·
Ran in 12m 58s
3/10
:mac: macOS (shard 3)curl -sS https://raw.githubusercontent.com/bazelbuild/continuous-integration/master/buildkite/bazelci.py?1738951285 -o bazelci.py && python3 bazelci.py runner --task=macos --file_config=.bazelci/presubmit.yml
Waited 8s
·
Ran in 7m 11s
4/10
:mac: macOS arm64 (shard 4)curl -sS https://raw.githubusercontent.com/bazelbuild/continuous-integration/master/buildkite/bazelci.py?1738951285 -o bazelci.py && python3 bazelci.py runner --task=macos_arm64 --file_config=.bazelci/presubmit.yml
Waited 6s
·
Ran in 14m 55s
RBE on :ubuntu: Ubuntu 20.04 LTScurl -sS https://raw.githubusercontent.com/bazelbuild/continuous-integration/master/buildkite/bazelci.py?1738951285 -o bazelci.py && python3.8 bazelci.py runner --task=rbe_ubuntu2004 --file_config=.bazelci/presubmit.yml
Waited 6s
·
Ran in 20m 39s
Total Job Run Time: 11h 52m