rultor.com logo This build log was produced by rultor.com for yegor256/rubocop-elegant#2
++ dirname ./run.sh
+ cd .
+ echo 1251
+ echo '2.0-SNAPSHOT BUILD'
2.0-SNAPSHOT BUILD
+ date
Mon Apr  6 06:08:52 UTC 2026
+ uptime
 06:08:52 up 0 min,  0 users,  load average: 1.10, 0.31, 0.11
+ head=git@github.com:yegor256/rubocop-elegant.git
+ ff=default
+ image=yegor256/ruby
+ rebase=false
+ squash=false
+ head_branch=master
+ author=yegor256
+ tag=0.0.2
+ vars=('--env=head=git@github.com:yegor256/rubocop-elegant.git' '--env=tag=0.0.2' '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:yegor256/rubocop-elegant.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=0.0.2'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=yegor256'\''\'\'''\'''\'' '\'';'\'' '\''pdd -f /dev/null'\'' '\'';'\'' '\''bundle install --no-color'\'' '\'';'\'' '\''[[ "${tag}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] || exit -1'\'' '\'';'\'' '\''bundle exec rake'\'' '\'';'\'' '\''rm -rf *.gem'\'' '\'';'\'' '\''sed -i "s/0\.0\.0/${tag}/g" rubocop-elegant.gemspec'\'' '\'';'\'' '\''git add rubocop-elegant.gemspec'\'' '\'';'\'' '\''git commit -m "Version set to ${tag}"'\'' '\'';'\'' '\''gem build rubocop-elegant.gemspec'\'' '\'';'\'' '\''chmod 0600 ../rubygems.yml'\'' '\'';'\'' '\''gem push *.gem --config-file ../rubygems.yml'\'' '\'';'\'' )' '--env=head_branch=master' '--env=author=yegor256')
+ scripts=('export '\''head=git@github.com:yegor256/rubocop-elegant.git'\''' ';' 'export '\''tag=0.0.2'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''author=yegor256'\''' ';' 'pdd -f /dev/null' ';' 'bundle install --no-color' ';' '[[ "${tag}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] || exit -1' ';' 'bundle exec rake' ';' 'rm -rf *.gem' ';' 'sed -i "s/0\.0\.0/${tag}/g" rubocop-elegant.gemspec' ';' 'git add rubocop-elegant.gemspec' ';' 'git commit -m "Version set to ${tag}"' ';' 'gem build rubocop-elegant.gemspec' ';' 'chmod 0600 ../rubygems.yml' ';' 'gem push *.gem --config-file ../rubygems.yml' ';')
+ directory=
+ container=yegor256_rubocop-elegant_2
+ as_root=false
+ set -e -o pipefail
+ hostname
ip-172-31-24-4
+ pwd
/tmp/rultor-Mnrv
+ git --version
git version 2.34.1
+ docker --version
Docker version 25.0.3, build 4debf41
+ mkdir -p /home/ubuntu/.ssh
+ echo -e 'Host github.com\n\tStrictHostKeyChecking no\n'
+ chmod 600 /home/ubuntu/.ssh/config
+ git clone --recurse-submodules git@github.com:yegor256/rubocop-elegant.git repo
Cloning into 'repo'...
Warning: Permanently added 'github.com' (ED25519) to the list of known hosts.
+ cd repo
+ git config user.email gpg@rultor.com
+ git config user.name Rultor.com
+ '[' -z 'export '\''head=git@github.com:yegor256/rubocop-elegant.git'\''' ']'
+ cd ..
+ cat
+ '[' false = true ']'
+ cat
+ chmod a+x entry.sh
+ cat
+ echo 'export '\''head=git@github.com:yegor256/rubocop-elegant.git'\''' ';' 'export '\''tag=0.0.2'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''author=yegor256'\''' ';' 'pdd -f /dev/null' ';' 'bundle install --no-color' ';' '[[ "${tag}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] || exit -1' ';' 'bundle exec rake' ';' 'rm -rf *.gem' ';' 'sed -i "s/0\.0\.0/${tag}/g" rubocop-elegant.gemspec' ';' 'git add rubocop-elegant.gemspec' ';' 'git commit -m "Version set to ${tag}"' ';' 'gem build rubocop-elegant.gemspec' ';' 'chmod 0600 ../rubygems.yml' ';' 'gem push *.gem --config-file ../rubygems.yml' ';'
+ sensitive=()
+ set -ex -o pipefail
+ '[' -z 0.0.2 ']'
+ [[ 0.0.2 =~ ^[a-zA-Z0-9\.\-]+$ ]]
+ echo 'tag name is valid: "0.0.2"'
tag name is valid: "0.0.2"
+ cd repo
++ git tag -l 0.0.2
+ '[' -n '' ']'
+ BRANCH_NAME=__rultor
++ wc -l
++ git show-branch __rultor
+ '[' 0 -gt 0 ']'
+ export BRANCH_NAME
+ git checkout -b __rultor
Switched to a new branch '__rultor'
+ docker_when_possible
+ true
++ tail -n 1
++ sed 's/ /\n/g'
++ uptime
+ load=0.12
++ bc
++ echo 0.12 '>' 30
+ '[' 0 -eq 1 ']'
+ echo 'load average is 0.12, low enough to run a new Docker container'
load average is 0.12, low enough to run a new Docker container
+ break
+ cd ..
+ '[' -n '' ']'
+ use_image=yegor256/ruby
+ docker pull yegor256/ruby
Using default tag: latest
latest: Pulling from yegor256/ruby
632ef5283d0f: Pulling fs layer
2be42d221bda: Pulling fs layer
54d1704eb717: Pulling fs layer
f0f51ee5c79e: Pulling fs layer
ec11ce133a4e: Pulling fs layer
71ab1586461a: Pulling fs layer
8e0e2fc3c108: Pulling fs layer
4f4fb700ef54: Pulling fs layer
72e45e6fed5c: Pulling fs layer
99e89f339e27: Pulling fs layer
3ae0cb47dc06: Pulling fs layer
529dcf5ecc54: Pulling fs layer
6d5a140d320e: Pulling fs layer
d9a7c5bf399b: Pulling fs layer
f0f51ee5c79e: Waiting
ec11ce133a4e: Waiting
71ab1586461a: Waiting
8e0e2fc3c108: Waiting
4f4fb700ef54: Waiting
72e45e6fed5c: Waiting
99e89f339e27: Waiting
3ae0cb47dc06: Waiting
529dcf5ecc54: Waiting
6d5a140d320e: Waiting
d9a7c5bf399b: Waiting
2be42d221bda: Verifying Checksum
2be42d221bda: Download complete
54d1704eb717: Verifying Checksum
54d1704eb717: Download complete
632ef5283d0f: Verifying Checksum
632ef5283d0f: Download complete
ec11ce133a4e: Verifying Checksum
ec11ce133a4e: Download complete
8e0e2fc3c108: Verifying Checksum
8e0e2fc3c108: Download complete
4f4fb700ef54: Verifying Checksum
4f4fb700ef54: Download complete
72e45e6fed5c: Verifying Checksum
72e45e6fed5c: Download complete
71ab1586461a: Verifying Checksum
71ab1586461a: Download complete
99e89f339e27: Verifying Checksum
99e89f339e27: Download complete
529dcf5ecc54: Verifying Checksum
529dcf5ecc54: Download complete
6d5a140d320e: Verifying Checksum
6d5a140d320e: Download complete
d9a7c5bf399b: Verifying Checksum
d9a7c5bf399b: Download complete
f0f51ee5c79e: Verifying Checksum
f0f51ee5c79e: Download complete
3ae0cb47dc06: Verifying Checksum
3ae0cb47dc06: Download complete
632ef5283d0f: Pull complete
2be42d221bda: Pull complete
54d1704eb717: Pull complete
f0f51ee5c79e: Pull complete
ec11ce133a4e: Pull complete
71ab1586461a: Pull complete
8e0e2fc3c108: Pull complete
4f4fb700ef54: Pull complete
72e45e6fed5c: Pull complete
99e89f339e27: Pull complete
3ae0cb47dc06: Pull complete
529dcf5ecc54: Pull complete
6d5a140d320e: Pull complete
d9a7c5bf399b: Pull complete
Digest: sha256:56b67a4ee30d4783351cc7a0dcef5e2d6e5cef599dd7f91913ebe4db2a19deff
Status: Downloaded newer image for yegor256/ruby:latest
docker.io/yegor256/ruby:latest
+ docker ps --filter=status=exited
+ grep --quiet '\syegor256_rubocop-elegant_2\s*$'
+ ls -al .
total 48
drwx------  3 ubuntu ubuntu 4096 Apr  6 06:08 .
drwxrwxrwt 12 root   root   4096 Apr  6 06:08 ..
-rwxrwxr-x  1 ubuntu ubuntu  666 Apr  6 06:08 end.sh
-rwxrwxr-x  1 ubuntu ubuntu  498 Apr  6 06:08 entry.sh
-rw-rw-r--  1 ubuntu ubuntu    5 Apr  6 06:08 pid
drwxrwxr-x  8 ubuntu ubuntu 4096 Apr  6 06:08 repo
-rw-rw-r--  1 ubuntu ubuntu   81 Apr  6 06:08 rubygems.yml
-rwxrwxr-x  1 ubuntu ubuntu 6650 Apr  6 06:08 run.sh
-rw-rw-r--  1 ubuntu ubuntu  702 Apr  6 06:08 script.sh
-rw-rw-r--  1 ubuntu ubuntu 6365 Apr  6 06:09 stdout
++ pwd
++ pwd
+ docker run -t --rm -v /tmp/rultor-Mnrv:/main --env=head=git@github.com:yegor256/rubocop-elegant.git --env=tag=0.0.2 '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:yegor256/rubocop-elegant.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=0.0.2'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=yegor256'\''\'\'''\'''\'' '\'';'\'' '\''pdd -f /dev/null'\'' '\'';'\'' '\''bundle install --no-color'\'' '\'';'\'' '\''[[ "${tag}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] || exit -1'\'' '\'';'\'' '\''bundle exec rake'\'' '\'';'\'' '\''rm -rf *.gem'\'' '\'';'\'' '\''sed -i "s/0\.0\.0/${tag}/g" rubocop-elegant.gemspec'\'' '\'';'\'' '\''git add rubocop-elegant.gemspec'\'' '\'';'\'' '\''git commit -m "Version set to ${tag}"'\'' '\'';'\'' '\''gem build rubocop-elegant.gemspec'\'' '\'';'\'' '\''chmod 0600 ../rubygems.yml'\'' '\'';'\'' '\''gem push *.gem --config-file ../rubygems.yml'\'' '\'';'\'' )' --env=head_branch=master --env=author=yegor256 --hostname=docker --privileged --net=host --dns 8.8.8.8 --add-host docker:127.0.0.1 --memory=8g --memory-swap=16g --oom-kill-disable --cidfile=/tmp/rultor-Mnrv/cid -w=/main -v /var/run/docker.sock:/var/run/docker.sock --name=yegor256_rubocop-elegant_2 yegor256/ruby /main/entry.sh
WARNING: Your kernel does not support OomKillDisable. OomKillDisable discarded.
+ set -e
+ set -o pipefail
+ shopt -s dotglob
+ useradd -m -G sudo r
++ awk -F : '$3 > 100 { print $1 }'
++ cat /etc/group
+ for g in $(cat /etc/group | awk  -F  ':' '$3 > 100 { print $1 }')
+ usermod -a -G nogroup r
+ for g in $(cat /etc/group | awk  -F  ':' '$3 > 100 { print $1 }')
+ usermod -a -G ssh r
+ for g in $(cat /etc/group | awk  -F  ':' '$3 > 100 { print $1 }')
+ usermod -a -G docker r
+ for g in $(cat /etc/group | awk  -F  ':' '$3 > 100 { print $1 }')
+ usermod -a -G r r
+ usermod -s /bin/bash r
+ echo '%sudo ALL=(ALL) NOPASSWD:ALL'
+ cp -R /root/.bashrc /root/.cache /root/.gemrc /root/.profile /home/r
+ cp -R ./cid ./end.sh ./entry.sh ./pid ./repo ./rubygems.yml ./run.sh ./script.sh ./stdout /home/r
+ rm -rf repo
+ chown -R r:r /home/r
+ chmod a+x /home/r/script.sh
+ cat /home/r/script.sh
#!/usr/bin/env bash
set -e
set -o pipefail
if [ -e /home/r/.profile ]; then source /home/r/.profile; fi
shopt -s expand_aliases
alias 'sudo=sudo -i'
export HOME=/home/r
cd "${HOME}/repo"
export 'head=git@github.com:yegor256/rubocop-elegant.git' ; export 'tag=0.0.2' ; export 'head_branch=master' ; export 'author=yegor256' ; pdd -f /dev/null ; bundle install --no-color ; [[ "${tag}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] || exit -1 ; bundle exec rake ; rm -rf *.gem ; sed -i "s/0\.0\.0/${tag}/g" rubocop-elegant.gemspec ; git add rubocop-elegant.gemspec ; git commit -m "Version set to ${tag}" ; gem build rubocop-elegant.gemspec ; chmod 0600 ../rubygems.yml ; gem push *.gem --config-file ../rubygems.yml ;
+ su --login r --command /home/r/script.sh
Found 5 lines in /home/r/repo/.pdd
My version is 0.23.1
Ruby version is 3.4.5 at x86_64-linux
Reading from root dir .
/usr/local/bundle/gems/pdd-0.23.1/lib/pdd/sources.rb:90: warning: undefining the allocator of T_DATA class FileMagic
Reading .0pdd.yml ...
Reading .gitattributes ...
Reading .github/workflows/actionlint.yml ...
Reading .github/workflows/codecov.yml ...
Reading .github/workflows/copyrights.yml ...
Reading .github/workflows/markdown-lint.yml ...
Reading .github/workflows/pdd.yml ...
Reading .github/workflows/rake.yml ...
Reading .github/workflows/reuse.yml ...
Reading .github/workflows/typos.yml ...
Reading .github/workflows/xcop.yml ...
Reading .github/workflows/yamllint.yml ...
Reading .gitignore ...
Reading .pdd ...
Reading .rubocop.yml ...
Reading .rultor.yml ...
Reading Gemfile ...
Reading LICENSE.txt ...
Reading LICENSES/MIT.txt ...
Reading README.md ...
Reading REUSE.toml ...
Reading Rakefile ...
Reading config/default.yml ...
Reading lib/rubocop/cop/elegant/no_comments.rb ...
Reading lib/rubocop/cop/elegant/no_empty_lines_in_methods.rb ...
Reading lib/rubocop/cop/elegant_cops.rb ...
Reading lib/rubocop/elegant/plugin.rb ...
Reading lib/rubocop/elegant/version.rb ...
Reading lib/rubocop-elegant.rb ...
Reading rubocop-elegant.gemspec ...
Reading test/elegant/test_no_comments.rb ...
Reading test/elegant/test_no_empty_lines_in_methods.rb ...
Reading test/test__helper.rb ...
Reading test/test_rubocop-elegant.rb ...
Fetching gem metadata from https://rubygems.org/.........
Resolving dependencies...
Fetching rake 13.3.1
Installing rake 13.3.1
Fetching ansi 1.6.0
Installing ansi 1.6.0
Fetching ast 2.4.3
Installing ast 2.4.3
Fetching builder 3.3.0
Installing builder 3.3.0
Fetching date 3.5.1
Installing date 3.5.1 with native extensions
Fetching docile 1.4.1
Installing docile 1.4.1
Fetching drb 2.2.3
Installing drb 2.2.3
Fetching erb 6.0.2
Installing erb 6.0.2 with native extensions
Fetching json 2.19.3
Installing json 2.19.3 with native extensions
Fetching language_server-protocol 3.17.0.5
Installing language_server-protocol 3.17.0.5
Fetching lint_roller 1.1.0
Installing lint_roller 1.1.0
Fetching prism 1.9.0
Installing prism 1.9.0 with native extensions
Fetching minitest 6.0.3
Installing minitest 6.0.3
Fetching ruby-progressbar 1.13.0
Installing ruby-progressbar 1.13.0
Fetching minitest-reporters 1.8.0
Installing minitest-reporters 1.8.0
Fetching parallel 1.28.0
Installing parallel 1.28.0
Fetching parser 3.3.11.1
Installing parser 3.3.11.1
Fetching stringio 3.2.0
Installing stringio 3.2.0 with native extensions
Fetching psych 5.3.1
Installing psych 5.3.1 with native extensions
Fetching tsort 0.2.0
Installing tsort 0.2.0
Fetching rdoc 7.1.0
Installing rdoc 7.1.0
Fetching regexp_parser 2.12.0
Installing regexp_parser 2.12.0
Fetching rexml 3.4.4
Installing rexml 3.4.4
Fetching rubocop-ast 1.49.1
Installing rubocop-ast 1.49.1
Fetching unicode-emoji 4.2.0
Installing unicode-emoji 4.2.0
Fetching unicode-display_width 3.2.0
Installing unicode-display_width 3.2.0
Fetching rubocop 1.86.0
Installing rubocop 1.86.0
Fetching rubocop-minitest 0.39.1
Installing rubocop-minitest 0.39.1
Fetching rubocop-performance 1.26.1
Installing rubocop-performance 1.26.1
Fetching rubocop-rake 0.7.1
Installing rubocop-rake 0.7.1
Fetching simplecov-html 0.13.2
Installing simplecov-html 0.13.2
Fetching simplecov_json_formatter 0.1.4
Installing simplecov_json_formatter 0.1.4
Fetching simplecov 0.22.0
Installing simplecov 0.22.0
Fetching simplecov-cobertura 3.1.0
Installing simplecov-cobertura 3.1.0
Fetching yard 0.9.38
Installing yard 0.9.38
Bundle complete! 12 Gemfile dependencies, 39 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
Started with run options --seed 24340

RubocopElegantTest
  test_plugin_rules_returns_path                                 32m PASS0m (0.00s)
  test_plugin_about_returns_info                                 32m PASS0m (0.00s)
  test_plugin_supports_rubocop                                   32m PASS0m (0.00s)
  test_plugin_does_not_support_other_engines                     32m PASS0m (0.00s)
  test_reports_version                                           32m PASS0m (0.00s)

NoCommentsTest
  test_autocorrects_preserves_spdx                               32m PASS0m (0.13s)
  test_autocorrects_standalone_comment                           32m PASS0m (0.00s)
  test_registers_offense_for_multiple_comments                   32m PASS0m (0.00s)
  test_autocorrects_multiple_comments                            32m PASS0m (0.00s)
  test_registers_offense_for_regular_comment                     32m PASS0m (0.00s)
  test_autocorrects_preserves_magic_comment                      32m PASS0m (0.00s)
  test_registers_offense_for_inline_comment                      32m PASS0m (0.00s)
  test_allows_code_without_comments                              32m PASS0m (0.00s)
  test_autocorrects_inline_comment                               32m PASS0m (0.00s)
  test_allows_spdx_file_copyright                                32m PASS0m (0.00s)
  test_allows_frozen_string_literal                              32m PASS0m (0.00s)
  test_allows_rubocop_disable                                    32m PASS0m (0.00s)
  test_allows_encoding_magic_comment                             32m PASS0m (0.00s)
  test_mixed_spdx_and_regular_comments                           32m PASS0m (0.00s)
  test_allows_rubocop_todo                                       32m PASS0m (0.00s)
  test_allows_rubocop_enable                                     32m PASS0m (0.00s)
  test_allows_spdx_license_identifier                            32m PASS0m (0.00s)

NoEmptyLinesInMethodsTest
  test_registers_offense_for_multiple_empty_lines                32m PASS0m (0.00s)
  test_allows_empty_method                                       32m PASS0m (0.00s)
  test_allows_single_line_method                                 32m PASS0m (0.00s)
  test_autocorrects_empty_line                                   32m PASS0m (0.00s)
  test_allows_method_without_empty_lines                         32m PASS0m (0.00s)
  test_registers_offense_for_empty_line_in_method                32m PASS0m (0.00s)
  test_autocorrects_multiple_empty_lines                         32m PASS0m (0.00s)
  test_registers_offense_in_class_method                         32m PASS0m (0.00s)

Finished in 0.17516s
30 tests, 30 assertions, 32m0 failures, 0 errors, 0m33m0 skips0m
Coverage report generated for test to /home/r/repo/coverage.
Line Coverage: 100.0% (91 / 91)
Coverage report generated for test to /home/r/repo/coverage/coverage.xml.
Line Coverage: 100.0% (91 / 91)
Running RuboCop...
Inspecting 13 files
32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m

13 files inspected, 32mno offenses0m detected
?25h2KFiles:1m⣯aGenerat4ngidoc/RuboCop/Cop/Elegant/NoEmptyLinesInMethods.html0m
Modules:         4 (    3 undocumented)
Classes:         3 (    3 undocumented)
Constants:       3 (    3 undocumented)
Attributes:      0 (    0 undocumented)
Methods:         6 (    5 undocumented)
 12.50% documented
[__rultor 6240986] Version set to 0.0.2
 1 file changed, 1 insertion(+), 1 deletion(-)
  Successfully built RubyGem
  Name: rubocop-elegant
  Version: 0.0.2
  File: rubocop-elegant-0.0.2.gem
Pushing gem to https://rubygems.org...
Successfully registered gem: rubocop-elegant (0.0.2)
+ mv /home/r/repo .
++ whoami
+ chown -R root repo
+ '[' -n '' ']'
++ whoami
+ sudo chown -R ubuntu repo
+ cd repo
+ git checkout __rultor
Already on '__rultor'
+ git tag 0.0.2 -m '0.0.2: tagged by rultor.com'
+ git reset --hard
HEAD is now at 6240986 Version set to 0.0.2
+ git clean -fd
+ git checkout master
Switched to branch 'master'
Your branch is up to date with 'origin/master'.
+ git branch -D __rultor
Deleted branch __rultor (was 6240986).
+ git push --all origin
Everything up-to-date
+ git push --tags origin
To github.com:yegor256/rubocop-elegant.git
 * [new tag]         0.0.2 -> 0.0.2
container 971924d3966073d64cf96370a4c52709b3bd05a6c7c9fe06a731a4f503e37f53 is dead
Mon Apr  6 06:11:04 UTC 2026