rultor.com logo This build log was produced by rultor.com for yegor256/sibit#89
+ set -e
+ set -o pipefail
++ dirname ./run.sh
+ cd .
+ echo 2661565
+ echo '2.0-SNAPSHOT BUILD'
2.0-SNAPSHOT BUILD
+ date
Tue 02 Aug 2022 06:04:08 AM CEST
+ uptime
 06:04:08 up 34 days,  8:05,  0 users,  load average: 0.00, 0.00, 0.00
+ head=git@github.com:yegor256/sibit.git
+ ff=default
+ image=yegor256/rultor-image
+ rebase=false
+ squash=false
+ head_branch=master
+ author=yegor256
+ tag=0.22.0
+ vars=('--env=head=git@github.com:yegor256/sibit.git' '--env=head_branch=master' '--env=author=yegor256' '--env=tag=0.22.0' '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:yegor256/sibit.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=yegor256'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=0.22.0'\''\'\'''\'''\'' '\'';'\'' '\''pdd -f /dev/null'\'' '\'';'\'' '\''sudo bundle install --no-color "--gemfile=$(pwd)/Gemfile"'\'' '\'';'\'' '\''bundle exec rake clean test rubocop copyright'\'' '\'';'\'' '\''sed -i "s/1\.0\.snapshot/${tag}/g" lib/sibit/version.rb'\'' '\'';'\'' '\''git add lib/sibit/version.rb'\'' '\'';'\'' '\''git commit -m "version set to ${tag}"'\'' '\'';'\'' '\''gem build sibit.gemspec'\'' '\'';'\'' '\''chmod 0600 ../rubygems.yml'\'' '\'';'\'' '\''gem push *.gem --config-file ../rubygems.yml'\'' '\'';'\'' )')
+ scripts=('export '\''head=git@github.com:yegor256/sibit.git'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''author=yegor256'\''' ';' 'export '\''tag=0.22.0'\''' ';' 'pdd -f /dev/null' ';' 'sudo bundle install --no-color "--gemfile=$(pwd)/Gemfile"' ';' 'bundle exec rake clean test rubocop copyright' ';' 'sed -i "s/1\.0\.snapshot/${tag}/g" lib/sibit/version.rb' ';' 'git add lib/sibit/version.rb' ';' 'git commit -m "version set to ${tag}"' ';' 'gem build sibit.gemspec' ';' 'chmod 0600 ../rubygems.yml' ';' 'gem push *.gem --config-file ../rubygems.yml' ';')
+ directory=
+ container=yegor256_sibit_89
+ as_root=false
+ hostname
m1415.contaboserver.net
+ git --version
git version 2.25.1
+ docker --version
Docker version 20.10.17, build 100c701
+ mkdir -p /home/rultor/.ssh
+ echo -e 'Host github.com\n\tStrictHostKeyChecking no\n'
+ chmod 600 /home/rultor/.ssh/config
+ git clone git@github.com:yegor256/sibit.git repo
Cloning into 'repo'...
+ cd repo
+ git config user.email me@rultor.com
+ git config user.name rultor
+ '[' -z 'export '\''head=git@github.com:yegor256/sibit.git'\''' ']'
+ cd ..
+ cat
+ '[' false = true ']'
+ cat
+ chmod a+x entry.sh
+ cat
+ echo 'export '\''head=git@github.com:yegor256/sibit.git'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''author=yegor256'\''' ';' 'export '\''tag=0.22.0'\''' ';' 'pdd -f /dev/null' ';' 'sudo bundle install --no-color "--gemfile=$(pwd)/Gemfile"' ';' 'bundle exec rake clean test rubocop copyright' ';' 'sed -i "s/1\.0\.snapshot/${tag}/g" lib/sibit/version.rb' ';' 'git add lib/sibit/version.rb' ';' 'git commit -m "version set to ${tag}"' ';' 'gem build sibit.gemspec' ';' 'chmod 0600 ../rubygems.yml' ';' 'gem push *.gem --config-file ../rubygems.yml' ';'
+ sensitive=()
+ rm -rf .gpg
+ '[' -z 0.22.0 ']'
+ [[ 0.22.0 =~ ^[a-zA-Z0-9\.\-]+$ ]]
+ echo 'tag name is valid: "0.22.0"'
tag name is valid: "0.22.0"
+ cd repo
++ git tag -l 0.22.0
+ '[' ']'
+ export BRANCH_NAME=__rultor
+ BRANCH_NAME=__rultor
++ git show-branch __rultor
++ wc -l
+ '[' 0 -gt 0 ']'
+ git checkout -b __rultor
Switched to a new branch '__rultor'
+ docker_when_possible
+ true
++ uptime
++ sed 's/ /\n/g'
++ tail -n 1
+ load=0.00
++ echo 0.00 '>' 30
++ bc
+ '[' 0 -eq 1 ']'
+ echo 'load average is 0.00, low enough to run a new Docker container'
load average is 0.00, low enough to run a new Docker container
+ break
+ cd ..
+ '[' -n '' ']'
+ use_image=yegor256/rultor-image
+ docker pull yegor256/rultor-image
Using default tag: latest
latest: Pulling from yegor256/rultor-image
Digest: sha256:a9c5619e43f7edf12044038e651f340c66507f58962e0a7e472a8ec6a008e7da
Status: Image is up to date for yegor256/rultor-image:latest
docker.io/yegor256/rultor-image:latest
+ docker ps --filter=status=exited
+ grep --quiet '\syegor256_sibit_89\s*$'
+ ls -al .
total 44
drwx------  3 rultor rultor 4096 Aug  2 06:04 .
drwxrwxrwt 16 root   root   4096 Aug  2 06:04 ..
-rwxrwxr-x  1 rultor rultor  363 Aug  2 06:04 entry.sh
-rw-rw-r--  1 rultor rultor    8 Aug  2 06:04 pid
drwxrwxr-x  8 rultor rultor 4096 Aug  2 06:04 repo
-rw-rw-r--  1 rultor rultor   56 Aug  2 06:04 rubygems.yml
-rwxrwxr-x  1 rultor rultor 5839 Aug  2 06:04 run.sh
-rw-rw-r--  1 rultor rultor  608 Aug  2 06:04 script.sh
-rw-rw-r--  1 rultor rultor 4149 Aug  2 06:04 stdout
++ pwd
++ pwd
+ docker run -t --rm -v /tmp/rultor-LdLH:/main --env=head=git@github.com:yegor256/sibit.git --env=head_branch=master --env=author=yegor256 --env=tag=0.22.0 '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:yegor256/sibit.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=yegor256'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=0.22.0'\''\'\'''\'''\'' '\'';'\'' '\''pdd -f /dev/null'\'' '\'';'\'' '\''sudo bundle install --no-color "--gemfile=$(pwd)/Gemfile"'\'' '\'';'\'' '\''bundle exec rake clean test rubocop copyright'\'' '\'';'\'' '\''sed -i "s/1\.0\.snapshot/${tag}/g" lib/sibit/version.rb'\'' '\'';'\'' '\''git add lib/sibit/version.rb'\'' '\'';'\'' '\''git commit -m "version set to ${tag}"'\'' '\'';'\'' '\''gem build sibit.gemspec'\'' '\'';'\'' '\''chmod 0600 ../rubygems.yml'\'' '\'';'\'' '\''gem push *.gem --config-file ../rubygems.yml'\'' '\'';'\'' )' --hostname=docker --privileged --memory=6g --memory-swap=16g --oom-kill-disable --cidfile=/tmp/rultor-LdLH/cid -w=/main -v /var/run/docker.sock:/var/run/docker.sock --name=yegor256_sibit_89 yegor256/rultor-image /main/entry.sh
WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
+ set -e
+ set -o pipefail
+ shopt -s dotglob
+ useradd -m -G sudo r
+ usermod -s /bin/bash r
+ echo '%sudo ALL=(ALL) NOPASSWD:ALL'
+ cp -R /root/.bashrc /root/.cache /root/.config /root/.gem /root/.gnupg /root/.m2 /root/.npm /root/.profile /root/texmf /home/r
+ cp -R ./cid ./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
+ su --login r --command /home/r/script.sh
+ set -e
+ set -o pipefail
+ shopt -s expand_aliases
+ alias 'sudo=sudo -i'
+ export HOME=/home/r
+ HOME=/home/r
+ cd /home/r/repo
+ export head=git@github.com:yegor256/sibit.git
+ head=git@github.com:yegor256/sibit.git
+ export head_branch=master
+ head_branch=master
+ export author=yegor256
+ author=yegor256
+ export tag=0.22.0
+ tag=0.22.0
+ pdd -f /dev/null
Found 7 lines in /home/r/repo/.pdd
My version is 0.20.8
Ruby version is 2.7.0 at x86_64-linux
Reading from root dir .
38;5;214mExcluding0m target/**/*
38;5;214mExcluding0m coverage/**/*
Reading .travis.yml ...
Reading .gitattributes ...
Reading bin/sibit ...
Reading features/cli.feature ...
Reading features/support/env.rb ...
Reading features/gem_package.feature ...
Reading features/step_definitions/steps.rb ...
Reading LICENSE.txt ...
Reading .github/workflows/pdd.yml ...
Reading .github/workflows/codecov.yml ...
Reading .github/workflows/xcop.yml ...
Reading .github/workflows/rake.yml ...
Reading README.md ...
Reading lib/sibit.rb ...
Reading lib/sibit/firstof.rb ...
Reading lib/sibit/cryptoapis.rb ...
Reading lib/sibit/json.rb ...
Reading lib/sibit/btc.rb ...
Reading lib/sibit/http.rb ...
Reading lib/sibit/blockchain.rb ...
Reading lib/sibit/bitcoinchain.rb ...
Reading lib/sibit/error.rb ...
Reading lib/sibit/log.rb ...
Reading lib/sibit/fake.rb ...
Reading lib/sibit/blockchair.rb ...
Reading lib/sibit/bestof.rb ...
Reading lib/sibit/version.rb ...
Reading lib/sibit/cex.rb ...
Reading lib/sibit/earn.rb ...
Reading .0pdd.yml ...
Reading .simplecov ...
Reading .gitignore ...
Reading logo.svg ...
Reading .rultor.yml ...
Reading .rubocop.yml ...
Reading Gemfile ...
Reading appveyor.yml ...
Reading Rakefile ...
Reading test/test_cex.rb ...
Reading test/test_blockchain.rb ...
Reading test/test_blockchair.rb ...
Reading test/test_bestof.rb ...
Reading test/test_json.rb ...
Reading test/test_firstof.rb ...
Reading test/test_sibit.rb ...
Reading test/test_fake.rb ...
Reading test/test_cryptoapis.rb ...
Reading test/test_live.rb ...
Reading test/test__helper.rb ...
Reading test/test_btc.rb ...
Reading test/test_bitcoinchain.rb ...
Reading cucumber.yml ...
Reading .pdd ...
Reading sibit.gemspec ...
++ pwd
+ sudo -i bundle install --no-color --gemfile=/home/r/repo/Gemfile
Don't run Bundler as root. Bundler can ask for sudo if it is needed, and
installing your bundle as root will break this application for all non-root
users on this machine.
fatal: unsafe repository ('/home/r/repo' is owned by someone else)
To add an exception for this directory, call:

        git config --global --add safe.directory /home/r/repo
Fetching gem metadata from https://rubygems.org/...........
Resolving dependencies....
Fetching rake 13.0.6
Installing rake 13.0.6
Using bundler 2.3.16
Fetching childprocess 4.1.0
Fetching concurrent-ruby 1.1.10
Fetching minitest 5.16.2
Fetching builder 3.2.4
Fetching erubi 1.10.0
Fetching racc 1.6.0
Fetching crass 1.0.6
Fetching rack 2.2.4
Fetching public_suffix 4.0.7
Fetching contracts 0.16.1
Fetching cucumber-messages 18.0.0
Fetching cucumber-ci-environment 9.1.0
Installing childprocess 4.1.0
Installing builder 3.2.4
Installing crass 1.0.6
Installing racc 1.6.0 with native extensions
Installing cucumber-messages 18.0.0
Installing contracts 0.16.1
Installing minitest 5.16.2
Installing cucumber-ci-environment 9.1.0
Installing concurrent-ruby 1.1.10
Installing erubi 1.10.0
Installing public_suffix 4.0.7
Installing rack 2.2.4
Fetching cucumber-tag-expressions 4.1.0
Fetching cucumber-cucumber-expressions 15.2.0
Fetching diff-lcs 1.5.0
Fetching mime-types-data 3.2022.0105
Fetching multi_test 1.1.0
Fetching ffi 1.15.5
Fetching rspec-support 3.11.0
Installing cucumber-cucumber-expressions 15.2.0
Fetching thor 1.2.1
Installing multi_test 1.1.0
Fetching ast 2.4.2
Installing mime-types-data 3.2022.0105
Installing cucumber-tag-expressions 4.1.0
Fetching backtrace 0.3.0
Installing rspec-support 3.11.0
Installing thor 1.2.1
Installing ast 2.4.2
Installing diff-lcs 1.5.0
Installing backtrace 0.3.0
Fetching eventmachine 1.2.7
Fetching simplecov-html 0.12.3
Fetching docile 1.4.0
Installing ffi 1.15.5 with native extensions
Fetching simplecov_json_formatter 0.1.4
Fetching rexml 3.2.5
Fetching debase-ruby_core_source 0.10.16
Fetching hashdiff 1.0.1
Installing docile 1.4.0
Installing eventmachine 1.2.7 with native extensions
Installing rexml 3.2.5
Installing simplecov-html 0.12.3
Fetching iri 0.5.1
Fetching json 2.6.2
Installing hashdiff 1.0.1
Installing simplecov_json_formatter 0.1.4
Fetching method_source 1.0.0
Installing method_source 1.0.0
Installing json 2.6.2 with native extensions
Fetching parallel 1.22.1
Fetching zeitwerk 2.6.0
Installing iri 0.5.1
Installing parallel 1.22.1
Using rainbow 3.1.1
Fetching regexp_parser 2.5.0
Installing zeitwerk 2.6.0
Fetching retriable 3.1.2
Fetching ruby-progressbar 1.11.0
Fetching unicode-display_width 2.2.0
Using slop 4.9.2
Fetching cucumber-gherkin 23.0.1
Installing unicode-display_width 2.2.0
Installing retriable 3.1.2
Fetching cucumber-html-formatter 19.2.0
Installing ruby-progressbar 1.11.0
Installing cucumber-gherkin 23.0.1
Fetching addressable 2.8.0
Fetching rack-test 2.0.2
Installing regexp_parser 2.5.0
Fetching i18n 1.12.0
Fetching tzinfo 2.0.5
Installing rack-test 2.0.2
Installing i18n 1.12.0
Installing tzinfo 2.0.5
Fetching rspec-core 3.11.0
Installing addressable 2.8.0
Fetching parser 3.1.2.0
Installing rspec-core 3.11.0
Fetching mime-types 3.4.1
Fetching rspec-expectations 3.11.0
Installing debase-ruby_core_source 0.10.16
Installing mime-types 3.4.1
Installing cucumber-html-formatter 19.2.0
Installing rspec-expectations 3.11.0
Fetching rspec-mocks 3.11.1
Installing parser 3.1.2.0
Fetching crack 0.4.5
Fetching nokogiri 1.13.8 (x86_64-linux)
Installing rspec-mocks 3.11.1
Fetching simplecov 0.21.2
Installing crack 0.4.5
Fetching retriable_proxy 1.0.2
Fetching cucumber-core 11.0.0
Fetching activesupport 7.0.3.1
Installing retriable_proxy 1.0.2
Installing simplecov 0.21.2
Installing cucumber-core 11.0.0
Fetching webmock 3.15.0
Installing activesupport 7.0.3.1
Installing webmock 3.15.0
Fetching rubocop-ast 1.19.1
Fetching codecov 0.6.0
Installing rubocop-ast 1.19.1
Installing codecov 0.6.0
Installing nokogiri 1.13.8 (x86_64-linux)
Fetching rails-dom-testing 2.0.3
Fetching loofah 2.18.0
Installing loofah 2.18.0
Installing rails-dom-testing 2.0.3
Fetching rails-html-sanitizer 1.4.3
Installing rails-html-sanitizer 1.4.3
Fetching actionview 7.0.3.1
Installing actionview 7.0.3.1
Fetching actionpack 7.0.3.1
Installing actionpack 7.0.3.1
Fetching railties 7.0.3.1
Installing railties 7.0.3.1
Fetching rspec-rails 5.1.2
Installing rspec-rails 5.1.2
Fetching debase 0.2.4.1
Installing debase 0.2.4.1 with native extensions
Fetching sys-uname 1.2.2
Fetching ffi-compiler 1.0.1
Installing sys-uname 1.2.2
Fetching cucumber 8.0.0
Installing cucumber 8.0.0
Installing ffi-compiler 1.0.1
Fetching rubocop 1.32.0
Fetching scrypt 3.0.7
Installing scrypt 3.0.7 with native extensions
Fetching aruba 2.1.0
Installing aruba 2.1.0
Installing rubocop 1.32.0
Fetching rubocop-rspec 2.12.1
Installing rubocop-rspec 2.12.1
Fetching bitcoin-ruby 0.0.20
Installing bitcoin-ruby 0.0.20
Using sibit 1.0.snapshot from source at `.`
Bundle complete! 11 Gemfile dependencies, 79 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
Post-install message from contracts:

    0.16.x will be the supporting Ruby 2.x and be feature frozen (only fixes will be released)
    For Ruby 3.x use 0.17.x or later (might not be released yet)
  + bundle exec rake clean test rubocop copyright
Run options: --seed 25578

# Running:

GET https://blockchain.info/rawblock/0000000000000000000f676241aabc9b62b748d26192a44bc25720c34de27d19: 200/124b in 3ms
32m.0m33mS0m33mS0m33mS0m33mS0m33mS0m33mS0m33mS0m33mS0m33mS0mGET https://api-r.bitcoinchain.com/v1/status: 200/16b in 2ms
The latest block hash is test
32m.0mGET https://api-r.bitcoinchain.com/v1/address/1Chain4asCYNnLVbvG6pgCLGBrtzh4Lx4b: 200/16b in 2ms
The balance of 1Chain4asCYNnLVbvG6pgCLGBrtzh4Lx4b is 500000000 satoshi ( txns)
32m.0mGET https://api-r.bitcoinchain.com/v1/block/000000000000000007341915521967247f1dec17b3a311b8a8f4495392f1439b: 200/56b in 6ms
GET https://api-r.bitcoinchain.com/v1/block/txs/000000000000000007341915521967247f1dec17b3a311b8a8f4495392f1439b: 200/91b in 2ms
32m.0mCalling Sibit::Fake#latest()...
Calling Sibit::Fake#fees()...
32m.0mCalling #latest()...
Calling #latest()...
Sibit::Error: intentionally
        /home/r/repo/test/test_firstof.rb:54:in `latest'
        /home/r/repo/lib/sibit/firstof.rb:112:in `block in first_of'
        /home/r/repo/lib/sibit/firstof.rb:109:in `each'
        /home/r/repo/lib/sibit/firstof.rb:109:in `first_of'
        /home/r/repo/lib/sibit/firstof.rb:85:in `latest'
        /home/r/repo/test/test_firstof.rb:59:in `block in test_all_fail'
        /usr/local/rvm/gems/ruby-2.7.0/gems/minitest-5.16.2/lib/minitest/assertions.rb:404:in `assert_raises'
        /home/r/repo/test/test_firstof.rb:58:in `test_all_fail'
        /usr/local/rvm/gems/ruby-2.7.0/gems/minitest-5.16.2/lib/minitest/test.rb:98:in `block (3 levels) in run'
        /usr/local/rvm/gems/ruby-2.7.0/gems/minitest-5.16.2/lib/minitest/test.rb:195:in `capture_exceptions'
        /usr/local/rvm/gems/ruby-2.7.0/gems/minitest-5.16.2/lib/minitest/test.rb:95:in `block (2 levels) in run'
        /usr/local/rvm/gems/ruby-2.7.0/gems/minitest-5.16.2/lib/minitest.rb:296:in `time_it'
        /usr/local/rvm/gems/ruby-2.7.0/gems/minitest-5.16.2/lib/minitest/test.rb:94:in `block in run'
        /usr/local/rvm/gems/ruby-2.7.0/gems/minitest-5.16.2/lib/minitest.rb:391:in `on_signal'
        /usr/local/rvm/gems/ruby-2.7.0/gems/minitest-5.16.2/lib/minitest/test.rb:243:in `with_info_handler'
        /usr/local/rvm/gems/ruby-2.7.0/gems/minitest-5.16.2/lib/minitest/test.rb:93:in `run'
        /usr/local/rvm/gems/ruby-2.7.0/gems/minitest-5.16.2/lib/minitest.rb:1059:in `run_one_method'
        /usr/local/rvm/gems/ruby-2.7.0/gems/minitest-5.16.2/lib/minitest.rb:365:in `run_one_method'
        /usr/local/rvm/gems/ruby-2.7.0/gems/minitest-5.16.2/lib/minitest.rb:352:in `block (2 levels) in run'
        /usr/local/rvm/gems/ruby-2.7.0/gems/minitest-5.16.2/lib/minitest.rb:351:in `each'
        /usr/local/rvm/gems/ruby-2.7.0/gems/minitest-5.16.2/lib/minitest.rb:351:in `block in run'
        /usr/local/rvm/gems/ruby-2.7.0/gems/minitest-5.16.2/lib/minitest.rb:391:in `on_signal'
        /usr/local/rvm/gems/ruby-2.7.0/gems/minitest-5.16.2/lib/minitest.rb:378:in `with_info_handler'
        /usr/local/rvm/gems/ruby-2.7.0/gems/minitest-5.16.2/lib/minitest.rb:350:in `run'
        /usr/local/rvm/gems/ruby-2.7.0/gems/minitest-5.16.2/lib/minitest.rb:182:in `block in __run'
        /usr/local/rvm/gems/ruby-2.7.0/gems/minitest-5.16.2/lib/minitest.rb:182:in `map'
        /usr/local/rvm/gems/ruby-2.7.0/gems/minitest-5.16.2/lib/minitest.rb:182:in `__run'
        /usr/local/rvm/gems/ruby-2.7.0/gems/minitest-5.16.2/lib/minitest.rb:159:in `run'
        /usr/local/rvm/gems/ruby-2.7.0/gems/minitest-5.16.2/lib/minitest.rb:83:in `block in autorun'
Sibit::Error: intentionally
        /home/r/repo/test/test_firstof.rb:54:in `latest'
        /home/r/repo/lib/sibit/firstof.rb:112:in `block in first_of'
        /home/r/repo/lib/sibit/firstof.rb:109:in `each'
        /home/r/repo/lib/sibit/firstof.rb:109:in `first_of'
        /home/r/repo/lib/sibit/firstof.rb:85:in `latest'
        /home/r/repo/test/test_firstof.rb:59:in `block in test_all_fail'
        /usr/local/rvm/gems/ruby-2.7.0/gems/minitest-5.16.2/lib/minitest/assertions.rb:404:in `assert_raises'
        /home/r/repo/test/test_firstof.rb:58:in `test_all_fail'
        /usr/local/rvm/gems/ruby-2.7.0/gems/minitest-5.16.2/lib/minitest/test.rb:98:in `block (3 levels) in run'
        /usr/local/rvm/gems/ruby-2.7.0/gems/minitest-5.16.2/lib/minitest/test.rb:195:in `capture_exceptions'
        /usr/local/rvm/gems/ruby-2.7.0/gems/minitest-5.16.2/lib/minitest/test.rb:95:in `block (2 levels) in run'
        /usr/local/rvm/gems/ruby-2.7.0/gems/minitest-5.16.2/lib/minitest.rb:296:in `time_it'
        /usr/local/rvm/gems/ruby-2.7.0/gems/minitest-5.16.2/lib/minitest/test.rb:94:in `block in run'
        /usr/local/rvm/gems/ruby-2.7.0/gems/minitest-5.16.2/lib/minitest.rb:391:in `on_signal'
        /usr/local/rvm/gems/ruby-2.7.0/gems/minitest-5.16.2/lib/minitest/test.rb:243:in `with_info_handler'
        /usr/local/rvm/gems/ruby-2.7.0/gems/minitest-5.16.2/lib/minitest/test.rb:93:in `run'
        /usr/local/rvm/gems/ruby-2.7.0/gems/minitest-5.16.2/lib/minitest.rb:1059:in `run_one_method'
        /usr/local/rvm/gems/ruby-2.7.0/gems/minitest-5.16.2/lib/minitest.rb:365:in `run_one_method'
        /usr/local/rvm/gems/ruby-2.7.0/gems/minitest-5.16.2/lib/minitest.rb:352:in `block (2 levels) in run'
        /usr/local/rvm/gems/ruby-2.7.0/gems/minitest-5.16.2/lib/minitest.rb:351:in `each'
        /usr/local/rvm/gems/ruby-2.7.0/gems/minitest-5.16.2/lib/minitest.rb:351:in `block in run'
        /usr/local/rvm/gems/ruby-2.7.0/gems/minitest-5.16.2/lib/minitest.rb:391:in `on_signal'
        /usr/local/rvm/gems/ruby-2.7.0/gems/minitest-5.16.2/lib/minitest.rb:378:in `with_info_handler'
        /usr/local/rvm/gems/ruby-2.7.0/gems/minitest-5.16.2/lib/minitest.rb:350:in `run'
        /usr/local/rvm/gems/ruby-2.7.0/gems/minitest-5.16.2/lib/minitest.rb:182:in `block in __run'
        /usr/local/rvm/gems/ruby-2.7.0/gems/minitest-5.16.2/lib/minitest.rb:182:in `map'
        /usr/local/rvm/gems/ruby-2.7.0/gems/minitest-5.16.2/lib/minitest.rb:182:in `__run'
        /usr/local/rvm/gems/ruby-2.7.0/gems/minitest-5.16.2/lib/minitest.rb:159:in `run'
        /usr/local/rvm/gems/ruby-2.7.0/gems/minitest-5.16.2/lib/minitest.rb:83:in `block in autorun'
32m.0m32m.0mCalling Sibit::Fake#latest()...
Calling Sibit::Fake#fees()...
32m.0mGET https://api.blockchair.com/bitcoin/dashboards/address/1GkQmKAmHtNfnD3LHhTkewJxKHVSta4m2a#: 200/105b in 2ms
The balance of 1GkQmKAmHtNfnD3LHhTkewJxKHVSta4m2a is 1 satoshi
32m.0mGET https://hello.com: 200/12b in 1ms
GET https://hello.com/: 200/12b in 1ms
32m.0mGET https://api.cryptoapis.io/v1/bc/btc/mainnet/blocks/000000000000000007341915521967247f1dec17b3a311b8a8f4495392f1439b: 200/74b in 6ms
GET https://api.cryptoapis.io/v1/bc/btc/mainnet/txs/block/000000000000000007341915521967247f1dec17b3a311b8a8f4495392f1439b?index=0&limit=200: 200/89b in 2ms
32m.0m32m.0mBitcoin tx found at 00000000000000000008df8a6e1b61d1136803ac9791b8725235c9f780b4ed71:0 for 1000 sent to 1HqhZx8U18TYS5paraTM1MzUQWb7ZbcG9u
We checked 1 txns and 1 outputs in block 00000000000000000008df8a6e1b61d1136803ac9791b8725235c9f780b4ed71 (by Sibit::Fake)
Bitcoin tx found at 00000000000000000008df8a6e1b61d1136803ac9791b8725235c9f780b4ed71:0 for 1000 sent to 1HqhZx8U18TYS5paraTM1MzUQWb7ZbcG9u
We checked 1 txns and 1 outputs in block 00000000000000000008df8a6e1b61d1136803ac9791b8725235c9f780b4ed71 (by Sibit::Fake)
Bitcoin tx found at 00000000000000000008df8a6e1b61d1136803ac9791b8725235c9f780b4ed71:0 for 1000 sent to 1HqhZx8U18TYS5paraTM1MzUQWb7ZbcG9u
We checked 1 txns and 1 outputs in block 00000000000000000008df8a6e1b61d1136803ac9791b8725235c9f780b4ed71 (by Sibit::Fake)
Bitcoin tx found at 00000000000000000008df8a6e1b61d1136803ac9791b8725235c9f780b4ed71:0 for 1000 sent to 1HqhZx8U18TYS5paraTM1MzUQWb7ZbcG9u
We checked 1 txns and 1 outputs in block 00000000000000000008df8a6e1b61d1136803ac9791b8725235c9f780b4ed71 (by Sibit::Fake)
Bitcoin tx found at 00000000000000000008df8a6e1b61d1136803ac9791b8725235c9f780b4ed71:0 for 1000 sent to 1HqhZx8U18TYS5paraTM1MzUQWb7ZbcG9u
We checked 1 txns and 1 outputs in block 00000000000000000008df8a6e1b61d1136803ac9791b8725235c9f780b4ed71 (by Sibit::Fake)
Too many blocks (5) in one go, let's get back to it next time
Scanned from 00000000000000000008df8a6e1b61d1136803ac9791b8725235c9f780b4ed71 to 00000000000000000008df8a6e1b61d1136803ac9791b8725235c9f780b4ed71 (5 blocks)
32m.0mGET https://blockchain.info/latestblock: 200/76b in 1ms
The latest block hash is 0000000000000538200a48202ca6340e983646ca088c7618ae82d68e0c76ef5a
32m.0m32m.0mGET https://blockchain.info/ticker: 200/27b in 1ms
The price of BTC is 5160.04 USD
32m.0mBitcoin tx found at hash:0 for 123 sent to addr
We checked 1 txns and 1 outputs in block 00000000000000000008df8a6e1b61d1136803ac9791b8725235c9f780b4ed71 (by )
Bitcoin tx found at hash:0 for 123 sent to addr
We checked 1 txns and 1 outputs in block next (by )
Bitcoin tx found at hash:0 for 123 sent to addr
We checked 1 txns and 1 outputs in block next (by )
Bitcoin tx found at hash:0 for 123 sent to addr
We checked 1 txns and 1 outputs in block next (by )
Bitcoin tx found at hash:0 for 123 sent to addr
We checked 1 txns and 1 outputs in block next (by )
Too many blocks (5) in one go, let's get back to it next time
Scanned from 00000000000000000008df8a6e1b61d1136803ac9791b8725235c9f780b4ed71 to next (5 blocks)
32m.0mGET https://blockchain.info/rawaddr/1MZT1fa6y8H9UmbZV6HqKF4UY41o9MGT5f?limit=0: 200/22b in 2ms
The balance of 1MZT1fa6y8H9UmbZV6HqKF4UY41o9MGT5f is 100 satoshi ( txns)
32m.0mBitcoin private key generated: 0b8fe935a...
key: 0b8fe935a53fa92fe706e284408619be8c996bd86f0c4e56b26a60ccd7a8157f
address: 18e9avGQ3aZSWbfh1ceqkxR17PyGsGWDza
32m.0mBitcoin private key generated: b9642491a...
Bitcoin private key generated: 59da247e9...
0 UTXOs found, these will be used (value/confirmations at tx_hash):
32m.0mBitcoin private key generated: 7d9cd9f51...
Bitcoin private key generated: 86a887ae1...
Calling Sibit::Earn#price()...
Calling Sibit::Blockchain#price()...
GET https://blockchain.info/ticker: 200/27b in 3ms
The price of BTC is 5160.04 USD
Calling Sibit::Earn#utxos()...
Calling Sibit::Blockchain#utxos()...
GET https://blockchain.info/unspent?active=1JvCsJtLmCxEk7ddZFnVkGXpr9uhxZPmJi&limit=1000: 200/339b in 2ms
1 UTXOs found, these will be used (value/confirmations at tx_hash):
/usr/local/rvm/gems/ruby-2.7.0/gems/bitcoin-ruby-0.0.20/lib/bitcoin/builder.rb:401: warning: instance variable @prev_tx not initialized
  100,000s/$5.16/ at 5de641d3867eb8fec3eb1a5ef2b44df39b54e0b3bb664ab520f2ae26a5b18ffc
Calling Sibit::Earn#fees()...
GET https://bitcoinfees.earn.com/api/v1/fees/recommended: 200/50b in 2ms
Current recommended Bitcoin fees: 180/200/300 sat/byte
A new Bitcoin transaction 34412e14eac53db3864553a8ff58b87196b1b3cfa19990725dec811ebd0533b5 prepared:
  1 input:
     in: fc8fb1a526aef220b54a66bbb3e0549bf34db4f25e1aebc3feb87e86d341e65d:0
  2 outputs:
    out: 76a91482df7912fa7ef2614bd1157beb2d0a4321d06b6488ac / 10,000s/$0.52
    out: 76a9146f2e044bd6c522566ef2d5eff80ceb1ebf5e7a4188ac / 63,200s/$3.26
  Min tx fee: 10,000s/$0.52
  Fee requested: 16,800s/$0.87 as "S"
  Fee actually paid: 26,800s/$1.38
  Tx size: 280 bytes
  Unspent: 100,000s/$5.16
  Amount: 10,000s/$0.52
  Target address: 1CvzZ7QXNpAqHi9cKXFAtec4dVVThKstq7
  Change address is 1B8s8bXSnqvE5xxkxkV8TonCN6zPgnjgav
Calling Sibit::Earn#push()...
Calling Sibit::Blockchain#push()...
POST https://blockchain.info/pushtx: 200 in 1ms
32m.0mBitcoin private key generated: b43431f4b...
32m.0mGET https://bitcoinfees.earn.com/api/v1/fees/recommended: 200/50b in 2ms
Current recommended Bitcoin fees: 180/200/300 sat/byte
32m.0m32m.0mSibit::Error: intentionally
        /home/r/repo/test/test_bestof.rb:54:in `latest'
        /home/r/repo/lib/sibit/bestof.rb:109:in `block in best_of'
        /home/r/repo/lib/sibit/bestof.rb:108:in `each'
        /home/r/repo/lib/sibit/bestof.rb:108:in `best_of'
        /home/r/repo/lib/sibit/bestof.rb:85:in `latest'
        /home/r/repo/test/test_bestof.rb:59:in `block in test_all_fail'
        /usr/local/rvm/gems/ruby-2.7.0/gems/minitest-5.16.2/lib/minitest/assertions.rb:404:in `assert_raises'
        /home/r/repo/test/test_bestof.rb:58:in `test_all_fail'
        /usr/local/rvm/gems/ruby-2.7.0/gems/minitest-5.16.2/lib/minitest/test.rb:98:in `block (3 levels) in run'
        /usr/local/rvm/gems/ruby-2.7.0/gems/minitest-5.16.2/lib/minitest/test.rb:195:in `capture_exceptions'
        /usr/local/rvm/gems/ruby-2.7.0/gems/minitest-5.16.2/lib/minitest/test.rb:95:in `block (2 levels) in run'
        /usr/local/rvm/gems/ruby-2.7.0/gems/minitest-5.16.2/lib/minitest.rb:296:in `time_it'
        /usr/local/rvm/gems/ruby-2.7.0/gems/minitest-5.16.2/lib/minitest/test.rb:94:in `block in run'
        /usr/local/rvm/gems/ruby-2.7.0/gems/minitest-5.16.2/lib/minitest.rb:391:in `on_signal'
        /usr/local/rvm/gems/ruby-2.7.0/gems/minitest-5.16.2/lib/minitest/test.rb:243:in `with_info_handler'
        /usr/local/rvm/gems/ruby-2.7.0/gems/minitest-5.16.2/lib/minitest/test.rb:93:in `run'
        /usr/local/rvm/gems/ruby-2.7.0/gems/minitest-5.16.2/lib/minitest.rb:1059:in `run_one_method'
        /usr/local/rvm/gems/ruby-2.7.0/gems/minitest-5.16.2/lib/minitest.rb:365:in `run_one_method'
        /usr/local/rvm/gems/ruby-2.7.0/gems/minitest-5.16.2/lib/minitest.rb:352:in `block (2 levels) in run'
        /usr/local/rvm/gems/ruby-2.7.0/gems/minitest-5.16.2/lib/minitest.rb:351:in `each'
        /usr/local/rvm/gems/ruby-2.7.0/gems/minitest-5.16.2/lib/minitest.rb:351:in `block in run'
        /usr/local/rvm/gems/ruby-2.7.0/gems/minitest-5.16.2/lib/minitest.rb:391:in `on_signal'
        /usr/local/rvm/gems/ruby-2.7.0/gems/minitest-5.16.2/lib/minitest.rb:378:in `with_info_handler'
        /usr/local/rvm/gems/ruby-2.7.0/gems/minitest-5.16.2/lib/minitest.rb:350:in `run'
        /usr/local/rvm/gems/ruby-2.7.0/gems/minitest-5.16.2/lib/minitest.rb:182:in `block in __run'
        /usr/local/rvm/gems/ruby-2.7.0/gems/minitest-5.16.2/lib/minitest.rb:182:in `map'
        /usr/local/rvm/gems/ruby-2.7.0/gems/minitest-5.16.2/lib/minitest.rb:182:in `__run'
        /usr/local/rvm/gems/ruby-2.7.0/gems/minitest-5.16.2/lib/minitest.rb:159:in `run'
        /usr/local/rvm/gems/ruby-2.7.0/gems/minitest-5.16.2/lib/minitest.rb:83:in `block in autorun'
Sibit::Error: intentionally
        /home/r/repo/test/test_bestof.rb:54:in `latest'
        /home/r/repo/lib/sibit/bestof.rb:109:in `block in best_of'
        /home/r/repo/lib/sibit/bestof.rb:108:in `each'
        /home/r/repo/lib/sibit/bestof.rb:108:in `best_of'
        /home/r/repo/lib/sibit/bestof.rb:85:in `latest'
        /home/r/repo/test/test_bestof.rb:59:in `block in test_all_fail'
        /usr/local/rvm/gems/ruby-2.7.0/gems/minitest-5.16.2/lib/minitest/assertions.rb:404:in `assert_raises'
        /home/r/repo/test/test_bestof.rb:58:in `test_all_fail'
        /usr/local/rvm/gems/ruby-2.7.0/gems/minitest-5.16.2/lib/minitest/test.rb:98:in `block (3 levels) in run'
        /usr/local/rvm/gems/ruby-2.7.0/gems/minitest-5.16.2/lib/minitest/test.rb:195:in `capture_exceptions'
        /usr/local/rvm/gems/ruby-2.7.0/gems/minitest-5.16.2/lib/minitest/test.rb:95:in `block (2 levels) in run'
        /usr/local/rvm/gems/ruby-2.7.0/gems/minitest-5.16.2/lib/minitest.rb:296:in `time_it'
        /usr/local/rvm/gems/ruby-2.7.0/gems/minitest-5.16.2/lib/minitest/test.rb:94:in `block in run'
        /usr/local/rvm/gems/ruby-2.7.0/gems/minitest-5.16.2/lib/minitest.rb:391:in `on_signal'
        /usr/local/rvm/gems/ruby-2.7.0/gems/minitest-5.16.2/lib/minitest/test.rb:243:in `with_info_handler'
        /usr/local/rvm/gems/ruby-2.7.0/gems/minitest-5.16.2/lib/minitest/test.rb:93:in `run'
        /usr/local/rvm/gems/ruby-2.7.0/gems/minitest-5.16.2/lib/minitest.rb:1059:in `run_one_method'
        /usr/local/rvm/gems/ruby-2.7.0/gems/minitest-5.16.2/lib/minitest.rb:365:in `run_one_method'
        /usr/local/rvm/gems/ruby-2.7.0/gems/minitest-5.16.2/lib/minitest.rb:352:in `block (2 levels) in run'
        /usr/local/rvm/gems/ruby-2.7.0/gems/minitest-5.16.2/lib/minitest.rb:351:in `each'
        /usr/local/rvm/gems/ruby-2.7.0/gems/minitest-5.16.2/lib/minitest.rb:351:in `block in run'
        /usr/local/rvm/gems/ruby-2.7.0/gems/minitest-5.16.2/lib/minitest.rb:391:in `on_signal'
        /usr/local/rvm/gems/ruby-2.7.0/gems/minitest-5.16.2/lib/minitest.rb:378:in `with_info_handler'
        /usr/local/rvm/gems/ruby-2.7.0/gems/minitest-5.16.2/lib/minitest.rb:350:in `run'
        /usr/local/rvm/gems/ruby-2.7.0/gems/minitest-5.16.2/lib/minitest.rb:182:in `block in __run'
        /usr/local/rvm/gems/ruby-2.7.0/gems/minitest-5.16.2/lib/minitest.rb:182:in `map'
        /usr/local/rvm/gems/ruby-2.7.0/gems/minitest-5.16.2/lib/minitest.rb:182:in `__run'
        /usr/local/rvm/gems/ruby-2.7.0/gems/minitest-5.16.2/lib/minitest.rb:159:in `run'
        /usr/local/rvm/gems/ruby-2.7.0/gems/minitest-5.16.2/lib/minitest.rb:83:in `block in autorun'
32m.0m32m.0m32m.0mGET https://chain.api.btc.com/v3/address/1MZT1fa6y8H9UmbZV6HqKF4UY41o9MGT5f/unspent: 200/33b in 3ms
The balance of 1MZT1fa6y8H9UmbZV6HqKF4UY41o9MGT5f is 123, total txns: 1
32m.0mGET https://cex.io/api/last_price/BTC/USD: 200/14b in 3ms
The price of BTC is 123.0 USD
32m.0mGET https://chain.api.btc.com/v3/address/1MZT1fa6y8H9UmbZV6HqKF4UY41o9MGT5f/unspent: 200/55b in 3ms
The balance of 1MZT1fa6y8H9UmbZV6HqKF4UY41o9MGT5f is zero (not found)
32m.0mGET https://chain.api.btc.com/v3/address/1MZT1fa6y8H9UmbZV6HqKF4UY41o9MGT5f/unspent: 200/20b in 3ms
The balance of 1MZT1fa6y8H9UmbZV6HqKF4UY41o9MGT5f is 0, total txns: 0
32m.0mGET https://chain.api.btc.com/v3/block/000000000000000007341915521967247f1dec17b3a311b8a8f4495392f1439b: 200/71b in 5ms
GET https://chain.api.btc.com/v3/block/000000000000000007341915521967247f1dec17b3a311b8a8f4495392f1439b/tx?page=1&pagesize=50: 200/96b in 4ms
32m.0mGET https://chain.api.btc.com/v3/block/000000000000000007341915521967247f1dec17b3a311b8a8f4495392f1439b: 200/71b in 5ms
GET https://chain.api.btc.com/v3/block/000000000000000007341915521967247f1dec17b3a311b8a8f4495392f1439b/tx?page=1&pagesize=50: 200/2b in 1ms
32m.0mGET https://chain.api.btc.com/v3/address/1MZT1fa6y8H9UmbZV6HqKF4UY41o9MGT5f/unspent: 200/2b in 1ms
The balance of 1MZT1fa6y8H9UmbZV6HqKF4UY41o9MGT5f is probably zero (not found)
32m.0mGET https://chain.api.btc.com/v3/address/1MZT1fa6y8H9UmbZV6HqKF4UY41o9MGT5f/unspent: 200/11b in 1ms
The balance of 1MZT1fa6y8H9UmbZV6HqKF4UY41o9MGT5f is probably zero (not found)
32m.0m

Finished in 0.172400s, 255.2207 runs/s, 661.2535 assertions/s.
44 runs, 114 assertions, 0 failures, 0 errors, 9 skips

You have skipped tests. Run with --verbose for details.
Coverage report generated for Unit Tests to /home/r/repo/coverage. 544 / 699 LOC (77.83%) covered.
Running RuboCop...
Inspecting 36 files
32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m

36 files inspected, 32mno offenses0m detected
grep -q -r '2019-2022'     --include '*.rb'     --include '*.txt'     --include 'Rakefile'     .
+ sed -i 's/1\.0\.snapshot/0.22.0/g' lib/sibit/version.rb
+ git add lib/sibit/version.rb
+ git commit -m 'version set to 0.22.0'
[__rultor 726f403] version set to 0.22.0
 1 file changed, 1 insertion(+), 1 deletion(-)
+ gem build sibit.gemspec
  Successfully built RubyGem
  Name: sibit
  Version: 0.22.0
  File: sibit-0.22.0.gem
+ chmod 0600 ../rubygems.yml
+ gem push sibit-0.22.0.gem --config-file ../rubygems.yml
Pushing gem to https://rubygems.org...
Successfully registered gem: sibit (0.22.0)
+ mv /home/r/repo .
++ whoami
+ chown -R root repo
+ '[' -n '' ']'
++ whoami
+ sudo chown -R rultor repo
+ cd repo
+ git checkout __rultor
Already on '__rultor'
+ git tag 0.22.0 -m '0.22.0: tagged by rultor.com'
+ git reset --hard
HEAD is now at 726f403 version set to 0.22.0
+ 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 726f403).
+ git push --all origin
Everything up-to-date
+ git push --tags origin
To github.com:yegor256/sibit.git
 * [new tag]         0.22.0 -> 0.22.0
container 83a0e0de4e89136d7e45b633030f1e55b8e4064b3e1ae1f89f14b99fcfbe9310 is dead
Tue 02 Aug 2022 06:06:08 AM CEST