On macOS there were warnings about an unused_import and dead_code because some of the unit tests weren't support.  Solution was to move the conditional compilation attribute off of the directly affected united test to the module level.
@@ -1653,6 +1653,8 @@ impl<'a> Serialize for ServiceProxy<'a> {
}
#[cfg(test)]
+#[cfg(all(any(target_os = "linux", target_os = "windows"),
+ target_arch = "x86_64"))]
mod tests {
use super::*;
use crate::test_helpers::*;
@@ -1711,8 +1713,6 @@ mod tests {
// to test it on other platforms as the schema of a API response is likely to be the same
// across all non-x86_64 unix platforms.
#[tokio::test]
- #[cfg(all(any(target_os = "linux", target_os = "windows"),
- target_arch = "x86_64"))]
async fn service_proxy_conforms_to_the_schema() {
let service_wrapper = initialize_test_service().await;
