diff --git a/CHANGELOG.md b/CHANGELOG.md index b27038ac4..a3482fcb1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 1.0.14 + +- Add test "builder" to `dylint_testing`([#222](https://github.com/trailofbits/dylint/pull/222) and [#237](https://github.com/trailofbits/dylint/pull/237)) +- Determine `clippy_utils` versions using commit history rather than git tags ([#236](https://github.com/trailofbits/dylint/pull/236)) +- Ensure package cache is locked ([#247](https://github.com/trailofbits/dylint/pull/247)) +- Verify build succeeded before considering bisect successful ([#246](https://github.com/trailofbits/dylint/pull/246)) +- Eliminate redundant builds when using `dylint_testing` ([#216](https://github.com/trailofbits/dylint/pull/216)) + ## 1.0.13 - Hide `cargo-bisect-rustc`'s progress bars when `--quiet` is passed or when not on a tty ([#214](https://github.com/trailofbits/dylint/pull/214)) diff --git a/Cargo.lock b/Cargo.lock index 049720d87..9060bea1c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -177,7 +177,7 @@ dependencies = [ [[package]] name = "cargo-dylint" -version = "1.0.13" +version = "1.0.14" dependencies = [ "anyhow", "assert_cmd", @@ -515,7 +515,7 @@ checksum = "fea41bba32d969b513997752735605054bc0dfa92b4c56bf1189f2e174be7a10" [[package]] name = "dylint" -version = "1.0.13" +version = "1.0.14" dependencies = [ "ansi_term", "anyhow", @@ -545,7 +545,7 @@ dependencies = [ [[package]] name = "dylint-link" -version = "1.0.13" +version = "1.0.14" dependencies = [ "anyhow", "cc", @@ -556,7 +556,7 @@ dependencies = [ [[package]] name = "dylint_internal" -version = "1.0.13" +version = "1.0.14" dependencies = [ "ansi_term", "anyhow", @@ -569,11 +569,11 @@ dependencies = [ [[package]] name = "dylint_linting" -version = "1.0.13" +version = "1.0.14" [[package]] name = "dylint_testing" -version = "1.0.13" +version = "1.0.14" dependencies = [ "anyhow", "cargo_metadata", diff --git a/cargo-dylint/Cargo.toml b/cargo-dylint/Cargo.toml index f36085ca9..1b3fd8550 100644 --- a/cargo-dylint/Cargo.toml +++ b/cargo-dylint/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cargo-dylint" -version = "1.0.13" +version = "1.0.14" authors = ["Samuel E. Moelius III "] description = "A tool for running Rust lints from dynamic libraries" edition = "2018" @@ -12,8 +12,8 @@ anyhow = "1.0.55" clap = { version = "3.1.2", features = ["cargo", "derive"] } env_logger = "0.9.0" -dylint = { version = "=1.0.13", path = "../dylint", features = ["dylint_driver_local", "package_options"] } -dylint_internal = { version = "=1.0.13", path = "../internal", features = ["git2"] } +dylint = { version = "=1.0.14", path = "../dylint", features = ["dylint_driver_local", "package_options"] } +dylint_internal = { version = "=1.0.14", path = "../internal", features = ["git2"] } [dev-dependencies] assert_cmd = "2.0.4" diff --git a/driver/Cargo.lock b/driver/Cargo.lock index 0e281d3d1..00a4bfa49 100644 --- a/driver/Cargo.lock +++ b/driver/Cargo.lock @@ -65,7 +65,7 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" [[package]] name = "dylint_driver" -version = "1.0.13" +version = "1.0.14" dependencies = [ "anyhow", "dylint_internal", @@ -76,7 +76,7 @@ dependencies = [ [[package]] name = "dylint_internal" -version = "1.0.13" +version = "1.0.14" dependencies = [ "ansi_term", "anyhow", diff --git a/driver/Cargo.toml b/driver/Cargo.toml index 5cc885581..71eeeea55 100644 --- a/driver/Cargo.toml +++ b/driver/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dylint_driver" -version = "1.0.13" +version = "1.0.14" authors = ["Samuel E. Moelius III "] description = "Dylint driver library" edition = "2018" @@ -13,7 +13,7 @@ libloading = "0.7.3" log = "0.4.14" serde_json = "1.0.79" -dylint_internal = { version = "=1.0.13", path = "../internal" } +dylint_internal = { version = "=1.0.14", path = "../internal" } [workspace] diff --git a/dylint-link/Cargo.toml b/dylint-link/Cargo.toml index 22d211f0a..165e6c73f 100644 --- a/dylint-link/Cargo.toml +++ b/dylint-link/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dylint-link" -version = "1.0.13" +version = "1.0.14" authors = ["Samuel E. Moelius III "] description = "A wrapper around Rust's default linker to help create Dyling libraries" edition = "2018" @@ -12,7 +12,7 @@ anyhow = "1.0.55" env_logger = "0.9.0" if_chain = "1.0.2" -dylint_internal = { version = "=1.0.13", path = "../internal" } +dylint_internal = { version = "=1.0.14", path = "../internal" } [target.'cfg(target_os = "windows")'.dependencies] cc = "1.0.73" diff --git a/dylint/Cargo.toml b/dylint/Cargo.toml index 1c1fc9a94..ec02b1acf 100644 --- a/dylint/Cargo.toml +++ b/dylint/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dylint" -version = "1.0.13" +version = "1.0.14" authors = ["Samuel E. Moelius III "] description = "A tool for running Rust lints from dynamic libraries" edition = "2018" @@ -30,7 +30,7 @@ tempfile = "3.3.0" toml_edit = { version = "0.13.4", optional = true } walkdir = "2.3.2" -dylint_internal = { version = "=1.0.13", path = "../internal" } +dylint_internal = { version = "=1.0.14", path = "../internal" } [dev-dependencies] env_logger = "0.9.0" diff --git a/examples/allow_clippy/Cargo.lock b/examples/allow_clippy/Cargo.lock index 543e13179..a861b7906 100644 --- a/examples/allow_clippy/Cargo.lock +++ b/examples/allow_clippy/Cargo.lock @@ -13,7 +13,7 @@ dependencies = [ [[package]] name = "allow_clippy" -version = "1.0.13" +version = "1.0.14" dependencies = [ "clippy_utils", "dylint_linting", @@ -170,7 +170,7 @@ dependencies = [ [[package]] name = "dylint" -version = "1.0.13" +version = "1.0.14" dependencies = [ "ansi_term", "anyhow", @@ -190,7 +190,7 @@ dependencies = [ [[package]] name = "dylint_internal" -version = "1.0.13" +version = "1.0.14" dependencies = [ "ansi_term", "anyhow", @@ -202,11 +202,11 @@ dependencies = [ [[package]] name = "dylint_linting" -version = "1.0.13" +version = "1.0.14" [[package]] name = "dylint_testing" -version = "1.0.13" +version = "1.0.14" dependencies = [ "anyhow", "cargo_metadata", diff --git a/examples/allow_clippy/Cargo.toml b/examples/allow_clippy/Cargo.toml index 7b5e8649c..9638029df 100644 --- a/examples/allow_clippy/Cargo.toml +++ b/examples/allow_clippy/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "allow_clippy" -version = "1.0.13" +version = "1.0.14" authors = ["Samuel E. Moelius III "] description = "A tongue-in-cheek example of a Dylint library" edition = "2018" diff --git a/examples/clippy/Cargo.lock b/examples/clippy/Cargo.lock index 79c8ae585..4b9e4a237 100644 --- a/examples/clippy/Cargo.lock +++ b/examples/clippy/Cargo.lock @@ -103,7 +103,7 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" [[package]] name = "clippy" -version = "1.0.13" +version = "1.0.14" dependencies = [ "anyhow", "cargo_metadata", @@ -222,7 +222,7 @@ dependencies = [ [[package]] name = "dylint" -version = "1.0.13" +version = "1.0.14" dependencies = [ "ansi_term", "anyhow", @@ -242,7 +242,7 @@ dependencies = [ [[package]] name = "dylint_internal" -version = "1.0.13" +version = "1.0.14" dependencies = [ "ansi_term", "anyhow", @@ -255,11 +255,11 @@ dependencies = [ [[package]] name = "dylint_linting" -version = "1.0.13" +version = "1.0.14" [[package]] name = "dylint_testing" -version = "1.0.13" +version = "1.0.14" dependencies = [ "anyhow", "cargo_metadata", diff --git a/examples/clippy/Cargo.toml b/examples/clippy/Cargo.toml index 2bee05b07..f13c0d4de 100644 --- a/examples/clippy/Cargo.toml +++ b/examples/clippy/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "clippy" -version = "1.0.13" +version = "1.0.14" authors = ["Samuel E. Moelius III "] description = "All of the Clippy lints as a Dylint library" edition = "2018" diff --git a/examples/env_cargo_path/Cargo.lock b/examples/env_cargo_path/Cargo.lock index e3c4bea66..709721b16 100644 --- a/examples/env_cargo_path/Cargo.lock +++ b/examples/env_cargo_path/Cargo.lock @@ -167,7 +167,7 @@ dependencies = [ [[package]] name = "dylint" -version = "1.0.13" +version = "1.0.14" dependencies = [ "ansi_term", "anyhow", @@ -187,7 +187,7 @@ dependencies = [ [[package]] name = "dylint_internal" -version = "1.0.13" +version = "1.0.14" dependencies = [ "ansi_term", "anyhow", @@ -199,11 +199,11 @@ dependencies = [ [[package]] name = "dylint_linting" -version = "1.0.13" +version = "1.0.14" [[package]] name = "dylint_testing" -version = "1.0.13" +version = "1.0.14" dependencies = [ "anyhow", "cargo_metadata", @@ -221,7 +221,7 @@ dependencies = [ [[package]] name = "env_cargo_path" -version = "1.0.13" +version = "1.0.14" dependencies = [ "clippy_utils", "dylint_internal", diff --git a/examples/env_cargo_path/Cargo.toml b/examples/env_cargo_path/Cargo.toml index fd9634fdd..c9f836735 100644 --- a/examples/env_cargo_path/Cargo.toml +++ b/examples/env_cargo_path/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "env_cargo_path" -version = "1.0.13" +version = "1.0.14" authors = ["Samuel E. Moelius III "] description = "A lint to check for `env!` applied to Cargo environment variables containing paths" edition = "2018" diff --git a/examples/env_literal/Cargo.lock b/examples/env_literal/Cargo.lock index e059792e7..c8caa79cf 100644 --- a/examples/env_literal/Cargo.lock +++ b/examples/env_literal/Cargo.lock @@ -167,7 +167,7 @@ dependencies = [ [[package]] name = "dylint" -version = "1.0.13" +version = "1.0.14" dependencies = [ "ansi_term", "anyhow", @@ -187,7 +187,7 @@ dependencies = [ [[package]] name = "dylint_internal" -version = "1.0.13" +version = "1.0.14" dependencies = [ "ansi_term", "anyhow", @@ -199,11 +199,11 @@ dependencies = [ [[package]] name = "dylint_linting" -version = "1.0.13" +version = "1.0.14" [[package]] name = "dylint_testing" -version = "1.0.13" +version = "1.0.14" dependencies = [ "anyhow", "cargo_metadata", @@ -221,7 +221,7 @@ dependencies = [ [[package]] name = "env_literal" -version = "1.0.13" +version = "1.0.14" dependencies = [ "clippy_utils", "dylint_internal", diff --git a/examples/env_literal/Cargo.toml b/examples/env_literal/Cargo.toml index 2054b8031..34854a48c 100644 --- a/examples/env_literal/Cargo.toml +++ b/examples/env_literal/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "env_literal" -version = "1.0.13" +version = "1.0.14" authors = ["Samuel E. Moelius III "] description = "A lint to check for environment variables referred to with string literals" edition = "2018" diff --git a/examples/nonreentrant_function_in_test/Cargo.lock b/examples/nonreentrant_function_in_test/Cargo.lock index 3de690a2d..36f1b4a4c 100644 --- a/examples/nonreentrant_function_in_test/Cargo.lock +++ b/examples/nonreentrant_function_in_test/Cargo.lock @@ -167,7 +167,7 @@ dependencies = [ [[package]] name = "dylint" -version = "1.0.13" +version = "1.0.14" dependencies = [ "ansi_term", "anyhow", @@ -187,7 +187,7 @@ dependencies = [ [[package]] name = "dylint_internal" -version = "1.0.13" +version = "1.0.14" dependencies = [ "ansi_term", "anyhow", @@ -199,11 +199,11 @@ dependencies = [ [[package]] name = "dylint_linting" -version = "1.0.13" +version = "1.0.14" [[package]] name = "dylint_testing" -version = "1.0.13" +version = "1.0.14" dependencies = [ "anyhow", "cargo_metadata", @@ -353,7 +353,7 @@ dependencies = [ [[package]] name = "nonreentrant_function_in_test" -version = "1.0.13" +version = "1.0.14" dependencies = [ "clippy_utils", "dylint_internal", diff --git a/examples/nonreentrant_function_in_test/Cargo.toml b/examples/nonreentrant_function_in_test/Cargo.toml index babb044bf..b44e8f518 100644 --- a/examples/nonreentrant_function_in_test/Cargo.toml +++ b/examples/nonreentrant_function_in_test/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "nonreentrant_function_in_test" -version = "1.0.13" +version = "1.0.14" authors = ["Samuel E. Moelius III "] description = "A lint to check for nonreentrant functions in tests" edition = "2018" diff --git a/examples/path_separator_in_string_literal/Cargo.lock b/examples/path_separator_in_string_literal/Cargo.lock index 25d0b1d64..bc55f0c3d 100644 --- a/examples/path_separator_in_string_literal/Cargo.lock +++ b/examples/path_separator_in_string_literal/Cargo.lock @@ -167,7 +167,7 @@ dependencies = [ [[package]] name = "dylint" -version = "1.0.13" +version = "1.0.14" dependencies = [ "ansi_term", "anyhow", @@ -187,7 +187,7 @@ dependencies = [ [[package]] name = "dylint_internal" -version = "1.0.13" +version = "1.0.14" dependencies = [ "ansi_term", "anyhow", @@ -199,11 +199,11 @@ dependencies = [ [[package]] name = "dylint_linting" -version = "1.0.13" +version = "1.0.14" [[package]] name = "dylint_testing" -version = "1.0.13" +version = "1.0.14" dependencies = [ "anyhow", "cargo_metadata", @@ -369,7 +369,7 @@ checksum = "87f3e037eac156d1775da914196f0f37741a274155e34a0b7e427c35d2a2ecb9" [[package]] name = "path_separator_in_string_literal" -version = "1.0.13" +version = "1.0.14" dependencies = [ "clippy_utils", "dylint_internal", diff --git a/examples/path_separator_in_string_literal/Cargo.toml b/examples/path_separator_in_string_literal/Cargo.toml index 107d2e989..32d99d167 100644 --- a/examples/path_separator_in_string_literal/Cargo.toml +++ b/examples/path_separator_in_string_literal/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "path_separator_in_string_literal" -version = "1.0.13" +version = "1.0.14" authors = ["Samuel E. Moelius III "] description = "A lint to check for path separators in string literals" edition = "2018" diff --git a/examples/question_mark_in_expression/Cargo.lock b/examples/question_mark_in_expression/Cargo.lock index dc28c635f..7d48de7e1 100644 --- a/examples/question_mark_in_expression/Cargo.lock +++ b/examples/question_mark_in_expression/Cargo.lock @@ -182,7 +182,7 @@ dependencies = [ [[package]] name = "dylint" -version = "1.0.13" +version = "1.0.14" dependencies = [ "ansi_term", "anyhow", @@ -202,7 +202,7 @@ dependencies = [ [[package]] name = "dylint_internal" -version = "1.0.13" +version = "1.0.14" dependencies = [ "ansi_term", "anyhow", @@ -214,11 +214,11 @@ dependencies = [ [[package]] name = "dylint_linting" -version = "1.0.13" +version = "1.0.14" [[package]] name = "dylint_testing" -version = "1.0.13" +version = "1.0.14" dependencies = [ "anyhow", "cargo_metadata", @@ -515,7 +515,7 @@ dependencies = [ [[package]] name = "question_mark_in_expression" -version = "1.0.13" +version = "1.0.14" dependencies = [ "clippy_utils", "dylint_linting", diff --git a/examples/question_mark_in_expression/Cargo.toml b/examples/question_mark_in_expression/Cargo.toml index e7fae307b..a58ee9158 100644 --- a/examples/question_mark_in_expression/Cargo.toml +++ b/examples/question_mark_in_expression/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "question_mark_in_expression" -version = "1.0.13" +version = "1.0.14" authors = ["Samuel E. Moelius III "] description = "A lint to check for the `?` operator in expressions" edition = "2018" diff --git a/examples/try_io_result/Cargo.lock b/examples/try_io_result/Cargo.lock index 3c7773381..fc1fa8648 100644 --- a/examples/try_io_result/Cargo.lock +++ b/examples/try_io_result/Cargo.lock @@ -167,7 +167,7 @@ dependencies = [ [[package]] name = "dylint" -version = "1.0.13" +version = "1.0.14" dependencies = [ "ansi_term", "anyhow", @@ -187,7 +187,7 @@ dependencies = [ [[package]] name = "dylint_internal" -version = "1.0.13" +version = "1.0.14" dependencies = [ "ansi_term", "anyhow", @@ -199,11 +199,11 @@ dependencies = [ [[package]] name = "dylint_linting" -version = "1.0.13" +version = "1.0.14" [[package]] name = "dylint_testing" -version = "1.0.13" +version = "1.0.14" dependencies = [ "anyhow", "cargo_metadata", @@ -578,7 +578,7 @@ dependencies = [ [[package]] name = "try_io_result" -version = "1.0.13" +version = "1.0.14" dependencies = [ "anyhow", "clippy_utils", diff --git a/examples/try_io_result/Cargo.toml b/examples/try_io_result/Cargo.toml index ea120ac71..dfe587247 100644 --- a/examples/try_io_result/Cargo.toml +++ b/examples/try_io_result/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "try_io_result" -version = "1.0.13" +version = "1.0.14" authors = ["Samuel E. Moelius III "] description = "A lint to check for the `?` operator applied to `std::io::Result`" edition = "2018" diff --git a/internal/Cargo.toml b/internal/Cargo.toml index 71a825969..656aea820 100644 --- a/internal/Cargo.toml +++ b/internal/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dylint_internal" -version = "1.0.13" +version = "1.0.14" authors = ["Samuel E. Moelius III "] description = "Dylint internals" edition = "2018" diff --git a/utils/linting/Cargo.toml b/utils/linting/Cargo.toml index ad7821de5..6203b2e05 100644 --- a/utils/linting/Cargo.toml +++ b/utils/linting/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dylint_linting" -version = "1.0.13" +version = "1.0.14" authors = ["Samuel E. Moelius III "] description = "Utilities for writing Dylint libraries" edition = "2018" diff --git a/utils/testing/Cargo.toml b/utils/testing/Cargo.toml index e6409ac6b..dfcf19b16 100644 --- a/utils/testing/Cargo.toml +++ b/utils/testing/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dylint_testing" -version = "1.0.13" +version = "1.0.14" authors = ["Samuel E. Moelius III "] description = "Utilities for testing Dylint libraries" edition = "2018" @@ -19,8 +19,8 @@ regex = "1.5.4" serde_json = "1.0.79" tempfile = "3.3.0" -dylint = { version = "=1.0.13", path = "../../dylint", default-features = false } -dylint_internal = { version = "=1.0.13", path = "../../internal" } +dylint = { version = "=1.0.14", path = "../../dylint", default-features = false } +dylint_internal = { version = "=1.0.14", path = "../../internal" } [features] default = []