Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can anyone help me with this bug on flutter web🐛 #206

Closed
fisforfaheem opened this issue Feb 27, 2022 · 7 comments
Closed

Can anyone help me with this bug on flutter web🐛 #206

fisforfaheem opened this issue Feb 27, 2022 · 7 comments
Labels
invalid This doesn't seem right

Comments

@fisforfaheem
Copy link

fisforfaheem commented Feb 27, 2022

2:20:54 AM: ../../buildhome/.pub-cache/hosted/pub.dartlang.org/fluent_ui-3.9.1/lib/src/controls/form/selection_controls.dart:26:29:
2:20:54 AM: Error: The parameter 'clipboardStatus' of the method '_FluentTextSelectionControls.buildToolbar' has type 'ClipboardStatusNotifier', which does not match the corresponding type, 'ValueListenable?', in the overridden method, 'TextSelectionControls.buildToolbar'.
2:20:54 AM: - 'ClipboardStatusNotifier' is from 'package:flutter/src/widgets/text_selection.dart' ('flutter/packages/flutter/lib/src/widgets/text_selection.dart').
2:20:54 AM: - 'ValueListenable' is from 'package:flutter/src/foundation/change_notifier.dart' ('flutter/packages/flutter/lib/src/foundation/change_notifier.dart').
2:20:54 AM: - 'ClipboardStatus' is from 'package:flutter/src/widgets/text_selection.dart' ('flutter/packages/flutter/lib/src/widgets/text_selection.dart').
2:20:54 AM: ClipboardStatusNotifier clipboardStatus,
2:20:54 AM: ^
2:20:54 AM: flutter/packages/flutter/lib/src/widgets/text_selection.dart:138:10:
2:20:54 AM: Info: This is the overridden method ('buildToolbar').
2:20:54 AM: Widget buildToolbar(

@fisforfaheem
Copy link
Author

2:18:31 AM: Build ready to start
2:18:33 AM: build-image version: 122b31996ccaffd45d820a452d6227f8312110cc (focal)
2:18:33 AM: build-image tag: v4.5.3
2:18:33 AM: buildbot version: d0df77beca2ca61b1d04bd8011a622c1b1302d7c
2:18:34 AM: Fetching cached dependencies
2:18:34 AM: Failed to fetch cache, continuing with build
2:18:34 AM: Starting to prepare the repo for build
2:18:34 AM: No cached dependencies found. Cloning fresh repo
2:18:34 AM: git clone https://github.com/fisforfaheem/dashboard
2:18:35 AM: Preparing Git Reference refs/heads/main2
2:18:36 AM: Parsing package.json dependencies
2:18:37 AM: Starting build script
2:18:37 AM: Installing dependencies
2:18:37 AM: Python version set to 2.7
2:18:38 AM: Downloading and installing node v16.14.0...
2:18:38 AM: Downloading https://nodejs.org/dist/v16.14.0/node-v16.14.0-linux-x64.tar.xz...
2:18:38 AM: Computing checksum with sha256sum
2:18:38 AM: Checksums matched!
2:18:42 AM: Now using node v16.14.0 (npm v8.3.1)
2:18:42 AM: Started restoring cached build plugins
2:18:42 AM: Finished restoring cached build plugins
2:18:42 AM: Attempting ruby version 2.7.2, read from environment
2:18:43 AM: Using ruby version 2.7.2
2:18:44 AM: Using PHP version 8.0
2:18:44 AM: Started restoring cached go cache
2:18:44 AM: Finished restoring cached go cache
2:18:44 AM: go version go1.16.5 linux/amd64
2:18:44 AM: go version go1.16.5 linux/amd64
2:18:44 AM: Installing missing commands
2:18:44 AM: Verify run directory
2:18:45 AM: ​
2:18:45 AM: ────────────────────────────────────────────────────────────────
2:18:45 AM: Netlify Build
2:18:45 AM: ────────────────────────────────────────────────────────────────
2:18:45 AM: ​
2:18:45 AM: ❯ Version
2:18:45 AM: @netlify/build 26.3.10
2:18:45 AM: ​
2:18:45 AM: ❯ Flags
2:18:45 AM: baseRelDir: true
2:18:45 AM: buildId: 621beaa70877af3fa15e0f7d
2:18:45 AM: deployId: 621beaa70877af3fa15e0f7f
2:18:45 AM: ​
2:18:45 AM: ❯ Current directory
2:18:45 AM: /opt/build/repo
2:18:45 AM: ​
2:18:45 AM: ❯ Config file
2:18:45 AM: No config file was defined: using default values.
2:18:45 AM: ​
2:18:45 AM: ❯ Context
2:18:45 AM: production
2:18:45 AM: ​
2:18:45 AM: ────────────────────────────────────────────────────────────────
2:18:45 AM: 1. Build command from Netlify app
2:18:45 AM: ────────────────────────────────────────────────────────────────
2:18:45 AM: ​
2:18:45 AM: $ if cd flutter; then git pull && cd ..; else git clone https://github.com/flutter/flutter.git; fi && flutter/bin/flutter config --enable-web && flutter/bin/flutter build web --release
2:18:45 AM: bash: line 0: cd: flutter: No such file or directory
2:18:45 AM: Cloning into 'flutter'...
2:19:07 AM: Downloading Dart SDK from Flutter engine f93dc3d7860f9a47b3367809b37ca7bb90c9817a...
2:19:07 AM: % Total % Received % Xferd Average Speed Time Time Time Current
2:19:07 AM: Dload Upload Total Spent Left Speed
2:19:07 AM: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
2:19:08 AM: 1 210M 1 2246k 0 0 17.1M 0 0:00:12 --:--:-- 0:00:12 17.0M
2:19:08 AM: 77 210M 77 163M 0 0 144M 0 0:00:01 0:00:01 --:--:-- 144M
2:19:08 AM: 100 210M 100 210M 0 0 155M 0 0:00:01 0:00:01 --:--:-- 155M
2:19:15 AM: Building flutter tool...
2:19:16 AM: Resolving dependencies...
2:19:17 AM: + fe_analyzer_shared 34.0.0 (36.0.0 available)
2:19:17 AM: + analyzer 3.2.0 (3.3.1 available)
2:19:17 AM: + archive 3.1.11 (3.2.1 available)
2:19:17 AM: + args 2.3.0
2:19:17 AM: + async 2.8.2
2:19:17 AM: + boolean_selector 2.1.0
2:19:17 AM: + browser_launcher 1.0.0
2:19:17 AM: + built_collection 5.1.1
2:19:17 AM: + built_value 8.1.4
2:19:17 AM: + charcode 1.3.1
2:19:17 AM: + checked_yaml 2.0.1
2:19:17 AM: + cli_util 0.3.5
2:19:17 AM: + clock 1.1.0
2:19:17 AM: + collection 1.15.0
2:19:17 AM: + completion 1.0.0
2:19:17 AM: + convert 3.0.1
2:19:17 AM: + coverage 1.1.0
2:19:17 AM: + crypto 3.0.1
2:19:17 AM: + csslib 0.17.1
2:19:17 AM: + dds 2.2.0
2:19:17 AM: + dds_service_extensions 1.3.0
2:19:17 AM: + devtools_shared 2.11.1
2:19:17 AM: + dwds 12.1.0
2:19:17 AM: + fake_async 1.2.0
2:19:17 AM: + file 6.1.2
2:19:17 AM: + file_testing 3.0.0
2:19:17 AM: + fixnum 1.0.0
2:19:17 AM: + flutter_template_images 4.0.0
2:19:17 AM: + frontend_server_client 2.1.2
2:19:17 AM: + glob 2.0.2
2:19:17 AM: + html 0.15.0
2:19:17 AM: + http 0.13.4
2:19:17 AM: + http_multi_server 3.2.0
2:19:17 AM: + http_parser 4.0.0
2:19:17 AM: + intl 0.17.0
2:19:17 AM: + io 1.0.3
2:19:17 AM: + js 0.6.4
2:19:17 AM: + json_annotation 4.4.0
2:19:17 AM: + json_rpc_2 3.0.1
2:19:17 AM: + logging 1.0.2
2:19:17 AM: + matcher 0.12.11
2:19:17 AM: + meta 1.7.0
2:19:17 AM: + mime 1.0.1
2:19:17 AM: + multicast_dns 0.3.2
2:19:17 AM: + mustache_template 2.0.0
2:19:17 AM: + native_stack_traces 0.4.5
2:19:17 AM: + node_preamble 2.0.1
2:19:17 AM: + package_config 2.0.2
2:19:17 AM: + path 1.8.1
2:19:17 AM: + pedantic 1.11.1 (discontinued replaced by lints)
2:19:17 AM: + petitparser 4.4.0
2:19:17 AM: + platform 3.1.0
2:19:17 AM: + pool 1.5.0
2:19:17 AM: + process 4.2.4
2:19:17 AM: + pub_semver 2.1.0
2:19:17 AM: + pubspec_parse 1.2.0
2:19:17 AM: + shelf 1.1.4 (1.2.0 available)
2:19:17 AM: + shelf_packages_handler 3.0.0
2:19:17 AM: + shelf_proxy 1.0.1
2:19:17 AM: + shelf_static 1.1.0
2:19:17 AM: + shelf_web_socket 1.0.1
2:19:17 AM: + source_map_stack_trace 2.1.0
2:19:17 AM: + source_maps 0.10.10
2:19:17 AM: + source_span 1.8.2
2:19:17 AM: + sse 4.1.0
2:19:17 AM: + stack_trace 1.10.0
2:19:17 AM: + stream_channel 2.1.0
2:19:17 AM: + string_scanner 1.1.0
2:19:17 AM: + sync_http 0.3.0
2:19:17 AM: + term_glyph 1.2.0
2:19:17 AM: + test 1.20.1
2:19:17 AM: + test_api 0.4.9
2:19:17 AM: + test_core 0.4.11
2:19:17 AM: + typed_data 1.3.0
2:19:17 AM: + usage 4.0.2
2:19:17 AM: + uuid 3.0.6
2:19:17 AM: + vm_service 8.2.0
2:19:17 AM: + vm_snapshot_analysis 0.7.1
2:19:17 AM: + watcher 1.0.1
2:19:17 AM: + web_socket_channel 2.1.0
2:19:17 AM: + webdriver 3.0.0
2:19:17 AM: + webkit_inspection_protocol 1.0.0
2:19:17 AM: + xml 5.3.1
2:19:17 AM: + yaml 3.1.0
2:19:17 AM: Downloading test 1.20.1...
2:19:17 AM: Downloading node_preamble 2.0.1...
2:19:17 AM: Downloading json_annotation 4.4.0...
2:19:17 AM: Downloading js 0.6.4...
2:19:17 AM: Downloading checked_yaml 2.0.1...
2:19:17 AM: Downloading pubspec_parse 1.2.0...
2:19:17 AM: Downloading file_testing 3.0.0...
2:19:17 AM: Downloading collection 1.15.0...
2:19:17 AM: Downloading watcher 1.0.1...
2:19:17 AM: Downloading typed_data 1.3.0...
2:19:17 AM: Downloading term_glyph 1.2.0...
2:19:17 AM: Downloading sync_http 0.3.0...
2:19:17 AM: Downloading string_scanner 1.1.0...
2:19:17 AM: Downloading sse 4.1.0...
2:19:17 AM: Downloading source_span 1.8.2...
2:19:17 AM: Downloading source_maps 0.10.10...
2:19:17 AM: Downloading source_map_stack_trace 2.1.0...
2:19:17 AM: Downloading shelf_proxy 1.0.1...
2:19:17 AM: Downloading shelf_packages_handler 3.0.0...
2:19:17 AM: Downloading platform 3.1.0...
2:19:17 AM: Downloading petitparser 4.4.0...
2:19:17 AM: Downloading pedantic 1.11.1...
2:19:17 AM: Downloading matcher 0.12.11...
2:19:17 AM: Downloading json_rpc_2 3.0.1...
2:19:17 AM: Downloading io 1.0.3...
2:19:17 AM: Downloading http_parser 4.0.0...
2:19:17 AM: Downloading glob 2.0.2...
2:19:17 AM: Downloading frontend_server_client 2.1.2...
2:19:17 AM: Downloading fixnum 1.0.0...
2:19:17 AM: Downloading devtools_shared 2.11.1...
2:19:17 AM: Downloading dds_service_extensions 1.3.0...
2:19:17 AM: Downloading csslib 0.17.1...
2:19:17 AM: Downloading clock 1.1.0...
2:19:17 AM: Downloading cli_util 0.3.5...
2:19:17 AM: Downloading charcode 1.3.1...
2:19:17 AM: Downloading built_value 8.1.4...
2:19:17 AM: Downloading built_collection 5.1.1...
2:19:17 AM: Downloading boolean_selector 2.1.0...
2:19:17 AM: Downloading analyzer 3.2.0...
2:19:17 AM: Downloading fe_analyzer_shared 34.0.0...
2:19:17 AM: Downloading vm_service 8.2.0...
2:19:17 AM: Downloading test_core 0.4.11...
2:19:17 AM: Downloading test_api 0.4.9...
2:19:17 AM: Downloading async 2.8.2...
2:19:17 AM: Downloading convert 3.0.1...
2:19:17 AM: Downloading http_multi_server 3.2.0...
2:19:17 AM: Downloading logging 1.0.2...
2:19:17 AM: Downloading mime 1.0.1...
2:19:17 AM: Downloading path 1.8.1...
2:19:17 AM: Downloading pool 1.5.0...
2:19:17 AM: Downloading pub_semver 2.1.0...
2:19:17 AM: Downloading shelf_static 1.1.0...
2:19:17 AM: Downloading shelf_web_socket 1.0.1...
2:19:17 AM: Downloading stream_channel 2.1.0...
2:19:17 AM: Downloading web_socket_channel 2.1.0...
2:19:17 AM: Downloading uuid 3.0.6...
2:19:17 AM: Downloading vm_snapshot_analysis 0.7.1...
2:19:17 AM: Downloading shelf 1.1.4...
2:19:17 AM: Downloading native_stack_traces 0.4.5...
2:19:17 AM: Downloading yaml 3.1.0...
2:19:17 AM: Downloading xml 5.3.1...
2:19:17 AM: Downloading webkit_inspection_protocol 1.0.0...
2:19:17 AM: Downloading webdriver 3.0.0...
2:19:17 AM: Downloading usage 4.0.2...
2:19:17 AM: Downloading stack_trace 1.10.0...
2:19:17 AM: Downloading fake_async 1.2.0...
2:19:17 AM: Downloading process 4.2.4...
2:19:17 AM: Downloading package_config 2.0.2...
2:19:17 AM: Downloading mustache_template 2.0.0...
2:19:17 AM: Downloading multicast_dns 0.3.2...
2:19:17 AM: Downloading meta 1.7.0...
2:19:17 AM: Downloading intl 0.17.0...
2:19:17 AM: Downloading http 0.13.4...
2:19:17 AM: Downloading html 0.15.0...
2:19:17 AM: Downloading flutter_template_images 4.0.0...
2:19:17 AM: Downloading file 6.1.2...
2:19:17 AM: Downloading crypto 3.0.1...
2:19:17 AM: Downloading coverage 1.1.0...
2:19:17 AM: Downloading completion 1.0.0...
2:19:17 AM: Downloading dwds 12.1.0...
2:19:17 AM: Downloading dds 2.2.0...
2:19:17 AM: Downloading browser_launcher 1.0.0...
2:19:17 AM: Downloading args 2.3.0...
2:19:17 AM: Downloading archive 3.1.11...
2:19:23 AM: Changed 84 dependencies!
2:19:23 AM: 1 package is discontinued.
2:19:23 AM: 4 packages have newer versions incompatible with dependency constraints.
2:19:23 AM: Try dart pub outdated for more information.
2:19:42 AM: ╔════════════════════════════════════════════════════════════════════════════╗
2:19:42 AM: ║ Welcome to Flutter! - https://flutter.dev/
2:19:42 AM: ║ ║
2:19:42 AM: ║ The Flutter tool uses Google Analytics to anonymously report feature usage ║
2:19:42 AM: ║ statistics and basic crash reports. This data is used to help improve ║
2:19:42 AM: ║ Flutter tools over time. ║
2:19:42 AM: ║ ║
2:19:42 AM: ║ Flutter tool analytics are not sent on the very first run. To disable ║
2:19:42 AM: ║ reporting, type 'flutter config --no-analytics'. To display the current ║
2:19:42 AM: ║ setting, type 'flutter config'. If you opt out of analytics, an opt-out ║
2:19:42 AM: ║ event will be sent, and then no further information will be sent by the ║
2:19:42 AM: ║ Flutter tool. ║
2:19:42 AM: ║ ║
2:19:42 AM: ║ By downloading the Flutter SDK, you agree to the Google Terms of Service. ║
2:19:42 AM: ║ Note: The Google Privacy Policy describes how data is handled in this ║
2:19:42 AM: ║ service. ║
2:19:42 AM: ║ ║
2:19:42 AM: ║ Moreover, Flutter includes the Dart SDK, which may send usage metrics and ║
2:19:42 AM: ║ crash reports to Google. ║
2:19:42 AM: ║ ║
2:19:42 AM: ║ Read about data we send with crash reports: ║
2:19:42 AM: ║ https://flutter.dev/docs/reference/crash-reporting
2:19:42 AM: ║ ║
2:19:42 AM: ║ See Google's privacy policy: ║
https://policies.google.com/privacy
2:19:42 AM: ╚════════════════════════════════════════════════════════════════════════════╝
2:19:42 AM: Setting "enable-web" value to "true".
2:19:42 AM: You may need to restart any open editors for them to read new settings.
2:19:43 AM: Downloading Material fonts... 479ms
2:19:43 AM: Downloading Gradle Wrapper... 12ms
2:19:43 AM: Downloading package sky_engine... 140ms
2:19:44 AM: Downloading flutter_patched_sdk tools... 298ms
2:19:44 AM: Downloading flutter_patched_sdk_product tools... 249ms
2:19:46 AM: Downloading linux-x64 tools... 1,795ms
2:19:47 AM: Downloading linux-x64/font-subset tools... 86ms
2:19:49 AM: Downloading Web SDK... 2,517ms
2:19:53 AM: Downloading CanvasKit... 692ms
2:20:29 AM: Running "flutter pub get" in repo... 35.8s
2:20:30 AM: 💪 Building with sound null safety 💪
2:20:54 AM: Compiling lib/main.dart for the Web...
2:20:54 AM: Target dart2js failed: Exception: Warning: The 'dart2js' entrypoint script is deprecated, please use 'dart compile js' instead.
2:20:54 AM: ../../buildhome/.pub-cache/hosted/pub.dartlang.org/fluent_ui-3.9.1/lib/src/controls/form/selection_controls.dart:26:29:
2:20:54 AM: Error: The parameter 'clipboardStatus' of the method 'FluentTextSelectionControls.buildToolbar' has type 'ClipboardStatusNotifier', which does not match the corresponding type, 'ValueListenable?', in the overridden method, 'TextSelectionControls.buildToolbar'.
2:20:54 AM: - 'ClipboardStatusNotifier' is from 'package:flutter/src/widgets/text_selection.dart' ('flutter/packages/flutter/lib/src/widgets/text_selection.dart').
2:20:54 AM: - 'ValueListenable' is from 'package:flutter/src/foundation/change_notifier.dart' ('flutter/packages/flutter/lib/src/foundation/change_notifier.dart').
2:20:54 AM: - 'ClipboardStatus' is from 'package:flutter/src/widgets/text_selection.dart' ('flutter/packages/flutter/lib/src/widgets/text_selection.dart').
2:20:54 AM: ClipboardStatusNotifier clipboardStatus,
2:20:54 AM: ^
2:20:54 AM: flutter/packages/flutter/lib/src/widgets/text_selection.dart:138:10:
2:20:54 AM: Info: This is the overridden method ('buildToolbar').
2:20:54 AM: Widget buildToolbar(
2:20:54 AM: ^
2:20:54 AM: ../../buildhome/.pub-cache/hosted/pub.dartlang.org/get-4.6.1/lib/get_navigation/src/extension_navigation.dart:357:24:
2:20:54 AM: Warning: Operand of null-aware operation '!' has type 'SchedulerBinding' which excludes null.
2:20:54 AM: - 'SchedulerBinding' is from 'package:flutter/src/scheduler/binding.dart' ('flutter/packages/flutter/lib/src/scheduler/binding.dart').
2:20:54 AM: SchedulerBinding.instance!.addPostFrameCallback((
) {
2:20:54 AM: ^
2:20:54 AM: ../../buildhome/.pub-cache/hosted/pub.dartlang.org/get-4.6.1/lib/get_navigation/src/extension_navigation.dart:468:24:
2:20:54 AM: Warning: Operand of null-aware operation '!' has type 'SchedulerBinding' which excludes null.
2:20:54 AM: - 'SchedulerBinding' is from 'package:flutter/src/scheduler/binding.dart' ('flutter/packages/flutter/lib/src/scheduler/binding.dart').
2:20:54 AM: SchedulerBinding.instance!.addPostFrameCallback((
) {
2:20:54 AM: ^
2:20:54 AM: ../../buildhome/.pub-cache/hosted/pub.dartlang.org/get-4.6.1/lib/get_navigation/src/snackbar/snackbar.dart:452:22:
2:20:54 AM: Warning: Operand of null-aware operation '!' has type 'SchedulerBinding' which excludes null.
2:20:54 AM: - 'SchedulerBinding' is from 'package:flutter/src/scheduler/binding.dart' ('flutter/packages/flutter/lib/src/scheduler/binding.dart').
2:20:54 AM: SchedulerBinding.instance!.addPostFrameCallback(
2:20:54 AM: ^
2:20:54 AM: ../../buildhome/.pub-cache/hosted/pub.dartlang.org/get-4.6.1/lib/get_state_manager/src/rx_flutter/rx_disposable.dart:20:22:
2:20:54 AM: Warning: Operand of null-aware operation '?.' has type 'SchedulerBinding' which excludes null.
2:20:54 AM: - 'SchedulerBinding' is from 'package:flutter/src/scheduler/binding.dart' ('flutter/packages/flutter/lib/src/scheduler/binding.dart').
2:20:54 AM: SchedulerBinding.instance?.addPostFrameCallback((
) => onReady());
2:20:54 AM: ^
2:20:54 AM: ../../buildhome/.pub-cache/hosted/pub.dartlang.org/get-4.6.1/lib/get_state_manager/src/rx_flutter/rx_notifier.dart:130:22:
2:20:54 AM: Warning: Operand of null-aware operation '?.' has type 'SchedulerBinding' which excludes null.
2:20:54 AM: - 'SchedulerBinding' is from 'package:flutter/src/scheduler/binding.dart' ('flutter/packages/flutter/lib/src/scheduler/binding.dart').
2:20:54 AM: SchedulerBinding.instance?.addPostFrameCallback(() => onReady());
2:20:54 AM: ^
2:20:54 AM: ../../buildhome/.pub-cache/hosted/pub.dartlang.org/get-4.6.1/lib/get_state_manager/src/simple/get_controllers.dart:90:20:
2:20:54 AM: Warning: Operand of null-aware operation '!' has type 'WidgetsBinding' which excludes null.
2:20:54 AM: - 'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('flutter/packages/flutter/lib/src/widgets/binding.dart').
2:20:54 AM: WidgetsBinding.instance!.addObserver(this);
2:20:54 AM: ^
2:20:54 AM: ../../buildhome/.pub-cache/hosted/pub.dartlang.org/get-4.6.1/lib/get_state_manager/src/simple/get_controllers.dart:96:20:
2:20:54 AM: Warning: Operand of null-aware operation '!' has type 'WidgetsBinding' which excludes null.
2:20:54 AM: - 'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('flutter/packages/flutter/lib/src/widgets/binding.dart').
2:20:54 AM: WidgetsBinding.instance!.removeObserver(this);
2:20:54 AM: ^
2:20:54 AM: ../../buildhome/.pub-cache/hosted/pub.dartlang.org/flutter_login-3.1.0/lib/src/widgets/animated_text.dart:57:20:
2:20:54 AM: Warning: Operand of null-aware operation '!' has type 'WidgetsBinding' which excludes null.
2:20:54 AM: - 'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('flutter/packages/flutter/lib/src/widgets/binding.dart').
2:20:54 AM: WidgetsBinding.instance!.addPostFrameCallback((
) {
2:20:54 AM: ^
2:20:54 AM: ../../buildhome/.pub-cache/hosted/pub.dartlang.org/get-4.6.1/lib/get_navigation/src/router_report.dart:53:22:
2:20:54 AM: Warning: Operand of null-aware operation '!' has type 'WidgetsBinding' which excludes null.
2:20:54 AM: - 'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('flutter/packages/flutter/lib/src/widgets/binding.dart').
2:20:54 AM: WidgetsBinding.instance!.addPostFrameCallback((_) {
2:20:54 AM: ^
2:20:54 AM: ../../buildhome/.pub-cache/hosted/pub.dartlang.org/fluent_ui-3.9.1/lib/src/controls/inputs/dropdown_button.dart:350:20:
2:20:54 AM: Warning: Operand of null-aware operation '?.' has type 'WidgetsBinding' which excludes null.
2:20:54 AM: - 'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('flutter/packages/flutter/lib/src/widgets/binding.dart').
2:20:54 AM: WidgetsBinding.instance?.addPostFrameCallback((timeStamp) {
2:20:54 AM: ^
2:20:54 AM: ../../buildhome/.pub-cache/hosted/pub.dartlang.org/fluent_ui-3.9.1/lib/src/controls/navigation/navigation_view/indicators.dart:120:20:
2:20:54 AM: Warning: Operand of null-aware operation '?.' has type 'WidgetsBinding' which excludes null.
2:20:54 AM: - 'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('flutter/packages/flutter/lib/src/widgets/binding.dart').
2:20:54 AM: WidgetsBinding.instance?.addPostFrameCallback((timeStamp) {
2:20:54 AM: ^
2:20:54 AM: ../../buildhome/.pub-cache/hosted/pub.dartlang.org/fluent_ui-3.9.1/lib/src/controls/navigation/navigation_view/indicators.dart:126:20:
2:20:54 AM: Warning: Operand of null-aware operation '?.' has type 'WidgetsBinding' which excludes null.
2:20:54 AM: - 'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('flutter/packages/flutter/lib/src/widgets/binding.dart').
2:20:54 AM: WidgetsBinding.instance?.addPostFrameCallback((timeStamp) {
2:20:54 AM: ^
2:20:54 AM: ../../buildhome/.pub-cache/hosted/pub.dartlang.org/fluent_ui-3.9.1/lib/src/controls/surfaces/tooltip.dart:190:41:
2:20:54 AM: Warning: Operand of null-aware operation '!' has type 'RendererBinding' which excludes null.
2:20:54 AM: - 'RendererBinding' is from 'package:flutter/src/rendering/binding.dart' ('flutter/packages/flutter/lib/src/rendering/binding.dart').
2:20:54 AM: _mouseIsConnected = RendererBinding.instance!.mouseTracker.mouseIsConnected;
2:20:54 AM: ^
2:20:54 AM: ../../buildhome/.pub-cache/hosted/pub.dartlang.org/fluent_ui-3.9.1/lib/src/controls/surfaces/tooltip.dart:197:21:
2:20:54 AM: Warning: Operand of null-aware operation '!' has type 'RendererBinding' which excludes null.
2:20:54 AM: - 'RendererBinding' is from 'package:flutter/src/rendering/binding.dart' ('flutter/packages/flutter/lib/src/rendering/binding.dart').
2:20:54 AM: RendererBinding.instance!.mouseTracker
2:20:54 AM: ^
2:20:54 AM: ../../buildhome/.pub-cache/hosted/pub.dartlang.org/fluent_ui-3.9.1/lib/src/controls/surfaces/tooltip.dart:201:20:
2:20:54 AM: Warning: Operand of null-aware operation '!' has type 'GestureBinding' which excludes null.
2:20:54 AM: - 'GestureBinding' is from 'package:flutter/src/gestures/binding.dart' ('flutter/packages/flutter/lib/src/gestures/binding.dart').
2:20:54 AM: GestureBinding.instance!.pointerRouter.addGlobalRoute(_handlePointerEvent);
2:20:54 AM: ^
2:20:54 AM: ../../buildhome/.pub-cache/hosted/pub.dartlang.org/fluent_ui-3.9.1/lib/src/controls/surfaces/tooltip.dart:250:25:
2:20:54 AM: Warning: Operand of null-aware operation '!' has type 'RendererBinding' which excludes null.
2:20:54 AM: - 'RendererBinding' is from 'package:flutter/src/rendering/binding.dart' ('flutter/packages/flutter/lib/src/rendering/binding.dart').
2:20:54 AM: RendererBinding.instance!.mouseTracker.mouseIsConnected;
2:20:54 AM: ^
2:20:54 AM: ../../buildhome/.pub-cache/hosted/pub.dartlang.org/fluent_ui-3.9.1/lib/src/controls/surfaces/tooltip.dart:463:20:
2:20:54 AM: Warning: Operand of null-aware operation '!' has type 'GestureBinding' which excludes null.
2:20:54 AM: - 'GestureBinding' is from 'package:flutter/src/gestures/binding.dart' ('flutter/packages/flutter/lib/src/gestures/binding.dart').
2:20:54 AM: GestureBinding.instance!.pointerRouter
2:20:54 AM: ^
2:20:54 AM: ../../buildhome/.pub-cache/hosted/pub.dartlang.org/fluent_ui-3.9.1/lib/src/controls/surfaces/tooltip.dart:465:21:
2:20:54 AM: Warning: Operand of null-aware operation '!' has type 'RendererBinding' which excludes null.
2:20:54 AM: - 'RendererBinding' is from 'package:flutter/src/rendering/binding.dart' ('flutter/packages/flutter/lib/src/rendering/binding.dart').
2:20:54 AM: RendererBinding.instance!.mouseTracker
2:20:54 AM: ^
2:20:54 AM: ../../buildhome/.pub-cache/hosted/pub.dartlang.org/fluent_ui-3.9.1/lib/src/controls/form/combo_box.dart:1075:54:
2:20:54 AM: Warning: Operand of null-aware operation '!' has type 'WidgetsBinding' which excludes null.
2:20:54 AM: - 'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('flutter/packages/flutter/lib/src/widgets/binding.dart').
2:20:54 AM: final FocusManager focusManager = WidgetsBinding.instance!.focusManager;
2:20:54 AM: ^
2:20:54 AM: ../../buildhome/.pub-cache/hosted/pub.dartlang.org/fluent_ui-3.9.1/lib/src/controls/form/combo_box.dart:1082:20:
2:20:54 AM: Warning: Operand of null-aware operation '!' has type 'WidgetsBinding' which excludes null.
2:20:54 AM: - 'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('flutter/packages/flutter/lib/src/widgets/binding.dart').
2:20:54 AM: WidgetsBinding.instance!.removeObserver(this);
2:20:54 AM: ^
2:20:54 AM: ../../buildhome/.pub-cache/hosted/pub.dartlang.org/fluent_ui-3.9.1/lib/src/controls/form/combo_box.dart:1084:20:
2:20:54 AM: Warning: Operand of null-aware operation '!' has type 'WidgetsBinding' which excludes null.
2:20:54 AM: - 'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('flutter/packages/flutter/lib/src/widgets/binding.dart').
2:20:54 AM: WidgetsBinding.instance!.focusManager
2:20:54 AM: ^
2:20:54 AM: ../../buildhome/.pub-cache/hosted/pub.dartlang.org/fluent_ui-3.9.1/lib/src/controls/form/selection_controls.dart:34:45:
2:20:54 AM: Error: Too many positional arguments: 1 allowed, but 2 found.
2:20:54 AM: canCut(delegate) ? () => handleCut(delegate, clipboardStatus) : null,
2:20:54 AM: ^
2:20:54 AM: ../../buildhome/.pub-cache/hosted/pub.dartlang.org/fluent_ui-3.9.1/lib/src/controls/form/selection_controls.dart:36:29:
2:20:54 AM: Error: Too many positional arguments: 1 allowed, but 2 found.
2:20:54 AM: ? () => handleCopy(delegate, clipboardStatus)
2:20:54 AM: ^
2:20:54 AM: ../../buildhome/.pub-cache/hosted/pub.dartlang.org/fluent_ui-3.9.1/lib/src/controls/form/selection_controls.dart:160:56:
2:20:54 AM: Error: The getter 'disposed' isn't defined for the class 'ClipboardStatusNotifier'.

  • 'ClipboardStatusNotifier' is from 'package:flutter/src/widgets/text_selection.dart' ('flutter/packages/flutter/lib/src/widgets/text_selection.dart').
    2:20:54 AM: if (clipboardStatus != null && !clipboardStatus!.disposed) {
    2:20:54 AM: ^^^^^^^^
    2:20:54 AM: ../../buildhome/.pub-cache/hosted/pub.dartlang.org/fluent_ui-3.9.1/lib/src/styles/acrylic.dart:93:20:
    2:20:54 AM: Warning: Operand of null-aware operation '!' has type 'WidgetsBinding' which excludes null.
    2:20:54 AM: - 'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('flutter/packages/flutter/lib/src/widgets/binding.dart').
    2:20:54 AM: WidgetsBinding.instance!.addPostFrameCallback((timeStamp) {
    2:20:54 AM: ^
    2:20:54 AM: ../../buildhome/.pub-cache/hosted/pub.dartlang.org/widget_loading-0.2.1/lib/src/widgets/wiper_loading.dart:155:30:
    2:20:54 AM: Warning: Operand of null-aware operation '?.' has type 'WidgetsBinding' which excludes null.
    2:20:54 AM: - 'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('flutter/packages/flutter/lib/src/widgets/binding.dart').
    2:20:54 AM: WidgetsBinding.instance?.addPostFrameCallback((
    ) {
    2:20:54 AM: ^
    2:20:54 AM: ../../buildhome/.pub-cache/hosted/pub.dartlang.org/widget_loading-0.2.1/lib/src/widgets/wiper_loading.dart:163:30:
    2:20:54 AM: Warning: Operand of null-aware operation '?.' has type 'WidgetsBinding' which excludes null.
    2:20:54 AM: - 'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('flutter/packages/flutter/lib/src/widgets/binding.dart').
    2:20:54 AM: WidgetsBinding.instance?.addPostFrameCallback((timeStamp) {
    2:20:54 AM: ^
    2:20:54 AM: ../../buildhome/.pub-cache/hosted/pub.dartlang.org/widget_loading-0.2.1/lib/src/widgets/circular_widget_loading.dart:165:30:
    2:20:54 AM: Warning: Operand of null-aware operation '?.' has type 'WidgetsBinding' which excludes null.
    2:20:54 AM: - 'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('flutter/packages/flutter/lib/src/widgets/binding.dart').
    2:20:54 AM: WidgetsBinding.instance?.addPostFrameCallback((
    ) => _controller.forward(from: 0.0));
    2:20:54 AM: ^
    2:20:54 AM: ../../buildhome/.pub-cache/hosted/pub.dartlang.org/another_transformer_page_view-1.1.0/lib/src/another_transformer_page_view.dart:519:22:
    2:20:54 AM: Warning: Operand of null-aware operation '!' has type 'WidgetsBinding' which excludes null.
    2:20:54 AM: - 'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('flutter/packages/flutter/lib/src/widgets/binding.dart').
    2:20:54 AM: WidgetsBinding.instance!.addPostFrameCallback(_onGetSize);
    2:20:54 AM: ^
    2:20:54 AM: ../../buildhome/.pub-cache/hosted/pub.dartlang.org/another_transformer_page_view-1.1.0/lib/src/another_transformer_page_view.dart:537:22:
    2:20:54 AM: Warning: Operand of null-aware operation '!' has type 'WidgetsBinding' which excludes null.
    2:20:54 AM: - 'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('flutter/packages/flutter/lib/src/widgets/binding.dart').
    2:20:54 AM: WidgetsBinding.instance!.addPostFrameCallback(_onGetSize);
    2:20:54 AM: ^
    2:20:54 AM: ../../buildhome/.pub-cache/hosted/pub.dartlang.org/another_flushbar-1.10.28/lib/flushbar.dart:350:22:
    2:20:54 AM: Warning: Operand of null-aware operation '!' has type 'SchedulerBinding' which excludes null.
    2:20:54 AM: - 'SchedulerBinding' is from 'package:flutter/src/scheduler/binding.dart' ('flutter/packages/flutter/lib/src/scheduler/binding.dart').
    2:20:54 AM: SchedulerBinding.instance!.addPostFrameCallback(
    2:20:54 AM: ^
    2:20:54 AM: ../../buildhome/.pub-cache/hosted/pub.dartlang.org/charts_flutter-0.12.0/lib/src/chart_container.dart:205:27:
    2:20:54 AM: Warning: Operand of null-aware operation '!' has type 'SchedulerBinding' which excludes null.
    2:20:54 AM: - 'SchedulerBinding' is from 'package:flutter/src/scheduler/binding.dart' ('flutter/packages/flutter/lib/src/scheduler/binding.dart').
    2:20:54 AM: if (!SchedulerBinding.instance!.hasScheduledFrame) {
    2:20:54 AM: ^
    2:20:54 AM: ../../buildhome/.pub-cache/hosted/pub.dartlang.org/charts_flutter-0.12.0/lib/src/chart_container.dart:206:24:
    2:20:54 AM: Warning: Operand of null-aware operation '!' has type 'SchedulerBinding' which excludes null.
    2:20:54 AM: - 'SchedulerBinding' is from 'package:flutter/src/scheduler/binding.dart' ('flutter/packages/flutter/lib/src/scheduler/binding.dart').
    2:20:54 AM: SchedulerBinding.instance!.scheduleFrame();
    2:20:54 AM: ^
    2:20:54 AM: ../../buildhome/.pub-cache/hosted/pub.dartlang.org/charts_flutter-0.12.0/lib/src/chart_container.dart:209:22:
    2:20:54 AM: Warning: Operand of null-aware operation '!' has type 'SchedulerBinding' which excludes null.
    2:20:54 AM: - 'SchedulerBinding' is from 'package:flutter/src/scheduler/binding.dart' ('flutter/packages/flutter/lib/src/scheduler/binding.dart').
    2:20:54 AM: SchedulerBinding.instance!.addPostFrameCallback(startAnimationController);
    2:20:54 AM: ^
    2:20:54 AM: ../../buildhome/.pub-cache/hosted/pub.dartlang.org/charts_flutter-0.12.0/lib/src/chart_container.dart:232:22:
    2:20:54 AM: Warning: Operand of null-aware operation '!' has type 'SchedulerBinding' which excludes null.
    2:20:54 AM: - 'SchedulerBinding' is from 'package:flutter/src/scheduler/binding.dart' ('flutter/packages/flutter/lib/src/scheduler/binding.dart').
    2:20:54 AM: SchedulerBinding.instance!.addPostFrameCallback(doRebuild);
    2:20:54 AM: ^
    2:20:54 AM: Error: Compilation failed.
    2:20:54 AM: Compiling lib/main.dart for the Web... 24.4s
    2:20:54 AM: Exception: Failed to compile application for the Web.
    2:20:54 AM: ​
    2:20:54 AM: ────────────────────────────────────────────────────────────────
    2:20:54 AM: "build.command" failed
    2:20:54 AM: ────────────────────────────────────────────────────────────────
    2:20:54 AM: ​
    2:20:54 AM: Error message
    2:20:54 AM: Command failed with exit code 1: if cd flutter; then git pull && cd ..; else git clone https://github.com/flutter/flutter.git; fi && flutter/bin/flutter config --enable-web && flutter/bin/flutter build web --release
    2:20:54 AM: ​
    2:20:54 AM: Error location
    2:20:54 AM: In Build command from Netlify app:
    2:20:54 AM: if cd flutter; then git pull && cd ..; else git clone https://github.com/flutter/flutter.git; fi && flutter/bin/flutter config --enable-web && flutter/bin/flutter build web --release
    2:20:54 AM: ​
    2:20:54 AM: Resolved config
    2:20:54 AM: build:
    2:20:54 AM: command: if cd flutter; then git pull && cd ..; else git clone https://github.com/flutter/flutter.git; fi && flutter/bin/flutter config --enable-web && flutter/bin/flutter build web --release
    2:20:54 AM: commandOrigin: ui
    2:20:54 AM: publish: /opt/build/repo/build/web
    2:20:54 AM: publishOrigin: ui
    2:20:55 AM: Caching artifacts
    2:20:55 AM: Started saving build plugins
    2:20:55 AM: Finished saving build plugins
    2:20:55 AM: Started saving pip cache
    2:20:55 AM: Finished saving pip cache
    2:20:55 AM: Started saving emacs cask dependencies
    2:20:55 AM: Finished saving emacs cask dependencies
    2:20:55 AM: Started saving maven dependencies
    2:20:55 AM: Finished saving maven dependencies
    2:20:55 AM: Started saving boot dependencies
    2:20:55 AM: Finished saving boot dependencies
    2:20:55 AM: Started saving rust rustup cache
    2:20:55 AM: Finished saving rust rustup cache
    2:20:55 AM: Started saving go dependencies
    2:20:55 AM: Finished saving go dependencies
    2:20:57 AM: Build failed due to a user error: Build script returned non-zero exit code: 2
    2:20:57 AM: Creating deploy upload records
    2:20:57 AM: Failing build: Failed to build site
    2:20:57 AM: Failed during stage 'building site': Build script returned non-zero exit code: 2
    2:20:57 AM: Finished processing build request in 2m23.852918117s

@bleonard252
Copy link

I am experiencing the same error (first message) when building an app for Linux. Notably it doesn't appear when building for Android.

@WinXaito
Copy link
Collaborator

I can't reproduce, please indicate which Flutter version do you use ?

@WinXaito WinXaito added the question Further information is requested label Feb 28, 2022
@bleonard252
Copy link

bleonard252 commented Feb 28, 2022 via email

@fisforfaheem
Copy link
Author

fisforfaheem commented Feb 28, 2022 via email

@bdlukaa
Copy link
Owner

bdlukaa commented Feb 28, 2022

@fisforfaheem Can you post here the output of flutter doctor -v?

I don't think there is an issue with the stable branch because the project is building on the actions https://github.com/bdlukaa/fluent_ui/runs/5337693274?check_suite_focus=true . Can you please retry with the stable version?

It is mentioned on #installation that projects should be using the stable version of flutter (currently 2.10.1)

Also, next time, could you fill the bug template correctly? It's really hard to track issues this way

@bdlukaa bdlukaa added invalid This doesn't seem right and removed question Further information is requested labels Feb 28, 2022
@fisforfaheem
Copy link
Author

Really sorry, I had to remove whole Fluent Ui code from the app, as my employer wanted the web app to run immediately, I would have given all the details on this project issues, but failed to due to employer request for immediate change.

@bdlukaa bdlukaa closed this as completed Mar 14, 2022
Repository owner locked and limited conversation to collaborators Mar 14, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

4 participants