Source: ruby-rubocop-performance
Version: 1.7.1-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: debian-r...@lists.debian.org
Usertags: ruby-rspec-3.12

Hi,

I'm about to upload ruby-rspec 3.12. During a test rebuild with that version,
ruby-rubocop-performance failed to build. I retried with the version in
the archive, and obtained the same failure so this is not related to
ruby-rspec.

Relevant part of the build log (hopefully):
>      Failure/Error: subject(:config) { 
> RuboCop::ConfigLoader.load_file('config/default.yml') }
> 
>      RuboCop::ValidationError:
>        `Performance` cops have been extracted to the `rubocop-performance` 
> gem.
>        (obsolete configuration found in config/default.yml, please update it)
>      # 
> /usr/share/rubygems-integration/all/gems/rubocop-1.39.0/lib/rubocop/config_obsoletion.rb:43:in
>  `reject_obsolete!'
>      # 
> /usr/share/rubygems-integration/all/gems/rubocop-1.39.0/lib/rubocop/config_validator.rb:78:in
>  `check_obsoletions'
>      # 
> /usr/share/rubygems-integration/all/gems/rubocop-1.39.0/lib/rubocop/config_validator.rb:44:in
>  `validate'
>      # 
> /usr/share/rubygems-integration/all/gems/rubocop-1.39.0/lib/rubocop/config.rb:49:in
>  `check'
>      # 
> /usr/share/rubygems-integration/all/gems/rubocop-1.39.0/lib/rubocop/config.rb:38:in
>  `create'
>      # 
> /usr/share/rubygems-integration/all/gems/rubocop-1.39.0/lib/rubocop/config_loader.rb:57:in
>  `load_file'
>      # ./spec/project_spec.rb:5:in `block (3 levels) in <top (required)>'
>      # ./spec/project_spec.rb:34:in `block (4 levels) in <top (required)>'
>      # ./spec/project_spec.rb:33:in `each'
>      # ./spec/project_spec.rb:33:in `block (3 levels) in <top (required)>'
> 
> Finished in 24.75 seconds (files took 2.65 seconds to load)
> 7975 examples, 5 failures
> 
> Failed examples:
> 
> rspec ./spec/project_spec.rb:40 # RuboCop Performance Project default 
> configuration file sorts configuration keys alphabetically
> rspec ./spec/project_spec.rb:22 # RuboCop Performance Project default 
> configuration file requires a nicely formatted `VersionAdded` metadata for 
> all cops
> rspec ./spec/project_spec.rb:14 # RuboCop Performance Project default 
> configuration file has a nicely formatted description for all cops
> rspec ./spec/project_spec.rb:47 # RuboCop Performance Project default 
> configuration file has a SupportedStyles for all EnforcedStyle and 
> EnforcedStyle is valid
> rspec ./spec/project_spec.rb:32 # RuboCop Performance Project default 
> configuration file has a period at EOL of description
> 
> Randomized with seed 20775
> 
> /usr/bin/ruby3.1 
> -I/usr/share/rubygems-integration/all/gems/rspec-support-3.12.0/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib
>  /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/exe/rspec 
> --pattern ./spec/\*\*/\*_spec.rb --format documentation failed
> ERROR: Test "ruby3.1" failed: 


The full build log is attached.

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

Attachment: ruby-rubocop-performance.log.gz
Description: application/gzip

Attachment: signature.asc
Description: PGP signature

Reply via email to