+ set -e + set -o pipefail ++ dirname ./run.sh + cd . + echo 1748655 + echo '2.0-SNAPSHOT BUILD' 2.0-SNAPSHOT BUILD + date Tue 26 Jul 2022 09:50:37 PM CEST + uptime 21:50:37 up 27 days, 23:51, 0 users, load average: 0.08, 0.02, 0.01 + head=git@github.com:dartoos-dev/json_cache.git + ff=default + image=cirrusci/flutter:stable + rebase=true + squash=false + head_branch=master + author=rafamizes + tag=1.2.5 + vars=('--env=head=git@github.com:dartoos-dev/json_cache.git' '--env=head_branch=master' '--env=author=rafamizes' '--env=tag=1.2.5' '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:dartoos-dev/json_cache.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=rafamizes'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=1.2.5'\''\'\'''\'''\'' '\'';'\'' '\''sed -i "s/^\(version:\).*/\1 $tag/" pubspec.yaml'\'' '\'';'\'' '\''sed -i "/\[[Uu]nreleased\]/a\\\n## [$tag] - $(date '\''\'\'''\''+%F'\''\'\'''\'')" CHANGELOG.md'\'' '\'';'\'' '\''mkdir -p ~/.pub-cache'\'' '\'';'\'' '\''mv ../credentials.json ~/.pub-cache/credentials.json'\'' '\'';'\'' '\''flutter clean'\'' '\'';'\'' '\''flutter pub get'\'' '\'';'\'' '\''flutter pub publish -f'\'' '\'';'\'' '\''git commit -am "version $tag"'\'' '\'';'\'' '\''git checkout master'\'' '\'';'\'' '\''git merge __rultor'\'' '\'';'\'' '\''git checkout __rultor'\'' '\'';'\'' )') + scripts=('export '\''head=git@github.com:dartoos-dev/json_cache.git'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''author=rafamizes'\''' ';' 'export '\''tag=1.2.5'\''' ';' 'sed -i "s/^\(version:\).*/\1 $tag/" pubspec.yaml' ';' 'sed -i "/\[[Uu]nreleased\]/a\\\n## [$tag] - $(date '\''+%F'\'')" CHANGELOG.md' ';' 'mkdir -p ~/.pub-cache' ';' 'mv ../credentials.json ~/.pub-cache/credentials.json' ';' 'flutter clean' ';' 'flutter pub get' ';' 'flutter pub publish -f' ';' 'git commit -am "version $tag"' ';' 'git checkout master' ';' 'git merge __rultor' ';' 'git checkout __rultor' ';') + directory= + container=dartoos-dev_json_cache_85 + as_root=true + 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:dartoos-dev/json_cache.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:dartoos-dev/json_cache.git'\''' ']' + cd .. + cat + '[' true = true ']' + cat + chmod a+x entry.sh + cat + echo 'export '\''head=git@github.com:dartoos-dev/json_cache.git'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''author=rafamizes'\''' ';' 'export '\''tag=1.2.5'\''' ';' 'sed -i "s/^\(version:\).*/\1 $tag/" pubspec.yaml' ';' 'sed -i "/\[[Uu]nreleased\]/a\\\n## [$tag] - $(date '\''+%F'\'')" CHANGELOG.md' ';' 'mkdir -p ~/.pub-cache' ';' 'mv ../credentials.json ~/.pub-cache/credentials.json' ';' 'flutter clean' ';' 'flutter pub get' ';' 'flutter pub publish -f' ';' 'git commit -am "version $tag"' ';' 'git checkout master' ';' 'git merge __rultor' ';' 'git checkout __rultor' ';' + sensitive=() + rm -rf .gpg + '[' -z 1.2.5 ']' + [[ 1.2.5 =~ ^[a-zA-Z0-9\.\-]+$ ]] + echo 'tag name is valid: "1.2.5"' tag name is valid: "1.2.5" + cd repo ++ git tag -l 1.2.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.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=cirrusci/flutter:stable + docker pull cirrusci/flutter:stable stable: Pulling from cirrusci/flutter Digest: sha256:622b4f7df9ac666206787f60044347a892d9bf4288255ca50604c9a8e95a5da4 Status: Image is up to date for cirrusci/flutter:stable docker.io/cirrusci/flutter:stable + docker ps --filter=status=exited + grep --quiet '\sdartoos-dev_json_cache_85\s*$' + ls -al . total 44 drwx------ 3 rultor rultor 4096 Jul 26 21:50 . drwxrwxrwt 16 root root 4096 Jul 26 21:50 .. -rw-rw-r-- 1 rultor rultor 483 Jul 26 21:50 credentials.json -rwxrwxr-x 1 rultor rultor 162 Jul 26 21:50 entry.sh -rw-rw-r-- 1 rultor rultor 8 Jul 26 21:50 pid drwxrwxr-x 7 rultor rultor 4096 Jul 26 21:50 repo -rwxrwxr-x 1 rultor rultor 5957 Jul 26 21:50 run.sh -rw-rw-r-- 1 rultor rultor 620 Jul 26 21:50 script.sh -rw-rw-r-- 1 rultor rultor 4274 Jul 26 21:50 stdout ++ pwd ++ pwd + docker run -t --rm -v /tmp/rultor-JsAy:/main --env=head=git@github.com:dartoos-dev/json_cache.git --env=head_branch=master --env=author=rafamizes --env=tag=1.2.5 '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:dartoos-dev/json_cache.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=rafamizes'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=1.2.5'\''\'\'''\'''\'' '\'';'\'' '\''sed -i "s/^\(version:\).*/\1 $tag/" pubspec.yaml'\'' '\'';'\'' '\''sed -i "/\[[Uu]nreleased\]/a\\\n## [$tag] - $(date '\''\'\'''\''+%F'\''\'\'''\'')" CHANGELOG.md'\'' '\'';'\'' '\''mkdir -p ~/.pub-cache'\'' '\'';'\'' '\''mv ../credentials.json ~/.pub-cache/credentials.json'\'' '\'';'\'' '\''flutter clean'\'' '\'';'\'' '\''flutter pub get'\'' '\'';'\'' '\''flutter pub publish -f'\'' '\'';'\'' '\''git commit -am "version $tag"'\'' '\'';'\'' '\''git checkout master'\'' '\'';'\'' '\''git merge __rultor'\'' '\'';'\'' '\''git checkout __rultor'\'' '\'';'\'' )' --hostname=docker --privileged --memory=6g --memory-swap=16g --oom-kill-disable --cidfile=/tmp/rultor-JsAy/cid -w=/main -v /var/run/docker.sock:/var/run/docker.sock --name=dartoos-dev_json_cache_85 cirrusci/flutter:stable /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 + mkdir /home/r + cp -R ./cid ./credentials.json ./entry.sh ./pid ./repo ./run.sh ./script.sh ./stdout /home/r + rm -rf repo + chmod a+x /home/r/script.sh + /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:dartoos-dev/json_cache.git + head=git@github.com:dartoos-dev/json_cache.git + export head_branch=master + head_branch=master + export author=rafamizes + author=rafamizes + export tag=1.2.5 + tag=1.2.5 + sed -i 's/^\(version:\).*/\1 1.2.5/' pubspec.yaml ++ date +%F + sed -i '/\[[Uu]nreleased\]/a\\n## [1.2.5] - 2022-07-26' CHANGELOG.md + mkdir -p /home/r/.pub-cache + mv ../credentials.json /home/r/.pub-cache/credentials.json + flutter clean 1m ╔════════════════════════════════════════════════════════════════════════════╗22m 1m ║ Welcome to Flutter! - https://flutter.dev ║22m 1m ║ ║22m 1m ║ The Flutter tool uses Google Analytics to anonymously report feature usage ║22m 1m ║ statistics and basic crash reports. This data is used to help improve ║22m 1m ║ Flutter tools over time. ║22m 1m ║ ║22m 1m ║ Flutter tool analytics are not sent on the very first run. To disable ║22m 1m ║ reporting, type 'flutter config --no-analytics'. To display the current ║22m 1m ║ setting, type 'flutter config'. If you opt out of analytics, an opt-out ║22m 1m ║ event will be sent, and then no further information will be sent by the ║22m 1m ║ Flutter tool. ║22m 1m ║ ║22m 1m ║ By downloading the Flutter SDK, you agree to the Google Terms of Service. ║22m 1m ║ Note: The Google Privacy Policy describes how data is handled in this ║22m 1m ║ service. ║22m 1m ║ ║22m 1m ║ Moreover, Flutter includes the Dart SDK, which may send usage metrics and ║22m 1m ║ crash reports to Google. ║22m 1m ║ ║22m 1m ║ Read about data we send with crash reports: ║22m 1m ║ https://flutter.dev/docs/reference/crash-reporting ║22m 1m ║ ║22m 1m ║ See Google's privacy policy: ║22m 1m ║ https://policies.google.com/privacy ║22m 1m ╚════════════════════════════════════════════════════════════════════════════╝22m 1m22m + flutter pub get Running "flutter pub get" in repo... 9.5s + flutter pub publish -f Publishing json_cache 1.2.5 to https://pub.dartlang.org: |-- CHANGELOG.md |-- LICENSE |-- README.md |-- analysis_options.yaml |-- example | '-- main.dart |-- lib | |-- json_cache.dart | '-- src | |-- json_cache.dart | |-- json_cache_cross_local_storage.dart | |-- json_cache_enc_prefs.dart | | (5 more...) | |-- json_cache_prefs.dart | |-- json_cache_sec_storage.dart | '-- json_cache_wrap.dart |-- pubspec.yaml '-- test |-- flutter_secure_storage_mock.dart |-- json_cache_cross_local_storage_test.dart |-- json_cache_enc_prefs_test.dart |-- json_cache_fake_test.dart |-- json_cache_hive_test.dart |-- json_cache_local_storage_test.dart |-- json_cache_mem_test.dart |-- json_cache_prefs_test.dart |-- json_cache_sec_storage_test.dart '-- json_cache_wrap_test.dart Downloading clock 1.1.1... Downloading crypto 3.0.2... Downloading typed_data 1.3.1... Downloading shared_preferences_macos 2.0.4... Downloading shared_preferences_windows 2.1.1... Downloading path 1.8.2... Downloading shared_preferences_web 2.0.4... Downloading shared_preferences_linux 2.1.1... Downloading shared_preferences_ios 2.1.1... Downloading shared_preferences_android 2.0.12... Downloading plugin_platform_interface 2.1.2... Downloading asn1lib 1.1.0... Downloading path_provider_platform_interface 2.0.4... Downloading args 2.3.1... Downloading path_provider_windows 2.1.0... Downloading ffi 2.0.1... Downloading path_provider_linux 2.1.7... Downloading xdg_directories 0.2.0+1... Downloading process 4.2.4... Downloading path_provider 2.0.11... Downloading path_provider_ios 2.0.10... Downloading path_provider_macos 2.0.6... Downloading path_provider_android 2.0.16... Downloading pointycastle 3.6.1... Downloading convert 3.0.2... Downloading win32 2.7.0... NullSafetyCompliance.compliant Uploading... Successfully uploaded https://pub.dev/packages/json_cache "1.2.5". + git commit -am 'version 1.2.5' [__rultor cd68b07] version 1.2.5 2 files changed, 3 insertions(+), 1 deletion(-) + git checkout master Switched to branch 'master' Your branch is up to date with 'origin/master'. + git merge __rultor Updating 3ae38ff..cd68b07 Fast-forward CHANGELOG.md | 2 32m++m pubspec.yaml | 2 32m+m31m-m 2 files changed, 3 insertions(+), 1 deletion(-) + git checkout __rultor Switched to branch '__rultor' + mv /home/r/repo . + '[' -n '' ']' ++ whoami + sudo chown -R rultor repo + cd repo + git checkout __rultor Already on '__rultor' + git tag 1.2.5 -m '1.2.5: tagged by rultor.com' + git reset --hard HEAD is now at cd68b07 version 1.2.5 + git clean -fd + git checkout master Switched to branch 'master' Your branch is ahead of 'origin/master' by 1 commit. (use "git push" to publish your local commits) + git branch -D __rultor Deleted branch __rultor (was cd68b07). + git push --all origin To github.com:dartoos-dev/json_cache.git 3ae38ff..cd68b07 master -> master + git push --tags origin To github.com:dartoos-dev/json_cache.git * [new tag] 1.2.5 -> 1.2.5 container 30592ac44c9366a7f2b7a7fd3900fc5124bdec4da6024095779d5b908c438ff6 is dead Tue 26 Jul 2022 09:51:26 PM CEST