From b484369e32149e32f14123ff161c54dd569d486d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 6 Mar 2025 15:54:27 +0000 Subject: [PATCH] Bump dylint_testing from 3.2.1 to 4.0.1 Bumps [dylint_testing](https://github.com/trailofbits/dylint) from 3.2.1 to 4.0.1. - [Release notes](https://github.com/trailofbits/dylint/releases) - [Changelog](https://github.com/trailofbits/dylint/blob/master/CHANGELOG.md) - [Commits](https://github.com/trailofbits/dylint/compare/v3.2.1...v4.0.1) --- updated-dependencies: - dependency-name: dylint_testing dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- Cargo.lock | 182 ++++++++++++++++++++++----------- Cargo.toml | 2 +- lints/filter/Cargo.toml | 2 +- lints/fold/Cargo.toml | 2 +- lints/for_each/Cargo.toml | 2 +- lints/map/Cargo.toml | 2 +- lints/par_fold/Cargo.toml | 2 +- lints/par_iter/Cargo.toml | 2 +- lints/rayon_imports/Cargo.toml | 2 +- lints/to_iter/Cargo.toml | 2 +- 10 files changed, 131 insertions(+), 69 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index b3667fd..09d3b7b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -95,9 +95,9 @@ checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" [[package]] name = "bitflags" -version = "2.6.0" +version = "2.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b048fb63fd8b5923fc5aa7b340d8e156aec7ec02f0c78fa8a6ddc2613f6f71de" +checksum = "5c8214115b7bf84099f1309324e63141d4c5d7cc26862f97a0a857dbefe165bd" [[package]] name = "block-buffer" @@ -147,7 +147,21 @@ dependencies = [ "semver", "serde", "serde_json", - "thiserror", + "thiserror 1.0.63", +] + +[[package]] +name = "cargo_metadata" +version = "0.19.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dd5eb614ed4c27c5d706420e4320fbe3216ab31fa1c33cd8246ac36dae4479ba" +dependencies = [ + "camino", + "cargo-platform", + "semver", + "serde", + "serde_json", + "thiserror 2.0.12", ] [[package]] @@ -321,16 +335,15 @@ dependencies = [ [[package]] name = "dylint" -version = "3.2.1" +version = "4.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "22752a1003c06a3f04f9ea66e4899f97132a1888276fee2d5fbe5f6820eee274" +checksum = "d5fea2e5a898d3ea9be3505281d52ae2058d704d5f47fea742a87511da0a1abc" dependencies = [ "ansi_term", "anyhow", - "cargo_metadata", + "cargo_metadata 0.19.2", "dirs", - "dylint_internal", - "is-terminal", + "dylint_internal 4.0.1", "log", "once_cell", "semver", @@ -345,21 +358,36 @@ name = "dylint_internal" version = "3.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f02176c2fa705973bfce833c3f12a69196959086c776ec967a5aa23b5523d4b6" +dependencies = [ + "anyhow", + "cargo_metadata 0.18.1", + "once_cell", + "regex", + "serde", + "thiserror 1.0.63", + "toml 0.8.19", +] + +[[package]] +name = "dylint_internal" +version = "4.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "be48281a00c2a156f23a19699cb375fd6421ba9ad25f76eca6f8abac05f24b8e" dependencies = [ "ansi_term", "anyhow", - "bitflags 2.6.0", - "cargo_metadata", + "bitflags 2.9.0", + "cargo_metadata 0.19.2", "git2", "home", "if_chain", - "is-terminal", "log", "once_cell", "regex", "rust-embed", + "rustversion", "serde", - "thiserror", + "thiserror 2.0.12", "toml 0.8.19", ] @@ -369,26 +397,26 @@ version = "3.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0338d94b92ffeece90a8ba405c6d051f18b4483558728537a333daa3bb422616" dependencies = [ - "cargo_metadata", - "dylint_internal", + "cargo_metadata 0.18.1", + "dylint_internal 3.2.1", "paste", "rustversion", "serde", - "thiserror", + "thiserror 1.0.63", "toml 0.8.19", ] [[package]] name = "dylint_testing" -version = "3.2.1" +version = "4.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e1581603a3fc49b8ede8bed50f5e2d719ce607572f5e5d5d06f200f3285448a" +checksum = "2c886366f0dc5d872d3054f630a6d04aaf8975f1241f7ed784c0138651661677" dependencies = [ "anyhow", - "cargo_metadata", + "cargo_metadata 0.19.2", "compiletest_rs", "dylint", - "dylint_internal", + "dylint_internal 4.0.1", "env_logger", "once_cell", "regex", @@ -433,12 +461,12 @@ checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5" [[package]] name = "errno" -version = "0.3.9" +version = "0.3.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "534c5cf6194dfab3db3242765c03bbe257cf92f22b38f6bc0c58d59108a820ba" +checksum = "33d852cb9b869c2a9b3df2f71a3074817f01e1844f839a144f5fcef059a4eb5d" dependencies = [ "libc", - "windows-sys 0.52.0", + "windows-sys 0.59.0", ] [[package]] @@ -614,7 +642,19 @@ checksum = "c4567c8db10ae91089c99af84c68c38da3ec2f087c3f82960bcdbf3656b6f4d7" dependencies = [ "cfg-if", "libc", - "wasi", + "wasi 0.11.0+wasi-snapshot-preview1", +] + +[[package]] +name = "getrandom" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "43a49c392881ce6d5c3b8cb70f98717b7c07aabbdff06687b9030dbfbe2725f8" +dependencies = [ + "cfg-if", + "libc", + "wasi 0.13.3+wasi-0.2.2", + "windows-targets 0.52.6", ] [[package]] @@ -623,7 +663,7 @@ version = "0.18.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "232e6a7bfe35766bf715e55a88b39a700596c0ccfd88cd3680b4cdb40d66ef70" dependencies = [ - "bitflags 2.6.0", + "bitflags 2.9.0", "libc", "libgit2-sys", "log", @@ -657,12 +697,6 @@ version = "0.3.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d231dfb89cfffdbc30e7fc41579ed6066ad03abda9e567ccafae602b97ec5024" -[[package]] -name = "hermit-abi" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fbf6a919d6cf397374f7dfeeea91d974c7c0a7221d0d0f4f20d859d329e53fcc" - [[package]] name = "home" version = "0.5.9" @@ -704,17 +738,6 @@ dependencies = [ "hashbrown", ] -[[package]] -name = "is-terminal" -version = "0.4.13" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "261f68e344040fbd0edea105bef17c66edf46f984ddb1115b775ce31be948f4b" -dependencies = [ - "hermit-abi 0.4.0", - "libc", - "windows-sys 0.52.0", -] - [[package]] name = "is_terminal_polyfill" version = "1.70.1" @@ -753,9 +776,9 @@ checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe" [[package]] name = "libc" -version = "0.2.158" +version = "0.2.170" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d8adc4bb1803a324070e64a98ae98f38934d91957a99cfb3a43dcbc01bc56439" +checksum = "875b3680cb2f8f71bdcf9a30f38d48282f5d3c95cbf9b3fa57269bb5d5c06828" [[package]] name = "libgit2-sys" @@ -777,7 +800,7 @@ version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c0ff37bd590ca25063e35af745c343cb7a0271906fb7b37e4813e8f79f00268d" dependencies = [ - "bitflags 2.6.0", + "bitflags 2.9.0", "libc", "redox_syscall", ] @@ -867,7 +890,7 @@ version = "1.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4161fcb6d602d4d2081af7c3a45852d875a03dd337a6bfdd6e06407b61342a43" dependencies = [ - "hermit-abi 0.3.9", + "hermit-abi", "libc", ] @@ -956,9 +979,9 @@ checksum = "d231b230927b5e4ad203db57bbcbee2802f6bce620b1e4a9024a07d94e2907ec" [[package]] name = "proc-macro2" -version = "1.0.86" +version = "1.0.94" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e719e8df665df0d1c8fbfd238015744736151d4445ec0836b8e628aae103b77" +checksum = "a31971752e70b8b2686d7e46ec17fb38dad4051d94024c88df49b667caea9c84" dependencies = [ "unicode-ident", ] @@ -1009,7 +1032,7 @@ version = "0.5.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2a908a6e00f1fdd0dfd9c0eb08ce85126f6d8bbda50017e74bc4a4b7d4a926a4" dependencies = [ - "bitflags 2.6.0", + "bitflags 2.9.0", ] [[package]] @@ -1018,9 +1041,9 @@ version = "0.4.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ba009ff324d1fc1b900bd1fdb31564febe58a8ccc8a6fdbb93b543d33b13ca43" dependencies = [ - "getrandom", + "getrandom 0.2.15", "libredox", - "thiserror", + "thiserror 1.0.63", ] [[package]] @@ -1111,21 +1134,21 @@ checksum = "70f5b7fc8060f4f8373f9381a630304b42e1183535d9beb1d3f596b236c9106a" dependencies = [ "serde", "serde_json", - "thiserror", + "thiserror 1.0.63", "tracing", ] [[package]] name = "rustix" -version = "0.38.37" +version = "0.38.44" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8acb788b847c24f28525660c4d7758620a7210875711f79e7f663cc152726811" +checksum = "fdb5bc1ae2baa591800df16c9ca78619bf65c0488b41b96ccec5d11220d8c154" dependencies = [ - "bitflags 2.6.0", + "bitflags 2.9.0", "errno", "libc", "linux-raw-sys", - "windows-sys 0.52.0", + "windows-sys 0.59.0", ] [[package]] @@ -1233,9 +1256,9 @@ checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67" [[package]] name = "syn" -version = "2.0.76" +version = "2.0.99" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "578e081a14e0cefc3279b0472138c513f37b41a08d5a3cca9b6e4e8ceb6cd525" +checksum = "e02e925281e18ffd9d640e234264753c43edc62d64b2d4cf898f1bc5e75f3fc2" dependencies = [ "proc-macro2", "quote", @@ -1244,12 +1267,13 @@ dependencies = [ [[package]] name = "tempfile" -version = "3.13.0" +version = "3.17.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f0f2c9fc62d0beef6951ccffd757e241266a2c833136efbe35af6cd2567dca5b" +checksum = "22e5a0acb1f3f55f65cc4a866c361b2fb2a0ff6366785ae6fbb5f85df07ba230" dependencies = [ "cfg-if", "fastrand", + "getrandom 0.3.1", "once_cell", "rustix", "windows-sys 0.59.0", @@ -1285,7 +1309,16 @@ version = "1.0.63" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c0342370b38b6a11b6cc11d6a805569958d54cfa061a29969c3b5ce2ea405724" dependencies = [ - "thiserror-impl", + "thiserror-impl 1.0.63", +] + +[[package]] +name = "thiserror" +version = "2.0.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "567b8a2dae586314f7be2a752ec7474332959c6460e02bde30d702a66d488708" +dependencies = [ + "thiserror-impl 2.0.12", ] [[package]] @@ -1299,6 +1332,17 @@ dependencies = [ "syn", ] +[[package]] +name = "thiserror-impl" +version = "2.0.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7f7cf42b4507d8ea322120659672cf1b9dbb93f8f2d4ecfd6e51350ff5b17a1d" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + [[package]] name = "tinyvec" version = "1.8.0" @@ -1487,6 +1531,15 @@ version = "0.11.0+wasi-snapshot-preview1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" +[[package]] +name = "wasi" +version = "0.13.3+wasi-0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "26816d2e1a4a36a2940b96c5296ce403917633dff8f3440e9b236ed6f6bacad2" +dependencies = [ + "wit-bindgen-rt", +] + [[package]] name = "winapi" version = "0.3.9" @@ -1740,3 +1793,12 @@ checksum = "68a9bda4691f099d435ad181000724da8e5899daa10713c2d432552b9ccd3a6f" dependencies = [ "memchr", ] + +[[package]] +name = "wit-bindgen-rt" +version = "0.33.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3268f3d866458b787f390cf61f4bbb563b922d091359f9608842999eaee3943c" +dependencies = [ + "bitflags 2.9.0", +] diff --git a/Cargo.toml b/Cargo.toml index c8960f4..a7cb8c7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -42,7 +42,7 @@ members = [ ] [dev-dependencies] -dylint_testing = "3.1.2" +dylint_testing = "4.0.1" [workspace.dependencies] clippy_utils = { git = "https://github.com/rust-lang/rust-clippy", rev = "37f4fbb92913586b73a35772efd00eccd1cbbe13" } diff --git a/lints/filter/Cargo.toml b/lints/filter/Cargo.toml index 300f943..b2c8f0b 100644 --- a/lints/filter/Cargo.toml +++ b/lints/filter/Cargo.toml @@ -15,7 +15,7 @@ dylint_linting = "3.2.1" clippy_utils = { workspace = true } utils = { workspace = true } [dev-dependencies] -dylint_testing = "3.2.1" +dylint_testing = "4.0.1" [package.metadata.rust-analyzer] rustc_private = true diff --git a/lints/fold/Cargo.toml b/lints/fold/Cargo.toml index 9584086..d119ebb 100644 --- a/lints/fold/Cargo.toml +++ b/lints/fold/Cargo.toml @@ -16,7 +16,7 @@ utils = { workspace = true } dylint_linting = "3.2.1" [dev-dependencies] -dylint_testing = "3.2.1" +dylint_testing = "4.0.1" [package.metadata.rust-analyzer] rustc_private = true diff --git a/lints/for_each/Cargo.toml b/lints/for_each/Cargo.toml index 508e413..ca29b8c 100644 --- a/lints/for_each/Cargo.toml +++ b/lints/for_each/Cargo.toml @@ -15,7 +15,7 @@ dylint_linting = "3.2.1" clippy_utils = { workspace = true } utils = { workspace = true } [dev-dependencies] -dylint_testing = "3.2.1" +dylint_testing = "4.0.1" [package.metadata.rust-analyzer] rustc_private = true diff --git a/lints/map/Cargo.toml b/lints/map/Cargo.toml index 48f2f7c..85ddb42 100644 --- a/lints/map/Cargo.toml +++ b/lints/map/Cargo.toml @@ -16,7 +16,7 @@ utils = { workspace = true } dylint_linting = "3.2.1" [dev-dependencies] -dylint_testing = "3.2.1" +dylint_testing = "4.0.1" [package.metadata.rust-analyzer] rustc_private = true diff --git a/lints/par_fold/Cargo.toml b/lints/par_fold/Cargo.toml index ad2c154..edd71eb 100644 --- a/lints/par_fold/Cargo.toml +++ b/lints/par_fold/Cargo.toml @@ -15,7 +15,7 @@ dylint_linting = "3.2.1" clippy_utils = { workspace = true } utils = { workspace = true } [dev-dependencies] -dylint_testing = "3.2.1" +dylint_testing = "4.0.1" rayon = "1.9.0" [package.metadata.rust-analyzer] diff --git a/lints/par_iter/Cargo.toml b/lints/par_iter/Cargo.toml index 152d547..4b35e81 100644 --- a/lints/par_iter/Cargo.toml +++ b/lints/par_iter/Cargo.toml @@ -16,7 +16,7 @@ clippy_utils = { workspace = true } utils = { workspace = true } [dev-dependencies] -dylint_testing = "3.2.1" +dylint_testing = "4.0.1" rayon = "1.9.0" futures = "0.3.30" diff --git a/lints/rayon_imports/Cargo.toml b/lints/rayon_imports/Cargo.toml index cfd5409..f3230d8 100644 --- a/lints/rayon_imports/Cargo.toml +++ b/lints/rayon_imports/Cargo.toml @@ -15,7 +15,7 @@ dylint_linting = "3.2.1" clippy_utils = { workspace = true } utils = { workspace = true } [dev-dependencies] -dylint_testing = "3.2.1" +dylint_testing = "4.0.1" rayon = "1.9.0" [package.metadata.rust-analyzer] diff --git a/lints/to_iter/Cargo.toml b/lints/to_iter/Cargo.toml index 4d6d6dc..4a82aef 100644 --- a/lints/to_iter/Cargo.toml +++ b/lints/to_iter/Cargo.toml @@ -15,7 +15,7 @@ dylint_linting = "3.2.1" clippy_utils = { workspace = true } utils = { workspace = true } [dev-dependencies] -dylint_testing = "3.2.1" +dylint_testing = "4.0.1" [package.metadata.rust-analyzer] rustc_private = true