+ set -e
+ set -o pipefail
++ dirname ./run.sh
+ cd .
+ echo 25433
+ echo '1.70.6 5bcc93e7c'
1.70.6 5bcc93e7c
+ date
Sun Jul 3 07:21:10 CEST 2022
+ uptime
07:21:10 up 20 days, 21:14, 0 users, load average: 0.00, 0.07, 0.08
+ head=git@github.com:objectionary/eoc.git
+ ff=default
+ image=yegor256/rultor-image:1.9.0
+ rebase=false
+ squash=false
+ head_branch=master
+ author=yegor256
+ tag=0.6.1
+ vars=('--env=head=git@github.com:objectionary/eoc.git' '--env=tag=0.6.1' '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:objectionary/eoc.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=0.6.1'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=yegor256'\''\'\'''\'''\'' '\'';'\'' '\''pip install git+https://chromium.googlesource.com/external/gyp'\'' '\'';'\'' '\''npm install --no-color'\'' '\'';'\'' '\''sudo npm install --no-color --global grunt-cli'\'' '\'';'\'' '\''npm uninstall --no-color grunt-cli'\'' '\'';'\'' '\''npm install --no-color mocha'\'' '\'';'\'' '\''pdd -f /dev/null -v'\'' '\'';'\'' '\''[[ "${tag}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] || exit -1'\'' '\'';'\'' '\''sed -i -e "s/\"version\": \"0.0.0\"/\"version\": \"${tag}\"/" package.json'\'' '\'';'\'' '\''sed -i -e "s/0.0.0/${tag}/" src/version.js'\'' '\'';'\'' '\''grunt --no-color'\'' '\'';'\'' '\''git commit -am "set version to ${tag}"'\'' '\'';'\'' '\''chmod 600 ../npmrc'\'' '\'';'\'' '\''npm publish --no-color --userconfig=../npmrc'\'' '\'';'\'' )' '--env=head_branch=master' '--env=author=yegor256')
+ scripts=('export '\''head=git@github.com:objectionary/eoc.git'\''' ';' 'export '\''tag=0.6.1'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''author=yegor256'\''' ';' 'pip install git+https://chromium.googlesource.com/external/gyp' ';' 'npm install --no-color' ';' 'sudo npm install --no-color --global grunt-cli' ';' 'npm uninstall --no-color grunt-cli' ';' 'npm install --no-color mocha' ';' 'pdd -f /dev/null -v' ';' '[[ "${tag}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] || exit -1' ';' 'sed -i -e "s/\"version\": \"0.0.0\"/\"version\": \"${tag}\"/" package.json' ';' 'sed -i -e "s/0.0.0/${tag}/" src/version.js' ';' 'grunt --no-color' ';' 'git commit -am "set version to ${tag}"' ';' 'chmod 600 ../npmrc' ';' 'npm publish --no-color --userconfig=../npmrc' ';')
+ directory=
+ container=objectionary_eoc_20
+ as_root=false
+ git --version
git version 2.35.1
+ docker --version
Docker version 20.10.12, build e91ed57
+ 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:objectionary/eoc.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:objectionary/eoc.git'\''' ']'
+ cd ..
+ cat
+ '[' false = true ']'
+ cat
+ chmod a+x entry.sh
+ cat
+ echo 'export '\''head=git@github.com:objectionary/eoc.git'\''' ';' 'export '\''tag=0.6.1'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''author=yegor256'\''' ';' 'pip install git+https://chromium.googlesource.com/external/gyp' ';' 'npm install --no-color' ';' 'sudo npm install --no-color --global grunt-cli' ';' 'npm uninstall --no-color grunt-cli' ';' 'npm install --no-color mocha' ';' 'pdd -f /dev/null -v' ';' '[[ "${tag}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] || exit -1' ';' 'sed -i -e "s/\"version\": \"0.0.0\"/\"version\": \"${tag}\"/" package.json' ';' 'sed -i -e "s/0.0.0/${tag}/" src/version.js' ';' 'grunt --no-color' ';' 'git commit -am "set version to ${tag}"' ';' 'chmod 600 ../npmrc' ';' 'npm publish --no-color --userconfig=../npmrc' ';'
+ sensitive=()
+ rm -rf .gpg
+ '[' -z 0.6.1 ']'
+ [[ 0.6.1 =~ ^[a-zA-Z0-9\.\-]+$ ]]
+ echo 'tag name is valid: "0.6.1"'
tag name is valid: "0.6.1"
+ cd repo
++ git tag -l 0.6.1
+ '[' ']'
+ 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.08
++ echo 0.08 '>' 30
++ bc
+ '[' 0 -eq 1 ']'
+ echo 'load average is 0.08, low enough to run a new Docker container'
load average is 0.08, low enough to run a new Docker container
+ break
+ cd ..
+ '[' -n '' ']'
+ use_image=yegor256/rultor-image:1.9.0
+ docker pull yegor256/rultor-image:1.9.0
1.9.0: Pulling from yegor256/rultor-image
Digest: sha256:33ae90af626cadadbfac736a5252b17f6a7dd6ccfce9c34edad6ab269b82f0fe
Status: Image is up to date for yegor256/rultor-image:1.9.0
docker.io/yegor256/rultor-image:1.9.0
+ docker ps --filter=status=exited
+ grep --quiet '\sobjectionary_eoc_20\s*$'
+ ls -al .
total 1320
drwx--x--x 3 rultor rultor 4096 Jul 3 07:21 .
drwxrwxrwt 10 root root 1302528 Jul 3 07:21 ..
-rw-rw-r-- 1 rultor rultor 444 Jul 3 07:21 end.sh
-rwxrwxr-x 1 rultor rultor 363 Jul 3 07:21 entry.sh
-rw-rw-r-- 1 rultor rultor 74 Jul 3 07:21 npmrc
-rw-rw-r-- 1 rultor rultor 6 Jul 3 07:21 pid
drwxrwxr-x 8 rultor rultor 4096 Jul 3 07:21 repo
-rwxrwxr-x 1 rultor rultor 6273 Jul 3 07:21 run.sh
-rw-rw-r-- 1 rultor rultor 786 Jul 3 07:21 script.sh
-rw-rw-r-- 1 rultor rultor 4729 Jul 3 07:21 stdout
++ pwd
++ pwd
+ docker run -t --rm -v /tmp/rultor-UZgj:/main --env=head=git@github.com:objectionary/eoc.git --env=tag=0.6.1 '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:objectionary/eoc.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=0.6.1'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=yegor256'\''\'\'''\'''\'' '\'';'\'' '\''pip install git+https://chromium.googlesource.com/external/gyp'\'' '\'';'\'' '\''npm install --no-color'\'' '\'';'\'' '\''sudo npm install --no-color --global grunt-cli'\'' '\'';'\'' '\''npm uninstall --no-color grunt-cli'\'' '\'';'\'' '\''npm install --no-color mocha'\'' '\'';'\'' '\''pdd -f /dev/null -v'\'' '\'';'\'' '\''[[ "${tag}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] || exit -1'\'' '\'';'\'' '\''sed -i -e "s/\"version\": \"0.0.0\"/\"version\": \"${tag}\"/" package.json'\'' '\'';'\'' '\''sed -i -e "s/0.0.0/${tag}/" src/version.js'\'' '\'';'\'' '\''grunt --no-color'\'' '\'';'\'' '\''git commit -am "set version to ${tag}"'\'' '\'';'\'' '\''chmod 600 ../npmrc'\'' '\'';'\'' '\''npm publish --no-color --userconfig=../npmrc'\'' '\'';'\'' )' --env=head_branch=master --env=author=yegor256 --hostname=docker --privileged --memory=6g --memory-swap=16g --oom-kill-disable --cidfile=/tmp/rultor-UZgj/cid -w=/main -v /var/run/docker.sock:/var/run/docker.sock --name=objectionary_eoc_20 yegor256/rultor-image:1.9.0 /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 /root/.wget-hsts /home/r
+ cp -R ./cid ./end.sh ./entry.sh ./npmrc ./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
+ 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:objectionary/eoc.git
+ head=git@github.com:objectionary/eoc.git
+ export tag=0.6.1
+ tag=0.6.1
+ export head_branch=master
+ head_branch=master
+ export author=yegor256
+ author=yegor256
+ pip install git+https://chromium.googlesource.com/external/gyp
Defaulting to user installation because normal site-packages is not writeable
Collecting git+https://chromium.googlesource.com/external/gyp
Cloning https://chromium.googlesource.com/external/gyp to /tmp/pip-req-build-pp9_3rje
Running command git clone --filter=blob:none --quiet https://chromium.googlesource.com/external/gyp /tmp/pip-req-build-pp9_3rje
Resolved https://chromium.googlesource.com/external/gyp to commit 9ecf45e37677743503342ee4c6a76eaee80e4a7f
Preparing metadata (setup.py) ... ?25ldone
?25hBuilding wheels for collected packages: gyp
Building wheel for gyp (setup.py) ... ?25ldone
?25h Created wheel for gyp: filename=gyp-0.1-py3-none-any.whl size=311946 sha256=57877b2a739ccc0b89c868d08f59455095861a22104da1fd06b9b41867513da8
Stored in directory: /tmp/pip-ephem-wheel-cache-d8q_9nqs/wheels/a1/2d/a5/c6845e42ce26719b04a41788161f2c5b083f1db2278b85eaa9
Successfully built gyp
Installing collected packages: gyp
33m WARNING: The script gyp is installed in '/home/r/.local/bin' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.0m33m
0mSuccessfully installed gyp-0.1
+ npm install --no-color
K?25h##############)⠂⠴⠂reify:rxjs:hhttptfetchcGETE2000https://registry.npmjs.or0mK
added 310 packages, and audited 311 packages in 17s
31 packages are looking for funding
run `npm fund` for details
3 moderate severity vulnerabilities
To address all issues (including breaking changes), run:
npm audit fix --force
Run `npm audit` for details.
npm notice
npm notice New minor version of npm available! 8.5.5 -> 8.13.2
npm notice Changelog: <https://github.com/npm/cli/releases/tag/v8.13.2>
npm notice Run `npm install -g npm@8.13.2` to update!
npm notice
+ sudo -i npm install --no-color --global grunt-cli
K?25h##############)⠂⠙⠂reify:picomatch:ahttphfetch2GETh200shttps://registry.npm0mK
added 59 packages, and audited 60 packages in 7s
4 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
npm notice
npm notice New minor version of npm available! 8.5.5 -> 8.13.2
npm notice Changelog: <https://github.com/npm/cli/releases/tag/v8.13.2>
npm notice Run `npm install -g npm@8.13.2` to update!
npm notice
+ npm uninstall --no-color grunt-cli
K?25h##############)⠂⠇⠂reify:fsevents:nsillereifyemarkpdeletedn[2'/home/r/repo/0mK
up to date, audited 311 packages in 1s
31 packages are looking for funding
run `npm fund` for details
3 moderate severity vulnerabilities
To address all issues (including breaking changes), run:
npm audit fix --force
Run `npm audit` for details.
+ npm install --no-color mocha
K?25h##############)⠂⠏⠂reify:fsevents:nsillereifyemarkpdeletedn[3'/home/r/repo/0mK
up to date, audited 311 packages in 1s
31 packages are looking for funding
run `npm fund` for details
3 moderate severity vulnerabilities
To address all issues (including breaking changes), run:
npm audit fix --force
Run `npm audit` for details.
+ pdd -f /dev/null -v
Found 8 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/**/*
38;5;214mExcluding0m node_modules/**/*
Reading itest/README.md ...
Reading itest/story-test.eo ...
Reading itest/program.eo ...
Reading itest/story.eo ...
Reading .gitignore ...
Reading README.md ...
Reading .gitattributes ...
Reading package.json ...
Reading .rultor.yml ...
Reading Gruntfile.js ...
Reading .npmignore ...
Reading mvnw/mvnw.cmd ...
Reading mvnw/.mvn/wrapper/maven-wrapper.properties ...
Reading mvnw/mvnw ...
Reading mvnw/pom.xml ...
Reading .eslintrc.json ...
Reading CITATION.cff ...
Reading LICENSE.txt ...
Reading .github/workflows/itest.yml ...
Reading .github/workflows/grunt.yml ...
Reading package-lock.json ...
Reading src/version.js ...
Reading src/parser-version.js ...
Reading src/commands/link.js ...
Reading src/commands/clean.js ...
Reading src/commands/test.js ...
Reading src/commands/compile.js ...
Reading src/commands/audit.js ...
Reading src/commands/transpile.js ...
Reading src/commands/dataize.js ...
Reading src/commands/register.js ...
Reading src/commands/foreign.js ...
Reading src/commands/assemble.js ...
Reading src/eoc.js ...
Reading src/mvnw.js ...
Reading src/tinted-console.js ...
Reading .0pdd.yml ...
Reading test/helpers.js ...
Reading test/commands/test_foreign.js ...
Reading test/commands/test_audit.js ...
Reading test/commands/test_dataize.js ...
Reading test/commands/test_register.js ...
Reading test/commands/test_clean.js ...
Reading test/commands/test_test.js ...
Reading test/commands/test_compile.js ...
Reading test/commands/test_link.js ...
Reading test/commands/test_transpile.js ...
Reading test/commands/test_assemble.js ...
Reading test/test_mvnw.js ...
Reading test/test_eoc.js ...
Reading .pdd ...
+ [[ 0.6.1 =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]
+ sed -i -e 's/"version": "0.0.0"/"version": "0.6.1"/' package.json
+ sed -i -e s/0.0.0/0.6.1/ src/version.js
+ grunt --no-color
Running "mochacli:test" (mochacli) task
0m0m
0m assemble0m
32m ✓0m90m assembles a simple .EO program0m31m (14972ms)0m
0m audit0m
32m ✓0m90m audits all packages0m31m (295ms)0m
0m clean0m
32m ✓0m90m deletes all temporary files0m31m (90ms)0m
0m compile0m
32m ✓0m90m compiles a simple .EO program into Java bytecode .class files0m31m (57680ms)0m
32m ✓0m90m compiles a simple .EO unit test into Java bytecode .class files0m31m (47951ms)0m
0m dataize0m
32m ✓0m90m runs a single executable .JAR and dataizes an object0m31m (53117ms)0m
0m foreign0m
32m ✓0m90m inspects foreign objects and prints a report0m31m (32743ms)0m
0m link0m
32m ✓0m90m compiles a simple .EO program into an executable .JAR0m31m (51666ms)0m
0m register0m
32m ✓0m90m registers a simple .EO program0m31m (2168ms)0m
0m test0m
32m ✓0m90m executes a single unit test0m31m (63672ms)0m
0m transpile0m
32m ✓0m90m transpiles a simple .EO program0m31m (10734ms)0m
0m eoc0m
32m ✓0m90m prints its own version0m31m (85ms)0m
32m ✓0m90m prints help screen0m31m (86ms)0m
0m mvnw0m
+ /home/r/repo/mvnw/mvnw --version --errors --batch-mode --update-snapshots --fail-fast
0m0mApache Maven 3.8.4 (9b656c72d54e5bacbed989b64718c159fe39b537)
Maven home: /home/r/.m2/wrapper/dists/apache-maven-3.8.4-bin/66e9f8f4/apache-maven-3.8.4
Java version: 17.0.3, vendor: Private Build, runtime: /usr/lib/jvm/java-17-openjdk-amd64
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "4.15.0-151-generic", arch: "amd64", family: "unix"
0m0m+ /home/r/repo/mvnw/mvnw --version --errors --batch-mode --update-snapshots --fail-fast
0m0mApache Maven 3.8.4 (9b656c72d54e5bacbed989b64718c159fe39b537)
Maven home: /home/r/.m2/wrapper/dists/apache-maven-3.8.4-bin/66e9f8f4/apache-maven-3.8.4
Java version: 17.0.3, vendor: Private Build, runtime: /usr/lib/jvm/java-17-openjdk-amd64
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "4.15.0-151-generic", arch: "amd64", family: "unix"
0m0m 32m ✓0m90m prints Maven own version0m31m (403ms)0m
92m 0m32m 14 passing0m90m (6m)0m
Running "eslint:target" (eslint) task
Done.
+ git commit -am 'set version to 0.6.1'
[__rultor 74d3959] set version to 0.6.1
2 files changed, 14 insertions(+), 6 deletions(-)
+ chmod 600 ../npmrc
+ npm publish --no-color --userconfig=../npmrc
npm notice
npm notice 📦 eolang@0.6.1
npm notice === Tarball Contents ===
npm notice 340B CITATION.cff
npm notice 1.1kB LICENSE.txt
npm notice 2.3kB README.md
npm notice 1.2kB itest/program.eo
npm notice 378B itest/README.md
npm notice 1.3kB itest/story-test.eo
npm notice 1.3kB itest/story.eo
npm notice 59.9kB mvnw/.mvn/wrapper/maven-wrapper.jar
npm notice 1.0kB mvnw/.mvn/wrapper/maven-wrapper.properties
npm notice 9.8kB mvnw/mvnw
npm notice 6.7kB mvnw/mvnw.cmd
npm notice 3.5kB mvnw/pom.xml
npm notice 1.0kB package.json
npm notice 1.9kB src/commands/assemble.js
npm notice 1.3kB src/commands/audit.js
npm notice 1.5kB src/commands/clean.js
npm notice 1.7kB src/commands/compile.js
npm notice 1.6kB src/commands/dataize.js
npm notice 1.6kB src/commands/foreign.js
npm notice 1.6kB src/commands/link.js
npm notice 1.8kB src/commands/register.js
npm notice 1.4kB src/commands/test.js
npm notice 2.0kB src/commands/transpile.js
npm notice 5.2kB src/eoc.js
npm notice 2.2kB src/mvnw.js
npm notice 2.1kB src/parser-version.js
npm notice 2.1kB src/tinted-console.js
npm notice 1.2kB src/version.js
npm notice === Tarball Details ===
npm notice name: eolang
npm notice version: 0.6.1
npm notice filename: eolang-0.6.1.tgz
npm notice package size: 67.8 kB
npm notice unpacked size: 118.7 kB
npm notice shasum: 414946a2c94ce95329eccc11c57536517ea11f3a
npm notice integrity: sha512-VF20RenHpRFHn[...]SWFP1KnJ6KsVg==
npm notice total files: 28
npm notice
npm notice Publishing to https://registry.npmjs.org/
K?25h+⠂eolang@0.6.1)⠂⠧⠂: noticetPublishinghtoghttps://registry.npmjs.org/0mK/0mK
+ 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.6.1 -m '0.6.1: tagged by rultor.com'
+ git reset --hard
HEAD is now at 74d3959 set version to 0.6.1
+ git clean -fd
+ git checkout master
Switched to branch 'master'
Your branch is up to date with 'origin/master'.
+ git branch -D __rultor
Deleted branch __rultor (was 74d3959).
+ git push --all origin
Everything up-to-date
+ git push --tags origin
To github.com:objectionary/eoc.git
* [new tag] 0.6.1 -> 0.6.1
container 77ceea4d8dc9e4c64764d8480f69a64fb234c9f64ee3eafb3bd85fd88194741d is dead
Sun Jul 3 07:28:25 CEST 2022