rultor.com logo This build log was produced by rultor.com for yegor256/xcop#32
+ set -e
+ set -o pipefail
++ dirname ./run.sh
+ cd .
+ echo 13770
+ echo '1.70.6 5bcc93e7c'
1.70.6 5bcc93e7c
+ date
Sun Jun 12 09:50:35 CEST 2022
+ uptime
 09:50:35 up 622 days, 17:56,  0 users,  load average: 0.82, 0.90, 0.95
+ head=git@github.com:yegor256/xcop.git
+ ff=default
+ image=yegor256/rultor-image
+ rebase=false
+ squash=false
+ head_branch=master
+ author=yegor256
+ tag=0.7.0
+ vars=('--env=head=git@github.com:yegor256/xcop.git' '--env=tag=0.7.0' '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:yegor256/xcop.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=0.7.0'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=yegor256'\''\'\'''\'''\'' '\'';'\'' '\''pdd -f /dev/null'\'' '\'';'\'' '\''bundle install'\'' '\'';'\'' '\''bundle exec rake'\'' '\'';'\'' '\''rm -rf *.gem'\'' '\'';'\'' '\''sed -i "s/0\.0\.0/${tag}/g" lib/xcop/version.rb'\'' '\'';'\'' '\''git add lib/xcop/version.rb'\'' '\'';'\'' '\''git commit -m "version set to ${tag}"'\'' '\'';'\'' '\''gem build xcop.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/xcop.git'\''' ';' 'export '\''tag=0.7.0'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''author=yegor256'\''' ';' 'pdd -f /dev/null' ';' 'bundle install' ';' 'bundle exec rake' ';' 'rm -rf *.gem' ';' 'sed -i "s/0\.0\.0/${tag}/g" lib/xcop/version.rb' ';' 'git add lib/xcop/version.rb' ';' 'git commit -m "version set to ${tag}"' ';' 'gem build xcop.gemspec' ';' 'chmod 0600 ../rubygems.yml' ';' 'gem push *.gem --config-file ../rubygems.yml' ';')
+ directory=
+ container=yegor256_xcop_32
+ as_root=false
+ git --version
git version 2.7.4
+ docker --version
Docker version 17.12.0-ce, build c97c6d6
+ 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/xcop.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/xcop.git'\''' ']'
+ cd ..
+ cat
+ '[' false = true ']'
+ cat
+ chmod a+x entry.sh
+ cat
+ echo 'export '\''head=git@github.com:yegor256/xcop.git'\''' ';' 'export '\''tag=0.7.0'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''author=yegor256'\''' ';' 'pdd -f /dev/null' ';' 'bundle install' ';' 'bundle exec rake' ';' 'rm -rf *.gem' ';' 'sed -i "s/0\.0\.0/${tag}/g" lib/xcop/version.rb' ';' 'git add lib/xcop/version.rb' ';' 'git commit -m "version set to ${tag}"' ';' 'gem build xcop.gemspec' ';' 'chmod 0600 ../rubygems.yml' ';' 'gem push *.gem --config-file ../rubygems.yml' ';'
+ sensitive=()
+ rm -rf .gpg
+ '[' -z 0.7.0 ']'
+ [[ 0.7.0 =~ ^[a-zA-Z0-9\.\-]+$ ]]
+ echo 'tag name is valid: "0.7.0"'
tag name is valid: "0.7.0"
+ cd repo
++ git tag -l 0.7.0
+ '[' ']'
+ 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
++ uptime
++ sed 's/ /\n/g'
++ tail -n 1
+ load=0.95
++ echo 0.95 '>' 30
++ bc
+ '[' 0 -eq 1 ']'
+ echo 'load average is 0.95, low enough to run a new Docker container'
load average is 0.95, 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:95ddd906a107bbd2cd79487d0f8ee48acaa4ca54a4a4f1deb5702273ac20fa9d
Status: Image is up to date for yegor256/rultor-image:latest
+ docker ps --filter=status=exited
+ grep --quiet '\syegor256_xcop_32\s*$'
+ ls -al .
total 712
drwx--x--x  3 rultor rultor   4096 Jun 12 09:50 .
drwxrwxrwt 14 root   root   684032 Jun 12 09:50 ..
-rw-rw-r--  1 rultor rultor    444 Jun 12 09:50 end.sh
-rwxrwxr-x  1 rultor rultor    363 Jun 12 09:50 entry.sh
-rw-rw-r--  1 rultor rultor      6 Jun 12 09:50 pid
drwxrwxr-x  8 rultor rultor   4096 Jun 12 09:50 repo
-rw-rw-r--  1 rultor rultor     56 Jun 12 09:50 rubygems.yml
-rwxrwxr-x  1 rultor rultor   5704 Jun 12 09:50 run.sh
-rw-rw-r--  1 rultor rultor    539 Jun 12 09:50 script.sh
-rw-rw-r--  1 rultor rultor   3872 Jun 12 09:50 stdout
++ pwd
++ pwd
+ docker run -t --rm -v /tmp/rultor-g4Ot:/main --env=head=git@github.com:yegor256/xcop.git --env=tag=0.7.0 '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:yegor256/xcop.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=0.7.0'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=yegor256'\''\'\'''\'''\'' '\'';'\'' '\''pdd -f /dev/null'\'' '\'';'\'' '\''bundle install'\'' '\'';'\'' '\''bundle exec rake'\'' '\'';'\'' '\''rm -rf *.gem'\'' '\'';'\'' '\''sed -i "s/0\.0\.0/${tag}/g" lib/xcop/version.rb'\'' '\'';'\'' '\''git add lib/xcop/version.rb'\'' '\'';'\'' '\''git commit -m "version set to ${tag}"'\'' '\'';'\'' '\''gem build xcop.gemspec'\'' '\'';'\'' '\''chmod 0600 ../rubygems.yml'\'' '\'';'\'' '\''gem push *.gem --config-file ../rubygems.yml'\'' '\'';'\'' )' --env=head_branch=master --env=author=yegor256 --hostname=docker --privileged --memory=6g --memory-swap=16g --oom-kill-disable --cidfile=/tmp/rultor-g4Ot/cid -w=/main -v /var/run/docker.sock:/var/run/docker.sock --name=yegor256_xcop_32 yegor256/rultor-image /main/entry.sh
+ 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 ./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
+ 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/xcop.git
+ head=git@github.com:yegor256/xcop.git
+ export tag=0.7.0
+ tag=0.7.0
+ export head_branch=master
+ head_branch=master
+ export author=yegor256
+ author=yegor256
+ 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 .simplecov ...
Reading Rakefile ...
Reading Gemfile ...
Reading .0pdd.yml ...
Reading .github/workflows/rake.yml ...
Reading .github/ISSUE_TEMPLATE.md ...
Reading .github/PULL_REQUEST_TEMPLATE.md ...
Reading cucumber.yml ...
Reading LICENSE.txt ...
Reading test/test_document.rb ...
Reading test/test_rake_task.rb ...
Reading test/test__helper.rb ...
Reading .pdd ...
Reading .rultor.yml ...
Reading lib/xcop/document.rb ...
Reading lib/xcop/rake_task.rb ...
Reading lib/xcop/cli.rb ...
Reading lib/xcop/version.rb ...
Reading README.md ...
Reading .rubocop.yml ...
Reading .gitignore ...
Reading features/rake.feature ...
Reading features/cli.feature ...
Reading features/support/env.rb ...
Reading features/gem_package.feature ...
Reading features/step_definitions/steps.rb ...
Reading bin/xcop ...
Reading logo.svg ...
Reading xcop.gemspec ...
Reading .gitattributes ...
+ bundle install
Fetching gem metadata from https://rubygems.org/.........
Resolving dependencies...
33mFollowing files may not be writable, so sudo is needed:
  /usr/local/rvm/gems/ruby-2.7.0
  /usr/local/rvm/gems/ruby-2.7.0/bin
  /usr/local/rvm/gems/ruby-2.7.0/bin
  /usr/local/rvm/gems/ruby-2.7.0/build_info
  /usr/local/rvm/gems/ruby-2.7.0/cache
  /usr/local/rvm/gems/ruby-2.7.0/doc
  /usr/local/rvm/gems/ruby-2.7.0/environment
  /usr/local/rvm/gems/ruby-2.7.0/extensions
  /usr/local/rvm/gems/ruby-2.7.0/gems
  /usr/local/rvm/gems/ruby-2.7.0/specifications
  /usr/local/rvm/gems/ruby-2.7.0/wrappers0m
32mFetching rake 13.0.60m
32mInstalling rake 13.0.60m
--- ERROR REPORT TEMPLATE -------------------------------------------------------

```
Gem::FilePermissionError: You don't have write permissions for the /usr/local/rvm/gems/ruby-2.7.0/wrappers directory.
  /usr/local/rvm/rubies/ruby-2.7.0/lib/ruby/gems/2.7.0/gems/gem-wrappers-1.4.0/lib/gem-wrappers/installer.rb:26:in `ensure'
  /usr/local/rvm/rubies/ruby-2.7.0/lib/ruby/gems/2.7.0/gems/gem-wrappers-1.4.0/lib/gem-wrappers.rb:19:in `install'
  /usr/local/rvm/rubies/ruby-2.7.0/lib/ruby/gems/2.7.0/gems/gem-wrappers-1.4.0/lib/rubygems_plugin.rb:15:in `block in <top (required)>'
  /usr/local/rvm/rubies/ruby-2.7.0/lib/ruby/2.7.0/rubygems/installer.rb:381:in `block in run_post_install_hooks'
  /usr/local/rvm/rubies/ruby-2.7.0/lib/ruby/2.7.0/rubygems/installer.rb:380:in `each'
  /usr/local/rvm/rubies/ruby-2.7.0/lib/ruby/2.7.0/rubygems/installer.rb:380:in `run_post_install_hooks'
  /usr/local/rvm/gems/ruby-2.7.0/gems/bundler-2.3.13/lib/bundler/rubygems_gem_installer.rb:43:in `install'
  /usr/local/rvm/gems/ruby-2.7.0/gems/bundler-2.3.13/lib/bundler/source/rubygems.rb:204:in `install'
  /usr/local/rvm/gems/ruby-2.7.0/gems/bundler-2.3.13/lib/bundler/installer/gem_installer.rb:54:in `install'
  /usr/local/rvm/gems/ruby-2.7.0/gems/bundler-2.3.13/lib/bundler/installer/gem_installer.rb:16:in `install_from_spec'
  /usr/local/rvm/gems/ruby-2.7.0/gems/bundler-2.3.13/lib/bundler/installer/parallel_installer.rb:186:in `do_install'
  /usr/local/rvm/gems/ruby-2.7.0/gems/bundler-2.3.13/lib/bundler/installer/parallel_installer.rb:90:in `call'
  /usr/local/rvm/gems/ruby-2.7.0/gems/bundler-2.3.13/lib/bundler/installer/parallel_installer.rb:71:in `call'
  /usr/local/rvm/gems/ruby-2.7.0/gems/bundler-2.3.13/lib/bundler/installer.rb:259:in `install_in_parallel'
  /usr/local/rvm/gems/ruby-2.7.0/gems/bundler-2.3.13/lib/bundler/installer.rb:209:in `install'
  /usr/local/rvm/gems/ruby-2.7.0/gems/bundler-2.3.13/lib/bundler/installer.rb:89:in `block in run'
  /usr/local/rvm/gems/ruby-2.7.0/gems/bundler-2.3.13/lib/bundler/process_lock.rb:19:in `rescue in lock'
  /usr/local/rvm/gems/ruby-2.7.0/gems/bundler-2.3.13/lib/bundler/process_lock.rb:15:in `lock'
  /usr/local/rvm/gems/ruby-2.7.0/gems/bundler-2.3.13/lib/bundler/installer.rb:71:in `run'
  /usr/local/rvm/gems/ruby-2.7.0/gems/bundler-2.3.13/lib/bundler/installer.rb:23:in `install'
  /usr/local/rvm/gems/ruby-2.7.0/gems/bundler-2.3.13/lib/bundler/cli/install.rb:62:in `run'
  /usr/local/rvm/gems/ruby-2.7.0/gems/bundler-2.3.13/lib/bundler/cli.rb:255:in `block in install'
  /usr/local/rvm/gems/ruby-2.7.0/gems/bundler-2.3.13/lib/bundler/settings.rb:131:in `temporary'
  /usr/local/rvm/gems/ruby-2.7.0/gems/bundler-2.3.13/lib/bundler/cli.rb:254:in `install'
  /usr/local/rvm/gems/ruby-2.7.0/gems/bundler-2.3.13/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
  /usr/local/rvm/gems/ruby-2.7.0/gems/bundler-2.3.13/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
  /usr/local/rvm/gems/ruby-2.7.0/gems/bundler-2.3.13/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'
  /usr/local/rvm/gems/ruby-2.7.0/gems/bundler-2.3.13/lib/bundler/cli.rb:31:in `dispatch'
  /usr/local/rvm/gems/ruby-2.7.0/gems/bundler-2.3.13/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'
  /usr/local/rvm/gems/ruby-2.7.0/gems/bundler-2.3.13/lib/bundler/cli.rb:25:in `start'
  /usr/local/rvm/gems/ruby-2.7.0/gems/bundler-2.3.13/exe/bundle:48:in `block in <top (required)>'
  /usr/local/rvm/gems/ruby-2.7.0/gems/bundler-2.3.13/lib/bundler/friendly_errors.rb:103:in `with_friendly_errors'
  /usr/local/rvm/gems/ruby-2.7.0/gems/bundler-2.3.13/exe/bundle:36:in `<top (required)>'
  /usr/local/rvm/gems/ruby-2.7.0/bin/bundle:23:in `load'
  /usr/local/rvm/gems/ruby-2.7.0/bin/bundle:23:in `<main>'
  /usr/local/rvm/gems/ruby-2.7.0/bin/ruby_executable_hooks:24:in `eval'
  /usr/local/rvm/gems/ruby-2.7.0/bin/ruby_executable_hooks:24:in `<main>'
```

## Environment

```
Bundler             2.3.13
  Platforms         ruby, x86_64-linux
Ruby                2.7.0p0 (2019-12-25 revision 647ee6f091eafcce70ffb75ddf7e121e192ab217) [x86_64-linux]
  Full Path         /usr/local/rvm/rubies/ruby-2.7.0/bin/ruby
  Config Dir        /etc
RubyGems            3.1.2
  Gem Home          /usr/local/rvm/gems/ruby-2.7.0
  Gem Path          /usr/local/rvm/gems/ruby-2.7.0:/usr/local/rvm/rubies/ruby-2.7.0/lib/ruby/gems/2.7.0
  User Home         /home/r
  User Path         /home/r/.gem/ruby/2.7.0
  Bin Dir           /usr/local/rvm/gems/ruby-2.7.0/bin
OpenSSL
  Compiled          OpenSSL 1.1.1f  31 Mar 2020
  Loaded            OpenSSL 1.1.1f  31 Mar 2020
  Cert File         /usr/lib/ssl/cert.pem
  Cert Dir          /usr/lib/ssl/certs
Tools
  Git               2.36.1
  RVM               1.29.12 (latest)
  rbenv             not installed
  chruby            not installed
  rubygems-bundler  (1.4.5)
```

## Bundler Build Metadata

```
Built At          2022-05-04
Git SHA           b20be5a433
Released Version  true
```

## Gemfile

### Gemfile

```ruby
# Copyright (c) 2017-2022 Yegor Bugayenko
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the 'Software'), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in all
# copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.

source 'https://rubygems.org'
gemspec
```

### Gemfile.lock

```
<No /home/r/repo/Gemfile.lock found>
```

## Gemspecs

### xcop.gemspec

```ruby
# Copyright (c) 2017-2022 Yegor Bugayenko
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the 'Software'), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in all
# copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.

require 'English'

lib = File.expand_path('lib', __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require_relative 'lib/xcop/version'

Gem::Specification.new do |s|
  s.specification_version = 2 if s.respond_to? :specification_version=
  s.required_rubygems_version = Gem::Requirement.new('>= 0') if s.respond_to? :required_rubygems_version=
  s.rubygems_version = '2.2'
  s.required_ruby_version = '>= 2.2'
  s.name = 'xcop'
  s.version = Xcop::VERSION
  s.license = 'MIT'
  s.metadata = { 'rubygems_mfa_required' => 'true' }
  s.summary = 'XML Formatting Static Validator'
  s.description = 'Validates XML-like documents for proper formatting'
  s.authors = ['Yegor Bugayenko']
  s.email = 'yegor256@gmail.com'
  s.homepage = 'http://github.com/yegor256/xcop'
  s.files = `git ls-files`.split($RS)
  s.executables = s.files.grep(%r{^bin/}) { |f| File.basename(f) }
  s.rdoc_options = ['--charset=UTF-8']
  s.extra_rdoc_files = ['README.md', 'LICENSE.txt']
  s.add_runtime_dependency 'differ', '~>0.1.2'
  s.add_runtime_dependency 'nokogiri', '~>1.10'
  s.add_runtime_dependency 'rainbow', '~>3.0'
  s.add_runtime_dependency 'slop', '~>4.4'
  s.add_development_dependency 'codecov', '0.6.0'
  s.add_development_dependency 'cucumber', '8.0.0'
  s.add_development_dependency 'minitest', '5.15.0'
  s.add_development_dependency 'rake', '13.0.6'
  s.add_development_dependency 'rdoc', '6.4.0'
  s.add_development_dependency 'rubocop', '1.30.1'
  s.add_development_dependency 'rubocop-rspec', '2.11.1'
end
```

--- TEMPLATE END ----------------------------------------------------------------

31mUnfortunately, an unexpected error occurred, and Bundler cannot continue.0m
33m
First, try this link to see if there are any existing issue reports for this error:
https://github.com/rubygems/rubygems/search?q=You+don%27t+have+write+permissions+for+the+%2Fusr%2Flocal%2Frvm%2Fgems%2Fruby-2.7.0%2Fwrappers+directory.&type=Issues

If there aren't any reports for this error yet, please fill in the new issue form located at https://github.com/rubygems/rubygems/issues/new?labels=Bundler&template=bundler-related-issue.md, and copy and paste the report template above in there.
0mcontainer 74546a60df2d10f307d719f7466526d127d8a8cf78b54084867a427eb7e62ba9 is dead
Sun Jun 12 09:51:51 CEST 2022