+ set -e + set -o pipefail ++ dirname ./run.sh + cd . + echo 6661 + echo '1.70.6 5bcc93e7c' 1.70.6 5bcc93e7c + date Mon Nov 8 16:24:28 CET 2021 + uptime 16:24:28 up 407 days, 1:30, 0 users, load average: 4.85, 4.64, 4.57 + head=git@github.com:dartoos-dev/eo_color.git + ff=default + image=cirrusci/flutter:stable + rebase=true + squash=false + head_branch=master + author=rafamizes + tag=2.1.0 + vars=('--env=head=git@github.com:dartoos-dev/eo_color.git' '--env=tag=2.1.0' '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:dartoos-dev/eo_color.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=2.1.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 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/eo_color.git'\''' ';' 'export '\''tag=2.1.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 pub publish -f' ';' 'git commit -am "version $tag"' ';' 'git checkout master' ';' 'git merge __rultor' ';' 'git checkout __rultor' ';') + directory= + container=dartoos-dev_eo_color_124 + as_root=true + git --version git version 2.7.4 + docker --version Docker version 17.12.0-ce, build c97c6d6 + 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/eo_color.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/eo_color.git'\''' ']' + cd .. + cat + '[' true = true ']' + cat + chmod a+x entry.sh + cat + echo 'export '\''head=git@github.com:dartoos-dev/eo_color.git'\''' ';' 'export '\''tag=2.1.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 pub publish -f' ';' 'git commit -am "version $tag"' ';' 'git checkout master' ';' 'git merge __rultor' ';' 'git checkout __rultor' ';' + sensitive=() + rm -rf .gpg + '[' -z 2.1.0 ']' + [[ 2.1.0 =~ ^[a-zA-Z0-9\.\-]+$ ]] + echo 'tag name is valid: "2.1.0"' tag name is valid: "2.1.0" + cd repo ++ git tag -l 2.1.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=4.57 ++ echo 4.57 '>' 30 ++ bc + '[' 0 -eq 1 ']' + echo 'load average is 4.57, low enough to run a new Docker container' load average is 4.57, 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:e9c14df524a1f87f2acd43611ff6f315d81338bd87a9648d0305c9c465abaf8d Status: Image is up to date for cirrusci/flutter:stable + docker ps --filter=status=exited + grep --quiet '\sdartoos-dev_eo_color_124\s*$' + ls -al . total 712 drwx--x--x 3 rultor rultor 4096 Nov 8 16:24 . drwxrwxrwt 12 root root 684032 Nov 8 16:24 .. -rw-rw-r-- 1 rultor rultor 483 Nov 8 16:24 credentials.json -rw-rw-r-- 1 rultor rultor 444 Nov 8 16:24 end.sh -rwxrwxr-x 1 rultor rultor 162 Nov 8 16:24 entry.sh -rw-rw-r-- 1 rultor rultor 5 Nov 8 16:24 pid drwxrwxr-x 7 rultor rultor 4096 Nov 8 16:24 repo -rwxrwxr-x 1 rultor rultor 5828 Nov 8 16:24 run.sh -rw-rw-r-- 1 rultor rultor 584 Nov 8 16:24 script.sh -rw-rw-r-- 1 rultor rultor 4030 Nov 8 16:24 stdout ++ pwd ++ pwd + docker run -t --rm -v /tmp/rultor-p44R:/main --env=head=git@github.com:dartoos-dev/eo_color.git --env=tag=2.1.0 '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:dartoos-dev/eo_color.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=2.1.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 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=6g --memory-swap=16g --oom-kill-disable --cidfile=/tmp/rultor-p44R/cid -w=/main -v /var/run/docker.sock:/var/run/docker.sock --name=dartoos-dev_eo_color_124 cirrusci/flutter:stable /main/entry.sh + 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 + 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/eo_color.git + head=git@github.com:dartoos-dev/eo_color.git + export tag=2.1.0 + tag=2.1.0 + export head_branch=master + head_branch=master + export author=rafamizes + author=rafamizes + sed -i 's/^\(version:\).*/\1 2.1.0/' pubspec.yaml ++ date +%F + sed -i '/\[[Uu]nreleased\]/a\\n## [2.1.0] - 2021-11-08' CHANGELOG.md + mkdir -p /home/r/.pub-cache + mv ../credentials.json /home/r/.pub-cache/credentials.json + flutter pub publish -f 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 Publishing eo_color 2.1.0 to https://pub.dartlang.org: |-- CHANGELOG.md |-- LICENSE |-- README.md |-- analysis_options.yaml |-- example | |-- README.md | |-- analysis_options.yaml | |-- android | | |-- app | | | |-- build.gradle | | | '-- src | | | |-- debug | | | | '-- AndroidManifest.xml | | | |-- main | | | | |-- AndroidManifest.xml | | | | '-- res | | | | |-- drawable | | | | | '-- launch_background.xml | | | | |-- drawable-v21 | | | | | '-- launch_background.xml | | | | |-- mipmap-hdpi | | | | | '-- ic_launcher.png | | | | |-- mipmap-mdpi | | | | | '-- ic_launcher.png | | | | |-- mipmap-xhdpi | | | | | '-- ic_launcher.png | | | | |-- mipmap-xxhdpi | | | | | '-- ic_launcher.png | | | | |-- mipmap-xxxhdpi | | | | | '-- ic_launcher.png | | | | |-- values | | | | | '-- styles.xml | | | | '-- values-night | | | | '-- styles.xml | | | '-- profile | | | '-- AndroidManifest.xml | | |-- build.gradle | | |-- gradle | | | '-- wrapper | | | '-- gradle-wrapper.properties | | |-- gradle.properties | | '-- settings.gradle | |-- ios | | |-- Flutter | | | |-- AppFrameworkInfo.plist | | | |-- Debug.xcconfig | | | '-- Release.xcconfig | | |-- Runner | | | |-- AppDelegate.swift | | | |-- Assets.xcassets | | | | |-- AppIcon.appiconset | | | | | |-- Contents.json | | | | | |-- Icon-App-1024x1024@1x.png | | | | | |-- Icon-App-20x20@1x.png | | | | | | (10 more...) | | | | | |-- Icon-App-76x76@1x.png | | | | | |-- Icon-App-76x76@2x.png | | | | | '-- Icon-App-83.5x83.5@2x.png | | | | '-- LaunchImage.imageset | | | | |-- Contents.json | | | | |-- LaunchImage.png | | | | |-- LaunchImage@2x.png | | | | |-- LaunchImage@3x.png | | | | '-- README.md | | | |-- Base.lproj | | | | |-- LaunchScreen.storyboard | | | | '-- Main.storyboard | | | |-- Info.plist | | | '-- Runner-Bridging-Header.h | | |-- Runner.xcodeproj | | | |-- project.pbxproj | | | |-- project.xcworkspace | | | | |-- contents.xcworkspacedata | | | | '-- xcshareddata | | | | |-- IDEWorkspaceChecks.plist | | | | '-- WorkspaceSettings.xcsettings | | | '-- xcshareddata | | | '-- xcschemes | | | '-- Runner.xcscheme | | '-- Runner.xcworkspace | | |-- contents.xcworkspacedata | | '-- xcshareddata | | |-- IDEWorkspaceChecks.plist | | '-- WorkspaceSettings.xcsettings | |-- lib | | |-- contrast.dart | | '-- main.dart | |-- macos | | |-- Flutter | | | |-- Flutter-Debug.xcconfig | | | |-- Flutter-Release.xcconfig | | | '-- GeneratedPluginRegistrant.swift | | |-- Runner | | | |-- AppDelegate.swift | | | |-- Assets.xcassets | | | | '-- AppIcon.appiconset | | | | |-- Contents.json | | | | |-- app_icon_1024.png | | | | |-- app_icon_128.png | | | | |-- app_icon_16.png | | | | |-- app_icon_256.png | | | | |-- app_icon_32.png | | | | |-- app_icon_512.png | | | | '-- app_icon_64.png | | | |-- Base.lproj | | | | '-- MainMenu.xib | | | |-- Configs | | | | |-- AppInfo.xcconfig | | | | |-- Debug.xcconfig | | | | |-- Release.xcconfig | | | | '-- Warnings.xcconfig | | | |-- DebugProfile.entitlements | | | |-- Info.plist | | | |-- MainFlutterWindow.swift | | | '-- Release.entitlements | | |-- Runner.xcodeproj | | | |-- project.pbxproj | | | |-- project.xcworkspace | | | | '-- xcshareddata | | | | '-- IDEWorkspaceChecks.plist | | | '-- xcshareddata | | | '-- xcschemes | | | '-- Runner.xcscheme | | '-- Runner.xcworkspace | | |-- contents.xcworkspacedata | | '-- xcshareddata | | '-- IDEWorkspaceChecks.plist | |-- pubspec.yaml | '-- web | |-- favicon.png | |-- icons | | |-- Icon-192.png | | '-- Icon-512.png | |-- index.html | '-- manifest.json |-- lib | |-- eo_color.dart | |-- gradients.dart | |-- palettes.dart | |-- src | | |-- gradient.dart | | |-- gradient_immut.dart | | |-- gradient_swatch.dart | | |-- material | | | |-- accents.dart | | | |-- amber | | | | |-- amber.dart | | | | |-- amber_accent.dart | | | | |-- amber_accents.dart | | | | '-- ambers.dart | | | |-- black | | | | '-- black.dart | | | | (19 more...) | | | |-- transparent.dart | | | |-- white | | | | '-- white.dart | | | '-- yellow | | | |-- yellow.dart | | | |-- yellow_accent.dart | | | |-- yellow_accents.dart | | | '-- yellows.dart | | |-- palette.dart | | |-- palette_rgb.dart | | |-- swatch.dart | | '-- swatch_base.dart | '-- swatches.dart |-- pubspec.yaml '-- test |-- gradient_immut_test.dart |-- gradient_swatch_test.dart |-- material | |-- accent_shades.dart | |-- accent_swatch_tester.dart | |-- accents_test.dart | | (23 more...) | |-- transparent_test.dart | |-- white | | '-- white_test.dart | '-- yellow | |-- yellow_accent_test.dart | |-- yellow_accents_test.dart | |-- yellow_test.dart | '-- yellows_test.dart |-- palette_rgb_test.dart |-- swatch_base_test.dart |-- test_palette.dart '-- test_swatch.dart Downloading vector_math 2.1.0... Downloading typed_data 1.3.0... Downloading meta 1.7.0... Downloading collection 1.15.0... Downloading characters 1.1.0... Uploading... Successfully uploaded package. + git commit -am 'version 2.1.0' [__rultor 49d6706] version 2.1.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 6f80371..49d6706 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 2.1.0 -m '2.1.0: tagged by rultor.com' + git reset --hard HEAD is now at 49d6706 version 2.1.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 49d6706). + git push --all origin To git@github.com:dartoos-dev/eo_color.git 6f80371..49d6706 master -> master + git push --tags origin To git@github.com:dartoos-dev/eo_color.git * [new tag] 2.1.0 -> 2.1.0 container 8291ebaaeb9b84fb339243e42665ae575841ec0ad746ed4c7243b3417af22421 is dead Mon Nov 8 16:25:47 CET 2021