+ set -e
+ set -o pipefail
++ dirname ./run.sh
+ cd .
+ echo 1009012
+ echo '2.0-SNAPSHOT BUILD'
2.0-SNAPSHOT BUILD
+ date
Wed 07 Sep 2022 09:29:54 AM CEST
+ uptime
09:29:54 up 70 days, 11:31, 0 users, load average: 0.00, 0.00, 0.04
+ 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.5
+ vars=('--env=head=git@github.com:objectionary/reo.git' '--env=tag=0.0.5' '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:objectionary/reo.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=0.0.5'\''\'\'''\'''\'' '\'';'\'' '\''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.5'\''' ';' '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_29
+ 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.5'\''' ';' '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.5 ']'
+ [[ 0.0.5 =~ ^[a-zA-Z0-9\.\-]+$ ]]
+ echo 'tag name is valid: "0.0.5"'
tag name is valid: "0.0.5"
+ cd repo
++ git tag -l 0.0.5
+ '[' ']'
+ 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.04
++ echo 0.04 '>' 30
++ bc
+ '[' 0 -eq 1 ']'
+ echo 'load average is 0.04, low enough to run a new Docker container'
load average is 0.04, 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_29\s*$'
+ ls -al .
total 44
drwx--x--x 3 rultor rultor 4096 Sep 7 09:29 .
drwxrwxrwt 18 root root 4096 Sep 7 09:29 ..
-rw-rw-r-- 1 rultor rultor 57 Sep 7 09:29 credentials
-rw-rw-r-- 1 rultor rultor 556 Sep 7 09:29 end.sh
-rwxrwxr-x 1 rultor rultor 363 Sep 7 09:29 entry.sh
-rw-rw-r-- 1 rultor rultor 8 Sep 7 09:29 pid
drwxrwxr-x 8 rultor rultor 4096 Sep 7 09:29 repo
-rwxrwxr-x 1 rultor rultor 5747 Sep 7 09:29 run.sh
-rw-rw-r-- 1 rultor rultor 567 Sep 7 09:29 script.sh
-rw-rw-r-- 1 rultor rultor 4002 Sep 7 09:29 stdout
++ pwd
++ pwd
+ docker run -t --rm -v /tmp/rultor-eCek:/main --env=head=git@github.com:objectionary/reo.git --env=tag=0.0.5 '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:objectionary/reo.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=0.0.5'\''\'\'''\'''\'' '\'';'\'' '\''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-eCek/cid -w=/main -v /var/run/docker.sock:/var/run/docker.sock --name=objectionary_reo_29 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.5
+ tag=0.0.5
+ export head_branch=master
+ head_branch=master
+ export author=yegor256
+ author=yegor256
+ pdd --file=/dev/null
+ [[ 0.0.5 =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]
+ sed -i -e 's/^version = "0.0.0"/version = "0.0.5"/' Cargo.toml
+ cargo --color=never test
Updating crates.io index
Downloading crates ...
Downloaded autocfg v1.1.0
Downloaded predicates v2.1.1
Downloaded getrandom v0.2.7
Downloaded ppv-lite86 v0.2.16
Downloaded rustc_version v0.4.0
Downloaded termtree v0.2.4
Downloaded simple_logger v2.3.0
Downloaded futures-task v0.3.24
Downloaded float-cmp v0.9.0
Downloaded futures-timer v3.0.2
Downloaded doc-comment v0.3.3
Downloaded assert_cmd v2.0.4
Downloaded semver v1.0.13
Downloaded num_threads v0.1.6
Downloaded bstr v0.2.17
Downloaded predicates-tree v1.0.5
Downloaded normalize-line-endings v0.3.0
Downloaded predicates-core v1.0.3
Downloaded time-macros v0.2.4
Downloaded futures-core v0.3.24
Downloaded tempfile v3.3.0
Downloaded os_str_bytes v6.3.0
Downloaded pin-project-lite v0.2.9
Downloaded termcolor v1.1.3
Downloaded textwrap v0.15.0
Downloaded slab v0.4.7
Downloaded quote v1.0.21
Downloaded wait-timeout v0.2.0
Downloaded futures-util v0.3.24
Downloaded strsim v0.10.0
Downloaded regex-automata v0.1.10
Downloaded proc-macro2 v1.0.43
Downloaded indexmap v1.9.1
Downloaded itertools v0.10.3
Downloaded memchr v2.5.0
Downloaded hashbrown v0.12.3
Downloaded rand v0.8.5
Downloaded syn v1.0.99
Downloaded rstest_macros v0.14.0
Downloaded unicode-ident v1.0.3
Downloaded rstest v0.15.0
Downloaded libc v0.2.132
Downloaded difflib v0.4.0
Downloaded futures-channel v0.3.24
Downloaded atty v0.2.14
Downloaded futures-sink v0.3.24
Downloaded log v0.4.17
Downloaded futures-macro v0.3.24
Downloaded aho-corasick v0.7.19
Downloaded time v0.3.14
Downloaded regex v1.6.0
Downloaded pin-utils v0.1.0
Downloaded clap v3.2.20
Downloaded hex v0.4.3
Downloaded lazy_static v1.4.0
Downloaded remove_dir_all v0.5.3
Downloaded rand_core v0.6.3
Downloaded futures-io v0.3.24
Downloaded once_cell v1.14.0
Downloaded regex-syntax v0.6.27
Downloaded rand_chacha v0.3.1
Downloaded itoa v1.0.3
Downloaded futures v0.3.24
Downloaded quick-error v1.2.3
Downloaded anyhow v1.0.64
Downloaded cfg-if v1.0.0
Downloaded num-traits v0.2.15
Downloaded env_logger v0.7.1
Downloaded humantime v1.3.0
Downloaded ctor v0.1.23
Downloaded glob v0.3.0
Downloaded futures-executor v0.3.24
Downloaded fastrand v1.8.0
Downloaded bitflags v1.3.2
Downloaded either v1.8.0
Downloaded clap_lex v0.2.4
Downloaded colored v2.0.0
Downloaded fsutils v0.1.7
Compiling autocfg v1.1.0
Compiling libc v0.2.132
Compiling memchr v2.5.0
Compiling cfg-if v1.0.0
Compiling proc-macro2 v1.0.43
Compiling quote v1.0.21
Compiling unicode-ident v1.0.3
Compiling syn v1.0.99
Compiling regex-syntax v0.6.27
Compiling semver v1.0.13
Compiling futures-core v0.3.24
Compiling log v0.4.17
Compiling futures-task v0.3.24
Compiling futures-channel v0.3.24
Compiling lazy_static v1.4.0
Compiling futures-util v0.3.24
Compiling either v1.8.0
Compiling futures-sink v0.3.24
Compiling termcolor v1.1.3
Compiling hashbrown v0.12.3
Compiling pin-utils v0.1.0
Compiling futures-io v0.3.24
Compiling num_threads v0.1.6
Compiling itoa v1.0.3
Compiling pin-project-lite v0.2.9
Compiling anyhow v1.0.64
Compiling os_str_bytes v6.3.0
Compiling time-macros v0.2.4
Compiling once_cell v1.14.0
Compiling strsim v0.10.0
Compiling textwrap v0.15.0
Compiling predicates-core v1.0.3
Compiling doc-comment v0.3.3
Compiling bitflags v1.3.2
Compiling reo v0.0.5 (/home/r/repo)
Compiling quick-error v1.2.3
Compiling ppv-lite86 v0.2.16
Compiling difflib v0.4.0
Compiling hex v0.4.3
Compiling regex-automata v0.1.10
Compiling normalize-line-endings v0.3.0
Compiling glob v0.3.0
Compiling termtree v0.2.4
Compiling futures-timer v3.0.2
Compiling fastrand v1.8.0
Compiling remove_dir_all v0.5.3
Compiling itertools v0.10.3
Compiling slab v0.4.7
Compiling indexmap v1.9.1
Compiling num-traits v0.2.15
Compiling clap_lex v0.2.4
Compiling humantime v1.3.0
Compiling predicates-tree v1.0.5
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 clap v3.2.20
Compiling rand_core v0.6.3
Compiling rstest_macros v0.14.0
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.7.1
Compiling fsutils v0.1.7
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-a23363da4a215e01)
running 19 tests
test gmi::deploys_and_runs_all_apps ... 33mignoredBm
test data::prints_empty_bytes ... 32mokBm
test org::eolang::array::simple ... 32mokBm
test data::simple_int ... 32mokBm
test org::eolang::int::simple ... 32mokBm
test universe::generates_unique_ids ... 32mokBm
test universe::i_add::adds_simple_vertex ... 32mokBm
test data::prints_bytes ... 32mokBm
test universe::i_atom::evaluates_dummy_atom ... 32mokBm
test universe::i_data::sets_simple_data ... 32mokBm
test universe::safely_generates_unique_ids ... 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_simple_vertices ... 32mokBm
test universe::i_copy::makes_simple_copy ... 32mokBm
test universe::i_bind::binds_two_names ... 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-254f09f52d37de8b)
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-275a73c98ac4589d)
running 5 tests
test prints_version ... 32mokBm
test prints_help ... 32mokBm
test dataizes_simple_gmi ... 32mokBm
test dataizes_all_gmi_tests ... 32mokBm
test dataizes_in_eoc_mode ... 32mokBm
test result: 32mokBm. 5 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.5
[__rultor 33a6bab] 0.0.5
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.5 (/home/r/repo)
Verifying reo v0.0.5 (/home/r/repo)
Compiling libc v0.2.132
Compiling proc-macro2 v1.0.43
Compiling unicode-ident v1.0.3
Compiling quote v1.0.21
Compiling memchr v2.5.0
Compiling autocfg v1.1.0
Compiling syn v1.0.99
Compiling log v0.4.17
Compiling num_threads v0.1.6
Compiling os_str_bytes v6.3.0
Compiling anyhow v1.0.64
Compiling lazy_static v1.4.0
Compiling cfg-if v1.0.0
Compiling time-macros v0.2.4
Compiling itoa v1.0.3
Compiling hashbrown v0.12.3
Compiling textwrap v0.15.0
Compiling bitflags v1.3.2
Compiling either v1.8.0
Compiling reo v0.0.5 (/home/r/repo/target/package/reo-0.0.5)
Compiling regex-syntax v0.6.27
Compiling strsim v0.10.0
Compiling termcolor v1.1.3
Compiling once_cell v1.14.0
Compiling hex v0.4.3
Compiling glob v0.3.0
Compiling clap_lex v0.2.4
Compiling itertools v0.10.3
Compiling indexmap v1.9.1
Compiling aho-corasick v0.7.19
Compiling atty v0.2.14
Compiling colored v2.0.0
Compiling clap v3.2.20
Compiling time v0.3.14
Compiling regex v1.6.0
Compiling simple_logger v2.3.0
Compiling ctor v0.1.23
Finished dev [unoptimized + debuginfo] target(s) in 14.22s
Uploading reo v0.0.5 (/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.5 -m '0.0.5: tagged by rultor.com'
+ git reset --hard
HEAD is now at 33a6bab 0.0.5
+ 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 33a6bab).
+ git push --all origin
Everything up-to-date
+ git push --tags origin
To github.com:objectionary/reo.git
* [new tag] 0.0.5 -> 0.0.5
container 038ffb129b265d71cbc7667a1597fe3a9a590710132b22fdb3e8c5428b02961b is dead
Wed 07 Sep 2022 09:32:16 AM CEST