Consistently pass a ref to a Dispatch
This changes `set_global_default` to take a reference to its `Dispatch` for a more consistent API at the cost of a one-time clone when initializing the `GLOBAL_DISPATCH` static.

Closes #455
Part of #922
## Feature Request

- `tracing::dispatcher::set_default` takes `&Dispatch`
- `tracing::dispatcher::set_global_default` takes `Dispatch`
- `tracing::dispatcher::with_default` takes `&Dispatch`

These should all take one or the other. `&Dispatch` is definitely more ergonomic (and we clone internally), `Dispatch` saves us a clone in certain cases. Either way, we should stick with one.
Consistency between various *default methods
diff --git a/tracing-core/src/dispatcher.rs b/tracing-core/src/dispatcher.rs
index 086e53d40b..1e622f16ef 100644
--- a/tracing-core/src/dispatcher.rs
+++ b/tracing-core/src/dispatcher.rs
@@ -107,7 +107,7 @@
 //! // no default subscriber
 //!
 //! # #[cfg(feature = "std")]
-//! dispatcher::set_global_default(my_dispatch)
+//! dispatcher::set_global_default(&my_dispatch)
 //!     // `set_global_default` will return an error if the global default
 //!     // subscriber has already been set.
 //!     .expect("global default was already set!");
