Repository: flutter
Issue: Improve message for insufficient memory exception
Labels: c: new feature,tool,c: proposal,perf: memory,P3,team-tool,triaged-tool

**flutter build** and **flutter pub run build_runner** commands can throw different exceptions (with not user-friendly messages) if there is insufficient memory resources. Example:

<details>
<summary><h4>$flutter build web --verbose</h4></summary>

```
[  +41 ms] executing: uname -m
[  +21 ms] Exit code 0 from: uname -m
[        ] aarch64
[   +3 ms] executing: [/home/user/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[  +14 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] b8f7f1f9869bb2d116aa6a70dbeac61000b52849
[        ] executing: [/home/user/flutter/] git tag --points-at b8f7f1f9869bb2d116aa6a70dbeac61000b52849
[  +77 ms] Exit code 0 from: git tag --points-at b8f7f1f9869bb2d116aa6a70dbeac61000b52849
[        ] 3.3.9
[  +34 ms] executing: [/home/user/flutter/] git rev-parse --abbrev-ref --symbolic @{upstream}
[   +5 ms] Exit code 128 from: git rev-parse --abbrev-ref --symbolic @{upstream}
[        ] fatal: HEAD does not point to a branch
[  +14 ms] Unable to locate an Android SDK.
[   +3 ms] executing: [/home/user/flutter/] git rev-parse --abbrev-ref HEAD
[   +9 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] HEAD
[  +38 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.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +2 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.
[  +45 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.
[   +3 ms] Downloading Web SDK...
[ +545 ms] Content
https://storage.googleapis.com/flutter_infra_release/flutter/8f2221fbef28b478debb78dd233f5250b220ca99/flutter-web-sdk-linux-x
64.zip md5 hash: ha64wnPPgjCGgbCwUJ/rlg==
[+3629 ms] Downloading Web SDK... (completed in 4.2s)
[   +2 ms] executing: unzip -o -q
/home/user/flutter/bin/cache/downloads/storage.googleapis.com/flutter_infra_release/flutter/8f2221fbef28b478debb78dd233f5250b
220ca99/flutter-web-sdk-linux-x64.zip -d /home/user/flutter/bin/cache/flutter_web_sdk
[+1496 ms] Exit code 0 from: unzip -o -q
/home/user/flutter/bin/cache/downloads/storage.googleapis.com/flutter_infra_release/flutter/8f2221fbef28b478debb78dd233f5250b
220ca99/flutter-web-sdk-linux-x64.zip -d /home/user/flutter/bin/cache/flutter_web_sdk
[ +301 ms] Downloading CanvasKit...
[ +762 ms] Content
https://chrome-infra-packages.appspot.com/dl/flutter/web/canvaskit_bundle/+/yrsfF-vTvu4jzBBm1o6tDl70dky-l4G29Dnj75UvRDgC md5
hash: PsaQDISvA7Br0BA0kpe0Ow==
[ +575 ms] Downloading CanvasKit... (completed in 1,336ms)
[        ] executing: unzip -o -q
/home/user/flutter/bin/cache/downloads/chrome-infra-packages.appspot.com/dl/flutter/web/canvaskit_bundle/+/yrsfF-vTvu4jzBBm1o
6tDl70dky-l4G29Dnj75UvRDgC -d /home/user/flutter/bin/cache/flutter_web_sdk
[ +180 ms] Exit code 0 from: unzip -o -q
/home/user/flutter/bin/cache/downloads/chrome-infra-packages.appspot.com/dl/flutter/web/canvaskit_bundle/+/yrsfF-vTvu4jzBBm1o
6tDl70dky-l4G29Dnj75UvRDgC -d /home/user/flutter/bin/cache/flutter_web_sdk
[   +8 ms] 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.
[        ] 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.
[        ] 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.
[  +43 ms] Skipping pub get: version match.
[  +27 ms] Found plugin advance_pdf_viewer_fork at
/home/user/.pub-cache/hosted/pub.dartlang.org/advance_pdf_viewer_fork-2.0.0/
[  +23 ms] Found plugin camera at /home/user/.pub-cache/hosted/pub.dartlang.org/camera-0.9.8+1/
[   +1 ms] Found plugin camera_android at /home/user/.pub-cache/hosted/pub.dartlang.org/camera_android-0.9.8+3/
[   +1 ms] Found plugin camera_avfoundation at /home/user/.pub-cache/hosted/pub.dartlang.org/camera_avfoundation-0.9.9/
[   +3 ms] Found plugin camera_web at /home/user/.pub-cache/hosted/pub.dartlang.org/camera_web-0.2.1+6/
[  +12 ms] Found plugin device_info at /home/user/.pub-cache/hosted/pub.dartlang.org/device_info-2.0.3/
[   +2 ms] Found plugin device_info_plus at /home/user/.pub-cache/hosted/pub.dartlang.org/device_info_plus-3.2.4/
[   +1 ms] Found plugin device_info_plus_linux at /home/user/.pub-cache/hosted/pub.dartlang.org/device_info_plus_linux-2.1.1/
[   +1 ms] Found plugin device_info_plus_macos at /home/user/.pub-cache/hosted/pub.dartlang.org/device_info_plus_macos-2.2.3/
[   +3 ms] Found plugin device_info_plus_web at /home/user/.pub-cache/hosted/pub.dartlang.org/device_info_plus_web-2.1.0/
[   +1 ms] Found plugin device_info_plus_windows at
/home/user/.pub-cache/hosted/pub.dartlang.org/device_info_plus_windows-2.1.1/
[  +15 ms] Found plugin flutter_app_badger at /home/user/.pub-cache/hosted/pub.dartlang.org/flutter_app_badger-1.5.0/
[   +3 ms] Found plugin flutter_inappwebview at /home/user/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.7.2+2/
[   +1 ms] Found plugin flutter_keyboard_visibility at
/home/user/.pub-cache/hosted/pub.dartlang.org/flutter_keyboard_visibility-5.4.0/
[   +1 ms] Found plugin flutter_keyboard_visibility_linux at
/home/user/.pub-cache/hosted/pub.dartlang.org/flutter_keyboard_visibility_linux-1.0.0/
[   +1 ms] Found plugin flutter_keyboard_visibility_macos at
/home/user/.pub-cache/hosted/pub.dartlang.org/flutter_keyboard_visibility_macos-1.0.0/
[   +2 ms] Found plugin flutter_keyboard_visibility_web at
/home/user/.pub-cache/hosted/pub.dartlang.org/flutter_keyboard_visibility_web-2.0.0/
[   +2 ms] Found plugin flutter_keyboard_visibility_windows at
/home/user/.pub-cache/hosted/pub.dartlang.org/flutter_keyboard_visibility_windows-1.0.0/
[   +2 ms] Found plugin flutter_plugin_android_lifecycle at
/home/user/.pub-cache/hosted/pub.dartlang.org/flutter_plugin_android_lifecycle-2.0.7/
[   +2 ms] Found plugin flutter_secure_storage at /home/user/.pub-cache/hosted/pub.dartlang.org/flutter_secure_storage-6.1.0/
[   +1 ms] Found plugin flutter_secure_storage_linux at
/home/user/.pub-cache/hosted/pub.dartlang.org/flutter_secure_storage_linux-1.1.2/
[   +1 ms] Found plugin flutter_secure_storage_macos at
/home/user/.pub-cache/hosted/pub.dartlang.org/flutter_secure_storage_macos-1.1.2/
[   +2 ms] Found plugin flutter_secure_storage_web at
/home/user/.pub-cache/hosted/pub.dartlang.org/flutter_secure_storage_web-1.1.1/
[   +1 ms] Found plugin flutter_secure_storage_windows at
/home/user/.pub-cache/hosted/pub.dartlang.org/flutter_secure_storage_windows-1.1.3/
[  +11 ms] Found plugin image_picker at /home/user/.pub-cache/hosted/pub.dartlang.org/image_picker-0.8.6/
[        ] Found plugin image_picker_android at /home/user/.pub-cache/hosted/pub.dartlang.org/image_picker_android-0.8.5+3/
[   +1 ms] Found plugin image_picker_for_web at /home/user/.pub-cache/hosted/pub.dartlang.org/image_picker_for_web-2.1.10/
[        ] Found plugin image_picker_ios at /home/user/.pub-cache/hosted/pub.dartlang.org/image_picker_ios-0.8.6+1/
[   +1 ms] Found plugin in_app_review at /home/user/.pub-cache/hosted/pub.dartlang.org/in_app_review-2.0.6/
[   +7 ms] Found plugin local_auth at /home/user/.pub-cache/hosted/pub.dartlang.org/local_auth-1.1.11/
[   +8 ms] Found plugin package_info_plus at /home/user/.pub-cache/hosted/pub.dartlang.org/package_info_plus-1.4.2/
[        ] Found plugin package_info_plus_linux at
/home/user/.pub-cache/hosted/pub.dartlang.org/package_info_plus_linux-1.0.5/
[        ] Found plugin package_info_plus_macos at
/home/user/.pub-cache/hosted/pub.dartlang.org/package_info_plus_macos-1.3.0/
[   +1 ms] Found plugin package_info_plus_web at /home/user/.pub-cache/hosted/pub.dartlang.org/package_info_plus_web-1.0.6/
[        ] Found plugin package_info_plus_windows at
/home/user/.pub-cache/hosted/pub.dartlang.org/package_info_plus_windows-1.0.5/
[   +2 ms] Found plugin path_provider at /home/user/.pub-cache/hosted/pub.dartlang.org/path_provider-2.0.11/
[        ] Found plugin path_provider_android at /home/user/.pub-cache/hosted/pub.dartlang.org/path_provider_android-2.0.22/
[        ] Found plugin path_provider_ios at /home/user/.pub-cache/hosted/pub.dartlang.org/path_provider_ios-2.0.11/
[        ] Found plugin path_provider_linux at /home/user/.pub-cache/hosted/pub.dartlang.org/path_provider_linux-2.1.7/
[        ] Found plugin path_provider_macos at /home/user/.pub-cache/hosted/pub.dartlang.org/path_provider_macos-2.0.6/
[   +1 ms] Found plugin path_provider_windows at /home/user/.pub-cache/hosted/pub.dartlang.org/path_provider_windows-2.0.7/
[   +1 ms] Found plugin permission_handler at /home/user/.pub-cache/hosted/pub.dartlang.org/permission_handler-8.3.0/
[   +2 ms] Found plugin platform_device_id at /home/user/.pub-cache/hosted/pub.dartlang.org/platform_device_id-1.0.1/
[        ] Found plugin platform_device_id_linux at
/home/user/.pub-cache/hosted/pub.dartlang.org/platform_device_id_linux-1.0.0/
[        ] Found plugin platform_device_id_macos at
/home/user/.pub-cache/hosted/pub.dartlang.org/platform_device_id_macos-1.0.0/
[   +2 ms] Found plugin platform_device_id_web at /home/user/.pub-cache/hosted/pub.dartlang.org/platform_device_id_web-1.0.0/
[   +1 ms] Found plugin platform_device_id_windows at
/home/user/.pub-cache/hosted/pub.dartlang.org/platform_device_id_windows-1.0.0/
[   +6 ms] Found plugin sentry_flutter at /home/user/.pub-cache/hosted/pub.dartlang.org/sentry_flutter-6.18.1/
[   +1 ms] Found plugin shared_preferences at /home/user/.pub-cache/hosted/pub.dartlang.org/shared_preferences-2.0.15/
[        ] Found plugin shared_preferences_android at
/home/user/.pub-cache/hosted/pub.dartlang.org/shared_preferences_android-2.0.14/
[   +1 ms] Found plugin shared_preferences_ios at /home/user/.pub-cache/hosted/pub.dartlang.org/shared_preferences_ios-2.1.1/
[        ] Found plugin shared_preferences_linux at
/home/user/.pub-cache/hosted/pub.dartlang.org/shared_preferences_linux-2.1.1/
[        ] Found plugin shared_preferences_macos at
/home/user/.pub-cache/hosted/pub.dartlang.org/shared_preferences_macos-2.0.4/
[   +1 ms] Found plugin shared_preferences_web at /home/user/.pub-cache/hosted/pub.dartlang.org/shared_preferences_web-2.0.4/
[        ] Found plugin shared_preferences_windows at
/home/user/.pub-cache/hosted/pub.dartlang.org/shared_preferences_windows-2.1.1/
[   +5 ms] Found plugin sqflite at /home/user/.pub-cache/hosted/pub.dartlang.org/sqflite-2.2.2/
[   +7 ms] Found plugin url_launcher at /home/user/.pub-cache/hosted/pub.dartlang.org/url_launcher-6.1.7/
[        ] Found plugin url_launcher_android at /home/user/.pub-cache/hosted/pub.dartlang.org/url_launcher_android-6.0.22/
[        ] Found plugin url_launcher_ios at /home/user/.pub-cache/hosted/pub.dartlang.org/url_launcher_ios-6.0.17/
[        ] Found plugin url_launcher_linux at /home/user/.pub-cache/hosted/pub.dartlang.org/url_launcher_linux-3.0.1/
[        ] Found plugin url_launcher_macos at /home/user/.pub-cache/hosted/pub.dartlang.org/url_launcher_macos-3.0.1/
[   +1 ms] Found plugin url_launcher_web at /home/user/.pub-cache/hosted/pub.dartlang.org/url_launcher_web-2.0.13/
[        ] Found plugin url_launcher_windows at /home/user/.pub-cache/hosted/pub.dartlang.org/url_launcher_windows-3.0.1/
[   +4 ms] Found plugin webview_flutter at /home/user/.pub-cache/hosted/pub.dartlang.org/webview_flutter-3.0.4/
[        ] Found plugin webview_flutter_android at
/home/user/.pub-cache/hosted/pub.dartlang.org/webview_flutter_android-2.10.4/
[   +2 ms] Found plugin webview_flutter_wkwebview at
/home/user/.pub-cache/hosted/pub.dartlang.org/webview_flutter_wkwebview-2.9.5/
[ +229 ms] Found plugin advance_pdf_viewer_fork at
/home/user/.pub-cache/hosted/pub.dartlang.org/advance_pdf_viewer_fork-2.0.0/
[   +4 ms] Found plugin camera at /home/user/.pub-cache/hosted/pub.dartlang.org/camera-0.9.8+1/
[        ] Found plugin camera_android at /home/user/.pub-cache/hosted/pub.dartlang.org/camera_android-0.9.8+3/
[        ] Found plugin camera_avfoundation at /home/user/.pub-cache/hosted/pub.dartlang.org/camera_avfoundation-0.9.9/
[        ] Found plugin camera_web at /home/user/.pub-cache/hosted/pub.dartlang.org/camera_web-0.2.1+6/
[   +2 ms] Found plugin device_info at /home/user/.pub-cache/hosted/pub.dartlang.org/device_info-2.0.3/
[        ] Found plugin device_info_plus at /home/user/.pub-cache/hosted/pub.dartlang.org/device_info_plus-3.2.4/
[        ] Found plugin device_info_plus_linux at /home/user/.pub-cache/hosted/pub.dartlang.org/device_info_plus_linux-2.1.1/
[        ] Found plugin device_info_plus_macos at /home/user/.pub-cache/hosted/pub.dartlang.org/device_info_plus_macos-2.2.3/
[        ] Found plugin device_info_plus_web at /home/user/.pub-cache/hosted/pub.dartlang.org/device_info_plus_web-2.1.0/
[        ] Found plugin device_info_plus_windows at
/home/user/.pub-cache/hosted/pub.dartlang.org/device_info_plus_windows-2.1.1/
[   +2 ms] Found plugin flutter_app_badger at /home/user/.pub-cache/hosted/pub.dartlang.org/flutter_app_badger-1.5.0/
[        ] Found plugin flutter_inappwebview at /home/user/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.7.2+2/
[        ] Found plugin flutter_keyboard_visibility at
/home/user/.pub-cache/hosted/pub.dartlang.org/flutter_keyboard_visibility-5.4.0/
[        ] Found plugin flutter_keyboard_visibility_linux at
/home/user/.pub-cache/hosted/pub.dartlang.org/flutter_keyboard_visibility_linux-1.0.0/
[        ] Found plugin flutter_keyboard_visibility_macos at
/home/user/.pub-cache/hosted/pub.dartlang.org/flutter_keyboard_visibility_macos-1.0.0/
[        ] Found plugin flutter_keyboard_visibility_web at
/home/user/.pub-cache/hosted/pub.dartlang.org/flutter_keyboard_visibility_web-2.0.0/
[        ] Found plugin flutter_keyboard_visibility_windows at
/home/user/.pub-cache/hosted/pub.dartlang.org/flutter_keyboard_visibility_windows-1.0.0/
[        ] Found plugin flutter_plugin_android_lifecycle at
/home/user/.pub-cache/hosted/pub.dartlang.org/flutter_plugin_android_lifecycle-2.0.7/
[        ] Found plugin flutter_secure_storage at /home/user/.pub-cache/hosted/pub.dartlang.org/flutter_secure_storage-6.1.0/
[        ] Found plugin flutter_secure_storage_linux at
/home/user/.pub-cache/hosted/pub.dartlang.org/flutter_secure_storage_linux-1.1.2/
[        ] Found plugin flutter_secure_storage_macos at
/home/user/.pub-cache/hosted/pub.dartlang.org/flutter_secure_storage_macos-1.1.2/
[        ] Found plugin flutter_secure_storage_web at
/home/user/.pub-cache/hosted/pub.dartlang.org/flutter_secure_storage_web-1.1.1/
[        ] Found plugin flutter_secure_storage_windows at
/home/user/.pub-cache/hosted/pub.dartlang.org/flutter_secure_storage_windows-1.1.3/
[   +2 ms] Found plugin image_picker at /home/user/.pub-cache/hosted/pub.dartlang.org/image_picker-0.8.6/
[        ] Found plugin image_picker_android at /home/user/.pub-cache/hosted/pub.dartlang.org/image_picker_android-0.8.5+3/
[        ] Found plugin image_picker_for_web at /home/user/.pub-cache/hosted/pub.dartlang.org/image_picker_for_web-2.1.10/
[        ] Found plugin image_picker_ios at /home/user/.pub-cache/hosted/pub.dartlang.org/image_picker_ios-0.8.6+1/
[        ] Found plugin in_app_review at /home/user/.pub-cache/hosted/pub.dartlang.org/in_app_review-2.0.6/
[   +1 ms] Found plugin local_auth at /home/user/.pub-cache/hosted/pub.dartlang.org/local_auth-1.1.11/
[   +3 ms] Found plugin package_info_plus at /home/user/.pub-cache/hosted/pub.dartlang.org/package_info_plus-1.4.2/
[        ] Found plugin package_info_plus_linux at
/home/user/.pub-cache/hosted/pub.dartlang.org/package_info_plus_linux-1.0.5/
[        ] Found plugin package_info_plus_macos at
/home/user/.pub-cache/hosted/pub.dartlang.org/package_info_plus_macos-1.3.0/
[        ] Found plugin package_info_plus_web at /home/user/.pub-cache/hosted/pub.dartlang.org/package_info_plus_web-1.0.6/
[        ] Found plugin package_info_plus_windows at
/home/user/.pub-cache/hosted/pub.dartlang.org/package_info_plus_windows-1.0.5/
[        ] Found plugin path_provider at /home/user/.pub-cache/hosted/pub.dartlang.org/path_provider-2.0.11/
[        ] Found plugin path_provider_android at /home/user/.pub-cache/hosted/pub.dartlang.org/path_provider_android-2.0.22/
[        ] Found plugin path_provider_ios at /home/user/.pub-cache/hosted/pub.dartlang.org/path_provider_ios-2.0.11/
[        ] Found plugin path_provider_linux at /home/user/.pub-cache/hosted/pub.dartlang.org/path_provider_linux-2.1.7/
[        ] Found plugin path_provider_macos at /home/user/.pub-cache/hosted/pub.dartlang.org/path_provider_macos-2.0.6/
[        ] Found plugin path_provider_windows at /home/user/.pub-cache/hosted/pub.dartlang.org/path_provider_windows-2.0.7/
[        ] Found plugin permission_handler at /home/user/.pub-cache/hosted/pub.dartlang.org/permission_handler-8.3.0/
[        ] Found plugin platform_device_id at /home/user/.pub-cache/hosted/pub.dartlang.org/platform_device_id-1.0.1/
[        ] Found plugin platform_device_id_linux at
/home/user/.pub-cache/hosted/pub.dartlang.org/platform_device_id_linux-1.0.0/
[        ] Found plugin platform_device_id_macos at
/home/user/.pub-cache/hosted/pub.dartlang.org/platform_device_id_macos-1.0.0/
[        ] Found plugin platform_device_id_web at /home/user/.pub-cache/hosted/pub.dartlang.org/platform_device_id_web-1.0.0/
[        ] Found plugin platform_device_id_windows at
/home/user/.pub-cache/hosted/pub.dartlang.org/platform_device_id_windows-1.0.0/
[   +1 ms] Found plugin sentry_flutter at /home/user/.pub-cache/hosted/pub.dartlang.org/sentry_flutter-6.18.1/
[        ] Found plugin shared_preferences at /home/user/.pub-cache/hosted/pub.dartlang.org/shared_preferences-2.0.15/
[        ] Found plugin shared_preferences_android at
/home/user/.pub-cache/hosted/pub.dartlang.org/shared_preferences_android-2.0.14/
[        ] Found plugin shared_preferences_ios at /home/user/.pub-cache/hosted/pub.dartlang.org/shared_preferences_ios-2.1.1/
[        ] Found plugin shared_preferences_linux at
/home/user/.pub-cache/hosted/pub.dartlang.org/shared_preferences_linux-2.1.1/
[        ] Found plugin shared_preferences_macos at
/home/user/.pub-cache/hosted/pub.dartlang.org/shared_preferences_macos-2.0.4/
[        ] Found plugin shared_preferences_web at /home/user/.pub-cache/hosted/pub.dartlang.org/shared_preferences_web-2.0.4/
[        ] Found plugin shared_preferences_windows at
/home/user/.pub-cache/hosted/pub.dartlang.org/shared_preferences_windows-2.1.1/
[   +1 ms] Found plugin sqflite at /home/user/.pub-cache/hosted/pub.dartlang.org/sqflite-2.2.2/
[   +2 ms] Found plugin url_launcher at /home/user/.pub-cache/hosted/pub.dartlang.org/url_launcher-6.1.7/
[        ] Found plugin url_launcher_android at /home/user/.pub-cache/hosted/pub.dartlang.org/url_launcher_android-6.0.22/
[        ] Found plugin url_launcher_ios at /home/user/.pub-cache/hosted/pub.dartlang.org/url_launcher_ios-6.0.17/
[        ] Found plugin url_launcher_linux at /home/user/.pub-cache/hosted/pub.dartlang.org/url_launcher_linux-3.0.1/
[        ] Found plugin url_launcher_macos at /home/user/.pub-cache/hosted/pub.dartlang.org/url_launcher_macos-3.0.1/
[        ] Found plugin url_launcher_web at /home/user/.pub-cache/hosted/pub.dartlang.org/url_launcher_web-2.0.13/
[        ] Found plugin url_launcher_windows at /home/user/.pub-cache/hosted/pub.dartlang.org/url_launcher_windows-3.0.1/
[   +1 ms] Found plugin webview_flutter at /home/user/.pub-cache/hosted/pub.dartlang.org/webview_flutter-3.0.4/
[        ] Found plugin webview_flutter_android at
/home/user/.pub-cache/hosted/pub.dartlang.org/webview_flutter_android-2.10.4/
[        ] Found plugin webview_flutter_wkwebview at
/home/user/.pub-cache/hosted/pub.dartlang.org/webview_flutter_wkwebview-2.9.5/
[  +17 ms] Found plugin advance_pdf_viewer_fork at
/home/user/.pub-cache/hosted/pub.dartlang.org/advance_pdf_viewer_fork-2.0.0/
[   +3 ms] Found plugin camera at /home/user/.pub-cache/hosted/pub.dartlang.org/camera-0.9.8+1/
[        ] Found plugin camera_android at /home/user/.pub-cache/hosted/pub.dartlang.org/camera_android-0.9.8+3/
[        ] Found plugin camera_avfoundation at /home/user/.pub-cache/hosted/pub.dartlang.org/camera_avfoundation-0.9.9/
[   +1 ms] Found plugin camera_web at /home/user/.pub-cache/hosted/pub.dartlang.org/camera_web-0.2.1+6/
[   +1 ms] Found plugin device_info at /home/user/.pub-cache/hosted/pub.dartlang.org/device_info-2.0.3/
[        ] Found plugin device_info_plus at /home/user/.pub-cache/hosted/pub.dartlang.org/device_info_plus-3.2.4/
[        ] Found plugin device_info_plus_linux at /home/user/.pub-cache/hosted/pub.dartlang.org/device_info_plus_linux-2.1.1/
[        ] Found plugin device_info_plus_macos at /home/user/.pub-cache/hosted/pub.dartlang.org/device_info_plus_macos-2.2.3/
[        ] Found plugin device_info_plus_web at /home/user/.pub-cache/hosted/pub.dartlang.org/device_info_plus_web-2.1.0/
[        ] Found plugin device_info_plus_windows at
/home/user/.pub-cache/hosted/pub.dartlang.org/device_info_plus_windows-2.1.1/
[   +1 ms] Found plugin flutter_app_badger at /home/user/.pub-cache/hosted/pub.dartlang.org/flutter_app_badger-1.5.0/
[        ] Found plugin flutter_inappwebview at /home/user/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.7.2+2/
[        ] Found plugin flutter_keyboard_visibility at
/home/user/.pub-cache/hosted/pub.dartlang.org/flutter_keyboard_visibility-5.4.0/
[        ] Found plugin flutter_keyboard_visibility_linux at
/home/user/.pub-cache/hosted/pub.dartlang.org/flutter_keyboard_visibility_linux-1.0.0/
[        ] Found plugin flutter_keyboard_visibility_macos at
/home/user/.pub-cache/hosted/pub.dartlang.org/flutter_keyboard_visibility_macos-1.0.0/
[        ] Found plugin flutter_keyboard_visibility_web at
/home/user/.pub-cache/hosted/pub.dartlang.org/flutter_keyboard_visibility_web-2.0.0/
[        ] Found plugin flutter_keyboard_visibility_windows at
/home/user/.pub-cache/hosted/pub.dartlang.org/flutter_keyboard_visibility_windows-1.0.0/
[        ] Found plugin flutter_plugin_android_lifecycle at
/home/user/.pub-cache/hosted/pub.dartlang.org/flutter_plugin_android_lifecycle-2.0.7/
[        ] Found plugin flutter_secure_storage at /home/user/.pub-cache/hosted/pub.dartlang.org/flutter_secure_storage-6.1.0/
[        ] Found plugin flutter_secure_storage_linux at
/home/user/.pub-cache/hosted/pub.dartlang.org/flutter_secure_storage_linux-1.1.2/
[        ] Found plugin flutter_secure_storage_macos at
/home/user/.pub-cache/hosted/pub.dartlang.org/flutter_secure_storage_macos-1.1.2/
[        ] Found plugin flutter_secure_storage_web at
/home/user/.pub-cache/hosted/pub.dartlang.org/flutter_secure_storage_web-1.1.1/
[        ] Found plugin flutter_secure_storage_windows at
/home/user/.pub-cache/hosted/pub.dartlang.org/flutter_secure_storage_windows-1.1.3/
[   +1 ms] Found plugin image_picker at /home/user/.pub-cache/hosted/pub.dartlang.org/image_picker-0.8.6/
[        ] Found plugin image_picker_android at /home/user/.pub-cache/hosted/pub.dartlang.org/image_picker_android-0.8.5+3/
[        ] Found plugin image_picker_for_web at /home/user/.pub-cache/hosted/pub.dartlang.org/image_picker_for_web-2.1.10/
[        ] Found plugin image_picker_ios at /home/user/.pub-cache/hosted/pub.dartlang.org/image_picker_ios-0.8.6+1/
[        ] Found plugin in_app_review at /home/user/.pub-cache/hosted/pub.dartlang.org/in_app_review-2.0.6/
[   +1 ms] Found plugin local_auth at /home/user/.pub-cache/hosted/pub.dartlang.org/local_auth-1.1.11/
[   +1 ms] Found plugin package_info_plus at /home/user/.pub-cache/hosted/pub.dartlang.org/package_info_plus-1.4.2/
[        ] Found plugin package_info_plus_linux at
/home/user/.pub-cache/hosted/pub.dartlang.org/package_info_plus_linux-1.0.5/
[        ] Found plugin package_info_plus_macos at
/home/user/.pub-cache/hosted/pub.dartlang.org/package_info_plus_macos-1.3.0/
[        ] Found plugin package_info_plus_web at /home/user/.pub-cache/hosted/pub.dartlang.org/package_info_plus_web-1.0.6/
[        ] Found plugin package_info_plus_windows at
/home/user/.pub-cache/hosted/pub.dartlang.org/package_info_plus_windows-1.0.5/
[        ] Found plugin path_provider at /home/user/.pub-cache/hosted/pub.dartlang.org/path_provider-2.0.11/
[        ] Found plugin path_provider_android at /home/user/.pub-cache/hosted/pub.dartlang.org/path_provider_android-2.0.22/
[        ] Found plugin path_provider_ios at /home/user/.pub-cache/hosted/pub.dartlang.org/path_provider_ios-2.0.11/
[        ] Found plugin path_provider_linux at /home/user/.pub-cache/hosted/pub.dartlang.org/path_provider_linux-2.1.7/
[        ] Found plugin path_provider_macos at /home/user/.pub-cache/hosted/pub.dartlang.org/path_provider_macos-2.0.6/
[        ] Found plugin path_provider_windows at /home/user/.pub-cache/hosted/pub.dartlang.org/path_provider_windows-2.0.7/
[        ] Found plugin permission_handler at /home/user/.pub-cache/hosted/pub.dartlang.org/permission_handler-8.3.0/
[        ] Found plugin platform_device_id at /home/user/.pub-cache/hosted/pub.dartlang.org/platform_device_id-1.0.1/
[        ] Found plugin platform_device_id_linux at
/home/user/.pub-cache/hosted/pub.dartlang.org/platform_device_id_linux-1.0.0/
[        ] Found plugin platform_device_id_macos at
/home/user/.pub-cache/hosted/pub.dartlang.org/platform_device_id_macos-1.0.0/
[        ] Found plugin platform_device_id_web at /home/user/.pub-cache/hosted/pub.dartlang.org/platform_device_id_web-1.0.0/
[        ] Found plugin platform_device_id_windows at
/home/user/.pub-cache/hosted/pub.dartlang.org/platform_device_id_windows-1.0.0/
[   +1 ms] Found plugin sentry_flutter at /home/user/.pub-cache/hosted/pub.dartlang.org/sentry_flutter-6.18.1/
[        ] Found plugin shared_preferences at /home/user/.pub-cache/hosted/pub.dartlang.org/shared_preferences-2.0.15/
[        ] Found plugin shared_preferences_android at
/home/user/.pub-cache/hosted/pub.dartlang.org/shared_preferences_android-2.0.14/
[   +1 ms] Found plugin shared_preferences_ios at /home/user/.pub-cache/hosted/pub.dartlang.org/shared_preferences_ios-2.1.1/
[        ] Found plugin shared_preferences_linux at
/home/user/.pub-cache/hosted/pub.dartlang.org/shared_preferences_linux-2.1.1/
[        ] Found plugin shared_preferences_macos at
/home/user/.pub-cache/hosted/pub.dartlang.org/shared_preferences_macos-2.0.4/
[        ] Found plugin shared_preferences_web at /home/user/.pub-cache/hosted/pub.dartlang.org/shared_preferences_web-2.0.4/
[        ] Found plugin shared_preferences_windows at
/home/user/.pub-cache/hosted/pub.dartlang.org/shared_preferences_windows-2.1.1/
[   +1 ms] Found plugin sqflite at /home/user/.pub-cache/hosted/pub.dartlang.org/sqflite-2.2.2/
[   +2 ms] Found plugin url_launcher at /home/user/.pub-cache/hosted/pub.dartlang.org/url_launcher-6.1.7/
[        ] Found plugin url_launcher_android at /home/user/.pub-cache/hosted/pub.dartlang.org/url_launcher_android-6.0.22/
[        ] Found plugin url_launcher_ios at /home/user/.pub-cache/hosted/pub.dartlang.org/url_launcher_ios-6.0.17/
[        ] Found plugin url_launcher_linux at /home/user/.pub-cache/hosted/pub.dartlang.org/url_launcher_linux-3.0.1/
[        ] Found plugin url_launcher_macos at /home/user/.pub-cache/hosted/pub.dartlang.org/url_launcher_macos-3.0.1/
[        ] Found plugin url_launcher_web at /home/user/.pub-cache/hosted/pub.dartlang.org/url_launcher_web-2.0.13/
[        ] Found plugin url_launcher_windows at /home/user/.pub-cache/hosted/pub.dartlang.org/url_launcher_windows-3.0.1/
[   +1 ms] Found plugin webview_flutter at /home/user/.pub-cache/hosted/pub.dartlang.org/webview_flutter-3.0.4/
[        ] Found plugin webview_flutter_android at
/home/user/.pub-cache/hosted/pub.dartlang.org/webview_flutter_android-2.10.4/
[        ] Found plugin webview_flutter_wkwebview at
/home/user/.pub-cache/hosted/pub.dartlang.org/webview_flutter_wkwebview-2.9.5/
[  +23 ms] 💪 Building with sound null safety 💪
[   +7 ms] Found plugin advance_pdf_viewer_fork at
/home/user/.pub-cache/hosted/pub.dartlang.org/advance_pdf_viewer_fork-2.0.0/
[   +3 ms] Found plugin camera at /home/user/.pub-cache/hosted/pub.dartlang.org/camera-0.9.8+1/
[        ] Found plugin camera_android at /home/user/.pub-cache/hosted/pub.dartlang.org/camera_android-0.9.8+3/
[        ] Found plugin camera_avfoundation at /home/user/.pub-cache/hosted/pub.dartlang.org/camera_avfoundation-0.9.9/
[        ] Found plugin camera_web at /home/user/.pub-cache/hosted/pub.dartlang.org/camera_web-0.2.1+6/
[   +1 ms] Found plugin device_info at /home/user/.pub-cache/hosted/pub.dartlang.org/device_info-2.0.3/
[        ] Found plugin device_info_plus at /home/user/.pub-cache/hosted/pub.dartlang.org/device_info_plus-3.2.4/
[        ] Found plugin device_info_plus_linux at /home/user/.pub-cache/hosted/pub.dartlang.org/device_info_plus_linux-2.1.1/
[        ] Found plugin device_info_plus_macos at /home/user/.pub-cache/hosted/pub.dartlang.org/device_info_plus_macos-2.2.3/
[        ] Found plugin device_info_plus_web at /home/user/.pub-cache/hosted/pub.dartlang.org/device_info_plus_web-2.1.0/
[        ] Found plugin device_info_plus_windows at
/home/user/.pub-cache/hosted/pub.dartlang.org/device_info_plus_windows-2.1.1/
[   +1 ms] Found plugin flutter_app_badger at /home/user/.pub-cache/hosted/pub.dartlang.org/flutter_app_badger-1.5.0/
[        ] Found plugin flutter_inappwebview at /home/user/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.7.2+2/
[        ] Found plugin flutter_keyboard_visibility at
/home/user/.pub-cache/hosted/pub.dartlang.org/flutter_keyboard_visibility-5.4.0/
[        ] Found plugin flutter_keyboard_visibility_linux at
/home/user/.pub-cache/hosted/pub.dartlang.org/flutter_keyboard_visibility_linux-1.0.0/
[        ] Found plugin flutter_keyboard_visibility_macos at
/home/user/.pub-cache/hosted/pub.dartlang.org/flutter_keyboard_visibility_macos-1.0.0/
[        ] Found plugin flutter_keyboard_visibility_web at
/home/user/.pub-cache/hosted/pub.dartlang.org/flutter_keyboard_visibility_web-2.0.0/
[        ] Found plugin flutter_keyboard_visibility_windows at
/home/user/.pub-cache/hosted/pub.dartlang.org/flutter_keyboard_visibility_windows-1.0.0/
[        ] Found plugin flutter_plugin_android_lifecycle at
/home/user/.pub-cache/hosted/pub.dartlang.org/flutter_plugin_android_lifecycle-2.0.7/
[        ] Found plugin flutter_secure_storage at /home/user/.pub-cache/hosted/pub.dartlang.org/flutter_secure_storage-6.1.0/
[        ] Found plugin flutter_secure_storage_linux at
/home/user/.pub-cache/hosted/pub.dartlang.org/flutter_secure_storage_linux-1.1.2/
[        ] Found plugin flutter_secure_storage_macos at
/home/user/.pub-cache/hosted/pub.dartlang.org/flutter_secure_storage_macos-1.1.2/
[        ] Found plugin flutter_secure_storage_web at
/home/user/.pub-cache/hosted/pub.dartlang.org/flutter_secure_storage_web-1.1.1/
[        ] Found plugin flutter_secure_storage_windows at
/home/user/.pub-cache/hosted/pub.dartlang.org/flutter_secure_storage_windows-1.1.3/
[   +1 ms] Found plugin image_picker at /home/user/.pub-cache/hosted/pub.dartlang.org/image_picker-0.8.6/
[        ] Found plugin image_picker_android at /home/user/.pub-cache/hosted/pub.dartlang.org/image_picker_android-0.8.5+3/
[        ] Found plugin image_picker_for_web at /home/user/.pub-cache/hosted/pub.dartlang.org/image_picker_for_web-2.1.10/
[        ] Found plugin image_picker_ios at /home/user/.pub-cache/hosted/pub.dartlang.org/image_picker_ios-0.8.6+1/
[        ] Found plugin in_app_review at /home/user/.pub-cache/hosted/pub.dartlang.org/in_app_review-2.0.6/
[   +1 ms] Found plugin local_auth at /home/user/.pub-cache/hosted/pub.dartlang.org/local_auth-1.1.11/
[   +1 ms] Found plugin package_info_plus at /home/user/.pub-cache/hosted/pub.dartlang.org/package_info_plus-1.4.2/
[        ] Found plugin package_info_plus_linux at
/home/user/.pub-cache/hosted/pub.dartlang.org/package_info_plus_linux-1.0.5/
[        ] Found plugin package_info_plus_macos at
/home/user/.pub-cache/hosted/pub.dartlang.org/package_info_plus_macos-1.3.0/
[        ] Found plugin package_info_plus_web at /home/user/.pub-cache/hosted/pub.dartlang.org/package_info_plus_web-1.0.6/
[        ] Found plugin package_info_plus_windows at
/home/user/.pub-cache/hosted/pub.dartlang.org/package_info_plus_windows-1.0.5/
[        ] Found plugin path_provider at /home/user/.pub-cache/hosted/pub.dartlang.org/path_provider-2.0.11/
[        ] Found plugin path_provider_android at /home/user/.pub-cache/hosted/pub.dartlang.org/path_provider_android-2.0.22/
[        ] Found plugin path_provider_ios at /home/user/.pub-cache/hosted/pub.dartlang.org/path_provider_ios-2.0.11/
[        ] Found plugin path_provider_linux at /home/user/.pub-cache/hosted/pub.dartlang.org/path_provider_linux-2.1.7/
[        ] Found plugin path_provider_macos at /home/user/.pub-cache/hosted/pub.dartlang.org/path_provider_macos-2.0.6/
[        ] Found plugin path_provider_windows at /home/user/.pub-cache/hosted/pub.dartlang.org/path_provider_windows-2.0.7/
[        ] Found plugin permission_handler at /home/user/.pub-cache/hosted/pub.dartlang.org/permission_handler-8.3.0/
[        ] Found plugin platform_device_id at /home/user/.pub-cache/hosted/pub.dartlang.org/platform_device_id-1.0.1/
[        ] Found plugin platform_device_id_linux at
/home/user/.pub-cache/hosted/pub.dartlang.org/platform_device_id_linux-1.0.0/
[        ] Found plugin platform_device_id_macos at
/home/user/.pub-cache/hosted/pub.dartlang.org/platform_device_id_macos-1.0.0/
[        ] Found plugin platform_device_id_web at /home/user/.pub-cache/hosted/pub.dartlang.org/platform_device_id_web-1.0.0/
[        ] Found plugin platform_device_id_windows at
/home/user/.pub-cache/hosted/pub.dartlang.org/platform_device_id_windows-1.0.0/
[   +1 ms] Found plugin sentry_flutter at /home/user/.pub-cache/hosted/pub.dartlang.org/sentry_flutter-6.18.1/
[        ] Found plugin shared_preferences at /home/user/.pub-cache/hosted/pub.dartlang.org/shared_preferences-2.0.15/
[        ] Found plugin shared_preferences_android at
/home/user/.pub-cache/hosted/pub.dartlang.org/shared_preferences_android-2.0.14/
[        ] Found plugin shared_preferences_ios at /home/user/.pub-cache/hosted/pub.dartlang.org/shared_preferences_ios-2.1.1/
[        ] Found plugin shared_preferences_linux at
/home/user/.pub-cache/hosted/pub.dartlang.org/shared_preferences_linux-2.1.1/
[        ] Found plugin shared_preferences_macos at
/home/user/.pub-cache/hosted/pub.dartlang.org/shared_preferences_macos-2.0.4/
[        ] Found plugin shared_preferences_web at /home/user/.pub-cache/hosted/pub.dartlang.org/shared_preferences_web-2.0.4/
[        ] Found plugin shared_preferences_windows at
/home/user/.pub-cache/hosted/pub.dartlang.org/shared_preferences_windows-2.1.1/
[   +1 ms] Found plugin sqflite at /home/user/.pub-cache/hosted/pub.dartlang.org/sqflite-2.2.2/
[   +2 ms] Found plugin url_launcher at /home/user/.pub-cache/hosted/pub.dartlang.org/url_launcher-6.1.7/
[        ] Found plugin url_launcher_android at /home/user/.pub-cache/hosted/pub.dartlang.org/url_launcher_android-6.0.22/
[        ] Found plugin url_launcher_ios at /home/user/.pub-cache/hosted/pub.dartlang.org/url_launcher_ios-6.0.17/
[        ] Found plugin url_launcher_linux at /home/user/.pub-cache/hosted/pub.dartlang.org/url_launcher_linux-3.0.1/
[        ] Found plugin url_launcher_macos at /home/user/.pub-cache/hosted/pub.dartlang.org/url_launcher_macos-3.0.1/
[        ] Found plugin url_launcher_web at /home/user/.pub-cache/hosted/pub.dartlang.org/url_launcher_web-2.0.13/
[        ] Found plugin url_launcher_windows at /home/user/.pub-cache/hosted/pub.dartlang.org/url_launcher_windows-3.0.1/
[        ] Found plugin webview_flutter at /home/user/.pub-cache/hosted/pub.dartlang.org/webview_flutter-3.0.4/
[        ] Found plugin webview_flutter_android at
/home/user/.pub-cache/hosted/pub.dartlang.org/webview_flutter_android-2.10.4/
[        ] Found plugin webview_flutter_wkwebview at
/home/user/.pub-cache/hosted/pub.dartlang.org/webview_flutter_wkwebview-2.9.5/
[   +3 ms] generated_plugin_registrant.dart not found. Skipping.
[   +1 ms] Compiling lib/main.dart for the Web...
[   +3 ms] Initializing file store
[  +21 ms] web_entrypoint: Starting due to {InvalidatedReasonKind.inputChanged: The following inputs have updated contents:
/home/user/flutter/packages/flutter_tools/lib/src/build_system/targets/web.dart}
[   +1 ms] Skipping target: gen_localizations
[   +1 ms] web_static_assets: Starting due to {}
[  +22 ms] web_static_assets: Complete
[   +4 ms] Found plugin advance_pdf_viewer_fork at
/home/user/.pub-cache/hosted/pub.dartlang.org/advance_pdf_viewer_fork-2.0.0/
[   +2 ms] Found plugin camera at /home/user/.pub-cache/hosted/pub.dartlang.org/camera-0.9.8+1/
[        ] Found plugin camera_android at /home/user/.pub-cache/hosted/pub.dartlang.org/camera_android-0.9.8+3/
[        ] Found plugin camera_avfoundation at /home/user/.pub-cache/hosted/pub.dartlang.org/camera_avfoundation-0.9.9/
[        ] Found plugin camera_web at /home/user/.pub-cache/hosted/pub.dartlang.org/camera_web-0.2.1+6/
[   +2 ms] Found plugin device_info at /home/user/.pub-cache/hosted/pub.dartlang.org/device_info-2.0.3/
[        ] Found plugin device_info_plus at /home/user/.pub-cache/hosted/pub.dartlang.org/device_info_plus-3.2.4/
[        ] Found plugin device_info_plus_linux at /home/user/.pub-cache/hosted/pub.dartlang.org/device_info_plus_linux-2.1.1/
[        ] Found plugin device_info_plus_macos at /home/user/.pub-cache/hosted/pub.dartlang.org/device_info_plus_macos-2.2.3/
[        ] Found plugin device_info_plus_web at /home/user/.pub-cache/hosted/pub.dartlang.org/device_info_plus_web-2.1.0/
[        ] Found plugin device_info_plus_windows at
/home/user/.pub-cache/hosted/pub.dartlang.org/device_info_plus_windows-2.1.1/
[   +1 ms] Found plugin flutter_app_badger at /home/user/.pub-cache/hosted/pub.dartlang.org/flutter_app_badger-1.5.0/
[        ] Found plugin flutter_inappwebview at /home/user/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.7.2+2/
[        ] Found plugin flutter_keyboard_visibility at
/home/user/.pub-cache/hosted/pub.dartlang.org/flutter_keyboard_visibility-5.4.0/
[        ] Found plugin flutter_keyboard_visibility_linux at
/home/user/.pub-cache/hosted/pub.dartlang.org/flutter_keyboard_visibility_linux-1.0.0/
[        ] Found plugin flutter_keyboard_visibility_macos at
/home/user/.pub-cache/hosted/pub.dartlang.org/flutter_keyboard_visibility_macos-1.0.0/
[        ] Found plugin flutter_keyboard_visibility_web at
/home/user/.pub-cache/hosted/pub.dartlang.org/flutter_keyboard_visibility_web-2.0.0/
[        ] Found plugin flutter_keyboard_visibility_windows at
/home/user/.pub-cache/hosted/pub.dartlang.org/flutter_keyboard_visibility_windows-1.0.0/
[        ] Found plugin flutter_plugin_android_lifecycle at
/home/user/.pub-cache/hosted/pub.dartlang.org/flutter_plugin_android_lifecycle-2.0.7/
[        ] Found plugin flutter_secure_storage at /home/user/.pub-cache/hosted/pub.dartlang.org/flutter_secure_storage-6.1.0/
[        ] Found plugin flutter_secure_storage_linux at
/home/user/.pub-cache/hosted/pub.dartlang.org/flutter_secure_storage_linux-1.1.2/
[        ] Found plugin flutter_secure_storage_macos at
/home/user/.pub-cache/hosted/pub.dartlang.org/flutter_secure_storage_macos-1.1.2/
[        ] Found plugin flutter_secure_storage_web at
/home/user/.pub-cache/hosted/pub.dartlang.org/flutter_secure_storage_web-1.1.1/
[        ] Found plugin flutter_secure_storage_windows at
/home/user/.pub-cache/hosted/pub.dartlang.org/flutter_secure_storage_windows-1.1.3/
[   +1 ms] Found plugin image_picker at /home/user/.pub-cache/hosted/pub.dartlang.org/image_picker-0.8.6/
[        ] Found plugin image_picker_android at /home/user/.pub-cache/hosted/pub.dartlang.org/image_picker_android-0.8.5+3/
[        ] Found plugin image_picker_for_web at /home/user/.pub-cache/hosted/pub.dartlang.org/image_picker_for_web-2.1.10/
[        ] Found plugin image_picker_ios at /home/user/.pub-cache/hosted/pub.dartlang.org/image_picker_ios-0.8.6+1/
[        ] Found plugin in_app_review at /home/user/.pub-cache/hosted/pub.dartlang.org/in_app_review-2.0.6/
[        ] Found plugin local_auth at /home/user/.pub-cache/hosted/pub.dartlang.org/local_auth-1.1.11/
[   +1 ms] Found plugin package_info_plus at /home/user/.pub-cache/hosted/pub.dartlang.org/package_info_plus-1.4.2/
[        ] Found plugin package_info_plus_linux at
/home/user/.pub-cache/hosted/pub.dartlang.org/package_info_plus_linux-1.0.5/
[        ] Found plugin package_info_plus_macos at
/home/user/.pub-cache/hosted/pub.dartlang.org/package_info_plus_macos-1.3.0/
[        ] Found plugin package_info_plus_web at /home/user/.pub-cache/hosted/pub.dartlang.org/package_info_plus_web-1.0.6/
[        ] Found plugin package_info_plus_windows at
/home/user/.pub-cache/hosted/pub.dartlang.org/package_info_plus_windows-1.0.5/
[        ] Found plugin path_provider at /home/user/.pub-cache/hosted/pub.dartlang.org/path_provider-2.0.11/
[        ] Found plugin path_provider_android at /home/user/.pub-cache/hosted/pub.dartlang.org/path_provider_android-2.0.22/
[        ] Found plugin path_provider_ios at /home/user/.pub-cache/hosted/pub.dartlang.org/path_provider_ios-2.0.11/
[        ] Found plugin path_provider_linux at /home/user/.pub-cache/hosted/pub.dartlang.org/path_provider_linux-2.1.7/
[        ] Found plugin path_provider_macos at /home/user/.pub-cache/hosted/pub.dartlang.org/path_provider_macos-2.0.6/
[        ] Found plugin path_provider_windows at /home/user/.pub-cache/hosted/pub.dartlang.org/path_provider_windows-2.0.7/
[        ] Found plugin permission_handler at /home/user/.pub-cache/hosted/pub.dartlang.org/permission_handler-8.3.0/
[        ] Found plugin platform_device_id at /home/user/.pub-cache/hosted/pub.dartlang.org/platform_device_id-1.0.1/
[        ] Found plugin platform_device_id_linux at
/home/user/.pub-cache/hosted/pub.dartlang.org/platform_device_id_linux-1.0.0/
[        ] Found plugin platform_device_id_macos at
/home/user/.pub-cache/hosted/pub.dartlang.org/platform_device_id_macos-1.0.0/
[        ] Found plugin platform_device_id_web at /home/user/.pub-cache/hosted/pub.dartlang.org/platform_device_id_web-1.0.0/
[        ] Found plugin platform_device_id_windows at
/home/user/.pub-cache/hosted/pub.dartlang.org/platform_device_id_windows-1.0.0/
[   +1 ms] Found plugin sentry_flutter at /home/user/.pub-cache/hosted/pub.dartlang.org/sentry_flutter-6.18.1/
[        ] Found plugin shared_preferences at /home/user/.pub-cache/hosted/pub.dartlang.org/shared_preferences-2.0.15/
[        ] Found plugin shared_preferences_android at
/home/user/.pub-cache/hosted/pub.dartlang.org/shared_preferences_android-2.0.14/
[        ] Found plugin shared_preferences_ios at /home/user/.pub-cache/hosted/pub.dartlang.org/shared_preferences_ios-2.1.1/
[        ] Found plugin shared_preferences_linux at
/home/user/.pub-cache/hosted/pub.dartlang.org/shared_preferences_linux-2.1.1/
[        ] Found plugin shared_preferences_macos at
/home/user/.pub-cache/hosted/pub.dartlang.org/shared_preferences_macos-2.0.4/
[        ] Found plugin shared_preferences_web at /home/user/.pub-cache/hosted/pub.dartlang.org/shared_preferences_web-2.0.4/
[        ] Found plugin shared_preferences_windows at
/home/user/.pub-cache/hosted/pub.dartlang.org/shared_preferences_windows-2.1.1/
[   +2 ms] Found plugin sqflite at /home/user/.pub-cache/hosted/pub.dartlang.org/sqflite-2.2.2/
[   +2 ms] Found plugin url_launcher at /home/user/.pub-cache/hosted/pub.dartlang.org/url_launcher-6.1.7/
[        ] Found plugin url_launcher_android at /home/user/.pub-cache/hosted/pub.dartlang.org/url_launcher_android-6.0.22/
[        ] Found plugin url_launcher_ios at /home/user/.pub-cache/hosted/pub.dartlang.org/url_launcher_ios-6.0.17/
[        ] Found plugin url_launcher_linux at /home/user/.pub-cache/hosted/pub.dartlang.org/url_launcher_linux-3.0.1/
[        ] Found plugin url_launcher_macos at /home/user/.pub-cache/hosted/pub.dartlang.org/url_launcher_macos-3.0.1/
[        ] Found plugin url_launcher_web at /home/user/.pub-cache/hosted/pub.dartlang.org/url_launcher_web-2.0.13/
[        ] Found plugin url_launcher_windows at /home/user/.pub-cache/hosted/pub.dartlang.org/url_launcher_windows-3.0.1/
[   +1 ms] Found plugin webview_flutter at /home/user/.pub-cache/hosted/pub.dartlang.org/webview_flutter-3.0.4/
[        ] Found plugin webview_flutter_android at
/home/user/.pub-cache/hosted/pub.dartlang.org/webview_flutter_android-2.10.4/
[        ] Found plugin webview_flutter_wkwebview at
/home/user/.pub-cache/hosted/pub.dartlang.org/webview_flutter_wkwebview-2.9.5/
[   +3 ms] web_entrypoint: Complete
[   +1 ms] dart2js: Starting due to {}
[+6593 ms] Persisting file store
[  +11 ms] Done persisting file store
[  +10 ms] Target dart2js failed: Exception: Warning: The 'dart2js' entrypoint script is deprecated, please use 'dart compile
js'
           instead.
           
[   +8 ms] Compiling lib/main.dart for the Web... (completed in 6.7s)
[   +1 ms] "flutter web" took 14,940ms.
[   +9 ms] Exception: Failed to compile application for the Web.
[        ] 
           #0      throwToolExit (package:flutter_tools/src/base/common.dart:10:3)
           #1      buildWeb (package:flutter_tools/src/web/compile.dart:95:5)
           <asynchronous suspension>
           #2      BuildWebCommand.runCommand (package:flutter_tools/src/commands/build_web.dart:117:5)
           <asynchronous suspension>
           #3      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1209:27)
           <asynchronous suspension>
           #4      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #5      CommandRunner.runCommand (package:args/command_runner.dart:209:13)
           <asynchronous suspension>
           #6      FlutterCommandRunner.runCommand.<anonymous closure>
           (package:flutter_tools/src/runner/flutter_command_runner.dart:281:9)
           <asynchronous suspension>
           #7      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #8      FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:229:5)
           <asynchronous suspension>
           #9      run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:62:9)
           <asynchronous suspension>
           #10     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #11     main (package:flutter_tools/executable.dart:91:3)
           <asynchronous suspension>
           
           
[   +8 ms] ensureAnalyticsSent: 2ms
[   +1 ms] Running shutdown hooks
[        ] Shutdown hooks complete
[        ] exiting with code 1
```
</details>

