++ dirname ./run.sh + cd . + echo 1301 + echo '2.0-SNAPSHOT BUILD' 2.0-SNAPSHOT BUILD + date Fri Aug 22 18:17:01 UTC 2025 + uptime 18:17:01 up 1 min, 0 users, load average: 1.28, 0.43, 0.15 + ff=default + image=yegor256/rultor-image + rebase=false + head_branch=master + pull_title=196 + author=maxgoryunov + directory= + head=git@github.com:MaxGoryunov/saving-iterator.git + pull_id=199 + fork=git@github.com:MaxGoryunov/saving-iterator.git + fork_branch=196 + squash=false + vars=('--env=head=git@github.com:MaxGoryunov/saving-iterator.git' '--env=pull_id=199' '--env=fork=git@github.com:MaxGoryunov/saving-iterator.git' '--env=fork_branch=196' '--env=head_branch=master' '--env=pull_title=196' '--env=author=maxgoryunov' '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:MaxGoryunov/saving-iterator.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_id=199'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork=git@github.com:MaxGoryunov/saving-iterator.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork_branch=196'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_title=196'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=maxgoryunov'\''\'\'''\'''\'' '\'';'\'' '\''sudo apt-get update'\'' '\'';'\'' '\''sudo apt install -y php-xml'\'' '\'';'\'' '\''sudo apt-get install -y php-curl'\'' '\'';'\'' '\''sudo apt-get install -y php-mbstring'\'' '\'';'\'' '\''sudo apt-get install -y php-xdebug'\'' '\'';'\'' '\''composer install'\'' '\'';'\'' '\''./vendor/bin/phpunit --bootstrap=vendor/autoload.php --coverage-text'\'' '\'';'\'' '\''XDEBUG_MODE=coverage ./vendor/bin/infection --min-msi=80 --min-covered-msi=80 --threads=4'\'' '\'';'\'' '\''./vendor/bin/phpstan analyse'\'' '\'';'\'' )') + scripts=('export '\''head=git@github.com:MaxGoryunov/saving-iterator.git'\''' ';' 'export '\''pull_id=199'\''' ';' 'export '\''fork=git@github.com:MaxGoryunov/saving-iterator.git'\''' ';' 'export '\''fork_branch=196'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''pull_title=196'\''' ';' 'export '\''author=maxgoryunov'\''' ';' 'sudo apt-get update' ';' 'sudo apt install -y php-xml' ';' 'sudo apt-get install -y php-curl' ';' 'sudo apt-get install -y php-mbstring' ';' 'sudo apt-get install -y php-xdebug' ';' 'composer install' ';' './vendor/bin/phpunit --bootstrap=vendor/autoload.php --coverage-text' ';' 'XDEBUG_MODE=coverage ./vendor/bin/infection --min-msi=80 --min-covered-msi=80 --threads=4' ';' './vendor/bin/phpstan analyse' ';') + container=maxgoryunov_saving-iterator_199 + as_root=false + set -e -o pipefail + hostname ip-172-31-21-128 + pwd /tmp/rultor-tcbE + 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:MaxGoryunov/saving-iterator.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:MaxGoryunov/saving-iterator.git'\''' ']' + cd .. + cat + '[' false = true ']' + cat + chmod a+x entry.sh + cat + echo 'export '\''head=git@github.com:MaxGoryunov/saving-iterator.git'\''' ';' 'export '\''pull_id=199'\''' ';' 'export '\''fork=git@github.com:MaxGoryunov/saving-iterator.git'\''' ';' 'export '\''fork_branch=196'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''pull_title=196'\''' ';' 'export '\''author=maxgoryunov'\''' ';' 'sudo apt-get update' ';' 'sudo apt install -y php-xml' ';' 'sudo apt-get install -y php-curl' ';' 'sudo apt-get install -y php-mbstring' ';' 'sudo apt-get install -y php-xdebug' ';' 'composer install' ';' './vendor/bin/phpunit --bootstrap=vendor/autoload.php --coverage-text' ';' 'XDEBUG_MODE=coverage ./vendor/bin/infection --min-msi=80 --min-covered-msi=80 --threads=4' ';' './vendor/bin/phpstan analyse' ';' + sensitive=() + set -ex -o pipefail + cd repo + git remote add fork git@github.com:MaxGoryunov/saving-iterator.git + git remote update Fetching origin Fetching fork From github.com:MaxGoryunov/saving-iterator * [new branch] 194 -> fork/194 * [new branch] 195 -> fork/195 * [new branch] 196 -> fork/196 * [new branch] 200 -> fork/200 * [new branch] azure-pipelines -> fork/azure-pipelines * [new branch] clean -> fork/clean * [new branch] dependabot/composer/vimeo/psalm-tw-5.0 -> fork/dependabot/composer/vimeo/psalm-tw-5.0 * [new branch] dependabot/composer/vimeo/psalm-tw-5.8 -> fork/dependabot/composer/vimeo/psalm-tw-5.8 * [new branch] develop -> fork/develop * [new branch] master -> fork/master + 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/196 Switched to a new branch '__rultor' Branch '__rultor' set up to track remote branch '196' 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 196 --ff __rultor Updating 4333bdb..0dd681a Fast-forward (no commit created; -m option ignored) .appveyor.yml | 6 ++-- .github/workflows/php.yml | 82 +++++++++++++++++++++++-------------------- .scrutinizer.yml | 4 +++ Dockerfile | 26 ++++++++++++++ README.md | 18 ++++++++++ composer.json | 2 +- docker-compose.yml | 12 +++++++ phpstan.neon | 4 +-- src/SavingIterator.php | 11 ++++++ tests/src/ContextVeilTest.php | 1 + 10 files changed, 123 insertions(+), 43 deletions(-) create mode 100644 .scrutinizer.yml create mode 100644 Dockerfile create mode 100644 docker-compose.yml + git log -1 --show-signature commit 0dd681af3149a71a7c642a3b9d7a1be2fa00dadc Author: Max Goryunov <maximthehedgehog@yandex.ru> Date: Fri Aug 22 20:59:38 2025 +0300 #196 scrutinizer config + docker_when_possible + true ++ tail -n 1 ++ sed 's/ /\n/g' ++ uptime + load=0.16 ++ bc ++ echo 0.16 '>' 30 + '[' 0 -eq 1 ']' + echo 'load average is 0.16, low enough to run a new Docker container' load average is 0.16, 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 9cb31e2e37ea: Pulling fs layer 4f4fb700ef54: Pulling fs layer 8abe72b13cdc: Pulling fs layer cba9dea87424: Pulling fs layer f92de055bc45: Pulling fs layer 407dfea1e87a: Pulling fs layer e36b8501e649: Pulling fs layer 4465056dce32: Pulling fs layer 17823cd23e69: Pulling fs layer d2c17e0fa6e0: Pulling fs layer bbee590edf32: Pulling fs layer 317fe5a58cf0: Pulling fs layer f3e943c332aa: Pulling fs layer 771721c483d3: Pulling fs layer a1084c9072d8: Pulling fs layer c8e0f228f948: Pulling fs layer 9a3736a4e818: Pulling fs layer c18686eb0f52: Pulling fs layer 9b3bb4679640: Pulling fs layer ad02bfa9c8ce: Pulling fs layer 629107c3b410: Pulling fs layer 3287eb32675e: Pulling fs layer d9843cb3e557: Pulling fs layer a649698c3670: Pulling fs layer bb05eff65f76: Pulling fs layer 7d94120e6b0d: Pulling fs layer 0e51b7feca72: Pulling fs layer cba9dea87424: Waiting f92de055bc45: Waiting 407dfea1e87a: Waiting e36b8501e649: Waiting 4465056dce32: Waiting 17823cd23e69: Waiting d2c17e0fa6e0: Waiting bbee590edf32: Waiting 317fe5a58cf0: Waiting f3e943c332aa: Waiting 771721c483d3: Waiting a1084c9072d8: Waiting c8e0f228f948: Waiting 9a3736a4e818: Waiting c18686eb0f52: Waiting 9b3bb4679640: Waiting ad02bfa9c8ce: Waiting 629107c3b410: Waiting 3287eb32675e: Waiting d9843cb3e557: Waiting a649698c3670: Waiting bb05eff65f76: Waiting 7d94120e6b0d: Waiting 0e51b7feca72: Waiting 4f4fb700ef54: Verifying Checksum 4f4fb700ef54: Download complete 8abe72b13cdc: Verifying Checksum 8abe72b13cdc: Download complete 9cb31e2e37ea: Verifying Checksum 9cb31e2e37ea: Download complete cba9dea87424: Verifying Checksum cba9dea87424: Download complete e36b8501e649: Verifying Checksum e36b8501e649: Download complete 4465056dce32: Verifying Checksum 4465056dce32: Download complete 17823cd23e69: Verifying Checksum 17823cd23e69: Download complete d2c17e0fa6e0: Verifying Checksum d2c17e0fa6e0: Download complete bbee590edf32: Verifying Checksum bbee590edf32: Download complete f92de055bc45: Verifying Checksum f92de055bc45: Download complete f3e943c332aa: Verifying Checksum f3e943c332aa: Download complete 9cb31e2e37ea: Pull complete 4f4fb700ef54: Pull complete 8abe72b13cdc: Pull complete 317fe5a58cf0: Verifying Checksum 317fe5a58cf0: Download complete 771721c483d3: Verifying Checksum 771721c483d3: Download complete c8e0f228f948: Verifying Checksum c8e0f228f948: Download complete 9a3736a4e818: Verifying Checksum 9a3736a4e818: Download complete c18686eb0f52: Verifying Checksum c18686eb0f52: Download complete 9b3bb4679640: Verifying Checksum 9b3bb4679640: Download complete ad02bfa9c8ce: Verifying Checksum ad02bfa9c8ce: Download complete 629107c3b410: Verifying Checksum 629107c3b410: Download complete 3287eb32675e: Verifying Checksum 3287eb32675e: Download complete d9843cb3e557: Verifying Checksum d9843cb3e557: Download complete a649698c3670: Verifying Checksum a649698c3670: Download complete cba9dea87424: Pull complete 407dfea1e87a: Verifying Checksum 407dfea1e87a: Download complete bb05eff65f76: Verifying Checksum bb05eff65f76: Download complete 0e51b7feca72: Verifying Checksum 0e51b7feca72: Download complete 7d94120e6b0d: Verifying Checksum 7d94120e6b0d: Download complete a1084c9072d8: Verifying Checksum a1084c9072d8: Download complete f92de055bc45: Pull complete 407dfea1e87a: Pull complete e36b8501e649: Pull complete 4465056dce32: Pull complete 17823cd23e69: Pull complete d2c17e0fa6e0: Pull complete bbee590edf32: Pull complete 317fe5a58cf0: Pull complete f3e943c332aa: Pull complete 771721c483d3: Pull complete a1084c9072d8: Pull complete c8e0f228f948: Pull complete 9a3736a4e818: Pull complete c18686eb0f52: Pull complete 9b3bb4679640: Pull complete ad02bfa9c8ce: Pull complete 629107c3b410: Pull complete 3287eb32675e: Pull complete d9843cb3e557: Pull complete a649698c3670: Pull complete bb05eff65f76: Pull complete 7d94120e6b0d: Pull complete 0e51b7feca72: Pull complete Digest: sha256:1f9021b55f1692b15548be49c2b35312592dddbc1c790685a32ffcd3b8651305 Status: Downloaded newer image for yegor256/rultor-image:latest docker.io/yegor256/rultor-image:latest + grep --quiet '\smaxgoryunov_saving-iterator_199\s*$' + docker ps --filter=status=exited + ls -al . total 48 drwx------ 3 ubuntu ubuntu 4096 Aug 22 18:17 . drwxrwxrwt 12 root root 4096 Aug 22 18:16 .. -rwxrwxr-x 1 ubuntu ubuntu 658 Aug 22 18:20 end.sh -rwxrwxr-x 1 ubuntu ubuntu 490 Aug 22 18:17 entry.sh -rw-rw-r-- 1 ubuntu ubuntu 5 Aug 22 18:17 pid drwxrwxr-x 9 ubuntu ubuntu 4096 Aug 22 18:17 repo -rwxrwxr-x 1 ubuntu ubuntu 7081 Aug 22 18:16 run.sh -rw-rw-r-- 1 ubuntu ubuntu 817 Aug 22 18:17 script.sh -rw-rw-r-- 1 ubuntu ubuntu 11200 Aug 22 18:21 stdout ++ pwd ++ pwd + docker run -t --rm -v /tmp/rultor-tcbE:/main --env=head=git@github.com:MaxGoryunov/saving-iterator.git --env=pull_id=199 --env=fork=git@github.com:MaxGoryunov/saving-iterator.git --env=fork_branch=196 --env=head_branch=master --env=pull_title=196 --env=author=maxgoryunov '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:MaxGoryunov/saving-iterator.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_id=199'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork=git@github.com:MaxGoryunov/saving-iterator.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork_branch=196'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_title=196'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=maxgoryunov'\''\'\'''\'''\'' '\'';'\'' '\''sudo apt-get update'\'' '\'';'\'' '\''sudo apt install -y php-xml'\'' '\'';'\'' '\''sudo apt-get install -y php-curl'\'' '\'';'\'' '\''sudo apt-get install -y php-mbstring'\'' '\'';'\'' '\''sudo apt-get install -y php-xdebug'\'' '\'';'\'' '\''composer install'\'' '\'';'\'' '\''./vendor/bin/phpunit --bootstrap=vendor/autoload.php --coverage-text'\'' '\'';'\'' '\''XDEBUG_MODE=coverage ./vendor/bin/infection --min-msi=80 --min-covered-msi=80 --threads=4'\'' '\'';'\'' '\''./vendor/bin/phpstan analyse'\'' '\'';'\'' )' --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-tcbE/cid -w=/main -v /var/run/docker.sock:/var/run/docker.sock --name=maxgoryunov_saving-iterator_199 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 ./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:MaxGoryunov/saving-iterator.git' ; export 'pull_id=199' ; export 'fork=git@github.com:MaxGoryunov/saving-iterator.git' ; export 'fork_branch=196' ; export 'head_branch=master' ; export 'pull_title=196' ; export 'author=maxgoryunov' ; sudo apt-get update ; sudo apt install -y php-xml ; sudo apt-get install -y php-curl ; sudo apt-get install -y php-mbstring ; sudo apt-get install -y php-xdebug ; composer install ; ./vendor/bin/phpunit --bootstrap=vendor/autoload.php --coverage-text ; XDEBUG_MODE=coverage ./vendor/bin/infection --min-msi=80 --min-covered-msi=80 --threads=4 ; ./vendor/bin/phpstan analyse ; + 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 Using /usr/local/rvm/gems/ruby-3.2.2 Using /usr/local/rvm/gems/ruby-3.2.2 Get:1ohttp://security.ubuntu.com/ubuntu jammy-security InRelease [129 kB] Hit:2ohttp://archive.ubuntu.com/ubuntu1jammy5InRelease [Connectingeto4ppa.launc Get:3ahttp://archive.ubuntu.com/ubuntuhjammy-updatesiInReleasea[128]kB] Get:4 https://deb.nodesource.com/node_18.xnnodistroaInReleasei[12.1fkB]headers] Get:5 http://security.ubuntu.com/ubuntuijammy-security/main4amd64lPackages4[3,253 kB] Get:6 https://ppa.launchpadcontent.net/deadsnakes/ppa/ubuntu3jammy%InReleaseg[18.1 kB] Get:7ahttp://archive.ubuntu.com/ubuntuhjammy-backportsBInReleasei[127]kB] heade Get:8 https://ppa.launchpadcontent.net/git-core/ppa/ubuntu jammy InRelease [24.6 kB] Get:9 http://security.ubuntu.com/ubuntu6jammy-security/restrictednamd64 Packages [5,235 kB] Get:10Phttps://deb.nodesource.com/node_18.x nodistro/main]amd64aPackages [11.73kB] Get:11Phttps://ppa.launchpadcontent.net/ondrej/php/ubuntu]jammyaInRelease5[24.6 kB] Get:12Phttp://security.ubuntu.com/ubuntu2jammy-security/multiversegamd641Packages [48.5 kB] Get:13Phttp://security.ubuntu.com/ubuntu2jammy-security/universe amd64 Packages [1,271 kB] Get:14Phttps://ppa.launchpadcontent.net/deadsnakes/ppa/ubuntu jammy/main amd64 Packages [33.2 kB] Get:15Phttp://archive.ubuntu.com/ubuntu1jammy-updates/main]amd64 Packages [3,569 kB] Get:16Phttps://ppa.launchpadcontent.net/git-core/ppa/ubuntu]jammy/main amd64 Packages [2,991 B] Get:17rhttp://archive.ubuntu.com/ubuntuajammy-updates/multiverse%amd64 Packages [75.9 kB] Get:18 http://archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages [5,430 kB] Get:19rhttp://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1,575 kB] Get:20 http://archive.ubuntu.com/ubuntu jammy-backports/universe amd64 Packages [35.2 kB] Get:21 http://archive.ubuntu.com/ubuntu jammy-backports/main amd64 Packages [83.2 kB] Readingkpackage lists...BDone1 Packages 73.6 kB/83.2 kB 88%] E: Repository 'https://ppa.launchpadcontent.net/ondrej/php/ubuntu jammy InRelease' changed its 'Label' value from '***** The main PPA for supported PHP versions with many PECL extensions *****' to 'PPA for PHP' N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details. container f25d8250878780c7fae0798562e9364f3832a9f7d38ad37dfe3c4e5d2014cf8b is dead Fri Aug 22 18:23:02 UTC 2025