From aa45e1a108e5b72a2a7aa71a70d7efe6fedcdfed Mon Sep 17 00:00:00 2001 From: Kurdistan Tech Ministry Date: Fri, 27 Feb 2026 17:57:31 +0300 Subject: [PATCH] fix(ci): update UI test stderr files for pezsp_api rebrand, increase test-doc timeout MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Update 5 .stderr files: sp_api → pezsp_api references and column numbers (empty_impl_runtime_apis_call, impl_incorrect_method_signature, mock_advanced_hash_by_reference, mock_only_self_reference, type_reference_in_impl_runtime_apis_call) - Increase test-doc timeout 180→300min (VPS needs ~3h for doc tests) --- .github/workflows/docs.yml | 2 +- .../tests/ui/empty_impl_runtime_apis_call.stderr | 4 ++-- .../tests/ui/impl_incorrect_method_signature.stderr | 10 +++++----- .../tests/ui/mock_advanced_hash_by_reference.stderr | 4 ++-- .../test/tests/ui/mock_only_self_reference.stderr | 12 ++++++------ .../type_reference_in_impl_runtime_apis_call.stderr | 10 +++++----- 6 files changed, 21 insertions(+), 21 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 2588f0c3..c6a02d0b 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -21,7 +21,7 @@ jobs: test-doc: runs-on: ${{ needs.preflight.outputs.RUNNER }} - timeout-minutes: 180 + timeout-minutes: 300 needs: [preflight] container: image: ${{ needs.preflight.outputs.IMAGE }} diff --git a/bizinikiwi/primitives/api/test/tests/ui/empty_impl_runtime_apis_call.stderr b/bizinikiwi/primitives/api/test/tests/ui/empty_impl_runtime_apis_call.stderr index 498a3f20..c155e2d9 100644 --- a/bizinikiwi/primitives/api/test/tests/ui/empty_impl_runtime_apis_call.stderr +++ b/bizinikiwi/primitives/api/test/tests/ui/empty_impl_runtime_apis_call.stderr @@ -1,7 +1,7 @@ error: No api implementation given! --> tests/ui/empty_impl_runtime_apis_call.rs:28:1 | -28 | sp_api::impl_runtime_apis! {} +28 | pezsp_api::impl_runtime_apis! {} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: this error originates in the macro `sp_api::impl_runtime_apis` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `pezsp_api::impl_runtime_apis` (in Nightly builds, run with -Z macro-backtrace for more info) diff --git a/bizinikiwi/primitives/api/test/tests/ui/impl_incorrect_method_signature.stderr b/bizinikiwi/primitives/api/test/tests/ui/impl_incorrect_method_signature.stderr index c9879ab2..6a60816a 100644 --- a/bizinikiwi/primitives/api/test/tests/ui/impl_incorrect_method_signature.stderr +++ b/bizinikiwi/primitives/api/test/tests/ui/impl_incorrect_method_signature.stderr @@ -1,7 +1,7 @@ error[E0603]: struct `RuntimeVersion` is private - --> tests/ui/impl_incorrect_method_signature.rs:37:27 + --> tests/ui/impl_incorrect_method_signature.rs:37:30 | -37 | fn version() -> sp_api::RuntimeVersion { +37 | fn version() -> pezsp_api::RuntimeVersion { | ^^^^^^^^^^^^^^ private struct | note: the struct `RuntimeVersion` is defined here @@ -11,12 +11,12 @@ note: the struct `RuntimeVersion` is defined here | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider importing this struct instead | -37 - fn version() -> sp_api::RuntimeVersion { +37 - fn version() -> pezsp_api::RuntimeVersion { 37 + fn version() -> sp_version::RuntimeVersion { | help: import `RuntimeVersion` directly | -37 - fn version() -> sp_api::RuntimeVersion { +37 - fn version() -> pezsp_api::RuntimeVersion { 37 + fn version() -> sp_version::RuntimeVersion { | @@ -42,7 +42,7 @@ help: change the parameter type to match the trait error[E0308]: mismatched types --> tests/ui/impl_incorrect_method_signature.rs:33:11 | -31 | / sp_api::impl_runtime_apis! { +31 | / pezsp_api::impl_runtime_apis! { 32 | | impl self::Api for Runtime { 33 | | fn test(data: String) {} | | ^^^^ expected `u64`, found `String` diff --git a/bizinikiwi/primitives/api/test/tests/ui/mock_advanced_hash_by_reference.stderr b/bizinikiwi/primitives/api/test/tests/ui/mock_advanced_hash_by_reference.stderr index 389a96d5..40654c29 100644 --- a/bizinikiwi/primitives/api/test/tests/ui/mock_advanced_hash_by_reference.stderr +++ b/bizinikiwi/primitives/api/test/tests/ui/mock_advanced_hash_by_reference.stderr @@ -1,7 +1,7 @@ error: `Hash` needs to be taken by value and not by reference! --> tests/ui/mock_advanced_hash_by_reference.rs:29:1 | -29 | / sp_api::mock_impl_runtime_apis! { +29 | / pezsp_api::mock_impl_runtime_apis! { 30 | | impl Api for MockApi { 31 | | #[advanced] 32 | | fn test(&self, _: &Hash) -> Result<(), ApiError> { @@ -9,4 +9,4 @@ error: `Hash` needs to be taken by value and not by reference! 36 | | } | |_^ | - = note: this error originates in the macro `sp_api::mock_impl_runtime_apis` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `pezsp_api::mock_impl_runtime_apis` (in Nightly builds, run with -Z macro-backtrace for more info) diff --git a/bizinikiwi/primitives/api/test/tests/ui/mock_only_self_reference.stderr b/bizinikiwi/primitives/api/test/tests/ui/mock_only_self_reference.stderr index cfe64f0d..05144423 100644 --- a/bizinikiwi/primitives/api/test/tests/ui/mock_only_self_reference.stderr +++ b/bizinikiwi/primitives/api/test/tests/ui/mock_only_self_reference.stderr @@ -13,34 +13,34 @@ error: Only `&self` is supported! error[E0050]: method `test` has 2 parameters but the declaration in trait `Api::test` has 3 --> tests/ui/mock_only_self_reference.rs:29:1 | -20 | / sp_api::decl_runtime_apis! { +20 | / pezsp_api::decl_runtime_apis! { 21 | | pub trait Api { 22 | | fn test(data: u64); | |_________________________- trait requires 3 parameters ... -29 | / sp_api::mock_impl_runtime_apis! { +29 | / pezsp_api::mock_impl_runtime_apis! { 30 | | impl Api for MockApi { 31 | | fn test(self, data: u64) {} ... | 35 | | } | |_^ expected 3 parameters, found 2 | - = note: this error originates in the macro `sp_api::mock_impl_runtime_apis` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `pezsp_api::mock_impl_runtime_apis` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0050]: method `test2` has 2 parameters but the declaration in trait `Api::test2` has 3 --> tests/ui/mock_only_self_reference.rs:29:1 | -20 | / sp_api::decl_runtime_apis! { +20 | / pezsp_api::decl_runtime_apis! { 21 | | pub trait Api { 22 | | fn test(data: u64); 23 | | fn test2(data: u64); | |__________________________- trait requires 3 parameters ... -29 | / sp_api::mock_impl_runtime_apis! { +29 | / pezsp_api::mock_impl_runtime_apis! { 30 | | impl Api for MockApi { 31 | | fn test(self, data: u64) {} ... | 35 | | } | |_^ expected 3 parameters, found 2 | - = note: this error originates in the macro `sp_api::mock_impl_runtime_apis` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `pezsp_api::mock_impl_runtime_apis` (in Nightly builds, run with -Z macro-backtrace for more info) diff --git a/bizinikiwi/primitives/api/test/tests/ui/type_reference_in_impl_runtime_apis_call.stderr b/bizinikiwi/primitives/api/test/tests/ui/type_reference_in_impl_runtime_apis_call.stderr index b798abc8..3ef3081c 100644 --- a/bizinikiwi/primitives/api/test/tests/ui/type_reference_in_impl_runtime_apis_call.stderr +++ b/bizinikiwi/primitives/api/test/tests/ui/type_reference_in_impl_runtime_apis_call.stderr @@ -1,7 +1,7 @@ error[E0603]: struct `RuntimeVersion` is private - --> tests/ui/type_reference_in_impl_runtime_apis_call.rs:39:27 + --> tests/ui/type_reference_in_impl_runtime_apis_call.rs:39:30 | -39 | fn version() -> sp_api::RuntimeVersion { +39 | fn version() -> pezsp_api::RuntimeVersion { | ^^^^^^^^^^^^^^ private struct | note: the struct `RuntimeVersion` is defined here @@ -11,12 +11,12 @@ note: the struct `RuntimeVersion` is defined here | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider importing this struct instead | -39 - fn version() -> sp_api::RuntimeVersion { +39 - fn version() -> pezsp_api::RuntimeVersion { 39 + fn version() -> sp_version::RuntimeVersion { | help: import `RuntimeVersion` directly | -39 - fn version() -> sp_api::RuntimeVersion { +39 - fn version() -> pezsp_api::RuntimeVersion { 39 + fn version() -> sp_version::RuntimeVersion { | @@ -42,7 +42,7 @@ help: change the parameter type to match the trait error[E0308]: mismatched types --> tests/ui/type_reference_in_impl_runtime_apis_call.rs:33:11 | -31 | / sp_api::impl_runtime_apis! { +31 | / pezsp_api::impl_runtime_apis! { 32 | | impl self::Api for Runtime { 33 | | fn test(data: &u64) { | | ^^^^^^^ expected `u64`, found `&u64`