<details>
<summary><h4>$flutter pub run build_runner build --delete-conflicting-outputs --verbose</h4></summary>

```
[  +49 ms] executing: uname -m
[  +24 ms] Exit code 0 from: uname -m
[        ] aarch64
[   +4 ms] executing: [/home/user/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[  +14 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] b8f7f1f9869bb2d116aa6a70dbeac61000b52849
[        ] executing: [/home/user/flutter/] git tag --points-at b8f7f1f9869bb2d116aa6a70dbeac61000b52849
[  +92 ms] Exit code 0 from: git tag --points-at b8f7f1f9869bb2d116aa6a70dbeac61000b52849
[        ] 3.3.9
[  +33 ms] executing: [/home/user/flutter/] git rev-parse --abbrev-ref --symbolic @{upstream}
[   +6 ms] Exit code 128 from: git rev-parse --abbrev-ref --symbolic @{upstream}
[        ] fatal: HEAD does not point to a branch
[  +16 ms] Unable to locate an Android SDK.
[   +3 ms] executing: [/home/user/flutter/] git rev-parse --abbrev-ref HEAD
[   +9 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] HEAD
[  +42 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.
[        ] 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.
[  +58 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.
[        ] 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.
[        ] 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.
[  +40 ms] executing: /home/user/flutter/bin/cache/dart-sdk/bin/dart __deprecated_pub run build_runner build
--delete-conflicting-outputs --verbose
[INFO] Entrypoint:Generating build script...
[INFO] Entrypoint:Generating build script completed, took 307ms

[WARNING] Bootstrap:
Invalidated precompiled build script due to missing asset graph.
[INFO] Bootstrap:Precompiling build script......
[INFO] Bootstrap:Precompiling build script... completed, took 1.4s

[INFO] BuildDefinition:Initializing inputs
[INFO] BuildDefinition:Building new asset graph...
[INFO] BuildDefinition:Building new asset graph completed, took 949ms

[INFO] BuildDefinition:Checking for unexpected pre-existing outputs....
[INFO] BuildDefinition:Deleting 31 declared outputs which already existed on disk.
[INFO] BuildDefinition:Checking for unexpected pre-existing outputs. completed, took 7ms

[INFO] Build:Running build...
[INFO] Heartbeat:1.4s elapsed, 83/99 actions completed.
[FINE] freezed on lib/app/components/verify_identity/verify_identity_state.dart:Running FreezedGenerator

.... REMOVED LINES ....

[FINE] json_serializable on lib/shared/models/customers/activity_status_ext.dart:Running JsonSerializableGenerator - 1 of 2
[FINE] json_serializable on lib/shared/models/customers/activity_status_ext.dart:Running JsonLiteralGenerator - 2 of 2
[INFO] Heartbeat:13.8s elapsed, 278/294 actions completed.
[INFO] Heartbeat:14.9s elapsed, 278/294 actions completed.
[INFO] Heartbeat:16.7s elapsed, 278/294 actions completed.
[+24394 ms] "flutter run" took 24,463ms.
[  +39 ms] pub finished with exit code -9
[   +6 ms] 
           #0      throwToolExit (package:flutter_tools/src/base/common.dart:10:3)
           #1      _DefaultPub.interactively (package:flutter_tools/src/dart/pub.dart:418:7)
           <asynchronous suspension>
           #2      PackagesForwardCommand.runCommand (package:flutter_tools/src/commands/packages.dart:249:5)
           <asynchronous suspension>
           #3      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1209:27)
           <asynchronous suspension>
           #4      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #5      CommandRunner.runCommand (package:args/command_runner.dart:209:13)
           <asynchronous suspension>
           #6      FlutterCommandRunner.runCommand.<anonymous closure>
           (package:flutter_tools/src/runner/flutter_command_runner.dart:281:9)
           <asynchronous suspension>
           #7      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #8      FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:229:5)
           <asynchronous suspension>
           #9      run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:62:9)
           <asynchronous suspension>
           #10     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #11     main (package:flutter_tools/executable.dart:91:3)
           <asynchronous suspension>
           
           
[  +12 ms] ensureAnalyticsSent: 2ms
[   +2 ms] Running shutdown hooks
[        ] Shutdown hooks complete
[   +4 ms] exiting with code -9
```
</details>

