flutter / flutter

Flutter makes it easy and fast to build beautiful apps for mobile and beyond
https://flutter.dev
BSD 3-Clause "New" or "Revised" License
163.76k stars 26.95k forks source link

Can't build Flutter Applications on old x86_64 CPUs with 3.16.0 and greater #140138

Closed 6260coder closed 4 months ago

6260coder commented 7 months ago

Is there an existing issue for this?

Steps to reproduce

  1. Develop in Flutter 3.10 with no problems.
  2. Use the flutter upgrade command to upgrade to Flutter 3.16.3
  3. Create and build a new sample project.

Actual results

When I create a new project, I get the following message:

[test_project] flutter create --template app --overwrite .
Flutter assets will be downloaded from https://storage.flutter-io.cn. Make sure you trust this source!
Creating project ....
Resolving dependencies...
Got dependencies.
Wrote 129 files.

All done!
You can find general documentation for Flutter at: https://docs.flutter.dev/
Detailed API documentation is available at: https://api.flutter.dev/
If you prefer video documentation, consider: https://www.youtube.com/c/flutterdev

In order to run your application, type:

  $ cd .
  $ flutter run

Your application code is in .\lib\main.dart.

exit code 3221225501

When I try to build the project for windows, I get the following:

Launching lib\main.dart on Windows in debug mode...
i:\soft\Microsoft Visual Studio\2022\BuildTools\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(248,5): error MSB8066: Custom build for 'I:\work\flutter-projs\test_project\build\windows\x64\CMakeFiles\7e7530df3ca3759e8b25d8281e0718c2\flutter_windows.dll.rule;I:\work\flutter-projs\test_project\build\windows\x64\CMakeFiles\2fbfa67e692ef0c565297c7533a2d0cf\flutter_assemble.rule;I:\work\flutter-projs\test_project\windows\flutter\CMakeLists.txt' exited with code 1. [I:\work\flutter-projs\test_project\build\windows\x64\flutter\flutter_assemble.vcxproj]
Exception: Build process failed.

Exited (-1073741795).

I think the problem first manifests itself when it tries to download the sky_engine package after "flutter upgrade". This is the output:

Flutter assets will be downloaded from https://storage.flutter-io.cn. Make sure you trust this source!
Downloading package sky_engine...                               exit code 3221225501

I tried removing the windows folder in the project as well as commands such as flutter clean, dart pub cache repair, dart pub cache clean, but it still doesn't work. What is wrong and what can I do to get rid of the exit code 3221225501 problem and make my projects build successfully? Thank you very much!

Logs

Logs ```console ```

Flutter Doctor output

Doctor output ```console Flutter assets will be downloaded from https://storage.flutter-io.cn. Make sure you trust this source! [✓] Flutter (Channel stable, 3.16.4, on Microsoft Windows [Version 10.0.19045.3803], locale en-US) • Flutter version 3.16.4 on channel stable at I:\soft\flutter_windows_3.10.1-stable\flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision 2e9cb0aa71 (2 days ago), 2023-12-11 14:35:13 -0700 • Engine revision 54a7145303 • Dart version 3.2.3 • DevTools version 2.28.4 • Pub download mirror https://pub.flutter-io.cn • Flutter download mirror https://storage.flutter-io.cn [✓] Windows Version (Installed version of Windows is version 10 or higher) [✓] Android toolchain - develop for Android devices (Android SDK version 33.0.2) • Android SDK at I:\soft\android-sdk • Platform android-33, build-tools 33.0.2 • Java binary at: I:\soft\android-studio\jbr\bin\java • Java version OpenJDK Runtime Environment (build 17.0.6+0-b2043.56-9586694) • All Android licenses accepted. [✓] Chrome - develop for the web • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe [✓] Visual Studio - develop Windows apps (Visual Studio Build Tools 2022 17.6.1) • Visual Studio at i:\soft\Microsoft Visual Studio\2022\BuildTools • Visual Studio Build Tools 2022 version 17.6.33717.318 • Windows 10 SDK version 10.0.22000.0 [✓] Android Studio (version 2022.2) • Android Studio at I:\soft\android-studio • Flutter plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/6351-dart • Java version OpenJDK Runtime Environment (build 17.0.6+0-b2043.56-9586694) [✓] Connected device (3 available) • Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version 10.0.19045.3803] • Chrome (web) • chrome • web-javascript • Google Chrome 120.0.6099.71 • Edge (web) • edge • web-javascript • Microsoft Edge 120.0.2210.61 [✓] Network resources • All expected network resources are available. • No issues found! ```
dam-ease commented 7 months ago

Hi @6260coder. Thanks for filing this. Per the error you get when you try building for Windows, can you check this SO thread to see if the suggested solutions work in your case? https://stackoverflow.com/questions/67031371/flutter-windows-cannot-build-app-error-msb8066

6260coder commented 7 months ago

Hi, I read that SO thread before filing here. I have tried the things mentioned under that thread but nothing worked for me.

dam-ease commented 7 months ago

Thanks for your response. Can you try a reinstall to see if it works for you?

6260coder commented 7 months ago

I tried reinstalling a few versions of Flutter SDK. I tried creating and running a new project on Flutter 3.10.5, 3.13.0, 3.13.9, 3.16.0 and 3.16.4. The first three versions worked fine, but projects created using 3.16.0 and 3.16.4 won't properly build on any platform including web (Edge/Chrome).

I'm on a very old system that uses an AMD Phenom(tm) II X4 965 Processor. Could this be a hardware compatibility issue? If not, What specific measures can I take to try and pinpoint the problem? Thank you very much!

dam-ease commented 7 months ago

I'm on a very old system that uses an AMD Phenom(tm) II X4 965 Processor. Could this be a hardware compatibility issue? If not, What specific measures can I take to try and pinpoint the problem?

I do not have this device to reproduce this but per your question on hardware compatibility, can you check this out to confirm your device meets the system requirements? https://docs.flutter.dev/get-started/install/windows#system-requirements

6260coder commented 7 months ago

I have checked that my device meets the system requirements specified in the link.

dam-ease commented 7 months ago

Hi @6260coder. Thanks for checking these out. So we can move this issue further, can you please try the following and share your results:

Thank you!

zamaniafshar commented 7 months ago

Hi there,

I hope this message finds you well. I wanted to report same issue I've encountered after upgrading Flutter to version 3.16.4 on my Windows operating system. Following the upgrade, I consistently encounter the following error after running flutter pub get. Additionally, I'm unable to successfully run my project on any platform. I even created a new project to test, but unfortunately, the problem persists.

Here is the error message I'm receiving:

[location_project] flutter pub get --no-example
Resolving dependencies...
  flutter_lints 2.0.3 (3.0.1 available)
  lints 2.1.1 (3.0.0 available)
  matcher 0.12.16 (0.12.16+1 available)
  material_color_utilities 0.5.0 (0.8.0 available)
  meta 1.10.0 (1.11.0 available)
  path 1.8.3 (1.9.0 available)
  test_api 0.6.1 (0.7.0 available)
  web 0.3.0 (0.4.0 available)
Got dependencies!
8 packages have newer versions incompatible with dependency constraints.
Try `flutter pub outdated` for more information.
exit code 3221225501

I appreciate your assistance in resolving this issue. If there's any additional information or logs needed, please let me know.

Thank you for your time and consideration.

zamaniafshar commented 7 months ago

Downgrading Flutter to version 3.13.9 fixed my issue.

6260coder commented 7 months ago

Hi @dam-ease, thank you for your patience. I've tried the steps you specified and here are the outputs from flutter run -v for the three platforms.

For Android:

Android

