+ set -e + set -o pipefail ++ dirname ./run.sh + cd . + echo 1070 + echo '2.0-SNAPSHOT BUILD' 2.0-SNAPSHOT BUILD + date Sat Apr 5 00:50:12 UTC 2025 + uptime 00:50:12 up 1 min, 0 users, load average: 2.27, 0.64, 0.22 + head=git@github.com:yegor256/erc20.git + ff=default + image=yegor256/ruby + rebase=false + squash=false + head_branch=master + author=yegor256 + tag=0.1.1 + vars=('--env=head=git@github.com:yegor256/erc20.git' '--env=tag=0.1.1' '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:yegor256/erc20.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=0.1.1'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=yegor256'\''\'\'''\'''\'' '\'';'\'' '\''pdd -f /dev/null'\'' '\'';'\'' '\''bundle install --no-color'\'' '\'';'\'' '\''[[ "${tag}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] || exit -1'\'' '\'';'\'' '\''DONCE_SUDO=true bundle exec rake'\'' '\'';'\'' '\''rm -rf *.gem'\'' '\'';'\'' '\''sed -i "s/0\.0\.0/${tag}/g" lib/erc20/erc20.rb'\'' '\'';'\'' '\''git add lib/erc20/erc20.rb'\'' '\'';'\'' '\''git commit -m "version set to ${tag}"'\'' '\'';'\'' '\''gem build erc20.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/erc20.git'\''' ';' 'export '\''tag=0.1.1'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''author=yegor256'\''' ';' 'pdd -f /dev/null' ';' 'bundle install --no-color' ';' '[[ "${tag}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] || exit -1' ';' 'DONCE_SUDO=true bundle exec rake' ';' 'rm -rf *.gem' ';' 'sed -i "s/0\.0\.0/${tag}/g" lib/erc20/erc20.rb' ';' 'git add lib/erc20/erc20.rb' ';' 'git commit -m "version set to ${tag}"' ';' 'gem build erc20.gemspec' ';' 'chmod 0600 ../rubygems.yml' ';' 'gem push *.gem --config-file ../rubygems.yml' ';') + directory= + container=yegor256_erc20_57 + as_root=false + hostname ip-172-31-28-14 + pwd /tmp/rultor-K5dX + 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 '\''tag=0.1.1'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''author=yegor256'\''' ';' 'pdd -f /dev/null' ';' 'bundle install --no-color' ';' '[[ "${tag}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] || exit -1' ';' 'DONCE_SUDO=true bundle exec rake' ';' 'rm -rf *.gem' ';' 'sed -i "s/0\.0\.0/${tag}/g" lib/erc20/erc20.rb' ';' 'git add lib/erc20/erc20.rb' ';' 'git commit -m "version set to ${tag}"' ';' 'gem build erc20.gemspec' ';' 'chmod 0600 ../rubygems.yml' ';' 'gem push *.gem --config-file ../rubygems.yml' ';' + sensitive=() + rm -rf .gnupg + set -ex + '[' -z 0.1.1 ']' + [[ 0.1.1 =~ ^[a-zA-Z0-9\.\-]+$ ]] + echo 'tag name is valid: "0.1.1"' tag name is valid: "0.1.1" + cd repo ++ git tag -l 0.1.1 + '[' ']' + export BRANCH_NAME=__rultor + BRANCH_NAME=__rultor ++ wc -l ++ git show-branch __rultor + '[' 0 -gt 0 ']' + git checkout -b __rultor Switched to a new branch '__rultor' + docker_when_possible + true ++ tail -n 1 ++ sed 's/ /\n/g' ++ uptime + load=0.24 ++ bc ++ echo 0.24 '>' 30 + '[' 0 -eq 1 ']' + echo 'load average is 0.24, low enough to run a new Docker container' load average is 0.24, 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 4ff5a3a54264: Pulling fs layer 8d6bcbc2151c: Pulling fs layer 1e36295709cc: Pulling fs layer e451f55144f6: Pulling fs layer 2dd8157b40b5: Pulling fs layer c65458208920: Pulling fs layer a1dd7fc7aabd: Pulling fs layer 4f4fb700ef54: Pulling fs layer 98f300d013cf: Pulling fs layer 0f33ae39eec5: Pulling fs layer c93c8445f261: Pulling fs layer 6b3cee26e1f0: Pulling fs layer bfda3c850aa9: Pulling fs layer 0b40ad57d022: Pulling fs layer 553642531e30: Pulling fs layer 0db28847957d: Pulling fs layer e451f55144f6: Waiting 2dd8157b40b5: Waiting c65458208920: Waiting a1dd7fc7aabd: Waiting 98f300d013cf: Waiting 0f33ae39eec5: Waiting c93c8445f261: Waiting 6b3cee26e1f0: Waiting bfda3c850aa9: Waiting 0b40ad57d022: Waiting 553642531e30: Waiting 0db28847957d: Waiting 4f4fb700ef54: Waiting 8d6bcbc2151c: Verifying Checksum 8d6bcbc2151c: Download complete 4ff5a3a54264: Verifying Checksum 4ff5a3a54264: Download complete 1e36295709cc: Verifying Checksum 1e36295709cc: Download complete 2dd8157b40b5: Verifying Checksum 2dd8157b40b5: Download complete a1dd7fc7aabd: Verifying Checksum a1dd7fc7aabd: Download complete 4f4fb700ef54: Verifying Checksum 4f4fb700ef54: Download complete 98f300d013cf: Verifying Checksum 98f300d013cf: Download complete c65458208920: Verifying Checksum c65458208920: Download complete 0f33ae39eec5: Verifying Checksum 0f33ae39eec5: Download complete c93c8445f261: Verifying Checksum c93c8445f261: Download complete bfda3c850aa9: Verifying Checksum bfda3c850aa9: Download complete 6b3cee26e1f0: Verifying Checksum 6b3cee26e1f0: Download complete 553642531e30: Verifying Checksum 553642531e30: Download complete 0b40ad57d022: Verifying Checksum 0b40ad57d022: Download complete 0db28847957d: Verifying Checksum 0db28847957d: Download complete e451f55144f6: Verifying Checksum e451f55144f6: Download complete 4ff5a3a54264: Pull complete 8d6bcbc2151c: Pull complete 1e36295709cc: Pull complete e451f55144f6: Pull complete 2dd8157b40b5: Pull complete c65458208920: Pull complete a1dd7fc7aabd: Pull complete 4f4fb700ef54: Pull complete 98f300d013cf: Pull complete 0f33ae39eec5: Pull complete c93c8445f261: Pull complete 6b3cee26e1f0: Pull complete bfda3c850aa9: Pull complete 0b40ad57d022: Pull complete 553642531e30: Pull complete 0db28847957d: Pull complete Digest: sha256:4d7e3a773376424e91f8bcbc5b8ae42c98f7746daf812a71b75b1eddd4e2a5f6 Status: Downloaded newer image for yegor256/ruby:latest docker.io/yegor256/ruby:latest + docker ps --filter=status=exited + grep --quiet '\syegor256_erc20_57\s*$' + ls -al . total 52 drwx------ 3 ubuntu ubuntu 4096 Apr 5 00:50 . drwxrwxrwt 12 root root 4096 Apr 5 00:50 .. -rwxrwxr-x 1 ubuntu ubuntu 2089 Apr 5 00:50 end.sh -rwxrwxr-x 1 ubuntu ubuntu 490 Apr 5 00:50 entry.sh -rw-rw-r-- 1 ubuntu ubuntu 5 Apr 5 00:50 pid drwxrwxr-x 10 ubuntu ubuntu 4096 Apr 5 00:50 repo -rw-rw-r-- 1 ubuntu ubuntu 81 Apr 5 00:50 rubygems.yml -rwxrwxr-x 1 ubuntu ubuntu 9287 Apr 5 00:50 run.sh -rw-rw-r-- 1 ubuntu ubuntu 680 Apr 5 00:50 script.sh -rw-rw-r-- 1 ubuntu ubuntu 6545 Apr 5 00:50 stdout ++ pwd ++ pwd + docker run -t --rm -v /tmp/rultor-K5dX:/main --env=head=git@github.com:yegor256/erc20.git --env=tag=0.1.1 '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:yegor256/erc20.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=0.1.1'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=yegor256'\''\'\'''\'''\'' '\'';'\'' '\''pdd -f /dev/null'\'' '\'';'\'' '\''bundle install --no-color'\'' '\'';'\'' '\''[[ "${tag}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] || exit -1'\'' '\'';'\'' '\''DONCE_SUDO=true bundle exec rake'\'' '\'';'\'' '\''rm -rf *.gem'\'' '\'';'\'' '\''sed -i "s/0\.0\.0/${tag}/g" lib/erc20/erc20.rb'\'' '\'';'\'' '\''git add lib/erc20/erc20.rb'\'' '\'';'\'' '\''git commit -m "version set to ${tag}"'\'' '\'';'\'' '\''gem build erc20.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-K5dX/cid -w=/main -v /var/run/docker.sock:/var/run/docker.sock --name=yegor256_erc20_57 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 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 #!/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 'tag=0.1.1' ; export 'head_branch=master' ; export 'author=yegor256' ; pdd -f /dev/null ; bundle install --no-color ; [[ "${tag}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] || exit -1 ; DONCE_SUDO=true bundle exec rake ; rm -rf *.gem ; sed -i "s/0\.0\.0/${tag}/g" lib/erc20/erc20.rb ; git add lib/erc20/erc20.rb ; git commit -m "version set to ${tag}" ; gem build erc20.gemspec ; chmod 0600 ../rubygems.yml ; gem push *.gem --config-file ../rubygems.yml ; + su --login r --command /home/r/script.sh Found 7 lines in /home/r/repo/.pdd My version is 0.23.1 Ruby version is 3.4.2 at x86_64-linux Reading from root dir . Excluding target/**/* Excluding coverage/**/* /usr/local/bundle/gems/pdd-0.23.1/lib/pdd/sources.rb:90: warning: undefining the allocator of T_DATA class FileMagic /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 hardhat/hardhat.config.js ... Reading hardhat/ignition/modules/Foo.ts ... 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.6.2 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 ansi 1.5.0 Installing ansi 1.5.0 Fetching ast 2.4.3 Installing ast 2.4.3 Fetching backtrace 0.4.0 Installing backtrace 0.4.0 Fetching bigdecimal 3.1.9 Installing bigdecimal 3.1.9 with native extensions Fetching builder 3.3.0 Installing builder 3.3.0 Fetching concurrent-ruby 1.3.5 Installing concurrent-ruby 1.3.5 Fetching cucumber-ci-environment 10.0.1 Installing cucumber-ci-environment 10.0.1 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 6.1.2 Installing cucumber-tag-expressions 6.1.2 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.1 Installing diff-lcs 1.6.1 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 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.1.0 Installing tago 0.1.0 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.6.0 Installing pkg-config 1.6.0 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.2 Installing json 2.10.2 with native extensions Fetching uri 1.0.3 Installing uri 1.0.3 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 logger 1.7.0 Installing logger 1.7.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 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.5 Installing minitest 5.25.5 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.4 Installing parser 3.3.7.4 Fetching prism 1.4.0 Installing prism 1.4.0 with native extensions 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 rubocop-ast 1.44.0 Installing rubocop-ast 1.44.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.75.2 Installing rubocop 1.75.2 Fetching rubocop-minitest 0.38.0 Installing rubocop-minitest 0.38.0 Fetching rubocop-performance 1.25.0 Installing rubocop-performance 1.25.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! 22 Gemfile dependencies, 84 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/bundle/gems/bundler-2.5.16/lib/bundler/rubygems_ext.rb:250: warning: method redefined; discarding old encode_with /usr/local/lib/ruby/3.4.0/rubygems/dependency.rb:341: warning: previous definition of encode_with was here /usr/local/bundle/gems/eth-0.5.13/lib/eth/abi/encoder.rb:52: warning: assigned but unused variable - nested_sub_size /usr/local/bundle/gems/eth-0.5.13/lib/eth/address.rb:91: warning: ambiguous `/`; wrap regexp in parentheses or add a space after `/` operator /usr/local/bundle/gems/eth-0.5.13/lib/eth/address.rb:96: warning: ambiguous `/`; wrap regexp in parentheses or add a space after `/` operator /usr/local/bundle/gems/eth-0.5.13/lib/eth/address.rb:101: warning: ambiguous `/`; wrap regexp in parentheses or add a space after `/` operator /usr/local/bundle/gems/eth-0.5.13/lib/eth/contract/function_input.rb:34: warning: method redefined; discarding old type /usr/local/bundle/gems/eth-0.5.13/lib/eth/contract/function_output.rb:33: warning: method redefined; discarding old type /usr/local/bundle/gems/eth-0.5.13/lib/eth/client.rb:74: warning: method redefined; discarding old default_account /usr/local/bundle/gems/eth-0.5.13/lib/eth/client.rb:82: warning: method redefined; discarding old chain_id /usr/local/bundle/gems/eth-0.5.13/lib/eth/eip712.rb:50: warning: assigned but unused variable - dependency /usr/local/bundle/gems/eth-0.5.13/lib/eth/rlp/encoder.rb:36: warning: assigned but unused variable - result /usr/local/bundle/gems/eth-0.5.13/lib/eth/util.rb:53: warning: assigned but unused variable - hex /usr/local/bundle/gems/eth-0.5.13/lib/eth/util.rb:67: warning: assigned but unused variable - bin /usr/local/bundle/gems/eth-0.5.13/lib/eth/util.rb:103: warning: ambiguous `/`; wrap regexp in parentheses or add a space after `/` operator /usr/local/bundle/gems/eth-0.5.13/lib/eth/util.rb:111: warning: ambiguous `/`; wrap regexp in parentheses or add a space after `/` operator Started with run options --seed 30747 TestFakeWallet test_pays_fake_eths 32m PASS0m (0.00s) test_checks_fake_eth_balance 32m PASS0m (0.00s) test_checks_gas_price 32m PASS0m (0.00s) test_checks_fake_balance 32m PASS0m (0.00s) test_pays_fake_money 32m PASS0m (0.00s) test_accepts_payments_on_hardhat 32m PASS0m (0.20s) test_checks_gas_estimate 32m PASS0m (0.00s) test_checks_preset_fake_eth_balance 32m PASS0m (0.00s) test_returns_host 32m PASS0m (0.00s) test_checks_preset_fake_balance 32m PASS0m (0.00s) TestWallet test_checks_balance_via_proxy_on_mainnet 33m SKIP0m (7.13s) test_accepts_payments_on_mainnet 33m SKIP0m (0.00s) test_accepts_payments_on_hardhat 32m PASS0m (102.37s) test_accepts_payments_on_hardhat_via_proxy 32m PASS0m (89.20s) test_checks_balance_on_polygon 33m SKIP0m (0.00s) test_eth_pays_on_hardhat 32m PASS0m (59.46s) test_checks_balance_of_absent_address 33m SKIP0m (0.00s) test_checks_gas_estimate_on_hardhat 32m PASS0m (64.56s) test_checks_balance_on_hardhat_in_threads 32m PASS0m (67.21s) test_fails_with_invalid_infura_key 33m SKIP0m (0.00s) test_checks_balance_on_hardhat 32m PASS0m (73.27s) test_checks_balance_via_proxy 32m PASS0m (75.43s) test_checks_eth_balance_on_mainnet 33m SKIP0m (0.00s) test_checks_eth_balance_on_hardhat 32m PASS0m (64.66s) test_checks_balance_on_testnet 33m SKIP0m (0.00s) test_pays_on_hardhat_in_threads 32m PASS0m (63.01s) test_pays_eth_on_hardhat_in_threads 32m PASS0m (64.92s) test_checks_gas_estimate_on_mainnet 33m SKIP0m (0.00s) test_checks_balance_on_mainnet 33m SKIP0m (0.00s) test_accepts_payments_on_changing_addresses_on_hardhat 32m PASS0m (64.69s) test_pays_on_hardhat 32m PASS0m (65.56s) test_pays_on_mainnet 33m SKIP0m (0.00s) Finished in 861.69084s 32 tests, 54 assertions, 32m0 failures, 0 errors, 0m33m10 skips0m Coverage report generated for Unit Tests to /home/r/repo/coverage/coverage.xml. 246 / 255 LOC (96.47%) covered /usr/local/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/test20250405-5884-knxv62/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.909s 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: 94.98% (284 / 299) 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 /usr/local/bundle/gems/yard-0.9.37/lib/yard/templates/helpers/markup_helper.rb:105: warning: rdoc was loaded from the standard library, but will no longer be part of the default gems starting from Ruby 3.5.0. You can add rdoc to your Gemfile or gemspec to silence this warning. [warn]:m@paramitaglhaseunknownlparameter.name: hex in file `lib/erc20/wallet.rb' near line 135 ?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 [__rultor 33dd94d] version set to 0.1.1 1 file changed, 1 insertion(+), 1 deletion(-) 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 Successfully built RubyGem Name: erc20 Version: 0.1.1 File: erc20-0.1.1.gem Pushing gem to https://rubygems.org... Successfully registered gem: erc20 (0.1.1) + 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.1.1 -m '0.1.1: tagged by rultor.com' + git reset --hard HEAD is now at 33dd94d version set to 0.1.1 + 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 33dd94d). + git push --all origin Everything up-to-date + git push --tags origin To github.com:yegor256/erc20.git * [new tag] 0.1.1 -> 0.1.1 container edf6b79369844fe0546888756ce32577d98e0bfa2145468dc957d99c48550157 is dead Sat Apr 5 01:08:41 UTC 2025