Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Jan 23, 2026

This PR contains the following updates:

Package Update Change
cargo-semver-checks minor 0.45.00.46.0

Release Notes

obi1kenobi/cargo-semver-checks (cargo-semver-checks)

v0.46.0

Compare Source

In this release

  • 45 new lints — our biggest release ever!
  • Spotlight: Exponential growth continued — 2025 Year in Review

semver-animation
This adorable animation was made by @​dekirisu

This release requires Rust 1.90+ both to install (MSRV) and at runtime. Future releases will require Rust 1.91+.

This is the last release to support git-based package indexes. Future releases will require the use of a sparse index for linting against package versions published to a registry.

Spotlight: Exponential growth continued — 2025 Year in Review

Please check out our year in review post for a look at what we accomplished in 2025, and what lies ahead.

One of the highlights: in 2025 we more than doubled the number of lints, from 120 on January 1 to 242 lints on December 31! Exponential growth in the number of lints in cargo-semver-checks, doubling each year: 30 lints at the end of 2022, 57 at the end of 2023, 120 at the end of 2024, and 242 at the end of 2025.

New lints

This release ships with 245 lints in total. We added 35 new SemVer-major deny-by-default lints, 2 major warn-by-default lints, and 8 new allow-by-default lints for additive-only changes.

SemVer-major, deny-by-default
New trait impls
  • copy_impl_added
Type kind changes (enum became struct etc.)
  • enum_changed_kind
  • trait_changed_kind
  • union_changed_kind
  • union_changed_to_incompatible_struct
  • union_with_multiple_pub_fields_changed_to_struct
Cargo feature graph removal
  • feature_no_longer_enables_feature
Exported functions (FFI) signature/ABI/target features
  • exported_function_abi_no_longer_unwind
  • exported_function_abi_now_unwind
  • exported_function_parameter_count_changed
  • exported_function_return_value_added
  • exported_function_now_returns_unit
  • exported_function_target_feature_added
  • exported_function_requires_more_target_features
Method ABI/unwind/symbol changes (inherent + trait)
  • inherent_method_changed_abi
  • inherent_method_no_longer_unwind
  • inherent_method_now_unwind
  • trait_method_changed_abi
  • trait_method_no_longer_unwind
  • trait_method_now_unwind
  • method_export_name_changed
Inherent method receiver changes
  • method_no_longer_has_receiver
  • method_receiver_mut_ref_became_owned
  • method_receiver_ref_became_mut
  • method_receiver_ref_became_owned
  • method_receiver_type_changed
Trait method receiver changes
  • trait_method_no_longer_has_receiver
  • trait_method_receiver_added
  • trait_method_receiver_mut_ref_became_owned
  • trait_method_receiver_mut_ref_became_ref
  • trait_method_receiver_owned_became_mut_ref
  • trait_method_receiver_owned_became_ref
  • trait_method_receiver_ref_became_mut
  • trait_method_receiver_ref_became_owned
  • trait_method_receiver_type_changed
SemVer-major, warn-by-default
Sealed trait method receiver changes
  • pub_api_sealed_trait_method_receiver_added
  • pub_api_sealed_trait_method_receiver_mut_ref_became_ref
Allow-by-default lints for additive-only changes
Public struct additions / exhaustiveness
  • exhaustive_struct_added
  • exhaustive_struct_with_private_fields_added
  • exhaustive_struct_with_doc_hidden_fields_added
  • non_exhaustive_struct_added
Cargo feature graph expansion
  • feature_newly_enables_feature
Associated items added on inherent impls
  • inherent_associated_pub_const_added
#[must_use] removals
  • inherent_method_must_use_removed
  • trait_must_use_removed

All merged PRs

New Contributors

Full Changelog: obi1kenobi/cargo-semver-checks@v0.45.0...v0.46.0


Configuration