```console flutter run -v [ +238 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update. [ +1 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. [ ] Artifact Instance of 'LegacyCanvasKitRemover' 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. [ +3 ms] 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. [ +6 ms] Flutter assets will be downloaded from https://storage.flutter-io.cn. Make sure you trust this source! [ +111 ms] executing: I:\soft\android-sdk\platform-tools\adb.exe devices -l [ +104 ms] List of devices attached DVD5T18409006327 device product:HWI-AL00 model:HWI_AL00 device:HWHWI transport_id:1 [ +8 ms] I:\soft\android-sdk\platform-tools\adb.exe -s DVD5T18409006327 shell getprop [ +161 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update. [ +4 ms] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update. [ +12 ms] 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. [ +261 ms] Skipping pub get: version match. [ +224 ms] Generating I:\work\flutter-projs\test_3_16_4\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java [ +83 ms] ro.hardware = hi3660 [ ] ro.build.characteristics = default [ +79 ms] Initializing file store [ +17 ms] Skipping target: gen_localizations [ +8 ms] gen_dart_plugin_registrant: Starting due to {InvalidatedReasonKind.inputChanged: The following inputs have updated contents: I:\work\flutter-projs\test_3_16_4\.dart_tool\package_config_subset} [ +111 ms] gen_dart_plugin_registrant: Complete [ +2 ms] Skipping target: _composite [ +3 ms] complete [ +8 ms] Launching lib\main.dart on HWI AL00 in debug mode... [ +5 ms] I:\soft\installed\flutter\flutter\bin\cache\dart-sdk\bin\dart.exe --disable-dart-dev I:\soft\installed\flutter\flutter\bin\cache\dart-sdk\bin\snapshots\frontend_server.dart.snapshot --sdk-root I:\soft\installed\flutter\flutter\bin\cache\artifacts\engine\common\flutter_patched_sdk/ --incremental --target=flutter --experimental-emit-debug-metadata -DFLUTTER_WEB_AUTO_DETECT=true -DFLUTTER_WEB_CANVASKIT_URL=https://www.gstatic.com/flutter-canvaskit/54a7145303f0dd9d0f93424a2e124eb4abef5091/ --output-dill C:\Users\Shuai\AppData\Local\Temp\flutter_tools.f683ca4b\flutter_tool.4d76666f\app.dill --packages I:\work\flutter-projs\test_3_16_4\.dart_tool\package_config.json -Ddart.vm.profile=false -Ddart.vm.product=false --enable-asserts --track-widget-creation --filesystem-scheme org-dartlang-root --initialize-from-dill build\59906ac2072ea23d943f4334a0ae780f.cache.dill.track.dill --verbosity=error --enable-experiment=alternative-invalidation-strategy [ +19 ms] executing: I:\soft\android-sdk\platform-tools\adb.exe -s DVD5T18409006327 shell -x logcat -v time -t 1 [ +14 ms] <- compile package:test_3_16_4/main.dart [ +160 ms] --------- beginning of main 12-20 15:34:38.287 I/Cloud[10.13.20.300]Sync.UBAAnalyze(11106): 0th attempt to report, response success [ +13 ms] executing: I:\soft\android-sdk\platform-tools\adb.exe version [ +76 ms] Android Debug Bridge version 1.0.41 Version 34.0.1-9979309 Installed as I:\soft\android-sdk\platform-tools\adb.exe Running on Windows 10.0.19045 [ +2 ms] executing: I:\soft\android-sdk\platform-tools\adb.exe start-server [ +78 ms] Building APK [ +17 ms] executing: I:\soft\android-studio\jbr\bin\java -version [ +316 ms] Exit code 0 from: I:\soft\android-studio\jbr\bin\java -version [ ] openjdk version "17.0.6" 2023-01-17 OpenJDK Runtime Environment (build 17.0.6+0-b2043.56-9586694) OpenJDK 64-Bit Server VM (build 17.0.6+0-b2043.56-9586694, mixed mode) [ +18 ms] executing: I:\soft\android-studio\jbr\bin\java --version [ +196 ms] Exit code 0 from: I:\soft\android-studio\jbr\bin\java --version [ ] openjdk 17.0.6 2023-01-17 OpenJDK Runtime Environment (build 17.0.6+0-b2043.56-9586694) OpenJDK 64-Bit Server VM (build 17.0.6+0-b2043.56-9586694, mixed mode) [ +42 ms] Using gradle from I:\work\flutter-projs\test_3_16_4\android\gradlew.bat. [ +3 ms] Running Gradle task 'assembleDebug'... [ +9 ms] executing: [I:\work\flutter-projs\test_3_16_4\android/] I:\work\flutter-projs\test_3_16_4\android\gradlew.bat --full-stacktrace --info -Pverbose=true -Ptarget-platform=android-arm64 -Ptarget=I:\work\flutter-projs\test_3_16_4\lib\main.dart -Pbase-application-name=android.app.Application -Pdart-defines=RkxVVFRFUl9XRUJfQVVUT19ERVRFQ1Q9dHJ1ZQ==,RkxVVFRFUl9XRUJfQ0FOVkFTS0lUX1VSTD1odHRwczovL3d3dy5nc3RhdGljLmNv bS9mbHV0dGVyLWNhbnZhc2tpdC81NGE3MTQ1MzAzZjBkZDlkMGY5MzQyNGEyZTEyNGViNGFiZWY1MDkxLw== -Pdart-obfuscation=false -Ptrack-widget-creation=true -Ptree-shake-icons=false -Pfilesystem-scheme=org-dartlang-root assembleDebug [+10324 ms] Initialized native services in: I:\soft\.gradle\native [ +2 ms] Initialized jansi services in: I:\soft\.gradle\native [ +934 ms] Found daemon DaemonInfo{pid=1964, address=[1e34bdf2-89bb-4fbf-b3a2-b02d2b861cb6 port:12620, addresses:[/127.0.0.1]], state=Idle, lastBusy=1701329600111, context=DefaultDaemonContext[uid=def2832a-c6e5-4415-9f61-0d4a10426382,javaHome=I:\soft\android-studio\jbr,daemonRegistry Dir=I:\soft\.gradle\daemon,pid=1964,idleTimeout=10800000,priority=NORMAL,daemonOpts=--add-opens,java.base/java.util=ALL- UNNAMED,--add-opens,java.base/java.lang=ALL-UNNAMED,--add-opens,java.base/java.lang.invoke=ALL-UNNAMED,--add-opens,java. base/java.util=ALL-UNNAMED,--add-opens,java.prefs/java.util.prefs=ALL-UNNAMED,--add-opens,java.prefs/java.util.prefs=ALL -UNNAMED,--add-opens,java.base/java.nio.charset=ALL-UNNAMED,--add-opens,java.base/java.net=ALL-UNNAMED,--add-opens,java. base/java.util.concurrent.atomic=ALL-UNNAMED,-Xmx1536M,-Dfile.encoding=GBK,-Duser.country=US,-Duser.language=en,-Duser.v ariant]} however its context does not match the desired criteria. [ +6 ms] At least one daemon option is different. [ ] Wanted: DefaultDaemonContext[uid=null,javaHome=I:\soft\android-studio\jbr,daemonRegistryDir=I:\soft\.gradle\daemon,pid=4952,idle Timeout=null,priority=NORMAL,daemonOpts=--add-opens,java.base/java.util=ALL-UNNAMED,--add-opens,java.base/java.lang=ALL- UNNAMED,--add-opens,java.base/java.lang.invoke=ALL-UNNAMED,--add-opens,java.base/java.util=ALL-UNNAMED,--add-opens,java. prefs/java.util.prefs=ALL-UNNAMED,--add-opens,java.prefs/java.util.prefs=ALL-UNNAMED,--add-opens,java.base/java.nio.char set=ALL-UNNAMED,--add-opens,java.base/java.net=ALL-UNNAMED,--add-opens,java.base/java.util.concurrent.atomic=ALL-UNNAMED ,-Xmx4G,-Dfile.encoding=GBK,-Duser.country=US,-Duser.language=en,-Duser.variant] [ +1 ms] Actual: DefaultDaemonContext[uid=def2832a-c6e5-4415-9f61-0d4a10426382,javaHome=I:\soft\android-studio\jbr,daemonRegistryDir=I:\s oft\.gradle\daemon,pid=1964,idleTimeout=10800000,priority=NORMAL,daemonOpts=--add-opens,java.base/java.util=ALL-UNNAMED, --add-opens,java.base/java.lang=ALL-UNNAMED,--add-opens,java.base/java.lang.invoke=ALL-UNNAMED,--add-opens,java.base/jav a.util=ALL-UNNAMED,--add-opens,java.prefs/java.util.prefs=ALL-UNNAMED,--add-opens,java.prefs/java.util.prefs=ALL-UNNAMED ,--add-opens,java.base/java.nio.charset=ALL-UNNAMED,--add-opens,java.base/java.net=ALL-UNNAMED,--add-opens,java.base/jav a.util.concurrent.atomic=ALL-UNNAMED,-Xmx1536M,-Dfile.encoding=GBK,-Duser.country=US,-Duser.language=en,-Duser.variant] [ +1 ms] Looking for a different daemon... [ +84 ms] Removing 1 daemon stop events from registry [ ] Starting a Gradle Daemon, 1 incompatible Daemon could not be reused, use --status for details [ +189 ms] Starting process 'Gradle build daemon'. Working directory: I:\soft\.gradle\daemon\7.5 Command: I:\soft\android-studio\jbr\bin\java.exe --add-opens java.base/java.util=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.lang.invoke=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED --add-opens java.prefs/java.util.prefs=ALL-UNNAMED --add-opens java.prefs/java.util.prefs=ALL-UNNAMED --add-opens java.base/java.nio.charset=ALL-UNNAMED --add-opens java.base/java.net=ALL-UNNAMED --add-opens java.base/java.util.concurrent.atomic=ALL-UNNAMED -Xmx4G -Dfile.encoding=GBK -Duser.country=US -Duser.language=en -Duser.variant -cp I:\soft\.gradle\wrapper\dists\gradle-7.5-all\6qsw290k5lz422uaf8jf6m7co\gradle-7.5\lib\gradle-launcher-7.5.jar org.gradle.launcher.daemon.bootstrap.GradleDaemon 7.5 [ +2 ms] Successfully started process 'Gradle build daemon' [+7798 ms] An attempt to start the daemon took 7.893 secs. [ +300 ms] The client will now receive all logging from the daemon (pid: 13700). The daemon log file: I:\soft\.gradle\daemon\7.5\daemon-13700.out.log [ +1 ms] Starting build in new daemon [memory: 4 GiB] [ +199 ms] Using 4 worker leases. [+1105 ms] Watching the file system is configured to be enabled if available [ +98 ms] Now considering [I:\work\flutter-projs\test_3_16_4\android] as hierarchies to watch [ ] File system watching is active [+1514 ms] Starting Build [ +972 ms] Now considering [I:\soft\installed\flutter\flutter\packages\flutter_tools\gradle, I:\work\flutter-projs\test_3_16_4\android] as hierarchies to watch [ +400 ms] Skipping Kotlin DSL script compilation (Settings/TopLevel/stage1) as it is up-to-date. [+2314 ms] > Configure project :gradle [ ] Evaluating project ':gradle' using build file 'I:\soft\installed\flutter\flutter\packages\flutter_tools\gradle\build.gradle.kts'. [ ] Caching disabled for Kotlin DSL plugin accessors for classpath 'a2382fe04968ac47ecb1ed8a957d688a' because: [ ] Build cache is disabled [ ] Skipping Kotlin DSL plugin accessors for classpath 'a2382fe04968ac47ecb1ed8a957d688a' as it is up-to-date. [ ] Caching disabled for Kotlin DSL script compilation (Project/TopLevel/stage1) because: [ ] Build cache is disabled [ ] Skipping Kotlin DSL script compilation (Project/TopLevel/stage1) as it is up-to-date. [ ] Caching disabled for Kotlin DSL accessors for project ':gradle' because: [ ] Build cache is disabled [ ] Skipping Kotlin DSL accessors for project ':gradle' as it is up-to-date. [ ] Caching disabled for Kotlin DSL script compilation (Project/TopLevel/stage2) because: [ ] Build cache is disabled [ ] Skipping Kotlin DSL script compilation (Project/TopLevel/stage2) as it is up-to-date. [+1280 ms] Resolve mutations for :gradle:compileJava (Thread[Execution worker,5,main]) started. [ ] Resolve mutations for :gradle:compileJava (Thread[Execution worker,5,main]) completed. Took 0.018 secs. [ ] :gradle:compileJava (Thread[included builds,5,main]) started. [ +198 ms] > Task :gradle:compileJava NO-SOURCE [ ] Skipping task ':gradle:compileJava' as it has no source files and no previous output files. [ ] :gradle:compileJava (Thread[included builds,5,main]) completed. Took 0.112 secs. [ ] Resolve mutations for :gradle:compileGroovy (Thread[Execution worker,5,main]) started. [ ] Resolve mutations for :gradle:compileGroovy (Thread[Execution worker,5,main]) completed. Took 0.001 secs. [ ] :gradle:compileGroovy (Thread[included builds,5,main]) started. [+1899 ms] > Task :gradle:compileGroovy [ +1 ms] Watching 1 directory hierarchies to track changes [ +112 ms] Caching disabled for task ':gradle:compileGroovy' because: [ +1 ms] Build cache is disabled [ ] Skipping task ':gradle:compileGroovy' as it is up-to-date. [ +1 ms] > Task :gradle:compileGroovy UP-TO-DATE [ +1 ms] :gradle:compileGroovy (Thread[included builds,5,main]) completed. Took 2.089 secs. [ ] Resolve mutations for :gradle:pluginDescriptors (Thread[Execution worker Thread 3,5,main]) started. [ ] Resolve mutations for :gradle:pluginDescriptors (Thread[Execution worker Thread 3,5,main]) completed. Took 0.0 secs. [ ] :gradle:pluginDescriptors (Thread[included builds,5,main]) started. [ +82 ms] > Task :gradle:pluginDescriptors UP-TO-DATE [ ] Caching disabled for task ':gradle:pluginDescriptors' because: [ ] Build cache is disabled [ ] Skipping task ':gradle:pluginDescriptors' as it is up-to-date. [ ] :gradle:pluginDescriptors (Thread[included builds,5,main]) completed. Took 0.025 secs. [ ] Resolve mutations for :gradle:processResources (Thread[included builds,5,main]) started. [ ] Resolve mutations for :gradle:processResources (Thread[included builds,5,main]) completed. Took 0.001 secs. [ ] :gradle:processResources (Thread[included builds,5,main]) started. [ ] > Task :gradle:processResources UP-TO-DATE [ ] Caching disabled for task ':gradle:processResources' because: [ ] Build cache is disabled [ ] Skipping task ':gradle:processResources' as it is up-to-date. [ ] :gradle:processResources (Thread[included builds,5,main]) completed. Took 0.016 secs. [ ] Resolve mutations for :gradle:classes (Thread[Execution worker Thread 3,5,main]) started. [ ] Resolve mutations for :gradle:classes (Thread[Execution worker Thread 3,5,main]) completed. Took 0.0 secs. [ ] :gradle:classes (Thread[included builds,5,main]) started. [ ] > Task :gradle:classes UP-TO-DATE [ ] Skipping task ':gradle:classes' as it has no actions. [ ] :gradle:classes (Thread[included builds,5,main]) completed. Took 0.0 secs. [ ] Resolve mutations for :gradle:jar (Thread[Execution worker Thread 3,5,main]) started. [ ] Resolve mutations for :gradle:jar (Thread[Execution worker Thread 3,5,main]) completed. Took 0.0 secs. [ ] :gradle:jar (Thread[included builds,5,main]) started. [ ] producer locations for task group 0 (Thread[Execution worker Thread 2,5,main]) started. [ ] producer locations for task group 0 (Thread[Execution worker Thread 2,5,main]) completed. Took 0.0 secs. [ ] > Task :gradle:jar UP-TO-DATE [ ] Caching disabled for task ':gradle:jar' because: [ ] Build cache is disabled [ ] Skipping task ':gradle:jar' as it is up-to-date. [ ] :gradle:jar (Thread[included builds,5,main]) completed. Took 0.047 secs. [+2407 ms] Resource missing. [HTTP HEAD: https://dl.google.com/dl/android/maven2/com/android/application/com.android.application.gradle.plugin/7.3.0/com.android. application.gradle.plugin-7.3.0.jar] [+4782 ms] Settings evaluated using settings file 'I:\work\flutter-projs\test_3_16_4\android\settings.gradle'. [ ] Projects loaded. Root project using build file 'I:\work\flutter-projs\test_3_16_4\android\build.gradle'. [ ] Included projects: [root project 'android', project ':app'] [+2002 ms] > Configure project : [ ] Evaluating root project 'android' using build file 'I:\work\flutter-projs\test_3_16_4\android\build.gradle'. [+7601 ms] > Configure project :app [ ] Evaluating project ':app' using build file 'I:\work\flutter-projs\test_3_16_4\android\app\build.gradle'. [ ] Compiling build file 'I:\work\flutter-projs\test_3_16_4\android\app\build.gradle' using SubsetScriptTransformer. [ ] Using Kotlin Gradle Plugin gradle70 variant [ ] Caching disabled for Kotlin DSL script compilation (Project/ScriptPlugin/stage1) because: [ ] Build cache is disabled [ ] Skipping Kotlin DSL script compilation (Project/ScriptPlugin/stage1) as it is up-to-date. [ ] Compiling build file 'I:\work\flutter-projs\test_3_16_4\android\app\build.gradle' using BuildScriptTransformer. [ ] Parsed shrinker version: 3.3.70 [ ] All projects evaluated. [ +95 ms] Task name matched 'assembleDebug' [ ] Selected primary task 'assembleDebug' from project : [+1586 ms] Tasks to be executed: [task ':app:preBuild', task ':app:preDebugBuild', task ':app:mergeDebugNativeDebugMetadata', task ':app:compileFlutterBuildDebug', task ':app:packLibsflutterBuildDebug', task ':app:compileDebugAidl', task ':app:compileDebugRenderscript', task ':app:generateDebugBuildConfig', task ':app:checkDebugAarMetadata', task ':app:cleanMergeDebugAssets', task ':app:mergeDebugShaders', task ':app:compileDebugShaders', task ':app:generateDebugAssets', task ':app:mergeDebugAssets', task ':app:copyFlutterAssetsDebug', task ':app:generateDebugResValues', task ':app:mapDebugSourceSetPaths', task ':app:generateDebugResources', task ':app:mergeDebugResources', task ':app:createDebugCompatibleScreenManifests', task ':app:extractDeepLinksDebug', task ':app:processDebugMainManifest', task ':app:processDebugManifest', task ':app:processDebugManifestForPackage', task ':app:processDebugResources', task ':app:compileDebugKotlin', task ':app:javaPreCompileDebug', task ':app:compileDebugJavaWithJavac', task ':app:compressDebugAssets', task ':app:processDebugJavaRes', task ':app:mergeDebugJavaResource', task ':app:checkDebugDuplicateClasses', task ':app:dexBuilderDebug', task ':app:desugarDebugFileDependencies', task ':app:mergeExtDexDebug', task ':app:mergeDexDebug', task ':app:mergeDebugJniLibFolders', task ':app:mergeDebugNativeLibs', task ':app:stripDebugDebugSymbols', task ':app:validateSigningDebug', task ':app:writeDebugAppMetadata', task ':app:writeDebugSigningConfigVersions', task ':app:packageDebug', task ':app:createDebugApkListingFileRedirect', task ':app:assembleDebug'] [ +1 ms] Tasks that were excluded: [] [ ] Resolve mutations for :app:preBuild (Thread[Execution worker,5,main]) started. [ ] Resolve mutations for :app:preBuild (Thread[Execution worker,5,main]) completed. Took 0.0 secs. [ ] :app:preBuild (Thread[Execution worker,5,main]) started. [ +99 ms] > Task :app:preBuild UP-TO-DATE [ ] Skipping task ':app:preBuild' as it has no actions. [ +1 ms] :app:preBuild (Thread[Execution worker,5,main]) completed. Took 0.005 secs. [ ] Resolve mutations for :app:preDebugBuild (Thread[Execution worker,5,main]) started. [ ] Resolve mutations for :app:preDebugBuild (Thread[Execution worker,5,main]) completed. Took 0.0 secs. [ ] :app:preDebugBuild (Thread[Execution worker,5,main]) started. [ ] > Task :app:preDebugBuild UP-TO-DATE [ ] Skipping task ':app:preDebugBuild' as it has no actions. [ ] :app:preDebugBuild (Thread[Execution worker,5,main]) completed. Took 0.0 secs. [ ] Resolve mutations for :app:mergeDebugNativeDebugMetadata (Thread[Execution worker,5,main]) started. [ ] Resolve mutations for :app:mergeDebugNativeDebugMetadata (Thread[Execution worker,5,main]) completed. Took 0.0 secs. [ ] :app:mergeDebugNativeDebugMetadata (Thread[included builds,5,main]) started. [ ] > Task :app:mergeDebugNativeDebugMetadata NO-SOURCE [ ] Skipping task ':app:mergeDebugNativeDebugMetadata' as it has no source files and no previous output files. [ ] :app:mergeDebugNativeDebugMetadata (Thread[included builds,5,main]) completed. Took 0.017 secs. [ ] Resolve mutations for :app:compileFlutterBuildDebug (Thread[Execution worker,5,main]) started. [ ] Resolve mutations for :app:compileFlutterBuildDebug (Thread[Execution worker,5,main]) completed. Took 0.013 secs. [ ] :app:compileFlutterBuildDebug (Thread[included builds,5,main]) started. [+1991 ms] > Task :app:compileFlutterBuildDebug [ ] Caching disabled for task ':app:compileFlutterBuildDebug' because: [ ] Build cache is disabled [ ] Task ':app:compileFlutterBuildDebug' is not up-to-date because: [ ] No history is available. [ ] Starting process 'command 'I:\soft\installed\flutter\flutter\bin\flutter.bat''. Working directory: I:\work\flutter-projs\test_3_16_4 Command: I:\soft\installed\flutter\flutter\bin\flutter.bat --verbose assemble --no-version-check --depfile I:\work\flutter-projs\test_3_16_4\build\app\intermediates\flutter\debug/flutter_build.d --output I:\work\flutter-projs\test_3_16_4\build\app\intermediates\flutter\debug -dTargetFile=I:\work\flutter-projs\test_3_16_4\lib\main.dart -dTargetPlatform=android -dBuildMode=debug -dTrackWidgetCreation=true --DartDefines=RkxVVFRFUl9XRUJfQVVUT19ERVRFQ1Q9dHJ1ZQ==,RkxVVFRFUl9XRUJfQ0FOVkFTS0lUX1VSTD1odHRwczovL3d3dy5nc3RhdGljLmNvb S9mbHV0dGVyLWNhbnZhc2tpdC81NGE3MTQ1MzAzZjBkZDlkMGY5MzQyNGEyZTEyNGViNGFiZWY1MDkxLw== debug_android_application [ ] Successfully started process 'command 'I:\soft\installed\flutter\flutter\bin\flutter.bat'' [ ] [ +114 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. [ ] [ ] Artifact Instance of 'LegacyCanvasKitRemover' is not required, skipping update. [ ] [ +5 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. [ ] [ +153 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update. [ ] [ ] Artifact Instance of 'GradleWrapper' 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. [ ] [ ] Artifact Instance of 'LegacyCanvasKitRemover' 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. [ ] [ +59 ms] Initializing file store [ ] [ +36 ms] native_assets: Starting due to {} [ ] [ +4 ms] Skipping target: gen_localizations [ +4 ms] [ +14 ms] gen_dart_plugin_registrant: Starting due to {InvalidatedReasonKind.inputChanged: The following inputs have updated contents: I:\work\flutter-projs\test_3_16_4\.dart_tool\package_config_subset} [ ] [ +17 ms] Writing native_assets.yaml. [ ] [ +49 ms] Writing I:\work\flutter-projs\test_3_16_4\.dart_tool\flutter_build\df6bd06688d49798c69c59436f0c2b5d\native_assets.yaml done. [ ] [ +5 ms] native_assets: Complete [ ] [ +142 ms] gen_dart_plugin_registrant: Complete [ ] [ +2 ms] kernel_snapshot: Starting due to {} [ ] [ +5 ms] Embedding native assets mapping I:\work\flutter-projs\test_3_16_4\.dart_tool\flutter_build\df6bd06688d49798c69c59436f0c2b5d\native_assets.yaml in kernel. [ ] [ +11 ms] I:\soft\installed\flutter\flutter\bin\cache\dart-sdk\bin\dart.exe --disable-dart-dev I:\soft\installed\flutter\flutter\bin\cache\dart-sdk\bin\snapshots\frontend_server.dart.snapshot --sdk-root I:\soft\installed\flutter\flutter\bin\cache\artifacts\engine\common\flutter_patched_sdk/ --target=flutter --no-print-incremental-dependencies -DFLUTTER_WEB_AUTO_DETECT=true -DFLUTTER_WEB_CANVASKIT_URL=https://www.gstatic.com/flutter-canvaskit/54a7145303f0dd9d0f93424a2e124eb4abef5091/ -Ddart.vm.profile=false -Ddart.vm.product=false --enable-asserts --track-widget-creation --no-link-platform --packages I:\work\flutter-projs\test_3_16_4\.dart_tool\package_config.json --output-dill I:\work\flutter-projs\test_3_16_4\.dart_tool\flutter_build\df6bd06688d49798c69c59436f0c2b5d\app.dill --depfile I:\work\flutter-projs\test_3_16_4\.dart_tool\flutter_build\df6bd06688d49798c69c59436f0c2b5d\kernel_snapshot.d --incremental --initialize-from-dill I:\work\flutter-projs\test_3_16_4\.dart_tool\flutter_build\df6bd06688d49798c69c59436f0c2b5d\app.dill --native-assets I:\work\flutter-projs\test_3_16_4\.dart_tool\flutter_build\df6bd06688d49798c69c59436f0c2b5d\native_assets.yaml --verbosity=error package:test_3_16_4/main.dart [ +2 ms] [ +4 ms] Flutter assets will be downloaded from https://storage.flutter-io.cn. Make sure you trust this source! [+17567 ms] [+18623 ms] kernel_snapshot: Complete [ +907 ms] [ +889 ms] debug_android_application: Starting due to {} [ +535 ms] [ +495 ms] shaderc command: [I:\soft\installed\flutter\flutter\bin\cache\artifacts\engine\windows-x64\impellerc.exe, --runtime-stage-gles, --iplr, --sl=I:\work\flutter-projs\test_3_16_4\build\app\intermediates\flutter\debug\flutter_assets\shaders/ink_sparkle.frag, --spirv=I:\work\flutter-projs\test_3_16_4\build\app\intermediates\flutter\debug\flutter_assets\shaders/ink_sparkle.frag. spirv, --input=I:\soft\installed\flutter\flutter\packages\flutter\lib\src\material\shaders\ink_sparkle.frag, --input-type=frag, --include=I:\soft\installed\flutter\flutter\packages\flutter\lib\src\material\shaders, --include=I:\soft\installed\flutter\flutter\bin\cache\artifacts\engine\windows-x64\shader_lib] [ +958 ms] [+1008 ms] debug_android_application: Complete [+1199 ms] [+1130 ms] Persisting file store [ ] [ +15 ms] Done persisting file store [ ] [ +9 ms] build succeeded. [+3207 ms] > Task :app:compileFlutterBuildDebug FAILED [ ] :app:compileFlutterBuildDebug (Thread[included builds,5,main]) completed. Took 26.447 secs. [ +91 ms] FAILURE: Build failed with an exception. [ +3 ms] * What went wrong: [ +1 ms] Execution failed for task ':app:compileFlutterBuildDebug'. [ +13 ms] > Process 'command 'I:\soft\installed\flutter\flutter\bin\flutter.bat'' finished with non-zero exit value -1073741795 [ ] * Try: [ ] > Run with --debug option to get more log output. [ ] > Run with --scan to get full insights. [ ] * Exception is: [ ] org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':app:compileFlutterBuildDebug'. [ +1 ms] at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.lambda$executeIfValid$1(ExecuteActionsTaskExecuter.ja va:142) [ +9 ms] at org.gradle.internal.Try$Failure.ifSuccessfulOrElse(Try.java:282) [ +2 ms] at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeIfValid(ExecuteActionsTaskExecuter.java:140) [ +1 ms] at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:128) [ +5 ms] at org.gradle.api.internal.tasks.execution.CleanupStaleOutputsExecuter.execute(CleanupStaleOutputsExecuter.java:77) [ +10 ms] at org.gradle.api.internal.tasks.execution.FinalizePropertiesTaskExecuter.execute(FinalizePropertiesTaskExecuter.java:46) [ ] at org.gradle.api.internal.tasks.execution.ResolveTaskExecutionModeExecuter.execute(ResolveTaskExecutionModeExecuter.java:5 1) [ ] at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:57) [ ] at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:56) [ ] at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:36) [ +7 ms] at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.executeTask(EventFiringTaskExecuter.java:77) [ ] at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:55) [ ] at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:52) [ ] at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRun ner.java:204) [ ] at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRun ner.java:199) [ ] at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66) [ +2 ms] at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59) [ ] at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:157) [ ] at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59) [ +7 ms] at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:53) [ ] at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:73) [ +1 ms] at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter.execute(EventFiringTaskExecuter.java:52) [ ] at org.gradle.execution.plan.LocalTaskNodeExecutor.execute(LocalTaskNodeExecutor.java:69) [ ] at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.jav a:327) [ ] at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.jav a:314) [ ] at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecution Graph.java:307) [ ] at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecution Graph.java:293) [ ] at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.execute(DefaultPlanExecutor.java:417) [ ] at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.run(DefaultPlanExecutor.java:339) [ ] at org.gradle.execution.plan.DefaultPlanExecutor.process(DefaultPlanExecutor.java:96) [ ] at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph.executeWithServices(DefaultTaskExecutionGraph.java:140) [ +60 ms] at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph.execute(DefaultTaskExecutionGraph.java:125) [ +2 ms] at org.gradle.execution.SelectedTaskExecutionAction.execute(SelectedTaskExecutionAction.java:39) [ ] at org.gradle.execution.DryRunBuildExecutionAction.execute(DryRunBuildExecutionAction.java:51) [ ] at org.gradle.execution.BuildOperationFiringBuildWorkerExecutor$ExecuteTasks.call(BuildOperationFiringBuildWorkerExecutor.j ava:54) [ ] at org.gradle.execution.BuildOperationFiringBuildWorkerExecutor$ExecuteTasks.call(BuildOperationFiringBuildWorkerExecutor.j ava:43) [ +90 ms] at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRun ner.java:204) [ +3 ms] at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRun ner.java:199) [ ] at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66) [ ] at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59) [ +1 ms] at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:157) [ ] at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59) [ +15 ms] at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:53) [ +2 ms] at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:73) [ ] at org.gradle.execution.BuildOperationFiringBuildWorkerExecutor.execute(BuildOperationFiringBuildWorkerExecutor.java:40) [ ] at org.gradle.internal.build.DefaultBuildLifecycleController.lambda$executeTasks$7(DefaultBuildLifecycleController.java:161 ) [ +7 ms] at org.gradle.internal.model.StateTransitionController.doTransition(StateTransitionController.java:247) [ +3 ms] at org.gradle.internal.model.StateTransitionController.lambda$tryTransition$7(StateTransitionController.java:174) [ +5 ms] at org.gradle.internal.work.DefaultSynchronizer.withLock(DefaultSynchronizer.java:44) [ +6 ms] at org.gradle.internal.model.StateTransitionController.tryTransition(StateTransitionController.java:174) [ +1 ms] at org.gradle.internal.build.DefaultBuildLifecycleController.executeTasks(DefaultBuildLifecycleController.java:161) [ ] at org.gradle.internal.build.DefaultBuildWorkGraphController$DefaultBuildWorkGraph.runWork(DefaultBuildWorkGraphController. java:156) [ +1 ms] at org.gradle.internal.work.DefaultWorkerLeaseService.withLocks(DefaultWorkerLeaseService.java:249) [ ] at org.gradle.internal.work.DefaultWorkerLeaseService.runAsWorkerThread(DefaultWorkerLeaseService.java:109) [ ] at org.gradle.composite.internal.DefaultBuildController.doRun(DefaultBuildController.java:164) [ ] at org.gradle.composite.internal.DefaultBuildController.access$000(DefaultBuildController.java:45) [ ] at org.gradle.composite.internal.DefaultBuildController$BuildOpRunnable.run(DefaultBuildController.java:183) [ ] at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539) [ ] at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) [ ] at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64) [ ] at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:48) [ ] at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) [ ] at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) [ ] at java.base/java.lang.Thread.run(Thread.java:833) [ ] Caused by: org.gradle.process.internal.ExecException: Process 'command 'I:\soft\installed\flutter\flutter\bin\flutter.bat'' finished with non-zero exit value -1073741795 [ ] at org.gradle.process.internal.DefaultExecHandle$ExecResultImpl.assertNormalExitValue(DefaultExecHandle.java:415) [ ] at org.gradle.process.internal.DefaultExecAction.execute(DefaultExecAction.java:38) [ +3 ms] at org.gradle.process.internal.DefaultExecActionFactory.exec(DefaultExecActionFactory.java:202) [ +2 ms] at org.gradle.api.internal.project.DefaultProject.exec(DefaultProject.java:1171) [ +1 ms] at org.gradle.api.internal.project.DefaultProject.exec(DefaultProject.java:1166) [ ] at org.gradle.api.Project$exec$8.call(Unknown Source) [ +6 ms] at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47) [ ] at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:125) [ +9 ms] at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:139) [ +5 ms] at org.gradle.internal.classpath.Instrumented$ExecCallSite.call(Instrumented.java:740) [ ] at BaseFlutterTask.buildBundle(flutter.groovy:1350) [ ] at BaseFlutterTask$buildBundle.callCurrent(Unknown Source) [ ] at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:51) [ +1 ms] at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:171) [ ] at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:176) [ +15 ms] at FlutterTask.build(flutter.groovy:1481) [ ] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [ ] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) [ +4 ms] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [ +5 ms] at java.base/java.lang.reflect.Method.invoke(Method.java:568) [ ] at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:125) [ ] at org.gradle.api.internal.project.taskfactory.StandardTaskAction.doExecute(StandardTaskAction.java:58) [ ] at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:51) [ ] at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:29) [ ] at org.gradle.api.internal.tasks.execution.TaskExecution$3.run(TaskExecution.java:236) [ ] at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:29) [ ] at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:26) [ ] at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66) [ ] at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59) [ ] at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:157) [ ] at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59) [ ] at org.gradle.internal.operations.DefaultBuildOperationRunner.run(DefaultBuildOperationRunner.java:47) [ +1 ms] at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:68) [ ] at org.gradle.api.internal.tasks.execution.TaskExecution.executeAction(TaskExecution.java:221) [ ] at org.gradle.api.internal.tasks.execution.TaskExecution.executeActions(TaskExecution.java:204) [ ] at org.gradle.api.internal.tasks.execution.TaskExecution.executeWithPreviousOutputFiles(TaskExecution.java:187) [ +1 ms] at org.gradle.api.internal.tasks.execution.TaskExecution.execute(TaskExecution.java:165) [ ] at org.gradle.internal.execution.steps.ExecuteStep.executeInternal(ExecuteStep.java:89) [ +1 ms] at org.gradle.internal.execution.steps.ExecuteStep.access$000(ExecuteStep.java:40) [ ] at org.gradle.internal.execution.steps.ExecuteStep$1.call(ExecuteStep.java:53) [ ] at org.gradle.internal.execution.steps.ExecuteStep$1.call(ExecuteStep.java:50) [ ] at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRun ner.java:204) [ ] at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRun ner.java:199) [ ] at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66) [ ] at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59) [ ] at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:157) [ +1 ms] at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59) [ ] at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:53) [ ] at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:73) [ ] at org.gradle.internal.execution.steps.ExecuteStep.execute(ExecuteStep.java:50) [ ] at org.gradle.internal.execution.steps.ExecuteStep.execute(ExecuteStep.java:40) [ ] at org.gradle.internal.execution.steps.RemovePreviousOutputsStep.execute(RemovePreviousOutputsStep.java:68) [ ] at org.gradle.internal.execution.steps.RemovePreviousOutputsStep.execute(RemovePreviousOutputsStep.java:38) [ ] at org.gradle.internal.execution.steps.CancelExecutionStep.execute(CancelExecutionStep.java:41) [ ] at org.gradle.internal.execution.steps.TimeoutStep.executeWithoutTimeout(TimeoutStep.java:74) [ ] at org.gradle.internal.execution.steps.TimeoutStep.execute(TimeoutStep.java:55) [ ] at org.gradle.internal.execution.steps.CreateOutputsStep.execute(CreateOutputsStep.java:51) [ ] at org.gradle.internal.execution.steps.CreateOutputsStep.execute(CreateOutputsStep.java:29) [ ] at org.gradle.internal.execution.steps.CaptureStateAfterExecutionStep.executeDelegateBroadcastingChanges(CaptureStateAfterE xecutionStep.java:124) [ ] at org.gradle.internal.execution.steps.CaptureStateAfterExecutionStep.execute(CaptureStateAfterExecutionStep.java:80) [ +1 ms] at org.gradle.internal.execution.steps.CaptureStateAfterExecutionStep.execute(CaptureStateAfterExecutionStep.java:58) [ ] at org.gradle.internal.execution.steps.ResolveInputChangesStep.execute(ResolveInputChangesStep.java:48) [ ] at org.gradle.internal.execution.steps.ResolveInputChangesStep.execute(ResolveInputChangesStep.java:36) [ ] at org.gradle.internal.execution.steps.BuildCacheStep.executeWithoutCache(BuildCacheStep.java:181) [ ] at org.gradle.internal.execution.steps.BuildCacheStep.lambda$execute$1(BuildCacheStep.java:71) [ ] at org.gradle.internal.Either$Right.fold(Either.java:175) [ ] at org.gradle.internal.execution.caching.CachingState.fold(CachingState.java:59) [ ] at org.gradle.internal.execution.steps.BuildCacheStep.execute(BuildCacheStep.java:69) [ ] at org.gradle.internal.execution.steps.BuildCacheStep.execute(BuildCacheStep.java:47) [ ] at org.gradle.internal.execution.steps.StoreExecutionStateStep.execute(StoreExecutionStateStep.java:36) [ ] at org.gradle.internal.execution.steps.StoreExecutionStateStep.execute(StoreExecutionStateStep.java:25) [ ] at org.gradle.internal.execution.steps.RecordOutputsStep.execute(RecordOutputsStep.java:36) [ ] at org.gradle.internal.execution.steps.RecordOutputsStep.execute(RecordOutputsStep.java:22) [ ] at org.gradle.internal.execution.steps.SkipUpToDateStep.executeBecause(SkipUpToDateStep.java:110) [ ] at org.gradle.internal.execution.steps.SkipUpToDateStep.lambda$execute$2(SkipUpToDateStep.java:56) [ +1 ms] at java.base/java.util.Optional.orElseGet(Optional.java:364) [ ] at org.gradle.internal.execution.steps.SkipUpToDateStep.execute(SkipUpToDateStep.java:56) [ ] at org.gradle.internal.execution.steps.SkipUpToDateStep.execute(SkipUpToDateStep.java:38) [ ] at org.gradle.internal.execution.steps.ResolveChangesStep.execute(ResolveChangesStep.java:73) [ +1 ms] at org.gradle.internal.execution.steps.ResolveChangesStep.execute(ResolveChangesStep.java:44) [ ] at org.gradle.internal.execution.steps.legacy.MarkSnapshottingInputsFinishedStep.execute(MarkSnapshottingInputsFinishedStep .java:37) [ ] at org.gradle.internal.execution.steps.legacy.MarkSnapshottingInputsFinishedStep.execute(MarkSnapshottingInputsFinishedStep .java:27) [ ] at org.gradle.internal.execution.steps.ResolveCachingStateStep.execute(ResolveCachingStateStep.java:89) [ ] at org.gradle.internal.execution.steps.ResolveCachingStateStep.execute(ResolveCachingStateStep.java:50) [ ] at org.gradle.internal.execution.steps.ValidateStep.execute(ValidateStep.java:114) [ +4 ms] at org.gradle.internal.execution.steps.ValidateStep.execute(ValidateStep.java:57) [ +1 ms] at org.gradle.internal.execution.steps.CaptureStateBeforeExecutionStep.execute(CaptureStateBeforeExecutionStep.java:76) [ ] at org.gradle.internal.execution.steps.CaptureStateBeforeExecutionStep.execute(CaptureStateBeforeExecutionStep.java:50) [ ] at org.gradle.internal.execution.steps.SkipEmptyWorkStep.executeWithNoEmptySources(SkipEmptyWorkStep.java:254) [ ] at org.gradle.internal.execution.steps.SkipEmptyWorkStep.execute(SkipEmptyWorkStep.java:91) [ ] at org.gradle.internal.execution.steps.SkipEmptyWorkStep.execute(SkipEmptyWorkStep.java:56) [ ] at org.gradle.internal.execution.steps.RemoveUntrackedExecutionStateStep.execute(RemoveUntrackedExecutionStateStep.java:32) [ ] at org.gradle.internal.execution.steps.RemoveUntrackedExecutionStateStep.execute(RemoveUntrackedExecutionStateStep.java:21) [ +2 ms] at org.gradle.internal.execution.steps.legacy.MarkSnapshottingInputsStartedStep.execute(MarkSnapshottingInputsStartedStep.j ava:38) [ ] at org.gradle.internal.execution.steps.LoadPreviousExecutionStateStep.execute(LoadPreviousExecutionStateStep.java:43) [ ] at org.gradle.internal.execution.steps.LoadPreviousExecutionStateStep.execute(LoadPreviousExecutionStateStep.java:31) [ ] at org.gradle.internal.execution.steps.AssignWorkspaceStep.lambda$execute$0(AssignWorkspaceStep.java:40) [ ] at org.gradle.api.internal.tasks.execution.TaskExecution$4.withWorkspace(TaskExecution.java:281) [ ] at org.gradle.internal.execution.steps.AssignWorkspaceStep.execute(AssignWorkspaceStep.java:40) [ ] at org.gradle.internal.execution.steps.AssignWorkspaceStep.execute(AssignWorkspaceStep.java:30) [ +4 ms] at org.gradle.internal.execution.steps.IdentityCacheStep.execute(IdentityCacheStep.java:37) [ +8 ms] at org.gradle.internal.execution.steps.IdentityCacheStep.execute(IdentityCacheStep.java:27) [ +2 ms] at org.gradle.internal.execution.steps.IdentifyStep.execute(IdentifyStep.java:44) [ ] at org.gradle.internal.execution.steps.IdentifyStep.execute(IdentifyStep.java:33) [ +1 ms] at org.gradle.internal.execution.impl.DefaultExecutionEngine$1.execute(DefaultExecutionEngine.java:76) [ +4 ms] at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeIfValid(ExecuteActionsTaskExecuter.java:139) [ ] at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:128) [ ] at org.gradle.api.internal.tasks.execution.CleanupStaleOutputsExecuter.execute(CleanupStaleOutputsExecuter.java:77) [ ] at org.gradle.api.internal.tasks.execution.FinalizePropertiesTaskExecuter.execute(FinalizePropertiesTaskExecuter.java:46) [ ] at org.gradle.api.internal.tasks.execution.ResolveTaskExecutionModeExecuter.execute(ResolveTaskExecutionModeExecuter.java:5 1) [ +2 ms] at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:57) [ +6 ms] at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:56) [ ] at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:36) [ +5 ms] at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.executeTask(EventFiringTaskExecuter.java:77) [ +1 ms] at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:55) [ +1 ms] at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:52) [ ] at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRun ner.java:204) [ +1 ms] at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRun ner.java:199) [ +6 ms] at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66) [ ] at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59) [ ] at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:157) [ +1 ms] at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59) [ ] at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:53) [ ] at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:73) [ ] at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter.execute(EventFiringTaskExecuter.java:52) [ ] at org.gradle.execution.plan.LocalTaskNodeExecutor.execute(LocalTaskNodeExecutor.java:69) [ ] at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.jav a:327) [ ] at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.jav a:314) [ ] at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecution Graph.java:307) [ ] at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecution Graph.java:293) [ ] at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.execute(DefaultPlanExecutor.java:417) [ ] at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.run(DefaultPlanExecutor.java:339) [ ] at org.gradle.execution.plan.DefaultPlanExecutor.process(DefaultPlanExecutor.java:96) [ ] at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph.executeWithServices(DefaultTaskExecutionGraph.java:140) [ ] at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph.execute(DefaultTaskExecutionGraph.java:125) [ ] at org.gradle.execution.SelectedTaskExecutionAction.execute(SelectedTaskExecutionAction.java:39) [ ] at org.gradle.execution.DryRunBuildExecutionAction.execute(DryRunBuildExecutionAction.java:51) [ ] at org.gradle.execution.BuildOperationFiringBuildWorkerExecutor$ExecuteTasks.call(BuildOperationFiringBuildWorkerExecutor.j ava:54) [ +1 ms] at org.gradle.execution.BuildOperationFiringBuildWorkerExecutor$ExecuteTasks.call(BuildOperationFiringBuildWorkerExecutor.j ava:43) [ +1 ms] at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRun ner.java:204) [ ] at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRun ner.java:199) [ ] at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66) [ ] at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59) [ +2 ms] at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:157) [ ] at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59) [ ] at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:53) [ ] at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:73) [ ] at org.gradle.execution.BuildOperationFiringBuildWorkerExecutor.execute(BuildOperationFiringBuildWorkerExecutor.java:40) [ ] at org.gradle.internal.build.DefaultBuildLifecycleController.lambda$executeTasks$7(DefaultBuildLifecycleController.java:161 ) [ ] at org.gradle.internal.model.StateTransitionController.doTransition(StateTransitionController.java:247) [ ] at org.gradle.internal.model.StateTransitionController.lambda$tryTransition$7(StateTransitionController.java:174) [ ] at org.gradle.internal.work.DefaultSynchronizer.withLock(DefaultSynchronizer.java:44) [ ] at org.gradle.internal.model.StateTransitionController.tryTransition(StateTransitionController.java:174) [ ] at org.gradle.internal.build.DefaultBuildLifecycleController.executeTasks(DefaultBuildLifecycleController.java:161) [ ] at org.gradle.internal.build.DefaultBuildWorkGraphController$DefaultBuildWorkGraph.runWork(DefaultBuildWorkGraphController. java:156) [ ] at org.gradle.internal.work.DefaultWorkerLeaseService.withLocks(DefaultWorkerLeaseService.java:249) [ ] at org.gradle.internal.work.DefaultWorkerLeaseService.runAsWorkerThread(DefaultWorkerLeaseService.java:109) [ ] at org.gradle.composite.internal.DefaultBuildController.doRun(DefaultBuildController.java:164) [ ] at org.gradle.composite.internal.DefaultBuildController.access$000(DefaultBuildController.java:45) [ ] at org.gradle.composite.internal.DefaultBuildController$BuildOpRunnable.run(DefaultBuildController.java:183) [ ] at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539) [ +17 ms] at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) [ ] at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64) [ ] at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:48) [ ] at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) [ ] at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) [ +4 ms] at java.base/java.lang.Thread.run(Thread.java:833) [ ] * Get more help at https://help.gradle.org [ ] BUILD FAILED in 1m 14s [ ] 5 actionable tasks: 1 executed, 4 up-to-date [ ] Watched directory hierarchies: [I:\soft\installed\flutter\flutter\packages\flutter_tools\gradle] ```