### Environment for reproducing:
Exception reproducible with latest stable: flutter v3.3.9
Please use environment (pc, vm, docker) with low RAM and low SWAP for a huge project 

### Docker env example: 
1 GB RAM, 512MB SWAP

<details>
<summary><h4>$Dockerfile</h4></summary>

```
FROM ubuntu:20.04 as flutter-build
RUN apt update
RUN apt install -y curl git wget unzip libglu1-mesa python3 fonts-droid-fallback xz-utils

RUN useradd -ms /bin/bash user
USER user
WORKDIR /home/user


ARG FLUTTER_VERSION=3.3.9

#Installing Flutter SDK
RUN git clone --depth 1 --branch $FLUTTER_VERSION https://github.com/flutter/flutter.git
# RUN git clone https://github.com/flutter/flutter.git

ENV PATH "$PATH:/home/user/flutter/bin"

RUN flutter doctor

WORKDIR /home/user

USER root
RUN chown -R user: ./flutter
USER user

COPY ./app /home/user/app
WORKDIR /home/user/app
USER root
RUN chown -R user: ./
USER user
RUN flutter clean
RUN flutter pub get
RUN flutter pub run build_runner build --delete-conflicting-outputs
RUN flutter build web
```
</details>

<details>
<summary><h4>$flutter doctor (for docker env)</h4></summary>

