org.openpetfoodfacts.scanner/lastbuild 431

From F-Droid
Jump to: navigation, search

Installed Android Tools

Build Log

'Build.py failed on server for org.openpetfoodfacts.scanner:3.6.3'

detail

[...]
/org.openpetfoodfacts.scanner/app/src/main/java/openfoodfacts/github/scrachx/openfood/features/adapters/autocomplete/EmbCodeAutoCompleteAdapter.kt: (42, 44): Unchecked cast: Any! to ArrayList<String>
w: /home/vagrant/build/org.openpetfoodfacts.scanner/app/src/main/java/openfoodfacts/github/scrachx/openfood/features/adapters/autocomplete/PeriodAfterOpeningAutoCompleteAdapter.kt: (40, 47): Unchecked cast: Any! to ArrayList<String>
w: /home/vagrant/build/org.openpetfoodfacts.scanner/app/src/main/java/openfoodfacts/github/scrachx/openfood/features/additives/AdditiveListActivity.kt: (50, 42): Unchecked cast: Any! to MutableList<AdditiveName>
w: /home/vagrant/build/org.openpetfoodfacts.scanner/app/src/main/java/openfoodfacts/github/scrachx/openfood/features/allergensalert/AllergensAlertFragment.kt: (138, 36): 'getter for activeNetworkInfo: NetworkInfo?' is deprecated. Deprecated in Java
w: /home/vagrant/build/org.openpetfoodfacts.scanner/app/src/main/java/openfoodfacts/github/scrachx/openfood/features/allergensalert/AllergensAlertFragment.kt: (139, 70): 'getter for isConnectedOrConnecting: Boolean' is deprecated. Deprecated in Java
w: /home/vagrant/build/org.openpetfoodfacts.scanner/app/src/main/java/openfoodfacts/github/scrachx/openfood/features/compare/ProductCompareActivity.kt: (43, 89): Unchecked cast: Serializable? to ArrayList<Product>
w: /home/vagrant/build/org.openpetfoodfacts.scanner/app/src/main/java/openfoodfacts/github/scrachx/openfood/features/compare/ProductCompareActivity.kt: (93, 15): 'onActivityResult(Int, Int, Intent?): Unit' is deprecated. Overrides deprecated member in 'androidx.activity.ComponentActivity'. Deprecated in Java
w: /home/vagrant/build/org.openpetfoodfacts.scanner/app/src/main/java/openfoodfacts/github/scrachx/openfood/features/product/edit/ProductEditIngredientsFragment.kt: (296, 50): Unchecked cast: Any! to List<AllergenName>
w: /home/vagrant/build/org.openpetfoodfacts.scanner/app/src/main/java/openfoodfacts/github/scrachx/openfood/features/product/edit/ProductEditIngredientsFragment.kt: (399, 15): 'onActivityResult(Int, Int, Intent?): Unit' is deprecated. Deprecated in Java
w: /home/vagrant/build/org.openpetfoodfacts.scanner/app/src/main/java/openfoodfacts/github/scrachx/openfood/features/product/edit/ProductEditNutritionFactsFragment.kt: (852, 15): 'onActivityResult(Int, Int, Intent?): Unit' is deprecated. Deprecated in Java
w: /home/vagrant/build/org.openpetfoodfacts.scanner/app/src/main/java/openfoodfacts/github/scrachx/openfood/features/product/edit/ProductEditOverviewFragment.kt: (492, 31): Unchecked cast: Any! to List<CountryName>
w: /home/vagrant/build/org.openpetfoodfacts.scanner/app/src/main/java/openfoodfacts/github/scrachx/openfood/features/product/edit/ProductEditOverviewFragment.kt: (504, 31): Unchecked cast: Any! to List<LabelName>
w: /home/vagrant/build/org.openpetfoodfacts.scanner/app/src/main/java/openfoodfacts/github/scrachx/openfood/features/product/edit/ProductEditOverviewFragment.kt: (513, 31): Unchecked cast: Any! to List<CategoryName>
w: /home/vagrant/build/org.openpetfoodfacts.scanner/app/src/main/java/openfoodfacts/github/scrachx/openfood/features/product/edit/ProductEditOverviewFragment.kt: (836, 15): 'onActivityResult(Int, Int, Intent?): Unit' is deprecated. Deprecated in Java
w: /home/vagrant/build/org.openpetfoodfacts.scanner/app/src/main/java/openfoodfacts/github/scrachx/openfood/features/product/edit/ProductEditPhotosFragment.kt: (118, 15): 'onActivityResult(Int, Int, Intent?): Unit' is deprecated. Deprecated in Java
w: /home/vagrant/build/org.openpetfoodfacts.scanner/app/src/main/java/openfoodfacts/github/scrachx/openfood/features/product/view/ProductViewActivity.kt: (149, 15): 'onActivityResult(Int, Int, Intent?): Unit' is deprecated. Overrides deprecated member in 'androidx.activity.ComponentActivity'. Deprecated in Java
w: /home/vagrant/build/org.openpetfoodfacts.scanner/app/src/main/java/openfoodfacts/github/scrachx/openfood/features/product/view/ProductViewFragment.kt: (77, 15): 'onActivityResult(Int, Int, Intent?): Unit' is deprecated. Deprecated in Java
w: /home/vagrant/build/org.openpetfoodfacts.scanner/app/src/main/java/openfoodfacts/github/scrachx/openfood/features/product/view/environment/EnvironmentProductFragment.kt: (157, 15): 'onActivityResult(Int, Int, Intent?): Unit' is deprecated. Deprecated in Java
w: /home/vagrant/build/org.openpetfoodfacts.scanner/app/src/main/java/openfoodfacts/github/scrachx/openfood/features/product/view/ingredients/IngredientsProductFragment.kt: (440, 15): 'onActivityResult(Int, Int, Intent?): Unit' is deprecated. Deprecated in Java
w: /home/vagrant/build/org.openpetfoodfacts.scanner/app/src/main/java/openfoodfacts/github/scrachx/openfood/features/product/view/nutrition/NutritionProductFragment.kt: (527, 15): 'onActivityResult(Int, Int, Intent?): Unit' is deprecated. Deprecated in Java
w: /home/vagrant/build/org.openpetfoodfacts.scanner/app/src/main/java/openfoodfacts/github/scrachx/openfood/features/product/view/summary/SummaryProductFragment.kt: (727, 9): 'startActivityForResult(Intent!, Int): Unit' is deprecated. Deprecated in Java
w: /home/vagrant/build/org.openpetfoodfacts.scanner/app/src/main/java/openfoodfacts/github/scrachx/openfood/features/product/view/summary/SummaryProductFragment.kt: (797, 15): 'onActivityResult(Int, Int, Intent?): Unit' is deprecated. Deprecated in Java
w: /home/vagrant/build/org.openpetfoodfacts.scanner/app/src/main/java/openfoodfacts/github/scrachx/openfood/features/productlist/ProductListActivity.kt: (313, 44): 'getExternalStorageDirectory(): File!' is deprecated. Deprecated in Java
w: /home/vagrant/build/org.openpetfoodfacts.scanner/app/src/main/java/openfoodfacts/github/scrachx/openfood/features/productlists/ProductListsActivity.kt: (18, 20): 'ProgressDialog' is deprecated. Deprecated in Java
w: /home/vagrant/build/org.openpetfoodfacts.scanner/app/src/main/java/openfoodfacts/github/scrachx/openfood/features/productlists/ProductListsActivity.kt: (109, 25): 'startActivityForResult(Intent!, Int): Unit' is deprecated. Deprecated in Java
w: /home/vagrant/build/org.openpetfoodfacts.scanner/app/src/main/java/openfoodfacts/github/scrachx/openfood/features/productlists/ProductListsActivity.kt: (150, 29): 'startActivityForResult(Intent!, Int): Unit' is deprecated. Deprecated in Java
w: /home/vagrant/build/org.openpetfoodfacts.scanner/app/src/main/java/openfoodfacts/github/scrachx/openfood/features/productlists/ProductListsActivity.kt: (165, 15): 'onActivityResult(Int, Int, Intent?): Unit' is deprecated. Overrides deprecated member in 'androidx.activity.ComponentActivity'. Deprecated in Java
w: /home/vagrant/build/org.openpetfoodfacts.scanner/app/src/main/java/openfoodfacts/github/scrachx/openfood/features/productlists/ProductListsActivity.kt: (213, 30): 'constructor ProgressDialog(Context!)' is deprecated. Deprecated in Java
w: /home/vagrant/build/org.openpetfoodfacts.scanner/app/src/main/java/openfoodfacts/github/scrachx/openfood/features/productlists/ProductListsActivity.kt: (213, 30): 'ProgressDialog' is deprecated. Deprecated in Java
w: /home/vagrant/build/org.openpetfoodfacts.scanner/app/src/main/java/openfoodfacts/github/scrachx/openfood/features/productlists/ProductListsActivity.kt: (260, 47): 'setter for progress: Int' is deprecated. Deprecated in Java
w: /home/vagrant/build/org.openpetfoodfacts.scanner/app/src/main/java/openfoodfacts/github/scrachx/openfood/features/scan/ContinuousScanActivity.kt: (20, 25): 'Camera' is deprecated. Deprecated in Java
w: /home/vagrant/build/org.openpetfoodfacts.scanner/app/src/main/java/openfoodfacts/github/scrachx/openfood/features/scan/ContinuousScanActivity.kt: (215, 137): Unchecked cast: Serializable? to ArrayList<Product>
w: /home/vagrant/build/org.openpetfoodfacts.scanner/app/src/main/java/openfoodfacts/github/scrachx/openfood/features/scan/ContinuousScanActivity.kt: (598, 57): 'Camera' is deprecated. Deprecated in Java
w: /home/vagrant/build/org.openpetfoodfacts.scanner/app/src/main/java/openfoodfacts/github/scrachx/openfood/features/scan/ContinuousScanActivity.kt: (598, 64): 'CameraInfo' is deprecated. Deprecated in Java
w: /home/vagrant/build/org.openpetfoodfacts.scanner/app/src/main/java/openfoodfacts/github/scrachx/openfood/features/scan/ContinuousScanActivity.kt: (598, 75): 'CAMERA_FACING_BACK: Int' is deprecated. Deprecated in Java
w: /home/vagrant/build/org.openpetfoodfacts.scanner/app/src/main/java/openfoodfacts/github/scrachx/openfood/features/scan/ContinuousScanActivity.kt: (599, 13): 'Camera' is deprecated. Deprecated in Java
w: /home/vagrant/build/org.openpetfoodfacts.scanner/app/src/main/java/openfoodfacts/github/scrachx/openfood/features/scan/ContinuousScanActivity.kt: (599, 20): 'CameraInfo' is deprecated. Deprecated in Java
w: /home/vagrant/build/org.openpetfoodfacts.scanner/app/src/main/java/openfoodfacts/github/scrachx/openfood/features/scan/ContinuousScanActivity.kt: (599, 31): 'CAMERA_FACING_FRONT: Int' is deprecated. Deprecated in Java
w: /home/vagrant/build/org.openpetfoodfacts.scanner/app/src/main/java/openfoodfacts/github/scrachx/openfood/features/scan/ContinuousScanActivity.kt: (601, 13): 'Camera' is deprecated. Deprecated in Java
w: /home/vagrant/build/org.openpetfoodfacts.scanner/app/src/main/java/openfoodfacts/github/scrachx/openfood/features/scan/ContinuousScanActivity.kt: (601, 20): 'CameraInfo' is deprecated. Deprecated in Java
w: /home/vagrant/build/org.openpetfoodfacts.scanner/app/src/main/java/openfoodfacts/github/scrachx/openfood/features/scan/ContinuousScanActivity.kt: (601, 31): 'CAMERA_FACING_BACK: Int' is deprecated. Deprecated in Java
w: /home/vagrant/build/org.openpetfoodfacts.scanner/app/src/main/java/openfoodfacts/github/scrachx/openfood/features/scan/ContinuousScanActivity.kt: (682, 15): 'onActivityResult(Int, Int, Intent?): Unit' is deprecated. Overrides deprecated member in 'androidx.activity.ComponentActivity'. Deprecated in Java
w: /home/vagrant/build/org.openpetfoodfacts.scanner/app/src/main/java/openfoodfacts/github/scrachx/openfood/features/scanhistory/ScanHistoryActivity.kt: (254, 44): 'getExternalStorageDirectory(): File!' is deprecated. Deprecated in Java
w: /home/vagrant/build/org.openpetfoodfacts.scanner/app/src/main/java/openfoodfacts/github/scrachx/openfood/features/shared/BaseFragment.kt: (99, 40): Parameter 'title' is never used
w: /home/vagrant/build/org.openpetfoodfacts.scanner/app/src/main/java/openfoodfacts/github/scrachx/openfood/images/ImageTransformationUtils.kt: (122, 60): Unchecked cast: Any? to Map<String, Map<String, *>>?
w: /home/vagrant/build/org.openpetfoodfacts.scanner/app/src/main/java/openfoodfacts/github/scrachx/openfood/models/Product.kt: (404, 75): Unchecked cast: Any? to Map<String?, Map<*, *>>?
w: /home/vagrant/build/org.openpetfoodfacts.scanner/app/src/main/java/openfoodfacts/github/scrachx/openfood/models/Product.kt: (406, 46): Unchecked cast: Map<*, *>? to Map<String?, Map<*, *>>?
w: /home/vagrant/build/org.openpetfoodfacts.scanner/app/src/main/java/openfoodfacts/github/scrachx/openfood/models/Product.kt: (408, 81): Unchecked cast: Map<*, *>? to Map<String?, String>?
w: /home/vagrant/build/org.openpetfoodfacts.scanner/app/src/main/java/openfoodfacts/github/scrachx/openfood/models/Product.kt: (427, 75): Unchecked cast: Any? to Map<String, Map<String, Map<String, String>>>?
w: /home/vagrant/build/org.openpetfoodfacts.scanner/app/src/main/java/openfoodfacts/github/scrachx/openfood/models/Product.kt: (439, 58): Unchecked cast: Any? to Map<String, Map<String, *>>?
w: /home/vagrant/build/org.openpetfoodfacts.scanner/app/src/main/java/openfoodfacts/github/scrachx/openfood/models/Product.kt: (443, 70): Unchecked cast: Any? to Map<String, Map<*, *>>?
w: /home/vagrant/build/org.openpetfoodfacts.scanner/app/src/main/java/openfoodfacts/github/scrachx/openfood/models/Product.kt: (475, 87): Unchecked cast: Any? to List<String>?
w: /home/vagrant/build/org.openpetfoodfacts.scanner/app/src/main/java/openfoodfacts/github/scrachx/openfood/utils/LocaleHelper.kt: (101, 27): 'locale: Locale!' is deprecated. Deprecated in Java
w: /home/vagrant/build/org.openpetfoodfacts.scanner/app/src/main/java/openfoodfacts/github/scrachx/openfood/utils/LocaleHelper.kt: (103, 19): 'updateConfiguration(Configuration!, DisplayMetrics!): Unit' is deprecated. Deprecated in Java
w: /home/vagrant/build/org.openpetfoodfacts.scanner/app/src/main/java/openfoodfacts/github/scrachx/openfood/utils/RealPathUtil.kt: (6, 24): 'CursorLoader' is deprecated. Deprecated in Java
w: /home/vagrant/build/org.openpetfoodfacts.scanner/app/src/main/java/openfoodfacts/github/scrachx/openfood/utils/RealPathUtil.kt: (66, 40): 'getExternalStorageDirectory(): File!' is deprecated. Deprecated in Java
w: /home/vagrant/build/org.openpetfoodfacts.scanner/app/src/main/java/openfoodfacts/github/scrachx/openfood/utils/Utils.kt: (228, 32): 'getter for activeNetworkInfo: NetworkInfo?' is deprecated. Deprecated in Java
w: /home/vagrant/build/org.openpetfoodfacts.scanner/app/src/main/java/openfoodfacts/github/scrachx/openfood/utils/Utils.kt: (229, 30): 'getter for isConnectedOrConnecting: Boolean' is deprecated. Deprecated in Java