For Windows:

Windows

```console flutter run -v [ +242 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update. [ +1 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. [ ] Artifact Instance of 'LegacyCanvasKitRemover' is not required, skipping update. [ +6 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update. [ +3 ms] 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. [ +7 ms] Flutter assets will be downloaded from https://storage.flutter-io.cn. Make sure you trust this source! [ +106 ms] executing: I:\soft\android-sdk\platform-tools\adb.exe devices -l [ +94 ms] List of devices attached [ +11 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. [ +13 ms] 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. [ +144 ms] Connected devices: [ +58 ms] Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version 10.0.19045.3803] [ +1 ms] Chrome (web) • chrome • web-javascript • Google Chrome 120.0.6099.72 [ ] Edge (web) • edge • web-javascript • Microsoft Edge 120.0.2210.77 [ +1 ms] [1]: Windows (windows) [ ] [2]: Chrome (chrome) [ ] [3]: Edge (edge) [ +1 ms] Please choose one (or "q" to quit) [ ] : [+3168 ms] 1 [ +42 ms] Skipping pub get: version match. [ +326 ms] Generating I:\work\flutter-projs\test_3_16_4\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java [ +163 ms] Initializing file store [ +15 ms] Skipping target: gen_localizations [ +7 ms] gen_dart_plugin_registrant: Starting due to {InvalidatedReasonKind.inputChanged: The following inputs have updated contents: I:\work\flutter-projs\test_3_16_4\.dart_tool\package_config_subset} [ +109 ms] gen_dart_plugin_registrant: Complete [ +2 ms] Skipping target: _composite [ +2 ms] complete [ +7 ms] Launching lib\main.dart on Windows in debug mode... [ +5 ms] I:\soft\installed\flutter\flutter\bin\cache\dart-sdk\bin\dart.exe --disable-dart-dev I:\soft\installed\flutter\flutter\bin\cache\dart-sdk\bin\snapshots\frontend_server.dart.snapshot --sdk-root I:\soft\installed\flutter\flutter\bin\cache\artifacts\engine\common\flutter_patched_sdk/ --incremental --target=flutter --experimental-emit-debug-metadata -DFLUTTER_WEB_AUTO_DETECT=true -DFLUTTER_WEB_CANVASKIT_URL=https://www.gstatic.com/flutter-canvaskit/54a7145303f0dd9d0f93424a2e124eb4abef5091/ --output-dill C:\Users\Shuai\AppData\Local\Temp\flutter_tools.605b1a3\flutter_tool.7e6f22eb\app.dill --packages I:\work\flutter-projs\test_3_16_4\.dart_tool\package_config.json -Ddart.vm.profile=false -Ddart.vm.product=false --enable-asserts --track-widget-creation --filesystem-scheme org-dartlang-root --initialize-from-dill build\59906ac2072ea23d943f4334a0ae780f.cache.dill.track.dill --verbosity=error --enable-experiment=alternative-invalidation-strategy [ +66 ms] executing: C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe -format json -products * -utf8 -latest -version 16 -requires Microsoft.VisualStudio.Workload.NativeDesktop Microsoft.VisualStudio.Component.VC.Tools.x86.x64 Microsoft.VisualStudio.Component.VC.CMake.Project [ +115 ms] Exit code 0 from: C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe -format json -products * -utf8 -latest -version 16 -requires Microsoft.VisualStudio.Workload.NativeDesktop Microsoft.VisualStudio.Component.VC.Tools.x86.x64 Microsoft.VisualStudio.Component.VC.CMake.Project [ +1 ms] [] [ +1 ms] executing: C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe -format json -products * -utf8 -latest -version 16 -requires Microsoft.VisualStudio.Workload.VCTools Microsoft.VisualStudio.Component.VC.Tools.x86.x64 Microsoft.VisualStudio.Component.VC.CMake.Project [ +65 ms] Exit code 0 from: C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe -format json -products * -utf8 -latest -version 16 -requires Microsoft.VisualStudio.Workload.VCTools Microsoft.VisualStudio.Component.VC.Tools.x86.x64 Microsoft.VisualStudio.Component.VC.CMake.Project [ +1 ms] [ { "instanceId": "5d2cf0d4", "installDate": "2023-05-24T00:25:09Z", "installationName": "VisualStudio/17.6.1+33717.318", "installationPath": "i:\\soft\\Microsoft Visual Studio\\2022\\BuildTools", "installationVersion": "17.6.33717.318", "productId": "Microsoft.VisualStudio.Product.BuildTools", "productPath": "i:\\soft\\Microsoft Visual Studio\\2022\\BuildTools\\Common7\\Tools\\LaunchDevCmd.bat", "state": 4294967295, "isComplete": true, "isLaunchable": true, "isPrerelease": false, "isRebootRequired": false, "displayName": "Visual Studio Build Tools 2022", "description": "The Visual Studio Build Tools allows you to build native and managed MSBuild-based applications without requiring the Visual Studio IDE. There are options to install the Visual C++ compilers and libraries, MFC, ATL, and C++/CLI support.", "channelId": "VisualStudio.17.Release", "channelUri": "https://aka.ms/vs/17/release/channel", "enginePath": "C:\\Program Files (x86)\\Microsoft Visual Studio\\Installer\\resources\\app\\ServiceHub\\Services\\Microsoft.VisualStudio.Setup.Service", "installedChannelId": "VisualStudio.17.Release", "installedChannelUri": "https://aka.ms/vs/17/release/channel", "releaseNotes": "https://docs.microsoft.com/en-us/visualstudio/releases/2022/release-notes-v17.6#17.6.1", "thirdPartyNotices": "https://go.microsoft.com/fwlink/?LinkId=661288", "updateDate": "2023-05-24T00:25:09.7033841Z", "catalog": { "buildBranch": "d17.6", "buildVersion": "17.6.33717.318", "id": "VisualStudio/17.6.1+33717.318", "localBuild": "build-lab", "manifestName": "VisualStudio", "manifestType": "installer", "productDisplayVersion": "17.6.1", "productLine": "Dev17", "productLineVersion": "2022", "productMilestone": "RTW", "productMilestoneIsPreRelease": "False", "productName": "Visual Studio", "productPatchVersion": "1", "productPreReleaseMilestoneSuffix": "1.0", "productSemanticVersion": "17.6.1+33717.318", "requiredEngineVersion": "3.6.2115.31769" }, "properties": { "campaignId": "", "channelManifestId": "VisualStudio.17.Release/17.6.1+33717.318", "nickname": "", "setupEngineFilePath": "C:\\Program Files (x86)\\Microsoft Visual Studio\\Installer\\setup.exe" } } ] [ +28 ms] Building Windows application... [ +12 ms] <- compile package:test_3_16_4/main.dart [ +56 ms] executing: i:\soft\Microsoft Visual Studio\2022\BuildTools\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe -S I:\work\flutter-projs\test_3_16_4\windows -B build\windows\x64 -G Visual Studio 17 2022 -A x64 -DFLUTTER_TARGET_PLATFORM=windows-x64 [+1021 ms] -- Selecting Windows SDK version 10.0.22000.0 to target Windows 10.0.19045. [+10636 ms] -- The CXX compiler identification is MSVC 19.36.32532.0 [ +493 ms] -- Detecting CXX compiler ABI info [+1913 ms] -- Detecting CXX compiler ABI info - done [ +40 ms] -- Check for working CXX compiler: i:/soft/Microsoft Visual Studio/2022/BuildTools/VC/Tools/MSVC/14.36.32532/bin/Hostx64/x64/cl.exe - skipped [ +27 ms] -- Detecting CXX compile features [ +23 ms] -- Detecting CXX compile features - done [ +28 ms] -- Configuring done (13.3s) [ +111 ms] -- Generating done (0.1s) [ +38 ms] -- Build files have been written to: I:/work/flutter-projs/test_3_16_4/build/windows/x64 [ +12 ms] executing: i:\soft\Microsoft Visual Studio\2022\BuildTools\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe --build build\windows\x64 --config Debug --target INSTALL --verbose [ +228 ms] MSBuild version 17.6.3+07e294721 for .NET Framework [ +70 ms] Build started 12/20/2023 3:31:24 PM. [ +399 ms] Project "I:\work\flutter-projs\test_3_16_4\build\windows\x64\INSTALL.vcxproj" on node 1 (default targets). [ +1 ms] Project "I:\work\flutter-projs\test_3_16_4\build\windows\x64\INSTALL.vcxproj" (1) is building "I:\work\flutter-projs\test_3_16_4\build\windows\x64\ZERO_CHECK.vcxproj" (2) on node 1 (default targets). [ ] PrepareForBuild: [ ] Creating directory "x64\Debug\ZERO_CHECK\". [ +4 ms] Creating directory "x64\Debug\ZERO_CHECK\ZERO_CHECK.tlog\". [ +5 ms] InitializeBuildStatus: [ +2 ms] Creating "x64\Debug\ZERO_CHECK\ZERO_CHECK.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified. [ +166 ms] CustomBuild: [ ] Checking Build System [ +120 ms] FinalizeBuildStatus: [ ] Deleting file "x64\Debug\ZERO_CHECK\ZERO_CHECK.tlog\unsuccessfulbuild". [ ] Touching "x64\Debug\ZERO_CHECK\ZERO_CHECK.tlog\ZERO_CHECK.lastbuildstate". [ +7 ms] Done Building Project "I:\work\flutter-projs\test_3_16_4\build\windows\x64\ZERO_CHECK.vcxproj" (default targets). [ +196 ms] Project "I:\work\flutter-projs\test_3_16_4\build\windows\x64\INSTALL.vcxproj" (1) is building "I:\work\flutter-projs\test_3_16_4\build\windows\x64\ALL_BUILD.vcxproj" (3) on node 1 (default targets). [ ] Project "I:\work\flutter-projs\test_3_16_4\build\windows\x64\ALL_BUILD.vcxproj" (3) is building "I:\work\flutter-projs\test_3_16_4\build\windows\x64\flutter\flutter_wrapper_app.vcxproj" (4) on node 1 (default targets). [ +1 ms] Project "I:\work\flutter-projs\test_3_16_4\build\windows\x64\flutter\flutter_wrapper_app.vcxproj" (4) is building "I:\work\flutter-projs\test_3_16_4\build\windows\x64\flutter\flutter_assemble.vcxproj" (5) on node 1 (default targets). [ ] PrepareForBuild: [ ] Creating directory "x64\Debug\flutter_assemble\". [ ] Creating directory "x64\Debug\flutter_assemble\flutter_assemble.tlog\". [ +2 ms] InitializeBuildStatus: [ ] Creating "x64\Debug\flutter_assemble\flutter_assemble.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified. [ ] ComputeCustomBuildOutput: [ +1 ms] Creating directory "I:\work\flutter-projs\test_3_16_4\windows\flutter\ephemeral\cpp_client_wrapper\". [ +1 ms] CustomBuild: [ +1 ms] "The build of 'I:\work\flutter-projs\test_3_16_4\build\windows\x64\CMakeFiles\811aa4b1dd1649c7bc09e0a99f375369\flutter_assemble.rule' depends on 'I:\WORK\FLUTTER-PROJS\TEST_3_16_4\WINDOWS\FLUTTER\EPHEMERAL\FLUTTER_WINDOWS.DLL' which is produced by the build of 'I:\work\flutter-projs\test_3_16_4\build\windows\x64\CMakeFiles\5a1a398bf32a0f813e69ae86eabfab0c\flutter_windows.dll.rul e'. The items cannot be built in parallel." [ +69 ms] Generating I:/work/flutter-projs/test_3_16_4/windows/flutter/ephemeral/flutter_windows.dll, I:/work/flutter-projs/test_3_16_4/windows/flutter/ephemeral/flutter_export.h, I:/work/flutter-projs/test_3_16_4/windows/flutter/ephemeral/flutter_windows.h, I:/work/flutter-projs/test_3_16_4/windows/flutter/ephemeral/flutter_messenger.h, I:/work/flutter-projs/test_3_16_4/windows/flutter/ephemeral/flutter_plugin_registrar.h, I:/work/flutter-projs/test_3_16_4/windows/flutter/ephemeral/flutter_texture_registrar.h, I:/work/flutter-projs/test_3_16_4/windows/flutter/ephemeral/cpp_client_wrapper/core_implementations.cc, I:/work/flutter-projs/test_3_16_4/windows/flutter/ephemeral/cpp_client_wrapper/standard_codec.cc, I:/work/flutter-projs/test_3_16_4/windows/flutter/ephemeral/cpp_client_wrapper/plugin_registrar.cc, I:/work/flutter-projs/test_3_16_4/windows/flutter/ephemeral/cpp_client_wrapper/flutter_engine.cc, I:/work/flutter-projs/test_3_16_4/windows/flutter/ephemeral/cpp_client_wrapper/flutter_view_controller.cc, _phony_ [+1584 ms] [ +148 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update. [ +59 ms] [ ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update. [ +10 ms] [ ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update. [ +3 ms] [ ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update. [ ] [ ] Artifact Instance of 'LegacyCanvasKitRemover' is not required, skipping update. [ +4 ms] [ +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. [ ] [ +12 ms] Flutter assets will be downloaded from https://storage.flutter-io.cn. Make sure you trust this source! [ +113 ms] [ +186 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update. [ +1 ms] [ ] Artifact Instance of 'GradleWrapper' is not required, skipping update. [ ] [ ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update. [ +12 ms] [ +4 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update. [ +3 ms] [ ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update. [ ] [ +2 ms] Artifact Instance of 'FlutterWebSdk' is not required, skipping update. [ ] [ +1 ms] Artifact Instance of 'LegacyCanvasKitRemover' is not required, skipping update. [ ] [ ] Artifact Instance of 'FlutterSdk' is not required, skipping update. [ ] [ +6 ms] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update. [ +3 ms] [ ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update. [ +3 ms] [ ] 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. [ +3 ms] [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update. [ +7 ms] [ ] 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. [ +42 ms] [ +70 ms] Initializing file store [ +39 ms] [ +39 ms] native_assets: Starting due to {} [ +17 ms] [ +4 ms] Skipping target: gen_localizations [ +7 ms] [ +19 ms] gen_dart_plugin_registrant: Starting due to {InvalidatedReasonKind.inputChanged: The following inputs have updated contents: I:\work\flutter-projs\test_3_16_4\.dart_tool\package_config_subset} [ +5 ms] [ +5 ms] unpack_windows: Starting due to {} [+4947 ms] [+4947 ms] unpack_windows: Complete [+7601 ms] [+7601 ms] Writing native_assets.yaml. [ +24 ms] [ +24 ms] Writing I:\work\flutter-projs\test_3_16_4\.dart_tool\flutter_build\2a455ddd09b2641df4afbcffe5a23564\native_assets.yaml done. [ +4 ms] [ +4 ms] native_assets: Complete [ +144 ms] [ +144 ms] gen_dart_plugin_registrant: Complete [ +2 ms] [ +2 ms] kernel_snapshot: Starting due to {} [ +3 ms] [ +3 ms] Embedding native assets mapping I:\work\flutter-projs\test_3_16_4\.dart_tool\flutter_build\2a455ddd09b2641df4afbcffe5a23564\native_assets.yaml in kernel. [ +8 ms] [ +7 ms] I:\soft\installed\flutter\flutter\bin\cache\dart-sdk\bin\dart.exe --disable-dart-dev I:\soft\installed\flutter\flutter\bin\cache\dart-sdk\bin\snapshots\frontend_server.dart.snapshot --sdk-root I:\soft\installed\flutter\flutter\bin\cache\artifacts\engine\common\flutter_patched_sdk/ --target=flutter --no-print-incremental-dependencies -DFLUTTER_WEB_AUTO_DETECT=true -DFLUTTER_WEB_CANVASKIT_URL=https://www.gstatic.com/flutter-canvaskit/54a7145303f0dd9d0f93424a2e124eb4abef5091/ -Ddart.vm.profile=false -Ddart.vm.product=false --enable-asserts --track-widget-creation --packages I:\work\flutter-projs\test_3_16_4\.dart_tool\package_config.json --output-dill I:\work\flutter-projs\test_3_16_4\.dart_tool\flutter_build\2a455ddd09b2641df4afbcffe5a23564\app.dill --depfile I:\work\flutter-projs\test_3_16_4\.dart_tool\flutter_build\2a455ddd09b2641df4afbcffe5a23564\kernel_snapshot.d --incremental --initialize-from-dill I:\work\flutter-projs\test_3_16_4\.dart_tool\flutter_build\2a455ddd09b2641df4afbcffe5a23564\app.dill --native-assets I:\work\flutter-projs\test_3_16_4\.dart_tool\flutter_build\2a455ddd09b2641df4afbcffe5a23564\native_assets.yaml --verbosity=error package:test_3_16_4/main.dart [+18899 ms] [+18899 ms] kernel_snapshot: Complete [ +869 ms] [ +869 ms] debug_bundle_windows_assets: Starting due to {} [ +204 ms] [ +204 ms] shaderc command: [I:\soft\installed\flutter\flutter\bin\cache\artifacts\engine\windows-x64\impellerc.exe, --sksl, --iplr, --sl=I:\work\flutter-projs\test_3_16_4\build\flutter_assets\shaders/ink_sparkle.frag, --spirv=I:\work\flutter-projs\test_3_16_4\build\flutter_assets\shaders/ink_sparkle.frag.spirv, --input=I:\soft\installed\flutter\flutter\packages\flutter\lib\src\material\shaders\ink_sparkle.frag, --input-type=frag, --include=I:\soft\installed\flutter\flutter\packages\flutter\lib\src\material\shaders, --include=I:\soft\installed\flutter\flutter\bin\cache\artifacts\engine\windows-x64\shader_lib] [ +647 ms] [ +647 ms] debug_bundle_windows_assets: Complete [ +865 ms] [ +865 ms] Persisting file store [ +12 ms] [ +13 ms] Done persisting file store [ +10 ms] [ +10 ms] build succeeded. [+2124 ms] i:\soft\Microsoft Visual Studio\2022\BuildTools\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(248,5): error MSB8066: Custom build for 'I:\work\flutter-projs\test_3_16_4\build\windows\x64\CMakeFiles\5a1a398bf32a0f813e69ae86eabfab0c\flutter_windows.dll.rul e;I:\work\flutter-projs\test_3_16_4\build\windows\x64\CMakeFiles\811aa4b1dd1649c7bc09e0a99f375369\flutter_assemble.rule; I:\work\flutter-projs\test_3_16_4\windows\flutter\CMakeLists.txt' exited with code 1. [I:\work\flutter-projs\test_3_16_4\build\windows\x64\flutter\flutter_assemble.vcxproj] [ +3 ms] Done Building Project "I:\work\flutter-projs\test_3_16_4\build\windows\x64\flutter\flutter_assemble.vcxproj" (default targets) -- FAILED. [ +2 ms] Done Building Project "I:\work\flutter-projs\test_3_16_4\build\windows\x64\flutter\flutter_wrapper_app.vcxproj" (default targets) -- FAILED. [ +105 ms] Done Building Project "I:\work\flutter-projs\test_3_16_4\build\windows\x64\ALL_BUILD.vcxproj" (default targets) -- FAILED. [ ] Done Building Project "I:\work\flutter-projs\test_3_16_4\build\windows\x64\INSTALL.vcxproj" (default targets) -- FAILED. [ +4 ms] Build FAILED. [ +7 ms] "I:\work\flutter-projs\test_3_16_4\build\windows\x64\INSTALL.vcxproj" (default target) (1) -> [ ] "I:\work\flutter-projs\test_3_16_4\build\windows\x64\ALL_BUILD.vcxproj" (default target) (3) -> [ ] "I:\work\flutter-projs\test_3_16_4\build\windows\x64\flutter\flutter_wrapper_app.vcxproj" (default target) (4) -> [ ] "I:\work\flutter-projs\test_3_16_4\build\windows\x64\flutter\flutter_assemble.vcxproj" (default target) (5) -> [ ] (CustomBuild target) -> [ +3 ms] i:\soft\Microsoft Visual Studio\2022\BuildTools\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(248,5): error MSB8066: Custom build for 'I:\work\flutter-projs\test_3_16_4\build\windows\x64\CMakeFiles\5a1a398bf32a0f813e69ae86eabfab0c\flutter_windows.dll.rul e;I:\work\flutter-projs\test_3_16_4\build\windows\x64\CMakeFiles\811aa4b1dd1649c7bc09e0a99f375369\flutter_assemble.rule; I:\work\flutter-projs\test_3_16_4\windows\flutter\CMakeLists.txt' exited with code 1. [I:\work\flutter-projs\test_3_16_4\build\windows\x64\flutter\flutter_assemble.vcxproj] [ +1 ms] 0 Warning(s) [ ] 1 Error(s) [ ] Time Elapsed 00:00:39.40 ```

And for Web:

Web

```console flutter run -v [ +237 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update. [ +1 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. [ ] Artifact Instance of 'LegacyCanvasKitRemover' 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. [ +1 ms] 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. [ +5 ms] Flutter assets will be downloaded from https://storage.flutter-io.cn. Make sure you trust this source! [ +99 ms] executing: I:\soft\android-sdk\platform-tools\adb.exe devices -l [ +104 ms] List of devices attached [ +13 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. [ +36 ms] 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. [ +182 ms] Connected devices: [ +61 ms] Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version 10.0.19045.3803] [ +1 ms] Chrome (web) • chrome • web-javascript • Google Chrome 120.0.6099.72 [ ] Edge (web) • edge • web-javascript • Microsoft Edge 120.0.2210.77 [ +1 ms] [1]: Windows (windows) [ ] [2]: Chrome (chrome) [ ] [3]: Edge (edge) [ +1 ms] Please choose one (or "q" to quit) [ ] : [+23954 ms] 3 [ +31 ms] Skipping pub get: version match. [ +317 ms] Generating I:\work\flutter-projs\test_3_16_4\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java [ +140 ms] Launching lib\main.dart on Edge in debug mode... [ +209 ms] Initializing file store [ +14 ms] Skipping target: gen_localizations [ +7 ms] Skipping target: gen_dart_plugin_registrant [ +2 ms] _composite: Starting due to {} [ ] _composite: Complete [ +3 ms] complete [ +2 ms] Updating assets [ +395 ms] Waiting for connection from debug service on Edge... [ +418 ms] shaderc command: [I:\soft\installed\flutter\flutter\bin\cache\artifacts\engine\windows-x64\impellerc.exe, --sksl, --iplr, --json, --sl=build\flutter_assets\shaders/ink_sparkle.frag, --spirv=build\flutter_assets\shaders/ink_sparkle.frag.spirv, --input=I:\soft\installed\flutter\flutter\packages\flutter\lib\src\material\shaders\ink_sparkle.frag, --input-type=frag, --include=I:\soft\installed\flutter\flutter\packages\flutter\lib\src\material\shaders, --include=I:\soft\installed\flutter\flutter\bin\cache\artifacts\engine\windows-x64\shader_lib] [ +691 ms] <- reset [ +7 ms] I:\soft\installed\flutter\flutter\bin\cache\dart-sdk\bin\dart.exe --disable-dart-dev I:\soft\installed\flutter\flutter\bin\cache\dart-sdk\bin\snapshots\frontend_server.dart.snapshot --sdk-root I:\soft\installed\flutter\flutter\bin\cache\flutter_web_sdk/ --incremental --target=dartdevc --experimental-emit-debug-metadata -DFLUTTER_WEB_AUTO_DETECT=true -DFLUTTER_WEB_CANVASKIT_URL=https://www.gstatic.com/flutter-canvaskit/54a7145303f0dd9d0f93424a2e124eb4abef5091/ --output-dill C:\Users\Shuai\AppData\Local\Temp\flutter_tools.dab9765b\flutter_tool.f2150e49\app.dill --packages I:\work\flutter-projs\test_3_16_4\.dart_tool\package_config.json -Ddart.vm.profile=false -Ddart.vm.product=false --enable-asserts --track-widget-creation --filesystem-root C:\Users\Shuai\AppData\Local\Temp\flutter_tools.dab9765b\flutter_tools.5ebb551f --filesystem-scheme org-dartlang-app --initialize-from-dill build\dd790fb8357d75a1d04c81b76e13c123.cache.dill.track.dill --platform file:///I:/soft/installed/flutter/flutter/bin/cache/flutter_web_sdk/kernel/ddc_outline_sound.dill --verbosity=error --sound-null-safety [ +14 ms] <- compile org-dartlang-app:/web_entrypoint.dart ```

