Steps to reproduce the bug with the above code
git clone [email protected]:obi1kenobi/cargo-semver-checks.git
Cloning into 'cargo-semver-checks'...
remote: Enumerating objects: 1886, done.
remote: Counting objects: 100% (1886/1886), done.
remote: Compressing objects: 100% (648/648), done.
remote: Total 1886 (delta 1143), reused 1826 (delta 1122), pack-reused 0
Receiving objects: 100% (1886/1886), 388.04 KiB | 671.00 KiB/s, done.
Resolving deltas: 100% (1143/1143), done.
cd cargo-semver-checks
./scripts/regenerate_test_rustdocs.sh
Generating: auto_trait_impl_removed/new
~/zpp/cargo-semver-checks/test_crates/auto_trait_impl_removed/new ~/zpp/cargo-semver-checks
Documenting auto_trait_impl_removed v0.1.0 (/home/tonowak/zpp/cargo-semver-checks/test_crates/auto_trait_impl_removed/new)
Finished dev [unoptimized + debuginfo] target(s) in 0.19s
~/zpp/cargo-semver-checks
Generating: auto_trait_impl_removed/old
~/zpp/cargo-semver-checks/test_crates/auto_trait_impl_removed/old ~/zpp/cargo-semver-checks
Documenting auto_trait_impl_removed v0.1.0 (/home/tonowak/zpp/cargo-semver-checks/test_crates/auto_trait_impl_removed/old)
Finished dev [unoptimized + debuginfo] target(s) in 0.19s
~/zpp/cargo-semver-checks
Generating: constructible_struct_adds_field/new
~/zpp/cargo-semver-checks/test_crates/constructible_struct_adds_field/new ~/zpp/cargo-semver-checks
Documenting constructible_struct_adds_field v0.1.0 (/home/tonowak/zpp/cargo-semver-checks/test_crates/constructible_struct_adds_field/new)
Finished dev [unoptimized + debuginfo] target(s) in 0.19s
~/zpp/cargo-semver-checks
Generating: constructible_struct_adds_field/old
~/zpp/cargo-semver-checks/test_crates/constructible_struct_adds_field/old ~/zpp/cargo-semver-checks
Documenting constructible_struct_adds_field v0.1.0 (/home/tonowak/zpp/cargo-semver-checks/test_crates/constructible_struct_adds_field/old)
Finished dev [unoptimized + debuginfo] target(s) in 0.20s
~/zpp/cargo-semver-checks
Generating: constructible_struct_adds_private_field/new
~/zpp/cargo-semver-checks/test_crates/constructible_struct_adds_private_field/new ~/zpp/cargo-semver-checks
Documenting constructible_struct_adds_private_field v0.1.0 (/home/tonowak/zpp/cargo-semver-checks/test_crates/constructible_struct_adds_private_field/new)
Finished dev [unoptimized + debuginfo] target(s) in 0.19s
~/zpp/cargo-semver-checks
Generating: constructible_struct_adds_private_field/old
~/zpp/cargo-semver-checks/test_crates/constructible_struct_adds_private_field/old ~/zpp/cargo-semver-checks
Documenting constructible_struct_adds_private_field v0.1.0 (/home/tonowak/zpp/cargo-semver-checks/test_crates/constructible_struct_adds_private_field/old)
Finished dev [unoptimized + debuginfo] target(s) in 0.19s
~/zpp/cargo-semver-checks
Generating: derive_trait_impl_removed/new
~/zpp/cargo-semver-checks/test_crates/derive_trait_impl_removed/new ~/zpp/cargo-semver-checks
Documenting derive_trait_impl_removed v0.1.0 (/home/tonowak/zpp/cargo-semver-checks/test_crates/derive_trait_impl_removed/new)
Finished dev [unoptimized + debuginfo] target(s) in 0.20s
~/zpp/cargo-semver-checks
Generating: derive_trait_impl_removed/old
~/zpp/cargo-semver-checks/test_crates/derive_trait_impl_removed/old ~/zpp/cargo-semver-checks
Documenting derive_trait_impl_removed v0.1.0 (/home/tonowak/zpp/cargo-semver-checks/test_crates/derive_trait_impl_removed/old)
Finished dev [unoptimized + debuginfo] target(s) in 0.19s
~/zpp/cargo-semver-checks
Generating: enum_missing/new
~/zpp/cargo-semver-checks/test_crates/enum_missing/new ~/zpp/cargo-semver-checks
Documenting enum_missing v0.1.0 (/home/tonowak/zpp/cargo-semver-checks/test_crates/enum_missing/new)
Finished dev [unoptimized + debuginfo] target(s) in 0.19s
~/zpp/cargo-semver-checks
Generating: enum_missing/old
~/zpp/cargo-semver-checks/test_crates/enum_missing/old ~/zpp/cargo-semver-checks
Documenting enum_missing v0.1.0 (/home/tonowak/zpp/cargo-semver-checks/test_crates/enum_missing/old)
Finished dev [unoptimized + debuginfo] target(s) in 0.19s
~/zpp/cargo-semver-checks
Generating: enum_repr_c_removed/new
~/zpp/cargo-semver-checks/test_crates/enum_repr_c_removed/new ~/zpp/cargo-semver-checks
Documenting enum_repr_c_removed v0.1.0 (/home/tonowak/zpp/cargo-semver-checks/test_crates/enum_repr_c_removed/new)
Finished dev [unoptimized + debuginfo] target(s) in 0.19s
~/zpp/cargo-semver-checks
Generating: enum_repr_c_removed/old
~/zpp/cargo-semver-checks/test_crates/enum_repr_c_removed/old ~/zpp/cargo-semver-checks
Documenting enum_repr_c_removed v0.1.0 (/home/tonowak/zpp/cargo-semver-checks/test_crates/enum_repr_c_removed/old)
Finished dev [unoptimized + debuginfo] target(s) in 0.19s
~/zpp/cargo-semver-checks
Generating: enum_repr_int_changed/new
~/zpp/cargo-semver-checks/test_crates/enum_repr_int_changed/new ~/zpp/cargo-semver-checks
Documenting enum_repr_int_changed v0.1.0 (/home/tonowak/zpp/cargo-semver-checks/test_crates/enum_repr_int_changed/new)
Finished dev [unoptimized + debuginfo] target(s) in 0.19s
~/zpp/cargo-semver-checks
Generating: enum_repr_int_changed/old
~/zpp/cargo-semver-checks/test_crates/enum_repr_int_changed/old ~/zpp/cargo-semver-checks
Documenting enum_repr_int_changed v0.1.0 (/home/tonowak/zpp/cargo-semver-checks/test_crates/enum_repr_int_changed/old)
Finished dev [unoptimized + debuginfo] target(s) in 0.19s
~/zpp/cargo-semver-checks
Generating: enum_repr_int_removed/new
~/zpp/cargo-semver-checks/test_crates/enum_repr_int_removed/new ~/zpp/cargo-semver-checks
Documenting enum_repr_int_removed v0.1.0 (/home/tonowak/zpp/cargo-semver-checks/test_crates/enum_repr_int_removed/new)
Finished dev [unoptimized + debuginfo] target(s) in 0.19s
~/zpp/cargo-semver-checks
Generating: enum_repr_int_removed/old
~/zpp/cargo-semver-checks/test_crates/enum_repr_int_removed/old ~/zpp/cargo-semver-checks
Documenting enum_repr_int_removed v0.1.0 (/home/tonowak/zpp/cargo-semver-checks/test_crates/enum_repr_int_removed/old)
Finished dev [unoptimized + debuginfo] target(s) in 0.19s
~/zpp/cargo-semver-checks
Generating: enum_struct_variant_field_added/new
~/zpp/cargo-semver-checks/test_crates/enum_struct_variant_field_added/new ~/zpp/cargo-semver-checks
Documenting enum_struct_variant_field_added v0.1.0 (/home/tonowak/zpp/cargo-semver-checks/test_crates/enum_struct_variant_field_added/new)
Finished dev [unoptimized + debuginfo] target(s) in 0.19s
~/zpp/cargo-semver-checks
Generating: enum_struct_variant_field_added/old
~/zpp/cargo-semver-checks/test_crates/enum_struct_variant_field_added/old ~/zpp/cargo-semver-checks
Documenting enum_struct_variant_field_added v0.1.0 (/home/tonowak/zpp/cargo-semver-checks/test_crates/enum_struct_variant_field_added/old)
Finished dev [unoptimized + debuginfo] target(s) in 0.19s
~/zpp/cargo-semver-checks
Generating: enum_struct_variant_field_missing/new
~/zpp/cargo-semver-checks/test_crates/enum_struct_variant_field_missing/new ~/zpp/cargo-semver-checks
Documenting enum_struct_variant_field_missing v0.1.0 (/home/tonowak/zpp/cargo-semver-checks/test_crates/enum_struct_variant_field_missing/new)
Finished dev [unoptimized + debuginfo] target(s) in 0.20s
~/zpp/cargo-semver-checks
Generating: enum_struct_variant_field_missing/old
~/zpp/cargo-semver-checks/test_crates/enum_struct_variant_field_missing/old ~/zpp/cargo-semver-checks
Documenting enum_struct_variant_field_missing v0.1.0 (/home/tonowak/zpp/cargo-semver-checks/test_crates/enum_struct_variant_field_missing/old)
Finished dev [unoptimized + debuginfo] target(s) in 0.19s
~/zpp/cargo-semver-checks
Generating: enum_variant_added/new
~/zpp/cargo-semver-checks/test_crates/enum_variant_added/new ~/zpp/cargo-semver-checks
Documenting enum_variant_added v0.1.0 (/home/tonowak/zpp/cargo-semver-checks/test_crates/enum_variant_added/new)
Finished dev [unoptimized + debuginfo] target(s) in 0.19s
~/zpp/cargo-semver-checks
Generating: enum_variant_added/old
~/zpp/cargo-semver-checks/test_crates/enum_variant_added/old ~/zpp/cargo-semver-checks
Documenting enum_variant_added v0.1.0 (/home/tonowak/zpp/cargo-semver-checks/test_crates/enum_variant_added/old)
Finished dev [unoptimized + debuginfo] target(s) in 0.19s
~/zpp/cargo-semver-checks
Generating: enum_variant_missing/new
~/zpp/cargo-semver-checks/test_crates/enum_variant_missing/new ~/zpp/cargo-semver-checks
Documenting enum_variant_missing v0.1.0 (/home/tonowak/zpp/cargo-semver-checks/test_crates/enum_variant_missing/new)
Finished dev [unoptimized + debuginfo] target(s) in 0.19s
~/zpp/cargo-semver-checks
Generating: enum_variant_missing/old
~/zpp/cargo-semver-checks/test_crates/enum_variant_missing/old ~/zpp/cargo-semver-checks
Documenting enum_variant_missing v0.1.0 (/home/tonowak/zpp/cargo-semver-checks/test_crates/enum_variant_missing/old)
Finished dev [unoptimized + debuginfo] target(s) in 0.19s
~/zpp/cargo-semver-checks
Generating: function_const_removed/new
~/zpp/cargo-semver-checks/test_crates/function_const_removed/new ~/zpp/cargo-semver-checks
Documenting function_const_removed v0.1.0 (/home/tonowak/zpp/cargo-semver-checks/test_crates/function_const_removed/new)
Finished dev [unoptimized + debuginfo] target(s) in 0.19s
~/zpp/cargo-semver-checks
Generating: function_const_removed/old
~/zpp/cargo-semver-checks/test_crates/function_const_removed/old ~/zpp/cargo-semver-checks
Documenting function_const_removed v0.1.0 (/home/tonowak/zpp/cargo-semver-checks/test_crates/function_const_removed/old)
Finished dev [unoptimized + debuginfo] target(s) in 0.19s
~/zpp/cargo-semver-checks
Generating: function_missing/new
~/zpp/cargo-semver-checks/test_crates/function_missing/new ~/zpp/cargo-semver-checks
Documenting function_missing v0.1.0 (/home/tonowak/zpp/cargo-semver-checks/test_crates/function_missing/new)
Finished dev [unoptimized + debuginfo] target(s) in 0.19s
~/zpp/cargo-semver-checks
Generating: function_missing/old
~/zpp/cargo-semver-checks/test_crates/function_missing/old ~/zpp/cargo-semver-checks
Documenting function_missing v0.1.0 (/home/tonowak/zpp/cargo-semver-checks/test_crates/function_missing/old)
Finished dev [unoptimized + debuginfo] target(s) in 0.19s
~/zpp/cargo-semver-checks
Generating: function_unsafe_added/new
~/zpp/cargo-semver-checks/test_crates/function_unsafe_added/new ~/zpp/cargo-semver-checks
Documenting function_unsafe_added v0.1.0 (/home/tonowak/zpp/cargo-semver-checks/test_crates/function_unsafe_added/new)
Finished dev [unoptimized + debuginfo] target(s) in 0.19s
~/zpp/cargo-semver-checks
Generating: function_unsafe_added/old
~/zpp/cargo-semver-checks/test_crates/function_unsafe_added/old ~/zpp/cargo-semver-checks
Documenting function_unsafe_added v0.1.0 (/home/tonowak/zpp/cargo-semver-checks/test_crates/function_unsafe_added/old)
Finished dev [unoptimized + debuginfo] target(s) in 0.19s
~/zpp/cargo-semver-checks
Generating: inherent_method_const_removed/new
~/zpp/cargo-semver-checks/test_crates/inherent_method_const_removed/new ~/zpp/cargo-semver-checks
Documenting inherent_method_const_removed v0.1.0 (/home/tonowak/zpp/cargo-semver-checks/test_crates/inherent_method_const_removed/new)
Finished dev [unoptimized + debuginfo] target(s) in 0.19s
~/zpp/cargo-semver-checks
Generating: inherent_method_const_removed/old
~/zpp/cargo-semver-checks/test_crates/inherent_method_const_removed/old ~/zpp/cargo-semver-checks
Documenting inherent_method_const_removed v0.1.0 (/home/tonowak/zpp/cargo-semver-checks/test_crates/inherent_method_const_removed/old)
Finished dev [unoptimized + debuginfo] target(s) in 0.19s
~/zpp/cargo-semver-checks
Generating: inherent_method_missing/new
~/zpp/cargo-semver-checks/test_crates/inherent_method_missing/new ~/zpp/cargo-semver-checks
Documenting inherent_method_missing v0.1.0 (/home/tonowak/zpp/cargo-semver-checks/test_crates/inherent_method_missing/new)
Finished dev [unoptimized + debuginfo] target(s) in 0.19s
~/zpp/cargo-semver-checks
Generating: inherent_method_missing/old
~/zpp/cargo-semver-checks/test_crates/inherent_method_missing/old ~/zpp/cargo-semver-checks
Documenting inherent_method_missing v0.1.0 (/home/tonowak/zpp/cargo-semver-checks/test_crates/inherent_method_missing/old)
Finished dev [unoptimized + debuginfo] target(s) in 0.19s
~/zpp/cargo-semver-checks
Generating: inherent_method_unsafe_added/new
~/zpp/cargo-semver-checks/test_crates/inherent_method_unsafe_added/new ~/zpp/cargo-semver-checks
Documenting inherent_method_unsafe_added v0.1.0 (/home/tonowak/zpp/cargo-semver-checks/test_crates/inherent_method_unsafe_added/new)
Finished dev [unoptimized + debuginfo] target(s) in 0.19s
~/zpp/cargo-semver-checks
Generating: inherent_method_unsafe_added/old
~/zpp/cargo-semver-checks/test_crates/inherent_method_unsafe_added/old ~/zpp/cargo-semver-checks
Documenting inherent_method_unsafe_added v0.1.0 (/home/tonowak/zpp/cargo-semver-checks/test_crates/inherent_method_unsafe_added/old)
Finished dev [unoptimized + debuginfo] target(s) in 0.19s
~/zpp/cargo-semver-checks
Generating: item_relocation/new
~/zpp/cargo-semver-checks/test_crates/item_relocation/new ~/zpp/cargo-semver-checks
Documenting item_relocation v0.1.0 (/home/tonowak/zpp/cargo-semver-checks/test_crates/item_relocation/new)
Finished dev [unoptimized + debuginfo] target(s) in 0.19s
~/zpp/cargo-semver-checks
Generating: item_relocation/old
~/zpp/cargo-semver-checks/test_crates/item_relocation/old ~/zpp/cargo-semver-checks
Documenting item_relocation v0.1.0 (/home/tonowak/zpp/cargo-semver-checks/test_crates/item_relocation/old)
Finished dev [unoptimized + debuginfo] target(s) in 0.19s
~/zpp/cargo-semver-checks
Generating: non_exhaustive/new
~/zpp/cargo-semver-checks/test_crates/non_exhaustive/new ~/zpp/cargo-semver-checks
Documenting non_exhaustive v0.1.0 (/home/tonowak/zpp/cargo-semver-checks/test_crates/non_exhaustive/new)
Finished dev [unoptimized + debuginfo] target(s) in 0.19s
~/zpp/cargo-semver-checks
Generating: non_exhaustive/old
~/zpp/cargo-semver-checks/test_crates/non_exhaustive/old ~/zpp/cargo-semver-checks
Documenting non_exhaustive v0.1.0 (/home/tonowak/zpp/cargo-semver-checks/test_crates/non_exhaustive/old)
Finished dev [unoptimized + debuginfo] target(s) in 0.19s
~/zpp/cargo-semver-checks
Generating: parameter_count_changed/new
~/zpp/cargo-semver-checks/test_crates/parameter_count_changed/new ~/zpp/cargo-semver-checks
Documenting parameter_count_changed v0.1.0 (/home/tonowak/zpp/cargo-semver-checks/test_crates/parameter_count_changed/new)
Finished dev [unoptimized + debuginfo] target(s) in 0.19s
~/zpp/cargo-semver-checks
Generating: parameter_count_changed/old
~/zpp/cargo-semver-checks/test_crates/parameter_count_changed/old ~/zpp/cargo-semver-checks
Documenting parameter_count_changed v0.1.0 (/home/tonowak/zpp/cargo-semver-checks/test_crates/parameter_count_changed/old)
Finished dev [unoptimized + debuginfo] target(s) in 0.19s
~/zpp/cargo-semver-checks
Generating: pub_use_handling/new
~/zpp/cargo-semver-checks/test_crates/pub_use_handling/new ~/zpp/cargo-semver-checks
Documenting pub_use_handling v0.1.0 (/home/tonowak/zpp/cargo-semver-checks/test_crates/pub_use_handling/new)
Finished dev [unoptimized + debuginfo] target(s) in 0.19s
~/zpp/cargo-semver-checks
Generating: pub_use_handling/old
~/zpp/cargo-semver-checks/test_crates/pub_use_handling/old ~/zpp/cargo-semver-checks
Documenting pub_use_handling v0.1.0 (/home/tonowak/zpp/cargo-semver-checks/test_crates/pub_use_handling/old)
Finished dev [unoptimized + debuginfo] target(s) in 0.19s
~/zpp/cargo-semver-checks
Generating: sized_impl_removed/new
~/zpp/cargo-semver-checks/test_crates/sized_impl_removed/new ~/zpp/cargo-semver-checks
Documenting sized_impl_removed v0.1.0 (/home/tonowak/zpp/cargo-semver-checks/test_crates/sized_impl_removed/new)
Finished dev [unoptimized + debuginfo] target(s) in 0.19s
~/zpp/cargo-semver-checks
Generating: sized_impl_removed/old
~/zpp/cargo-semver-checks/test_crates/sized_impl_removed/old ~/zpp/cargo-semver-checks
Documenting sized_impl_removed v0.1.0 (/home/tonowak/zpp/cargo-semver-checks/test_crates/sized_impl_removed/old)
Finished dev [unoptimized + debuginfo] target(s) in 0.19s
~/zpp/cargo-semver-checks
Generating: struct_missing/new
~/zpp/cargo-semver-checks/test_crates/struct_missing/new ~/zpp/cargo-semver-checks
Documenting struct_missing v0.1.0 (/home/tonowak/zpp/cargo-semver-checks/test_crates/struct_missing/new)
Finished dev [unoptimized + debuginfo] target(s) in 0.19s
~/zpp/cargo-semver-checks
Generating: struct_missing/old
~/zpp/cargo-semver-checks/test_crates/struct_missing/old ~/zpp/cargo-semver-checks
Documenting struct_missing v0.1.0 (/home/tonowak/zpp/cargo-semver-checks/test_crates/struct_missing/old)
Finished dev [unoptimized + debuginfo] target(s) in 0.20s
~/zpp/cargo-semver-checks
Generating: struct_pub_field_missing/new
~/zpp/cargo-semver-checks/test_crates/struct_pub_field_missing/new ~/zpp/cargo-semver-checks
Documenting struct_pub_field_missing v0.1.0 (/home/tonowak/zpp/cargo-semver-checks/test_crates/struct_pub_field_missing/new)
Finished dev [unoptimized + debuginfo] target(s) in 0.19s
~/zpp/cargo-semver-checks
Generating: struct_pub_field_missing/old
~/zpp/cargo-semver-checks/test_crates/struct_pub_field_missing/old ~/zpp/cargo-semver-checks
Documenting struct_pub_field_missing v0.1.0 (/home/tonowak/zpp/cargo-semver-checks/test_crates/struct_pub_field_missing/old)
Finished dev [unoptimized + debuginfo] target(s) in 0.19s
~/zpp/cargo-semver-checks
Generating: struct_repr_c_removed/new
~/zpp/cargo-semver-checks/test_crates/struct_repr_c_removed/new ~/zpp/cargo-semver-checks
Documenting struct_repr_c_removed v0.1.0 (/home/tonowak/zpp/cargo-semver-checks/test_crates/struct_repr_c_removed/new)
Finished dev [unoptimized + debuginfo] target(s) in 0.19s
~/zpp/cargo-semver-checks
Generating: struct_repr_c_removed/old
~/zpp/cargo-semver-checks/test_crates/struct_repr_c_removed/old ~/zpp/cargo-semver-checks
Documenting struct_repr_c_removed v0.1.0 (/home/tonowak/zpp/cargo-semver-checks/test_crates/struct_repr_c_removed/old)
Finished dev [unoptimized + debuginfo] target(s) in 0.19s
~/zpp/cargo-semver-checks
Generating: struct_repr_transparent_removed/new
~/zpp/cargo-semver-checks/test_crates/struct_repr_transparent_removed/new ~/zpp/cargo-semver-checks
Documenting struct_repr_transparent_removed v0.1.0 (/home/tonowak/zpp/cargo-semver-checks/test_crates/struct_repr_transparent_removed/new)
Finished dev [unoptimized + debuginfo] target(s) in 0.19s
~/zpp/cargo-semver-checks
Generating: struct_repr_transparent_removed/old
~/zpp/cargo-semver-checks/test_crates/struct_repr_transparent_removed/old ~/zpp/cargo-semver-checks
Documenting struct_repr_transparent_removed v0.1.0 (/home/tonowak/zpp/cargo-semver-checks/test_crates/struct_repr_transparent_removed/old)
Finished dev [unoptimized + debuginfo] target(s) in 0.19s
~/zpp/cargo-semver-checks
Generating: template/new
~/zpp/cargo-semver-checks/test_crates/template/new ~/zpp/cargo-semver-checks
Documenting template v0.1.0 (/home/tonowak/zpp/cargo-semver-checks/test_crates/template/new)
Finished dev [unoptimized + debuginfo] target(s) in 0.19s
~/zpp/cargo-semver-checks
Generating: template/old
~/zpp/cargo-semver-checks/test_crates/template/old ~/zpp/cargo-semver-checks
Documenting template v0.1.0 (/home/tonowak/zpp/cargo-semver-checks/test_crates/template/old)
Finished dev [unoptimized + debuginfo] target(s) in 0.19s
~/zpp/cargo-semver-checks
Generating: trait_missing/new
~/zpp/cargo-semver-checks/test_crates/trait_missing/new ~/zpp/cargo-semver-checks
Documenting trait_missing v0.1.0 (/home/tonowak/zpp/cargo-semver-checks/test_crates/trait_missing/new)
Finished dev [unoptimized + debuginfo] target(s) in 0.19s
~/zpp/cargo-semver-checks
Generating: trait_missing/old
~/zpp/cargo-semver-checks/test_crates/trait_missing/old ~/zpp/cargo-semver-checks
Documenting trait_missing v0.1.0 (/home/tonowak/zpp/cargo-semver-checks/test_crates/trait_missing/old)
Finished dev [unoptimized + debuginfo] target(s) in 0.19s
~/zpp/cargo-semver-checks
Generating: unit_struct_changed_kind/new
~/zpp/cargo-semver-checks/test_crates/unit_struct_changed_kind/new ~/zpp/cargo-semver-checks
Documenting unit_struct_changed_kind v0.1.0 (/home/tonowak/zpp/cargo-semver-checks/test_crates/unit_struct_changed_kind/new)
Finished dev [unoptimized + debuginfo] target(s) in 0.19s
~/zpp/cargo-semver-checks
Generating: unit_struct_changed_kind/old
~/zpp/cargo-semver-checks/test_crates/unit_struct_changed_kind/old ~/zpp/cargo-semver-checks
Documenting unit_struct_changed_kind v0.1.0 (/home/tonowak/zpp/cargo-semver-checks/test_crates/unit_struct_changed_kind/old)
Finished dev [unoptimized + debuginfo] target(s) in 0.19s
~/zpp/cargo-semver-checks
cargo test
Compiling proc-macro2 v1.0.48
Compiling unicode-ident v1.0.6
Compiling quote v1.0.22
Compiling syn v1.0.106
Compiling autocfg v1.1.0
Compiling serde_derive v1.0.151
Compiling serde v1.0.151
Compiling libc v0.2.138
Compiling cfg-if v1.0.0
Compiling memchr v2.5.0
Compiling thiserror v1.0.38
Compiling once_cell v1.16.0
Compiling log v0.4.17
Compiling bitflags v1.3.2
Compiling serde_json v1.0.90
Compiling version_check v0.9.4
Compiling ryu v1.0.12
Compiling itoa v1.0.5
Compiling jobserver v0.1.25
Compiling aho-corasick v0.7.20
Compiling ucd-trie v0.1.5
Compiling regex-syntax v0.6.28
Compiling cc v1.0.78
Compiling pkg-config v0.3.26
Compiling bstr v0.2.17
Compiling indexmap v1.9.2
Compiling num-traits v0.2.15
Compiling camino v1.1.1
Compiling fnv v1.0.7
Compiling num-integer v0.1.45
Compiling hashbrown v0.12.3
Compiling either v1.8.0
Compiling same-file v1.0.6
Compiling crossbeam-utils v0.8.14
Compiling walkdir v2.3.2
Compiling regex v1.7.0
Compiling base64 v0.13.1
Compiling openssl-src v111.24.0+1.1.1s
Compiling time v0.1.45
Compiling proc-macro-error-attr v1.0.4
Compiling memoffset v0.7.1
Compiling io-lifetimes v1.0.3
Compiling iana-time-zone v0.1.53
Compiling lazy_static v1.4.0
Compiling openssl-sys v0.9.79
Compiling libz-sys v1.1.8
Compiling itertools v0.10.5
Compiling globset v0.4.9
Compiling proc-macro-error v1.0.4
Compiling crossbeam-epoch v0.9.13
Compiling tinyvec_macros v0.1.0
Compiling maplit v1.0.2
Compiling rustix v0.36.5
Compiling tinyvec v1.6.0
Compiling linux-raw-sys v0.1.4
Compiling semver v1.0.15
Compiling proc-macro-hack v0.5.19
Compiling termcolor v1.1.3
Compiling scopeguard v1.1.0
Compiling unicode-normalization v0.1.22
Compiling libgit2-sys v0.14.0+1.5.0
Compiling sys-info v0.9.1
Compiling rayon-core v1.10.1
Compiling thiserror-impl v1.0.38
Compiling unicode-bidi v0.3.8
Compiling heck v0.4.0
Compiling percent-encoding v2.2.0
Compiling trustfall_filetests_macros v0.2.0
Compiling os_str_bytes v6.4.1
Compiling clap_derive v4.0.21
Compiling idna v0.3.0
Compiling clap_lex v0.3.0
Compiling form_urlencoded v1.1.0
Compiling is-terminal v0.4.1
Compiling crossbeam-deque v0.8.2
Compiling crossbeam-channel v0.5.6
Compiling backtrace v0.3.67
Compiling num_cpus v1.14.0
Compiling smartstring v1.0.1
Compiling gimli v0.27.0
Compiling anyhow v1.0.67
Compiling adler v1.0.2
Compiling doc-comment v0.3.3
Compiling strsim v0.10.0
Compiling pest v2.5.1
Compiling miniz_oxide v0.6.2
Compiling git-version-macro v0.3.5
Compiling url v2.3.1
Compiling pest_meta v2.5.1
Compiling clap v4.0.29
Compiling addr2line v0.19.0
Compiling pest_generator v2.5.1
Compiling getrandom v0.2.8
Compiling object v0.30.0
Compiling rustc-demangle v0.1.21
Compiling openssl-probe v0.1.5
Compiling bugreport v0.5.0
Compiling static_assertions v1.1.0
Compiling uuid v0.8.2
Compiling git-version v0.3.5
Compiling rayon v1.6.1
Compiling os_type v2.6.0
Compiling pest_derive v2.5.1
Compiling thread_local v1.1.4
Compiling termcolor_output_impl v1.0.0
Compiling rustc-hash v1.1.0
Compiling home v0.5.4
Compiling shell-escape v0.1.5
Compiling termcolor_output v1.0.1
Compiling ignore v0.4.18
Compiling clap-verbosity-flag v2.0.0
Compiling atty v0.2.14
Compiling bytes v1.3.0
Compiling chrono v0.4.23
Compiling ron v0.6.6
Compiling smallvec v1.10.0
Compiling toml v0.5.10
Compiling async-graphql-value v2.11.3
Compiling rustdoc-types v0.17.0
Compiling async-graphql-parser v2.11.3
Compiling cargo-platform v0.1.2
Compiling rustdoc-types v0.19.0
Compiling rustdoc-types v0.12.0
Compiling rustdoc-types v0.18.0
Compiling cargo_metadata v0.15.2
Compiling trustfall_core v0.1.1
Compiling hex v0.4.3
Compiling clap-cargo v0.10.0
Compiling human-panic v1.0.3
Compiling cargo_toml v0.13.0
Compiling handlebars v4.3.5
Compiling ron v0.7.1
Compiling trustfall-rustdoc-adapter v22.3.0
Compiling trustfall-rustdoc-adapter v16.3.0
Compiling trustfall-rustdoc-adapter v21.3.0
Compiling trustfall-rustdoc-adapter v23.0.0
Compiling trustfall_rustdoc v0.6.0
Compiling git2 v0.15.0
Compiling crates-index v0.18.11
Compiling cargo-semver-checks v0.14.0 (/home/tonowak/zpp/cargo-semver-checks)
Finished test [unoptimized + debuginfo] target(s) in 1m 02s
Running unittests src/main.rs (target/debug/deps/cargo_semver_checks-2edac408f968bea3)
running 50 tests
test check_release::test::classify_major_changed ... ok
test check_release::test::classify_double_zerover_major_changed ... ok
test check_release::test::classify_ignores_build ... ok
test check_release::test::classify_minor_changed ... ok
test check_release::test::classify_minor_changed_with_pre ... ok
test check_release::test::classify_no_version ... ok
test check_release::test::classify_patch_changed ... ok
test check_release::test::classify_pre ... ok
test check_release::test::classify_pre_same ... ok
test check_release::test::classify_same_version ... ok
test check_release::test::classify_same_version_with_pre ... ok
test check_release::test::classify_zerover_major_changed ... ok
test check_release::test::classify_zerover_minor_changed ... ok
test query::tests::pub_use_handling ... ok
test query::tests::all_queries_parse_correctly ... ok
Blocking waiting for file lock on package cache
Blocking waiting for file lock on package cache
Documenting renamed_bin v0.1.0 (/home/tonowak/zpp/cargo-semver-checks/test_rustdoc/renamed_bin)
Documenting implicit_lib v0.1.0 (/home/tonowak/zpp/cargo-semver-checks/test_rustdoc/implicit_lib)
Documenting implicit_bin v0.1.0 (/home/tonowak/zpp/cargo-semver-checks/test_rustdoc/implicit_bin)
Documenting renamed_lib v0.1.0 (/home/tonowak/zpp/cargo-semver-checks/test_rustdoc/renamed_lib)
Finished dev [unoptimized + debuginfo] target(s) in 0.70s
test dump::tests::rustdoc_for_bin_crate_with_bin_section ... ok
Finished dev [unoptimized + debuginfo] target(s) in 0.75s
test dump::tests::rustdoc_for_bin_crate_without_bin_section ... ok
Finished dev [unoptimized + debuginfo] target(s) in 0.78s
test dump::tests::rustdoc_for_lib_crate_with_lib_section ... ok
Finished dev [unoptimized + debuginfo] target(s) in 0.86s
test dump::tests::rustdoc_for_lib_crate_without_lib_section ... ok
test query::tests_lints::auto_trait_impl_removed ... FAILED
test query::tests_lints::derive_trait_impl_removed ... FAILED
test query::tests_lints::constructible_struct_adds_private_field ... ok
test query::tests_lints::constructible_struct_adds_field ... ok
test query::tests_lints::enum_marked_non_exhaustive ... ok
test query::tests_lints::enum_repr_c_removed ... ok
test query::tests_lints::enum_missing ... ok
test query::tests_lints::enum_repr_int_changed ... ok
test query::tests_lints::enum_repr_int_removed ... ok
test query::tests_lints::enum_struct_variant_field_added ... ok
test query::tests_lints::enum_struct_variant_field_missing ... ok
test query::tests_lints::function_const_removed ... ok
test query::tests_lints::enum_variant_missing ... ok
test query::tests_lints::function_missing ... ok
test query::tests_lints::enum_variant_added ... ok
test query::tests_lints::function_parameter_count_changed ... ok
test query::tests_lints::function_unsafe_added ... ok
test query::tests_lints::inherent_method_missing ... ok
test query::tests_lints::inherent_method_const_removed ... ok
test query::tests_lints::inherent_method_unsafe_added ... ok
test query::tests_lints::struct_missing ... ok
test query::tests_lints::method_parameter_count_changed ... ok
test query::tests_lints::struct_marked_non_exhaustive ... ok
test verify_cli ... ok
test query::tests_lints::sized_impl_removed ... FAILED
test query::tests_lints::struct_repr_c_removed ... ok
test query::tests_lints::struct_repr_transparent_removed ... ok
test query::tests_lints::struct_pub_field_missing ... ok
test query::tests_lints::unit_struct_changed_kind ... ok
test query::tests_lints::trait_missing ... ok
test query::tests_lints::variant_marked_non_exhaustive ... ok
failures:
---- query::tests_lints::auto_trait_impl_removed stdout ----
thread 'query::tests_lints::auto_trait_impl_removed' panicked at '
Query auto_trait_impl_removed produced incorrect output (./src/lints/auto_trait_impl_removed.ron).
Expected output (./test_outputs/auto_trait_impl_removed.output.ron):
{
"./test_crates/auto_trait_impl_removed/": [
{
"auto_trait": String("Sync"),
"auto_trait_path": List([
String("core"),
String("marker"),
String("Sync"),
]),
"name": String("SyncStruct"),
"path": List([
String("auto_trait_impl_removed"),
String("SyncStruct"),
]),
"span_begin_line": Uint64(8),
"span_filename": String("src/lib.rs"),
"visibility_limit": String("public"),
},
{
"auto_trait": String("Send"),
"auto_trait_path": List([
String("core"),
String("marker"),
String("Send"),
]),
"name": String("SendStruct"),
"path": List([
String("auto_trait_impl_removed"),
String("SendStruct"),
]),
"span_begin_line": Uint64(15),
"span_filename": String("src/lib.rs"),
"visibility_limit": String("public"),
},
{
"auto_trait": String("UnwindSafe"),
"auto_trait_path": List([
String("core"),
String("panic"),
String("unwind_safe"),
String("UnwindSafe"),
]),
"name": String("UnwindSafeStruct"),
"path": List([
String("auto_trait_impl_removed"),
String("UnwindSafeStruct"),
]),
"span_begin_line": Uint64(21),
"span_filename": String("src/lib.rs"),
"visibility_limit": String("public"),
},
{
"auto_trait": String("RefUnwindSafe"),
"auto_trait_path": List([
String("core"),
String("panic"),
String("unwind_safe"),
String("RefUnwindSafe"),
]),
"name": String("RefUnwindSafeStruct"),
"path": List([
String("auto_trait_impl_removed"),
String("RefUnwindSafeStruct"),
]),
"span_begin_line": Uint64(26),
"span_filename": String("src/lib.rs"),
"visibility_limit": String("public"),
},
{
"auto_trait": String("Unpin"),
"auto_trait_path": List([
String("core"),
String("marker"),
String("Unpin"),
]),
"name": String("UnpinStruct"),
"path": List([
String("auto_trait_impl_removed"),
String("UnpinStruct"),
]),
"span_begin_line": Uint64(39),
"span_filename": String("src/lib.rs"),
"visibility_limit": String("public"),
},
],
}
Actual output:
{}
Note that the individual outputs might have been deliberately reordered.
Also, remember about running ./scripts/regenerate_test_rustdocs.sh when needed.
', src/query.rs:346:13
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
---- query::tests_lints::derive_trait_impl_removed stdout ----
thread 'query::tests_lints::derive_trait_impl_removed' panicked at '
Query derive_trait_impl_removed produced incorrect output (./src/lints/derive_trait_impl_removed.ron).
Expected output (./test_outputs/derive_trait_impl_removed.output.ron):
{
"./test_crates/derive_trait_impl_removed/": [
{
"name": String("DebugFoo"),
"path": List([
String("derive_trait_impl_removed"),
String("DebugFoo"),
]),
"span_begin_line": Uint64(2),
"span_filename": String("src/lib.rs"),
"trait_name": String("Debug"),
"trait_path": List([
String("core"),
String("fmt"),
String("Debug"),
]),
"visibility_limit": String("public"),
},
{
"name": String("CopyBar"),
"path": List([
String("derive_trait_impl_removed"),
String("CopyBar"),
]),
"span_begin_line": Uint64(5),
"span_filename": String("src/lib.rs"),
"trait_name": String("Copy"),
"trait_path": List([
String("core"),
String("marker"),
String("Copy"),
]),
"visibility_limit": String("public"),
},
{
"name": String("EqFoo"),
"path": List([
String("derive_trait_impl_removed"),
String("EqFoo"),
]),
"span_begin_line": Uint64(10),
"span_filename": String("src/lib.rs"),
"trait_name": String("Eq"),
"trait_path": List([
String("core"),
String("cmp"),
String("Eq"),
]),
"visibility_limit": String("public"),
},
],
}
Actual output:
{}
Note that the individual outputs might have been deliberately reordered.
Also, remember about running ./scripts/regenerate_test_rustdocs.sh when needed.
', src/query.rs:346:13
---- query::tests_lints::sized_impl_removed stdout ----
thread 'query::tests_lints::sized_impl_removed' panicked at '
Query sized_impl_removed produced incorrect output (./src/lints/sized_impl_removed.ron).
Expected output (./test_outputs/sized_impl_removed.output.ron):
{
"./test_crates/sized_impl_removed/": [
{
"name": String("SizedStruct"),
"path": List([
String("sized_impl_removed"),
String("SizedStruct"),
]),
"span_begin_line": Uint64(1),
"span_filename": String("src/lib.rs"),
"visibility_limit": String("public"),
},
],
}
Actual output:
{}
Note that the individual outputs might have been deliberately reordered.
Also, remember about running ./scripts/regenerate_test_rustdocs.sh when needed.
', src/query.rs:346:13
failures:
query::tests_lints::auto_trait_impl_removed
query::tests_lints::derive_trait_impl_removed
query::tests_lints::sized_impl_removed
test result: FAILED. 47 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 24.50s
error: test failed, to rerun pass `--bin cargo-semver-checks`
Actual Behaviour
Three tests fail.
Expected Behaviour
Tests should work, there is no reason why they shouldn't work -- a freshly cloned repo with a beta rust version.
Generated System Information
cargo run -- semver-checks --bugreport
Software version
cargo-semver-checks 0.14.0 (1567ecc)
Operating system
Linux 6.0.12-arch1-1
Command-line
target/debug/cargo-semver-checks semver-checks --bugreport
cargo version
> cargo -V
cargo 1.67.0-beta.2 (f6e737b1e 2022-12-02)
Compile time information
- Profile: debug
- Target triple: x86_64-unknown-linux-gnu
- Family: unix
- OS: linux
- Architecture: x86_64
- Pointer width: 64
- Endian: little
- CPU features: fxsr,sse,sse2
- Host: x86_64-unknown-linux-gnu
### Additional Context
_No response_
C-bug