📅 Schedule: Branch creation - Every minute ( * * * * * ) (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@rustbot rustbot added A-infrastructure Area: infrastructure around the cargo repo, ci, releases, etc. S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Jan 23, 2026
@rustbot
Copy link
Collaborator

rustbot commented Jan 23, 2026

r? @ehuss

rustbot has assigned @ehuss.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@weihanglo weihanglo added this pull request to the merge queue Jan 23, 2026
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jan 23, 2026
@weihanglo weihanglo added this pull request to the merge queue Jan 23, 2026
@weihanglo
Copy link
Member

Re-queuing. I was surprised that scheduling order now flipped again.

 ---- basic stdout ----
running `/home/runner/work/cargo/cargo/target/debug/cargo check -Zbuild-std -Zpublic-dependency --target x86_64-unknown-linux-gnu`
running `/home/runner/work/cargo/cargo/target/debug/cargo build -Zbuild-std -Zpublic-dependency --target x86_64-unknown-linux-gnu`
running `/home/runner/work/cargo/cargo/target/debug/cargo run -Zbuild-std -Zpublic-dependency --target x86_64-unknown-linux-gnu`
running `/home/runner/work/cargo/cargo/target/debug/cargo test -Zbuild-std -Zpublic-dependency --target x86_64-unknown-linux-gnu`

thread 'basic' (10027) panicked at tests/build-std/main.rs:178:10:

---- expected: tests/build-std/main.rs:167:27
++++ actual:   stderr
   1      - [COMPILING] test v0.0.0 ([..])
        1 + [COMPILING] rustc-std-workspace-std v1.99.0 (/home/runner/.rustup/toolchains/nightly-[HOST_TARGET]/lib/rustlib/src/rust/library/rustc-std-workspace-std)
   2    2 | ...
   3    3 | [COMPILING] foo v0.0.1 ([ROOT]/foo)
   4    4 | [FINISHED] `test` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
   5    5 | [RUNNING] unittests src/lib.rs (target/[HOST_TARGET]/debug/deps/foo-[HASH])
   6    6 | [RUNNING] unittests src/main.rs (target/[HOST_TARGET]/debug/deps/foo-[HASH])
   7    7 | [RUNNING] tests/smoke.rs (target/[HOST_TARGET]/debug/deps/smoke-[HASH])
   8    8 | [DOCTEST] foo

Update with SNAPSHOTS=overwrite

Merged via the queue into master with commit efcd9f5 Jan 23, 2026
29 checks passed
@weihanglo weihanglo deleted the renovate/cargo-semver-checks-0.x branch January 23, 2026 14:23
@rustbot rustbot removed the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jan 23, 2026
rust-bors bot pushed a commit to rust-lang/rust that referenced this pull request Jan 23, 2026
Update cargo submodule

14 commits in 85eff7c80277b57f78b11e28d14154ab12fcf643..efcd9f58636c1990393d495159045d9c35e43b8f
2026-01-15 16:18:08 +0000 to 2026-01-23 13:50:59 +0000
- chore(deps): update cargo-semver-checks to v0.46.0 (rust-lang/cargo#16548)
- Increase cache_lock test timeout (rust-lang/cargo#16545)
- iTerm now supports OSC 9;4 (terminal window progress bar) (rust-lang/cargo#16506)
- chore: Updated compiler errors for Rust 1.93 (rust-lang/cargo#16543)
- test(build-std): adjust snapshot (rust-lang/cargo#16539)
- chore: bump to 0.96.0 (rust-lang/cargo#16538)
- fix: update `resolve_all_features()` to filter pkg deps (rust-lang/cargo#16221)
- fix: show implicit_minimum_version_req emitted source once per package (rust-lang/cargo#16535)
- fix: `--remap-path-scope` stabilized in 1.95-nightly (rust-lang/cargo#16536)
- feat(lints): Add non_kebab_case_bin lint  (rust-lang/cargo#16524)
- fix(rm): Suggest table flags when none are specified (rust-lang/cargo#16533)
- fix(patch): clean up patch-related error messages (rust-lang/cargo#16498)
- Store artifact deps in build unit dir (rust-lang/cargo#16519)
- refactor(timings): reuse timing metric collection logic between `--timings` and `-Zbuild-analysis` (rust-lang/cargo#16497)
rust-bors bot pushed a commit to rust-lang/rust that referenced this pull request Jan 23, 2026
Update cargo submodule

14 commits in 85eff7c80277b57f78b11e28d14154ab12fcf643..efcd9f58636c1990393d495159045d9c35e43b8f
2026-01-15 16:18:08 +0000 to 2026-01-23 13:50:59 +0000
- chore(deps): update cargo-semver-checks to v0.46.0 (rust-lang/cargo#16548)
- Increase cache_lock test timeout (rust-lang/cargo#16545)
- iTerm now supports OSC 9;4 (terminal window progress bar) (rust-lang/cargo#16506)
- chore: Updated compiler errors for Rust 1.93 (rust-lang/cargo#16543)
- test(build-std): adjust snapshot (rust-lang/cargo#16539)
- chore: bump to 0.96.0 (rust-lang/cargo#16538)
- fix: update `resolve_all_features()` to filter pkg deps (rust-lang/cargo#16221)
- fix: show implicit_minimum_version_req emitted source once per package (rust-lang/cargo#16535)
- fix: `--remap-path-scope` stabilized in 1.95-nightly (rust-lang/cargo#16536)
- feat(lints): Add non_kebab_case_bin lint  (rust-lang/cargo#16524)
- fix(rm): Suggest table flags when none are specified (rust-lang/cargo#16533)
- fix(patch): clean up patch-related error messages (rust-lang/cargo#16498)
- Store artifact deps in build unit dir (rust-lang/cargo#16519)
- refactor(timings): reuse timing metric collection logic between `--timings` and `-Zbuild-analysis` (rust-lang/cargo#16497)
rust-bors bot pushed a commit to rust-lang/rust that referenced this pull request Jan 24, 2026
Update cargo submodule

14 commits in 85eff7c80277b57f78b11e28d14154ab12fcf643..efcd9f58636c1990393d495159045d9c35e43b8f
2026-01-15 16:18:08 +0000 to 2026-01-23 13:50:59 +0000
- chore(deps): update cargo-semver-checks to v0.46.0 (rust-lang/cargo#16548)
- Increase cache_lock test timeout (rust-lang/cargo#16545)
- iTerm now supports OSC 9;4 (terminal window progress bar) (rust-lang/cargo#16506)
- chore: Updated compiler errors for Rust 1.93 (rust-lang/cargo#16543)
- test(build-std): adjust snapshot (rust-lang/cargo#16539)
- chore: bump to 0.96.0 (rust-lang/cargo#16538)
- fix: update `resolve_all_features()` to filter pkg deps (rust-lang/cargo#16221)
- fix: show implicit_minimum_version_req emitted source once per package (rust-lang/cargo#16535)
- fix: `--remap-path-scope` stabilized in 1.95-nightly (rust-lang/cargo#16536)
- feat(lints): Add non_kebab_case_bin lint  (rust-lang/cargo#16524)
- fix(rm): Suggest table flags when none are specified (rust-lang/cargo#16533)
- fix(patch): clean up patch-related error messages (rust-lang/cargo#16498)
- Store artifact deps in build unit dir (rust-lang/cargo#16519)
- refactor(timings): reuse timing metric collection logic between `--timings` and `-Zbuild-analysis` (rust-lang/cargo#16497)
@rustbot rustbot added this to the 1.95.0 milestone Jan 24, 2026
github-actions bot pushed a commit to rust-lang/miri that referenced this pull request Jan 25, 2026
Update cargo submodule

14 commits in 85eff7c80277b57f78b11e28d14154ab12fcf643..efcd9f58636c1990393d495159045d9c35e43b8f
2026-01-15 16:18:08 +0000 to 2026-01-23 13:50:59 +0000
- chore(deps): update cargo-semver-checks to v0.46.0 (rust-lang/cargo#16548)
- Increase cache_lock test timeout (rust-lang/cargo#16545)
- iTerm now supports OSC 9;4 (terminal window progress bar) (rust-lang/cargo#16506)
- chore: Updated compiler errors for Rust 1.93 (rust-lang/cargo#16543)
- test(build-std): adjust snapshot (rust-lang/cargo#16539)
- chore: bump to 0.96.0 (rust-lang/cargo#16538)
- fix: update `resolve_all_features()` to filter pkg deps (rust-lang/cargo#16221)
- fix: show implicit_minimum_version_req emitted source once per package (rust-lang/cargo#16535)
- fix: `--remap-path-scope` stabilized in 1.95-nightly (rust-lang/cargo#16536)
- feat(lints): Add non_kebab_case_bin lint  (rust-lang/cargo#16524)
- fix(rm): Suggest table flags when none are specified (rust-lang/cargo#16533)
- fix(patch): clean up patch-related error messages (rust-lang/cargo#16498)
- Store artifact deps in build unit dir (rust-lang/cargo#16519)
- refactor(timings): reuse timing metric collection logic between `--timings` and `-Zbuild-analysis` (rust-lang/cargo#16497)
github-actions bot pushed a commit to rust-lang/rustc-dev-guide that referenced this pull request Jan 26, 2026
Update cargo submodule

14 commits in 85eff7c80277b57f78b11e28d14154ab12fcf643..efcd9f58636c1990393d495159045d9c35e43b8f
2026-01-15 16:18:08 +0000 to 2026-01-23 13:50:59 +0000
- chore(deps): update cargo-semver-checks to v0.46.0 (rust-lang/cargo#16548)
- Increase cache_lock test timeout (rust-lang/cargo#16545)
- iTerm now supports OSC 9;4 (terminal window progress bar) (rust-lang/cargo#16506)
- chore: Updated compiler errors for Rust 1.93 (rust-lang/cargo#16543)
- test(build-std): adjust snapshot (rust-lang/cargo#16539)
- chore: bump to 0.96.0 (rust-lang/cargo#16538)
- fix: update `resolve_all_features()` to filter pkg deps (rust-lang/cargo#16221)
- fix: show implicit_minimum_version_req emitted source once per package (rust-lang/cargo#16535)
- fix: `--remap-path-scope` stabilized in 1.95-nightly (rust-lang/cargo#16536)
- feat(lints): Add non_kebab_case_bin lint  (rust-lang/cargo#16524)
- fix(rm): Suggest table flags when none are specified (rust-lang/cargo#16533)
- fix(patch): clean up patch-related error messages (rust-lang/cargo#16498)
- Store artifact deps in build unit dir (rust-lang/cargo#16519)
- refactor(timings): reuse timing metric collection logic between `--timings` and `-Zbuild-analysis` (rust-lang/cargo#16497)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-infrastructure Area: infrastructure around the cargo repo, ci, releases, etc.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants