From 99016e3a856abdbf508b3d81b93c5a2b23e69907 Mon Sep 17 00:00:00 2001 From: Kirill Bulatov Date: Thu, 13 Nov 2025 12:35:16 +0200 Subject: [PATCH] Update outdated dependencies (#42611) New rustc starts to output a few warnings, fix them by updating the corresponding packages.
Incompatibility notes ``` The following warnings were discovered during the build. These warnings are an indication that the packages contain code that will become an error in a future release of Rust. These warnings typically cover changes to close soundness problems, unintended or undocumented behavior, or critical problems that cannot be fixed in a backwards-compatible fashion, and are not expected to be in wide use. Each warning should contain a link for more information on what the warning means and how to resolve it. To solve this problem, you can try the following approaches: - Some affected dependencies have newer versions available. You may want to consider updating them to a newer version to see if the issue has been fixed. num-bigint-dig v0.8.4 has the following newer versions available: 0.8.5, 0.9.0, 0.9.1 - If the issue is not solved by updating the dependencies, a fix has to be implemented by those dependencies. You can help with that by notifying the maintainers of this problem (e.g. by creating a bug report) or by proposing a fix to the maintainers (e.g. by creating a pull request): - num-bigint-dig@0.8.4 - Repository: https://github.com/dignifiedquire/num-bigint - Detailed warning command: `cargo report future-incompatibilities --id 1 --package num-bigint-dig@0.8.4` - If waiting for an upstream fix is not an option, you can use the `[patch]` section in `Cargo.toml` to use your own version of the dependency. For more information, see: https://doc.rust-lang.org/cargo/reference/overriding-dependencies.html#the-patch-section The package `num-bigint-dig v0.8.4` currently triggers the following future incompatibility lints: > warning: macro `vec` is private > --> /Users/someonetoignore/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/num-bigint-dig-0.8.4/src/biguint.rs:490:22 > | > 490 | BigUint::new(vec![1]) > | ^^^ > | > = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! > = note: for more information, see issue #120192 > > warning: macro `vec` is private > --> /Users/someonetoignore/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/num-bigint-dig-0.8.4/src/biguint.rs:2005:9 > | > 2005 | vec![0] > | ^^^ > | > = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! > = note: for more information, see issue #120192 > > warning: macro `vec` is private > --> /Users/someonetoignore/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/num-bigint-dig-0.8.4/src/biguint.rs:2027:16 > | > 2027 | return vec![b'0']; > | ^^^ > | > = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! > = note: for more information, see issue #120192 > > warning: macro `vec` is private > --> /Users/someonetoignore/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/num-bigint-dig-0.8.4/src/biguint.rs:2313:13 > | > 2313 | vec![0] > | ^^^ > | > = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! > = note: for more information, see issue #120192 > > warning: macro `vec` is private > --> /Users/someonetoignore/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/num-bigint-dig-0.8.4/src/prime.rs:138:22 > | > 138 | let mut moduli = vec![BigUint::zero(); prime_limit]; > | ^^^ > | > = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! > = note: for more information, see issue #120192 > > warning: macro `vec` is private > --> /Users/someonetoignore/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/num-bigint-dig-0.8.4/src/bigrand.rs:319:25 > | > 319 | let mut bytes = vec![0u8; bytes_len]; > | ^^^ > | > = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! > = note: for more information, see issue #120192 > ```
Release Notes: - N/A --- Cargo.lock | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index d2c799dc41d03e8ed961f5d854ac74797efd01ae..2c02183244f6651a6aad7e79aca2c218838def56 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -10519,11 +10519,10 @@ dependencies = [ [[package]] name = "num-bigint-dig" -version = "0.8.4" +version = "0.8.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dc84195820f291c7697304f3cbdadd1cb7199c0efc917ff5eafd71225c136151" +checksum = "e661dda6640fad38e827a6d4a310ff4763082116fe217f279885c97f511bb0b7" dependencies = [ - "byteorder", "lazy_static", "libm", "num-integer", @@ -14385,9 +14384,9 @@ dependencies = [ [[package]] name = "rsa" -version = "0.9.8" +version = "0.9.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "78928ac1ed176a5ca1d17e578a1825f3d81ca54cf41053a592584b020cfd691b" +checksum = "40a0376c50d0358279d9d643e4bf7b7be212f1f4ff1da9070a7b54d22ef75c88" dependencies = [ "const-oid", "digest",