"Ignored or unknown attributes" build failure(s) — clang 11.0.0

PackageVersionSupposed error messageFull log Bug report
kgx 0.2.1-2hdy-dialer-button.h:22:1: error: attribute '__deprecated__' is ignored, place it after "struct" to apply attribute to type declaration [-Werror,-Wignored-attributes] Log
ruby-thrift 0.11.0.0-3ruby.h:1863:1: error: unknown attribute '__error__' ignored [-Werror,-Wunknown-attributes] Log

2 errors