> Task :app:compileOpffReleaseJavaWithJavac
> Task :app:compileOpffReleaseSources
> Task :app:lintVitalOpffRelease
/home/vagrant/build/org.openpetfoodfacts.scanner/app/build.gradle.kts: Error: commons-logging defines classes that conflict with classes now provided by Android. Solutions include finding newer versions or alternative libraries that don't have the same problem (for example, for httpclient use HttpUrlConnection or okhttp instead), or repackaging the library using something like jarjar. [DuplicatePlatformClasses]

   Explanation for issues of type "DuplicatePlatformClasses":
   There are a number of libraries that duplicate not just functionality of
   the Android platform but using the exact same class names as the ones
   provided in Android -- for example the apache http classes. This can lead
   to unexpected crashes.

   To solve this, you need to either find a newer version of the library which
   no longer has this problem, or to repackage the library (and all of its
   dependencies) using something like the jarjar tool, or finally, rewriting
   the code to use different APIs (for example, for http code, consider using
   HttpUrlConnection or a library like okhttp).

1 errors, 0 warnings

> Task :app:mergeOpffReleaseGeneratedProguardFiles
> Task :app:mergeOpffReleaseJavaResource

> Task :app:minifyOpffReleaseWithR8
R8: Missing class: rx.functions.Func0
R8: Missing class: rx.Observable$OnSubscribe
R8: Missing class: net.sqlcipher.database.SQLiteOpenHelper
R8: Missing class: java.beans.PropertyDescriptor

> Task :app:persistSentryProguardUuidsForOpffReleaseOpff-release FAILED
> compressing mappings
> uploading mappings
error: API request failed
  caused by: sentry reported an error: Authentication credentials were not provided. (http status: 401)

Add --log-level=[info|debug] or export SENTRY_LOG_LEVEL=[info|debug] to see more output.
Please attach the full debug log to all bug reports.

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:persistSentryProguardUuidsForOpffReleaseOpff-release'.
> Process 'command '/tmp/.sentry-cli2898709558980190930.exe'' 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

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.8/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 3m 41s
38 actionable tasks: 38 executed
==== detail end ====