log for com.invoiceninja.app:84
Traceback (most recent call last):
File "/home/fbuild/fdroidserver/fdroidserver/build.py", line 1128, in main
options.onserver, options.refresh):
File "/home/fbuild/fdroidserver/fdroidserver/build.py", line 887, in trybuild
build_server(app, build, vcs, build_dir, output_dir, log_dir, force)
File "/home/fbuild/fdroidserver/fdroidserver/build.py", line 270, in build_server
str(output, 'utf-8'))
fdroidserver.exception.BuildException: Build.py failed on server for com.invoiceninja.app:5.0.84
==== detail begin ====
== Installed Android Tools ==
2022-05-15 13:57:54,029 DEBUG: Reading 'config.yml'
2022-05-15 13:57:54,040 INFO: Using /opt/android-sdk/build-tools/29.0.3/apksigner
2022-05-15 13:57:54,055 INFO: Creating log directory
2022-05-15 13:57:54,055 INFO: Creating temporary directory
2022-05-15 13:57:54,055 INFO: Creating output directory
2022-05-15 13:57:54,067 DEBUG: Getting git vcs interface for https://github.com/invoiceninja/admin-portal
2022-05-15 13:57:54,067 DEBUG: > git --version
git version 2.11.0
2022-05-15 13:57:54,271 INFO: Using git version 2.11.0
2022-05-15 13:57:54,271 DEBUG: Checking 5.0.84
2022-05-15 13:57:54,272 INFO: Building version 5.0.84 (84) of com.invoiceninja.app
2022-05-15 13:57:54,272 WARNING: Android NDK version 'r20' could not be found!
2022-05-15 13:57:54,273 WARNING: Configured versions:
2022-05-15 13:57:54,273 WARNING: r21e: /opt/android-sdk/ndk/21.4.7075529
2022-05-15 13:57:54,274 WARNING: r23b: /opt/android-sdk/ndk/23.1.7779620
2022-05-15 13:57:54,275 INFO: Downloading https://dl.google.com/android/repository/android-ndk-r20-linux-x86_64.zip
2022-05-15 13:57:54,287 DEBUG: Starting new HTTPS connection (1): dl.google.com
2022-05-15 13:57:54,393 DEBUG: https://dl.google.com:443 "GET /android/repository/android-ndk-r20-linux-x86_64.zip HTTP/1.1" 200 859737910
2022-05-15 13:58:18,931 INFO: Unzipping to /opt/android-sdk/ndk
2022-05-15 13:58:39,150 INFO: Set NDK r20 (20.0.5594570) up
2022-05-15 13:58:39,159 DEBUG: > sudo passwd --lock root
passwd: password expiry information changed.
2022-05-15 13:58:39,526 DEBUG: > sudo SUDO_FORCE_REMOVE=yes dpkg --purge sudo
(Reading database ... 64892 files and directories currently installed.)
Removing sudo (1.8.19p1-2.1+deb9u3) ...
Purging configuration files for sudo (1.8.19p1-2.1+deb9u3) ...
Processing triggers for systemd (232-25+deb9u13) ...
2022-05-15 13:58:46,098 INFO: Getting source for revision 0dd1df3a1c09180a10708bd9e7d95470834dcb63
2022-05-15 13:58:46,098 DEBUG: Directory: build/com.invoiceninja.app
2022-05-15 13:58:46,099 DEBUG: > git rev-parse --show-toplevel
2022-05-15 13:58:46,302 DEBUG: Directory: build/com.invoiceninja.app
2022-05-15 13:58:46,303 DEBUG: > git submodule foreach --recursive git reset --hard
2022-05-15 13:58:46,608 DEBUG: Directory: build/com.invoiceninja.app
2022-05-15 13:58:46,608 DEBUG: > git reset --hard
2022-05-15 13:58:47,013 DEBUG: Directory: build/com.invoiceninja.app
2022-05-15 13:58:47,014 DEBUG: > git submodule foreach --recursive git clean -dffx
2022-05-15 13:58:47,117 DEBUG: Directory: build/com.invoiceninja.app
2022-05-15 13:58:47,118 DEBUG: > git clean -dffx
2022-05-15 13:58:47,221 DEBUG: Directory: build/com.invoiceninja.app
2022-05-15 13:58:47,222 DEBUG: > git -c core.askpass=/bin/true -c core.sshCommand=/bin/false -c url.https://.insteadOf=ssh:// -c url.https://u:p@bitbucket.org/.insteadOf=git@bitbucket.org: -c url.https://u:p@bitbucket.org.insteadOf=git://bitbucket.org -c url.https://u:p@bitbucket.org.insteadOf=https://bitbucket.org -c url.https://u:p@github.com/.insteadOf=git@github.com: -c url.https://u:p@github.com.insteadOf=git://github.com -c url.https://u:p@github.com.insteadOf=https://github.com -c url.https://u:p@gitlab.com/.insteadOf=git@gitlab.com: -c url.https://u:p@gitlab.com.insteadOf=git://gitlab.com -c url.https://u:p@gitlab.com.insteadOf=https://gitlab.com fetch origin
2022-05-15 13:58:48,433 DEBUG: Directory: build/com.invoiceninja.app
2022-05-15 13:58:48,434 DEBUG: > git -c core.askpass=/bin/true -c core.sshCommand=/bin/false -c url.https://.insteadOf=ssh:// -c url.https://u:p@bitbucket.org/.insteadOf=git@bitbucket.org: -c url.https://u:p@bitbucket.org.insteadOf=git://bitbucket.org -c url.https://u:p@bitbucket.org.insteadOf=https://bitbucket.org -c url.https://u:p@github.com/.insteadOf=git@github.com: -c url.https://u:p@github.com.insteadOf=git://github.com -c url.https://u:p@github.com.insteadOf=https://github.com -c url.https://u:p@gitlab.com/.insteadOf=git@gitlab.com: -c url.https://u:p@gitlab.com.insteadOf=git://gitlab.com -c url.https://u:p@gitlab.com.insteadOf=https://gitlab.com remote prune origin
2022-05-15 13:58:48,745 DEBUG: Directory: build/com.invoiceninja.app
2022-05-15 13:58:48,745 DEBUG: > git -c core.askpass=/bin/true -c core.sshCommand=/bin/false -c url.https://.insteadOf=ssh:// -c url.https://u:p@bitbucket.org/.insteadOf=git@bitbucket.org: -c url.https://u:p@bitbucket.org.insteadOf=git://bitbucket.org -c url.https://u:p@bitbucket.org.insteadOf=https://bitbucket.org -c url.https://u:p@github.com/.insteadOf=git@github.com: -c url.https://u:p@github.com.insteadOf=git://github.com -c url.https://u:p@github.com.insteadOf=https://github.com -c url.https://u:p@gitlab.com/.insteadOf=git@gitlab.com: -c url.https://u:p@gitlab.com.insteadOf=git://gitlab.com -c url.https://u:p@gitlab.com.insteadOf=https://gitlab.com fetch --prune --tags --force origin
2022-05-15 13:58:49,052 DEBUG: Directory: build/com.invoiceninja.app
2022-05-15 13:58:49,052 DEBUG: > git remote set-head origin --auto
2022-05-15 13:58:49,473 DEBUG: Directory: build/com.invoiceninja.app
2022-05-15 13:58:49,474 DEBUG: > git checkout -f 0dd1df3a1c09180a10708bd9e7d95470834dcb63
2022-05-15 13:58:49,686 DEBUG: Directory: build/com.invoiceninja.app
2022-05-15 13:58:49,686 DEBUG: > git clean -dffx
2022-05-15 13:58:49,791 INFO: Collecting source libraries
2022-05-15 13:58:49,880 DEBUG: Removing debuggable flags from build/srclib/flutter
2022-05-15 13:58:49,936 INFO: Creating local.properties file at build/com.invoiceninja.app/local.properties
2022-05-15 13:58:49,937 DEBUG: Removing debuggable flags from build/com.invoiceninja.app
2022-05-15 13:58:49,947 INFO: Removing specified files
2022-05-15 13:58:49,947 INFO: Removing macos
2022-05-15 13:58:49,949 INFO: Removing ios
2022-05-15 13:58:49,951 INFO: Removing linux
2022-05-15 13:58:49,951 INFO: Removing web
2022-05-15 13:58:49,952 INFO: Removing windows
2022-05-15 13:58:49,961 INFO: Running 'prebuild' commands in build/com.invoiceninja.app
2022-05-15 13:58:49,962 DEBUG: Directory: build/com.invoiceninja.app
2022-05-15 13:58:49,962 DEBUG: > bash -x -c -- cp lib/.env.dart.example lib/.env.dart && cp android/app/build.gradle.dev android/app/build.gradle && cp android/build.gradle.foss android/build.gradle && cp lib/utils/oauth.dart.foss lib/utils/oauth.dart && cp lib/ui/app/upgrade_dialog.dart.foss lib/ui/app/upgrade_dialog.dart && cp android/app/src/main/AndroidManifest.foss.xml android/app/src/main/AndroidManifest.xml && cp pubspec.foss.yaml pubspec.yaml && rm pubspec.lock
+ cp lib/.env.dart.example lib/.env.dart
+ cp android/app/build.gradle.dev android/app/build.gradle
+ cp android/build.gradle.foss android/build.gradle
+ cp lib/utils/oauth.dart.foss lib/utils/oauth.dart
+ cp lib/ui/app/upgrade_dialog.dart.foss lib/ui/app/upgrade_dialog.dart
+ cp android/app/src/main/AndroidManifest.foss.xml android/app/src/main/AndroidManifest.xml
+ cp pubspec.foss.yaml pubspec.yaml
+ rm pubspec.lock
2022-05-15 13:58:50,185 INFO: Scanning source for common problems...
2022-05-15 13:58:50,190 INFO: Removing gradle-wrapper.jar at android/gradle/wrapper/gradle-wrapper.jar
2022-05-15 13:58:50,233 INFO: Creating source tarball...
2022-05-15 13:58:51,298 INFO: Running 'build' commands in build/com.invoiceninja.app
2022-05-15 13:58:51,298 DEBUG: Directory: build/com.invoiceninja.app
2022-05-15 13:58:51,298 DEBUG: > bash -x -c /home/vagrant/build/srclib/flutter/bin/flutter config --no-analytics && /home/vagrant/build/srclib/flutter/bin/flutter build apk
+ /home/vagrant/build/srclib/flutter/bin/flutter config --no-analytics
Downloading Dart SDK from Flutter engine bd539267b42051b0da3d16ffa8f48949dce8aa8f...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
2 211M 2 5135k 0 0 6465k 0 0:00:33 --:--:-- 0:00:33 6460k
41 211M 41 87.5M 0 0 52.4M 0 0:00:04 0:00:01 0:00:03 52.4M
91 211M 91 192M 0 0 71.5M 0 0:00:02 0:00:02 --:--:-- 71.5M
100 211M 100 211M 0 0 74.5M 0 0:00:02 0:00:02 --:--:-- 74.5M
Building flutter tool...
╔════════════════════════════════════════════════════════════════════════════╗
║ Welcome to Flutter! - https://flutter.dev ║
║ ║
║ The Flutter tool uses Google Analytics to anonymously report feature usage ║
║ statistics and basic crash reports. This data is used to help improve ║
║ Flutter tools over time. ║
║ ║
║ Flutter tool analytics are not sent on the very first run. To disable ║
║ reporting, type 'flutter config --no-analytics'. To display the current ║
║ setting, type 'flutter config'. If you opt out of analytics, an opt-out ║
║ event will be sent, and then no further information will be sent by the ║
║ Flutter tool. ║
║ ║
║ By downloading the Flutter SDK, you agree to the Google Terms of Service. ║
║ Note: The Google Privacy Policy describes how data is handled in this ║
║ service. ║
║ ║
║ Moreover, Flutter includes the Dart SDK, which may send usage metrics and ║
║ crash reports to Google. ║
║ ║
║ Read about data we send with crash reports: ║
║ https://flutter.dev/docs/reference/crash-reporting ║
║ ║
║ See Google's privacy policy: ║
║ https://policies.google.com/privacy ║
╚════════════════════════════════════════════════════════════════════════════╝
Analytics reporting disabled.
You may need to restart any open editors for them to read new settings.
+ /home/vagrant/build/srclib/flutter/bin/flutter build apk
Downloading Material fonts... 422ms
Downloading Gradle Wrapper... 16ms
Downloading package sky_engine... 259ms
Downloading flutter_patched_sdk tools... 566ms
Downloading flutter_patched_sdk_product tools... 431ms
Downloading linux-x64 tools... 2,377ms
Downloading linux-x64/font-subset tools... 239ms
Downloading android-arm-profile/linux-x64 tools... 286ms
Downloading android-arm-release/linux-x64 tools... 254ms
Downloading android-arm64-profile/linux-x64 tools... 251ms
Downloading android-arm64-release/linux-x64 tools... 224ms
Downloading android-x64-profile/linux-x64 tools... 263ms
Downloading android-x64-release/linux-x64 tools... 233ms
Running "flutter pub get" in com.invoiceninja.app... 15.8s
Building without sound null safety
For more information see https://dart.dev/null-safety/unsound-null-safety
Running Gradle task 'assembleRelease'...
Checking the license for package Android SDK Platform 31 in /opt/android-sdk/licenses
License for package Android SDK Platform 31 accepted.
Preparing "Install Android SDK Platform 31 (revision: 1)".
"Install Android SDK Platform 31 (revision: 1)" ready.
Installing Android SDK Platform 31 in /opt/android-sdk/platforms/android-31
"Install Android SDK Platform 31 (revision: 1)" complete.
"Install Android SDK Platform 31 (revision: 1)" finished.
../../.pub-cache/hosted/pub.dartlang.org/flutter_styled_toast-2.1.3/lib/src/styled_toast.dart:497:63: Error: Property 'window' cannot be accessed on 'WidgetsBinding?' because it is potentially null.
- 'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('../srclib/flutter/packages/flutter/lib/src/widgets/binding.dart').
Try accessing using ?. instead.
data: MediaQueryData.fromWindow(WidgetsBinding.instance.window),
^^^^^^
../../.pub-cache/hosted/pub.dartlang.org/flutter_styled_toast-2.1.3/lib/src/styled_toast.dart:681:29: Error: Method 'addObserver' cannot be called on 'WidgetsBinding?' because it is potentially null.
- 'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('../srclib/flutter/packages/flutter/lib/src/widgets/binding.dart').
Try calling using ?. instead.
WidgetsBinding.instance.addObserver(this);
^^^^^^^^^^^
../../.pub-cache/hosted/pub.dartlang.org/flutter_styled_toast-2.1.3/lib/src/styled_toast.dart:1559:29: Error: Method 'removeObserver' cannot be called on 'WidgetsBinding?' because it is potentially null.
- 'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('../srclib/flutter/packages/flutter/lib/src/widgets/binding.dart').
Try calling using ?. instead.
WidgetsBinding.instance.removeObserver(this);
^^^^^^^^^^^^^^
FAILURE: Build failed with an exception.
* Where:
Script '/home/vagrant/build/srclib/flutter/packages/flutter_tools/gradle/flutter.gradle' line: 1102
* What went wrong:
Execution failed for task ':app:compileFlutterBuildRelease'.
> Process 'command '/home/vagrant/build/srclib/flutter/bin/flutter'' finished with non-zero exit value 1
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 2m 11s
Running Gradle task 'assembleRelease'... 133.1s
Gradle task assembleRelease failed with exit code 1
2022-05-15 14:02:14,064 ERROR: Could not build app com.invoiceninja.app: Error running build command for com.invoiceninja.app:5.0.84
==== detail begin ====
+ /home/vagrant/build/srclib/flutter/bin/flutter config --no-analytics
Downloading Dart SDK from Flutter engine bd539267b42051b0da3d16ffa8f48949dce8aa8f...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
2 211M 2 5135k 0 0 6465k 0 0:00:33 --:--:-- 0:00:33 6460k
41 211M 41 87.5M 0 0 52.4M 0 0:00:04 0:00:01 0:00:03 52.4M
91 211M 91 192M 0 0 71.5M 0 0:00:02 0:00:02 --:--:-- 71.5M
100 211M 100 211M 0 0 74.5M 0 0:00:02 0:00:02 --:--:-- 74.5M
Building flutter tool...
╔════════════════════════════════════════════════════════════════════════════╗
║ Welcome to Flutter! - https://flutter.dev ║
║ ║
║ The Flutter tool uses Google Analytics to anonymously report feature usage ║
║ statistics and basic crash reports. This data is used to help improve ║
║ Flutter tools over time. ║
║ ║
║ Flutter tool analytics are not sent on the very first run. To disable ║
║ reporting, type 'flutter config --no-analytics'. To display the current ║
║ setting, type 'flutter config'. If you opt out of analytics, an opt-out ║
║ event will be sent, and then no further information will be sent by the ║
║ Flutter tool. ║
║ ║
║ By downloading the Flutter SDK, you agree to the Google Terms of Service. ║
║ Note: The Google Privacy Policy describes how data is handled in this ║
║ service. ║
║ ║
║ Moreover, Flutter includes the Dart SDK, which may send usage metrics and ║
║ crash reports to Google. ║
║ ║
║ Read about data we send with crash reports: ║
║ https://flutter.dev/docs/reference/crash-reporting ║
║ ║
║ See Google's privacy policy: ║
║ https://policies.google.com/privacy ║
╚════════════════════════════════════════════════════════════════════════════╝
Analytics reporting disabled.
You may need to restart any open editors for them to read new settings.
+ /home/vagrant/build/srclib/flutter/bin/flutter build apk
Downloading Material fonts... 422ms
Downloading Gradle Wrapper... 16ms
Downloading package sky_engine... 259ms
Downloading flutter_patched_sdk tools... 566ms
Downloading flutter_patched_sdk_product tools... 431ms
Downloading linux-x64 tools... 2,377ms
Downloading linux-x64/font-subset tools... 239ms
Downloading android-arm-profile/linux-x64 tools... 286ms
Downloading android-arm-release/linux-x64 tools... 254ms
Downloading android-arm64-profile/linux-x64 tools... 251ms
Downloading android-arm64-release/linux-x64 tools... 224ms
Downloading android-x64-profile/linux-x64 tools... 263ms
Downloading android-x64-release/linux-x64 tools... 233ms
Running "flutter pub get" in com.invoiceninja.app... 15.8s
Building without sound null safety
For more information see https://dart.dev/null-safety/unsound-null-safety
Running Gradle task 'assembleRelease'...
Checking the license for package Android SDK Platform 31 in /opt/android-sdk/licenses
License for package Android SDK Platform 31 accepted.
Preparing "Install Android SDK Platform 31 (revision: 1)".
"Install Android SDK Platform 31 (revision: 1)" ready.
Installing Android SDK Platform 31 in /opt/android-sdk/platforms/android-31
"Install Android SDK Platform 31 (revision: 1)" complete.
"Install Android SDK Platform 31 (revision: 1)" finished.
../../.pub-cache/hosted/pub.dartlang.org/flutter_styled_toast-2.1.3/lib/src/styled_toast.dart:497:63: Error: Property 'window' cannot be accessed on 'WidgetsBinding?' because it is potentially null.
- 'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('../srclib/flutter/packages/flutter/lib/src/widgets/binding.dart').
Try accessing using ?. instead.
data: MediaQueryData.fromWindow(WidgetsBinding.instance.window),
^^^^^^
../../.pub-cache/hosted/pub.dartlang.org/flutter_styled_toast-2.1.3/lib/src/styled_toast.dart:681:29: Error: Method 'addObserver' cannot be called on 'WidgetsBinding?' because it is potentially null.
- 'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('../srclib/flutter/packages/flutter/lib/src/widgets/binding.dart').
Try calling using ?. instead.
WidgetsBinding.instance.addObserver(this);
^^^^^^^^^^^
../../.pub-cache/hosted/pub.dartlang.org/flutter_styled_toast-2.1.3/lib/src/styled_toast.dart:1559:29: Error: Method 'removeObserver' cannot be called on 'WidgetsBinding?' because it is potentially null.
- 'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('../srclib/flutter/packages/flutter/lib/src/widgets/binding.dart').
Try calling using ?. instead.
WidgetsBinding.instance.removeObserver(this);
^^^^^^^^^^^^^^
FAILURE: Build failed with an exception.
* Where:
Script '/home/vagrant/build/srclib/flutter/packages/flutter_tools/gradle/flutter.gradle' line: 1102
* What went wrong:
Execution failed for task ':app:compileFlutterBuildRelease'.
> Process 'command '/home/vagrant/build/srclib/flutter/bin/flutter'' finished with non-zero exit value 1
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 2m 11s
Running Gradle task 'assembleRelease'... 133.1s
Gradle task assembleRelease failed with exit code 1
==== detail end ====
2022-05-15 14:02:14,065 DEBUG: Error encoutered, stopping by user request.
==== detail end ====