diff --git a/substrate/frame/support/test/tests/construct_runtime_ui/number_of_pallets_exceeds_tuple_size.stderr b/substrate/frame/support/test/tests/construct_runtime_ui/number_of_pallets_exceeds_tuple_size.stderr
index 6838b7f4c0a5966141c681d452d164a948a6e714..3b6329c650fa65208e01c7d991e321f256b7eecf 100644
--- a/substrate/frame/support/test/tests/construct_runtime_ui/number_of_pallets_exceeds_tuple_size.stderr
+++ b/substrate/frame/support/test/tests/construct_runtime_ui/number_of_pallets_exceeds_tuple_size.stderr
@@ -81,6 +81,11 @@ error[E0412]: cannot find type `RuntimeTask` in this scope
   --> tests/construct_runtime_ui/number_of_pallets_exceeds_tuple_size.rs:39:1
    |
 39 | #[derive_impl(frame_system::config_preludes::TestDefaultConfig as frame_system::DefaultConfig)]
-   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: you might have meant to use the associated type: `Self::RuntimeTask`
+   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: this error originates in the macro `frame_system::config_preludes::TestDefaultConfig` which comes from the expansion of the macro `frame_support::macro_magic::forward_tokens_verbatim` (in Nightly builds, run with -Z macro-backtrace for more info)
+help: you might have meant to use the associated type
+  --> $WORKSPACE/substrate/frame/system/src/lib.rs
+   |
+   |             type Self::RuntimeTask = ();
+   |                  ++++++
diff --git a/substrate/frame/support/test/tests/pallet_ui/task_condition_invalid_arg.stderr b/substrate/frame/support/test/tests/pallet_ui/task_condition_invalid_arg.stderr
index ef259656688ace50241a4f0239ffd14acf281922..9c7bad8119f54d53f10970870bc1363613faf366 100644
--- a/substrate/frame/support/test/tests/pallet_ui/task_condition_invalid_arg.stderr
+++ b/substrate/frame/support/test/tests/pallet_ui/task_condition_invalid_arg.stderr
@@ -5,6 +5,7 @@ error: unused import: `frame_system::pallet_prelude::OriginFor`
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: `-D unused-imports` implied by `-D warnings`
+   = help: to override `-D warnings` add `#[allow(unused_imports)]`
 
 error[E0308]: mismatched types
   --> tests/pallet_ui/task_condition_invalid_arg.rs:35:10
diff --git a/substrate/frame/support/test/tests/pallet_ui/task_invalid_condition.stderr b/substrate/frame/support/test/tests/pallet_ui/task_invalid_condition.stderr
index ff57017b3fdbd62a49f1d01bf6a97ad4557f6011..05c0ba5eecf26ccd204532023ef5d12a2e367505 100644
--- a/substrate/frame/support/test/tests/pallet_ui/task_invalid_condition.stderr
+++ b/substrate/frame/support/test/tests/pallet_ui/task_invalid_condition.stderr
@@ -5,6 +5,7 @@ error: unused import: `frame_system::pallet_prelude::OriginFor`
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: `-D unused-imports` implied by `-D warnings`
+   = help: to override `-D warnings` add `#[allow(unused_imports)]`
 
 error[E0308]: mismatched types
   --> tests/pallet_ui/task_invalid_condition.rs:18:1
diff --git a/substrate/frame/support/test/tests/pallet_ui/task_invalid_list.stderr b/substrate/frame/support/test/tests/pallet_ui/task_invalid_list.stderr
index 8dda0c3a1aaa9b231f14b3fd707624c9550f8878..536d02610cb9f0f4a2aca736dbdf1ad65f356416 100644
--- a/substrate/frame/support/test/tests/pallet_ui/task_invalid_list.stderr
+++ b/substrate/frame/support/test/tests/pallet_ui/task_invalid_list.stderr
@@ -5,6 +5,7 @@ error: unused import: `frame_system::pallet_prelude::OriginFor`
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: `-D unused-imports` implied by `-D warnings`
+   = help: to override `-D warnings` add `#[allow(unused_imports)]`
 
 error[E0689]: can't call method `map` on ambiguous numeric type `{integer}`
   --> tests/pallet_ui/task_invalid_list.rs:18:1
diff --git a/substrate/frame/support/test/tests/pallet_ui/task_invalid_weight.stderr b/substrate/frame/support/test/tests/pallet_ui/task_invalid_weight.stderr
index 3537bb59028198249caf0d08b6bd86d98cc633aa..24e925a069920537d3c80275a18d7818e5845ef3 100644
--- a/substrate/frame/support/test/tests/pallet_ui/task_invalid_weight.stderr
+++ b/substrate/frame/support/test/tests/pallet_ui/task_invalid_weight.stderr
@@ -5,6 +5,7 @@ error: unused import: `frame_system::pallet_prelude::OriginFor`
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: `-D unused-imports` implied by `-D warnings`
+   = help: to override `-D warnings` add `#[allow(unused_imports)]`
 
 error[E0308]: mismatched types
   --> tests/pallet_ui/task_invalid_weight.rs:18:1