Creating snap error in flutter

snapcraft 
Launching a VM.
snap "snapd" has no updates available                                           
snap "core18" has no updates available
snap "snapcraft" has no updates available
The flutter plugin is currently in beta, its API may break. Use at your own risk.
Skipping pull flutter-extension (already ran)
Skipping pull gnome-3-28-extension (already ran)
Skipping pull plagiarismchecker (already ran)
Skipping build flutter-extension (already ran)
Skipping build gnome-3-28-extension (already ran)
Building plagiarismchecker 
+ snapcraftctl build
flutter pub get
   Woah! You appear to be trying to run flutter as root.
   We strongly recommend running the flutter tool without superuser privileges.
  /
📎
Running "flutter pub get" in build...                               6.7s
flutter build linux --release -v -t lib/main.dart
   Woah! You appear to be trying to run flutter as root.
   We strongly recommend running the flutter tool without superuser privileges.
  /
📎
[  +76 ms] executing: uname -m
[  +34 ms] Exit code 0 from: uname -m
[        ] x86_64
[   +5 ms] executing: [/root/snap/flutter/common/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[   +5 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] ed3238e8ed1461379bf7187ffc8d29829db805d5
[   +1 ms] executing: [/root/snap/flutter/common/flutter/] git tag --points-at ed3238e8ed1461379bf7187ffc8d29829db805d5
[  +12 ms] Exit code 0 from: git tag --points-at ed3238e8ed1461379bf7187ffc8d29829db805d5
[   +1 ms] executing: [/root/snap/flutter/common/flutter/] git describe --match *.*.* --long --tags ed3238e8ed1461379bf7187ffc8d29829db805d5
[  +57 ms] Exit code 0 from: git describe --match *.*.* --long --tags ed3238e8ed1461379bf7187ffc8d29829db805d5
[   +1 ms] 3.0.0-0.0.pre-2272-ged3238e8ed
[  +57 ms] executing: [/root/snap/flutter/common/flutter/] git rev-parse --abbrev-ref --symbolic @{upstream}
[   +5 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{upstream}
[        ] origin/master
[        ] executing: [/root/snap/flutter/common/flutter/] git ls-remote --get-url origin
[   +6 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[  +58 ms] Unable to locate an Android SDK.
[  +15 ms] executing: [/root/snap/flutter/common/flutter/] git rev-parse --abbrev-ref HEAD
[  +27 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] master
[ +141 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[   +6 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +4 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +72 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[        ] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[        ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[   +8 ms] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'PubDependencies' is not required, skipping update.
[  +63 ms] Skipping pub get: version match.
[  +45 ms] Found plugin file_selector_linux at /root/snap/flutter/common/flutter/.pub-cache/git/flutter-desktop-embedding-12decbe0f592e14e03223f6f2c0c7e0e2dbd70a1/plugins/file_selector/file_selector_linux/
[   +9 ms] Found plugin app_review at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/app_review-2.1.2+1/
[  +29 ms] Found plugin connectivity_plus at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/connectivity_plus-2.3.6+1/
[   +3 ms] Found plugin connectivity_plus_linux at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/connectivity_plus_linux-1.3.1/
[   +2 ms] Found plugin connectivity_plus_macos at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/connectivity_plus_macos-1.2.4/
[   +7 ms] Found plugin connectivity_plus_web at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/connectivity_plus_web-1.2.3/
[   +2 ms] Found plugin connectivity_plus_windows at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/connectivity_plus_windows-1.2.2/
[  +11 ms] Found plugin desktop_drop at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/desktop_drop-0.3.3/
[   +5 ms] Found plugin file_picker at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/file_picker-5.0.1/
[   +2 ms] Found plugin file_selector at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/file_selector-0.9.0/
[   +1 ms] Found plugin file_selector_macos at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/file_selector_macos-0.9.0/
[   +2 ms] Found plugin file_selector_web at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/file_selector_web-0.9.0/
[   +1 ms] Found plugin file_selector_windows at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/file_selector_windows-0.9.1/
[   +5 ms] Found plugin firebase_auth at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_auth-3.6.2/
[   +3 ms] Found plugin firebase_auth_web at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_auth_web-4.2.2/
[   +7 ms] Found plugin firebase_core at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core-1.20.0/
[   +2 ms] Found plugin firebase_core_web at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core_web-1.7.1/
[   +2 ms] Found plugin flutter_facebook_auth at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_facebook_auth-4.4.1/
[   +2 ms] Found plugin flutter_facebook_auth_web at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_facebook_auth_web-3.2.0/
[   +1 ms] Found plugin flutter_keyboard_visibility at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_keyboard_visibility-5.3.0/
[   +2 ms] Found plugin flutter_keyboard_visibility_web at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_keyboard_visibility_web-2.0.0/
[   +3 ms] Found plugin flutter_native_splash at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_native_splash-2.2.7/
[   +1 ms] Found plugin flutter_plugin_android_lifecycle at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_plugin_android_lifecycle-2.0.7/
[   +9 ms] Found plugin google_mobile_ads at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/google_mobile_ads-2.0.0/
[   +2 ms] Found plugin google_sign_in at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/google_sign_in-5.4.1/
[   +1 ms] Found plugin google_sign_in_android at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/google_sign_in_android-6.0.1/
[   +3 ms] Found plugin google_sign_in_ios at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/google_sign_in_ios-5.4.0/
[   +2 ms] Found plugin google_sign_in_web at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/google_sign_in_web-0.10.2/
[   +9 ms] Found plugin in_app_purchase at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/in_app_purchase-3.0.7/
[   +2 ms] Found plugin in_app_purchase_android at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/in_app_purchase_android-0.2.3+3/
[   +2 ms] Found plugin in_app_purchase_storekit at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/in_app_purchase_storekit-0.3.1+1/
[  +10 ms] Found plugin package_info_plus at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/package_info_plus-1.4.3+1/
[   +1 ms] Found plugin package_info_plus_linux at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/package_info_plus_linux-1.0.5/
[   +1 ms] Found plugin package_info_plus_macos at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/package_info_plus_macos-1.3.0/
[   +2 ms] Found plugin package_info_plus_web at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/package_info_plus_web-1.0.5/
[   +1 ms] Found plugin package_info_plus_windows at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/package_info_plus_windows-2.0.0/
[   +2 ms] Found plugin path_provider at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider-2.0.11/
[   +1 ms] Found plugin path_provider_android at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_android-2.0.18/
[   +1 ms] Found plugin path_provider_ios at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_ios-2.0.11/
[   +1 ms] Found plugin path_provider_linux at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_linux-2.1.7/
[   +2 ms] Found plugin path_provider_macos at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_macos-2.0.6/
[   +1 ms] Found plugin path_provider_windows at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_windows-2.1.2/
[   +1 ms] Found plugin permission_handler at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-10.0.0/
[   +1 ms] Found plugin permission_handler_android at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler_android-10.0.0/
[   +2 ms] Found plugin permission_handler_apple at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler_apple-9.0.4/
[   +1 ms] Found plugin permission_handler_windows at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler_windows-0.1.0/
[   +6 ms] Found plugin screen_retriever at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/screen_retriever-0.1.2/
[   +4 ms] Found plugin sign_in_with_apple at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/sign_in_with_apple-4.1.0/
[   +1 ms] Found plugin sign_in_with_apple_web at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/sign_in_with_apple_web-1.0.1/
[   +7 ms] Found plugin url_launcher at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher-6.1.5/
[   +1 ms] Found plugin url_launcher_android at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_android-6.0.17/
[   +1 ms] Found plugin url_launcher_ios at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_ios-6.0.17/
[   +2 ms] Found plugin url_launcher_linux at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_linux-3.0.1/
[   +1 ms] Found plugin url_launcher_macos at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_macos-3.0.1/
[   +1 ms] Found plugin url_launcher_web at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_web-2.0.13/
[  +15 ms] Found plugin url_launcher_windows at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_windows-3.0.1/
[   +1 ms] Found plugin user_messaging_platform at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/user_messaging_platform-1.2.1/
[   +2 ms] Found plugin window_manager at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/window_manager-0.2.5/
[  +54 ms] Found plugin file_selector_linux at /root/snap/flutter/common/flutter/.pub-cache/git/flutter-desktop-embedding-12decbe0f592e14e03223f6f2c0c7e0e2dbd70a1/plugins/file_selector/file_selector_linux/
[   +1 ms] Found plugin app_review at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/app_review-2.1.2+1/
[   +7 ms] Found plugin connectivity_plus at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/connectivity_plus-2.3.6+1/
[        ] Found plugin connectivity_plus_linux at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/connectivity_plus_linux-1.3.1/
[        ] Found plugin connectivity_plus_macos at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/connectivity_plus_macos-1.2.4/
[   +1 ms] Found plugin connectivity_plus_web at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/connectivity_plus_web-1.2.3/
[        ] Found plugin connectivity_plus_windows at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/connectivity_plus_windows-1.2.2/
[   +2 ms] Found plugin desktop_drop at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/desktop_drop-0.3.3/
[   +2 ms] Found plugin file_picker at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/file_picker-5.0.1/
[   +2 ms] Found plugin file_selector at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/file_selector-0.9.0/
[   +1 ms] Found plugin file_selector_macos at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/file_selector_macos-0.9.0/
[   +1 ms] Found plugin file_selector_web at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/file_selector_web-0.9.0/
[   +1 ms] Found plugin file_selector_windows at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/file_selector_windows-0.9.1/
[   +1 ms] Found plugin firebase_auth at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_auth-3.6.2/
[   +1 ms] Found plugin firebase_auth_web at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_auth_web-4.2.2/
[   +1 ms] Found plugin firebase_core at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core-1.20.0/
[   +3 ms] Found plugin firebase_core_web at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core_web-1.7.1/
[   +1 ms] Found plugin flutter_facebook_auth at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_facebook_auth-4.4.1/
[   +1 ms] Found plugin flutter_facebook_auth_web at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_facebook_auth_web-3.2.0/
[   +2 ms] Found plugin flutter_keyboard_visibility at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_keyboard_visibility-5.3.0/
[   +1 ms] Found plugin flutter_keyboard_visibility_web at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_keyboard_visibility_web-2.0.0/
[   +1 ms] Found plugin flutter_native_splash at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_native_splash-2.2.7/
[   +1 ms] Found plugin flutter_plugin_android_lifecycle at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_plugin_android_lifecycle-2.0.7/
[   +3 ms] Found plugin google_mobile_ads at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/google_mobile_ads-2.0.0/
[   +1 ms] Found plugin google_sign_in at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/google_sign_in-5.4.1/
[   +1 ms] Found plugin google_sign_in_android at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/google_sign_in_android-6.0.1/
[        ] Found plugin google_sign_in_ios at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/google_sign_in_ios-5.4.0/
[   +1 ms] Found plugin google_sign_in_web at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/google_sign_in_web-0.10.2/
[   +3 ms] Found plugin in_app_purchase at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/in_app_purchase-3.0.7/
[        ] Found plugin in_app_purchase_android at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/in_app_purchase_android-0.2.3+3/
[   +1 ms] Found plugin in_app_purchase_storekit at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/in_app_purchase_storekit-0.3.1+1/
[   +5 ms] Found plugin package_info_plus at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/package_info_plus-1.4.3+1/
[   +1 ms] Found plugin package_info_plus_linux at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/package_info_plus_linux-1.0.5/
[        ] Found plugin package_info_plus_macos at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/package_info_plus_macos-1.3.0/
[        ] Found plugin package_info_plus_web at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/package_info_plus_web-1.0.5/
[        ] Found plugin package_info_plus_windows at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/package_info_plus_windows-2.0.0/
[   +1 ms] Found plugin path_provider at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider-2.0.11/
[   +1 ms] Found plugin path_provider_android at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_android-2.0.18/
[        ] Found plugin path_provider_ios at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_ios-2.0.11/
[   +1 ms] Found plugin path_provider_linux at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_linux-2.1.7/
[        ] Found plugin path_provider_macos at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_macos-2.0.6/
[        ] Found plugin path_provider_windows at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_windows-2.1.2/
[   +1 ms] Found plugin permission_handler at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-10.0.0/
[        ] Found plugin permission_handler_android at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler_android-10.0.0/
[   +1 ms] Found plugin permission_handler_apple at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler_apple-9.0.4/
[        ] Found plugin permission_handler_windows at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler_windows-0.1.0/
[   +3 ms] Found plugin screen_retriever at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/screen_retriever-0.1.2/
[   +2 ms] Found plugin sign_in_with_apple at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/sign_in_with_apple-4.1.0/
[        ] Found plugin sign_in_with_apple_web at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/sign_in_with_apple_web-1.0.1/
[   +5 ms] Found plugin url_launcher at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher-6.1.5/
[        ] Found plugin url_launcher_android at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_android-6.0.17/
[        ] Found plugin url_launcher_ios at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_ios-6.0.17/
[   +1 ms] Found plugin url_launcher_linux at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_linux-3.0.1/
[   +1 ms] Found plugin url_launcher_macos at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_macos-3.0.1/
[   +1 ms] Found plugin url_launcher_web at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_web-2.0.13/
[   +1 ms] Found plugin url_launcher_windows at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_windows-3.0.1/
[   +1 ms] Found plugin user_messaging_platform at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/user_messaging_platform-1.2.1/
[   +4 ms] Found plugin window_manager at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/window_manager-0.2.5/
[  +34 ms] Found plugin file_selector_linux at /root/snap/flutter/common/flutter/.pub-cache/git/flutter-desktop-embedding-12decbe0f592e14e03223f6f2c0c7e0e2dbd70a1/plugins/file_selector/file_selector_linux/
[   +1 ms] Found plugin app_review at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/app_review-2.1.2+1/
[  +12 ms] Found plugin connectivity_plus at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/connectivity_plus-2.3.6+1/
[   +1 ms] Found plugin connectivity_plus_linux at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/connectivity_plus_linux-1.3.1/
[   +1 ms] Found plugin connectivity_plus_macos at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/connectivity_plus_macos-1.2.4/
[   +2 ms] Found plugin connectivity_plus_web at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/connectivity_plus_web-1.2.3/
[   +1 ms] Found plugin connectivity_plus_windows at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/connectivity_plus_windows-1.2.2/
[   +2 ms] Found plugin desktop_drop at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/desktop_drop-0.3.3/
[   +3 ms] Found plugin file_picker at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/file_picker-5.0.1/
[        ] Found plugin file_selector at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/file_selector-0.9.0/
[        ] Found plugin file_selector_macos at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/file_selector_macos-0.9.0/
[        ] Found plugin file_selector_web at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/file_selector_web-0.9.0/
[        ] Found plugin file_selector_windows at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/file_selector_windows-0.9.1/
[        ] Found plugin firebase_auth at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_auth-3.6.2/
[   +1 ms] Found plugin firebase_auth_web at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_auth_web-4.2.2/
[        ] Found plugin firebase_core at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core-1.20.0/
[   +1 ms] Found plugin firebase_core_web at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core_web-1.7.1/
[        ] Found plugin flutter_facebook_auth at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_facebook_auth-4.4.1/
[   +2 ms] Found plugin flutter_facebook_auth_web at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_facebook_auth_web-3.2.0/
[        ] Found plugin flutter_keyboard_visibility at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_keyboard_visibility-5.3.0/
[        ] Found plugin flutter_keyboard_visibility_web at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_keyboard_visibility_web-2.0.0/
[   +2 ms] Found plugin flutter_native_splash at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_native_splash-2.2.7/
[        ] Found plugin flutter_plugin_android_lifecycle at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_plugin_android_lifecycle-2.0.7/
[   +2 ms] Found plugin google_mobile_ads at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/google_mobile_ads-2.0.0/
[        ] Found plugin google_sign_in at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/google_sign_in-5.4.1/
[        ] Found plugin google_sign_in_android at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/google_sign_in_android-6.0.1/
[        ] Found plugin google_sign_in_ios at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/google_sign_in_ios-5.4.0/
[        ] Found plugin google_sign_in_web at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/google_sign_in_web-0.10.2/
[   +2 ms] Found plugin in_app_purchase at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/in_app_purchase-3.0.7/
[        ] Found plugin in_app_purchase_android at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/in_app_purchase_android-0.2.3+3/
[        ] Found plugin in_app_purchase_storekit at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/in_app_purchase_storekit-0.3.1+1/
[   +3 ms] Found plugin package_info_plus at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/package_info_plus-1.4.3+1/
[        ] Found plugin package_info_plus_linux at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/package_info_plus_linux-1.0.5/
[        ] Found plugin package_info_plus_macos at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/package_info_plus_macos-1.3.0/
[        ] Found plugin package_info_plus_web at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/package_info_plus_web-1.0.5/
[        ] Found plugin package_info_plus_windows at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/package_info_plus_windows-2.0.0/
[   +1 ms] Found plugin path_provider at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider-2.0.11/
[        ] Found plugin path_provider_android at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_android-2.0.18/
[        ] Found plugin path_provider_ios at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_ios-2.0.11/
[        ] Found plugin path_provider_linux at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_linux-2.1.7/
[        ] Found plugin path_provider_macos at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_macos-2.0.6/
[        ] Found plugin path_provider_windows at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_windows-2.1.2/
[        ] Found plugin permission_handler at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-10.0.0/
[        ] Found plugin permission_handler_android at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler_android-10.0.0/
[        ] Found plugin permission_handler_apple at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler_apple-9.0.4/
[        ] Found plugin permission_handler_windows at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler_windows-0.1.0/
[   +2 ms] Found plugin screen_retriever at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/screen_retriever-0.1.2/
[        ] Found plugin sign_in_with_apple at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/sign_in_with_apple-4.1.0/
[        ] Found plugin sign_in_with_apple_web at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/sign_in_with_apple_web-1.0.1/
[   +4 ms] Found plugin url_launcher at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher-6.1.5/
[        ] Found plugin url_launcher_android at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_android-6.0.17/
[        ] Found plugin url_launcher_ios at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_ios-6.0.17/
[        ] Found plugin url_launcher_linux at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_linux-3.0.1/
[        ] Found plugin url_launcher_macos at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_macos-3.0.1/
[   +2 ms] Found plugin url_launcher_web at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_web-2.0.13/
[        ] Found plugin url_launcher_windows at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_windows-3.0.1/
[   +1 ms] Found plugin user_messaging_platform at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/user_messaging_platform-1.2.1/
[   +2 ms] Found plugin window_manager at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/window_manager-0.2.5/
[  +66 ms] Generating /root/parts/plagiarismchecker/build/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java
[  +97 ms] 💪 Building with sound null safety 💪
[  +23 ms] Building Linux application...
[  +21 ms] executing: [build/linux/x64/release/] cmake -G Ninja -DCMAKE_BUILD_TYPE=Release -DFLUTTER_TARGET_PLATFORM=linux-x64 /root/parts/plagiarismchecker/build/linux
[+1629 ms] -- The CXX compiler identification is Clang 6.0.0
[  +12 ms] -- Check for working CXX compiler: /snap/flutter/current/usr/bin/clang++
[ +164 ms] -- Check for working CXX compiler: /snap/flutter/current/usr/bin/clang++ -- works
[   +1 ms] -- Detecting CXX compiler ABI info
[ +101 ms] -- Detecting CXX compiler ABI info - done
[   +4 ms] -- Detecting CXX compile features
[ +428 ms] -- Detecting CXX compile features - done
[  +52 ms] -- Found PkgConfig: /snap/flutter/current/usr/bin/pkg-config (found version "0.29.1") 
[   +1 ms] -- Checking for module 'gtk+-3.0'
[  +36 ms] --   Found gtk+-3.0, version 3.22.30
[  +62 ms] -- Checking for module 'glib-2.0'
[  +12 ms] --   Found glib-2.0, version 2.56.4
[  +33 ms] -- Checking for module 'gio-2.0'
[  +12 ms] --   Found gio-2.0, version 2.56.4
[  +61 ms] -- Configuring done
[  +92 ms] -- Generating done
[   +1 ms] -- Build files have been written to: /root/parts/plagiarismchecker/build/build/linux/x64/release
[  +39 ms] executing: ninja -C build/linux/x64/release install
[   +8 ms] ninja: Entering directory `build/linux/x64/release'
[+88855 ms] [1/16] Generating /root/parts/plagiarismchecker/build/linux/flutter/ephemeral/libflutter_linux_gtk.so, /root/parts/plagiarismchecker/build/linux/flutter/ephemeral/flutter_linux/fl_basic_message_channel.h,
/root/parts/plagiarismchecker/build/linux/flutter/ephemeral/flutter_linux/fl_binary_codec.h, /root/parts/plagiarismchecker/build/linux/flutter/ephemeral/flutter_linux/fl_binary_messenger.h,
/root/parts/plagiarismchecker/build/linux/flutter/ephemeral/flutter_linux/fl_dart_project.h, /root/parts/plagiarismchecker/build/linux/flutter/ephemeral/flutter_linux/fl_engine.h,
/root/parts/plagiarismchecker/build/linux/flutter/ephemeral/flutter_linux/fl_json_message_codec.h, /root/parts/plagiarismchecker/build/linux/flutter/ephemeral/flutter_linux/fl_json_method_codec.h,
/root/parts/plagiarismchecker/build/linux/flutter/ephemeral/flutter_linux/fl_message_codec.h, /root/parts/plagiarismchecker/build/linux/flutter/ephemeral/flutter_linux/fl_method_call.h,
/root/parts/plagiarismchecker/build/linux/flutter/ephemeral/flutter_linux/fl_method_channel.h, /root/parts/plagiarismchecker/build/linux/flutter/ephemeral/flutter_linux/fl_method_codec.h,
/root/parts/plagiarismchecker/build/linux/flutter/ephemeral/flutter_linux/fl_method_response.h, /root/parts/plagiarismchecker/build/linux/flutter/ephemeral/flutter_linux/fl_plugin_registrar.h,
/root/parts/plagiarismchecker/build/linux/flutter/ephemeral/flutter_linux/fl_plugin_registry.h, /root/parts/plagiarismchecker/build/linux/flutter/ephemeral/flutter_linux/fl_standard_message_codec.h,
/root/parts/plagiarismchecker/build/linux/flutter/ephemeral/flutter_linux/fl_standard_method_codec.h, /root/parts/plagiarismchecker/build/linux/flutter/ephemeral/flutter_linux/fl_string_codec.h,
/root/parts/plagiarismchecker/build/linux/flutter/ephemeral/flutter_linux/fl_value.h, /root/parts/plagiarismchecker/build/linux/flutter/ephemeral/flutter_linux/fl_view.h,
/root/parts/plagiarismchecker/build/linux/flutter/ephemeral/flutter_linux/flutter_linux.h, _phony_
[  +17 ms] FAILED: /root/parts/plagiarismchecker/build/linux/flutter/ephemeral/libflutter_linux_gtk.so /root/parts/plagiarismchecker/build/linux/flutter/ephemeral/flutter_linux/fl_basic_message_channel.h
/root/parts/plagiarismchecker/build/linux/flutter/ephemeral/flutter_linux/fl_binary_codec.h /root/parts/plagiarismchecker/build/linux/flutter/ephemeral/flutter_linux/fl_binary_messenger.h
/root/parts/plagiarismchecker/build/linux/flutter/ephemeral/flutter_linux/fl_dart_project.h /root/parts/plagiarismchecker/build/linux/flutter/ephemeral/flutter_linux/fl_engine.h
/root/parts/plagiarismchecker/build/linux/flutter/ephemeral/flutter_linux/fl_json_message_codec.h /root/parts/plagiarismchecker/build/linux/flutter/ephemeral/flutter_linux/fl_json_method_codec.h
/root/parts/plagiarismchecker/build/linux/flutter/ephemeral/flutter_linux/fl_message_codec.h /root/parts/plagiarismchecker/build/linux/flutter/ephemeral/flutter_linux/fl_method_call.h
/root/parts/plagiarismchecker/build/linux/flutter/ephemeral/flutter_linux/fl_method_channel.h /root/parts/plagiarismchecker/build/linux/flutter/ephemeral/flutter_linux/fl_method_codec.h
/root/parts/plagiarismchecker/build/linux/flutter/ephemeral/flutter_linux/fl_method_response.h /root/parts/plagiarismchecker/build/linux/flutter/ephemeral/flutter_linux/fl_plugin_registrar.h
/root/parts/plagiarismchecker/build/linux/flutter/ephemeral/flutter_linux/fl_plugin_registry.h /root/parts/plagiarismchecker/build/linux/flutter/ephemeral/flutter_linux/fl_standard_message_codec.h
/root/parts/plagiarismchecker/build/linux/flutter/ephemeral/flutter_linux/fl_standard_method_codec.h /root/parts/plagiarismchecker/build/linux/flutter/ephemeral/flutter_linux/fl_string_codec.h
/root/parts/plagiarismchecker/build/linux/flutter/ephemeral/flutter_linux/fl_value.h /root/parts/plagiarismchecker/build/linux/flutter/ephemeral/flutter_linux/fl_view.h
/root/parts/plagiarismchecker/build/linux/flutter/ephemeral/flutter_linux/flutter_linux.h flutter/_phony_
[   +2 ms] cd /root/parts/plagiarismchecker/build/build/linux/x64/release/flutter && /snap/flutter/126/usr/bin/cmake -E env FLUTTER_ROOT=/root/snap/flutter/common/flutter PROJECT_DIR=/root/parts/plagiarismchecker/build
DART_OBFUSCATION=false TRACK_WIDGET_CREATION=true TREE_SHAKE_ICONS=true PACKAGE_CONFIG=/root/parts/plagiarismchecker/build/.dart_tool/package_config.json FLUTTER_TARGET=lib/main.dart
/root/snap/flutter/common/flutter/packages/flutter_tools/bin/tool_backend.sh linux-x64 Release
[        ]    Woah! You appear to be trying to run flutter as root.
[        ]    We strongly recommend running the flutter tool without superuser privileges.
[        ]   /
[   +4 ms] 📎
[        ] [  +78 ms] executing: uname -m
[        ] [  +34 ms] Exit code 0 from: uname -m
[        ] [        ] x86_64
[        ] [   +6 ms] executing: [/root/snap/flutter/common/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] [   +4 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] [        ] ed3238e8ed1461379bf7187ffc8d29829db805d5
[        ] [        ] executing: [/root/snap/flutter/common/flutter/] git tag --points-at ed3238e8ed1461379bf7187ffc8d29829db805d5
[        ] [  +12 ms] Exit code 0 from: git tag --points-at ed3238e8ed1461379bf7187ffc8d29829db805d5
[        ] [   +1 ms] executing: [/root/snap/flutter/common/flutter/] git describe --match *.*.* --long --tags ed3238e8ed1461379bf7187ffc8d29829db805d5
[        ] [  +58 ms] Exit code 0 from: git describe --match *.*.* --long --tags ed3238e8ed1461379bf7187ffc8d29829db805d5
[        ] [        ] 3.0.0-0.0.pre-2272-ged3238e8ed
[        ] [  +62 ms] Unable to locate an Android SDK.
[        ] [   +3 ms] executing: [/root/snap/flutter/common/flutter/] git rev-parse --abbrev-ref HEAD
[        ] [   +7 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] [        ] master
[        ] [  +63 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] [   +2 ms] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] [   +3 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[        ] [ +110 ms] executing: [/root/snap/flutter/common/flutter/] git rev-parse --abbrev-ref --symbolic @{upstream}
[   +1 ms] [   +4 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{upstream}
[        ] [        ] origin/master
[        ] [   +1 ms] executing: [/root/snap/flutter/common/flutter/] git ls-remote --get-url origin
[        ] [   +4 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] [        ] https://github.com/flutter/flutter.git
[        ] [   +1 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[        ] [        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[        ] [        ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] [   +1 ms] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'PubDependencies' is not required, skipping update.
[        ] [  +48 ms] Initializing file store
[        ] [  +30 ms] Skipping target: gen_localizations
[        ] [  +28 ms] gen_dart_plugin_registrant: Starting due to {InvalidatedReasonKind.inputChanged: The following inputs have updated contents: /root/parts/plagiarismchecker/build/.dart_tool/package_config_subset}
[        ] [   +8 ms] unpack_linux: Starting due to {}
[        ] [ +189 ms] unpack_linux: Complete
[   +1 ms] [ +285 ms] Found plugin file_selector_linux at /root/snap/flutter/common/flutter/.pub-cache/git/flutter-desktop-embedding-12decbe0f592e14e03223f6f2c0c7e0e2dbd70a1/plugins/file_selector/file_selector_linux/
[        ] [  +10 ms] Found plugin app_review at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/app_review-2.1.2+1/
[        ] [  +27 ms] Found plugin connectivity_plus at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/connectivity_plus-2.3.6+1/
[        ] [   +3 ms] Found plugin connectivity_plus_linux at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/connectivity_plus_linux-1.3.1/
[        ] [   +1 ms] Found plugin connectivity_plus_macos at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/connectivity_plus_macos-1.2.4/
[        ] [   +3 ms] Found plugin connectivity_plus_web at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/connectivity_plus_web-1.2.3/
[        ] [   +1 ms] Found plugin connectivity_plus_windows at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/connectivity_plus_windows-1.2.2/
[        ] [   +7 ms] Found plugin desktop_drop at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/desktop_drop-0.3.3/
[        ] [   +4 ms] Found plugin file_picker at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/file_picker-5.0.1/
[        ] [   +1 ms] Found plugin file_selector at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/file_selector-0.9.0/
[        ] [   +1 ms] Found plugin file_selector_macos at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/file_selector_macos-0.9.0/
[        ] [   +1 ms] Found plugin file_selector_web at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/file_selector_web-0.9.0/
[        ] [   +1 ms] Found plugin file_selector_windows at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/file_selector_windows-0.9.1/
[        ] [   +1 ms] Found plugin firebase_auth at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_auth-3.6.2/
[        ] [   +2 ms] Found plugin firebase_auth_web at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_auth_web-4.2.2/
[        ] [   +3 ms] Found plugin firebase_core at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core-1.20.0/
[        ] [   +5 ms] Found plugin firebase_core_web at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core_web-1.7.1/
[        ] [   +1 ms] Found plugin flutter_facebook_auth at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_facebook_auth-4.4.1/
[        ] [   +1 ms] Found plugin flutter_facebook_auth_web at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_facebook_auth_web-3.2.0/
[        ] [   +1 ms] Found plugin flutter_keyboard_visibility at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_keyboard_visibility-5.3.0/
[        ] [   +3 ms] Found plugin flutter_keyboard_visibility_web at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_keyboard_visibility_web-2.0.0/
[        ] [   +2 ms] Found plugin flutter_native_splash at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_native_splash-2.2.7/
[        ] [   +1 ms] Found plugin flutter_plugin_android_lifecycle at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_plugin_android_lifecycle-2.0.7/
[        ] [   +6 ms] Found plugin google_mobile_ads at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/google_mobile_ads-2.0.0/
[        ] [   +1 ms] Found plugin google_sign_in at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/google_sign_in-5.4.1/
[        ] [   +1 ms] Found plugin google_sign_in_android at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/google_sign_in_android-6.0.1/
[        ] [   +1 ms] Found plugin google_sign_in_ios at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/google_sign_in_ios-5.4.0/
[        ] [   +7 ms] Found plugin google_sign_in_web at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/google_sign_in_web-0.10.2/
[        ] [   +8 ms] Found plugin in_app_purchase at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/in_app_purchase-3.0.7/
[        ] [   +2 ms] Found plugin in_app_purchase_android at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/in_app_purchase_android-0.2.3+3/
[        ] [   +2 ms] Found plugin in_app_purchase_storekit at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/in_app_purchase_storekit-0.3.1+1/
[        ] [   +7 ms] Found plugin package_info_plus at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/package_info_plus-1.4.3+1/
[        ] [   +1 ms] Found plugin package_info_plus_linux at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/package_info_plus_linux-1.0.5/
[        ] [   +1 ms] Found plugin package_info_plus_macos at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/package_info_plus_macos-1.3.0/
[        ] [   +1 ms] Found plugin package_info_plus_web at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/package_info_plus_web-1.0.5/
[        ] [        ] Found plugin package_info_plus_windows at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/package_info_plus_windows-2.0.0/
[        ] [   +2 ms] Found plugin path_provider at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider-2.0.11/
[        ] [        ] Found plugin path_provider_android at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_android-2.0.18/
[        ] [        ] Found plugin path_provider_ios at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_ios-2.0.11/
[        ] [        ] Found plugin path_provider_linux at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_linux-2.1.7/
[        ] [        ] Found plugin path_provider_macos at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_macos-2.0.6/
[        ] [   +1 ms] Found plugin path_provider_windows at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_windows-2.1.2/
[        ] [   +1 ms] Found plugin permission_handler at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-10.0.0/
[        ] [        ] Found plugin permission_handler_android at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler_android-10.0.0/
[        ] [        ] Found plugin permission_handler_apple at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler_apple-9.0.4/
[        ] [   +1 ms] Found plugin permission_handler_windows at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler_windows-0.1.0/
[        ] [   +6 ms] Found plugin screen_retriever at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/screen_retriever-0.1.2/
[        ] [   +3 ms] Found plugin sign_in_with_apple at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/sign_in_with_apple-4.1.0/
[        ] [   +1 ms] Found plugin sign_in_with_apple_web at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/sign_in_with_apple_web-1.0.1/
[        ] [   +8 ms] Found plugin url_launcher at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher-6.1.5/
[  +14 ms] [        ] Found plugin url_launcher_android at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_android-6.0.17/
[   +4 ms] [        ] Found plugin url_launcher_ios at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_ios-6.0.17/
[        ] [   +1 ms] Found plugin url_launcher_linux at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_linux-3.0.1/
[   +1 ms] [        ] Found plugin url_launcher_macos at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_macos-3.0.1/
[        ] [   +1 ms] Found plugin url_launcher_web at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_web-2.0.13/
[        ] [   +1 ms] Found plugin url_launcher_windows at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_windows-3.0.1/
[        ] [   +2 ms] Found plugin user_messaging_platform at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/user_messaging_platform-1.2.1/
[        ] [   +4 ms] Found plugin window_manager at /root/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/window_manager-0.2.5/
[        ] [  +59 ms] gen_dart_plugin_registrant: Complete
[        ] [   +3 ms] kernel_snapshot: Starting due to {}
[   +2 ms] [  +14 ms] /root/snap/flutter/common/flutter/bin/cache/dart-sdk/bin/dart --disable-dart-dev /root/snap/flutter/common/flutter/bin/cache/dart-sdk/bin/snapshots/frontend_server.dart.snapshot --sdk-root
/root/snap/flutter/common/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk_product/ --target=flutter --no-print-incremental-dependencies -Ddart.vm.profile=false -Ddart.vm.product=true --compact-async --aot
--tfa --packages /root/parts/plagiarismchecker/build/.dart_tool/package_config.json --output-dill /root/parts/plagiarismchecker/build/.dart_tool/flutter_build/47e6d0318940f413694f335c43f65b92/app.dill --depfile
/root/parts/plagiarismchecker/build/.dart_tool/flutter_build/47e6d0318940f413694f335c43f65b92/kernel_snapshot.d --source file:///root/parts/plagiarismchecker/build/.dart_tool/flutter_build/dart_plugin_registrant.dart
--source package:flutter/src/dart_plugin_registrant.dart -Dflutter.dart_plugin_registrant=file:///root/parts/plagiarismchecker/build/.dart_tool/flutter_build/dart_plugin_registrant.dart --verbosity=error
package:plagiarismchecker/main.dart
[   +4 ms] [+85888 ms] Persisting file store
[        ] [  +16 ms] Done persisting file store
[        ] [   +4 ms] Target kernel_snapshot failed: Exception
[        ]            #0      KernelSnapshot.build (package:flutter_tools/src/build_system/targets/common.dart:245:7)
[        ]            <asynchronous suspension>
[        ]            #1      _BuildInstance._invokeInternal (package:flutter_tools/src/build_system/build_system.dart:847:9)
[        ]            <asynchronous suspension>
[        ]            #2      Future.wait.<anonymous closure> (dart:async/future.dart:522:21)
[        ]            <asynchronous suspension>
[        ]            #3      _BuildInstance.invokeTarget (package:flutter_tools/src/build_system/build_system.dart:785:32)
[        ]            <asynchronous suspension>
[        ]            #4      Future.wait.<anonymous closure> (dart:async/future.dart:522:21)
[   +2 ms]            <asynchronous suspension>
[        ]            #5      _BuildInstance.invokeTarget (package:flutter_tools/src/build_system/build_system.dart:785:32)
[        ]            <asynchronous suspension>
[        ]            #6      Future.wait.<anonymous closure> (dart:async/future.dart:522:21)
[        ]            <asynchronous suspension>
[        ]            #7      _BuildInstance.invokeTarget (package:flutter_tools/src/build_system/build_system.dart:785:32)
[        ]            <asynchronous suspension>
[        ]            #8      FlutterBuildSystem.build (package:flutter_tools/src/build_system/build_system.dart:614:16)
[        ]            <asynchronous suspension>
[        ]            #9      AssembleCommand.runCommand (package:flutter_tools/src/commands/assemble.dart:317:32)
[        ]            <asynchronous suspension>
[        ]            #10     FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1209:27)
[        ]            <asynchronous suspension>
[        ]            #11     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
[        ]            <asynchronous suspension>
[        ]            #12     CommandRunner.runCommand (package:args/command_runner.dart:209:13)
[        ]            <asynchronous suspension>
[        ]            #13     FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:281:9)
[        ]            <asynchronous suspension>
[        ]            #14     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
[        ]            <asynchronous suspension>
[        ]            #15     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:229:5)
[        ]            <asynchronous suspension>
[        ]            #16     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:62:9)
[        ]            <asynchronous suspension>
[        ]            #17     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
[        ]            <asynchronous suspension>
[        ]            #18     main (package:flutter_tools/executable.dart:91:3)
[        ]            <asynchronous suspension>
[        ] [  +24 ms] "flutter assemble" took 86,926ms.
[        ] [   +7 ms] 
[        ]            #0      throwToolExit (package:flutter_tools/src/base/common.dart:10:3)
[        ]            #1      AssembleCommand.runCommand (package:flutter_tools/src/commands/assemble.dart:334:7)
[        ]            <asynchronous suspension>
[        ]            #2      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1209:27)
[        ]            <asynchronous suspension>
[        ]            #3      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
[        ]            <asynchronous suspension>
[        ]            #4      CommandRunner.runCommand (package:args/command_runner.dart:209:13)
[        ]            <asynchronous suspension>
[        ]            #5      FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:281:9)
[        ]            <asynchronous suspension>
[        ]            #6      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
[        ]            <asynchronous suspension>
[        ]            #7      FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:229:5)
[        ]            <asynchronous suspension>
[        ]            #8      run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:62:9)
[        ]            <asynchronous suspension>
[        ]            #9      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
[        ]            <asynchronous suspension>
[        ]            #10     main (package:flutter_tools/executable.dart:91:3)
[        ]            <asynchronous suspension>
[        ] [ +253 ms] ensureAnalyticsSent: 252ms
[        ] [   +1 ms] Running shutdown hooks
[        ] [        ] Shutdown hooks complete
[        ] [        ] exiting with code 1
[        ] ninja: build stopped: subcommand failed.
[  +35 ms] Building Linux application... (completed in 91.7s)
[   +1 ms] "flutter linux" took 92,742ms.
[   +4 ms] Build process failed
[   +1 ms] 
           #0      throwToolExit (package:flutter_tools/src/base/common.dart:10:3)
           #1      _runBuild (package:flutter_tools/src/linux/build_linux.dart:185:5)
           <asynchronous suspension>
           #2      buildLinux (package:flutter_tools/src/linux/build_linux.dart:78:5)
           <asynchronous suspension>
           #3      BuildLinuxCommand.runCommand (package:flutter_tools/src/commands/build_linux.dart:85:5)
           <asynchronous suspension>
           #4      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1209:27)
           <asynchronous suspension>
           #5      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #6      CommandRunner.runCommand (package:args/command_runner.dart:209:13)
           <asynchronous suspension>
           #7      FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:281:9)
           <asynchronous suspension>
           #8      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #9      FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:229:5)
           <asynchronous suspension>
           #10     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:62:9)
           <asynchronous suspension>
           #11     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #12     main (package:flutter_tools/executable.dart:91:3)
           <asynchronous suspension>
           
           
[ +269 ms] ensureAnalyticsSent: 264ms
[   +1 ms] Running shutdown hooks
[        ] Shutdown hooks complete
[        ] exiting with code 1
Failed to run 'flutter build linux --release -v -t lib/main.dart' for 'plagiarismchecker': Exited with code 1.
Verify that the part is using the correct parameters and try again.
    name: plagiarismchecker
     version: '1.0'
     summary: Check for plagiarism in your documents easily with this plagiarism checker.
     description: With this plagiarism checker, you can check for plagiarism in your blog posts, articles, 
    and books in a matter of seconds.

    confinement: strict
    base: core18

  parts:
    plagiarismchecker:
    plugin: flutter
  source: .
    flutter-target: lib/main.dart

  apps:
    plagiarismchecker:
command: plagiarismchecker
extensions: [flutter-master]
plugs:
  - network
  - home
  - desktop


   
 [Desktop Entry]
 Name=Plagiarism Checker
 Comment=Plagiarism Checker
 Exec=plagiarismchecker
 Icon=${SNAP}/meta/gui/plagiarismchecker.png
 Terminal=false
 Type=Application
 Categories=Productivity;

I’ve got the same error here! Suddenly, I can not generate my snap file anymore.

/root/snap/flutter/common/flutter/bin/cache/dart-sdk/bin/snapshots/frontend_server.dart.snapshot --sdk-root
/root/snap/flutter/common/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk_product/ --target=flutter --no-print-incremental-dependencies
-Ddart.vm.profile=false -Ddart.vm.product=true --compact-async --aot --tfa --packages
/root/parts/gitlab-high-views/build/.dart_tool/package_config.json --output-dill
/root/parts/gitlab-high-views/build/.dart_tool/flutter_build/0d3cfc8f3116dc618376dd29e37e0139/app.dill --depfile
/root/parts/gitlab-high-views/build/.dart_tool/flutter_build/0d3cfc8f3116dc618376dd29e37e0139/kernel_snapshot.d --source
/root/parts/gitlab-high-views/build/.dart_tool/flutter_build/dart_plugin_registrant.dart --source package:flutter/src/dart_plugin_registrant.dart
-Dflutter.dart_plugin_registrant=file:///root/parts/gitlab-high-views/build/.dart_tool/flutter_build/dart_plugin_registrant.dart --verbosity=error
package:gitlab_highviews/main.dart
[   +1 ms] [+87075 ms] Persisting file store
[        ] [  +10 ms] Done persisting file store
[        ] [   +6 ms] Target kernel_snapshot failed: Exception
[        ]            #0      KernelSnapshot.build (package:flutter_tools/src/build_system/targets/common.dart:244:7)
[        ]            <asynchronous suspension>
[        ]            #1      _BuildInstance._invokeInternal (package:flutter_tools/src/build_system/build_system.dart:839:9)
[        ]            <asynchronous suspension>
[        ]            #2      Future.wait.<anonymous closure> (dart:async/future.dart:522:21)
[        ]            <asynchronous suspension>
[        ]            #3      _BuildInstance.invokeTarget (package:flutter_tools/src/build_system/build_system.dart:777:32)
[        ]            <asynchronous suspension>
[        ]            #4      Future.wait.<anonymous closure> (dart:async/future.dart:522:21)
[        ]            <asynchronous suspension>
[        ]            #5      _BuildInstance.invokeTarget (package:flutter_tools/src/build_system/build_system.dart:777:32)
[        ]            <asynchronous suspension>
[        ]            #6      Future.wait.<anonymous closure> (dart:async/future.dart:522:21)
[        ]            <asynchronous suspension>
[        ]            #7      _BuildInstance.invokeTarget (package:flutter_tools/src/build_system/build_system.dart:777:32)
[        ]            <asynchronous suspension>
[        ]            #8      FlutterBuildSystem.build (package:flutter_tools/src/build_system/build_system.dart:606:16)
[        ]            <asynchronous suspension>
[        ]            #9      AssembleCommand.runCommand (package:flutter_tools/src/commands/assemble.dart:316:32)
[        ]            <asynchronous suspension>
[        ]            #10     FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1209:27)
[        ]            <asynchronous suspension>
[        ]            #11     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
[        ]            <asynchronous suspension>
[        ]            #12     CommandRunner.runCommand (package:args/command_runner.dart:209:13)
[        ]            <asynchronous suspension>
[        ]            #13     FlutterCommandRunner.runCommand.<anonymous closure>
(package:flutter_tools/src/runner/flutter_command_runner.dart:281:9)
[        ]            <asynchronous suspension>
[        ]            #14     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
[        ]            <asynchronous suspension>
[        ]            #15     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:229:5)
[        ]            <asynchronous suspension>
[        ]            #16     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:62:9)
[        ]            <asynchronous suspension>
[        ]            #17     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
[        ]            <asynchronous suspension>
[        ]            #18     main (package:flutter_tools/executable.dart:91:3)
[        ]            <asynchronous suspension>
[        ] [  +47 ms] "flutter assemble" took 89,366ms.
[        ] [  +31 ms] 
[        ]            #0      throwToolExit (package:flutter_tools/src/base/common.dart:10:3)
[        ]            #1      AssembleCommand.runCommand (package:flutter_tools/src/commands/assemble.dart:333:7)
[        ]            <asynchronous suspension>
[        ]            #2      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1209:27)
[        ]            <asynchronous suspension>
[        ]            #3      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
[        ]            <asynchronous suspension>
[        ]            #4      CommandRunner.runCommand (package:args/command_runner.dart:209:13)
[        ]            <asynchronous suspension>
[        ]            #5      FlutterCommandRunner.runCommand.<anonymous closure>
(package:flutter_tools/src/runner/flutter_command_runner.dart:281:9)
[        ]            <asynchronous suspension>
[        ]            #6      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
[        ]            <asynchronous suspension>
[        ]            #7      FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:229:5)
[        ]            <asynchronous suspension>
[        ]            #8      run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:62:9)
[        ]            <asynchronous suspension>
[        ]            #9      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
[        ]            <asynchronous suspension>
[        ]            #10     main (package:flutter_tools/executable.dart:91:3)
[        ]            <asynchronous suspension>
[        ] [ +254 ms] ensureAnalyticsSent: 253ms
[        ] [   +1 ms] Running shutdown hooks
[        ] [        ] Shutdown hooks complete
[        ] [        ] exiting with code 1
[        ] ninja: build stopped: subcommand failed.
[  +92 ms] Building Linux application... (completed in 98.8s)
[   +3 ms] "flutter linux" took 101,864ms.
[  +41 ms] Build process failed
[   +5 ms] 
           #0      throwToolExit (package:flutter_tools/src/base/common.dart:10:3)
           #1      _runBuild (package:flutter_tools/src/linux/build_linux.dart:185:5)
           <asynchronous suspension>
           #2      buildLinux (package:flutter_tools/src/linux/build_linux.dart:78:5)
           <asynchronous suspension>
           #3      BuildLinuxCommand.runCommand (package:flutter_tools/src/commands/build_linux.dart:85:5)
           <asynchronous suspension>
           #4      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1209:27)
           <asynchronous suspension>
           #5      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #6      CommandRunner.runCommand (package:args/command_runner.dart:209:13)
           <asynchronous suspension>
           #7      FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:281:9)
           <asynchronous suspension>
           #8      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #9      FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:229:5)
           <asynchronous suspension>
           #10     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:62:9)
           <asynchronous suspension>
           #11     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #12     main (package:flutter_tools/executable.dart:91:3)
           <asynchronous suspension>
           
           
[ +231 ms] ensureAnalyticsSent: 228ms
[   +1 ms] Running shutdown hooks
[        ] Shutdown hooks complete
[        ] exiting with code 1
Failed to run 'flutter build linux --release -v -t lib/main.dart' for 'gitlab-high-views': Exited with code 1.
Verify that the part is using the correct parameters and try again.

When I run flutter build linux --release -v -t lib/main.dart as stated by the error, them command works fine…

yes facing same error i don’t know why when run in debug mode or just run the flutter build linux it works without any error but error occur when building snap

I can’t reproduce this with a test app, which can be found at https://github.com/kenvandine/super-cool-app/

Can you try to build that to see if it works for you?

name: plagiarismchecker
version: '1.0.0'
summary: Check for plagiarism in your documents easily with this plagiarism checker.
description: With this plagiarism checker, you can check for plagiarism in your blog posts, articles, and 
books in a matter of seconds.

confinement: strict
base: core18

parts:
  plagiarismchecker:
  plugin: flutter
  source: .
  flutter-target: lib/main.dart

apps:
  plagiarismchecker:
  command: plagiarismchecker
  extensions: [flutter-master]
  plugs:
  - network
  - home
  - desktop

That is my snapcraft.yaml is that right or this is causing issues

I have tried several times and I am not sure about the influences on this problem.

  1. Created an icon.png (on snap/gui)
  2. Changed the extensions section from flutter-stable to flutter-master
  3. Added the section architectures with the values
    • build-on: [ amd64 ]
    • build-on: [ arm64 ]

And it worked! I am trying to determine exactly the influences, but I believe its something else; as I tried some of these revert changes on super-cool-app and I worked too!

So, I am not sure if there are some underlying reasons for these problem. I’ll keep you all informed whenever I get a conclusion… I am afraid this problem will appear again.

yes i tried many different ways but in my other apps i will only be able to successful in four times but in many times snapcraft failed to build i don’t know what are the issues if i am successful in one snapcraft built and second time when update some things in apps same configurations never worked snapcraft always shows error now i cannot be able to send updates of my apps :sneezing_face: