+ set -e + set -o pipefail ++ dirname ./run.sh + cd . + echo 2277 + echo '2.0-SNAPSHOT BUILD' 2.0-SNAPSHOT BUILD + date Mon Feb 17 19:04:41 UTC 2025 + uptime 19:04:41 up 17 min, 0 users, load average: 0.07, 0.07, 0.09 + ff=default + image=yegor256/rultor-ruby + rebase=false + head_branch=master + pull_title='Update dependency concurrent-ruby to v1.3.5' + author=yegor256 + directory= + head=git@github.com:yegor256/zache.git + pull_id=122 + fork=git@github.com:yegor256/zache.git + fork_branch=renovate/concurrent-ruby-1.x + squash=false + vars=('--env=head=git@github.com:yegor256/zache.git' '--env=pull_id=122' '--env=fork=git@github.com:yegor256/zache.git' '--env=fork_branch=renovate/concurrent-ruby-1.x' '--env=head_branch=master' '--env=pull_title=Update dependency concurrent-ruby to v1.3.5' '--env=author=yegor256' '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:yegor256/zache.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_id=122'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork=git@github.com:yegor256/zache.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork_branch=renovate/concurrent-ruby-1.x'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_title=Update dependency concurrent-ruby to v1.3.5'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=yegor256'\''\'\'''\'''\'' '\'';'\'' '\''pdd -f /dev/null'\'' '\'';'\'' '\''sudo bundle install --no-color "--gemfile=$(pwd)/Gemfile"'\'' '\'';'\'' '\''bundle exec rake clean test rubocop copyright'\'' '\'';'\'' )') + scripts=('export '\''head=git@github.com:yegor256/zache.git'\''' ';' 'export '\''pull_id=122'\''' ';' 'export '\''fork=git@github.com:yegor256/zache.git'\''' ';' 'export '\''fork_branch=renovate/concurrent-ruby-1.x'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''pull_title=Update dependency concurrent-ruby to v1.3.5'\''' ';' 'export '\''author=yegor256'\''' ';' 'pdd -f /dev/null' ';' 'sudo bundle install --no-color "--gemfile=$(pwd)/Gemfile"' ';' 'bundle exec rake clean test rubocop copyright' ';') + container=yegor256_zache_122 + as_root=false + hostname ip-172-31-31-94 + pwd /tmp/rultor-G5rM + 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 git@github.com:yegor256/zache.git repo Cloning into 'repo'... Warning: Permanently added 'github.com' (ED25519) to the list of known hosts. + cd repo + git config user.email me@rultor.com + git config user.name rultor + '[' -z 'export '\''head=git@github.com:yegor256/zache.git'\''' ']' + cd .. + cat + '[' false = true ']' + cat + chmod a+x entry.sh + cat + echo 'export '\''head=git@github.com:yegor256/zache.git'\''' ';' 'export '\''pull_id=122'\''' ';' 'export '\''fork=git@github.com:yegor256/zache.git'\''' ';' 'export '\''fork_branch=renovate/concurrent-ruby-1.x'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''pull_title=Update dependency concurrent-ruby to v1.3.5'\''' ';' 'export '\''author=yegor256'\''' ';' 'pdd -f /dev/null' ';' 'sudo bundle install --no-color "--gemfile=$(pwd)/Gemfile"' ';' 'bundle exec rake clean test rubocop copyright' ';' + sensitive=() + rm -rf .gnupg + set -ex + cd repo + git remote add fork git@github.com:yegor256/zache.git + git remote update Fetching origin Fetching fork From github.com:yegor256/zache * [new branch] master -> fork/master * [new branch] renovate/concurrent-ruby-1.x -> fork/renovate/concurrent-ruby-1.x * [new branch] renovate/minitest-5.x -> fork/renovate/minitest-5.x * [new branch] renovate/rdoc-6.x -> fork/renovate/rdoc-6.x * [new branch] renovate/rubocop-1.x -> fork/renovate/rubocop-1.x * [new branch] renovate/threads-0.x -> fork/renovate/threads-0.x + args= + '[' default == default ']' + args=' --ff' + '[' default == no ']' + '[' default == only ']' + export BRANCH=__rultor + BRANCH=__rultor ++ wc -l ++ git show-branch __rultor + '[' 0 -gt 0 ']' + git status On branch master Your branch is up to date with 'origin/master'. nothing to commit, working tree clean + git checkout -B __rultor fork/renovate/concurrent-ruby-1.x Switched to a new branch '__rultor' Branch '__rultor' set up to track remote branch 'renovate/concurrent-ruby-1.x' from 'fork'. + git checkout -B master origin/master Switched to and reset branch 'master' Branch 'master' set up to track remote branch 'master' from 'origin'. Your branch is up to date with 'origin/master'. + '[' false == true ']' + '[' false == true ']' + git merge --ff __rultor Auto-merging Gemfile Auto-merging Gemfile.lock Merge made by the 'ort' strategy. Gemfile | 2 +- Gemfile.lock | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) + docker_when_possible + true ++ tail -n 1 ++ sed 's/ /\n/g' ++ uptime + load=0.09 ++ bc ++ echo 0.09 '>' 30 + '[' 0 -eq 1 ']' + echo 'load average is 0.09, low enough to run a new Docker container' load average is 0.09, low enough to run a new Docker container + break + cd .. + '[' -n '' ']' + use_image=yegor256/rultor-ruby + docker pull yegor256/rultor-ruby Using default tag: latest latest: Pulling from yegor256/rultor-ruby dafa2b0c44d2: Pulling fs layer 4f4fb700ef54: Pulling fs layer 5ccf01e6cefd: Pulling fs layer 4a5449bec489: Pulling fs layer ac7832f41460: Pulling fs layer d63b8b04cafc: Pulling fs layer 7d5af111f2cc: Pulling fs layer 720999eee6d5: Pulling fs layer 99fbfb6da2e7: Pulling fs layer 2407230a9192: Pulling fs layer 7f36f52815f4: Pulling fs layer 4a5449bec489: Waiting ac7832f41460: Waiting d63b8b04cafc: Waiting 7d5af111f2cc: Waiting 720999eee6d5: Waiting 99fbfb6da2e7: Waiting 2407230a9192: Waiting 7f36f52815f4: Waiting 4f4fb700ef54: Verifying Checksum 4f4fb700ef54: Download complete 4a5449bec489: Verifying Checksum 4a5449bec489: Download complete dafa2b0c44d2: Verifying Checksum dafa2b0c44d2: Download complete 5ccf01e6cefd: Verifying Checksum 5ccf01e6cefd: Download complete 7d5af111f2cc: Verifying Checksum 7d5af111f2cc: Download complete d63b8b04cafc: Verifying Checksum d63b8b04cafc: Download complete 720999eee6d5: Verifying Checksum 720999eee6d5: Download complete ac7832f41460: Verifying Checksum ac7832f41460: Download complete 99fbfb6da2e7: Verifying Checksum 99fbfb6da2e7: Download complete 7f36f52815f4: Verifying Checksum 7f36f52815f4: Download complete dafa2b0c44d2: Pull complete 4f4fb700ef54: Pull complete 2407230a9192: Verifying Checksum 2407230a9192: Download complete 5ccf01e6cefd: Pull complete 4a5449bec489: Pull complete ac7832f41460: Pull complete d63b8b04cafc: Pull complete 7d5af111f2cc: Pull complete 720999eee6d5: Pull complete 99fbfb6da2e7: Pull complete 2407230a9192: Pull complete 7f36f52815f4: Pull complete Digest: sha256:016cc75a948fa99d2fc1ac9be795ad3ca37cb8a3b15d9384b8f1cbd094bc3c94 Status: Downloaded newer image for yegor256/rultor-ruby:latest docker.io/yegor256/rultor-ruby:latest + grep --quiet '\syegor256_zache_122\s*$' + docker ps --filter=status=exited + ls -al . total 52 drwx------ 3 ubuntu ubuntu 4096 Feb 17 19:04 . drwxrwxrwt 12 root root 4096 Feb 17 19:04 .. -rwxrwxr-x 1 ubuntu ubuntu 2089 Feb 17 19:04 end.sh -rwxrwxr-x 1 ubuntu ubuntu 490 Feb 17 19:04 entry.sh -rw-rw-r-- 1 ubuntu ubuntu 5 Feb 17 19:04 pid drwxrwxr-x 6 ubuntu ubuntu 4096 Feb 17 19:04 repo -rw-rw-r-- 1 ubuntu ubuntu 81 Feb 17 19:04 rubygems.yml -rwxrwxr-x 1 ubuntu ubuntu 9269 Feb 17 19:04 run.sh -rw-rw-r-- 1 ubuntu ubuntu 604 Feb 17 19:04 script.sh -rw-rw-r-- 1 ubuntu ubuntu 7125 Feb 17 19:05 stdout ++ pwd ++ pwd + docker run -t --rm -v /tmp/rultor-G5rM:/main --env=head=git@github.com:yegor256/zache.git --env=pull_id=122 --env=fork=git@github.com:yegor256/zache.git --env=fork_branch=renovate/concurrent-ruby-1.x --env=head_branch=master '--env=pull_title=Update dependency concurrent-ruby to v1.3.5' --env=author=yegor256 '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:yegor256/zache.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_id=122'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork=git@github.com:yegor256/zache.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork_branch=renovate/concurrent-ruby-1.x'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_title=Update dependency concurrent-ruby to v1.3.5'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=yegor256'\''\'\'''\'''\'' '\'';'\'' '\''pdd -f /dev/null'\'' '\'';'\'' '\''sudo bundle install --no-color "--gemfile=$(pwd)/Gemfile"'\'' '\'';'\'' '\''bundle exec rake clean test rubocop copyright'\'' '\'';'\'' )' --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-G5rM/cid -w=/main -v /var/run/docker.sock:/var/run/docker.sock --name=yegor256_zache_122 yegor256/rultor-ruby /main/entry.sh WARNING: Your kernel does not support OomKillDisable. OomKillDisable discarded. Using /usr/local/rvm/gems/ruby-3.2.2 Using /usr/local/rvm/gems/ruby-3.2.2 + 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 ubuntu 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 rvm 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/.gem /root/.gemrc /root/.gnupg /root/.profile /root/.rvmrc /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 #!/bin/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/zache.git' ; export 'pull_id=122' ; export 'fork=git@github.com:yegor256/zache.git' ; export 'fork_branch=renovate/concurrent-ruby-1.x' ; export 'head_branch=master' ; export 'pull_title=Update dependency concurrent-ruby to v1.3.5' ; export 'author=yegor256' ; pdd -f /dev/null ; sudo bundle install --no-color "--gemfile=$(pwd)/Gemfile" ; bundle exec rake clean test rubocop copyright ; + su --login r --command /home/r/script.sh Using /usr/local/rvm/gems/ruby-3.2.2 Using /usr/local/rvm/gems/ruby-3.2.2 Using /usr/local/rvm/gems/ruby-3.2.2 Using /usr/local/rvm/gems/ruby-3.2.2 Found 5 lines in /home/r/repo/.pdd My version is 0.23.1 Ruby version is 3.2.2 at x86_64-linux Reading from root dir . /usr/local/rvm/gems/ruby-3.2.2/gems/pdd-0.23.1/lib/pdd/sources.rb:90: warning: undefining the allocator of T_DATA class FileMagic /home/r/repo/logo.svg is a binary file (3827 bytes) /home/r/repo/renovate.json is a binary file (107 bytes) Reading .0pdd.yml ... Reading .github/workflows/actionlint.yml ... Reading .github/workflows/codecov.yml ... Reading .github/workflows/copyrights.yml ... Reading .github/workflows/license.yml ... Reading .github/workflows/markdown-lint.yml ... Reading .github/workflows/pdd.yml ... Reading .github/workflows/rake.yml ... Reading .github/workflows/xcop.yml ... Reading .github/workflows/yamllint.yml ... Reading .gitignore ... Reading .pdd ... Reading .rubocop.yml ... Reading .rultor.yml ... Reading Gemfile ... Reading Gemfile.lock ... Reading LICENSE.txt ... Reading README.md ... Reading Rakefile ... Reading lib/zache.rb ... Reading test/test__helper.rb ... Reading test/test_zache.rb ... Reading zache.gemspec ... Using /usr/local/rvm/gems/ruby-3.2.2 Using /usr/local/rvm/gems/ruby-3.2.2 Don't run Bundler as root. Installing your bundle as root will break this application for all non-root users on this machine. Bundler 2.4.10 is running, but your lockfile was generated with 2.5.16. Installing Bundler 2.5.16 and restarting using that version. Fetching gem metadata from https://rubygems.org/. Fetching bundler 2.5.16 Installing bundler 2.5.16 Don't run Bundler as root. Installing your bundle as root will break this application for all non-root users on this machine. Fetching gem metadata from https://rubygems.org/........ Fetching rake 13.2.1 Installing rake 13.2.1 Fetching ast 2.4.2 Installing ast 2.4.2 Fetching backtrace 0.4.0 Installing backtrace 0.4.0 Fetching concurrent-ruby 1.3.5 Installing concurrent-ruby 1.3.5 Fetching date 3.4.1 Installing date 3.4.1 with native extensions Fetching docile 1.4.1 Installing docile 1.4.1 Fetching json 2.10.1 Installing json 2.10.1 with native extensions Fetching language_server-protocol 3.17.0.4 Installing language_server-protocol 3.17.0.4 Fetching lint_roller 1.1.0 Installing lint_roller 1.1.0 Fetching minitest 5.25.2 Installing minitest 5.25.2 Fetching parallel 1.26.3 Installing parallel 1.26.3 Fetching racc 1.8.1 Installing racc 1.8.1 with native extensions Fetching parser 3.3.7.1 Installing parser 3.3.7.1 Fetching stringio 3.1.3 Installing stringio 3.1.3 with native extensions Fetching psych 5.2.3 Installing psych 5.2.3 with native extensions Fetching rdoc 6.8.1 Installing rdoc 6.8.1 Fetching regexp_parser 2.10.0 Installing regexp_parser 2.10.0 Fetching rubocop-ast 1.38.0 Installing rubocop-ast 1.38.0 Fetching ruby-progressbar 1.13.0 Installing ruby-progressbar 1.13.0 Fetching unicode-emoji 4.0.4 Installing unicode-emoji 4.0.4 Fetching unicode-display_width 3.1.4 Installing unicode-display_width 3.1.4 Fetching rubocop 1.69.0 Installing rubocop 1.69.0 Fetching rubocop-minitest 0.37.0 Installing rubocop-minitest 0.37.0 Fetching rubocop-performance 1.23.1 Installing rubocop-performance 1.23.1 Fetching rubocop-rake 0.6.0 Installing rubocop-rake 0.6.0 Fetching rubocop-rspec 3.4.0 Installing rubocop-rspec 3.4.0 Fetching simplecov-html 0.13.1 Installing simplecov-html 0.13.1 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 threads 0.4.0 Installing threads 0.4.0 Bundle complete! 12 Gemfile dependencies, 33 gems now installed. Use `bundle info [gemname]` to see where a bundled gem is installed. /home/r/repo/Rakefile:27: warning: already initialized constant CLEAN /usr/local/rvm/gems/ruby-3.2.2/gems/rake-13.2.1/lib/rake/clean.rb:63: warning: previous definition of CLEAN was here Run options: --seed 15458 # Running: ............................ Finished in 2.510167s, 11.1546 runs/s, 62.1472 assertions/s. 28 runs, 156 assertions, 0 failures, 0 errors, 0 skips Coverage report generated for Unit Tests to /home/r/repo/coverage. Line Coverage: 97.76% (262 / 268) Running RuboCop... Inspecting 6 files 32m.0m33mC0m33mC0m32m.0m33mC0m32m.0m Offenses: 36mRakefile0m:61:1: 33mC0m: Rake/Desc: Describe the task with 33mdesc0m method. task :copyright do ^^^^^^^^^^^^^^^ 36mlib/zache.rb0m:206:7: 33mC0m: 33m[Correctable] 0mPerformance/RedundantBlockCall: Use 33myield0m instead of 33mblock.call0m. block.call ^^^^^^^^^^ 36mtest/test_zache.rb0m:42:5: 33mC0m: 33m[Correctable] 0mMinitest/AssertEqual: Prefer using 33massert_equal(first, second)0m. assert(first == second) ^^^^^^^^^^^^^^^^^^^^^^^ 36mtest/test_zache.rb0m:42:5: 33mC0m: 33m[Correctable] 0mMinitest/AssertOperator: Prefer using 33massert_operator(first, :==, second)0m. assert(first == second) ^^^^^^^^^^^^^^^^^^^^^^^ 36mtest/test_zache.rb0m:42:5: 33mC0m: 33m[Correctable] 0mMinitest/EmptyLineBeforeAssertionMethods: Add empty line before assertion. assert(first == second) ^^^^^^^^^^^^^^^^^^^^^^^ 36mtest/test_zache.rb0m:51:5: 33mC0m: 33m[Correctable] 0mMinitest/AssertOperator: Prefer using 33massert_operator(first, :!=, second)0m. assert(first != second) ^^^^^^^^^^^^^^^^^^^^^^^ 36mtest/test_zache.rb0m:51:5: 33mC0m: 33m[Correctable] 0mMinitest/EmptyLineBeforeAssertionMethods: Add empty line before assertion. assert(first != second) ^^^^^^^^^^^^^^^^^^^^^^^ 36mtest/test_zache.rb0m:51:5: 33mC0m: 33m[Correctable] 0mMinitest/RefuteEqual: Prefer using 33mrefute_equal(first, second)0m. assert(first != second) ^^^^^^^^^^^^^^^^^^^^^^^ 36mtest/test_zache.rb0m:58:5: 33mC0m: 33m[Correctable] 0mMinitest/AssertOperator: Prefer using 33massert_operator(cache.mtime(:hey), :<, Time.now - 0.05)0m. assert(cache.mtime(:hey) < Time.now - 0.05) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 36mtest/test_zache.rb0m:58:5: 33mC0m: 33m[Correctable] 0mMinitest/EmptyLineBeforeAssertionMethods: Add empty line before assertion. assert(cache.mtime(:hey) < Time.now - 0.05) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 36mtest/test_zache.rb0m:73:5: 33mC0m: 33m[Correctable] 0mMinitest/AssertEqual: Prefer using 33massert_equal(exists_result, true)0m. assert(exists_result == true) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 36mtest/test_zache.rb0m:73:5: 33mC0m: 33m[Correctable] 0mMinitest/AssertOperator: Prefer using 33massert_operator(exists_result, :==, true)0m. assert(exists_result == true) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 36mtest/test_zache.rb0m:73:5: 33mC0m: 33m[Correctable] 0mMinitest/EmptyLineBeforeAssertionMethods: Add empty line before assertion. assert(exists_result == true) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 36mtest/test_zache.rb0m:74:5: 33mC0m: 33m[Correctable] 0mMinitest/AssertEqual: Prefer using 33massert_equal(not_exists_result, false)0m. assert(not_exists_result == false) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 36mtest/test_zache.rb0m:74:5: 33mC0m: 33m[Correctable] 0mMinitest/AssertOperator: Prefer using 33massert_operator(not_exists_result, :==, false)0m. assert(not_exists_result == false) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 36mtest/test_zache.rb0m:81:5: 33mC0m: 33m[Correctable] 0mMinitest/EmptyLineBeforeAssertionMethods: Add empty line before assertion. assert(!cache.exists?(:hey)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 36mtest/test_zache.rb0m:81:5: 33mC0m: 33m[Correctable] 0mMinitest/RefuteFalse: Prefer using 33mrefute(cache.exists?(:hey))0m. assert(!cache.exists?(:hey)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 36mtest/test_zache.rb0m:84:3: 33mC0m: Minitest/MultipleAssertions: Test case has too many assertions [4/3]. def test_remove_key 33m...0m ^^^^^^^^^^^^^^^^^^^ 36mtest/test_zache.rb0m:88:5: 33mC0m: 33m[Correctable] 0mMinitest/AssertEqual: Prefer using 33massert_equal(cache.exists?(:hey), true)0m. assert(cache.exists?(:hey) == true) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 36mtest/test_zache.rb0m:88:5: 33mC0m: 33m[Correctable] 0mMinitest/AssertOperator: Prefer using 33massert_operator(cache.exists?(:hey), :==, true)0m. assert(cache.exists?(:hey) == true) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 36mtest/test_zache.rb0m:88:5: 33mC0m: 33m[Correctable] 0mMinitest/EmptyLineBeforeAssertionMethods: Add empty line before assertion. assert(cache.exists?(:hey) == true) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 36mtest/test_zache.rb0m:89:5: 33mC0m: 33m[Correctable] 0mMinitest/AssertEqual: Prefer using 33massert_equal(cache.exists?(:wey), true)0m. assert(cache.exists?(:wey) == true) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 36mtest/test_zache.rb0m:89:5: 33mC0m: 33m[Correctable] 0mMinitest/AssertOperator: Prefer using 33massert_operator(cache.exists?(:wey), :==, true)0m. assert(cache.exists?(:wey) == true) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 36mtest/test_zache.rb0m:91:5: 33mC0m: 33m[Correctable] 0mMinitest/AssertEqual: Prefer using 33massert_equal(cache.exists?(:hey), false)0m. assert(cache.exists?(:hey) == false) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 36mtest/test_zache.rb0m:91:5: 33mC0m: 33m[Correctable] 0mMinitest/AssertOperator: Prefer using 33massert_operator(cache.exists?(:hey), :==, false)0m. assert(cache.exists?(:hey) == false) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 36mtest/test_zache.rb0m:91:5: 33mC0m: 33m[Correctable] 0mMinitest/EmptyLineBeforeAssertionMethods: Add empty line before assertion. assert(cache.exists?(:hey) == false) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 36mtest/test_zache.rb0m:92:5: 33mC0m: 33m[Correctable] 0mMinitest/AssertEqual: Prefer using 33massert_equal(cache.exists?(:wey), true)0m. assert(cache.exists?(:wey) == true) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 36mtest/test_zache.rb0m:92:5: 33mC0m: 33m[Correctable] 0mMinitest/AssertOperator: Prefer using 33massert_operator(cache.exists?(:wey), :==, true)0m. assert(cache.exists?(:wey) == true) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 36mtest/test_zache.rb0m:100:5: 33mC0m: 33m[Correctable] 0mMinitest/AssertEqual: Prefer using 33massert_equal(cache.exists?('first'), false)0m. assert(cache.exists?('first') == false) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 36mtest/test_zache.rb0m:100:5: 33mC0m: 33m[Correctable] 0mMinitest/AssertOperator: Prefer using 33massert_operator(cache.exists?('first'), :==, false)0m. assert(cache.exists?('first') == false) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 36mtest/test_zache.rb0m:100:5: 33mC0m: 33m[Correctable] 0mMinitest/EmptyLineBeforeAssertionMethods: Add empty line before assertion. assert(cache.exists?('first') == false) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 36mtest/test_zache.rb0m:101:5: 33mC0m: 33m[Correctable] 0mMinitest/AssertEqual: Prefer using 33massert_equal(cache.exists?('second'), true)0m. assert(cache.exists?('second') == true) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 36mtest/test_zache.rb0m:101:5: 33mC0m: 33m[Correctable] 0mMinitest/AssertOperator: Prefer using 33massert_operator(cache.exists?('second'), :==, true)0m. assert(cache.exists?('second') == true) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 36mtest/test_zache.rb0m:104:3: 33mC0m: Minitest/MultipleAssertions: Test case has too many assertions [4/3]. def test_remove_key_with_sync_false 33m...0m ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 36mtest/test_zache.rb0m:108:5: 33mC0m: 33m[Correctable] 0mMinitest/AssertEqual: Prefer using 33massert_equal(cache.exists?(:hey), true)0m. assert(cache.exists?(:hey) == true) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 36mtest/test_zache.rb0m:108:5: 33mC0m: 33m[Correctable] 0mMinitest/AssertOperator: Prefer using 33massert_operator(cache.exists?(:hey), :==, true)0m. assert(cache.exists?(:hey) == true) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 36mtest/test_zache.rb0m:108:5: 33mC0m: 33m[Correctable] 0mMinitest/EmptyLineBeforeAssertionMethods: Add empty line before assertion. assert(cache.exists?(:hey) == true) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 36mtest/test_zache.rb0m:109:5: 33mC0m: 33m[Correctable] 0mMinitest/AssertEqual: Prefer using 33massert_equal(cache.exists?(:wey), true)0m. assert(cache.exists?(:wey) == true) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 36mtest/test_zache.rb0m:109:5: 33mC0m: 33m[Correctable] 0mMinitest/AssertOperator: Prefer using 33massert_operator(cache.exists?(:wey), :==, true)0m. assert(cache.exists?(:wey) == true) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 36mtest/test_zache.rb0m:111:5: 33mC0m: 33m[Correctable] 0mMinitest/AssertEqual: Prefer using 33massert_equal(cache.exists?(:hey), false)0m. assert(cache.exists?(:hey) == false) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 36mtest/test_zache.rb0m:111:5: 33mC0m: 33m[Correctable] 0mMinitest/AssertOperator: Prefer using 33massert_operator(cache.exists?(:hey), :==, false)0m. assert(cache.exists?(:hey) == false) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 36mtest/test_zache.rb0m:111:5: 33mC0m: 33m[Correctable] 0mMinitest/EmptyLineBeforeAssertionMethods: Add empty line before assertion. assert(cache.exists?(:hey) == false) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 36mtest/test_zache.rb0m:112:5: 33mC0m: 33m[Correctable] 0mMinitest/AssertEqual: Prefer using 33massert_equal(cache.exists?(:wey), true)0m. assert(cache.exists?(:wey) == true) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 36mtest/test_zache.rb0m:112:5: 33mC0m: 33m[Correctable] 0mMinitest/AssertOperator: Prefer using 33massert_operator(cache.exists?(:wey), :==, true)0m. assert(cache.exists?(:wey) == true) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 36mtest/test_zache.rb0m:123:5: 33mC0m: 33m[Correctable] 0mMinitest/AssertEqual: Prefer using 33massert_equal(cache.exists?(:hey), true)0m. assert(cache.exists?(:hey) == true) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 36mtest/test_zache.rb0m:123:5: 33mC0m: 33m[Correctable] 0mMinitest/AssertOperator: Prefer using 33massert_operator(cache.exists?(:hey), :==, true)0m. assert(cache.exists?(:hey) == true) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 36mtest/test_zache.rb0m:124:5: 33mC0m: 33m[Correctable] 0mMinitest/AssertEqual: Prefer using 33massert_equal(cache.exists?(:bye), false)0m. assert(cache.exists?(:bye) == false) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 36mtest/test_zache.rb0m:124:5: 33mC0m: 33m[Correctable] 0mMinitest/AssertOperator: Prefer using 33massert_operator(cache.exists?(:bye), :==, false)0m. assert(cache.exists?(:bye) == false) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 36mtest/test_zache.rb0m:133:5: 33mC0m: 33m[Correctable] 0mMinitest/AssertEqual: Prefer using 33massert_equal(cache.exists?(:hey), true)0m. assert(cache.exists?(:hey) == true) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 36mtest/test_zache.rb0m:133:5: 33mC0m: 33m[Correctable] 0mMinitest/AssertOperator: Prefer using 33massert_operator(cache.exists?(:hey), :==, true)0m. assert(cache.exists?(:hey) == true) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 36mtest/test_zache.rb0m:133:5: 33mC0m: 33m[Correctable] 0mMinitest/EmptyLineBeforeAssertionMethods: Add empty line before assertion. assert(cache.exists?(:hey) == true) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 36mtest/test_zache.rb0m:134:5: 33mC0m: 33m[Correctable] 0mMinitest/AssertEqual: Prefer using 33massert_equal(cache.exists?(:bye), false)0m. assert(cache.exists?(:bye) == false) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 36mtest/test_zache.rb0m:134:5: 33mC0m: 33m[Correctable] 0mMinitest/AssertOperator: Prefer using 33massert_operator(cache.exists?(:bye), :==, false)0m. assert(cache.exists?(:bye) == false) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 36mtest/test_zache.rb0m:142:5: 33mC0m: 33m[Correctable] 0mMinitest/AssertEmpty: Prefer using 33massert_empty(cache)0m. assert(cache.empty?) ^^^^^^^^^^^^^^^^^^^^ 36mtest/test_zache.rb0m:142:5: 33mC0m: 33m[Correctable] 0mMinitest/AssertPredicate: Prefer using 33massert_predicate(cache, :empty?)0m. assert(cache.empty?) ^^^^^^^^^^^^^^^^^^^^ 36mtest/test_zache.rb0m:142:5: 33mC0m: 33m[Correctable] 0mMinitest/EmptyLineBeforeAssertionMethods: Add empty line before assertion. assert(cache.empty?) ^^^^^^^^^^^^^^^^^^^^ 36mtest/test_zache.rb0m:151:5: 33mC0m: 33m[Correctable] 0mMinitest/AssertEqual: Prefer using 33massert_equal(cache.exists?(:hey), true)0m. assert(cache.exists?(:hey) == true) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 36mtest/test_zache.rb0m:151:5: 33mC0m: 33m[Correctable] 0mMinitest/AssertOperator: Prefer using 33massert_operator(cache.exists?(:hey), :==, true)0m. assert(cache.exists?(:hey) == true) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 36mtest/test_zache.rb0m:151:5: 33mC0m: 33m[Correctable] 0mMinitest/EmptyLineBeforeAssertionMethods: Add empty line before assertion. assert(cache.exists?(:hey) == true) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 36mtest/test_zache.rb0m:152:5: 33mC0m: 33m[Correctable] 0mMinitest/AssertEqual: Prefer using 33massert_equal(cache.exists?(:bye), false)0m. assert(cache.exists?(:bye) == false) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 36mtest/test_zache.rb0m:152:5: 33mC0m: 33m[Correctable] 0mMinitest/AssertOperator: Prefer using 33massert_operator(cache.exists?(:bye), :==, false)0m. assert(cache.exists?(:bye) == false) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 36mtest/test_zache.rb0m:155:7: 33mC0m: Minitest/NoAssertions: Test case has no assertions. def test_remove_absent_key ^^^^^^^^^^^^^^^^^^^^^^ 36mtest/test_zache.rb0m:163:5: 33mC0m: 33m[Correctable] 0mMinitest/EmptyLineBeforeAssertionMethods: Add empty line before assertion. assert(!cache.exists?(:hey)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 36mtest/test_zache.rb0m:163:5: 33mC0m: 33m[Correctable] 0mMinitest/RefuteFalse: Prefer using 33mrefute(cache.exists?(:hey))0m. assert(!cache.exists?(:hey)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 36mtest/test_zache.rb0m:170:7: 33mC0m: 33m[Correctable] 0mMinitest/AssertEqual: Prefer using 33massert_equal(cache.exists?(:"hey#{i}"), true)0m. assert(cache.exists?(:"hey#{i}") == true) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 36mtest/test_zache.rb0m:170:7: 33mC0m: 33m[Correctable] 0mMinitest/AssertOperator: Prefer using 33massert_operator(cache.exists?(:"hey#{i}"), :==, true)0m. assert(cache.exists?(:"hey#{i}") == true) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 36mtest/test_zache.rb0m:170:7: 33mC0m: 33m[Correctable] 0mMinitest/EmptyLineBeforeAssertionMethods: Add empty line before assertion. assert(cache.exists?(:"hey#{i}") == true) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 36mtest/test_zache.rb0m:174:7: 33mC0m: 33m[Correctable] 0mMinitest/AssertEqual: Prefer using 33massert_equal(cache.exists?(:"hey#{i}"), false)0m. assert(cache.exists?(:"hey#{i}") == false) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 36mtest/test_zache.rb0m:174:7: 33mC0m: 33m[Correctable] 0mMinitest/AssertOperator: Prefer using 33massert_operator(cache.exists?(:"hey#{i}"), :==, false)0m. assert(cache.exists?(:"hey#{i}") == false) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 36mtest/test_zache.rb0m:183:5: 33mC0m: 33m[Correctable] 0mMinitest/AssertEqual: Prefer using 33massert_equal(cache.exists?(:hey), false)0m. assert(cache.exists?(:hey) == false) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 36mtest/test_zache.rb0m:183:5: 33mC0m: 33m[Correctable] 0mMinitest/AssertOperator: Prefer using 33massert_operator(cache.exists?(:hey), :==, false)0m. assert(cache.exists?(:hey) == false) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 36mtest/test_zache.rb0m:183:5: 33mC0m: 33m[Correctable] 0mMinitest/EmptyLineBeforeAssertionMethods: Add empty line before assertion. assert(cache.exists?(:hey) == false) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 36mtest/test_zache.rb0m:184:5: 33mC0m: 33m[Correctable] 0mMinitest/AssertEqual: Prefer using 33massert_equal(cache.exists?(:bye), false)0m. assert(cache.exists?(:bye) == false) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 36mtest/test_zache.rb0m:184:5: 33mC0m: 33m[Correctable] 0mMinitest/AssertOperator: Prefer using 33massert_operator(cache.exists?(:bye), :==, false)0m. assert(cache.exists?(:bye) == false) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 36mtest/test_zache.rb0m:192:5: 33mC0m: 33m[Correctable] 0mMinitest/AssertEqual: Prefer using 33massert_equal(cache.exists?(:hey), false)0m. assert(cache.exists?(:hey) == false) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 36mtest/test_zache.rb0m:192:5: 33mC0m: 33m[Correctable] 0mMinitest/AssertOperator: Prefer using 33massert_operator(cache.exists?(:hey), :==, false)0m. assert(cache.exists?(:hey) == false) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 36mtest/test_zache.rb0m:192:5: 33mC0m: 33m[Correctable] 0mMinitest/EmptyLineBeforeAssertionMethods: Add empty line before assertion. assert(cache.exists?(:hey) == false) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 36mtest/test_zache.rb0m:193:5: 33mC0m: 33m[Correctable] 0mMinitest/AssertEqual: Prefer using 33massert_equal(cache.exists?(:bye), false)0m. assert(cache.exists?(:bye) == false) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 36mtest/test_zache.rb0m:193:5: 33mC0m: 33m[Correctable] 0mMinitest/AssertOperator: Prefer using 33massert_operator(cache.exists?(:bye), :==, false)0m. assert(cache.exists?(:bye) == false) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 36mtest/test_zache.rb0m:200:5: 33mC0m: 33m[Correctable] 0mMinitest/EmptyLineBeforeAssertionMethods: Add empty line before assertion. assert_equal(123, cache.get(:hey)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 36mtest/test_zache.rb0m:219:5: 33mC0m: 33m[Correctable] 0mMinitest/AssertPredicate: Prefer using 33massert_predicate(cache, :locked?)0m. assert(cache.locked?) ^^^^^^^^^^^^^^^^^^^^^ 36mtest/test_zache.rb0m:219:5: 33mC0m: 33m[Correctable] 0mMinitest/EmptyLineBeforeAssertionMethods: Add empty line before assertion. assert(cache.locked?) ^^^^^^^^^^^^^^^^^^^^^ 36mtest/test_zache.rb0m:221:5: 33mC0m: 33m[Correctable] 0mMinitest/EmptyLineBeforeAssertionMethods: Add empty line before assertion. assert(!cache.locked?) ^^^^^^^^^^^^^^^^^^^^^^ 36mtest/test_zache.rb0m:221:5: 33mC0m: 33m[Correctable] 0mMinitest/RefuteFalse: Prefer using 33mrefute(cache.locked?)0m. assert(!cache.locked?) ^^^^^^^^^^^^^^^^^^^^^^ 36mtest/test_zache.rb0m:228:7: 33mC0m: 33m[Correctable] 0mMinitest/AssertPredicate: Prefer using 33massert_predicate(cache, :locked?)0m. assert(cache.locked?) ^^^^^^^^^^^^^^^^^^^^^ 36mtest/test_zache.rb0m:231:5: 33mC0m: 33m[Correctable] 0mMinitest/EmptyLineBeforeAssertionMethods: Add empty line before assertion. assert(!cache.locked?) ^^^^^^^^^^^^^^^^^^^^^^ 36mtest/test_zache.rb0m:231:5: 33mC0m: 33m[Correctable] 0mMinitest/RefuteFalse: Prefer using 33mrefute(cache.locked?)0m. assert(!cache.locked?) ^^^^^^^^^^^^^^^^^^^^^^ 36mtest/test_zache.rb0m:234:3: 33mC0m: Minitest/MultipleAssertions: Test case has too many assertions [4/3]. def test_returns_dirty_result 33m...0m ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 36mtest/test_zache.rb0m:256:5: 33mC0m: 33m[Correctable] 0mMinitest/EmptyLineBeforeAssertionMethods: Add empty line before assertion. assert(cache.exists?(:x)) ^^^^^^^^^^^^^^^^^^^^^^^^^ 36mtest/test_zache.rb0m:266:5: 33mC0m: 33m[Correctable] 0mMinitest/AssertOperator: Prefer using 33massert_operator(threads, :*, 2)0m. Threads.new(threads).assert(threads * 2) do |i| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 36mtest/test_zache.rb0m:278:5: 33mC0m: 33m[Correctable] 0mMinitest/AssertOperator: Prefer using 33massert_operator(threads, :*, 2)0m. Threads.new(threads).assert(threads * 2) do |i| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 36mtest/test_zache.rb0m:287:5: 33mC0m: 33m[Correctable] 0mMinitest/EmptyLineBeforeAssertionMethods: Add empty line before assertion. assert_equal(1, cache.get(:x) { 1 }) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 6 files inspected, 31m92 offenses0m detected, 33m87 offenses0m autocorrectable RuboCop failed! container db964684f5055e74d5031eb840728dd61b5a9b84e48d7dbe21c1fc689ef93006 is dead Mon Feb 17 19:20:06 UTC 2025