+ set -e
+ set -o pipefail
++ dirname ./run.sh
+ cd .
+ echo 610045
+ echo '2.0-SNAPSHOT BUILD'
2.0-SNAPSHOT BUILD
+ date
Mon 05 Sep 2022 02:45:41 PM CEST
+ uptime
14:45:41 up 68 days, 16:46, 0 users, load average: 0.07, 0.02, 0.00
+ head=git@github.com:objectionary/reo.git
+ ff=default
+ image=yegor256/rultor-image:1.11.0
+ rebase=false
+ squash=false
+ head_branch=master
+ author=yegor256
+ tag=0.0.3
+ vars=('--env=head=git@github.com:objectionary/reo.git' '--env=tag=0.0.3' '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:objectionary/reo.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=0.0.3'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=yegor256'\''\'\'''\'''\'' '\'';'\'' '\''pdd --file=/dev/null'\'' '\'';'\'' '\''[[ "${tag}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] || exit -1'\'' '\'';'\'' '\''sed -i -e "s/^version = \"0.0.0\"/version = \"${tag}\"/" Cargo.toml'\'' '\'';'\'' '\''cargo --color=never test'\'' '\'';'\'' '\''cargo --color=never fmt --check'\'' '\'';'\'' '\''git commit -am "${tag}"'\'' '\'';'\'' '\''mkdir -p ~/.cargo && cp ../credentials ~/.cargo'\'' '\'';'\'' '\''cargo --color=never publish'\'' '\'';'\'' )' '--env=head_branch=master' '--env=author=yegor256')
+ scripts=('export '\''head=git@github.com:objectionary/reo.git'\''' ';' 'export '\''tag=0.0.3'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''author=yegor256'\''' ';' 'pdd --file=/dev/null' ';' '[[ "${tag}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] || exit -1' ';' 'sed -i -e "s/^version = \"0.0.0\"/version = \"${tag}\"/" Cargo.toml' ';' 'cargo --color=never test' ';' 'cargo --color=never fmt --check' ';' 'git commit -am "${tag}"' ';' 'mkdir -p ~/.cargo && cp ../credentials ~/.cargo' ';' 'cargo --color=never publish' ';')
+ directory=
+ container=objectionary_reo_13
+ 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:objectionary/reo.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/reo.git'\''' ']'
+ cd ..
+ cat
+ '[' false = true ']'
+ cat
+ chmod a+x entry.sh
+ cat
+ echo 'export '\''head=git@github.com:objectionary/reo.git'\''' ';' 'export '\''tag=0.0.3'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''author=yegor256'\''' ';' 'pdd --file=/dev/null' ';' '[[ "${tag}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] || exit -1' ';' 'sed -i -e "s/^version = \"0.0.0\"/version = \"${tag}\"/" Cargo.toml' ';' 'cargo --color=never test' ';' 'cargo --color=never fmt --check' ';' 'git commit -am "${tag}"' ';' 'mkdir -p ~/.cargo && cp ../credentials ~/.cargo' ';' 'cargo --color=never publish' ';'
+ sensitive=()
+ rm -rf .gpg
+ '[' -z 0.0.3 ']'
+ [[ 0.0.3 =~ ^[a-zA-Z0-9\.\-]+$ ]]
+ echo 'tag name is valid: "0.0.3"'
tag name is valid: "0.0.3"
+ cd repo
++ git tag -l 0.0.3
+ '[' ']'
+ 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:1.11.0
+ docker pull yegor256/rultor-image:1.11.0
1.11.0: Pulling from yegor256/rultor-image
Digest: sha256:d485defdd4859b0ce6e56283875ec4bd492327873856b2efb6cc5b2a31b22007
Status: Image is up to date for yegor256/rultor-image:1.11.0
docker.io/yegor256/rultor-image:1.11.0
+ docker ps --filter=status=exited
+ grep --quiet '\sobjectionary_reo_13\s*$'
+ ls -al .
total 44
drwx--x--x 3 rultor rultor 4096 Sep 5 14:45 .
drwxrwxrwt 16 root root 4096 Sep 5 14:45 ..
-rw-rw-r-- 1 rultor rultor 57 Sep 5 14:45 credentials
-rw-rw-r-- 1 rultor rultor 556 Sep 5 14:45 end.sh
-rwxrwxr-x 1 rultor rultor 363 Sep 5 14:45 entry.sh
-rw-rw-r-- 1 rultor rultor 7 Sep 5 14:45 pid
drwxrwxr-x 8 rultor rultor 4096 Sep 5 14:45 repo
-rwxrwxr-x 1 rultor rultor 5747 Sep 5 14:45 run.sh
-rw-rw-r-- 1 rultor rultor 567 Sep 5 14:45 script.sh
-rw-rw-r-- 1 rultor rultor 4001 Sep 5 14:45 stdout
++ pwd
++ pwd
+ docker run -t --rm -v /tmp/rultor-2GX8:/main --env=head=git@github.com:objectionary/reo.git --env=tag=0.0.3 '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:objectionary/reo.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=0.0.3'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=yegor256'\''\'\'''\'''\'' '\'';'\'' '\''pdd --file=/dev/null'\'' '\'';'\'' '\''[[ "${tag}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] || exit -1'\'' '\'';'\'' '\''sed -i -e "s/^version = \"0.0.0\"/version = \"${tag}\"/" Cargo.toml'\'' '\'';'\'' '\''cargo --color=never test'\'' '\'';'\'' '\''cargo --color=never fmt --check'\'' '\'';'\'' '\''git commit -am "${tag}"'\'' '\'';'\'' '\''mkdir -p ~/.cargo && cp ../credentials ~/.cargo'\'' '\'';'\'' '\''cargo --color=never publish'\'' '\'';'\'' )' --env=head_branch=master --env=author=yegor256 --hostname=docker --privileged --memory=6g --memory-swap=16g --oom-kill-disable --cidfile=/tmp/rultor-2GX8/cid -w=/main -v /var/run/docker.sock:/var/run/docker.sock --name=objectionary_reo_13 yegor256/rultor-image:1.11.0 /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/.cargo /root/.config /root/.gem /root/.gnupg /root/.m2 /root/.npm /root/.profile /root/.rustup /root/texmf /root/.wget-hsts /home/r
+ cp -R ./cid ./credentials ./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
+ 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/reo.git
+ head=git@github.com:objectionary/reo.git
+ export tag=0.0.3
+ tag=0.0.3
+ export head_branch=master
+ head_branch=master
+ export author=yegor256
+ author=yegor256
+ pdd --file=/dev/null
+ [[ 0.0.3 =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]
+ sed -i -e 's/^version = "0.0.0"/version = "0.0.3"/' Cargo.toml
+ cargo --color=never test
Updating crates.io index
Downloading crates ...
Downloaded doc-comment v0.3.3
Downloaded atty v0.2.14
Downloaded bitflags v1.3.2
Downloaded colored v2.0.0
Downloaded clap_lex v0.2.4
Downloaded normalize-line-endings v0.3.0
Downloaded predicates-tree v1.0.5
Downloaded rand_chacha v0.3.1
Downloaded semver v1.0.13
Downloaded rstest_macros v0.14.0
Downloaded tempfile v3.3.0
Downloaded simple_logger v2.3.0
Downloaded termtree v0.2.4
Downloaded rstest v0.15.0
Downloaded remove_dir_all v0.5.3
Downloaded rand_core v0.6.3
Downloaded rand v0.8.5
Downloaded predicates-core v1.0.3
Downloaded wait-timeout v0.2.0
Downloaded difflib v0.4.0
Downloaded itertools v0.10.3
Downloaded slab v0.4.7
Downloaded strsim v0.10.0
Downloaded num-traits v0.2.15
Downloaded memchr v2.5.0
Downloaded itoa v1.0.3
Downloaded indexmap v1.9.1
Downloaded time-macros v0.2.4
Downloaded termcolor v1.1.3
Downloaded textwrap v0.15.0
Downloaded syn v1.0.99
Downloaded log v0.4.17
Downloaded hashbrown v0.12.3
Downloaded proc-macro2 v1.0.43
Downloaded rustc_version v0.4.0
Downloaded regex v1.6.0
Downloaded glob v0.3.0
Downloaded quote v1.0.21
Downloaded ppv-lite86 v0.2.16
Downloaded pin-utils v0.1.0
Downloaded lazy_static v1.4.0
Downloaded unicode-ident v1.0.3
Downloaded env_logger v0.9.0
Downloaded os_str_bytes v6.3.0
Downloaded regex-syntax v0.6.27
Downloaded futures-macro v0.3.24
Downloaded num_threads v0.1.6
Downloaded futures-sink v0.3.24
Downloaded time v0.3.14
Downloaded aho-corasick v0.7.19
Downloaded futures v0.3.24
Downloaded futures-task v0.3.24
Downloaded futures-executor v0.3.24
Downloaded futures-channel v0.3.24
Downloaded futures-util v0.3.24
Downloaded regex-automata v0.1.10
Downloaded clap v3.2.20
Downloaded fastrand v1.8.0
Downloaded futures-core v0.3.24
Downloaded futures-io v0.3.24
Downloaded either v1.8.0
Downloaded anyhow v1.0.64
Downloaded pin-project-lite v0.2.9
Downloaded autocfg v1.1.0
Downloaded humantime v2.1.0
Downloaded ctor v0.1.23
Downloaded cfg-if v1.0.0
Downloaded libc v0.2.132
Downloaded once_cell v1.14.0
Downloaded futures-timer v3.0.2
Downloaded getrandom v0.2.7
Downloaded float-cmp v0.9.0
Downloaded assert_cmd v2.0.4
Downloaded bstr v0.2.17
Downloaded predicates v2.1.1
Downloaded hex v0.4.3
Compiling autocfg v1.1.0
Compiling libc v0.2.132
Compiling memchr v2.5.0
Compiling proc-macro2 v1.0.43
Compiling quote v1.0.21
Compiling unicode-ident v1.0.3
Compiling cfg-if v1.0.0
Compiling syn v1.0.99
Compiling semver v1.0.13
Compiling futures-core v0.3.24
Compiling futures-task v0.3.24
Compiling futures-channel v0.3.24
Compiling futures-util v0.3.24
Compiling futures-sink v0.3.24
Compiling log v0.4.17
Compiling lazy_static v1.4.0
Compiling futures-io v0.3.24
Compiling pin-project-lite v0.2.9
Compiling regex-syntax v0.6.27
Compiling pin-utils v0.1.0
Compiling either v1.8.0
Compiling doc-comment v0.3.3
Compiling predicates-core v1.0.3
Compiling ppv-lite86 v0.2.16
Compiling anyhow v1.0.64
Compiling num_threads v0.1.6
Compiling itoa v1.0.3
Compiling time-macros v0.2.4
Compiling difflib v0.4.0
Compiling os_str_bytes v6.3.0
Compiling termtree v0.2.4
Compiling hashbrown v0.12.3
Compiling normalize-line-endings v0.3.0
Compiling termcolor v1.1.3
Compiling regex-automata v0.1.10
Compiling reo v0.0.3 (/home/r/repo)
Compiling remove_dir_all v0.5.3
Compiling textwrap v0.15.0
Compiling strsim v0.10.0
Compiling fastrand v1.8.0
Compiling bitflags v1.3.2
Compiling humantime v2.1.0
Compiling futures-timer v3.0.2
Compiling once_cell v1.14.0
Compiling hex v0.4.3
Compiling glob v0.3.0
Compiling itertools v0.10.3
Compiling predicates-tree v1.0.5
Compiling slab v0.4.7
Compiling num-traits v0.2.15
Compiling indexmap v1.9.1
Compiling clap_lex v0.2.4
Compiling rustc_version v0.4.0
Compiling aho-corasick v0.7.19
Compiling bstr v0.2.17
Compiling atty v0.2.14
Compiling getrandom v0.2.7
Compiling wait-timeout v0.2.0
Compiling tempfile v3.3.0
Compiling colored v2.0.0
Compiling rstest_macros v0.14.0
Compiling clap v3.2.20
Compiling rand_core v0.6.3
Compiling time v0.3.14
Compiling rand_chacha v0.3.1
Compiling regex v1.6.0
Compiling rand v0.8.5
Compiling float-cmp v0.9.0
Compiling simple_logger v2.3.0
Compiling predicates v2.1.1
Compiling env_logger v0.9.0
Compiling assert_cmd v2.0.4
Compiling futures-macro v0.3.24
Compiling ctor v0.1.23
Compiling futures-executor v0.3.24
Compiling futures v0.3.24
Compiling rstest v0.15.0
Finished test [unoptimized + debuginfo] target(s) in 1m 05s
Running unittests src/lib.rs (target/debug/deps/reo-378c771cc890e422)
running 19 tests
test gmi::deploys_and_runs_all_apps ... 33mignoredBm
test data::simple_int ... 32mokBm
test org::eolang::array::simple ... 32mokBm
test data::prints_empty_bytes ... 32mokBm
test org::eolang::int::simple ... 32mokBm
test data::prints_bytes ... 32mokBm
test universe::i_add::adds_simple_vertex ... 32mokBm
test universe::generates_unique_ids ... 32mokBm
test universe::i_atom::evaluates_dummy_atom ... 32mokBm
test universe::i_bind::binds_simple_vertices ... 32mokBm
test universe::i_bind::binds_to_root ... 32mokBm
test universe::dataize::search_atom_works ... 32mokBm
test universe::i_bind::pre_defined_ids ... 32mokBm
test universe::i_bind::binds_two_names ... 32mokBm
test universe::safely_generates_unique_ids ... 32mokBm
test universe::i_data::sets_simple_data ... 32mokBm
test universe::i_copy::makes_simple_copy ... 32mokBm
test universe::generates_random_int ... 32mokBm
test gmi::deploys_simple_commands ... 32mokBm
test result: 32mokBm. 18 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.01s
Running unittests src/bin/reo.rs (target/debug/deps/reo-34467d290223a337)
running 0 tests
test result: 32mokBm. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running tests/reo_test.rs (target/debug/deps/reo_test-00ad787eefaeeb0e)
running 4 tests
test prints_version ... 32mokBm
test prints_help ... 32mokBm
test dataizes_simple_gmi ... 32mokBm
test dataizes_all_gmi_tests ... 32mokBm
test result: 32mokBm. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
Doc-tests reo
running 0 tests
test result: 32mokBm. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
+ cargo --color=never fmt --check
+ git commit -am 0.0.3
[__rultor 77a563b] 0.0.3
2 files changed, 2 insertions(+), 2 deletions(-)
+ mkdir -p /home/r/.cargo
+ cp ../credentials /home/r/.cargo
+ cargo --color=never publish
Updating crates.io index
Packaging reo v0.0.3 (/home/r/repo)
Verifying reo v0.0.3 (/home/r/repo)
Compiling autocfg v1.1.0
Compiling libc v0.2.132
Compiling memchr v2.5.0
Compiling proc-macro2 v1.0.43
Compiling quote v1.0.21
Compiling cfg-if v1.0.0
Compiling unicode-ident v1.0.3
Compiling syn v1.0.99
Compiling futures-core v0.3.24
Compiling semver v1.0.13
Compiling futures-channel v0.3.24
Compiling futures-task v0.3.24
Compiling futures-util v0.3.24
Compiling futures-sink v0.3.24
Compiling pin-project-lite v0.2.9
Compiling pin-utils v0.1.0
Compiling log v0.4.17
Compiling lazy_static v1.4.0
Compiling futures-io v0.3.24
Compiling regex-syntax v0.6.27
Compiling predicates-core v1.0.3
Compiling doc-comment v0.3.3
Compiling either v1.8.0
Compiling anyhow v1.0.64
Compiling time-macros v0.2.4
Compiling itoa v1.0.3
Compiling regex-automata v0.1.10
Compiling normalize-line-endings v0.3.0
Compiling os_str_bytes v6.3.0
Compiling num_threads v0.1.6
Compiling termcolor v1.1.3
Compiling hashbrown v0.12.3
Compiling ppv-lite86 v0.2.16
Compiling termtree v0.2.4
Compiling difflib v0.4.0
Compiling humantime v2.1.0
Compiling remove_dir_all v0.5.3
Compiling fastrand v1.8.0
Compiling strsim v0.10.0
Compiling bitflags v1.3.2
Compiling once_cell v1.14.0
Compiling textwrap v0.15.0
Compiling reo v0.0.3 (/home/r/repo/target/package/reo-0.0.3)
Compiling futures-timer v3.0.2
Compiling glob v0.3.0
Compiling hex v0.4.3
Compiling itertools v0.10.3
Compiling slab v0.4.7
Compiling num-traits v0.2.15
Compiling indexmap v1.9.1
Compiling predicates-tree v1.0.5
Compiling clap_lex v0.2.4
Compiling rustc_version v0.4.0
Compiling aho-corasick v0.7.19
Compiling bstr v0.2.17
Compiling atty v0.2.14
Compiling getrandom v0.2.7
Compiling wait-timeout v0.2.0
Compiling tempfile v3.3.0
Compiling colored v2.0.0
Compiling rstest_macros v0.14.0
Compiling clap v3.2.20
Compiling rand_core v0.6.3
Compiling time v0.3.14
Compiling rand_chacha v0.3.1
Compiling regex v1.6.0
Compiling float-cmp v0.9.0
Compiling rand v0.8.5
Compiling simple_logger v2.3.0
Compiling predicates v2.1.1
Compiling env_logger v0.9.0
Compiling assert_cmd v2.0.4
Compiling futures-macro v0.3.24
Compiling ctor v0.1.23
Compiling futures-executor v0.3.24
Compiling futures v0.3.24
Compiling rstest v0.15.0
Finished dev [unoptimized + debuginfo] target(s) in 24.63s
Uploading reo v0.0.3 (/home/r/repo)
+ 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.0.3 -m '0.0.3: tagged by rultor.com'
+ git reset --hard
HEAD is now at 77a563b 0.0.3
+ 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 77a563b).
+ git push --all origin
Everything up-to-date
+ git push --tags origin
To github.com:objectionary/reo.git
* [new tag] 0.0.3 -> 0.0.3
container 824eaa476006fb8c90c84eabd921221425a10f7feadf999edb9f6f589c44b3b6 is dead
Mon 05 Sep 2022 02:48:05 PM CEST