kinoko
kinoko copied to clipboard
F-Droid build failed
With Flutter 3.0.3 I got
Note: Recompile with -Xlint:deprecation for details.
/home/vagrant/.pub-cache/hosted/pub.dartlang.org/xml_layout-2.3.14/lib/types/icons.dart:3532:18: Error: Member not found: 'class__outlined'.
return Icons.class__outlined;
^^^^^^^^^^^^^^^
/home/vagrant/.pub-cache/hosted/pub.dartlang.org/xml_layout-2.3.14/lib/types/icons.dart:3535:18: Error: Member not found: 'class__rounded'.
return Icons.class__rounded;
^^^^^^^^^^^^^^
/home/vagrant/.pub-cache/hosted/pub.dartlang.org/xml_layout-2.3.14/lib/types/icons.dart:3538:18: Error: Member not found: 'class__sharp'.
return Icons.class__sharp;
^^^^^^^^^^^^
/home/vagrant/.pub-cache/git/filesystem_picker-9b1a077183580f2b329707a85a25e1aeda48517f/package/lib/src/breadcrumbs.dart:53:20: Warning: Operand of null-aware operation '!' has type 'WidgetsBinding' which excludes null.
- 'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('../srclib/flutter/packages/flutter/lib/src/widgets/binding.dart').
WidgetsBinding.instance!.addPostFrameCallback((_) => _scrollToEnd());
^
/home/vagrant/.pub-cache/hosted/pub.dartlang.org/flutter_staggered_animations-1.0.0/lib/src/animation_limiter.dart:43:20: Warning: Operand of null-aware operation '!' has type 'WidgetsBinding' which excludes null.
- 'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('../srclib/flutter/packages/flutter/lib/src/widgets/binding.dart').
WidgetsBinding.instance!.addPostFrameCallback((Duration value) {
^
/home/vagrant/.pub-cache/hosted/pub.dartlang.org/cached_network_image-3.2.0/lib/src/image_provider/cached_network_image_provider.dart:109:29: Warning: Operand of null-aware operation '?.' has type 'PaintingBinding' which excludes null.
- 'PaintingBinding' is from 'package:flutter/src/painting/binding.dart' ('../srclib/flutter/packages/flutter/lib/src/painting/binding.dart').
() => PaintingBinding.instance?.imageCache?.evict(key),
^
/home/vagrant/.pub-cache/hosted/pub.dartlang.org/cached_network_image-3.2.0/lib/src/image_provider/multi_image_stream_completer.dart:152:22: Warning: Operand of null-aware operation '?.' has type 'SchedulerBinding' which excludes null.
- 'SchedulerBinding' is from 'package:flutter/src/scheduler/binding.dart' ('../srclib/flutter/packages/flutter/lib/src/scheduler/binding.dart').
SchedulerBinding.instance?.scheduleFrameCallback(_handleAppFrame);
^
plugins/my_scrollable_positioned_list/lib/src/scrollable_positioned_list.dart:425:24: Warning: Operand of null-aware operation '!' has type 'SchedulerBinding' which excludes null.
- 'SchedulerBinding' is from 'package:flutter/src/scheduler/binding.dart' ('../srclib/flutter/packages/flutter/lib/src/scheduler/binding.dart').
SchedulerBinding.instance!.addPostFrameCallback((_) {
^
plugins/my_scrollable_positioned_list/lib/src/scrollable_positioned_list.dart:472:26: Warning: Operand of null-aware operation '!' has type 'SchedulerBinding' which excludes null.
- 'SchedulerBinding' is from 'package:flutter/src/scheduler/binding.dart' ('../srclib/flutter/packages/flutter/lib/src/scheduler/binding.dart').
SchedulerBinding.instance!.addPostFrameCallback((_) {
^
plugins/my_scrollable_positioned_list/lib/src/positioned_list.dart:298:24: Warning: Operand of null-aware operation '!' has type 'SchedulerBinding' which excludes null.
- 'SchedulerBinding' is from 'package:flutter/src/scheduler/binding.dart' ('../srclib/flutter/packages/flutter/lib/src/scheduler/binding.dart').
SchedulerBinding.instance!.addPostFrameCallback((_) {
^
FAILURE: Build failed with an exception.
* Where:
Script '/builds/linsui/fdroiddata/build/srclib/flutter/packages/flutter_tools/gradle/flutter.gradle' line: 1156
* What went wrong:
Execution failed for task ':app:compileFlutterBuildRelease'.
> Process 'command '/builds/linsui/fdroiddata/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 4m 50s
Running Gradle task 'assembleRelease'... 294.0s
Gradle task assembleRelease failed with exit code 1
It also failed with 2.10.1. Which version should I use? Thanks!