+ set -e + set -o pipefail ++ dirname ./run.sh + cd . + echo 2492424 + echo '2.0-SNAPSHOT BUILD' 2.0-SNAPSHOT BUILD + date Mon 05 Dec 2022 05:18:52 PM CET + uptime 17:18:52 up 11 days, 22:56, 0 users, load average: 6.08, 6.04, 6.05 + 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.5.0 + vars=('--env=head=git@github.com:dartoos-dev/json_cache.git' '--env=tag=1.5.0' '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:dartoos-dev/json_cache.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=1.5.0'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=rafamizes'\''\'\'''\'''\'' '\'';'\'' '\''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'\'' '\'';'\'' )' '--env=head_branch=master' '--env=author=rafamizes') + scripts=('export '\''head=git@github.com:dartoos-dev/json_cache.git'\''' ';' 'export '\''tag=1.5.0'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''author=rafamizes'\''' ';' '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_111 + as_root=true + hostname m2262.contaboserver.net + git --version git version 2.25.1 + docker --version Docker version 20.10.21, build baeda1f + 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 '\''tag=1.5.0'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''author=rafamizes'\''' ';' '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 .gnupg + '[' -z 1.5.0 ']' + [[ 1.5.0 =~ ^[a-zA-Z0-9\.\-]+$ ]] + echo 'tag name is valid: "1.5.0"' tag name is valid: "1.5.0" + cd repo ++ git tag -l 1.5.0 + '[' ']' + 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=6.05 ++ echo 6.05 '>' 30 ++ bc + '[' 0 -eq 1 ']' + echo 'load average is 6.05, low enough to run a new Docker container' load average is 6.05, 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:16c9d3b4bf8926f8c7c444e523e746948d4a6bb85fe0f9ace9ab8833cd9f15ed 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_111\s*$' + ls -al . total 48 drwx------ 3 rultor rultor 4096 Dec 5 17:18 . drwxrwxrwt 11 root root 4096 Dec 5 17:18 .. -rw-rw-r-- 1 rultor rultor 483 Dec 5 17:18 credentials.json -rwxrwxr-x 1 rultor rultor 556 Dec 5 17:18 end.sh -rwxrwxr-x 1 rultor rultor 162 Dec 5 17:18 entry.sh -rw-rw-r-- 1 rultor rultor 8 Dec 5 17:18 pid drwxrwxr-x 7 rultor rultor 4096 Dec 5 17:18 repo -rwxrwxr-x 1 rultor rultor 6020 Dec 5 17:18 run.sh -rw-rw-r-- 1 rultor rultor 681 Dec 5 17:18 script.sh -rw-rw-r-- 1 rultor rultor 4277 Dec 5 17:18 stdout ++ pwd ++ pwd + docker run -t --rm -v /tmp/rultor-abrZ:/main --env=head=git@github.com:dartoos-dev/json_cache.git --env=tag=1.5.0 '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:dartoos-dev/json_cache.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=1.5.0'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=rafamizes'\''\'\'''\'''\'' '\'';'\'' '\''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'\'' '\'';'\'' )' --env=head_branch=master --env=author=rafamizes --hostname=docker --privileged --memory=8g --memory-swap=16g --oom-kill-disable --cidfile=/tmp/rultor-abrZ/cid -w=/main -v /var/run/docker.sock:/var/run/docker.sock --name=dartoos-dev_json_cache_111 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 ./end.sh ./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 + '[' -e /home/r/.profile ']' + 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 tag=1.5.0 + tag=1.5.0 + export head_branch=master + head_branch=master + export author=rafamizes + author=rafamizes + sed -i 's/^\(version:\).*/\1 1.5.0/' pubspec.yaml ++ date +%F + sed -i '/\[[Uu]nreleased\]/a\\n## [1.5.0] - 2022-12-05' 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.4s + flutter pub publish -f Publishing json_cache 1.5.0 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 | |-- json_cache_exception.dart | |-- json_cache_fake.dart | |-- json_cache_hive.dart | |-- json_cache_hollow.dart | |-- json_cache_local_storage.dart | |-- json_cache_mem.dart | |-- json_cache_prefs.dart | |-- json_cache_sec_storage.dart | |-- json_cache_try.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_exception_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_try_test.dart '-- json_cache_wrap_test.dart Downloading shared_preferences_platform_interface 2.1.0... Downloading crypto 3.0.2... Downloading typed_data 1.3.1... Downloading shared_preferences_macos 2.0.4... Downloading plugin_platform_interface 2.1.3... Downloading shared_preferences_windows 2.1.1... Downloading shared_preferences_web 2.0.4... Downloading shared_preferences_linux 2.1.1... Downloading shared_preferences_ios 2.1.1... Downloading args 2.3.1... Downloading path_provider_platform_interface 2.0.5... Downloading shared_preferences_android 2.0.14... Downloading file 6.1.4... Downloading path_provider_linux 2.1.7... Downloading xdg_directories 0.2.0+2... Downloading ffi 2.0.1... Downloading process 4.2.4... Downloading path_provider 2.0.11... Downloading path_provider_macos 2.0.6... Downloading path_provider_ios 2.0.11... Downloading path_provider_windows 2.1.3... Downloading asn1lib 1.4.0... Downloading pointycastle 3.6.2... Downloading convert 3.1.1... Downloading path_provider_android 2.0.22... Downloading win32 3.1.2... Uploading... Successfully uploaded https://pub.dev/packages/json_cache version 1.5.0. + git commit -am 'version 1.5.0' [__rultor 3feee6b] version 1.5.0 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 32834bf..3feee6b 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.5.0 -m '1.5.0: tagged by rultor.com' + git reset --hard HEAD is now at 3feee6b version 1.5.0 + 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 3feee6b). + git push --all origin To github.com:dartoos-dev/json_cache.git 32834bf..3feee6b master -> master + git push --tags origin To github.com:dartoos-dev/json_cache.git * [new tag] 1.5.0 -> 1.5.0 container 7bfec90e6293d63a5b4471f432b0a154c24f9131af7379f5e94cd09382faf0d0 is dead Mon 05 Dec 2022 05:20:06 PM CET