> echo Attempting build for billy0402-flutter-bloc-tutorial with Flutter 1.17.0 and jdk 11 Attempting build for billy0402-flutter-bloc-tutorial with Flutter 1.17.0 and jdk 11 > docker run --rm -v /home/ubuntu/storage/flutter_assets/extracted/billy0402-flutter-bloc-tutorial/flutter-bloc-tutorial-170357a222c02613f10ce941f700318e796d2355:/source:ro -v /home/ubuntu/BachelorsThesis/scripts/flutter/output/billy0402-flutter-bloc-tutorial:/output -v /home/ubuntu/.pub-cache:/root/.pub-cache flutter-android:1.17.0-jdk11 bash -c cp -r /source/. /app && cd /app && true && flutter clean && flutter pub get && (./gradlew clean || true) && if grep -R "part '.*\.g\.dart'" lib >/dev/null 2>&1; then flutter pub run build_runner build --delete-conflicting-outputs || true; fi && flutter build apk --debug --no-pub --split-per-abi && cp build/app/outputs/flutter-apk/*.apk /output/ && cp .dart_tool/package_config.json /output/ && cp pubspec.lock /output/ && cp pubspec.yaml /output/ 2>/dev/null || true && mkdir -p /output/libs && find android -name "*.gradle" 2>/dev/null | grep -v "/build/" | grep -v "/.gradle/" | while read f; do cp "$f" /output/ 2>/dev/null; done || true && find android -name "*.gradle.kts" 2>/dev/null | grep -v "/build/" | grep -v "/.gradle/" | while read f; do cp "$f" /output/ 2>/dev/null; done || true && find android -name "*.toml" 2>/dev/null | grep -v "/build/" | grep -v "/.gradle/" | while read f; do cp "$f" /output/ 2>/dev/null; done || true && find . -name "*.jar" -not -name "gradle-wrapper.jar" 2>/dev/null | grep -v "/build/" | grep -v "/.gradle/" | while read f; do cp "$f" /output/libs/ 2>/dev/null; done || true && find . -name "*.aar" 2>/dev/null | grep -v "/build/" | grep -v "/.gradle/" | while read f; do cp "$f" /output/libs/ 2>/dev/null; done || true && find . -name "*.so" 2>/dev/null | grep -v "/build/" | grep -v "/.gradle/" | while read f; do cp "$f" /output/libs/ 2>/dev/null; done || true Downloading Dart SDK from Flutter engine 540786dd51f112885a89792d678296b95e6622e5... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 212M 0 900k 0 0 1122k 0 0:03:14 --:--:-- 0:03:14 1120k 16 212M 16 35.4M 0 0 19.6M 0 0:00:10 0:00:01 0:00:09 19.6M 34 212M 34 74.3M 0 0 26.5M 0 0:00:08 0:00:02 0:00:06 26.5M 53 212M 53 114M 0 0 30.0M 0 0:00:07 0:00:03 0:00:04 30.0M 72 212M 72 154M 0 0 31.9M 0 0:00:06 0:00:04 0:00:02 31.9M 91 212M 91 195M 0 0 33.6M 0 0:00:06 0:00:05 0:00:01 38.8M 100 212M 100 212M 0 0 34.1M 0 0:00:06 0:00:06 --:--:-- 40.0M Building flutter tool... Downloading Material fonts... 1.2s Downloading Gradle Wrapper... 0.2s Downloading package sky_engine... 0.9s Downloading flutter_patched_sdk tools... 1.4s Downloading flutter_patched_sdk_product tools... 1.4s Downloading linux-x64 tools... 1.7s Downloading linux-x64/font-subset tools... 1.1s .packages does not exist. Did you run "flutter pub get" in this directory? > docker run --rm -v /home/ubuntu/storage/flutter_assets/extracted/billy0402-flutter-bloc-tutorial/flutter-bloc-tutorial-170357a222c02613f10ce941f700318e796d2355:/source:ro -v /home/ubuntu/BachelorsThesis/scripts/flutter/output/billy0402-flutter-bloc-tutorial:/output -v /home/ubuntu/.pub-cache:/root/.pub-cache -v /home/ubuntu/.gradle:/root/gradle flutter-android:1.17.0-jdk11 bash -c cp -r /source/. /app && cd /app && true && flutter clean && flutter pub get && (./gradlew clean || true) && if grep -R "part '.*\.g\.dart'" lib >/dev/null 2>&1; then flutter pub run build_runner build --delete-conflicting-outputs || true; fi && sed -i 's/signingConfig signingConfigs\.release/signingConfig signingConfigs.debug/' android/app/build.gradle || true && flutter build apk --release --no-pub --split-per-abi && cp build/app/outputs/flutter-apk/*.apk /output/r8/ && cp .dart_tool/package_config.json /output/r8/ && cp pubspec.lock /output/r8/ Downloading Dart SDK from Flutter engine 540786dd51f112885a89792d678296b95e6622e5... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 212M 0 15071 0 0 45468 0 1:21:45 --:--:-- 1:21:45 45394 6 212M 6 14.0M 0 0 10.5M 0 0:00:20 0:00:01 0:00:19 10.5M 25 212M 25 53.8M 0 0 23.0M 0 0:00:09 0:00:02 0:00:07 23.0M 44 212M 44 93.8M 0 0 28.1M 0 0:00:07 0:00:03 0:00:04 28.1M 62 212M 62 133M 0 0 30.8M 0 0:00:06 0:00:04 0:00:02 30.8M 81 212M 81 173M 0 0 32.6M 0 0:00:06 0:00:05 0:00:01 34.7M 98 212M 98 209M 0 0 33.0M 0 0:00:06 0:00:06 --:--:-- 39.0M 100 212M 100 212M 0 0 33.1M 0 0:00:06 0:00:06 --:--:-- 38.8M Building flutter tool... Downloading Material fonts... 1.1s Downloading Gradle Wrapper... 0.2s Downloading package sky_engine... 1.0s Downloading flutter_patched_sdk tools... 1.4s Downloading flutter_patched_sdk_product tools... 1.2s Downloading linux-x64 tools... 2.1s Downloading linux-x64/font-subset tools... 1.1s .packages does not exist. Did you run "flutter pub get" in this directory? Downloading android-arm-profile/linux-x64 tools... 1.1s Downloading android-arm-release/linux-x64 tools... 0.9s Downloading android-arm64-profile/linux-x64 tools... 1.0s Downloading android-arm64-release/linux-x64 tools... 1.5s Downloading android-x64-profile/linux-x64 tools... 1.0s Downloading android-x64-release/linux-x64 tools... 0.9s .packages does not exist. Did you run "flutter pub get" in this directory? > echo Build failed with Flutter 1.17.0 and jdk version 11 with the following error: Command '['docker', 'run', '--rm', '-v', '/home/ubuntu/storage/flutter_assets/extracted/billy0402-flutter-bloc-tutorial/flutter-bloc-tutorial-170357a222c02613f10ce941f700318e796d2355:/source:ro', '-v', '/home/ubuntu/BachelorsThesis/scripts/flutter/output/billy0402-flutter-bloc-tutorial:/output', '-v', '/home/ubuntu/.pub-cache:/root/.pub-cache', '-v', '/home/ubuntu/.gradle:/root/gradle', 'flutter-android:1.17.0-jdk11', 'bash', '-c', '\n cp -r /source/. /app && cd /app && true && flutter clean && flutter pub get && (./gradlew clean || true) && if grep -R "part \'.*\\.g\\.dart\'" lib >/dev/null 2>&1; then flutter pub run build_runner build --delete-conflicting-outputs || true; fi && sed -i \'s/signingConfig signingConfigs\\.release/signingConfig signingConfigs.debug/\' android/app/build.gradle || true && flutter build apk --release --no-pub --split-per-abi && cp build/app/outputs/flutter-apk/*.apk /output/r8/ && cp .dart_tool/package_config.json /output/r8/ && cp pubspec.lock /output/r8/\n ']' returned non-zero exit status 1. Build failed with Flutter 1.17.0 and jdk version 11 with the following error: Command '['docker', 'run', '--rm', '-v', '/home/ubuntu/storage/flutter_assets/extracted/billy0402-flutter-bloc-tutorial/flutter-bloc-tutorial-170357a222c02613f10ce941f700318e796d2355:/source:ro', '-v', '/home/ubuntu/BachelorsThesis/scripts/flutter/output/billy0402-flutter-bloc-tutorial:/output', '-v', '/home/ubuntu/.pub-cache:/root/.pub-cache', '-v', '/home/ubuntu/.gradle:/root/gradle', 'flutter-android:1.17.0-jdk11', 'bash', '-c', '\n cp -r /source/. /app && cd /app && true && flutter clean && flutter pub get && (./gradlew clean || true) && if grep -R "part \'.*\\.g\\.dart\'" lib >/dev/null 2>&1; then flutter pub run build_runner build --delete-conflicting-outputs || true; fi && sed -i \'s/signingConfig signingConfigs\\.release/signingConfig signingConfigs.debug/\' android/app/build.gradle || true && flutter build apk --release --no-pub --split-per-abi && cp build/app/outputs/flutter-apk/*.apk /output/r8/ && cp .dart_tool/package_config.json /output/r8/ && cp pubspec.lock /output/r8/\n ']' returned non-zero exit status 1. > echo Attempting build for billy0402-flutter-bloc-tutorial with Flutter 1.20.0 and jdk 11 Attempting build for billy0402-flutter-bloc-tutorial with Flutter 1.20.0 and jdk 11 > docker run --rm -v /home/ubuntu/storage/flutter_assets/extracted/billy0402-flutter-bloc-tutorial/flutter-bloc-tutorial-170357a222c02613f10ce941f700318e796d2355:/source:ro -v /home/ubuntu/BachelorsThesis/scripts/flutter/output/billy0402-flutter-bloc-tutorial:/output -v /home/ubuntu/.pub-cache:/root/.pub-cache flutter-android:1.20.0-jdk11 bash -c cp -r /source/. /app && cd /app && true && flutter clean && flutter pub get && (./gradlew clean || true) && if grep -R "part '.*\.g\.dart'" lib >/dev/null 2>&1; then flutter pub run build_runner build --delete-conflicting-outputs || true; fi && flutter build apk --debug --no-pub --split-per-abi && cp build/app/outputs/flutter-apk/*.apk /output/ && cp .dart_tool/package_config.json /output/ && cp pubspec.lock /output/ && cp pubspec.yaml /output/ 2>/dev/null || true && mkdir -p /output/libs && find android -name "*.gradle" 2>/dev/null | grep -v "/build/" | grep -v "/.gradle/" | while read f; do cp "$f" /output/ 2>/dev/null; done || true && find android -name "*.gradle.kts" 2>/dev/null | grep -v "/build/" | grep -v "/.gradle/" | while read f; do cp "$f" /output/ 2>/dev/null; done || true && find android -name "*.toml" 2>/dev/null | grep -v "/build/" | grep -v "/.gradle/" | while read f; do cp "$f" /output/ 2>/dev/null; done || true && find . -name "*.jar" -not -name "gradle-wrapper.jar" 2>/dev/null | grep -v "/build/" | grep -v "/.gradle/" | while read f; do cp "$f" /output/libs/ 2>/dev/null; done || true && find . -name "*.aar" 2>/dev/null | grep -v "/build/" | grep -v "/.gradle/" | while read f; do cp "$f" /output/libs/ 2>/dev/null; done || true && find . -name "*.so" 2>/dev/null | grep -v "/build/" | grep -v "/.gradle/" | while read f; do cp "$f" /output/libs/ 2>/dev/null; done || true Downloading Dart SDK from Flutter engine c8e3b9485386425213e2973126d6f57e7ed83c54... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 246M 0 5503 0 0 10098 0 7:07:12 --:--:-- 7:07:12 10097 1 246M 1 5037k 0 0 3775k 0 0:01:06 0:00:01 0:01:05 3773k 17 246M 17 44.0M 0 0 18.8M 0 0:00:13 0:00:02 0:00:11 18.8M 34 246M 34 84.0M 0 0 25.2M 0 0:00:09 0:00:03 0:00:06 25.2M 50 246M 50 124M 0 0 28.6M 0 0:00:08 0:00:04 0:00:04 28.6M 66 246M 66 164M 0 0 30.7M 0 0:00:08 0:00:05 0:00:03 34.2M 81 246M 81 202M 0 0 31.9M 0 0:00:07 0:00:06 0:00:01 39.4M 96 246M 96 238M 0 0 32.5M 0 0:00:07 0:00:07 --:--:-- 38.8M 100 246M 100 246M 0 0 32.7M 0 0:00:07 0:00:07 --:--:-- 38.7M Building flutter tool... Downloading Material fonts... 0.5s Downloading Gradle Wrapper... 0.1s Downloading package sky_engine... 0.9s Downloading flutter_patched_sdk tools... 1.3s Downloading flutter_patched_sdk_product tools... 1.3s Downloading linux-x64 tools... 2.1s Downloading linux-x64/font-subset tools... 1.5s Running "flutter pub get" in app... 3.0s bash: line 2: ./gradlew: No such file or directory Downloading android-arm-profile/linux-x64 tools... 1.1s Downloading android-arm-release/linux-x64 tools... 1.0s Downloading android-arm64-profile/linux-x64 tools... 1.0s Downloading android-arm64-release/linux-x64 tools... 1.0s Downloading android-x64-profile/linux-x64 tools... 1.5s Downloading android-x64-release/linux-x64 tools... 1.4s Running Gradle task 'assembleDebug'... Checking the license for package Android SDK Build-Tools 28.0.3 in /opt/android/licenses License for package Android SDK Build-Tools 28.0.3 accepted. Preparing "Install Android SDK Build-Tools 28.0.3 (revision: 28.0.3)". "Install Android SDK Build-Tools 28.0.3 (revision: 28.0.3)" ready. Installing Android SDK Build-Tools 28.0.3 in /opt/android/build-tools/28.0.3 "Install Android SDK Build-Tools 28.0.3 (revision: 28.0.3)" complete. "Install Android SDK Build-Tools 28.0.3 (revision: 28.0.3)" finished. Checking the license for package Android SDK Platform 28 in /opt/android/licenses License for package Android SDK Platform 28 accepted. Preparing "Install Android SDK Platform 28 (revision: 6)". "Install Android SDK Platform 28 (revision: 6)" ready. Installing Android SDK Platform 28 in /opt/android/platforms/android-28 "Install Android SDK Platform 28 (revision: 6)" complete. "Install Android SDK Platform 28 (revision: 6)" finished. Running Gradle task 'assembleDebug'... 96.8s ✓ Built build/app/outputs/flutter-apk/app-armeabi-v7a-debug.apk. > docker run --rm -v /home/ubuntu/storage/flutter_assets/extracted/billy0402-flutter-bloc-tutorial/flutter-bloc-tutorial-170357a222c02613f10ce941f700318e796d2355:/source:ro -v /home/ubuntu/BachelorsThesis/scripts/flutter/output/billy0402-flutter-bloc-tutorial:/output -v /home/ubuntu/.pub-cache:/root/.pub-cache -v /home/ubuntu/.gradle:/root/gradle flutter-android:1.20.0-jdk11 bash -c cp -r /source/. /app && cd /app && true && flutter clean && flutter pub get && (./gradlew clean || true) && if grep -R "part '.*\.g\.dart'" lib >/dev/null 2>&1; then flutter pub run build_runner build --delete-conflicting-outputs || true; fi && sed -i 's/signingConfig signingConfigs\.release/signingConfig signingConfigs.debug/' android/app/build.gradle || true && flutter build apk --release --no-pub --split-per-abi && cp build/app/outputs/flutter-apk/*.apk /output/r8/ && cp .dart_tool/package_config.json /output/r8/ && cp pubspec.lock /output/r8/ Downloading Dart SDK from Flutter engine c8e3b9485386425213e2973126d6f57e7ed83c54... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 3 246M 3 9100k 0 0 7740k 0 0:00:32 0:00:01 0:00:31 7738k 19 246M 19 49.1M 0 0 22.6M 0 0:00:10 0:00:02 0:00:08 22.6M 36 246M 36 89.0M 0 0 28.0M 0 0:00:08 0:00:03 0:00:05 28.0M 52 246M 52 129M 0 0 30.9M 0 0:00:07 0:00:04 0:00:03 30.9M 68 246M 68 169M 0 0 32.7M 0 0:00:07 0:00:05 0:00:02 34.1M 84 246M 84 209M 0 0 33.9M 0 0:00:07 0:00:06 0:00:01 40.1M 100 246M 100 246M 0 0 34.7M 0 0:00:07 0:00:07 --:--:-- 40.1M Building flutter tool... Downloading Material fonts... 0.5s Downloading Gradle Wrapper... 0.1s Downloading package sky_engine... 0.3s Downloading flutter_patched_sdk tools... 1.4s Downloading flutter_patched_sdk_product tools... 1.3s Downloading linux-x64 tools... 2.1s Downloading linux-x64/font-subset tools... 1.0s Running "flutter pub get" in app... 2.5s bash: line 2: ./gradlew: No such file or directory Downloading android-arm-profile/linux-x64 tools... 1.5s Downloading android-arm-release/linux-x64 tools... 1.4s Downloading android-arm64-profile/linux-x64 tools... 1.5s Downloading android-arm64-release/linux-x64 tools... 0.3s Downloading android-x64-profile/linux-x64 tools... 1.0s Downloading android-x64-release/linux-x64 tools... 0.9s Running Gradle task 'assembleRelease'... Checking the license for package Android SDK Build-Tools 28.0.3 in /opt/android/licenses License for package Android SDK Build-Tools 28.0.3 accepted. Preparing "Install Android SDK Build-Tools 28.0.3 (revision: 28.0.3)". "Install Android SDK Build-Tools 28.0.3 (revision: 28.0.3)" ready. Installing Android SDK Build-Tools 28.0.3 in /opt/android/build-tools/28.0.3 "Install Android SDK Build-Tools 28.0.3 (revision: 28.0.3)" complete. "Install Android SDK Build-Tools 28.0.3 (revision: 28.0.3)" finished. Checking the license for package Android SDK Platform 28 in /opt/android/licenses License for package Android SDK Platform 28 accepted. Preparing "Install Android SDK Platform 28 (revision: 6)". "Install Android SDK Platform 28 (revision: 6)" ready. Installing Android SDK Platform 28 in /opt/android/platforms/android-28 "Install Android SDK Platform 28 (revision: 6)" complete. "Install Android SDK Platform 28 (revision: 6)" finished. Calling mockable JAR artifact transform to create file: /opt/gradle/caches/transforms-2/files-2.1/4118875528bcca3d118184be4cb87026/android.jar with input /opt/android/platforms/android-28/android.jar Removed unused resources: Binary resource data reduced from 45KB to 37KB: Removed 19% Removed unused resources: Binary resource data reduced from 45KB to 37KB: Removed 19% Removed unused resources: Binary resource data reduced from 45KB to 37KB: Removed 19% Running Gradle task 'assembleRelease'... 152.1s (!) ✓ Built build/app/outputs/flutter-apk/app-armeabi-v7a-release.apk (6.3MB). > docker run --rm -v /home/ubuntu/storage/flutter_assets/extracted/billy0402-flutter-bloc-tutorial/flutter-bloc-tutorial-170357a222c02613f10ce941f700318e796d2355:/source:ro -v /home/ubuntu/BachelorsThesis/scripts/flutter/output/billy0402-flutter-bloc-tutorial:/output -v /home/ubuntu/.pub-cache:/root/.pub-cache -v /home/ubuntu/.gradle:/root/gradle flutter-android:1.20.0-jdk11 bash -c cp -r /source/. /app && cd /app && true && flutter clean && flutter pub get && (./gradlew clean || true) && if grep -R "part '.*\.g\.dart'" lib >/dev/null 2>&1; then flutter pub run build_runner build --delete-conflicting-outputs || true; fi && sed -i 's/signingConfig signingConfigs\.release/signingConfig signingConfigs.debug/' android/app/build.gradle || true && flutter build apk --release --obfuscate --split-debug-info=/output/obfuscated/ --no-pub --split-per-abi && cp build/app/outputs/flutter-apk/*.apk /output/obfuscated/ && cp .dart_tool/package_config.json /output/obfuscated/ && cp pubspec.lock /output/obfuscated/ Downloading Dart SDK from Flutter engine c8e3b9485386425213e2973126d6f57e7ed83c54... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 246M 0 1070k 0 0 1292k 0 0:03:15 --:--:-- 0:03:15 1291k 14 246M 14 36.2M 0 0 19.8M 0 0:00:12 0:00:01 0:00:11 19.8M 30 246M 30 75.7M 0 0 26.8M 0 0:00:09 0:00:02 0:00:07 26.8M 46 246M 46 115M 0 0 30.2M 0 0:00:08 0:00:03 0:00:05 30.2M 63 246M 63 155M 0 0 32.2M 0 0:00:07 0:00:04 0:00:03 32.2M 79 246M 79 195M 0 0 33.5M 0 0:00:07 0:00:05 0:00:02 38.8M 95 246M 95 235M 0 0 34.4M 0 0:00:07 0:00:06 0:00:01 39.8M 100 246M 100 246M 0 0 34.6M 0 0:00:07 0:00:07 --:--:-- 39.8M Building flutter tool... Downloading Material fonts... 0.4s Downloading Gradle Wrapper... 0.1s Downloading package sky_engine... 0.3s Downloading flutter_patched_sdk tools... 1.4s Downloading flutter_patched_sdk_product tools... 1.4s Downloading linux-x64 tools... 2.2s Downloading linux-x64/font-subset tools... 1.0s Running "flutter pub get" in app... 2.5s bash: line 2: ./gradlew: No such file or directory Downloading android-arm-profile/linux-x64 tools... 1.2s Downloading android-arm-release/linux-x64 tools... 0.9s Downloading android-arm64-profile/linux-x64 tools... 0.4s Downloading android-arm64-release/linux-x64 tools... 0.3s Downloading android-x64-profile/linux-x64 tools... 0.3s Downloading android-x64-release/linux-x64 tools... 0.3s Running Gradle task 'assembleRelease'... Checking the license for package Android SDK Build-Tools 28.0.3 in /opt/android/licenses License for package Android SDK Build-Tools 28.0.3 accepted. Preparing "Install Android SDK Build-Tools 28.0.3 (revision: 28.0.3)". "Install Android SDK Build-Tools 28.0.3 (revision: 28.0.3)" ready. Installing Android SDK Build-Tools 28.0.3 in /opt/android/build-tools/28.0.3 "Install Android SDK Build-Tools 28.0.3 (revision: 28.0.3)" complete. "Install Android SDK Build-Tools 28.0.3 (revision: 28.0.3)" finished. Checking the license for package Android SDK Platform 28 in /opt/android/licenses License for package Android SDK Platform 28 accepted. Preparing "Install Android SDK Platform 28 (revision: 6)". "Install Android SDK Platform 28 (revision: 6)" ready. Installing Android SDK Platform 28 in /opt/android/platforms/android-28 "Install Android SDK Platform 28 (revision: 6)" complete. "Install Android SDK Platform 28 (revision: 6)" finished. Calling mockable JAR artifact transform to create file: /opt/gradle/caches/transforms-2/files-2.1/4118875528bcca3d118184be4cb87026/android.jar with input /opt/android/platforms/android-28/android.jar Removed unused resources: Binary resource data reduced from 45KB to 37KB: Removed 19% Removed unused resources: Binary resource data reduced from 45KB to 37KB: Removed 19% Removed unused resources: Binary resource data reduced from 45KB to 37KB: Removed 19% Running Gradle task 'assembleRelease'... 151.7s (!) ✓ Built build/app/outputs/flutter-apk/app-armeabi-v7a-release.apk (5.9MB). > echo Build succeeded with Flutter 1.20.0 Build succeeded with Flutter 1.20.0