@@ -307,12 +307,12 @@ pub fn set_default(dispatcher: &Dispatch) -> DefaultGuard {
 /// [span]: super::span
 /// [`Subscriber`]: super::subscriber::Subscriber
 /// [`Event`]: super::event::Event
-pub fn set_global_default(dispatcher: Dispatch) -> Result<(), SetGlobalDefaultError> {
+pub fn set_global_default(dispatcher: &Dispatch) -> Result<(), SetGlobalDefaultError> {
     if GLOBAL_INIT.compare_and_swap(UNINITIALIZED, INITIALIZING, Ordering::SeqCst) == UNINITIALIZED
     {
         #[cfg(feature = "alloc")]
         let subscriber = {
-            let subscriber = match dispatcher.subscriber {
+            let subscriber = match dispatcher.subscriber.clone() {
                 Kind::Global(s) => s,
                 Kind::Scoped(s) => unsafe {
                     // safety: this leaks the subscriber onto the heap. the
@@ -527,7 +527,7 @@ impl Dispatch {
     ///
     ///     let dispatch = Dispatch::from_static(&SUBSCRIBER);
     ///
-    ///     dispatcher::set_global_default(dispatch)
+    ///     dispatcher::set_global_default(&dispatch)
     ///         .expect("no global default subscriber should have been set previously!");
     /// }
     /// ```
diff --git a/tracing-subscriber/src/fmt/mod.rs b/tracing-subscriber/src/fmt/mod.rs
index 541f4c372a..439c6896a2 100644
--- a/tracing-subscriber/src/fmt/mod.rs
+++ b/tracing-subscriber/src/fmt/mod.rs
@@ -415,7 +415,7 @@ where
         #[cfg(feature = "tracing-log")]
         tracing_log::LogTracer::init().map_err(Box::new)?;
 
-        tracing_core::dispatcher::set_global_default(tracing_core::dispatcher::Dispatch::new(
+        tracing_core::dispatcher::set_global_default(&tracing_core::dispatcher::Dispatch::new(
             self.finish(),
         ))?;
         Ok(())
diff --git a/tracing-subscriber/src/util.rs b/tracing-subscriber/src/util.rs
index 48d62c50a5..87c1d6c449 100644
--- a/tracing-subscriber/src/util.rs
+++ b/tracing-subscriber/src/util.rs
@@ -53,7 +53,7 @@ where
         #[cfg(feature = "tracing-log")]
         tracing_log::LogTracer::init().map_err(TryInitError::new)?;
 
-        dispatcher::set_global_default(self.into()).map_err(TryInitError::new)?;
+        dispatcher::set_global_default(&self.into()).map_err(TryInitError::new)?;
 
         Ok(())
     }
diff --git a/tracing/src/dispatcher.rs b/tracing/src/dispatcher.rs
index a7e2a7c5aa..6509df655f 100644
--- a/tracing/src/dispatcher.rs
+++ b/tracing/src/dispatcher.rs
@@ -108,7 +108,7 @@
 //! // no default subscriber
 //!
 //! # #[cfg(feature = "alloc")]
-//! dispatcher::set_global_default(my_dispatch)
+//! dispatcher::set_global_default(&my_dispatch)
 //!     // `set_global_default` will return an error if the global default
 //!     // subscriber has already been set.
 //!     .expect("global default was already set!");
diff --git a/tracing/src/subscriber.rs b/tracing/src/subscriber.rs
index bcb51c5053..f7fdc87c31 100644
--- a/tracing/src/subscriber.rs
+++ b/tracing/src/subscriber.rs
@@ -42,7 +42,7 @@ pub fn set_global_default<S>(subscriber: S) -> Result<(), SetGlobalDefaultError>
 where
     S: Subscriber + Send + Sync + 'static,
 {
-    crate::dispatcher::set_global_default(crate::Dispatch::new(subscriber))
+    crate::dispatcher::set_global_default(&crate::Dispatch::new(subscriber))
 }
 
 /// Sets the subscriber as the default for the duration of the lifetime of the

diff --git a/tracing-core/tests/dispatch.rs b/tracing-core/tests/dispatch.rs
index 1e91cfebdc..8c915cdc8e 100644
--- a/tracing-core/tests/dispatch.rs
+++ b/tracing-core/tests/dispatch.rs
@@ -9,7 +9,7 @@ use tracing_core::dispatcher::*;
 #[cfg(feature = "std")]
 #[test]
 fn set_default_dispatch() {
-    set_global_default(Dispatch::new(TestSubscriberA)).expect("global dispatch set failed");
+    set_global_default(&Dispatch::new(TestSubscriberA)).expect("global dispatch set failed");
     get_default(|current| {
         assert!(
             current.is::<TestSubscriberA>(),
diff --git a/tracing-core/tests/global_dispatch.rs b/tracing-core/tests/global_dispatch.rs
index 7d69ea3976..ef875abc11 100644
--- a/tracing-core/tests/global_dispatch.rs
+++ b/tracing-core/tests/global_dispatch.rs
@@ -5,7 +5,7 @@ use tracing_core::dispatcher::*;
 #[test]
 fn global_dispatch() {
     static TEST: TestSubscriberA = TestSubscriberA;
-    set_global_default(Dispatch::from_static(&TEST)).expect("global dispatch set failed");
+    set_global_default(&Dispatch::from_static(&TEST)).expect("global dispatch set failed");
     get_default(|current| {
         assert!(
             current.is::<TestSubscriberA>(),
@@ -30,6 +30,6 @@ fn global_dispatch() {
         )
     });
 
-    set_global_default(Dispatch::from_static(&TEST))
+    set_global_default(&Dispatch::from_static(&TEST))
         .expect_err("double global dispatch set succeeded");
 }

{"event_outside_of_span": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "handles_to_different_spans_with_the_same_metadata_are_not_equal": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "debug": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "record_new_value_for_field": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "string_message_without_delims": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "non_blocking::test::multi_threaded_writes": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "rolling::test::write_hourly_log": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "rolling::test::write_daily_log": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "one_with_everything": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "event_without_message": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "enter": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "info_with_parent": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "rolling::test::test_round_date_hourly": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "span_with_parent": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "trace_with_parent": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "explicit_child_at_levels": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "trace_span_with_parent": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "warn": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "spans_always_go_to_the_subscriber_that_tagged_them": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "rolling::test::test_rotation_path_daily": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "trace_root": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "rolling::test::test_round_date_minutely": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "rolling::test::write_never_log": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "event_macros_dont_infinite_loop": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dropping_a_span_calls_drop_span": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "prefixed_span_macros": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "moved_field": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "rolling::test::test_join_date_never": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "trace_span": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "locals_with_message": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "display_shorthand": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "span_closes_after_event": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "warn_span_with_parent": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "warn_with_parent": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "rolling::test::test_next_date_never": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "rolling::test::test_next_date_daily": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "multiple_max_level_hints": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "warn_span": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "info_root": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "warn_span_root": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "info": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "borrow_val_events": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dotted_field_name": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "event": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "field_shorthand_only": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "span": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "error_span_root": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "move_field_out_of_struct": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "error_root": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "nonzeroi32_event_without_message": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "handles_to_different_spans_are_not_equal": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "info_span": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "rolling::test::test_rotation_path_minutely": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "span_root": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "error_span": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "info_span_root": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "borrow_val_spans": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "explicit_child_regardless_of_ctx": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "locals_no_message": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "borrowed_field": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "rolling::test::test_rotation_path_hourly": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "both_shorthands": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "record_new_values_for_fields": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "new_span_with_target_and_log_level": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "rolling::test::test_round_date_daily": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "info_span_with_parent": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "rolling::test::test_next_date_minutely": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "explicit_root_span_is_root_regardless_of_ctx": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "trace": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "event_with_parent": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "max_level_hints": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "message_without_delims": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "debug_span_with_parent": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "spans_always_go_to_the_subscriber_that_tagged_them_even_across_threads": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "filter_caching_is_lexically_scoped": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "handles_to_the_same_span_are_equal": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "debug_span": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "span_closes_when_exited": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "clone_and_drop_span_always_go_to_the_subscriber_that_tagged_the_span": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "prefixed_event_macros": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "async_fn_with_async_trait_and_fields_expressions": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "events_dont_leak": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "new_span_after_event": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "error": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "debug_shorthand": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "event_with_message": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "explicit_root_span_is_root": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "debug_root": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "async_fn_nested": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "async_fn_only_enters_for_polls": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "event_root": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "explicit_child": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "contextual_root": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "error_with_parent": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "span_with_non_rust_symbol": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "filters_are_reevaluated_for_different_call_sites": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "callsite_macro_api": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "async_fn_with_async_trait_and_fields_expressions_with_generic_parameter": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "rolling::test::test_next_date_hourly": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "debug_with_parent": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "rolling::test::write_minutely_log": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "filters_are_not_reevaluated_for_the_same_span": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "contextual_child": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "wrapping_event_without_message": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "spans_dont_leak": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "error_span_with_parent": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "drop_span_when_exiting_dispatchers_context": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "debug_span_root": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cloning_a_span_calls_clone_span": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "warn_root": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "trace_span_root": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "non_blocking::test::backpressure_exerted": {"run": "PASS", "test": "NONE", "fix": "PASS"}}
{"event_outside_of_span": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "handles_to_different_spans_with_the_same_metadata_are_not_equal": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "debug": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "record_new_value_for_field": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "string_message_without_delims": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "non_blocking::test::multi_threaded_writes": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "rolling::test::write_hourly_log": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "rolling::test::write_daily_log": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "one_with_everything": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "event_without_message": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "enter": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "info_with_parent": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "rolling::test::test_round_date_hourly": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "span_with_parent": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "trace_with_parent": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "explicit_child_at_levels": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "trace_span_with_parent": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "warn": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "spans_always_go_to_the_subscriber_that_tagged_them": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "rolling::test::test_rotation_path_daily": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "trace_root": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "rolling::test::test_round_date_minutely": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "rolling::test::write_never_log": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "event_macros_dont_infinite_loop": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dropping_a_span_calls_drop_span": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "prefixed_span_macros": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "moved_field": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "rolling::test::test_join_date_never": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "trace_span": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "locals_with_message": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "display_shorthand": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "span_closes_after_event": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "warn_span_with_parent": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "warn_with_parent": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "rolling::test::test_next_date_never": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "rolling::test::test_next_date_daily": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "multiple_max_level_hints": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "warn_span": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "info_root": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "warn_span_root": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "info": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "borrow_val_events": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dotted_field_name": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "event": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "field_shorthand_only": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "span": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "error_span_root": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "move_field_out_of_struct": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "error_root": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "nonzeroi32_event_without_message": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "handles_to_different_spans_are_not_equal": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "info_span": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "rolling::test::test_rotation_path_minutely": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "span_root": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "error_span": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "info_span_root": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "borrow_val_spans": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "explicit_child_regardless_of_ctx": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "locals_no_message": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "borrowed_field": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "rolling::test::test_rotation_path_hourly": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "both_shorthands": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "record_new_values_for_fields": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "new_span_with_target_and_log_level": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "rolling::test::test_round_date_daily": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "info_span_with_parent": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "rolling::test::test_next_date_minutely": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "explicit_root_span_is_root_regardless_of_ctx": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "trace": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "event_with_parent": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "max_level_hints": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "message_without_delims": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "debug_span_with_parent": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "spans_always_go_to_the_subscriber_that_tagged_them_even_across_threads": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "filter_caching_is_lexically_scoped": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "handles_to_the_same_span_are_equal": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "debug_span": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "span_closes_when_exited": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "clone_and_drop_span_always_go_to_the_subscriber_that_tagged_the_span": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "prefixed_event_macros": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "async_fn_with_async_trait_and_fields_expressions": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "events_dont_leak": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "new_span_after_event": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "error": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "debug_shorthand": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "event_with_message": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "explicit_root_span_is_root": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "debug_root": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "async_fn_nested": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "async_fn_only_enters_for_polls": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "event_root": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "explicit_child": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "contextual_root": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "error_with_parent": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "span_with_non_rust_symbol": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "filters_are_reevaluated_for_different_call_sites": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "callsite_macro_api": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "async_fn_with_async_trait_and_fields_expressions_with_generic_parameter": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "rolling::test::test_next_date_hourly": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "debug_with_parent": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "rolling::test::write_minutely_log": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "filters_are_not_reevaluated_for_the_same_span": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "contextual_child": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "wrapping_event_without_message": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "spans_dont_leak": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "error_span_with_parent": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "drop_span_when_exiting_dispatchers_context": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "debug_span_root": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cloning_a_span_calls_clone_span": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "warn_root": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "trace_span_root": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "non_blocking::test::backpressure_exerted": {"run": "PASS", "test": "NONE", "fix": "PASS"}}
{"passed_count": 112, "failed_count": 1, "skipped_count": 1, "passed_tests": ["event_outside_of_span", "handles_to_different_spans_with_the_same_metadata_are_not_equal", "string_message_without_delims", "non_blocking::test::multi_threaded_writes", "rolling::test::write_hourly_log", "rolling::test::test_round_date_hourly", "span_with_parent", "trace_with_parent", "spans_always_go_to_the_subscriber_that_tagged_them", "rolling::test::test_round_date_minutely", "rolling::test::write_never_log", "event_macros_dont_infinite_loop", "prefixed_span_macros", "rolling::test::test_join_date_never", "trace_span", "locals_with_message", "span_closes_after_event", "warn_with_parent", "rolling::test::test_next_date_never", "rolling::test::test_next_date_daily", "warn_span", "info_root", "info", "borrow_val_events", "span", "move_field_out_of_struct", "nonzeroi32_event_without_message", "span_root", "info_span_root", "borrow_val_spans", "locals_no_message", "both_shorthands", "record_new_values_for_fields", "new_span_with_target_and_log_level", "rolling::test::test_round_date_daily", "rolling::test::test_next_date_minutely", "trace", "span_closes_when_exited", "prefixed_event_macros", "debug_shorthand", "event_with_message", "debug_root", "event_root", "contextual_root", "callsite_macro_api", "rolling::test::write_minutely_log", "contextual_child", "error_span_with_parent", "debug_span_root", "cloning_a_span_calls_clone_span", "explicit_child", "warn_root", "trace_span_root", "non_blocking::test::backpressure_exerted", "debug", "record_new_value_for_field", "rolling::test::write_daily_log", "one_with_everything", "event_without_message", "enter", "info_with_parent", "explicit_child_at_levels", "trace_span_with_parent", "warn", "rolling::test::test_rotation_path_daily", "trace_root", "dropping_a_span_calls_drop_span", "moved_field", "display_shorthand", "warn_span_with_parent", "multiple_max_level_hints", "warn_span_root", "dotted_field_name", "event", "field_shorthand_only", "error_span_root", "error_root", "handles_to_different_spans_are_not_equal", "info_span", "rolling::test::test_rotation_path_minutely", "error_span", "explicit_child_regardless_of_ctx", "borrowed_field", "rolling::test::test_rotation_path_hourly", "info_span_with_parent", "explicit_root_span_is_root_regardless_of_ctx", "event_with_parent", "max_level_hints", "message_without_delims", "debug_span_with_parent", "spans_always_go_to_the_subscriber_that_tagged_them_even_across_threads", "filter_caching_is_lexically_scoped", "handles_to_the_same_span_are_equal", "debug_span", "clone_and_drop_span_always_go_to_the_subscriber_that_tagged_the_span", "async_fn_with_async_trait_and_fields_expressions", "events_dont_leak", "new_span_after_event", "error", "explicit_root_span_is_root", "async_fn_nested", "async_fn_only_enters_for_polls", "error_with_parent", "span_with_non_rust_symbol", "filters_are_reevaluated_for_different_call_sites", "async_fn_with_async_trait_and_fields_expressions_with_generic_parameter", "rolling::test::test_next_date_hourly", "debug_with_parent", "filters_are_not_reevaluated_for_the_same_span", "wrapping_event_without_message", "spans_dont_leak", "drop_span_when_exiting_dispatchers_context"], "failed_tests": ["async_fn_with_async_trait"], "skipped_tests": ["non_blocking::test::logs_dropped_if_lossy"]}
{"passed_count": 0, "failed_count": 0, "skipped_count": 0, "passed_tests": [], "failed_tests": [], "skipped_tests": []}
{"passed_count": 112, "failed_count": 1, "skipped_count": 1, "passed_tests": ["event_outside_of_span", "handles_to_different_spans_with_the_same_metadata_are_not_equal", "string_message_without_delims", "non_blocking::test::multi_threaded_writes", "rolling::test::write_hourly_log", "rolling::test::test_round_date_hourly", "span_with_parent", "trace_with_parent", "spans_always_go_to_the_subscriber_that_tagged_them", "rolling::test::test_round_date_minutely", "rolling::test::write_never_log", "event_macros_dont_infinite_loop", "prefixed_span_macros", "rolling::test::test_join_date_never", "trace_span", "locals_with_message", "span_closes_after_event", "warn_with_parent", "rolling::test::test_next_date_never", "rolling::test::test_next_date_daily", "warn_span", "info_root", "info", "borrow_val_events", "span", "move_field_out_of_struct", "nonzeroi32_event_without_message", "span_root", "info_span_root", "borrow_val_spans", "locals_no_message", "both_shorthands", "record_new_values_for_fields", "new_span_with_target_and_log_level", "rolling::test::test_round_date_daily", "rolling::test::test_next_date_minutely", "trace", "span_closes_when_exited", "prefixed_event_macros", "debug_shorthand", "event_with_message", "debug_root", "event_root", "contextual_root", "callsite_macro_api", "rolling::test::write_minutely_log", "contextual_child", "error_span_with_parent", "debug_span_root", "cloning_a_span_calls_clone_span", "explicit_child", "warn_root", "trace_span_root", "non_blocking::test::backpressure_exerted", "debug", "record_new_value_for_field", "rolling::test::write_daily_log", "one_with_everything", "event_without_message", "enter", "info_with_parent", "explicit_child_at_levels", "trace_span_with_parent", "warn", "rolling::test::test_rotation_path_daily", "trace_root", "dropping_a_span_calls_drop_span", "moved_field", "display_shorthand", "warn_span_with_parent", "multiple_max_level_hints", "warn_span_root", "dotted_field_name", "event", "field_shorthand_only", "error_span_root", "error_root", "handles_to_different_spans_are_not_equal", "info_span", "rolling::test::test_rotation_path_minutely", "error_span", "explicit_child_regardless_of_ctx", "borrowed_field", "rolling::test::test_rotation_path_hourly", "info_span_with_parent", "explicit_root_span_is_root_regardless_of_ctx", "event_with_parent", "max_level_hints", "message_without_delims", "debug_span_with_parent", "spans_always_go_to_the_subscriber_that_tagged_them_even_across_threads", "filter_caching_is_lexically_scoped", "handles_to_the_same_span_are_equal", "debug_span", "clone_and_drop_span_always_go_to_the_subscriber_that_tagged_the_span", "async_fn_with_async_trait_and_fields_expressions", "events_dont_leak", "new_span_after_event", "error", "explicit_root_span_is_root", "async_fn_nested", "async_fn_only_enters_for_polls", "error_with_parent", "span_with_non_rust_symbol", "filters_are_reevaluated_for_different_call_sites", "async_fn_with_async_trait_and_fields_expressions_with_generic_parameter", "rolling::test::test_next_date_hourly", "debug_with_parent", "filters_are_not_reevaluated_for_the_same_span", "wrapping_event_without_message", "spans_dont_leak", "drop_span_when_exiting_dispatchers_context"], "failed_tests": ["async_fn_with_async_trait"], "skipped_tests": ["non_blocking::test::logs_dropped_if_lossy"]}