ProZhar commented 7 months ago

Its all start from 3.13.9 My issues the same like this #139792

I confirm for new version 3.16.5

Create and run new project - log ```console PS C:\src> flutter doctor -v [✓] Flutter (Channel stable, 3.16.5, on Microsoft Windows [Version 10.0.19045.3803], locale uk-UA) • Flutter version 3.16.5 on channel stable at C:\src\flutter_windows_3.16.5-stable\flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision 78666c8dc5 (2 days ago), 2023-12-19 16:14:14 -0800 • Engine revision 3f3e560236 • Dart version 3.2.3 • DevTools version 2.28.4 [✓] Windows Version (Installed version of Windows is version 10 or higher) [✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0) • Android SDK at C:\Users\prozhar\Android\sdk • Platform android-34, build-tools 34.0.0 • ANDROID_HOME = C:\Users\prozhar\Android\sdk • Java binary at: C:\Users\prozhar\AppData\Local\Programs\Android Studio\jbr\bin\java • Java version OpenJDK Runtime Environment (build 17.0.7+0-b2043.56-10550314) • All Android licenses accepted. • Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe [✓] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.8.3) • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community • Visual Studio Community 2022 version 17.8.34330.188 • Windows 10 SDK version 10.0.22621.0 [✓] Android Studio (version 2023.1) • Android Studio at C:\Users\prozhar\AppData\Local\Programs\Android Studio • Flutter plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/6351-dart • Java version OpenJDK Runtime Environment (build 17.0.7+0-b2043.56-10550314) [✓] VS Code (version 1.85.1) • VS Code at C:\Users\prozhar\AppData\Local\Programs\Microsoft VS Code [✓] Connected device (3 available) • Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version 10.0.19045.3803] • Chrome (web) • chrome • web-javascript • Google Chrome 120.0.6099.111 • Edge (web) • edge • web-javascript • Microsoft Edge 120.0.2210.77 [✓] Network resources • All expected network resources are available. • No issues found! PS C:\src> flutter create issue140138 Creating project issue140138... Resolving dependencies in issue140138... (1.7s) Got dependencies in issue140138. Wrote 129 files. All done! You can find general documentation for Flutter at: https://docs.flutter.dev/ Detailed API documentation is available at: https://api.flutter.dev/ If you prefer video documentation, consider: https://www.youtube.com/c/flutterdev In order to run your application, type: Your application code is in issue140138\lib\main.dart. PS C:\src> cd issue140138 PS C:\src\issue140138> flutter run -d windows -v [ +351 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update. [ +2 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. [ ] Artifact Instance of 'LegacyCanvasKitRemover' is not required, skipping update. [ +6 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. [ +129 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update. [ +15 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. [ ] Artifact Instance of 'LegacyCanvasKitRemover' is not required, skipping update. [ +9 ms] 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. [ +168 ms] Skipping pub get: version match. [ +445 ms] Generating C:\src\issue140138\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java [ +246 ms] Initializing file store [ +21 ms] Skipping target: gen_localizations [ +14 ms] gen_dart_plugin_registrant: Starting due to {InvalidatedReasonKind.inputChanged: The following inputs have updated contents: C:\src\issue140138\.dart_tool\package_config_subset} [ +258 ms] gen_dart_plugin_registrant: Complete [ +4 ms] _composite: Starting due to {} [ ] _composite: Complete [ +6 ms] complete [ +12 ms] Launching lib\main.dart on Windows in debug mode... [ +7 ms] C:\src\flutter_windows_3.16.5-stable\flutter\bin\cache\dart-sdk\bin\dart.exe --disable-dart-dev C:\src\flutter_windows_3.16.5-stable\flutter\bin\cache\dart-sdk\bin\snapshots\frontend_server.dart.snapshot --sdk-root C:\src\flutter_windows_3.16.5-stable\flutter\bin\cache\artifacts\engine\common\flutter_patched_sdk/ --incremental --target=flutter --experimental-emit-debug-metadata -DFLUTTER_WEB_AUTO_DETECT=true -DFLUTTER_WEB_CANVASKIT_URL=https://www.gstatic.com/flutter-canvaskit/3f3e560236539b7e2702f5ac790b2a4691b32d49/ --output-dill C:\Users\prozhar\AppData\Local\Temp\flutter_tools.9ee91db\flutter_tool.d72aa45\app.dill --packages C:\src\issue140138\.dart_tool\package_config.json -Ddart.vm.profile=false -Ddart.vm.product=false --enable-asserts --track-widget-creation --filesystem-scheme org-dartlang-root --initialize-from-dill build\dd704641fca0f13458e044aee43be5d8.cache.dill.track.dill --verbosity=error --enable-experiment=alternative-invalidation-strategy [ +95 ms] executing: C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe -format json -products * -utf8 -latest -version 16 -requires Microsoft.VisualStudio.Workload.NativeDesktop Microsoft.VisualStudio.Component.VC.Tools.x86.x64 Microsoft.VisualStudio.Component.VC.CMake.Project [ +100 ms] Exit code 0 from: C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe -format json -products * -utf8 -latest -version 16 -requires Microsoft.VisualStudio.Workload.NativeDesktop Microsoft.VisualStudio.Component.VC.Tools.x86.x64 Microsoft.VisualStudio.Component.VC.CMake.Project [ +1 ms] [ { "instanceId": "4d833ac0", "installDate": "2023-11-17T11:04:11Z", "installationName": "VisualStudio/17.8.3+34330.188", "installationPath": "C:\\Program Files\\Microsoft Visual Studio\\2022\\Community", "installationVersion": "17.8.34330.188", "productId": "Microsoft.VisualStudio.Product.Community", "productPath": "C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\Common7\\IDE\\devenv.exe", "state": 4294967295, "isComplete": true, "isLaunchable": true, "isPrerelease": false, "isRebootRequired": false, "displayName": "Visual Studio Community 2022", "description": "Powerful IDE, free for students, open-source contributors, and individuals", "channelId": "VisualStudio.17.Release", "channelUri": "https://aka.ms/vs/17/release/channel", "enginePath": "C:\\Program Files (x86)\\Microsoft Visual Studio\\Installer\\resources\\app\\ServiceHub\\Services\\Microsoft.VisualStudio.Setup.Service", "installedChannelId": "VisualStudio.17.Release", "installedChannelUri": "https://aka.ms/vs/17/release/channel", "releaseNotes": "https://docs.microsoft.com/en-us/visualstudio/releases/2022/release-notes-v17.8#17.8.3", "resolvedInstallationPath": "C:\\Program Files\\Microsoft Visual Studio\\2022\\Community", "thirdPartyNotices": "https://go.microsoft.com/fwlink/?LinkId=661288", "updateDate": "2023-12-08T12:59:08.6466573Z", "catalog": { "buildBranch": "d17.8", "buildVersion": "17.8.34330.188", "id": "VisualStudio/17.8.3+34330.188", "localBuild": "build-lab", "manifestName": "VisualStudio", "manifestType": "installer", "productDisplayVersion": "17.8.3", "productLine": "Dev17", "productLineVersion": "2022", "productMilestone": "RTW", "productMilestoneIsPreRelease": "False", "productName": "Visual Studio", "productPatchVersion": "3", "productPreReleaseMilestoneSuffix": "1.0", "productSemanticVersion": "17.8.3+34330.188", "requiredEngineVersion": "3.8.2112.61926" }, "properties": { "campaignId": "2030:f369fbfafd794fd0aaf7ec8681d4a869", "channelManifestId": "VisualStudio.17.Release/17.8.3+34330.188", "nickname": "", "setupEngineFilePath": "C:\\Program Files (x86)\\Microsoft Visual Studio\\Installer\\setup.exe" } } ] [ +10 ms] Building Windows application... [ +16 ms] <- compile package:issue140138/main.dart [ +35 ms] executing: C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe -S C:\src\issue140138\windows -B build\windows\x64 -G Visual Studio 17 2022 -A x64 -DFLUTTER_TARGET_PLATFORM=windows-x64 [ +156 ms] -- Selecting Windows SDK version 10.0.22621.0 to target Windows 10.0.19045. [+3054 ms] -- The CXX compiler identification is MSVC 19.38.33133.0 [ +133 ms] -- Detecting CXX compiler ABI info [+2183 ms] -- Detecting CXX compiler ABI info - done [ +49 ms] -- Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.38.33130/bin/Hostx64/x64/cl.exe - skipped [ +1 ms] -- Detecting CXX compile features [ +2 ms] -- Detecting CXX compile features - done [ +32 ms] -- Configuring done (5.5s) [ +201 ms] -- Generating done (0.2s) [ +51 ms] -- Build files have been written to: C:/src/issue140138/build/windows/x64 [ +22 ms] executing: C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe --build build\windows\x64 --config Debug --target INSTALL --verbose [ +186 ms] Change Dir: 'C:/src/issue140138/build/windows/x64' [ +17 ms] Run Build Command(s): "C:/Program Files/Microsoft Visual Studio/2022/Community/MSBuild/Current/Bin/amd64/MSBuild.exe" INSTALL.vcxproj /p:Configuration=Debug /p:Platform=x64 /p:VisualStudioVersion=17.0 /v:n [ +120 ms] MSBuild version 17.8.3+195e7f5a3 for .NET Framework [ +111 ms] Build started 21.12.2023 16:34:33. [ +516 ms] Project "C:\src\issue140138\build\windows\x64\INSTALL.vcxproj" on node 1 (default targets). [ ] Project "C:\src\issue140138\build\windows\x64\INSTALL.vcxproj" (1) is building "C:\src\issue140138\build\windows\x64\ZERO_CHECK.vcxproj" (2) on node 1 (default targets). [ +1 ms] PrepareForBuild: [ ] Creating directory "x64\Debug\ZERO_CHECK\". [ +19 ms] Structured output is enabled. The formatting of compiler diagnostics will reflect the error hierarchy. See https://aka.ms/cpp/structured-output for more details. [ +1 ms] Creating directory "x64\Debug\ZERO_CHECK\ZERO_CHECK.tlog\". [ +7 ms] InitializeBuildStatus: [ +3 ms] Creating "x64\Debug\ZERO_CHECK\ZERO_CHECK.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified. [ ] Touching "x64\Debug\ZERO_CHECK\ZERO_CHECK.tlog\unsuccessfulbuild". [ +243 ms] CustomBuild: [ +1 ms] 1>Checking Build System [ +212 ms] FinalizeBuildStatus: [ +4 ms] Deleting file "x64\Debug\ZERO_CHECK\ZERO_CHECK.tlog\unsuccessfulbuild". [ +1 ms] Touching "x64\Debug\ZERO_CHECK\ZERO_CHECK.tlog\ZERO_CHECK.lastbuildstate". [ ] Done Building Project "C:\src\issue140138\build\windows\x64\ZERO_CHECK.vcxproj" (default targets). [ +201 ms] Project "C:\src\issue140138\build\windows\x64\INSTALL.vcxproj" (1) is building "C:\src\issue140138\build\windows\x64\ALL_BUILD.vcxproj" (3) on node 1 (default targets). [ +1 ms] Project "C:\src\issue140138\build\windows\x64\ALL_BUILD.vcxproj" (3) is building "C:\src\issue140138\build\windows\x64\flutter\flutter_wrapper_app.vcxproj" (4) on node 1 (default targets). [ ] Project "C:\src\issue140138\build\windows\x64\flutter\flutter_wrapper_app.vcxproj" (4) is building "C:\src\issue140138\build\windows\x64\flutter\flutter_assemble.vcxproj" (5) on node 1 (default targets). [ ] PrepareForBuild: [ ] Creating directory "x64\Debug\flutter_assemble\". [ +6 ms] Structured output is enabled. The formatting of compiler diagnostics will reflect the error hierarchy. See https://aka.ms/cpp/structured-output for more details. [ ] Creating directory "x64\Debug\flutter_assemble\flutter_assemble.tlog\". [ +3 ms] InitializeBuildStatus: [ ] Creating "x64\Debug\flutter_assemble\flutter_assemble.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified. [ +1 ms] Touching "x64\Debug\flutter_assemble\flutter_assemble.tlog\unsuccessfulbuild". [ +2 ms] ComputeCustomBuildOutput: [ ] Creating directory "C:\src\issue140138\windows\flutter\ephemeral\cpp_client_wrapper\". [ +6 ms] CustomBuild: [ ] "The build of 'C:\src\issue140138\build\windows\x64\CMakeFiles\8dc5f7ad3074701fcb4de897e01ef8af\flutter_assemble.rule' depends on 'C:\SRC\ISSUE140138\WINDOWS\FLUTTER\EPHEMERAL\FLUTTER_WINDOWS.DLL' which is produced by the build of 'C:\src\issue140138\build\windows\x64\CMakeFiles\c532032b003f663238625af58c671cef\flutter_windows.dll.rule'. The items cannot be built in parallel." [ +86 ms] Generating C:/src/issue140138/windows/flutter/ephemeral/flutter_windows.dll, C:/src/issue140138/windows/flutter/ephemeral/flutter_export.h, C:/src/issue140138/windows/flutter/ephemeral/flutter_windows.h, C:/src/issue140138/windows/flutter/ephemeral/flutter_messenger.h, C:/src/issue140138/windows/flutter/ephemeral/flutter_plugin_registrar.h, C:/src/issue140138/windows/flutter/ephemeral/flutter_texture_registrar.h, C:/src/issue140138/windows/flutter/ephemeral/cpp_client_wrapper/core_implementations.cc, C:/src/issue140138/windows/flutter/ephemeral/cpp_client_wrapper/standard_codec.cc, C:/src/issue140138/windows/flutter/ephemeral/cpp_client_wrapper/plugin_registrar.cc, C:/src/issue140138/windows/flutter/ephemeral/cpp_client_wrapper/flutter_engine.cc, C:/src/issue140138/windows/flutter/ephemeral/cpp_client_wrapper/flutter_view_controller.cc, _phony_ [+1522 ms] [ +194 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update. [ +3 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. [ ] [ ] Artifact Instance of 'LegacyCanvasKitRemover' is not required, skipping update. [ ] [ +7 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. [ ] [ +3 ms] 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. [ +212 ms] [ +229 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update. [ +15 ms] [ ] Artifact Instance of 'GradleWrapper' is not required, skipping update. [ +1 ms] [ ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update. [ +1 ms] [ ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update. [ +6 ms] [ ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update. [ ] [ ] Artifact Instance of 'LegacyCanvasKitRemover' is not required, skipping update. [ +7 ms] [ ] Artifact Instance of 'FlutterSdk' is not required, skipping update. [ +23 ms] [ +5 ms] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update. [ ] [ +3 ms] 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. [ +7 ms] [ ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update. [ +3 ms] [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update. [ +7 ms] [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update. [ +1 ms] [ ] 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. [ +45 ms] [ +109 ms] Initializing file store [ +71 ms] [ +70 ms] native_assets: Starting due to {} [ +17 ms] [ +8 ms] Skipping target: gen_localizations [ +14 ms] [ +24 ms] gen_dart_plugin_registrant: Starting due to {InvalidatedReasonKind.inputChanged: The following inputs have updated contents: C:\src\issue140138\.dart_tool\package_config_subset} [ +21 ms] [ +8 ms] unpack_windows: Starting due to {} [+1364 ms] [+1377 ms] unpack_windows: Complete [+9141 ms] [+9140 ms] Writing native_assets.yaml. [ +105 ms] [ +105 ms] Writing C:\src\issue140138\.dart_tool\flutter_build\9f727301c94e6b48970d9b80c8247321\native_assets.yaml done. [ +8 ms] [ +8 ms] native_assets: Complete [ +190 ms] [ +189 ms] gen_dart_plugin_registrant: Complete [ +46 ms] [ +4 ms] kernel_snapshot: Starting due to {} [ ] [ +5 ms] Embedding native assets mapping C:\src\issue140138\.dart_tool\flutter_build\9f727301c94e6b48970d9b80c8247321\native_assets.yaml in kernel. [ ] [ +17 ms] C:\src\flutter_windows_3.16.5-stable\flutter\bin\cache\dart-sdk\bin\dart.exe --disable-dart-dev C:\src\flutter_windows_3.16.5-stable\flutter\bin\cache\dart-sdk\bin\snapshots\frontend_server.dart.snapshot --sdk-root C:\src\flutter_windows_3.16.5-stable\flutter\bin\cache\artifacts\engine\common\flutter_patched_sdk/ --target=flutter --no-print-incremental-dependencies -DFLUTTER_WEB_AUTO_DETECT=true -DFLUTTER_WEB_CANVASKIT_URL=https://www.gstatic.com/flutter-canvaskit/3f3e560236539b7e2702f5ac790b2a4691b32d49/ -Ddart.vm.profile=false -Ddart.vm.product=false --enable-asserts --track-widget-creation --packages C:\src\issue140138\.dart_tool\package_config.json --output-dill C:\src\issue140138\.dart_tool\flutter_build\9f727301c94e6b48970d9b80c8247321\app.dill --depfile C:\src\issue140138\.dart_tool\flutter_build\9f727301c94e6b48970d9b80c8247321\kernel_snapshot.d --incremental --initialize-from-dill C:\src\issue140138\.dart_tool\flutter_build\9f727301c94e6b48970d9b80c8247321\app.dill --native-assets C:\src\issue140138\.dart_tool\flutter_build\9f727301c94e6b48970d9b80c8247321\native_assets.yaml --verbosity=error package:issue140138/main.dart [+23638 ms] [+23658 ms] kernel_snapshot: Complete [+1068 ms] [+1068 ms] debug_bundle_windows_assets: Starting due to {} [ +297 ms] [ +297 ms] shaderc command: [C:\src\flutter_windows_3.16.5-stable\flutter\bin\cache\artifacts\engine\windows-x64\impellerc.exe, --sksl, --iplr, --sl=C:\src\issue140138\build\flutter_assets\shaders/ink_sparkle.frag, --spirv=C:\src\issue140138\build\flutter_assets\shaders/ink_sparkle.frag.spirv, --input=C:\src\flutter_windows_3.16.5-stable\flutter\packages\flutter\lib\src\material\shaders\ink_sparkle.frag, --input-type=frag, --include=C:\src\flutter_windows_3.16.5-stable\flutter\packages\flutter\lib\src\material\shaders, --include=C:\src\flutter_windows_3.16.5-stable\flutter\bin\cache\artifacts\engine\windows-x64\shader_lib] [ +646 ms] [ +646 ms] debug_bundle_windows_assets: Complete [+1117 ms] [+1117 ms] Persisting file store [ +18 ms] [ +18 ms] Done persisting file store [ +14 ms] [ +14 ms] build succeeded. [+2267 ms] C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(254,5): error MSB8066: Custom build for 'C:\src\issue140138\build\windows\x64\CMakeFiles\c532032b003f663238625af58c671cef\flutter_windows.dll.rule;C:\src\issue1 40138\build\windows\x64\CMakeFiles\8dc5f7ad3074701fcb4de897e01ef8af\flutter_assemble.rule;C:\src\issue140138\windows\flu tter\CMakeLists.txt' exited with code 1. [C:\src\issue140138\build\windows\x64\flutter\flutter_assemble.vcxproj] [ +9 ms] Done Building Project "C:\src\issue140138\build\windows\x64\flutter\flutter_assemble.vcxproj" (default targets) -- FAILED. [ ] Done Building Project "C:\src\issue140138\build\windows\x64\flutter\flutter_wrapper_app.vcxproj" (default targets) -- FAILED. [ +99 ms] Done Building Project "C:\src\issue140138\build\windows\x64\ALL_BUILD.vcxproj" (default targets) -- FAILED. [ ] Done Building Project "C:\src\issue140138\build\windows\x64\INSTALL.vcxproj" (default targets) -- FAILED. [ +6 ms] Build FAILED. [ +1 ms] "C:\src\issue140138\build\windows\x64\INSTALL.vcxproj" (default target) (1) -> [ ] "C:\src\issue140138\build\windows\x64\ALL_BUILD.vcxproj" (default target) (3) -> [ ] "C:\src\issue140138\build\windows\x64\flutter\flutter_wrapper_app.vcxproj" (default target) (4) -> [ ] "C:\src\issue140138\build\windows\x64\flutter\flutter_assemble.vcxproj" (default target) (5) -> [ ] (CustomBuild target) -> [ ] C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(254,5): error MSB8066: Custom build for 'C:\src\issue140138\build\windows\x64\CMakeFiles\c532032b003f663238625af58c671cef\flutter_windows.dll.rule;C:\src\issue1 40138\build\windows\x64\CMakeFiles\8dc5f7ad3074701fcb4de897e01ef8af\flutter_assemble.rule;C:\src\issue140138\windows\flu tter\CMakeLists.txt' exited with code 1. [C:\src\issue140138\build\windows\x64\flutter\flutter_assemble.vcxproj] [ +1 ms] 0 Warning(s) [ ] 1 Error(s) [ ] Time Elapsed 00:00:43.38 PS C:\src\issue140138> ```
huycozy commented 6 months ago

@ProZhar @zamaniafshar Is your machine also using AMD Phenom processor?

zamaniafshar commented 6 months ago

@ProZhar @zamaniafshar Is your machine also using AMD Phenom processor?

No, my machine uses an AMD Athlon(tm) II X4 635 Processor. Maybe this issue is related to old AMD processors.

ProZhar commented 6 months ago

@huycozy

@ProZhar @zamaniafshar Is your machine also using AMD Phenom processor?

No, I use Intel Core 2 Quad Q6600

christopherfujino commented 6 months ago

FYI, after taking a look at this issue, it looks like during the re-entrant call from cmake to flutter assemble ..., the flutter tool is dying without a stacktrace. I suspect there may have been a change to the Dart VM that introduced a new CPU instruction unsupported by older processors. I am looking into getting debugging instructions so that hopefully we can identify exactly why it is crashing.

christopherfujino commented 6 months ago

I thought this might be another occurrence of https://github.com/flutter/flutter/issues/138693

That bug was hotfixed to dart stable in version 3.2.3 in https://github.com/dart-lang/sdk/issues/54215, and I can see from the original poster that they had that version of Dart. This doesn't mean it is definitely not the same root cause, however, if it is the same root cause then we will need a different fix for the tool.

@rmacnak-google do you know the Dart CL where we started generating SSE4 instructions? If so, I can ask users here to see if they can reproduce the crash at an earlier version.

rmacnak-google commented 6 months ago

Usage of SSE4 is quite old; the more recent change is snapshots in the SDK becoming AOT and deciding that using SSE4 is okay because the bot building the SDK supports SSE4. I think the earliest change switching parts of the SDK to AOT snapshots is https://dart-review.googlesource.com/c/sdk/+/322180

christopherfujino commented 6 months ago

Usage of SSE4 is quite old; the more recent change is snapshots in the SDK becoming AOT and deciding that using SSE4 is okay because the bot building the SDK supports SSE4. I think the earliest change switching parts of the SDK to AOT snapshots is https://dart-review.googlesource.com/c/sdk/+/322180

Ahh ok, I remember that.

This is the engine roll where that sdk change landed in fc04691c07c5204a2e72dea36cee027b4337ae2e

Now checking the flutter/flutter commit...

christopherfujino commented 6 months ago

Which landed in the framework in https://github.com/flutter/flutter/commit/7c13003939cbad2e27c01b26f76803a52df72453, which means the last framework commit without this change would be 9218f93f7ed3292989a3150c341faca7bd7190b8.

To @6260coder, @zamaniafshar, @ProZhar, and anyone else experiencing this, could you please try to reproduce this at both commits?

If the crash reproduces at 7c13003939cbad2e27c01b26f76803a52df72453 but not at 9218f93f7ed3292989a3150c341faca7bd7190b8, it is likely the frontendserver AOT snapshot that is the culprit.

Here is an example repro instructions:

cd path\to\flutter\sdk
git checkout 7c13003939cbad2e27c01b26f76803a52df72453
flutter --version

You should see (most important is the Dart build version):

Flutter 3.14.0-12.0.pre.51 • channel [user-branch] • unknown source
Framework • revision 7c13003939 (5 months ago) • 2023-08-28 07:01:09 -0400
Engine • revision d89824ab01
Tools • Dart 3.2.0 (build 3.2.0-114.0.dev) • DevTools 2.26.2

Now try flutter create and flutter build windows. The expectation is that this would fail.

Now check out the previous commit:

cd path\to\flutter\sdk
git checkout 9218f93f7ed3292989a3150c341faca7bd7190b8
flutter --version

You should see:

Flutter 3.14.0-12.0.pre.50 • channel [user-branch] • unknown source
Framework • revision 9218f93f7e (5 months ago) • 2023-08-28 03:43:23 -0400
Engine • revision b26e2da130
Tools • Dart 3.2.0 (build 3.2.0-97.0.dev) • DevTools 2.26.2

Now try to flutter create and flutter build windows. The expectation is that this would succeed.

6260coder commented 6 months ago

@christopherfujino Thank you! I tried the steps you provided and checked both Dart build versions were correct. When I tried to run flutter create, they both seemed to fail after downloading package sky_engine? Below are the console outputs. For 7c13003939cbad2e27c01b26f76803a52df72453:

flutter create first -v
[  +10 ms] Could not interpret results of "git describe": 3.14.0-12.0.pre.51
[  +64 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.
[        ] Artifact Instance of 'LegacyCanvasKitRemover' is not required, skipping update.
[   +5 ms] Flutter assets will be downloaded from https://storage.flutter-io.cn. Make sure you trust this source!
[  +13 ms] Downloading package sky_engine...
[ +304 ms] Content https://storage.flutter-io.cn/flutter_infra_release/flutter/d89824ab018f1718e5f54e840a816f3e4634e387/sky_engine.zip md5 hash: tqhwLOEM4BIcHZ7PHHrU3w==

And for 9218f93f7ed3292989a3150c341faca7bd7190b8:

flutter create second -v
[  +10 ms] Could not interpret results of "git describe": 3.14.0-12.0.pre.50
[  +64 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.
[        ] Artifact Instance of 'LegacyCanvasKitRemover' is not required, skipping update.
[   +6 ms] Flutter assets will be downloaded from https://storage.flutter-io.cn. Make sure you trust this source!
[  +14 ms] Downloading package sky_engine...
[ +317 ms] Content
https://storage.flutter-io.cn/flutter_infra_release/flutter/b26e2da130ab5181bfa4fec4fa43cb2b05bfb9dd/sky_engine.zip md5
hash: begIqywHJygZC5v5d6V+mQ==
ProZhar commented 6 months ago

@christopherfujino Thank you! I tried the steps you provided, but result the same as @6260coder

PS C:\src> flutter --version
Flutter 3.13.9 • channel stable • https://github.com/flutter/flutter.git
Framework • revision d211f42860 (3 months ago) • 2023-10-25 13:42:25 -0700
Engine • revision 0545f8705d
Tools • Dart 3.1.5 • DevTools 2.25.0
PS C:\src> cd flutter3139
PS C:\src\flutter3139> git checkout 7c13003939cbad2e27c01b26f76803a52df72453
Updating files: 100% (1451/1451), done.
Note: switching to '7c13003939cbad2e27c01b26f76803a52df72453'.
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:

  git switch -c <new-branch-name>

Or undo this operation with:

  git switch -

Turn off this advice by setting config variable advice.detachedHead to false

PS C:\src\flutter3139> flutter --version
Checking Dart SDK version...
Downloading Dart SDK from Flutter engine d89824ab018f1718e5f54e840a816f3e4634e387...
Expanding downloaded archive...
Building flutter tool...
Running pub upgrade...
Resolving dependencies... (5.0s)
Got dependencies.
Flutter 3.14.0-12.0.pre.51 • channel [user-branch] • unknown source
Tools • Dart 3.2.0 (build 3.2.0-114.0.dev) • DevTools 2.26.2
PS C:\src\flutter3139> cd ..
PS C:\src> flutter create pre51
Downloading package sky_engine...
PS C:\src> flutter create pre51 -v
[  +18 ms] Could not interpret results of "git describe": 3.14.0-12.0.pre.51
[ +103 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[   +2 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.
[        ] Artifact Instance of 'LegacyCanvasKitRemover' is not required, skipping update.
[  +18 ms] Downloading package sky_engine...
[ +319 ms] Content https://storage.googleapis.com/flutter_infra_release/flutter/d89824ab018f1718e5f54e840a816f3e4634e387/sky_engine.zip md5 hash:
tqhwLOEM4BIcHZ7PHHrU3w==
PS C:\src> cd flutter3139
PS C:\src\flutter3139> git checkout 9218f93f7ed3292989a3150c341faca7bd7190b8
Previous HEAD position was 7c13003939 Roll Flutter Engine from b26e2da130ab to d89824ab018f (2 revisions) (#133444)
HEAD is now at 9218f93f7e Roll Flutter Engine from 78c26aeff3ee to b26e2da130ab (2 revisions) (#133432)
PS C:\src\flutter3139> flutter --version
Checking Dart SDK version...
Downloading Dart SDK from Flutter engine b26e2da130ab5181bfa4fec4fa43cb2b05bfb9dd...
Expanding downloaded archive...
Building flutter tool...
Running pub upgrade...
Resolving dependencies... (3.6s)
Got dependencies.
Flutter 3.14.0-12.0.pre.50 • channel [user-branch] • unknown source
Framework • revision 9218f93f7e (5 months ago) • 2023-08-28 03:43:23 -0400
Engine • revision b26e2da130
Tools • Dart 3.2.0 (build 3.2.0-97.0.dev) • DevTools 2.26.2
PS C:\src\flutter3139> flutter create pre50 -v
[  +15 ms] Could not interpret results of "git describe": 3.14.0-12.0.pre.50
[  +93 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.
[        ] Artifact Instance of 'LegacyCanvasKitRemover' is not required, skipping update.
[  +17 ms] Downloading package sky_engine...
[ +570 ms] Content https://storage.googleapis.com/flutter_infra_release/flutter/b26e2da130ab5181bfa4fec4fa43cb2b05bfb9dd/sky_engine.zip md5 hash:
begIqywHJygZC5v5d6V+mQ==
PS C:\src\flutter3139> cd ..
PS C:\src> flutter create pre50 -v
[  +15 ms] Could not interpret results of "git describe": 3.14.0-12.0.pre.50
[  +91 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.
[        ] Artifact Instance of 'LegacyCanvasKitRemover' is not required, skipping update.
[  +16 ms] Downloading package sky_engine...
[ +326 ms] Content https://storage.googleapis.com/flutter_infra_release/flutter/b26e2da130ab5181bfa4fec4fa43cb2b05bfb9dd/sky_engine.zip md5 hash:
begIqywHJygZC5v5d6V+mQ==
PS C:\src>
zamaniafshar commented 6 months ago

To @6260coder, @zamaniafshar, @ProZhar, and anyone else experiencing this, could you please try to reproduce this at both commits?

On Flutter version 3.13.9 stable channel, I attempted to follow your instructions, but unfortunately, I was not successful. Here are the steps I took:

  1. I went to the Flutter SDK and checked out the commit 7c13003939cbad2e27c01b26f76803a52df72453.
  2. I ran the command flutter --version, and the output matched my expectations.
  3. However, when I tried to create a new project or run flutter doctor, I encountered the following output without any errors, and nothing happened:
C:\>flutter create test
Downloading package sky_engine...
C:\>

The above output appeared after 2 or 3 seconds. It seems to fail at downloading, but there is no error message provided.

I also upgraded my Flutter to version 3.16.5 on the stable channel and repeated the steps, but I encountered the same result.

Please let me know if there are any additional instructions or troubleshooting steps you would like me to try.

gu1llermo commented 6 months ago

Checking your log, I can see that you have the same problem as me. And the same thing is happening, they are mixing the \ of windows with / of linux, specifically here, according to your log:

shaderc command:
[I:\soft\installed\flutter\flutter\bin\cache\artifacts\engine\windows-x64\impellerc.exe, --runtime-stage-gles, --iplr,
--sl=I:\work\flutter-projs\test_3_16_4\build\app\intermediates\flutter\debug\flutter_assets\shaders/ink_sparkle.frag
flutter_assets\shaders/ink_sparkle.frag

There the code is broken and it leaves without warning anything, and in several parts I see that they have \ and / mixed in the same path.

Additionally, I consider that they should show the error path when it occurs. Because in the log you could see that if an error occurs, then it should not report anything. Although it seems to me that it is with file management, I am not very sure.

gu1llermo commented 6 months ago

I share the link with you

https://github.com/flutter/flutter/issues/141399

gu1llermo commented 6 months ago

I installed stable version 3.10.0 of flutter and I can work too

Android Lint: Disposing Uast application environment in lint classloader [30.3.0]
[        ] BUILD SUCCESSFUL in 3m 46s
[   +1 ms] 50 actionable tasks: 49 executed, 1 up-to-date
[   +1 ms] Watched directory hierarchies: [D:\Flutter_Projects\primera_app\android]
[ +522 ms] Running Gradle task 'assembleRelease'... (completed in 228.2s)
[   +5 ms] Calculate SHA1: LocalDirectory:
'D:\Flutter_Projects\primera_app\build\app\outputs\flutter-apk'/app-release.apk
[ +471 ms] √  Built build\app\outputs\flutter-apk\app-release.apk (17.0MB).
[   +6 ms] "flutter apk" took 229,703ms.
[ +214 ms] ensureAnalyticsSent: 201ms
[   +2 ms] Running 0 shutdown hooks
[        ] Shutdown hooks complete
[   +1 ms] exiting with code 0

Although I see the issue of \ and / the same, but it can be worked like this

christopherfujino commented 6 months ago

Checking your log, I can see that you have the same problem as me. And the same thing is happening, they are mixing the \ of windows with / of linux, specifically here, according to your log:

shaderc command:
[I:\soft\installed\flutter\flutter\bin\cache\artifacts\engine\windows-x64\impellerc.exe, --runtime-stage-gles, --iplr,
--sl=I:\work\flutter-projs\test_3_16_4\build\app\intermediates\flutter\debug\flutter_assets\shaders/ink_sparkle.frag
flutter_assets\shaders/ink_sparkle.frag

There the code is broken and it leaves without warning anything, and in several parts I see that they have \ and / mixed in the same path.

I don't think this is fatal.

gu1llermo commented 6 months ago

I don't think this is fatal..

In my case yes, because of those \ and / I can't compile or do anything, with the latest version

ProZhar commented 6 months ago

This issue not only in flutter package.

Maybe it helps (same C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(254,5): error MSB8066: Custom build for problem)

Flutter issues: Windows apps crash after flutter update to 3.16.0 Flutter 3.13.9 not upgrading to 3.16.[0..3] + Downloaded zip 3.16.[0..3] does not run the app

Other packages issues: No file or variants found for asset: app/app.zip. CMake and MSB8066 Error: Cannot invoke thrift.exe when cross-compiling on x64 for arm64 G5FE39F1E: Type 'DecoderCallback' not found. Windows 11, Build failed on PySide2 Compilations redumper with LLVM/clang on Windows Update DelegatingFinder for flutter 3.16.2

kirill-21 commented 6 months ago

I thought this might be another occurrence of #138693

That bug was hotfixed to dart stable in version 3.2.3 in dart-lang/sdk#54215, and I can see from the original poster that they had that version of Dart. This doesn't mean it is definitely not the same root cause, however, if it is the same root cause then we will need a different fix for the tool.

@rmacnak-google do you know the Dart CL where we started generating SSE4 instructions? If so, I can ask users here to see if they can reproduce the crash at an earlier version.

No, that bug was not fixed on stable version

gu1llermo commented 6 months ago

A while ago I made a program in Java, and I had the same problem with the file extension, the program saved the files well in Linux and Windows, but it didn't work on Mac and that drove me crazy, I couldn't understand why on Linux and Windows Yes it worked but on Mac it didn't, I did everything right by asking the system for the path, but I don't know why, the java commands gave me the wrong response, so I had to figure it out to be able to solve this same problem that flutter is having in these moments. And I would like to be able to share my solution at that time to see if I can give you a ray of light or some idea so that you can solve it too, I repeat it is a Java code, but I think it is easy to understand:

String nameWithExtension = nameOfFile.extension;

public  static String getPathExtension(String path, String nameWithExtension) {
    return String.format("%s%s%s", path,
            getSeparator(path),
            nameWithExtension);
  }

  public  static String getSeparator(String path) {
    return path.contains("/") ? "/" : "\\";
  }

I hope that some of those in charge of solving this problem can read my comment and help you.

ProZhar commented 6 months ago

Checking your log, I can see that you have the same problem as me. And the same thing is happening, they are mixing the \ of windows with / of linux, specifically here, according to your log:

shaderc command:
[I:\soft\installed\flutter\flutter\bin\cache\artifacts\engine\windows-x64\impellerc.exe, --runtime-stage-gles, --iplr,
--sl=I:\work\flutter-projs\test_3_16_4\build\app\intermediates\flutter\debug\flutter_assets\shaders/ink_sparkle.frag
flutter_assets\shaders/ink_sparkle.frag

There the code is broken and it leaves without warning anything, and in several parts I see that they have \ and / mixed in the same path.

I don't think this is fatal.

I think so too. 99% of Windows users do not have this problem, so the slash separator has nothing to do with it. The only thing we have identified so far in common among those who have problems after 3.13.9 is the use of an old x86_64 CPU

gu1llermo commented 6 months ago

I think so too. 99% of Windows users do not have this problem, so the slash separator has nothing to do with it

On your Windows computer with the latest generation processor I would like you to save a file with the path: flutter_assets\shaders/ink_sparkle.frag Please do it and tell me your experience.

gu1llermo commented 6 months ago

@christopherfujino hi buddy, have you been able to find the error?

xdio0 commented 6 months ago

Hi, same exact problem here. Working on a AMD Phenom II X6 Last resource downgrading to 3.13.9 stable Agree that seems to have something to do with CPU instructions on old processors. We need to get more logs but it's simply stops without any verbose

gu1llermo commented 6 months ago

@xdio0

Agree that seems to have something to do with CPU instructions on old processors. We need to get more logs but it's simply stops without any verbose

Of course, older processors must have another way of processing commands, and we all have the same problem in common. But it is also true that the flutter update breaks when DOWNLOADING files. So the question is why does it stop at Downloading? What happens after that file is downloaded? And if you update Flutter from version 3.13.9 with the -v option you will see that it DOES show a log, and if you follow the log you will realize that it has to do with the union of the path of a file. You can see what I'm telling you here: https://github.com/flutter/flutter/issues/141703#issuecomment-1911871164

gu1llermo commented 5 months ago

Is anyone working on finding a solution to this problem?

zamaniafshar commented 5 months ago

Any news on this? Flutter version 3.19 released but we still stuck in 3.13.9 :(

christopherfujino commented 5 months ago

I am removing my assignment, because I believe I hit a dead end as far as investigating this--I cannot repro this with my current hardware.

However, as there seem to be a number of users who CAN reproduce this error, if you can git bisect which commit on the github.com/flutter/flutter repository regressed this, I can investigate further. I highly suspect that this was caused by a change in the Dart SDK, which would get to flutter/flutter via an engine roll.

For general instructions on how to do a git bisect, see https://git-scm.com/docs/git-bisect.

The Flutter SDK is distributed as a git repository. To do the bisect, you want to start navigating to the root of your Flutter SDK checkout. On Linux or macOS, you would do something like:

cd /path/to/flutter
# This is the branch point on the master channel for the 3.10 release
# I got this commit by running `git merge-base 3.10.0 master`
git checkout e749db6f915c341d15b9cb81dc19bdc9e791c72f

# start a git bisect session
git bisect start

# This will download the Dart SDK, re-build the Flutter CLI tool from source,
# and report your current version. You should see: Flutter 3.10.0-1.0.pre
flutter --version

# Ideally in another terminal or your IDE, verify that you can successfully build your app.
# If you use an IDE, I would recommend closing it and re-starting it after each time
# You check out a new Flutter SDK commit.

# Assuming the app built successfully, tell git
git bisect good

# This is the branch point on the master channel for the 3.16 release
# I got this commit by running `git merge-base 3.16.0 master`
git checkout 951653a1c06b3207448f7bc66ba91b52e6a06521

# Download the new Dart SDK, build the tool, and verify you are on a different version
# If you hit a crash in the tool at this point, this is fine, just
# Skip right to `git bisect bad`
flutter --version

# Again verify building your app, although this time we expect it to fail

# Assuming it has failed, tell git
git bisect bad

From here, the git bisect tool will manage checking out a new commit halfway between the latest good and earlier bad commits. After each new commit, run flutter --version, verify if you can build your app, and then update with git bisect {bad|good}.

If our hypothesis is correct that a particular change in the Dart SDK regressed this, the bisect should result in a particular flutter/flutter commit that rolled the engine revision. If you share that here, I will investigate further.

Happy hunting!

xdio0 commented 5 months ago

Tried two times:

Starting from a fresh install v 3.13.9-stable:

ee4208fd26abd5c91680b4aa185df0ae9e00ce61 is the first bad commit
commit ee4208fd26abd5c91680b4aa185df0ae9e00ce61
Author: engine-flutter-autoroll <engine-flutter-autoroll@skia.org>
Date:   Thu Jul 13 12:21:24 2023 -0400

    Roll Flutter Engine from 16e2ab7e986c to b4080361f2f9 (28 revisions) (#130496)

    Roll Flutter Engine from 16e2ab7e986c to b4080361f2f9 (28 revisions)

    https://github.com/flutter/engine/compare/16e2ab7e986c...b4080361f2f9

    2023-07-13 skia-flutter-autoroll@skia.org Roll Skia from e5ec341bc3ca to 56b68ce6196c (1 revision) (flutter/engine#43633)
    2023-07-13 skia-flutter-autoroll@skia.org Roll Dart SDK from f499e91e8cb2 to ade4dae923f3 (1 revision) (flutter/engine#43632)
    2023-07-13 skia-flutter-autoroll@skia.org Roll Skia from 811b046c673b to e5ec341bc3ca (1 revision) (flutter/engine#43631)
    2023-07-13 ian@hixie.ch Make GOMA state automatic by default (flutter/engine#43584)
    2023-07-13 skia-flutter-autoroll@skia.org Roll Skia from c8da0c657c4e to 811b046c673b (3 revisions) (flutter/engine#43630)
    2023-07-13 chinmaygarde@google.com [Impeller] Remove unactionable error logs and use structure chains for instance creation. (flutter/engine#43629)
    2023-07-13 skia-flutter-autoroll@skia.org Roll Skia from 7f391ea9164e to c8da0c657c4e (1 revision) (flutter/engine#43628)
    2023-07-13 chinmaygarde@google.com [Impeller] Add RAII wrappers for VMA objects. (flutter/engine#43626)
    2023-07-13 skia-flutter-autoroll@skia.org Roll Fuchsia Linux SDK from 1STsUj0X5YgpiSNEb... to xBJq6PsO5ebblODMe... (flutter/engine#43627)
    2023-07-13 skia-flutter-autoroll@skia.org Roll Skia from 6ed93436d57c to 7f391ea9164e (1 revision) (flutter/engine#43625)
    2023-07-13 skia-flutter-autoroll@skia.org Roll Dart SDK from 8f8f281ccdc6 to f499e91e8cb2 (3 revisions) (flutter/engine#43623)
    2023-07-13 skia-flutter-autoroll@skia.org Roll Fuchsia Mac SDK from 0fvk838jTDNQ_l43k... to 3C7P0w8ySmtqpyi3S... (flutter/engine#43622)
    2023-07-13 skia-flutter-autoroll@skia.org Roll Skia from bedc92598644 to 6ed93436d57c (3 revisions) (flutter/engine#43621)
    2023-07-13 jonahwilliams@google.com [Impeller] Add support to embedder for Impeller on GL (via Angle on Windows). (flutter/engine#43388)
    2023-07-12 jonahwilliams@google.com [Impeller] Allocate buffers out of a pool on the raster thread. (flutter/engine#43564)
    2023-07-12 skia-flutter-autoroll@skia.org Roll Skia from 4e989b1564ee to bedc92598644 (1 revision) (flutter/engine#43617)
    2023-07-12 flar@google.com move rtree and canvas_spy sources to Fuchsia sub-directory (flutter/engine#43615)
    2023-07-12 skia-flutter-autoroll@skia.org Roll Skia from 68e3c0b3eea7 to 4e989b1564ee (6 revisions) (flutter/engine#43614)
    2023-07-12 ian@hixie.ch Document (and assert) that channel names can't contains nulls (flutter/engine#43593)
    2023-07-12 58529443+srujzs@users.noreply.github.com Reland "Refactor JSNumber.toDart and Object.toJS" (flutter/engine#43363)
    2023-07-12 31859944+LongCatIsLooong@users.noreply.github.com Add a flag to `ParagraphBuilder` for rounding hack migration (flutter/engine#43118)
    2023-07-12 john@johnmccutchan.com [Impeller] Fixes for asymmetric stencil descriptors (flutter/engine#43535)
    2023-07-12 skia-flutter-autoroll@skia.org Roll Skia from adeeb8d50f7c to 68e3c0b3eea7 (1 revision) (flutter/engine#43609)
    2023-07-12 flar@google.com Add comment to use of 3x3 mapRect in TransformLayer (flutter/engine#43608)
    2023-07-12 skia-flutter-autoroll@skia.org Roll Skia from a251a36ea519 to adeeb8d50f7c (1 revision) (flutter/engine#43606)
    2023-07-12 skia-flutter-autoroll@skia.org Roll Dart SDK from b95f6531c726 to 8f8f281ccdc6 (2 revisions) (flutter/engine#43607)
    2023-07-12 skia-flutter-autoroll@skia.org Roll Skia from ebc149cff431 to a251a36ea519 (2 revisions) (flutter/engine#43604)
    2023-07-12 jonahwilliams@google.com [Impeller] Use new SkParagraph APIs for stroked text. (flutter/engine#41735)

    Also rolling transitive DEPS:
      fuchsia/sdk/core/linux-amd64 from 1STsUj0X5Ygp to xBJq6PsO5ebb
      fuchsia/sdk/core/mac-amd64 from 0fvk838jTDNQ to 3C7P0w8ySmtq

    If this roll has caused a breakage, revert this CL and stop the roller
    using the controls here:
    https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
    Please CC rmistry@google.com,zra@google.com on the revert to ensure that a human
    is aware of the problem.

    To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose

    To report a problem with the AutoRoller itself, please file a bug:
    https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

    Documentation for the AutoRoller is here:
    https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
    ...

 bin/internal/engine.version        | 2 +-
 bin/internal/fuchsia-linux.version | 2 +-
 bin/internal/fuchsia-mac.version   | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

And starting from e749db6f915c341d15b9cb81dc19bdc9e791c72f

e1d025ae54a772c5ad12b1e2de01060688ba1d4d is the first bad commit
commit e1d025ae54a772c5ad12b1e2de01060688ba1d4d
Author: Zachary Anderson <zanderso@users.noreply.github.com>
Date:   Thu Jul 13 15:31:02 2023 -0700

    Move straggling Android Impeller test to staging. (#130529)

 .ci.yaml | 5 +++++
 1 file changed, 5 insertions(+)
gu1llermo commented 5 months ago

If our hypothesis is correct that a particular change in the Dart SDK regressed this, the bisect should result in a particular flutter/flutter commit that rolled the engine revision. If you share that here, I will investigate further.

This was the final result:

PS C:\dev\flutter> git bisect bad
Bisecting: 1436 revisions left to test after this (roughly 11 steps)
[c8906bbd49424b9b8a3425064848954262b5acf1] Roll Flutter Engine from 875d87e02276 to d00590fde18c (5 revisions) (#130369)
PS C:\dev\flutter>

It's okay like that? or do you want something else?

Details

```powershell PS C:\dev\flutter> flutter --version ┌─────────────────────────────────────────────────────────┐ │ A new version of Flutter is available! │ │ │ │ To update to the latest version, run "flutter upgrade". │ └─────────────────────────────────────────────────────────┘ Flutter 3.13.9 • channel stable • https://github.com/flutter/flutter.git Framework • revision d211f42860 (4 months ago) • 2023-10-25 13:42:25 -0700 Engine • revision 0545f8705d Tools • Dart 3.1.5 • DevTools 2.25.0 PS C:\dev\flutter> git checkout e749db6f915c341d15b9cb81dc19bdc9e791c72f Updating files: 100% (1975/1975), done. Note: switching to 'e749db6f915c341d15b9cb81dc19bdc9e791c72f'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by switching back to a branch. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -c with the switch command. Example: git switch -c Or undo this operation with: git switch - Turn off this advice by setting config variable advice.detachedHead to false HEAD is now at e749db6f91 Revert "Refactor reorderable list semantics" (#124368) PS C:\dev\flutter> git bisect start status: waiting for both good and bad commits PS C:\dev\flutter> flutter --version Checking Dart SDK version... Downloading Dart SDK from Flutter engine dc4fe907c4bca04c8cf7e0acddc7c41d9400f808... Expanding downloaded archive... Building flutter tool... Running pub upgrade... Resolving dependencies... (6.6s) Got dependencies. Flutter 3.10.0-1.0.pre • channel unknown • unknown source Framework • revision e749db6f91 (11 months ago) • 2023-04-06 18:46:06 -0700 Engine • revision dc4fe907c4 Tools • Dart 3.0.0 (build 3.0.0-417.0.dev) • DevTools 2.23.1 PS C:\dev\flutter> git bisect good status: waiting for bad commit, 1 good commit known PS C:\dev\flutter> git checkout 951653a1c06b3207448f7bc66ba91b52e6a06521 Updating files: 100% (3187/3187), done. Previous HEAD position was e749db6f91 Revert "Refactor reorderable list semantics" (#124368) HEAD is now at 951653a1c0 Add arch property for windows_arm64 platform (#135725) PS C:\dev\flutter> flutter --version Checking Dart SDK version... Downloading Dart SDK from Flutter engine 485543c6765ab38e9effc37b1c12c293ba5f9ab6... Expanding downloaded archive with PowerShell... Building flutter tool... Running pub upgrade... Resolving dependencies... (11.2s) Got dependencies. Flutter 3.15.0-12.0.pre • channel [user-branch] • unknown source Framework • revision 951653a1c0 (5 months ago) • 2023-09-28 17:57:06 -0700 Engine • revision 485543c676 Tools • Dart 3.2.0 (build 3.2.0-210.0.dev) • DevTools 2.28.1 PS C:\dev\flutter> git bisect bad Bisecting: 1436 revisions left to test after this (roughly 11 steps) [c8906bbd49424b9b8a3425064848954262b5acf1] Roll Flutter Engine from 875d87e02276 to d00590fde18c (5 revisions) (#130369) PS C:\dev\flutter> ```

christopherfujino commented 5 months ago

@gu1llermo and @xdio0, (unfortunately) you will have to continue bisecting until git tells you it found the offending commit. For example:

Bisecting: 1436 revisions left to test after this (roughly 11 steps)

Means that there are 1436 revisions between your latest good commit and earliest bad commit. The goal is to get to 0. When it says "roughly 11 steps", that means you will have to test 11 more commits before you will have found two consecutive commits, one good and the next bad. git bisect should report something like:

deadbeef is the first bad commit.
gu1llermo commented 5 months ago

you will have to continue bisecting until git tells you it found the offending commit

Hi @christopherfujino, According to the log that I shared, what would be the following instructions that I have to do to achieve that? Because I do this:

PS C:\dev\flutter> git merge-base 3.10.0 master
fatal: Not a valid object name master
PS C:\dev\flutter> git merge-base 3.16.0 master
fatal: Not a valid object name master
PS C:\dev\flutter>

To follow the steps you indicated here:

# This is the branch point on the master channel for the 3.10 release
# I got this commit by running `git merge-base 3.10.0 master`
git checkout e749db6f915c341d15b9cb81dc19bdc9e791c72f

# start a git bisect session
git bisect start

PD: I think I know what I have to do ;)

PS C:\dev\flutter> git bisect good
Bisecting: 718 revisions left to test after this (roughly 10 steps)
[e425b680460a8596217a736049799049d512f4d2] Roll Packages from 4c16f3ef4033 to e26f3b9374d0 (5 revisions) (#132960)
gu1llermo commented 5 months ago

This is the final result:

47ba59c762919d66811b72acab9732d6aa2a93c9 is the first bad commit
commit 47ba59c762919d66811b72acab9732d6aa2a93c9
Author: engine-flutter-autoroll <engine-flutter-autoroll@skia.org>
Date:   Wed Jul 12 20:46:57 2023 -0400

    Roll Flutter Engine from 16e2ab7e986c to 1b1ccdd1f527 (13 revisions) (#130458)

    https://github.com/flutter/engine/compare/16e2ab7e986c...1b1ccdd1f527

    2023-07-12 skia-flutter-autoroll@skia.org Roll Skia from 4e989b1564ee to bedc92598644 (1 revision) (flutter/engine#43617)
    2023-07-12 flar@google.com move rtree and canvas_spy sources to Fuchsia sub-directory (flutter/engine#43615)
    2023-07-12 skia-flutter-autoroll@skia.org Roll Skia from 68e3c0b3eea7 to 4e989b1564ee (6 revisions) (flutter/engine#43614)
    2023-07-12 ian@hixie.ch Document (and assert) that channel names can't contains nulls (flutter/engine#43593)
    2023-07-12 58529443+srujzs@users.noreply.github.com Reland "Refactor JSNumber.toDart and Object.toJS" (flutter/engine#43363)
    2023-07-12 31859944+LongCatIsLooong@users.noreply.github.com Add a flag to `ParagraphBuilder` for rounding hack migration (flutter/engine#43118)
    2023-07-12 john@johnmccutchan.com [Impeller] Fixes for asymmetric stencil descriptors (flutter/engine#43535)
    2023-07-12 skia-flutter-autoroll@skia.org Roll Skia from adeeb8d50f7c to 68e3c0b3eea7 (1 revision) (flutter/engine#43609)
    2023-07-12 flar@google.com Add comment to use of 3x3 mapRect in TransformLayer (flutter/engine#43608)
    2023-07-12 skia-flutter-autoroll@skia.org Roll Skia from a251a36ea519 to adeeb8d50f7c (1 revision) (flutter/engine#43606)
    2023-07-12 skia-flutter-autoroll@skia.org Roll Dart SDK from b95f6531c726 to 8f8f281ccdc6 (2 revisions) (flutter/engine#43607)
    2023-07-12 skia-flutter-autoroll@skia.org Roll Skia from ebc149cff431 to a251a36ea519 (2 revisions) (flutter/engine#43604)
    2023-07-12 jonahwilliams@google.com [Impeller] Use new SkParagraph APIs for stroked text. (flutter/engine#41735)

    If this roll has caused a breakage, revert this CL and stop the roller
    using the controls here:
    https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
    Please CC rmistry@google.com,zra@google.com on the revert to ensure that a human
    is aware of the problem.

    To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose

    To report a problem with the AutoRoller itself, please file a bug:
    https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

    Documentation for the AutoRoller is here:
    https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

 bin/internal/engine.version | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
PS C:\dev\flutter>
Details

```powershell PS C:\dev\flutter> flutter --version ┌─────────────────────────────────────────────────────────┐ │ A new version of Flutter is available! │ │ │ │ To update to the latest version, run "flutter upgrade". │ └─────────────────────────────────────────────────────────┘ Flutter 3.13.9 • channel stable • https://github.com/flutter/flutter.git Framework • revision d211f42860 (4 months ago) • 2023-10-25 13:42:25 -0700 Engine • revision 0545f8705d Tools • Dart 3.1.5 • DevTools 2.25.0 PS C:\dev\flutter> git checkout e749db6f915c341d15b9cb81dc19bdc9e791c72f Updating files: 100% (1975/1975), done. Note: switching to 'e749db6f915c341d15b9cb81dc19bdc9e791c72f'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by switching back to a branch. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -c with the switch command. Example: git switch -c Or undo this operation with: git switch - Turn off this advice by setting config variable advice.detachedHead to false HEAD is now at e749db6f91 Revert "Refactor reorderable list semantics" (#124368) PS C:\dev\flutter> git bisect start status: waiting for both good and bad commits PS C:\dev\flutter> flutter --version Checking Dart SDK version... Downloading Dart SDK from Flutter engine dc4fe907c4bca04c8cf7e0acddc7c41d9400f808... Expanding downloaded archive... Building flutter tool... Running pub upgrade... Resolving dependencies... (6.6s) Got dependencies. Flutter 3.10.0-1.0.pre • channel unknown • unknown source Framework • revision e749db6f91 (11 months ago) • 2023-04-06 18:46:06 -0700 Engine • revision dc4fe907c4 Tools • Dart 3.0.0 (build 3.0.0-417.0.dev) • DevTools 2.23.1 PS C:\dev\flutter> git bisect good status: waiting for bad commit, 1 good commit known PS C:\dev\flutter> git checkout 951653a1c06b3207448f7bc66ba91b52e6a06521 Updating files: 100% (3187/3187), done. Previous HEAD position was e749db6f91 Revert "Refactor reorderable list semantics" (#124368) HEAD is now at 951653a1c0 Add arch property for windows_arm64 platform (#135725) PS C:\dev\flutter> flutter --version Checking Dart SDK version... Downloading Dart SDK from Flutter engine 485543c6765ab38e9effc37b1c12c293ba5f9ab6... Expanding downloaded archive with PowerShell... Building flutter tool... Running pub upgrade... Resolving dependencies... (11.2s) Got dependencies. Flutter 3.15.0-12.0.pre • channel [user-branch] • unknown source Framework • revision 951653a1c0 (5 months ago) • 2023-09-28 17:57:06 -0700 Engine • revision 485543c676 Tools • Dart 3.2.0 (build 3.2.0-210.0.dev) • DevTools 2.28.1 PS C:\dev\flutter> git bisect bad Bisecting: 1436 revisions left to test after this (roughly 11 steps) [c8906bbd49424b9b8a3425064848954262b5acf1] Roll Flutter Engine from 875d87e02276 to d00590fde18c (5 revisions) (#130369) PS C:\dev\flutter> git merge-base 3.10.0 master fatal: Not a valid object name master PS C:\dev\flutter> git merge-base 3.16.0 master fatal: Not a valid object name master PS C:\dev\flutter> git bisect good Bisecting: 718 revisions left to test after this (roughly 10 steps) [e425b680460a8596217a736049799049d512f4d2] Roll Packages from 4c16f3ef4033 to e26f3b9374d0 (5 revisions) (#132960) PS C:\dev\flutter> git bisect bad Bisecting: 358 revisions left to test after this (roughly 9 steps) [063d68b1732ae0180de368a9a2f415de4c3fd2e1] Roll Flutter Engine from f3d1e004f7b1 to 0ccff9a2bad3 (1 revision) (#131571) PS C:\dev\flutter> git bisect bad Bisecting: 179 revisions left to test after this (roughly 8 steps) [4763be745d16635cb7ea16bd4e364bee1edf4d5f] Can traverse if current focused node skips traversal (#130812) PS C:\dev\flutter> git bisect bad Bisecting: 89 revisions left to test after this (roughly 7 steps) [f842ed916514879fe6898b2a5a4053c63c3308fe] Reverts "Roll Flutter Engine from bf6d4bfe27cc to 85af5cedf0a7 (1 revision) (#130646)" (#130660) PS C:\dev\flutter> git bisect bad Bisecting: 44 revisions left to test after this (roughly 6 steps) [f8c911656134563ac7b58ef5a81fa8ed3c5ad52c] Roll Flutter Engine from c31cfc517274 to 1867efbf2936 (1 revision) (#130517) PS C:\dev\flutter> git bisect bad Bisecting: 21 revisions left to test after this (roughly 5 steps) [47ba59c762919d66811b72acab9732d6aa2a93c9] Roll Flutter Engine from 16e2ab7e986c to 1b1ccdd1f527 (13 revisions) (#130458) PS C:\dev\flutter> git bisect bad Bisecting: 10 revisions left to test after this (roughly 4 steps) [21fa18b3fedeb0ba51a5e4ac94f53f3bd0493fbc] Roll Flutter Engine from d68ea304eeda to 5c887028810d (2 revisions) (#130413) PS C:\dev\flutter> git bisect good Bisecting: 5 revisions left to test after this (roughly 3 steps) [d75735eea611ed46a508c9e6813efd109760dab2] Use platform specific line separator in gen-l10n (#130090) PS C:\dev\flutter> git bisect good Bisecting: 2 revisions left to test after this (roughly 2 steps) [ab39bff282559a5189f91210b011b6406565fa51] Refactor JSNumber.toDart and Object.toJS (#129436) PS C:\dev\flutter> git bisect good Bisecting: 0 revisions left to test after this (roughly 1 step) [2da353a59ae756e286ae131a04e25e4ccf321f31] Exclude `Tooltip`'s overlay child from SelectableRegion (#130181) PS C:\dev\flutter> git bisect good 47ba59c762919d66811b72acab9732d6aa2a93c9 is the first bad commit commit 47ba59c762919d66811b72acab9732d6aa2a93c9 Author: engine-flutter-autoroll Date: Wed Jul 12 20:46:57 2023 -0400 Roll Flutter Engine from 16e2ab7e986c to 1b1ccdd1f527 (13 revisions) (#130458) https://github.com/flutter/engine/compare/16e2ab7e986c...1b1ccdd1f527 2023-07-12 skia-flutter-autoroll@skia.org Roll Skia from 4e989b1564ee to bedc92598644 (1 revision) (flutter/engine#43617) 2023-07-12 flar@google.com move rtree and canvas_spy sources to Fuchsia sub-directory (flutter/engine#43615) 2023-07-12 skia-flutter-autoroll@skia.org Roll Skia from 68e3c0b3eea7 to 4e989b1564ee (6 revisions) (flutter/engine#43614) 2023-07-12 ian@hixie.ch Document (and assert) that channel names can't contains nulls (flutter/engine#43593) 2023-07-12 58529443+srujzs@users.noreply.github.com Reland "Refactor JSNumber.toDart and Object.toJS" (flutter/engine#43363) 2023-07-12 31859944+LongCatIsLooong@users.noreply.github.com Add a flag to `ParagraphBuilder` for rounding hack migration (flutter/engine#43118) 2023-07-12 john@johnmccutchan.com [Impeller] Fixes for asymmetric stencil descriptors (flutter/engine#43535) 2023-07-12 skia-flutter-autoroll@skia.org Roll Skia from adeeb8d50f7c to 68e3c0b3eea7 (1 revision) (flutter/engine#43609) 2023-07-12 flar@google.com Add comment to use of 3x3 mapRect in TransformLayer (flutter/engine#43608) 2023-07-12 skia-flutter-autoroll@skia.org Roll Skia from a251a36ea519 to adeeb8d50f7c (1 revision) (flutter/engine#43606) 2023-07-12 skia-flutter-autoroll@skia.org Roll Dart SDK from b95f6531c726 to 8f8f281ccdc6 (2 revisions) (flutter/engine#43607) 2023-07-12 skia-flutter-autoroll@skia.org Roll Skia from ebc149cff431 to a251a36ea519 (2 revisions) (flutter/engine#43604) 2023-07-12 jonahwilliams@google.com [Impeller] Use new SkParagraph APIs for stroked text. (flutter/engine#41735) If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll Please CC rmistry@google.com,zra@google.com on the revert to ensure that a human is aware of the problem. To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md bin/internal/engine.version | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) PS C:\dev\flutter> ```

If there is anything else I can do, please let me know, thank you very much

xdio0 commented 5 months ago

As before, this is my output:

ee4208fd26abd5c91680b4aa185df0ae9e00ce61 is the first bad commit
commit ee4208fd26abd5c91680b4aa185df0ae9e00ce61
Author: engine-flutter-autoroll <engine-flutter-autoroll@skia.org>
Date:   Thu Jul 13 12:21:24 2023 -0400

    Roll Flutter Engine from 16e2ab7e986c to b4080361f2f9 (28 revisions) (#130496)

    Roll Flutter Engine from 16e2ab7e986c to b4080361f2f9 (28 revisions)

    https://github.com/flutter/engine/compare/16e2ab7e986c...b4080361f2f9

    2023-07-13 skia-flutter-autoroll@skia.org Roll Skia from e5ec341bc3ca to 56b68ce6196c (1 revision) (flutter/engine#43633)
    2023-07-13 skia-flutter-autoroll@skia.org Roll Dart SDK from f499e91e8cb2 to ade4dae923f3 (1 revision) (flutter/engine#43632)
    2023-07-13 skia-flutter-autoroll@skia.org Roll Skia from 811b046c673b to e5ec341bc3ca (1 revision) (flutter/engine#43631)
    2023-07-13 ian@hixie.ch Make GOMA state automatic by default (flutter/engine#43584)
    2023-07-13 skia-flutter-autoroll@skia.org Roll Skia from c8da0c657c4e to 811b046c673b (3 revisions) (flutter/engine#43630)
    2023-07-13 chinmaygarde@google.com [Impeller] Remove unactionable error logs and use structure chains for instance creation. (flutter/engine#43629)
    2023-07-13 skia-flutter-autoroll@skia.org Roll Skia from 7f391ea9164e to c8da0c657c4e (1 revision) (flutter/engine#43628)
    2023-07-13 chinmaygarde@google.com [Impeller] Add RAII wrappers for VMA objects. (flutter/engine#43626)
    2023-07-13 skia-flutter-autoroll@skia.org Roll Fuchsia Linux SDK from 1STsUj0X5YgpiSNEb... to xBJq6PsO5ebblODMe... (flutter/engine#43627)
    2023-07-13 skia-flutter-autoroll@skia.org Roll Skia from 6ed93436d57c to 7f391ea9164e (1 revision) (flutter/engine#43625)
    2023-07-13 skia-flutter-autoroll@skia.org Roll Dart SDK from 8f8f281ccdc6 to f499e91e8cb2 (3 revisions) (flutter/engine#43623)
    2023-07-13 skia-flutter-autoroll@skia.org Roll Fuchsia Mac SDK from 0fvk838jTDNQ_l43k... to 3C7P0w8ySmtqpyi3S... (flutter/engine#43622)
    2023-07-13 skia-flutter-autoroll@skia.org Roll Skia from bedc92598644 to 6ed93436d57c (3 revisions) (flutter/engine#43621)
    2023-07-13 jonahwilliams@google.com [Impeller] Add support to embedder for Impeller on GL (via Angle on Windows). (flutter/engine#43388)
    2023-07-12 jonahwilliams@google.com [Impeller] Allocate buffers out of a pool on the raster thread. (flutter/engine#43564)
    2023-07-12 skia-flutter-autoroll@skia.org Roll Skia from 4e989b1564ee to bedc92598644 (1 revision) (flutter/engine#43617)
    2023-07-12 flar@google.com move rtree and canvas_spy sources to Fuchsia sub-directory (flutter/engine#43615)
    2023-07-12 skia-flutter-autoroll@skia.org Roll Skia from 68e3c0b3eea7 to 4e989b1564ee (6 revisions) (flutter/engine#43614)
    2023-07-12 ian@hixie.ch Document (and assert) that channel names can't contains nulls (flutter/engine#43593)
    2023-07-12 58529443+srujzs@users.noreply.github.com Reland "Refactor JSNumber.toDart and Object.toJS" (flutter/engine#43363)
    2023-07-12 31859944+LongCatIsLooong@users.noreply.github.com Add a flag to `ParagraphBuilder` for rounding hack migration (flutter/engine#43118)
    2023-07-12 john@johnmccutchan.com [Impeller] Fixes for asymmetric stencil descriptors (flutter/engine#43535)
    2023-07-12 skia-flutter-autoroll@skia.org Roll Skia from adeeb8d50f7c to 68e3c0b3eea7 (1 revision) (flutter/engine#43609)
    2023-07-12 flar@google.com Add comment to use of 3x3 mapRect in TransformLayer (flutter/engine#43608)
    2023-07-12 skia-flutter-autoroll@skia.org Roll Skia from a251a36ea519 to adeeb8d50f7c (1 revision) (flutter/engine#43606)
    2023-07-12 skia-flutter-autoroll@skia.org Roll Dart SDK from b95f6531c726 to 8f8f281ccdc6 (2 revisions) (flutter/engine#43607)
    2023-07-12 skia-flutter-autoroll@skia.org Roll Skia from ebc149cff431 to a251a36ea519 (2 revisions) (flutter/engine#43604)
    2023-07-12 jonahwilliams@google.com [Impeller] Use new SkParagraph APIs for stroked text. (flutter/engine#41735)

    Also rolling transitive DEPS:
      fuchsia/sdk/core/linux-amd64 from 1STsUj0X5Ygp to xBJq6PsO5ebb
      fuchsia/sdk/core/mac-amd64 from 0fvk838jTDNQ to 3C7P0w8ySmtq

    If this roll has caused a breakage, revert this CL and stop the roller
    using the controls here:
    https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
    Please CC rmistry@google.com,zra@google.com on the revert to ensure that a human
    is aware of the problem.

    To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose

    To report a problem with the AutoRoller itself, please file a bug:
    https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

    Documentation for the AutoRoller is here:
    https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
    ...

 bin/internal/engine.version        | 2 +-
 bin/internal/fuchsia-linux.version | 2 +-
 bin/internal/fuchsia-mac.version   | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
christopherfujino commented 5 months ago

@xdio0 and @gu1llermo it's frustrating that you both bisected to two different commits--however, given that they are within a day of each other, it seems likely the regression was some time around here. Thanks both for your efforts, I will take a look at suspicious Dart commits around that time and report back.

christopherfujino commented 4 months ago

So I took a look at the two flutter/flutter commits from the bisects above. I worked from the assumption it is a Dart SDK change that regressed this--it's possible it could have been a different change.

From @xdio0's bisect: https://github.com/flutter/flutter/commit/ee4208fd26abd5c91680b4aa185df0ae9e00ce61

From Dart -> Engine roll: https://dart.googlesource.com/sdk.git/+log/f499e91e8cb2..ade4dae923f3

There is only one change here, and as it is Dart-only it seems unlikely to be the culprit.

https://dart.googlesource.com/sdk.git/+log/8f8f281ccdc6..f499e91e8cb2

  1. https://dart.googlesource.com/sdk.git/+/89e24c1aefaf2f410ddb5eb6fbfa826f91d84f4d%5E%21/#F0 is about asserts for Windows ARM64, I don't think it's this
  2. https://dart.googlesource.com/sdk.git/+/d486c52ff6da0af20a7174b92144c107608ed04f%5E%21/#F13 "[vm, gc] Add flag to disable write barrier elimination." I'm not sure what this means, or if this could be related cc @rmacnak-google

From Dart -> Engine roll: https://dart.googlesource.com/sdk.git/+log/b95f6531c726..8f8f281ccdc6

No obvious candidates.

From @gu1llermo's bisect: https://github.com/flutter/flutter/commit/47ba59c762919d66811b72acab9732d6aa2a93c9

There are no dart rolls

gu1llermo commented 4 months ago

@christopherfujino First of all, thank you very much buddy, is there anything else I can do to support you?

aam commented 4 months ago

@gu1llermo @xdio0 @ProZhar can you run following one-line dart program on the machine where flutter fails to run, using the dart from that flutter installation:

=== floor.dart ===
main() {  print(42.0.floor()); }
> flutter\bin\cache\dart-sdk\bin\dart floor.dart
42
>

it should print 42 if successful.

Hopefully it doesn't do that, then, can you then run the same dart command with --target-unknown-cpu and share the results.

> flutter\bin\cache\dart-sdk\bin\dart --target-unknown-cpu floor.dart

Also can you then run the same dart command with --disassemble option, redirect the stderr to the file and attach the file to the comment in this issue.

> flutter\bin\cache\dart-sdk\bin\dart --disassemble floor.dart 2> disasm.txt
> flutter\bin\cache\dart-sdk\bin\dart --target-unknown-cpu --disassemble floor.dart 2> disasm-unknown-cpu.txt
gu1llermo commented 4 months ago

I created the file floor.dart

=== floor.dart ===
main() {  print(42.0.floor()); }

And I followed your instructions

PS C:\dev\flutter\bin\cache\dart-sdk\bin> flutter doctor -v
[√] Flutter (Channel stable, 3.16.8, on Microsoft Windows [Versi¢n 10.0.19045.4170], locale es-MX)
    • Flutter version 3.16.8 on channel stable at C:\dev\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 67457e669f (8 weeks ago), 2024-01-16 16:22:29 -0800
    • Engine revision 6e2ea58a5c
    • Dart version 3.2.5
    • DevTools version 2.28.5

[√] Windows Version (Installed version of Windows is version 10 or higher)

[√] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at C:\Android\sdk\
    • Platform android-34, build-tools 34.0.0
    • Java binary at: C:\Program Files\Android\Android Studio\jbr\bin\java
    • Java version OpenJDK Runtime Environment (build 17.0.7+0-b2043.56-10550314)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.8.4)
    • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
    • Visual Studio Community 2022 version 17.8.34408.163
    • Windows 10 SDK version 10.0.22621.0

[√] Android Studio (version 2023.1)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • android-studio-dir = C:\Program Files\Android\Android Studio
    • Java version OpenJDK Runtime Environment (build 17.0.7+0-b2043.56-10550314)

[√] IntelliJ IDEA Community Edition (version 2023.3)
    • IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2023.1
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart

[√] VS Code (version 1.87.0)
    • VS Code at C:\Users\guillermo\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.82.0

[√] Connected device (3 available)
    • Windows (desktop) • windows • windows-x64    • Microsoft Windows [Versi¢n 10.0.19045.4170]
    • Chrome (web)      • chrome  • web-javascript • Google Chrome 122.0.6261.70
    • Edge (web)        • edge    • web-javascript • Microsoft Edge 121.0.2277.112

[√] Network resources
    • All expected network resources are available.

• No issues found!
PS C:\dev\flutter\bin\cache\dart-sdk\bin> dart .\floor.dart
floor.dart:1:1: Error: The '===' operator is not supported.
=== floor.dart ===
^
floor.dart:1:16: Error: The '===' operator is not supported.
=== floor.dart ===
               ^
floor.dart:1:1: Error: Expected a declaration, but got '==='.
=== floor.dart ===
^^^
floor.dart:1:5: Error: A function declaration needs an explicit list of parameters.
Try adding a parameter list to the function declaration.
=== floor.dart ===
    ^^^^^
floor.dart:1:10: Error: Expected '{' before this.
=== floor.dart ===
         ^
floor.dart:1:10: Error: Expected a declaration, but got '.'.
=== floor.dart ===
         ^
floor.dart:1:11: Error: Variables must be declared using the keywords 'const', 'final', 'var' or a type name.
Try adding the name of the type of the variable or the keyword 'var'.
=== floor.dart ===
          ^^^^
floor.dart:1:11: Error: Expected ';' after this.
=== floor.dart ===
          ^^^^
floor.dart:1:16: Error: Expected a declaration, but got '==='.
=== floor.dart ===
               ^^^
PS C:\dev\flutter\bin\cache\dart-sdk\bin> dart --target-unknown-cpu floor.dart
floor.dart:1:1: Error: The '===' operator is not supported.
=== floor.dart ===
^
floor.dart:1:16: Error: The '===' operator is not supported.
=== floor.dart ===
               ^
floor.dart:1:1: Error: Expected a declaration, but got '==='.
=== floor.dart ===
^^^
floor.dart:1:5: Error: A function declaration needs an explicit list of parameters.
Try adding a parameter list to the function declaration.
=== floor.dart ===
    ^^^^^
floor.dart:1:10: Error: Expected '{' before this.
=== floor.dart ===
         ^
floor.dart:1:10: Error: Expected a declaration, but got '.'.
=== floor.dart ===
         ^
floor.dart:1:11: Error: Variables must be declared using the keywords 'const', 'final', 'var' or a type name.
Try adding the name of the type of the variable or the keyword 'var'.
=== floor.dart ===
          ^^^^
floor.dart:1:11: Error: Expected ';' after this.
=== floor.dart ===
          ^^^^
floor.dart:1:16: Error: Expected a declaration, but got '==='.
=== floor.dart ===
               ^^^
PS C:\dev\flutter\bin\cache\dart-sdk\bin> dart --disassemble floor.dart 2> disasm.txt
PS C:\dev\flutter\bin\cache\dart-sdk\bin> dart --target-unknown-cpu --disassemble floor.dart 2> disasm-unknown-cpu.txt
PS C:\dev\flutter\bin\cache\dart-sdk\bin>

And I attached the two resulting files disasm.txt disasm-unknown-cpu.txt

kirill-21 commented 4 months ago
=== floor.dart ===

=== floor.dart === is name file, you should not include this in the code)

main() {  print(42.0.floor()); }

This is the code, @gu1llermo