++ dirname ./run.sh
+ cd .
+ echo 1320
+ echo '2.0-SNAPSHOT BUILD'
2.0-SNAPSHOT BUILD
+ date
Tue Apr 14 03:35:48 UTC 2026
+ uptime
03:35:48 up 2 min, 0 users, load average: 0.50, 0.26, 0.10
+ ff=default
+ image=yegor256/rultor-image
+ rebase=false
+ head_branch=master
+ pull_title='Update crate-ci/typos action to v1.45.1'
+ author=yegor256
+ directory=
+ head=git@github.com:yegor256/xcop.git
+ pull_id=106
+ fork=git@github.com:yegor256/xcop.git
+ fork_branch=renovate/crate-ci-typos-1.x
+ squash=false
+ vars=('--env=head=git@github.com:yegor256/xcop.git' '--env=pull_id=106' '--env=fork=git@github.com:yegor256/xcop.git' '--env=fork_branch=renovate/crate-ci-typos-1.x' '--env=head_branch=master' '--env=pull_title=Update crate-ci/typos action to v1.45.1' '--env=author=yegor256' '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:yegor256/xcop.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_id=106'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork=git@github.com:yegor256/xcop.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork_branch=renovate/crate-ci-typos-1.x'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_title=Update crate-ci/typos action to v1.45.1'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=yegor256'\''\'\'''\'''\'' '\'';'\'' '\''pdd -f /dev/null'\'' '\'';'\'' '\''sudo bundle install --no-color "--gemfile=$(pwd)/Gemfile"'\'' '\'';'\'' '\''bundle exec rake'\'' '\'';'\'' )')
+ scripts=('export '\''head=git@github.com:yegor256/xcop.git'\''' ';' 'export '\''pull_id=106'\''' ';' 'export '\''fork=git@github.com:yegor256/xcop.git'\''' ';' 'export '\''fork_branch=renovate/crate-ci-typos-1.x'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''pull_title=Update crate-ci/typos action to v1.45.1'\''' ';' 'export '\''author=yegor256'\''' ';' 'pdd -f /dev/null' ';' 'sudo bundle install --no-color "--gemfile=$(pwd)/Gemfile"' ';' 'bundle exec rake' ';')
+ container=yegor256_xcop_106
+ as_root=false
+ set -e -o pipefail
+ hostname
ip-172-31-20-194
+ pwd
/tmp/rultor-2TXN
+ 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 --recurse-submodules git@github.com:yegor256/xcop.git repo
Cloning into 'repo'...
Warning: Permanently added 'github.com' (ED25519) to the list of known hosts.
+ cd repo
+ git config user.email gpg@rultor.com
+ git config user.name Rultor.com
+ '[' -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 '\''pull_id=106'\''' ';' 'export '\''fork=git@github.com:yegor256/xcop.git'\''' ';' 'export '\''fork_branch=renovate/crate-ci-typos-1.x'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''pull_title=Update crate-ci/typos action to v1.45.1'\''' ';' 'export '\''author=yegor256'\''' ';' 'pdd -f /dev/null' ';' 'sudo bundle install --no-color "--gemfile=$(pwd)/Gemfile"' ';' 'bundle exec rake' ';'
+ sensitive=()
+ set -ex -o pipefail
+ cd repo
+ git remote add fork git@github.com:yegor256/xcop.git
+ git remote update
Fetching origin
Fetching fork
From github.com:yegor256/xcop
* [new branch] master -> fork/master
* [new branch] renovate/crate-ci-typos-1.x -> fork/renovate/crate-ci-typos-1.x
* [new branch] renovate/yard-0.x-lockfile -> fork/renovate/yard-0.x-lockfile
+ args=()
+ '[' default == default ']'
+ args+=(--ff)
+ '[' default == no ']'
+ '[' default == only ']'
+ '[' false == true ']'
+ BRANCH=__rultor
++ wc -l
++ git show-branch __rultor
+ '[' 0 -gt 0 ']'
+ export BRANCH
+ 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/crate-ci-typos-1.x
Switched to a new branch '__rultor'
Branch '__rultor' set up to track remote branch 'renovate/crate-ci-typos-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 ']'
+ KEY=3FD3FA7E9AF0FA4C
+ git merge --gpg-sign=3FD3FA7E9AF0FA4C --no-edit -m 'Update crate-ci/typos action to v1.45.1' --ff __rultor
Updating f187057..f3d1634
Fast-forward (no commit created; -m option ignored)
.github/workflows/typos.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
+ git log -1 --show-signature
commit f3d163493a8ad4692c5ab2ebdb0e827759fe4ccc
gpg: Signature made Mon Apr 13 18:09:53 2026 UTC
gpg: using RSA key B5690EEEBB952194
gpg: Can't check signature: No public key
Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Date: Mon Apr 13 18:09:53 2026 +0000
Update crate-ci/typos action to v1.45.1
+ docker_when_possible
+ true
++ tail -n 1
++ sed 's/ /\n/g'
++ uptime
+ load=0.11
++ bc
++ echo 0.11 '>' 30
+ '[' 0 -eq 1 ']'
+ echo 'load average is 0.11, low enough to run a new Docker container'
load average is 0.11, 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
b1cba2e842ca: Pulling fs layer
4f4fb700ef54: Pulling fs layer
ee0f35bea75e: Pulling fs layer
ab1e63146b93: Pulling fs layer
228474a8908f: Pulling fs layer
2439c4128a70: Pulling fs layer
9fee9df7d387: Pulling fs layer
368c95f7424a: Pulling fs layer
7f5b381fddae: Pulling fs layer
3be34ec940aa: Pulling fs layer
1b31d12fd6d3: Pulling fs layer
7caa02f62543: Pulling fs layer
6304f0c69ec4: Pulling fs layer
5f54fdd44c17: Pulling fs layer
9084761a7712: Pulling fs layer
6efe4feb51e7: Pulling fs layer
ed6b4a3fc041: Pulling fs layer
e33bffc7fac4: Pulling fs layer
d47b34b850ee: Pulling fs layer
a4cf8cfb3857: Pulling fs layer
a6cd21a3a1aa: Pulling fs layer
dd438d5474b6: Pulling fs layer
1a58c3495fe2: Pulling fs layer
89cca91bd878: Pulling fs layer
57ed4b1a136d: Pulling fs layer
e99605197945: Pulling fs layer
096da1b7ce98: Pulling fs layer
ab1e63146b93: Waiting
228474a8908f: Waiting
2439c4128a70: Waiting
9fee9df7d387: Waiting
368c95f7424a: Waiting
7f5b381fddae: Waiting
3be34ec940aa: Waiting
1b31d12fd6d3: Waiting
7caa02f62543: Waiting
6304f0c69ec4: Waiting
5f54fdd44c17: Waiting
9084761a7712: Waiting
6efe4feb51e7: Waiting
ed6b4a3fc041: Waiting
e33bffc7fac4: Waiting
d47b34b850ee: Waiting
a4cf8cfb3857: Waiting
a6cd21a3a1aa: Waiting
dd438d5474b6: Waiting
1a58c3495fe2: Waiting
89cca91bd878: Waiting
57ed4b1a136d: Waiting
e99605197945: Waiting
096da1b7ce98: Waiting
4f4fb700ef54: Verifying Checksum
4f4fb700ef54: Download complete
ee0f35bea75e: Verifying Checksum
ee0f35bea75e: Download complete
b1cba2e842ca: Verifying Checksum
b1cba2e842ca: Download complete
ab1e63146b93: Verifying Checksum
ab1e63146b93: Download complete
9fee9df7d387: Verifying Checksum
9fee9df7d387: Download complete
368c95f7424a: Verifying Checksum
368c95f7424a: Download complete
7f5b381fddae: Verifying Checksum
7f5b381fddae: Download complete
228474a8908f: Verifying Checksum
228474a8908f: Download complete
1b31d12fd6d3: Verifying Checksum
1b31d12fd6d3: Download complete
3be34ec940aa: Verifying Checksum
3be34ec940aa: Download complete
6304f0c69ec4: Verifying Checksum
6304f0c69ec4: Download complete
b1cba2e842ca: Pull complete
4f4fb700ef54: Pull complete
ee0f35bea75e: Pull complete
7caa02f62543: Verifying Checksum
7caa02f62543: Download complete
ab1e63146b93: Pull complete
5f54fdd44c17: Verifying Checksum
5f54fdd44c17: Download complete
6efe4feb51e7: Verifying Checksum
6efe4feb51e7: Download complete
ed6b4a3fc041: Verifying Checksum
ed6b4a3fc041: Download complete
e33bffc7fac4: Verifying Checksum
e33bffc7fac4: Download complete
d47b34b850ee: Verifying Checksum
d47b34b850ee: Download complete
a4cf8cfb3857: Verifying Checksum
a4cf8cfb3857: Download complete
a6cd21a3a1aa: Download complete
dd438d5474b6: Verifying Checksum
dd438d5474b6: Download complete
1a58c3495fe2: Verifying Checksum
1a58c3495fe2: Download complete
89cca91bd878: Verifying Checksum
89cca91bd878: Download complete
57ed4b1a136d: Verifying Checksum
57ed4b1a136d: Download complete
e99605197945: Verifying Checksum
e99605197945: Download complete
096da1b7ce98: Verifying Checksum
096da1b7ce98: Download complete
9084761a7712: Verifying Checksum
9084761a7712: Download complete
2439c4128a70: Verifying Checksum
2439c4128a70: Download complete
228474a8908f: Pull complete
2439c4128a70: Pull complete
9fee9df7d387: Pull complete
368c95f7424a: Pull complete
7f5b381fddae: Pull complete
3be34ec940aa: Pull complete
1b31d12fd6d3: Pull complete
7caa02f62543: Pull complete
6304f0c69ec4: Pull complete
5f54fdd44c17: Pull complete
9084761a7712: Pull complete
6efe4feb51e7: Pull complete
ed6b4a3fc041: Pull complete
e33bffc7fac4: Pull complete
d47b34b850ee: Pull complete
a4cf8cfb3857: Pull complete
a6cd21a3a1aa: Pull complete
dd438d5474b6: Pull complete
1a58c3495fe2: Pull complete
89cca91bd878: Pull complete
57ed4b1a136d: Pull complete
e99605197945: Pull complete
096da1b7ce98: Pull complete
Digest: sha256:6dd3a29ec5d9c49be83579ef89e204c8103a4513d0487274a0f8e637e1f58778
Status: Downloaded newer image for yegor256/rultor-image:latest
docker.io/yegor256/rultor-image:latest
+ docker ps --filter=status=exited
+ grep --quiet '\syegor256_xcop_106\s*$'
+ ls -al .
total 52
drwx------ 3 ubuntu ubuntu 4096 Apr 14 03:35 .
drwxrwxrwt 12 root root 4096 Apr 14 03:39 ..
-rwxrwxr-x 1 ubuntu ubuntu 666 Apr 14 03:41 end.sh
-rwxrwxr-x 1 ubuntu ubuntu 498 Apr 14 03:35 entry.sh
-rw-rw-r-- 1 ubuntu ubuntu 5 Apr 14 03:35 pid
drwxrwxr-x 9 ubuntu ubuntu 4096 Apr 14 03:35 repo
-rw-rw-r-- 1 ubuntu ubuntu 81 Apr 14 03:35 rubygems.yml
-rwxrwxr-x 1 ubuntu ubuntu 6547 Apr 14 03:35 run.sh
-rw-rw-r-- 1 ubuntu ubuntu 576 Apr 14 03:35 script.sh
-rw-rw-r-- 1 ubuntu ubuntu 9565 Apr 14 03:41 stdout
++ pwd
++ pwd
+ docker run -t --rm -v /tmp/rultor-2TXN:/main --env=head=git@github.com:yegor256/xcop.git --env=pull_id=106 --env=fork=git@github.com:yegor256/xcop.git --env=fork_branch=renovate/crate-ci-typos-1.x --env=head_branch=master '--env=pull_title=Update crate-ci/typos action to v1.45.1' --env=author=yegor256 '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:yegor256/xcop.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_id=106'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork=git@github.com:yegor256/xcop.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork_branch=renovate/crate-ci-typos-1.x'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_title=Update crate-ci/typos action to v1.45.1'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=yegor256'\''\'\'''\'''\'' '\'';'\'' '\''pdd -f /dev/null'\'' '\'';'\'' '\''sudo bundle install --no-color "--gemfile=$(pwd)/Gemfile"'\'' '\'';'\'' '\''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-2TXN/cid -w=/main -v /var/run/docker.sock:/var/run/docker.sock --name=yegor256_xcop_106 yegor256/rultor-image /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 systemd-journal r
+ for g in $(cat /etc/group | awk -F ':' '$3 > 100 { print $1 }')
+ usermod -a -G systemd-network r
+ for g in $(cat /etc/group | awk -F ':' '$3 > 100 { print $1 }')
+ usermod -a -G systemd-resolve r
+ for g in $(cat /etc/group | awk -F ':' '$3 > 100 { print $1 }')
+ usermod -a -G messagebus 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 ssl-cert r
+ for g in $(cat /etc/group | awk -F ':' '$3 > 100 { print $1 }')
+ usermod -a -G postgres 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/.cargo /root/.config /root/.gem /root/.gemrc /root/.launchpadlib /root/.m2 /root/.profile /root/.rustup /root/.rvmrc /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
+ cat /home/r/script.sh
#!/usr/bin/env 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/xcop.git' ; export 'pull_id=106' ; export 'fork=git@github.com:yegor256/xcop.git' ; export 'fork_branch=renovate/crate-ci-typos-1.x' ; export 'head_branch=master' ; export 'pull_title=Update crate-ci/typos action to v1.45.1' ; export 'author=yegor256' ; pdd -f /dev/null ; sudo bundle install --no-color "--gemfile=$(pwd)/Gemfile" ; 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/.markdownlint.json is a binary file (21 bytes)
/home/r/repo/logo.svg is a binary file (3833 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/typos.yml ...
Reading .github/workflows/xcop.yml ...
Reading .github/workflows/yamllint.yml ...
Reading .gitignore ...
Reading .pdd ...
Reading .rubocop.yml ...
Reading .rultor.yml ...
Reading Gemfile ...
Reading Gemfile.lock ...
Reading LICENSE.txt ...
Reading LICENSES/MIT.txt ...
Reading README.md ...
Reading REUSE.toml ...
Reading Rakefile ...
Reading bin/xcop ...
Reading cucumber.yml ...
Reading features/cli.feature ...
Reading features/gem_package.feature ...
Reading features/rake.feature ...
Reading features/step_definitions/steps.rb ...
Reading features/support/env.rb ...
Reading lib/xcop/cli.rb ...
Reading lib/xcop/document.rb ...
Reading lib/xcop/rake_task.rb ...
Reading lib/xcop/version.rb ...
Reading test/test__helper.rb ...
Reading test/test_cli.rb ...
Reading test/test_document.rb ...
Reading test/test_rake_task.rb ...
Reading xcop.gemspec ...
Using /usr/local/rvm/gems/ruby-3.2.2
Using /usr/local/rvm/gems/ruby-3.2.2
Don't run Bundler as root. Installing your bundle as root will break this
application for all non-root users on this machine.
Bundler 2.4.10 is running, but your lockfile was generated with 2.5.16. Installing Bundler 2.5.16 and restarting using that version.
Fetching gem metadata from https://rubygems.org/.
Fetching bundler 2.5.16
Installing bundler 2.5.16
Don't run Bundler as root. Installing your bundle as root will break this
application for all non-root users on this machine.
Fetching gem metadata from https://rubygems.org/.........
Fetching rake 13.3.1
Installing rake 13.3.1
Fetching ansi 1.6.0
Installing ansi 1.6.0
Fetching ast 2.4.3
Installing ast 2.4.3
Fetching base64 0.3.0
Installing base64 0.3.0
Fetching bigdecimal 4.1.0
Installing bigdecimal 4.1.0 with native extensions
Fetching builder 3.3.0
Installing builder 3.3.0
Fetching cucumber-ci-environment 11.0.0
Installing cucumber-ci-environment 11.0.0
Fetching cucumber-messages 32.0.1
Installing cucumber-messages 32.0.1
Fetching cucumber-gherkin 38.0.0
Installing cucumber-gherkin 38.0.0
Fetching cucumber-tag-expressions 8.1.0
Installing cucumber-tag-expressions 8.1.0
Fetching cucumber-core 16.1.1
Installing cucumber-core 16.1.1
Fetching cucumber-cucumber-expressions 19.0.0
Installing cucumber-cucumber-expressions 19.0.0
Fetching cucumber-html-formatter 22.3.0
Installing cucumber-html-formatter 22.3.0
Fetching diff-lcs 1.6.2
Installing diff-lcs 1.6.2
Fetching logger 1.7.0
Installing logger 1.7.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.3 (x86_64-linux-gnu)
Installing ffi 1.17.3 (x86_64-linux-gnu)
Fetching memoist3 1.0.0
Installing memoist3 1.0.0
Fetching sys-uname 1.4.1
Installing sys-uname 1.4.1
Fetching cucumber 10.2.0
Installing cucumber 10.2.0
Fetching docile 1.4.1
Installing docile 1.4.1
Fetching drb 2.2.3
Installing drb 2.2.3
Fetching ellipsized 0.3.0
Installing ellipsized 0.3.0
Fetching erb 6.0.2
Installing erb 6.0.2 with native extensions
Fetching json 2.19.3
Installing json 2.19.3 with native extensions
Fetching language_server-protocol 3.17.0.5
Installing language_server-protocol 3.17.0.5
Fetching lint_roller 1.1.0
Installing lint_roller 1.1.0
Fetching loog 0.8.0
Installing loog 0.8.0
Fetching prism 1.9.0
Installing prism 1.9.0 with native extensions
Fetching minitest 6.0.3
Installing minitest 6.0.3
Fetching ruby-progressbar 1.13.0
Installing ruby-progressbar 1.13.0
Fetching minitest-reporters 1.8.0
Installing minitest-reporters 1.8.0
Fetching racc 1.8.1
Installing racc 1.8.1 with native extensions
Fetching nokogiri 1.19.0 (x86_64-linux-gnu)
Installing nokogiri 1.19.0 (x86_64-linux-gnu)
Fetching parallel 1.27.0
Installing parallel 1.27.0
Fetching parser 3.3.11.1
Installing parser 3.3.11.1
Fetching regexp_parser 2.11.3
Installing regexp_parser 2.11.3
Fetching rexml 3.4.4
Installing rexml 3.4.4
Fetching rubocop-ast 1.49.1
Installing rubocop-ast 1.49.1
Fetching unicode-emoji 4.2.0
Installing unicode-emoji 4.2.0
Fetching unicode-display_width 3.2.0
Installing unicode-display_width 3.2.0
Fetching rubocop 1.86.1
Installing rubocop 1.86.1
Fetching rubocop-minitest 0.39.1
Installing rubocop-minitest 0.39.1
Fetching rubocop-performance 1.26.1
Installing rubocop-performance 1.26.1
Fetching rubocop-rake 0.7.1
Installing rubocop-rake 0.7.1
Fetching simplecov-html 0.13.2
Installing simplecov-html 0.13.2
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 3.1.0
Installing simplecov-cobertura 3.1.0
Fetching yard 0.9.39
Installing yard 0.9.39
Bundle complete! 14 Gemfile dependencies, 56 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
1 installed gem you directly depend on is looking for funding.
Run `bundle fund` for details
Started with run options --seed 958
TestRakeTask
Running xcop...
Inspecting 1 file...
/usr/local/rvm/gems/ruby-3.2.2/gems/differ-0.1.2/lib/differ.rb:11: warning: `$;' is deprecated
31m<z><a><b></b></a>\n
\n
</z>0m32m<?xml version="1.0"?>\n
<z>\n
<a>\n
<b/>\n
</a>\n
</z>\n0m
Invalid XML formatting in broken.xml
Invalid XML formatting in broken.xml
test_with_broken_xml 32m PASS0m (0.01s)
test_basic 32m PASS0m (0.00s)
TestXcop
/usr/local/rvm/gems/ruby-3.2.2/gems/differ-0.1.2/lib/differ.rb:11: warning: `$;' is deprecated
test_file_without_tail_eol 32m PASS0m (0.00s)
test_fixes_document 32m PASS0m (0.00s)
test_basic 32m PASS0m (0.00s)
CLITest
/usr/local/rvm/gems/ruby-3.2.2/gems/differ-0.1.2/lib/differ.rb:11: warning: `$;' is deprecated
32m<?xml version="1.0"?>\n0m
test_run_empty_file_runtime_error 32m PASS0m (0.00s)
test_fix_multiple_invalid_files_changing_them_all 32m PASS0m (0.00s)
test_run_nonexistent_file_exception 32m PASS0m (0.00s)
test_run_valid_file_no_exception 32m PASS0m (0.00s)
/usr/local/rvm/gems/ruby-3.2.2/gems/differ-0.1.2/lib/differ.rb:11: warning: `$;' is deprecated
31m<?xml version="1.0"?><root><item>no proper indenting</item></root>0m32m<?xml version="1.0"?>\n
<root>\n
<item>no proper indenting</item>\n
</root>\n0m
test_run_invalid_file_exception_and_messages 32m PASS0m (0.00s)
test_fix_invalid_file_changing_file 32m PASS0m (0.00s)
/usr/local/rvm/gems/ruby-3.2.2/gems/differ-0.1.2/lib/differ.rb:11: warning: `$;' is deprecated
31m<root><item>test</item></root>0m32m<?xml version="1.0"?>\n
<root>\n
<item>test</item>\n
</root>\n0m
test_run_invalid_file_exception 32m PASS0m (0.00s)
test_fix_valid_file_no_changes 32m PASS0m (0.00s)
test_run_multiple_files_no_exceptions 32m PASS0m (0.00s)
Finished in 0.03299s
14 tests, 23 assertions, 32m0 failures, 0 errors, 0m33m0 skips0m
Coverage report generated for test to /home/r/repo/coverage.
Line Coverage: 97.37% (74 / 76)
Coverage report generated for test to /home/r/repo/coverage/coverage.xml.
Line Coverage: 97.37% (74 / 76)
/usr/local/rvm/rubies/ruby-3.2.2/bin/ruby -S bundle exec cucumber
Using the default profile...
90m# SPDX-FileCopyrightText: Copyright (c) 2017-2026 Yegor Bugayenko0m
90m# SPDX-License-Identifier: MIT0m
Feature: Command Line Processing
As an author of XML I want to be able to
call XCOP as a command line tool
Scenario: Help can be printed 90m# features/cli.feature:70m
32mWhen I run bin/xcop with "32m1m-h0m0m32m"90m # features/step_definitions/steps.rb:300m0m
32mThen Exit code is zero90m # features/step_definitions/steps.rb:440m0m
32mAnd Stdout contains "32m1m--help0m0m32m"90m # features/step_definitions/steps.rb:360m0m
Scenario: Version can be printed 90m# features/cli.feature:120m
32mWhen I run bin/xcop with "32m1m--version0m0m32m"90m # features/step_definitions/steps.rb:300m0m
32mThen Exit code is zero90m # features/step_definitions/steps.rb:440m0m
Scenario: Validating correct XML file 90m# features/cli.feature:160m
32mGiven I have a "32m1mtest.xml0m0m32m" file with content:90m # features/step_definitions/steps.rb:250m0m
32m """0m
32m <?xml version="1.0"?>0m
32m <hello>Hello, world!</hello>0m
32m0m
32m """0m
32mWhen I run bin/xcop with "32m1mtest.xml0m0m32m"90m # features/step_definitions/steps.rb:300m0m
32mThen Stdout contains "32m1mtest.xml looks good0m0m32m"90m # features/step_definitions/steps.rb:360m0m
32mAnd Exit code is zero90m # features/step_definitions/steps.rb:440m0m
Scenario: Validating incorrect XML file 90m# features/cli.feature:270m
32mGiven I have a "32m1mabc.xml0m0m32m" file with content:90m # features/step_definitions/steps.rb:250m0m
32m """0m
32m <a><b>something</b>0m
32m </a>0m
32m """0m
32mWhen I run bin/xcop with "32m1mabc.xml0m0m32m"90m # features/step_definitions/steps.rb:300m0m
32mThen Exit code is not zero90m # features/step_definitions/steps.rb:480m0m
Scenario: Fixing incorrect XML file 90m# features/cli.feature:360m
32mGiven I have a "32m1mbroken.xml0m0m32m" file with content:90m # features/step_definitions/steps.rb:250m0m
32m """0m
32m <a><b>something</b>0m
32m </a>0m
32m """0m
32mWhen I run bin/xcop with "32m1m--fix broken.xml0m0m32m"90m # features/step_definitions/steps.rb:300m0m
32mThen Exit code is zero90m # features/step_definitions/steps.rb:440m0m
32mThen I run bin/xcop with "32m1mbroken.xml0m0m32m"90m # features/step_definitions/steps.rb:300m0m
32mThen Exit code is zero90m # features/step_definitions/steps.rb:440m0m
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:70m
32mGiven It is Unix90m # features/step_definitions/steps.rb:640m0m
32mGiven I have a "32m1mexecs.rb0m0m32m" file with content:90m # features/step_definitions/steps.rb:250m0m
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/test20260414-1620-vcn6qh/xcop/lib/xcop/version.rb:9: warning: already initialized constant Xcop::VERSION
/home/r/repo/lib/xcop/version.rb:9: warning: previous definition of VERSION was here
32mWhen I run bash with:90m # features/step_definitions/steps.rb:580m0m
32m """0m
32m cd xcop0m
32m gem build xcop.gemspec0m
32m gem specification --ruby xcop-*.gem > ../spec.rb0m
32m cd ..0m
32m ruby execs.rb0m
32m """0m
32mThen Exit code is zero90m # features/step_definitions/steps.rb:440m0m
Feature: Rake tasks
As a source code writer I want to be able to
run Xcop from Rakefile
Scenario: Xcop can be used in Rakefile 90m# features/rake.feature:70m
32mGiven It is Unix90m # features/step_definitions/steps.rb:640m0m
32mAnd I have a "32m1mRakefile0m0m32m" file with content:90m # features/step_definitions/steps.rb:250m0m
32m """0m
32m require 'xcop/rake_task'0m
32m Xcop::RakeTask.new(:xcop) do |task|0m
32m task.includes = ['good.xml']0m
32m end0m
32m """0m
32mAnd I have a "32m1mgood.xml0m0m32m" file with content:90m # features/step_definitions/steps.rb:250m0m
32m """0m
32m <?xml version="1.0"?>0m
32m <hello>Hello, world!</hello>0m
32m0m
32m """0m
32mWhen I run bash with "32m1mrake xcop0m0m32m"90m # features/step_definitions/steps.rb:520m0m
32mThen Exit code is zero90m # features/step_definitions/steps.rb:440m0m
7 scenarios (32m7 passed0m)
26 steps (32m26 passed0m)
0m3.395s
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
Running RuboCop...
Inspecting 13 files
32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m
13 files inspected, 32mno offenses0m detected
+ mv /home/r/repo .
++ whoami
+ chown -R root repo
+ '[' -n '' ']'
++ whoami
+ sudo chown -R ubuntu repo
+ cd repo
+ git push origin master
remote:
remote: GitHub found 1 vulnerability on yegor256/xcop's default branch (1 moderate). To find out more, visit:
remote: https://github.com/yegor256/xcop/security/dependabot/5
remote:
To github.com:yegor256/xcop.git
f187057..f3d1634 master -> master
container 75000933579c1a7011e0ab8af32a91ea2e234a32dd8223d1d692c4d4ec31d63a is dead
Tue Apr 14 03:43:51 UTC 2026