> echo Attempting build for alex-sandri-ip-calc-flutter with Flutter 1.17.0 and jdk 11 Attempting build for alex-sandri-ip-calc-flutter with Flutter 1.17.0 and jdk 11 > docker run --rm -v /home/ubuntu/storage/flutter_assets/extracted/alex-sandri-ip-calc-flutter/ip-calc-flutter-dd2509f31af8dff0b662ae79135b05bb602404af:/source:ro -v /home/ubuntu/BachelorsThesis/scripts/flutter/output/alex-sandri-ip-calc-flutter:/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 112k 0 0 171k 0 0:21:10 --:--:-- 0:21:10 171k 10 212M 10 22.2M 0 0 13.4M 0 0:00:15 0:00:01 0:00:14 13.4M 29 212M 29 63.2M 0 0 23.8M 0 0:00:08 0:00:02 0:00:06 23.8M 49 212M 49 106M 0 0 29.0M 0 0:00:07 0:00:03 0:00:04 29.0M 69 212M 69 147M 0 0 31.6M 0 0:00:06 0:00:04 0:00:02 31.6M 88 212M 88 187M 0 0 33.0M 0 0:00:06 0:00:05 0:00:01 37.3M 100 212M 100 212M 0 0 33.6M 0 0:00:06 0:00:06 --:--:-- 40.7M Building flutter tool... Downloading Material fonts... 0.5s Downloading Gradle Wrapper... 0.2s Downloading package sky_engine... 0.6s Downloading flutter_patched_sdk tools... 1.5s Downloading flutter_patched_sdk_product tools... 1.5s Downloading linux-x64 tools... 6.8s Downloading linux-x64/font-subset tools... 1.5s .packages does not exist. Did you run "flutter pub get" in this directory? > docker run --rm -v /home/ubuntu/storage/flutter_assets/extracted/alex-sandri-ip-calc-flutter/ip-calc-flutter-dd2509f31af8dff0b662ae79135b05bb602404af:/source:ro -v /home/ubuntu/BachelorsThesis/scripts/flutter/output/alex-sandri-ip-calc-flutter:/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 509k 0 0 607k 0 0:05:58 --:--:-- 0:05:58 607k 15 212M 15 33.4M 0 0 18.1M 0 0:00:11 0:00:01 0:00:10 18.1M 33 212M 33 70.7M 0 0 24.8M 0 0:00:08 0:00:02 0:00:06 24.8M 53 212M 53 113M 0 0 29.2M 0 0:00:07 0:00:03 0:00:04 29.2M 73 212M 73 155M 0 0 32.1M 0 0:00:06 0:00:04 0:00:02 32.1M 92 212M 92 197M 0 0 33.7M 0 0:00:06 0:00:05 0:00:01 39.2M 100 212M 100 212M 0 0 33.6M 0 0:00:06 0:00:06 --:--:-- 39.9M Building flutter tool... Downloading Material fonts... 0.6s Downloading Gradle Wrapper... 0.2s Downloading package sky_engine... 0.4s Downloading flutter_patched_sdk tools... 1.4s Downloading flutter_patched_sdk_product tools... 1.5s Downloading linux-x64 tools... 1.7s Downloading linux-x64/font-subset tools... 0.3s .packages does not exist. Did you run "flutter pub get" in this directory? Downloading android-arm-profile/linux-x64 tools... 0.9s Downloading android-arm-release/linux-x64 tools... 1.1s Downloading android-arm64-profile/linux-x64 tools... 0.7s Downloading android-arm64-release/linux-x64 tools... 0.6s Downloading android-x64-profile/linux-x64 tools... 1.1s 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/alex-sandri-ip-calc-flutter/ip-calc-flutter-dd2509f31af8dff0b662ae79135b05bb602404af:/source:ro', '-v', '/home/ubuntu/BachelorsThesis/scripts/flutter/output/alex-sandri-ip-calc-flutter:/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/alex-sandri-ip-calc-flutter/ip-calc-flutter-dd2509f31af8dff0b662ae79135b05bb602404af:/source:ro', '-v', '/home/ubuntu/BachelorsThesis/scripts/flutter/output/alex-sandri-ip-calc-flutter:/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 alex-sandri-ip-calc-flutter with Flutter 1.20.0 and jdk 11 Attempting build for alex-sandri-ip-calc-flutter with Flutter 1.20.0 and jdk 11 > docker run --rm -v /home/ubuntu/storage/flutter_assets/extracted/alex-sandri-ip-calc-flutter/ip-calc-flutter-dd2509f31af8dff0b662ae79135b05bb602404af:/source:ro -v /home/ubuntu/BachelorsThesis/scripts/flutter/output/alex-sandri-ip-calc-flutter:/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 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 246M 0 165k 0 0 148k 0 0:28:16 0:00:01 0:28:15 148k 10 246M 10 25.3M 0 0 11.8M 0 0:00:20 0:00:02 0:00:18 11.8M 27 246M 27 67.6M 0 0 21.7M 0 0:00:11 0:00:03 0:00:08 21.7M 44 246M 44 110M 0 0 26.6M 0 0:00:09 0:00:04 0:00:05 26.6M 61 246M 61 151M 0 0 29.6M 0 0:00:08 0:00:05 0:00:03 30.3M 76 246M 76 189M 0 0 30.9M 0 0:00:07 0:00:06 0:00:01 37.8M 94 246M 94 232M 0 0 32.6M 0 0:00:07 0:00:07 --:--:-- 41.5M 100 246M 100 246M 0 0 33.0M 0 0:00:07 0:00:07 --:--:-- 41.0M Building flutter tool... Downloading Material fonts... 0.4s Downloading Gradle Wrapper... 0.1s Downloading package sky_engine... 0.4s Downloading flutter_patched_sdk tools... 1.6s Downloading flutter_patched_sdk_product tools... 1.5s Downloading linux-x64 tools... 2.6s Downloading linux-x64/font-subset tools... 0.4s Running "flutter pub get" in app... 1.9s bash: line 2: ./gradlew: No such file or directory Downloading android-arm-profile/linux-x64 tools... 0.9s Downloading android-arm-release/linux-x64 tools... 0.5s Downloading android-arm64-profile/linux-x64 tools... 1.1s Downloading android-arm64-release/linux-x64 tools... 0.4s Downloading android-x64-profile/linux-x64 tools... 1.0s Downloading android-x64-release/linux-x64 tools... 0.3s 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'... 122.2s (!) ✓ Built build/app/outputs/flutter-apk/app-armeabi-v7a-debug.apk. > docker run --rm -v /home/ubuntu/storage/flutter_assets/extracted/alex-sandri-ip-calc-flutter/ip-calc-flutter-dd2509f31af8dff0b662ae79135b05bb602404af:/source:ro -v /home/ubuntu/BachelorsThesis/scripts/flutter/output/alex-sandri-ip-calc-flutter:/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 246M 0 782k 0 0 836k 0 0:05:02 --:--:-- 0:05:02 837k 14 246M 14 36.9M 0 0 19.0M 0 0:00:12 0:00:01 0:00:11 19.0M 31 246M 31 77.9M 0 0 26.5M 0 0:00:09 0:00:02 0:00:07 26.5M 49 246M 49 121M 0 0 30.7M 0 0:00:08 0:00:03 0:00:05 30.7M 66 246M 66 163M 0 0 33.1M 0 0:00:07 0:00:04 0:00:03 33.1M 81 246M 81 200M 0 0 33.8M 0 0:00:07 0:00:05 0:00:02 40.0M 98 246M 98 243M 0 0 35.0M 0 0:00:07 0:00:06 0:00:01 41.2M 100 246M 100 246M 0 0 35.1M 0 0:00:07 0:00:07 --:--:-- 41.3M Building flutter tool... Downloading Material fonts... 0.4s Downloading Gradle Wrapper... 0.1s Downloading package sky_engine... 0.4s Downloading flutter_patched_sdk tools... 1.6s Downloading flutter_patched_sdk_product tools... 1.6s Downloading linux-x64 tools... 2.3s Downloading linux-x64/font-subset tools... 1.0s Running "flutter pub get" in app... 2.0s bash: line 2: ./gradlew: No such file or directory Downloading android-arm-profile/linux-x64 tools... 1.8s Downloading android-arm-release/linux-x64 tools... 0.5s Downloading android-arm64-profile/linux-x64 tools... 0.4s Downloading android-arm64-release/linux-x64 tools... 0.6s Downloading android-x64-profile/linux-x64 tools... 0.4s 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 91KB to 55KB: Removed 39% Removed unused resources: Binary resource data reduced from 91KB to 55KB: Removed 39% Removed unused resources: Binary resource data reduced from 91KB to 55KB: Removed 39% Running Gradle task 'assembleRelease'... 164.6s (!) ✓ Built build/app/outputs/flutter-apk/app-armeabi-v7a-release.apk (5.6MB). > docker run --rm -v /home/ubuntu/storage/flutter_assets/extracted/alex-sandri-ip-calc-flutter/ip-calc-flutter-dd2509f31af8dff0b662ae79135b05bb602404af:/source:ro -v /home/ubuntu/BachelorsThesis/scripts/flutter/output/alex-sandri-ip-calc-flutter:/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 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 3 246M 3 8748k 0 0 7377k 0 0:00:34 0:00:01 0:00:33 7376k 20 246M 20 51.0M 0 0 23.3M 0 0:00:10 0:00:02 0:00:08 23.3M 37 246M 37 93.2M 0 0 29.2M 0 0:00:08 0:00:03 0:00:05 29.2M 55 246M 55 135M 0 0 32.4M 0 0:00:07 0:00:04 0:00:03 32.4M 72 246M 72 177M 0 0 34.2M 0 0:00:07 0:00:05 0:00:02 35.8M 87 246M 87 215M 0 0 34.8M 0 0:00:07 0:00:06 0:00:01 41.3M 100 246M 100 246M 0 0 35.3M 0 0:00:06 0:00:06 --:--:-- 40.7M 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.6s Downloading flutter_patched_sdk_product tools... 1.3s Downloading linux-x64 tools... 2.5s Downloading linux-x64/font-subset tools... 0.5s Running "flutter pub get" in app... 2.0s bash: line 2: ./gradlew: No such file or directory Downloading android-arm-profile/linux-x64 tools... 0.8s Downloading android-arm-release/linux-x64 tools... 0.7s Downloading android-arm64-profile/linux-x64 tools... 0.4s Downloading android-arm64-release/linux-x64 tools... 0.4s 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 91KB to 55KB: Removed 39% Removed unused resources: Binary resource data reduced from 91KB to 55KB: Removed 39% Removed unused resources: Binary resource data reduced from 91KB to 55KB: Removed 39% Running Gradle task 'assembleRelease'... 159.4s (!) ✓ Built build/app/outputs/flutter-apk/app-armeabi-v7a-release.apk (5.3MB). > echo Build succeeded with Flutter 1.20.0 Build succeeded with Flutter 1.20.0