+ set -e + set -o pipefail ++ dirname ./run.sh + cd . + echo 24257 + echo '1.69.1 839260fab' 1.69.1 839260fab + date Fri Jun 25 22:37:09 CEST 2021 + uptime 22:37:09 up 271 days, 6:43, 0 users, load average: 4.55, 4.63, 4.64 + ff=default + image=cirrusci/flutter:stable + rebase=false + head_branch=master + pull_title='feat: Instagram and Google gradients' + author=rafamizes + directory= + head=git@github.com:dartoos-dev/flutter_brand_palettes.git + pull_id=83 + fork=git@github.com:rafamizes/flutter_brand_palettes.git + fork_branch=79 + squash=false + vars=('--env=head=git@github.com:dartoos-dev/flutter_brand_palettes.git' '--env=pull_id=83' '--env=fork=git@github.com:rafamizes/flutter_brand_palettes.git' '--env=fork_branch=79' '--env=head_branch=master' '--env=pull_title=feat: Instagram and Google gradients' '--env=author=rafamizes' '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:dartoos-dev/flutter_brand_palettes.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_id=83'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork=git@github.com:rafamizes/flutter_brand_palettes.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork_branch=79'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_title=feat: Instagram and Google gradients'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=rafamizes'\''\'\'''\'''\'' '\'';'\'' '\''flutter clean'\'' '\'';'\'' '\''flutter pub get'\'' '\'';'\'' '\''flutter test --no-pub'\'' '\'';'\'' '\''flutter pub publish --dry-run'\'' '\'';'\'' )') + scripts=('export '\''head=git@github.com:dartoos-dev/flutter_brand_palettes.git'\''' ';' 'export '\''pull_id=83'\''' ';' 'export '\''fork=git@github.com:rafamizes/flutter_brand_palettes.git'\''' ';' 'export '\''fork_branch=79'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''pull_title=feat: Instagram and Google gradients'\''' ';' 'export '\''author=rafamizes'\''' ';' 'flutter clean' ';' 'flutter pub get' ';' 'flutter test --no-pub' ';' 'flutter pub publish --dry-run' ';') + container=dartoos-dev_flutter_brand_palettes_83 + as_root=true + 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/flutter_brand_palettes.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/flutter_brand_palettes.git'\''' ']' + cd .. + cat + '[' true = true ']' + cat + chmod a+x entry.sh + cat + echo 'export '\''head=git@github.com:dartoos-dev/flutter_brand_palettes.git'\''' ';' 'export '\''pull_id=83'\''' ';' 'export '\''fork=git@github.com:rafamizes/flutter_brand_palettes.git'\''' ';' 'export '\''fork_branch=79'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''pull_title=feat: Instagram and Google gradients'\''' ';' 'export '\''author=rafamizes'\''' ';' 'flutter clean' ';' 'flutter pub get' ';' 'flutter test --no-pub' ';' 'flutter pub publish --dry-run' ';' + sensitive=() + rm -rf .gpg + cd repo + git remote add fork git@github.com:rafamizes/flutter_brand_palettes.git + git remote update Fetching origin Fetching fork From github.com:rafamizes/flutter_brand_palettes * [new branch] 60 -> fork/60 * [new branch] 62 -> fork/62 * [new branch] 79 -> fork/79 * [new branch] master -> fork/master + args= + '[' default == default ']' + args=' --ff' + '[' default == no ']' + '[' default == only ']' + export BRANCH=__rultor + BRANCH=__rultor ++ git show-branch __rultor ++ wc -l + '[' 0 -gt 0 ']' + git checkout -B __rultor fork/79 Switched to a new branch '__rultor' Branch __rultor set up to track remote branch 79 from fork. + git checkout -B master origin/master Switched to and reset branch 'master' Branch master set up to track remote branch master from origin. Your branch is up-to-date with 'origin/master'. + '[' false == true ']' + '[' false == true ']' + git merge --ff __rultor Auto-merging test/brands/instagram/instagram_test.dart Merge made by the 'recursive' strategy. CHANGELOG.md | 5 ++ example/lib/main.dart | 85 ++++++++----------------- example/pubspec.lock | 2 +- lib/flutter_brand_palettes.dart | 9 +++ lib/gradients.dart | 5 ++ lib/palettes.dart | 4 +- lib/src/brands/{ => google}/google.dart | 0 lib/src/brands/google/google_grad.dart | 30 +++++++++ lib/src/brands/{ => instagram}/instagram.dart | 0 lib/src/brands/instagram/instagram_grad.dart | 42 ++++++++++++ test/brands/google/google_grad_test.dart | 19 ++++++ test/brands/{ => google}/google_test.dart | 0 test/brands/instagram/instagram_grad_test.dart | 25 ++++++++ test/brands/{ => instagram}/instagram_test.dart | 2 +- 14 files changed, 167 insertions(+), 61 deletions(-) create mode 100644 lib/gradients.dart rename lib/src/brands/{ => google}/google.dart (100%) create mode 100644 lib/src/brands/google/google_grad.dart rename lib/src/brands/{ => instagram}/instagram.dart (100%) create mode 100644 lib/src/brands/instagram/instagram_grad.dart create mode 100644 test/brands/google/google_grad_test.dart rename test/brands/{ => google}/google_test.dart (100%) create mode 100644 test/brands/instagram/instagram_grad_test.dart rename test/brands/{ => instagram}/instagram_test.dart (96%) + docker_when_possible + true ++ uptime ++ sed 's/ /\n/g' ++ tail -n 1 + load=4.65 ++ bc ++ echo 4.65 '>' 30 + '[' 0 -eq 1 ']' + echo 'load average is 4.65, low enough to run a new Docker container' load average is 4.65, 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:dcc2318b52fbe5a03152a4ac564fa8b86ce1c6d258a8885bad16f52d7ff2b86b Status: Image is up to date for cirrusci/flutter:stable + docker ps --filter=status=exited + grep --quiet '\sdartoos-dev_flutter_brand_palettes_83\s*$' + ls -al . total 716 drwx--x--x 3 rultor rultor 4096 Jun 25 22:37 . drwxrwxrwt 11 root root 684032 Jun 25 22:37 .. -rw-rw-r-- 1 rultor rultor 483 Jun 25 22:37 credentials.json -rw-rw-r-- 1 rultor rultor 444 Jun 25 22:37 end.sh -rwxrwxr-x 1 rultor rultor 162 Jun 25 22:37 entry.sh -rw-rw-r-- 1 rultor rultor 6 Jun 25 22:37 pid drwxrwxr-x 7 rultor rultor 4096 Jun 25 22:37 repo -rwxrwxr-x 1 rultor rultor 5820 Jun 25 22:37 run.sh -rw-rw-r-- 1 rultor rultor 514 Jun 25 22:37 script.sh -rw-rw-r-- 1 rultor rultor 6248 Jun 25 22:37 stdout ++ pwd ++ pwd + docker run -t --rm -v /tmp/rultor-WU6h:/main --env=head=git@github.com:dartoos-dev/flutter_brand_palettes.git --env=pull_id=83 --env=fork=git@github.com:rafamizes/flutter_brand_palettes.git --env=fork_branch=79 --env=head_branch=master '--env=pull_title=feat: Instagram and Google gradients' --env=author=rafamizes '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:dartoos-dev/flutter_brand_palettes.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_id=83'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork=git@github.com:rafamizes/flutter_brand_palettes.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork_branch=79'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_title=feat: Instagram and Google gradients'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=rafamizes'\''\'\'''\'''\'' '\'';'\'' '\''flutter clean'\'' '\'';'\'' '\''flutter pub get'\'' '\'';'\'' '\''flutter test --no-pub'\'' '\'';'\'' '\''flutter pub publish --dry-run'\'' '\'';'\'' )' --hostname=docker --privileged --memory=6g --memory-swap=16g --oom-kill-disable --cidfile=/tmp/rultor-WU6h/cid -w=/main -v /var/run/docker.sock:/var/run/docker.sock --name=dartoos-dev_flutter_brand_palettes_83 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/flutter_brand_palettes.git + head=git@github.com:dartoos-dev/flutter_brand_palettes.git + export pull_id=83 + pull_id=83 + export fork=git@github.com:rafamizes/flutter_brand_palettes.git + fork=git@github.com:rafamizes/flutter_brand_palettes.git + export fork_branch=79 + fork_branch=79 + export head_branch=master + head_branch=master + export 'pull_title=feat: Instagram and Google gradients' + pull_title='feat: Instagram and Google gradients' + export author=rafamizes + author=rafamizes + 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... 3.5s 31mWarning:uYourarebusing theseaoverridden dependencies:39m ⣷ 31m!iflutter_brand_palettesn0.3.5pfrom.path ..39m ⣾ Running "flutter pub get" in example... 726ms + flutter test --no-pub 00:31 32m+1980m:/Allmtestsepassed!0mrands/fedex_test.dart:eFeDexePalette0callemethod0mod0macalltmethod0mmrseproperty andhcall method0m + flutter pub publish --dry-run Publishing flutter_brand_palettes 0.3.5 to https://pub.dartlang.org: |-- .gitattributes |-- .github | '-- workflows | '-- build.yml |-- .gitignore |-- .metadata |-- .rultor.yml |-- CHANGELOG.md |-- LICENSE |-- README.md |-- analysis_options.yaml |-- example | |-- .gitignore | |-- .metadata | |-- README.md | |-- analysis_options.yaml | |-- android | | |-- .gitignore | | |-- app | | | |-- build.gradle | | | '-- src | | | |-- debug | | | | '-- AndroidManifest.xml | | | |-- main | | | | |-- AndroidManifest.xml | | | | |-- kotlin | | | | | '-- com | | | | | '-- example | | | | | '-- example | | | | | '-- MainActivity.kt | | | | '-- 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 | | |-- .gitignore | | |-- 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 | | '-- main.dart | |-- macos | | |-- .gitignore | | |-- 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 | |-- flutter_brand_palettes.dart | |-- gradients.dart | |-- logos.dart | |-- palettes.dart | '-- src | '-- brands | |-- amazon.dart | |-- american_express.dart | |-- android.dart | | (26 more...) | |-- visa.dart | |-- whatsapp.dart | '-- youtube.dart |-- pubspec.yaml '-- test '-- brands |-- amazon_test.dart |-- american_express_test.dart |-- android_test.dart | (26 more...) |-- visa_test.dart |-- whatsapp_test.dart '-- youtube_test.dart Package has 0 warnings. + mv /home/r/repo . + '[' -n '' ']' ++ whoami + sudo chown -R rultor repo + cd repo + git push origin master remote: error: GH006: Protected branch update failed for refs/heads/master. remote: error: This branch must not contain merge commits. To git@github.com:dartoos-dev/flutter_brand_palettes.git ! [remote rejected] master -> master (protected branch hook declined) error: failed to push some refs to 'git@github.com:dartoos-dev/flutter_brand_palettes.git' container e8307a0b2aa83ffd33e385210deb90a2fd1cab62ac27c43b4dcdee32f675e333 is dead Fri Jun 25 22:38:28 CEST 2021