Ignore errors from ffx debug symbol-index clean

Change-Id: I864630a4070aec4fb32cece483e48906c756bc47
Reviewed-on: https://fuchsia-review.googlesource.com/c/sdk-integration/+/669689
Reviewed-by: Darren Chan <chandarren@google.com>
diff --git a/bazel_rules_fuchsia/fuchsia/private/fuchsia_package.bzl b/bazel_rules_fuchsia/fuchsia/private/fuchsia_package.bzl
index c57b436..3e41427 100644
--- a/bazel_rules_fuchsia/fuchsia/private/fuchsia_package.bzl
+++ b/bazel_rules_fuchsia/fuchsia/private/fuchsia_package.bzl
@@ -179,7 +179,8 @@
         else
           user_dir=
         fi
-        HOME="$user_dir" {ffx} debug symbol-index clean || (echo >&2 "Error, cannot clean symbol-index!" && exit 1)
+        # clean is best-effort, we can safely ignore any error (fxbug.dev/96824#c4)
+        HOME="$user_dir" {ffx} debug symbol-index clean >/dev/null 2>&1
         HOME="$user_dir" {ffx} debug symbol-index add {build_id_dir} || (echo >&2 "Error, cannot add to symbol-index!" && exit 1)
         echo 'SUCCESS' > {stamp_file}
     """.format(