From 1b781b4b576d4481845604899ea1334a2cf18252 Mon Sep 17 00:00:00 2001 From: Luke Parker Date: Tue, 7 Oct 2025 04:39:32 -0400 Subject: [PATCH 1/2] Fix CI --- .github/actions/build-dependencies/action.yml | 4 ++-- .github/nightly-version | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/actions/build-dependencies/action.yml b/.github/actions/build-dependencies/action.yml index bd7ca5c7..d1ca0836 100644 --- a/.github/actions/build-dependencies/action.yml +++ b/.github/actions/build-dependencies/action.yml @@ -43,8 +43,8 @@ runs: choco install protoc elif [ "$RUNNER_OS" == "macOS" ]; then brew install protobuf llvm - HOMEBREW_ROOT_PATH=/opt/homebrew # macOS 14+ - if [ $(sw_vers -productVersion | awk -F "." '{ print $1 }') = "13" ]; then HOMEBREW_ROOT_PATH=/usr/local; fi # macOS 13 + HOMEBREW_ROOT_PATH=/opt/homebrew # Apple Silicon + if [ $(uname -m) = "x86_64" ]; then HOMEBREW_ROOT_PATH=/usr/local; fi # Intel ls $HOMEBREW_ROOT_PATH/opt/llvm/lib | grep "libclang.dylib" # Make sure this installed `libclang` echo "DYLD_LIBRARY_PATH=$HOMEBREW_ROOT_PATH/opt/llvm/lib:$DYLD_LIBRARY_PATH" >> "$GITHUB_ENV" fi diff --git a/.github/nightly-version b/.github/nightly-version index 10423e5c..a93c5dd4 100644 --- a/.github/nightly-version +++ b/.github/nightly-version @@ -1 +1 @@ -nightly-2025-09-01 +nightly-2025-09-25 From 5818f1a41c2334d0cab94ffb9348ce2afbf52190 Mon Sep 17 00:00:00 2001 From: Luke Parker Date: Tue, 4 Nov 2025 10:05:08 -0500 Subject: [PATCH 2/2] Update nightly version --- .github/nightly-version | 2 +- common/env/src/lib.rs | 2 +- common/patchable-async-sleep/src/lib.rs | 2 +- common/request/src/lib.rs | 2 +- common/std-shims/src/lib.rs | 2 +- common/zalloc/src/lib.rs | 2 +- crypto/ciphersuite/kp256/src/lib.rs | 2 +- crypto/ciphersuite/src/lib.rs | 2 +- crypto/dalek-ff-group/src/lib.rs | 2 +- crypto/dkg/dealer/src/lib.rs | 2 +- crypto/dkg/musig/src/lib.rs | 2 +- crypto/dkg/pedpop/src/lib.rs | 2 +- crypto/dkg/promote/src/lib.rs | 2 +- crypto/dkg/recovery/src/lib.rs | 2 +- crypto/dkg/src/lib.rs | 2 +- crypto/dleq/src/lib.rs | 2 +- crypto/ed448/src/lib.rs | 2 +- crypto/ff-group-tests/src/lib.rs | 2 +- crypto/frost/src/lib.rs | 2 +- crypto/multiexp/src/lib.rs | 2 +- crypto/schnorr/src/lib.rs | 2 +- crypto/schnorrkel/src/lib.rs | 2 +- crypto/transcript/src/lib.rs | 2 +- networks/bitcoin/src/lib.rs | 2 +- networks/ethereum/alloy-simple-request-transport/src/lib.rs | 2 +- substrate/abi/src/lib.rs | 2 +- substrate/coins/primitives/src/lib.rs | 2 +- substrate/emissions/primitives/src/lib.rs | 2 +- substrate/genesis-liquidity/primitives/src/lib.rs | 2 +- substrate/in-instructions/pallet/src/lib.rs | 2 +- substrate/in-instructions/primitives/src/lib.rs | 2 +- substrate/primitives/src/lib.rs | 2 +- substrate/runtime/src/lib.rs | 2 +- substrate/signals/primitives/src/lib.rs | 2 +- 34 files changed, 34 insertions(+), 34 deletions(-) diff --git a/.github/nightly-version b/.github/nightly-version index a93c5dd4..fb0647cf 100644 --- a/.github/nightly-version +++ b/.github/nightly-version @@ -1 +1 @@ -nightly-2025-09-25 +nightly-2025-11-01 diff --git a/common/env/src/lib.rs b/common/env/src/lib.rs index bace84fd..90fef7f1 100644 --- a/common/env/src/lib.rs +++ b/common/env/src/lib.rs @@ -1,5 +1,5 @@ #![cfg_attr(docsrs, feature(doc_cfg))] -#![cfg_attr(docsrs, feature(doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] // Obtain a variable from the Serai environment/secret store. pub fn var(variable: &str) -> Option { diff --git a/common/patchable-async-sleep/src/lib.rs b/common/patchable-async-sleep/src/lib.rs index 780fd0df..c7d330a1 100644 --- a/common/patchable-async-sleep/src/lib.rs +++ b/common/patchable-async-sleep/src/lib.rs @@ -1,4 +1,4 @@ -#![cfg_attr(docsrs, feature(doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] #![doc = include_str!("../README.md")] #![deny(missing_docs)] diff --git a/common/request/src/lib.rs b/common/request/src/lib.rs index df9689e1..e214cc2f 100644 --- a/common/request/src/lib.rs +++ b/common/request/src/lib.rs @@ -1,4 +1,4 @@ -#![cfg_attr(docsrs, feature(doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] #![doc = include_str!("../README.md")] use std::sync::Arc; diff --git a/common/std-shims/src/lib.rs b/common/std-shims/src/lib.rs index 2c2e1090..0b10ad5a 100644 --- a/common/std-shims/src/lib.rs +++ b/common/std-shims/src/lib.rs @@ -1,4 +1,4 @@ -#![cfg_attr(docsrs, feature(doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] #![doc = include_str!("../README.md")] #![cfg_attr(not(feature = "std"), no_std)] diff --git a/common/zalloc/src/lib.rs b/common/zalloc/src/lib.rs index cc5562a0..a90dc1f2 100644 --- a/common/zalloc/src/lib.rs +++ b/common/zalloc/src/lib.rs @@ -1,5 +1,5 @@ #![cfg_attr(docsrs, feature(doc_cfg))] -#![cfg_attr(docsrs, feature(doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] #![cfg_attr(all(zalloc_rustc_nightly, feature = "allocator"), feature(allocator_api))] //! Implementation of a Zeroizing Allocator, enabling zeroizing memory on deallocation. diff --git a/crypto/ciphersuite/kp256/src/lib.rs b/crypto/ciphersuite/kp256/src/lib.rs index bfe480a7..013d5914 100644 --- a/crypto/ciphersuite/kp256/src/lib.rs +++ b/crypto/ciphersuite/kp256/src/lib.rs @@ -1,4 +1,4 @@ -#![cfg_attr(docsrs, feature(doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] #![cfg_attr(not(feature = "std"), no_std)] use zeroize::Zeroize; diff --git a/crypto/ciphersuite/src/lib.rs b/crypto/ciphersuite/src/lib.rs index 93f39c66..64e08b20 100644 --- a/crypto/ciphersuite/src/lib.rs +++ b/crypto/ciphersuite/src/lib.rs @@ -1,4 +1,4 @@ -#![cfg_attr(docsrs, feature(doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] #![doc = include_str!("lib.md")] #![cfg_attr(not(feature = "std"), no_std)] diff --git a/crypto/dalek-ff-group/src/lib.rs b/crypto/dalek-ff-group/src/lib.rs index 87fa0f57..e2c688de 100644 --- a/crypto/dalek-ff-group/src/lib.rs +++ b/crypto/dalek-ff-group/src/lib.rs @@ -1,5 +1,5 @@ #![allow(deprecated)] -#![cfg_attr(docsrs, feature(doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] #![no_std] // Prevents writing new code, in what should be a simple wrapper, which requires std #![doc = include_str!("../README.md")] #![allow(clippy::redundant_closure_call)] diff --git a/crypto/dkg/dealer/src/lib.rs b/crypto/dkg/dealer/src/lib.rs index f00d5d85..9ba9bfa1 100644 --- a/crypto/dkg/dealer/src/lib.rs +++ b/crypto/dkg/dealer/src/lib.rs @@ -1,4 +1,4 @@ -#![cfg_attr(docsrs, feature(doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] #![doc = include_str!("../README.md")] #![no_std] diff --git a/crypto/dkg/musig/src/lib.rs b/crypto/dkg/musig/src/lib.rs index 7a3cebde..31e4e789 100644 --- a/crypto/dkg/musig/src/lib.rs +++ b/crypto/dkg/musig/src/lib.rs @@ -1,4 +1,4 @@ -#![cfg_attr(docsrs, feature(doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] #![doc = include_str!("../README.md")] #![cfg_attr(not(feature = "std"), no_std)] diff --git a/crypto/dkg/pedpop/src/lib.rs b/crypto/dkg/pedpop/src/lib.rs index f9d609f8..67860724 100644 --- a/crypto/dkg/pedpop/src/lib.rs +++ b/crypto/dkg/pedpop/src/lib.rs @@ -1,4 +1,4 @@ -#![cfg_attr(docsrs, feature(doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] #![doc = include_str!("../README.md")] // This crate requires `dleq` which doesn't support no-std via std-shims // #![cfg_attr(not(feature = "std"), no_std)] diff --git a/crypto/dkg/promote/src/lib.rs b/crypto/dkg/promote/src/lib.rs index d379ea0f..d8dc1680 100644 --- a/crypto/dkg/promote/src/lib.rs +++ b/crypto/dkg/promote/src/lib.rs @@ -1,4 +1,4 @@ -#![cfg_attr(docsrs, feature(doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] #![doc = include_str!("../README.md")] // This crate requires `dleq` which doesn't support no-std via std-shims // #![cfg_attr(not(feature = "std"), no_std)] diff --git a/crypto/dkg/recovery/src/lib.rs b/crypto/dkg/recovery/src/lib.rs index bef0956b..cafa9ef9 100644 --- a/crypto/dkg/recovery/src/lib.rs +++ b/crypto/dkg/recovery/src/lib.rs @@ -1,4 +1,4 @@ -#![cfg_attr(docsrs, feature(doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] #![doc = include_str!("../README.md")] #![no_std] diff --git a/crypto/dkg/src/lib.rs b/crypto/dkg/src/lib.rs index bb1aa560..17e3bb63 100644 --- a/crypto/dkg/src/lib.rs +++ b/crypto/dkg/src/lib.rs @@ -1,4 +1,4 @@ -#![cfg_attr(docsrs, feature(doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] #![doc = include_str!("../README.md")] #![cfg_attr(not(feature = "std"), no_std)] diff --git a/crypto/dleq/src/lib.rs b/crypto/dleq/src/lib.rs index f6aed25a..910a7916 100644 --- a/crypto/dleq/src/lib.rs +++ b/crypto/dleq/src/lib.rs @@ -1,4 +1,4 @@ -#![cfg_attr(docsrs, feature(doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] #![cfg_attr(not(feature = "std"), no_std)] #![doc = include_str!("../README.md")] diff --git a/crypto/ed448/src/lib.rs b/crypto/ed448/src/lib.rs index 2fbfeb60..0f78261e 100644 --- a/crypto/ed448/src/lib.rs +++ b/crypto/ed448/src/lib.rs @@ -1,4 +1,4 @@ -#![cfg_attr(docsrs, feature(doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] #![doc = include_str!("../README.md")] #![no_std] #![allow(clippy::redundant_closure_call)] diff --git a/crypto/ff-group-tests/src/lib.rs b/crypto/ff-group-tests/src/lib.rs index 0f14eb69..381efc6a 100644 --- a/crypto/ff-group-tests/src/lib.rs +++ b/crypto/ff-group-tests/src/lib.rs @@ -1,4 +1,4 @@ -#![cfg_attr(docsrs, feature(doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] #![doc = include_str!("../README.md")] /// Tests for the Field trait. diff --git a/crypto/frost/src/lib.rs b/crypto/frost/src/lib.rs index 6baf8872..f9494054 100644 --- a/crypto/frost/src/lib.rs +++ b/crypto/frost/src/lib.rs @@ -1,4 +1,4 @@ -#![cfg_attr(docsrs, feature(doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] #![doc = include_str!("../README.md")] use core::fmt::Debug; diff --git a/crypto/multiexp/src/lib.rs b/crypto/multiexp/src/lib.rs index 8b16aa91..e8a482a8 100644 --- a/crypto/multiexp/src/lib.rs +++ b/crypto/multiexp/src/lib.rs @@ -1,4 +1,4 @@ -#![cfg_attr(docsrs, feature(doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] #![doc = include_str!("../README.md")] #![cfg_attr(not(feature = "std"), no_std)] diff --git a/crypto/schnorr/src/lib.rs b/crypto/schnorr/src/lib.rs index e5b9f3c2..dc206df9 100644 --- a/crypto/schnorr/src/lib.rs +++ b/crypto/schnorr/src/lib.rs @@ -1,4 +1,4 @@ -#![cfg_attr(docsrs, feature(doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] #![doc = include_str!("../README.md")] #![cfg_attr(not(feature = "std"), no_std)] diff --git a/crypto/schnorrkel/src/lib.rs b/crypto/schnorrkel/src/lib.rs index a5a0418b..628a79dd 100644 --- a/crypto/schnorrkel/src/lib.rs +++ b/crypto/schnorrkel/src/lib.rs @@ -1,4 +1,4 @@ -#![cfg_attr(docsrs, feature(doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] #![doc = include_str!("../README.md")] use std::io::{self, Read}; diff --git a/crypto/transcript/src/lib.rs b/crypto/transcript/src/lib.rs index 988ab039..5c828cfe 100644 --- a/crypto/transcript/src/lib.rs +++ b/crypto/transcript/src/lib.rs @@ -1,4 +1,4 @@ -#![cfg_attr(docsrs, feature(doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] #![doc = include_str!("../README.md")] #![no_std] diff --git a/networks/bitcoin/src/lib.rs b/networks/bitcoin/src/lib.rs index 0aa17709..c20bb6ff 100644 --- a/networks/bitcoin/src/lib.rs +++ b/networks/bitcoin/src/lib.rs @@ -1,4 +1,4 @@ -#![cfg_attr(docsrs, feature(doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] #![doc = include_str!("../README.md")] #![cfg_attr(not(feature = "std"), no_std)] diff --git a/networks/ethereum/alloy-simple-request-transport/src/lib.rs b/networks/ethereum/alloy-simple-request-transport/src/lib.rs index 93b35bc1..4d09e54e 100644 --- a/networks/ethereum/alloy-simple-request-transport/src/lib.rs +++ b/networks/ethereum/alloy-simple-request-transport/src/lib.rs @@ -1,4 +1,4 @@ -#![cfg_attr(docsrs, feature(doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] #![doc = include_str!("../README.md")] use core::task; diff --git a/substrate/abi/src/lib.rs b/substrate/abi/src/lib.rs index 3e40b51e..bc2f21bd 100644 --- a/substrate/abi/src/lib.rs +++ b/substrate/abi/src/lib.rs @@ -1,5 +1,5 @@ #![cfg_attr(docsrs, feature(doc_cfg))] -#![cfg_attr(docsrs, feature(doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] #![cfg_attr(not(feature = "std"), no_std)] #![allow(non_camel_case_types)] #![expect(clippy::cast_possible_truncation)] diff --git a/substrate/coins/primitives/src/lib.rs b/substrate/coins/primitives/src/lib.rs index 0d374e7f..02fdf011 100644 --- a/substrate/coins/primitives/src/lib.rs +++ b/substrate/coins/primitives/src/lib.rs @@ -1,5 +1,5 @@ #![cfg_attr(docsrs, feature(doc_cfg))] -#![cfg_attr(docsrs, feature(doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] #![cfg_attr(not(feature = "std"), no_std)] #![expect(clippy::cast_possible_truncation)] diff --git a/substrate/emissions/primitives/src/lib.rs b/substrate/emissions/primitives/src/lib.rs index 38aa8ca2..eeef2f77 100644 --- a/substrate/emissions/primitives/src/lib.rs +++ b/substrate/emissions/primitives/src/lib.rs @@ -1,5 +1,5 @@ #![cfg_attr(docsrs, feature(doc_cfg))] -#![cfg_attr(docsrs, feature(doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] #![cfg_attr(not(feature = "std"), no_std)] use serai_primitives::{DAYS, YEARS, SeraiAddress, system_address}; diff --git a/substrate/genesis-liquidity/primitives/src/lib.rs b/substrate/genesis-liquidity/primitives/src/lib.rs index b6eedec9..2fa1bf87 100644 --- a/substrate/genesis-liquidity/primitives/src/lib.rs +++ b/substrate/genesis-liquidity/primitives/src/lib.rs @@ -1,5 +1,5 @@ #![cfg_attr(docsrs, feature(doc_cfg))] -#![cfg_attr(docsrs, feature(doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] #![cfg_attr(not(feature = "std"), no_std)] #[cfg(feature = "std")] diff --git a/substrate/in-instructions/pallet/src/lib.rs b/substrate/in-instructions/pallet/src/lib.rs index ae184806..002d449b 100644 --- a/substrate/in-instructions/pallet/src/lib.rs +++ b/substrate/in-instructions/pallet/src/lib.rs @@ -1,5 +1,5 @@ #![cfg_attr(docsrs, feature(doc_cfg))] -#![cfg_attr(docsrs, feature(doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] #![cfg_attr(not(feature = "std"), no_std)] use sp_io::hashing::blake2_256; diff --git a/substrate/in-instructions/primitives/src/lib.rs b/substrate/in-instructions/primitives/src/lib.rs index 338d9f7f..599053a7 100644 --- a/substrate/in-instructions/primitives/src/lib.rs +++ b/substrate/in-instructions/primitives/src/lib.rs @@ -1,5 +1,5 @@ #![cfg_attr(docsrs, feature(doc_cfg))] -#![cfg_attr(docsrs, feature(doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] #![cfg_attr(not(feature = "std"), no_std)] #![expect(clippy::cast_possible_truncation)] diff --git a/substrate/primitives/src/lib.rs b/substrate/primitives/src/lib.rs index 93b1ee20..90fd1a37 100644 --- a/substrate/primitives/src/lib.rs +++ b/substrate/primitives/src/lib.rs @@ -1,5 +1,5 @@ #![cfg_attr(docsrs, feature(doc_cfg))] -#![cfg_attr(docsrs, feature(doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] #![cfg_attr(not(feature = "std"), no_std)] #[cfg(feature = "std")] diff --git a/substrate/runtime/src/lib.rs b/substrate/runtime/src/lib.rs index 3c3ab299..da71845a 100644 --- a/substrate/runtime/src/lib.rs +++ b/substrate/runtime/src/lib.rs @@ -1,6 +1,6 @@ #![allow(deprecated)] #![cfg_attr(docsrs, feature(doc_cfg))] -#![cfg_attr(docsrs, feature(doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] #![cfg_attr(not(feature = "std"), no_std)] #![recursion_limit = "256"] diff --git a/substrate/signals/primitives/src/lib.rs b/substrate/signals/primitives/src/lib.rs index 50122ecc..fa59e45d 100644 --- a/substrate/signals/primitives/src/lib.rs +++ b/substrate/signals/primitives/src/lib.rs @@ -1,5 +1,5 @@ #![cfg_attr(docsrs, feature(doc_cfg))] -#![cfg_attr(docsrs, feature(doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] #![cfg_attr(not(feature = "std"), no_std)] #![expect(clippy::cast_possible_truncation)]