From 783806d258fbc98ecee988965685ee46c7d57439 Mon Sep 17 00:00:00 2001 From: Branislav Kontur Date: Sun, 6 Oct 2024 00:29:31 +0200 Subject: [PATCH] Switch clippy from nightly to stable, because of nalgebra deps hangs 6hours: https://github.com/rust-lang/rust/issues/130056 and also polkadot-sdk is using stable for clippy and doc: https://gitlab.parity.io/parity/mirrors/parity-bridges-common/-/jobs/7515555 https://gitlab.parity.io/parity/mirrors/parity-bridges-common/-/jobs/7515561 --- .gitlab-ci.yml | 4 ++-- relay-clients/client-kusama/src/codegen_runtime.rs | 2 +- relay-clients/client-polkadot/src/codegen_runtime.rs | 2 +- relay-clients/client-rococo/src/codegen_runtime.rs | 2 +- relay-clients/client-westend/src/codegen_runtime.rs | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ceeacea57f..2605a6374a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -100,7 +100,7 @@ clippy-nightly: variables: RUSTFLAGS: "-D warnings" script: - - SKIP_WASM_BUILD=1 cargo +nightly clippy --all-targets + - SKIP_WASM_BUILD=1 cargo clippy --all-targets --locked --workspace fmt: stage: test @@ -188,7 +188,7 @@ check-rustdoc: SKIP_WASM_BUILD: 1 RUSTDOCFLAGS: "-Dwarnings" script: - - time cargo +nightly doc --workspace --verbose --no-deps --all-features + - time cargo doc --workspace --verbose --no-deps --all-features partial-repo-pallets-build-test: stage: test diff --git a/relay-clients/client-kusama/src/codegen_runtime.rs b/relay-clients/client-kusama/src/codegen_runtime.rs index dfc3c7a07e..ccffa740d0 100644 --- a/relay-clients/client-kusama/src/codegen_runtime.rs +++ b/relay-clients/client-kusama/src/codegen_runtime.rs @@ -18,7 +18,7 @@ //! THIS FILE WAS AUTOGENERATED USING parity-bridges-common::runtime-codegen //! EXECUTED COMMAND: target/debug/runtime-codegen --from-node-url wss://kusama-rpc.polkadot.io -#[allow(dead_code, unused_imports, non_camel_case_types, unreachable_patterns)] +#[allow(dead_code, unused_imports, non_camel_case_types)] #[allow(clippy::all)] #[allow(rustdoc::broken_intra_doc_links)] pub mod api { diff --git a/relay-clients/client-polkadot/src/codegen_runtime.rs b/relay-clients/client-polkadot/src/codegen_runtime.rs index bee6e43355..ba3bd4ff30 100644 --- a/relay-clients/client-polkadot/src/codegen_runtime.rs +++ b/relay-clients/client-polkadot/src/codegen_runtime.rs @@ -18,7 +18,7 @@ //! THIS FILE WAS AUTOGENERATED USING parity-bridges-common::runtime-codegen //! EXECUTED COMMAND: target/debug/runtime-codegen --from-node-url wss://dot-rpc.stakeworld.io -#[allow(dead_code, unused_imports, non_camel_case_types, unreachable_patterns)] +#[allow(dead_code, unused_imports, non_camel_case_types)] #[allow(clippy::all)] #[allow(rustdoc::broken_intra_doc_links)] pub mod api { diff --git a/relay-clients/client-rococo/src/codegen_runtime.rs b/relay-clients/client-rococo/src/codegen_runtime.rs index 3222e10d6a..147ed2a053 100644 --- a/relay-clients/client-rococo/src/codegen_runtime.rs +++ b/relay-clients/client-rococo/src/codegen_runtime.rs @@ -18,7 +18,7 @@ //! THIS FILE WAS AUTOGENERATED USING parity-bridges-common::runtime-codegen //! EXECUTED COMMAND: target/debug/runtime-codegen --from-node-url wss://rococo-rpc.polkadot.io:443 -#[allow(dead_code, unused_imports, non_camel_case_types, unreachable_patterns)] +#[allow(dead_code, unused_imports, non_camel_case_types)] #[allow(clippy::all)] #[allow(rustdoc::broken_intra_doc_links)] pub mod api { diff --git a/relay-clients/client-westend/src/codegen_runtime.rs b/relay-clients/client-westend/src/codegen_runtime.rs index 9fe6a63253..7a92841683 100644 --- a/relay-clients/client-westend/src/codegen_runtime.rs +++ b/relay-clients/client-westend/src/codegen_runtime.rs @@ -18,7 +18,7 @@ //! THIS FILE WAS AUTOGENERATED USING parity-bridges-common::runtime-codegen //! EXECUTED COMMAND: target/debug/runtime-codegen --from-node-url wss://westend-rpc.polkadot.io:443 -#[allow(dead_code, unused_imports, non_camel_case_types, unreachable_patterns)] +#[allow(dead_code, unused_imports, non_camel_case_types)] #[allow(clippy::all)] #[allow(rustdoc::broken_intra_doc_links)] pub mod api {