+ set -e + set -o pipefail ++ dirname ./run.sh + cd . + echo 1069 + echo '2.0-SNAPSHOT BUILD' 2.0-SNAPSHOT BUILD + date Wed Feb 26 08:31:59 UTC 2025 + uptime 08:31:59 up 1 min, 0 users, load average: 1.33, 0.39, 0.14 + ff=default + image=yegor256/rultor-ruby + rebase=false + head_branch=master + pull_title='Update dependency rubocop to v1.73.0' + author=yegor256 + directory= + head=git@github.com:yegor256/erc20.git + pull_id=48 + fork=git@github.com:yegor256/erc20.git + fork_branch=renovate/rubocop-1.x + squash=false + vars=('--env=head=git@github.com:yegor256/erc20.git' '--env=pull_id=48' '--env=fork=git@github.com:yegor256/erc20.git' '--env=fork_branch=renovate/rubocop-1.x' '--env=head_branch=master' '--env=pull_title=Update dependency rubocop to v1.73.0' '--env=author=yegor256' '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:yegor256/erc20.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_id=48'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork=git@github.com:yegor256/erc20.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork_branch=renovate/rubocop-1.x'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_title=Update dependency rubocop to v1.73.0'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=yegor256'\''\'\'''\'''\'' '\'';'\'' '\''pdd -f /dev/null'\'' '\'';'\'' '\''bundle install --no-color'\'' '\'';'\'' '\''DONCE_SUDO=true bundle exec rake'\'' '\'';'\'' )') + scripts=('export '\''head=git@github.com:yegor256/erc20.git'\''' ';' 'export '\''pull_id=48'\''' ';' 'export '\''fork=git@github.com:yegor256/erc20.git'\''' ';' 'export '\''fork_branch=renovate/rubocop-1.x'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''pull_title=Update dependency rubocop to v1.73.0'\''' ';' 'export '\''author=yegor256'\''' ';' 'pdd -f /dev/null' ';' 'bundle install --no-color' ';' 'DONCE_SUDO=true bundle exec rake' ';') + container=yegor256_erc20_48 + as_root=false + hostname ip-172-31-22-243 + pwd /tmp/rultor-VpTz + 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/erc20.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/erc20.git'\''' ']' + cd .. + cat + '[' false = true ']' + cat + chmod a+x entry.sh + cat + echo 'export '\''head=git@github.com:yegor256/erc20.git'\''' ';' 'export '\''pull_id=48'\''' ';' 'export '\''fork=git@github.com:yegor256/erc20.git'\''' ';' 'export '\''fork_branch=renovate/rubocop-1.x'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''pull_title=Update dependency rubocop to v1.73.0'\''' ';' 'export '\''author=yegor256'\''' ';' 'pdd -f /dev/null' ';' 'bundle install --no-color' ';' 'DONCE_SUDO=true bundle exec rake' ';' + sensitive=() + rm -rf .gnupg + set -ex + cd repo + git remote add fork git@github.com:yegor256/erc20.git + git remote update Fetching origin Fetching fork From github.com:yegor256/erc20 * [new branch] 11 -> fork/11 * [new branch] 15 -> fork/15 * [new branch] 18 -> fork/18 * [new branch] 44 -> fork/44 * [new branch] 6 -> fork/6 * [new branch] 9 -> fork/9 * [new branch] master -> fork/master * [new branch] renovate/rubocop-1.x -> fork/renovate/rubocop-1.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/rubocop-1.x Switched to a new branch '__rultor' Branch '__rultor' set up to track remote branch 'renovate/rubocop-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 Updating be96ad6..f14dd50 Fast-forward Gemfile | 2 +- Gemfile.lock | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) + docker_when_possible + true ++ tail -n 1 ++ sed 's/ /\n/g' ++ uptime + load=0.15 ++ bc ++ echo 0.15 '>' 30 + '[' 0 -eq 1 ']' + echo 'load average is 0.15, low enough to run a new Docker container' load average is 0.15, 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 5ccf01e6cefd: Verifying Checksum 5ccf01e6cefd: Download complete dafa2b0c44d2: Verifying Checksum dafa2b0c44d2: Download complete d63b8b04cafc: Verifying Checksum d63b8b04cafc: Download complete 7d5af111f2cc: Verifying Checksum 7d5af111f2cc: Download complete 720999eee6d5: Verifying Checksum 720999eee6d5: Download complete 99fbfb6da2e7: Verifying Checksum 99fbfb6da2e7: Download complete ac7832f41460: Verifying Checksum ac7832f41460: Download complete 7f36f52815f4: Verifying Checksum 7f36f52815f4: Download complete 2407230a9192: Verifying Checksum 2407230a9192: Download complete dafa2b0c44d2: Pull complete 4f4fb700ef54: Pull 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 + docker ps --filter=status=exited + grep --quiet '\syegor256_erc20_48\s*$' + ls -al . total 52 drwx------ 3 ubuntu ubuntu 4096 Feb 26 08:32 . drwxrwxrwt 12 root root 4096 Feb 26 08:32 .. -rwxrwxr-x 1 ubuntu ubuntu 2089 Feb 26 08:33 end.sh -rwxrwxr-x 1 ubuntu ubuntu 490 Feb 26 08:32 entry.sh -rw-rw-r-- 1 ubuntu ubuntu 5 Feb 26 08:31 pid drwxrwxr-x 10 ubuntu ubuntu 4096 Feb 26 08:32 repo -rw-rw-r-- 1 ubuntu ubuntu 81 Feb 26 08:31 rubygems.yml -rwxrwxr-x 1 ubuntu ubuntu 9114 Feb 26 08:31 run.sh -rw-rw-r-- 1 ubuntu ubuntu 543 Feb 26 08:32 script.sh -rw-rw-r-- 1 ubuntu ubuntu 6865 Feb 26 08:33 stdout ++ pwd ++ pwd + docker run -t --rm -v /tmp/rultor-VpTz:/main --env=head=git@github.com:yegor256/erc20.git --env=pull_id=48 --env=fork=git@github.com:yegor256/erc20.git --env=fork_branch=renovate/rubocop-1.x --env=head_branch=master '--env=pull_title=Update dependency rubocop to v1.73.0' --env=author=yegor256 '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:yegor256/erc20.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_id=48'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork=git@github.com:yegor256/erc20.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork_branch=renovate/rubocop-1.x'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_title=Update dependency rubocop to v1.73.0'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=yegor256'\''\'\'''\'''\'' '\'';'\'' '\''pdd -f /dev/null'\'' '\'';'\'' '\''bundle install --no-color'\'' '\'';'\'' '\''DONCE_SUDO=true bundle exec rake'\'' '\'';'\'' )' --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-VpTz/cid -w=/main -v /var/run/docker.sock:/var/run/docker.sock --name=yegor256_erc20_48 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/erc20.git' ; export 'pull_id=48' ; export 'fork=git@github.com:yegor256/erc20.git' ; export 'fork_branch=renovate/rubocop-1.x' ; export 'head_branch=master' ; export 'pull_title=Update dependency rubocop to v1.73.0' ; export 'author=yegor256' ; pdd -f /dev/null ; bundle install --no-color ; DONCE_SUDO=true bundle exec rake ; + 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 7 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 . Excluding target/**/* Excluding coverage/**/* /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/hardhat/hardhat.config.js is a binary file (858 bytes) /home/r/repo/hardhat/ignition/modules/Foo.ts is a binary file (303 bytes) /home/r/repo/hardhat/package.json is a binary file (166 bytes) /home/r/repo/renovate.json is a binary file (107 bytes) 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/shellcheck.yml ... Reading .github/workflows/xcop.yml ... Reading .github/workflows/yamllint.yml ... Reading .gitignore ... Reading .gitleaksignore ... Reading .pdd ... Reading .rubocop.yml ... Reading .rultor.yml ... Reading .simplecov ... Reading .yamllint.yml ... Reading Gemfile ... Reading Gemfile.lock ... Reading LICENSE.txt ... Reading LICENSES/MIT.txt ... Reading README.md ... Reading REUSE.toml ... Reading Rakefile ... Reading bin/erc20 ... Reading erc20.gemspec ... Reading features/cli.feature ... Reading features/gem_package.feature ... Reading features/step_definitions/steps.rb ... Reading features/support/env.rb ... Reading hardhat/.gitignore ... Reading hardhat/Dockerfile ... Reading hardhat/contracts/Foo.sol ... Reading lib/erc20/erc20.rb ... Reading lib/erc20/fake_wallet.rb ... Reading lib/erc20/wallet.rb ... Reading lib/erc20.rb ... Reading test/erc20/test_fake_wallet.rb ... Reading test/erc20/test_wallet.rb ... Reading test/test__helper.rb ... 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 Fetching gem metadata from https://rubygems.org/........... Fetching rake 13.2.1 Installing rake 13.2.1 Fetching base64 0.2.0 Installing base64 0.2.0 Fetching benchmark 0.4.0 Installing benchmark 0.4.0 Fetching bigdecimal 3.1.9 Installing bigdecimal 3.1.9 with native extensions Fetching concurrent-ruby 1.3.5 Installing concurrent-ruby 1.3.5 Fetching connection_pool 2.5.0 Installing connection_pool 2.5.0 Fetching drb 2.2.1 Installing drb 2.2.1 Fetching i18n 1.14.7 Installing i18n 1.14.7 Fetching logger 1.6.6 Installing logger 1.6.6 Fetching minitest 5.25.4 Installing minitest 5.25.4 Fetching securerandom 0.4.1 Installing securerandom 0.4.1 Fetching tzinfo 2.0.6 Installing tzinfo 2.0.6 Fetching uri 1.0.2 Installing uri 1.0.2 Fetching activesupport 8.0.1 Installing activesupport 8.0.1 Fetching builder 3.3.0 Installing builder 3.3.0 Fetching erubi 1.13.1 Installing erubi 1.13.1 Fetching racc 1.8.1 Installing racc 1.8.1 with native extensions Fetching nokogiri 1.18.3 (x86_64-linux-gnu) Installing nokogiri 1.18.3 (x86_64-linux-gnu) Fetching rails-dom-testing 2.2.0 Installing rails-dom-testing 2.2.0 Fetching crass 1.0.6 Installing crass 1.0.6 Fetching loofah 2.24.0 Installing loofah 2.24.0 Fetching rails-html-sanitizer 1.6.2 Installing rails-html-sanitizer 1.6.2 Fetching actionview 8.0.1 Installing actionview 8.0.1 Fetching rack 3.1.10 Installing rack 3.1.10 Fetching rack-session 2.1.0 Installing rack-session 2.1.0 Fetching rack-test 2.2.0 Installing rack-test 2.2.0 Fetching useragent 0.16.11 Installing useragent 0.16.11 Fetching actionpack 8.0.1 Installing actionpack 8.0.1 Fetching ansi 1.5.0 Installing ansi 1.5.0 Fetching ast 2.4.2 Installing ast 2.4.2 Fetching backtrace 0.4.0 Installing backtrace 0.4.0 Fetching cucumber-ci-environment 9.2.0 Installing cucumber-ci-environment 9.2.0 Fetching cucumber-messages 22.0.0 Installing cucumber-messages 22.0.0 Fetching cucumber-gherkin 27.0.0 Installing cucumber-gherkin 27.0.0 Fetching cucumber-tag-expressions 5.0.6 Installing cucumber-tag-expressions 5.0.6 Fetching cucumber-core 13.0.3 Installing cucumber-core 13.0.3 Fetching cucumber-cucumber-expressions 17.1.0 Installing cucumber-cucumber-expressions 17.1.0 Fetching cucumber-html-formatter 21.9.0 Installing cucumber-html-formatter 21.9.0 Fetching diff-lcs 1.6.0 Installing diff-lcs 1.6.0 Fetching mini_mime 1.1.5 Installing mini_mime 1.1.5 Fetching multi_test 1.1.0 Installing multi_test 1.1.0 Fetching ffi 1.17.1 (x86_64-linux-gnu) Installing ffi 1.17.1 (x86_64-linux-gnu) Fetching sys-uname 1.3.1 Installing sys-uname 1.3.1 Fetching cucumber 9.2.1 Installing cucumber 9.2.1 Fetching date 3.4.1 Installing date 3.4.1 with native extensions Fetching docile 1.4.1 Installing docile 1.4.1 Fetching os 1.1.4 Installing os 1.1.4 Fetching loog 0.6.0 Installing loog 0.6.0 Fetching tago 0.0.2 Installing tago 0.0.2 Fetching elapsed 0.0.1 Installing elapsed 0.0.1 Fetching qbash 0.4.0 Installing qbash 0.4.0 Fetching donce 0.1.0 Installing donce 0.1.0 Fetching forwardable 1.3.3 Installing forwardable 1.3.3 Fetching keccak 1.3.2 Installing keccak 1.3.2 with native extensions Fetching konstructor 1.0.2 Installing konstructor 1.0.2 Fetching openssl 3.3.0 Installing openssl 3.3.0 with native extensions Fetching mini_portile2 2.8.8 Installing mini_portile2 2.8.8 Fetching pkg-config 1.5.9 Installing pkg-config 1.5.9 Fetching rubyzip 2.4.1 Installing rubyzip 2.4.1 Fetching rbsecp256k1 6.0.0 Installing rbsecp256k1 6.0.0 with native extensions Fetching ffi-compiler 1.3.2 Installing ffi-compiler 1.3.2 Fetching scrypt 3.0.8 Installing scrypt 3.0.8 with native extensions Fetching eth 0.5.13 Installing eth 0.5.13 Fetching eventmachine 1.2.7 Installing eventmachine 1.2.7 with native extensions Fetching websocket-extensions 0.1.5 Installing websocket-extensions 0.1.5 Fetching websocket-driver 0.7.7 Installing websocket-driver 0.7.7 with native extensions Fetching faye-websocket 0.11.3 Installing faye-websocket 0.11.3 Fetching json 2.10.1 Installing json 2.10.1 with native extensions Fetching net-http 0.6.0 Installing net-http 0.6.0 Fetching faraday-net_http 3.4.0 Installing faraday-net_http 3.4.0 Fetching faraday 2.12.2 Installing faraday 2.12.2 Fetching multi_json 1.15.0 Installing multi_json 1.15.0 Fetching jsonrpc-client 0.1.4 Installing jsonrpc-client 0.1.4 Fetching ethon 0.16.0 Installing ethon 0.16.0 Fetching io-console 0.8.0 Installing io-console 0.8.0 with native extensions Fetching prettyprint 0.2.0 Installing prettyprint 0.2.0 Fetching pp 0.6.2 Installing pp 0.6.2 Fetching stringio 3.1.5 Installing stringio 3.1.5 with native extensions Fetching psych 5.2.3 Installing psych 5.2.3 with native extensions Fetching rdoc 6.12.0 Installing rdoc 6.12.0 Fetching reline 0.6.0 Installing reline 0.6.0 Fetching irb 1.15.1 Installing irb 1.15.1 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 ruby-progressbar 1.13.0 Installing ruby-progressbar 1.13.0 Fetching minitest-reporters 1.7.1 Installing minitest-reporters 1.7.1 Fetching minitest-retry 0.2.5 Installing minitest-retry 0.2.5 Fetching parallel 1.26.3 Installing parallel 1.26.3 Fetching parser 3.3.7.1 Installing parser 3.3.7.1 Fetching rackup 2.2.1 Installing rackup 2.2.1 Fetching thor 1.3.2 Installing thor 1.3.2 Fetching zeitwerk 2.7.2 Installing zeitwerk 2.7.2 Fetching railties 8.0.1 Installing railties 8.0.1 Fetching random-port 0.7.5 Installing random-port 0.7.5 Fetching regexp_parser 2.10.0 Installing regexp_parser 2.10.0 Fetching rexml 3.4.1 Installing rexml 3.4.1 Fetching rspec-support 3.13.2 Installing rspec-support 3.13.2 Fetching rspec-core 3.13.3 Installing rspec-core 3.13.3 Fetching rspec-expectations 3.13.3 Installing rspec-expectations 3.13.3 Fetching rspec-mocks 3.13.2 Installing rspec-mocks 3.13.2 Fetching rspec-rails 7.1.1 Installing rspec-rails 7.1.1 Fetching rubocop-ast 1.38.1 Installing rubocop-ast 1.38.1 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.73.0 Installing rubocop 1.73.0 Fetching rubocop-minitest 0.37.1 Installing rubocop-minitest 0.37.1 Fetching rubocop-performance 1.24.0 Installing rubocop-performance 1.24.0 Fetching rubocop-rake 0.7.1 Installing rubocop-rake 0.7.1 Fetching rubocop-rspec 3.5.0 Installing rubocop-rspec 3.5.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 simplecov-cobertura 2.1.0 Installing simplecov-cobertura 2.1.0 Fetching threads 0.4.1 Installing threads 0.4.1 Fetching typhoeus 1.4.1 Installing typhoeus 1.4.1 Fetching yard 0.9.37 Installing yard 0.9.37 Bundle complete! 23 Gemfile dependencies, 120 gems now installed. Use `bundle info [gemname]` to see where a bundled gem is installed. Post-install message from rubyzip: RubyZip 3.0 is coming! ********************** The public API of some Rubyzip classes has been modernized to use named parameters for optional arguments. Please check your usage of the following classes: * `Zip::File` * `Zip::Entry` * `Zip::InputStream` * `Zip::OutputStream` * `Zip::DOSTime` Run your test suite with the `RUBYZIP_V3_API_WARN` environment variable set to see warnings about usage of the old API. This will help you to identify any changes that you need to make to your code. See https://github.com/rubyzip/rubyzip/wiki/Updating-to-version-3.x for more information. Please ensure that your Gemfiles and .gemspecs are suitably restrictive to avoid an unexpected breakage when 3.0 is released (e.g. ~> 2.3.0). See https://github.com/rubyzip/rubyzip for details. The Changelog also lists other enhancements and bugfixes that have been implemented since version 2.3.0. /usr/local/rvm/gems/ruby-3.2.2/gems/eth-0.5.13/lib/eth/abi/encoder.rb:52: warning: assigned but unused variable - nested_sub_size /usr/local/rvm/gems/ruby-3.2.2/gems/eth-0.5.13/lib/eth/address.rb:91: warning: ambiguity between regexp and two divisions: wrap regexp in parentheses or add a space after `/' operator /usr/local/rvm/gems/ruby-3.2.2/gems/eth-0.5.13/lib/eth/address.rb:96: warning: ambiguity between regexp and two divisions: wrap regexp in parentheses or add a space after `/' operator /usr/local/rvm/gems/ruby-3.2.2/gems/eth-0.5.13/lib/eth/address.rb:101: warning: ambiguity between regexp and two divisions: wrap regexp in parentheses or add a space after `/' operator /usr/local/rvm/gems/ruby-3.2.2/gems/eth-0.5.13/lib/eth/contract/function_input.rb:34: warning: method redefined; discarding old type /usr/local/rvm/gems/ruby-3.2.2/gems/eth-0.5.13/lib/eth/contract/function_output.rb:33: warning: method redefined; discarding old type /usr/local/rvm/gems/ruby-3.2.2/gems/eth-0.5.13/lib/eth/client.rb:74: warning: method redefined; discarding old default_account /usr/local/rvm/gems/ruby-3.2.2/gems/eth-0.5.13/lib/eth/client.rb:82: warning: method redefined; discarding old chain_id /usr/local/rvm/gems/ruby-3.2.2/gems/eth-0.5.13/lib/eth/eip712.rb:50: warning: assigned but unused variable - dependency /usr/local/rvm/gems/ruby-3.2.2/gems/eth-0.5.13/lib/eth/rlp/encoder.rb:36: warning: assigned but unused variable - result /usr/local/rvm/gems/ruby-3.2.2/gems/eth-0.5.13/lib/eth/util.rb:53: warning: assigned but unused variable - hex /usr/local/rvm/gems/ruby-3.2.2/gems/eth-0.5.13/lib/eth/util.rb:67: warning: assigned but unused variable - bin /usr/local/rvm/gems/ruby-3.2.2/gems/eth-0.5.13/lib/eth/util.rb:103: warning: ambiguity between regexp and two divisions: wrap regexp in parentheses or add a space after `/' operator /usr/local/rvm/gems/ruby-3.2.2/gems/eth-0.5.13/lib/eth/util.rb:111: warning: ambiguity between regexp and two divisions: wrap regexp in parentheses or add a space after `/' operator Started with run options --seed 68 TestWallet [MinitestRetry] retry 'test_checks_balance_via_proxy_on_mainnet' count: 1, msg: RuntimeError: The command 'sudo docker logs donce-f4c743123439' failed with exit code #256 in 35ms Error response from daemon: No such container: donce-f4c743123439 /usr/local/rvm/gems/ruby-3.2.2/gems/qbash-0.4.0/lib/qbash.rb:139:in `block in qbash' /usr/local/rvm/rubies/ruby-3.2.2/lib/ruby/3.2.0/open3.rb:228:in `popen_run' /usr/local/rvm/rubies/ruby-3.2.2/lib/ruby/3.2.0/open3.rb:210:in `popen2e' /usr/local/rvm/gems/ruby-3.2.2/gems/qbash-0.4.0/lib/qbash.rb:88:in `qbash' /usr/local/rvm/gems/ruby-3.2.2/gems/donce-0.1.0/lib/donce.rb:149:in `ensure in donce' /usr/local/rvm/gems/ruby-3.2.2/gems/donce-0.1.0/lib/donce.rb:155:in `donce' test/erc20/test_wallet.rb:365:in `block in via_proxy' /usr/local/rvm/gems/ruby-3.2.2/gems/random-port-0.7.5/lib/random-port/pool.rb:111:in `block in acquire' /usr/local/rvm/gems/ruby-3.2.2/gems/random-port-0.7.5/lib/random-port/pool.rb:91:in `loop' /usr/local/rvm/gems/ruby-3.2.2/gems/random-port-0.7.5/lib/random-port/pool.rb:91:in `acquire' test/erc20/test_wallet.rb:364:in `via_proxy' test/erc20/test_wallet.rb:292:in `test_checks_balance_via_proxy_on_mainnet' TestWallet [MinitestRetry] retry 'test_checks_balance_via_proxy_on_mainnet' count: 2, msg: The INFURA_KEY environment variable is not set TestWallet [MinitestRetry] retry 'test_checks_balance_via_proxy_on_mainnet' count: 3, msg: The INFURA_KEY environment variable is not set TestWallet test_checks_balance_via_proxy_on_mainnet 33m SKIP0m (65.65s) test_accepts_payments_on_hardhat_via_proxy 32m PASS0m (73.29s) test_accepts_payments_on_changing_addresses_on_hardhat 32m PASS0m (70.46s) test_checks_gas_estimate_on_mainnet 33m SKIP0m (0.00s) test_accepts_payments_on_hardhat 32m PASS0m (67.99s) test_checks_balance_on_hardhat 32m PASS0m (58.54s) test_checks_eth_balance_on_mainnet 33m SKIP0m (0.00s) test_checks_balance_on_testnet 33m SKIP0m (0.00s) test_checks_gas_estimate_on_hardhat 32m PASS0m (58.41s) test_pays_on_mainnet 33m SKIP0m (0.00s) test_accepts_payments_on_mainnet 33m SKIP0m (0.00s) test_checks_balance_on_hardhat_in_threads 32m PASS0m (65.24s) test_pays_on_hardhat 32m PASS0m (68.32s) test_pays_on_hardhat_in_threads 32m PASS0m (62.47s) test_checks_balance_on_polygon 33m SKIP0m (0.00s) test_fails_with_invalid_infura_key 33m SKIP0m (0.00s) test_eth_pays_on_hardhat 32m PASS0m (61.14s) test_checks_eth_balance_on_hardhat 32m PASS0m (59.17s) test_checks_balance_via_proxy 32m PASS0m (62.65s) test_checks_balance_of_absent_address 33m SKIP0m (0.00s) test_checks_balance_on_mainnet 33m SKIP0m (0.00s) test_pays_eth_on_hardhat_in_threads 32m PASS0m (68.53s) TestFakeWallet test_checks_preset_fake_eth_balance 32m PASS0m (0.00s) test_checks_fake_balance 32m PASS0m (0.00s) test_checks_gas_estimate 32m PASS0m (0.00s) test_checks_preset_fake_balance 32m PASS0m (0.00s) test_accepts_payments_on_hardhat 32m PASS0m (0.20s) test_pays_fake_money 32m PASS0m (0.00s) test_returns_host 32m PASS0m (0.00s) test_checks_gas_price 32m PASS0m (0.00s) test_pays_fake_eths 32m PASS0m (0.00s) test_checks_fake_eth_balance 32m PASS0m (0.00s) Finished in 1061.56764s 32 tests, 54 assertions, 32m0 failures, 0 errors, 0m33m10 skips0m Coverage report generated for Unit Tests to /home/r/repo/coverage/coverage.xml. 0 / 0 LOC (100.00%) covered /usr/local/rvm/rubies/ruby-3.2.2/bin/ruby -S bundle exec cucumber 90m# SPDX-FileCopyrightText: Copyright (c) 2025 Yegor Bugayenko0m 90m# SPDX-License-Identifier: MIT0m Feature: Command Line Processing As a simple ETH/ERC20 user I want to send payments Scenario: Help can be printed 90m# features/cli.feature:70m 32mWhen I run bin/erc20 with "32m1m--help0m0m32m"90m # features/step_definitions/steps.rb:320m0m 32mThen Exit code is zero90m # features/step_definitions/steps.rb:460m0m 32mAnd Stdout contains "32m1m--help0m0m32m"90m # features/step_definitions/steps.rb:380m0m Scenario: Gas price price can be retrieved 90m# features/cli.feature:120m 32mWhen I run bin/erc20 with "32m1mprice --attempts=40m0m32m"90m # features/step_definitions/steps.rb:320m0m 32mThen Exit code is zero90m # features/step_definitions/steps.rb:460m0m Scenario: ETH private key can be generated 90m# features/cli.feature:160m 32mWhen I run bin/erc20 with "32m1mkey0m0m32m"90m # features/step_definitions/steps.rb:320m0m 32mThen Exit code is zero90m # features/step_definitions/steps.rb:460m0m Scenario: ETH address can be created 90m# features/cli.feature:200m 32mWhen I run bin/erc20 with "32m1maddress 46feba063e9b59a8ae0dba68abd39a3cb8f52089e776576d6eb1bb5bfec123d10m0m32m"90m # features/step_definitions/steps.rb:320m0m 32mThen Exit code is zero90m # features/step_definitions/steps.rb:460m0m Scenario: ERC20 balance can be checked 90m# features/cli.feature:240m 32mWhen I run bin/erc20 with "32m1mbalance 0x7232148927F8a580053792f44D4d59d40Fd00ABD --verbose0m0m32m"90m # features/step_definitions/steps.rb:320m0m 32mThen Exit code is zero90m # features/step_definitions/steps.rb:460m0m Scenario: ETH balance can be checked 90m# features/cli.feature:280m 32mWhen I run bin/erc20 with "32m1meth_balance 0x7232148927F8a580053792f44D4d59d40Fd00ABD --verbose0m0m32m"90m # features/step_definitions/steps.rb:320m0m 32mThen Exit code is zero90m # features/step_definitions/steps.rb:460m0m Feature: Gem Package As a source code writer I want to be able to package the Gem into .gem file Scenario: Gem can be packaged 90m# features/gem_package.feature:80m 32mGiven It is Unix90m # features/step_definitions/steps.rb:660m0m 32mGiven I have a "32m1mexecs.rb0m0m32m" file with content:90m # features/step_definitions/steps.rb:270m0m 32m """0m 32m #!/usr/bin/env ruby0m 32m require 'rubygems'0m 32m spec = Gem::Specification::load('./spec.rb')0m 32m if spec.executables.empty?0m 32m fail 'no executables: ' + File.read('./spec.rb')0m 32m end0m 32m """0m /tmp/test20250226-6869-ce652w/erc20/lib/erc20/erc20.rb:28: warning: already initialized constant ERC20::VERSION /home/r/repo/lib/erc20/erc20.rb:28: warning: previous definition of VERSION was here WARNING: open-ended dependency on eth (>= 0.5.13) is not recommended if eth is semantically versioned, use: add_runtime_dependency 'eth', '~> 0.5', '>= 0.5.13' WARNING: open-ended dependency on faye-websocket (>= 0.11.3) is not recommended if faye-websocket is semantically versioned, use: add_runtime_dependency 'faye-websocket', '~> 0.11', '>= 0.11.3' WARNING: open-ended dependency on json (>= 2.10.1) is not recommended if json is semantically versioned, use: add_runtime_dependency 'json', '~> 2.10', '>= 2.10.1' WARNING: open-ended dependency on jsonrpc-client (>= 0.1.4) is not recommended if jsonrpc-client is semantically versioned, use: add_runtime_dependency 'jsonrpc-client', '~> 0.1', '>= 0.1.4' WARNING: open-ended dependency on loog (> 0) is not recommended use a bounded requirement, such as '~> x.y' WARNING: open-ended dependency on slop (> 4) is not recommended if slop is semantically versioned, use: add_runtime_dependency 'slop', '~> 4', '> 4' WARNING: See https://guides.rubygems.org/specification-reference/ for help 32mWhen I run bash with:90m # features/step_definitions/steps.rb:600m0m 32m """0m 32m cd erc200m 32m gem build erc20.gemspec0m 32m gem specification --ruby erc20-*.gem > ../spec.rb0m 32m cd ..0m 32m ruby execs.rb0m 32m """0m 32mThen Exit code is zero90m # features/step_definitions/steps.rb:460m0m 7 scenarios (32m7 passed0m) 17 steps (32m17 passed0m) 0m4.755s 1m32m┌──────────────────────────────────────────────────────────────────────────────┐0m0m 1m32m│0m0m Share your Cucumber Report with your team at 4m1m36mhttps://reports.cucumber.io0m0m0m 1m32m│0m0m 1m32m│0m0m 1m32m│0m0m 1m32m│0m0m Command line option: 36m--publish0m 1m32m│0m0m 1m32m│0m0m Environment variable: 36mCUCUMBER_PUBLISH_ENABLED0m=36mtrue0m 1m32m│0m0m 1m32m│0m0m cucumber.yml: 36mdefault: --publish0m 1m32m│0m0m 1m32m│0m0m 1m32m│0m0m 1m32m│0m0m More information at 4m1m36mhttps://cucumber.io/docs/cucumber/environment-variables/0m0m0m 1m32m│0m0m 1m32m│0m0m 1m32m│0m0m 1m32m│0m0m To disable this message, specify 1mCUCUMBER_PUBLISH_QUIET=true0m or use the 1m32m│0m0m 1m32m│0m0m 1m--publish-quiet0m option. You can also add this to your 1mcucumber.yml:0m 1m32m│0m0m 1m32m│0m0m 1mdefault: --publish-quiet0m 1m32m│0m0m 1m32m└──────────────────────────────────────────────────────────────────────────────┘0m0m Coverage report generated for Cucumber Features, Unit Tests to /home/r/repo/coverage. Line Coverage: 26.6% (79 / 297) Running RuboCop... 33mrubocop-rspec gem supports plugin, use `--plugin` instead of `--require`. 0m Inspecting 13 files 32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m 13 files inspected, 32mno offenses0m detected [warn]:K@param⣷tagrhasgunknowncparameter.name: hex in file `lib/erc20/wallet.rb' near line 135 [warn]: @param tag has unknown parameter name: limit in file `lib/erc20/wallet.rb' near line 232 [warn]:K@param⣯tagrhasgunknowncparameteraname:r_priv in file `lib/erc20/fake_wallet.rb' near line 98 [warn]: @param tag has unknown parameter name: _address in file `lib/erc20/fake_wallet.rb' near line 98 [warn]: @param tag has unknown parameter name: _amount in file `lib/erc20/fake_wallet.rb' near line 98 ?25h2KFiles:neratingrdo3/ERC20/FakeWallet.html.0mtml0ml0m Modules: 1 ( 0 undocumented) Classes: 2 ( 0 undocumented) Constants: 3 ( 0 undocumented) Attributes: 8 ( 0 undocumented) Methods: 18 ( 0 undocumented) 100.00% documented + mv /home/r/repo . ++ whoami + chown -R root repo + '[' -n '' ']' ++ whoami + sudo chown -R ubuntu repo + cd repo + git push origin master To github.com:yegor256/erc20.git be96ad6..f14dd50 master -> master container c7468810435f8f496fcbd58b9edff6523b7db1588a1ad06298eb93b641d067df is dead Wed Feb 26 08:54:21 UTC 2025