```
Doctor summary (to see all details, run flutter doctor -v):
[!] Flutter (Channel unknown, 3.3.9, on Ubuntu 20.04.5 LTS 5.15.49-linuxkit, locale en_US)
    ! Flutter version 3.3.9 on channel unknown at /home/user/flutter
    ! Upstream repository unknown
[✗] Chrome - develop for the web (Cannot find Chrome executable at google-chrome)
    ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.
[✗] Linux toolchain - develop for Linux desktop
    ✗ clang++ is required for Linux development.
      It is likely available from your distribution (e.g.: apt install clang), or can be downloaded from
      https://releases.llvm.org/
    ✗ CMake is required for Linux development.
      It is likely available from your distribution (e.g.: apt install cmake), or can be downloaded from
      https://cmake.org/download/
    ✗ ninja is required for Linux development.
      It is likely available from your distribution (e.g.: apt install ninja-build), or can be downloaded from
      https://github.com/ninja-build/ninja/releases
    ✗ pkg-config is required for Linux development.
      It is likely available from your distribution (e.g.: apt install pkg-config), or can be downloaded from
      https://www.freedesktop.org/wiki/Software/pkg-config/
[!] Flutter IDE Support (No supported IDEs installed)
[✓] Connected device (1 available)
[✓] HTTP Host Availability
```
</details>

### Similar issue: 
https://github.com/flutter/flutter/issues/113989

### Possible workarounds:

- Increase RAM
- Increase SWAP
- Reduce code size, so it require less RAM resources to compile it.