Back to build
Raw log | Switch to full mode | Login

▌16:25:41▐ STARTING ANALYSIS ▌16:25:41▐ SHARD=tool_integration_tests ▌16:25:41▐ SUBSHARD=1_4 Selecting subshard 1 of 4 (tests 1-18 of 72) RUNNING: cd .; bin/flutter --version workingDirectory: null, executable: /Volumes/Work/s/w/ir/x/w/flutter/bin/flutter, arguments: [--version] Building flutter tool... Resolving dependencies... Downloading packages... Got dependencies. Flutter 3.24.0-1.0.pre.67 • channel [user-branch] • unknown source Framework • revision cd66f32878 (10 minutes ago) • 2024-07-09 16:15:31 -0700 Engine • revision d3269d5855 Tools • Dart 3.5.0 (build 3.5.0-323.0.dev) • DevTools 2.37.0 ELAPSED TIME: 8.356s for bin/flutter --version in . RUNNING: cd packages/flutter_tools; ../../bin/cache/dart-sdk/bin/dart run test --reporter=expanded --file-reporter=json:/Volumes/Work/s/w/ir/x/t/metrics_1720567541893977.json --test-randomize-ordering-seed=20240709 -j1 --no-color test/integration.shard/web_plugin_registrant_test.dart test/integration.shard/variable_expansion_windows_test.dart test/integration.shard/build_preview_test.dart test/integration.shard/downgrade_upgrade_integration_test.dart test/integration.shard/plist_parser_test.dart test/integration.shard/android_plugin_example_app_build_test.dart test/integration.shard/flutter_build_config_only_test.dart test/integration.shard/flutter_build_with_compilation_error_test.dart test/integration.shard/swift_package_manager_test.dart test/integration.shard/flutter_gen_test.dart test/integration.shard/command_output_test.dart test/integration.shard/android_plugin_compilesdkversion_mismatch_test.dart test/integration.shard/hot_reload_errors_test.dart test/integration.shard/flutter_attach_test.dart test/integration.shard/cache_test.dart test/integration.shard/android_e2e_api_test.dart test/integration.shard/test_test.dart test/integration.shard/swift_package_manager_create_app_test.dart workingDirectory: /Volumes/Work/s/w/ir/x/w/flutter/packages/flutter_tools, executable: /Volumes/Work/s/w/ir/x/w/flutter/bin/cache/dart-sdk/bin/dart, arguments: [run, test, --reporter=expanded, --file-reporter=json:/Volumes/Work/s/w/ir/x/t/metrics_1720567541893977.json, --test-randomize-ordering-seed=20240709, -j1, --no-color, test/integration.shard/web_plugin_registrant_test.dart, test/integration.shard/variable_expansion_windows_test.dart, test/integration.shard/build_preview_test.dart, test/integration.shard/downgrade_upgrade_integration_test.dart, test/integration.shard/plist_parser_test.dart, test/integration.shard/android_plugin_example_app_build_test.dart, test/integration.shard/flutter_build_config_only_test.dart, test/integration.shard/flutter_build_with_compilation_error_test.dart, test/integration.shard/swift_package_manager_test.dart, test/integration.shard/flutter_gen_test.dart, test/integration.shard/command_output_test.dart, test/integration.shard/android_plugin_compilesdkversion_mismatch_test.dart, test/integration.shard/hot_reload_errors_test.dart, test/integration.shard/flutter_attach_test.dart, test/integration.shard/cache_test.dart, test/integration.shard/android_e2e_api_test.dart, test/integration.shard/test_test.dart, test/integration.shard/swift_package_manager_create_app_test.dart] Shuffling test order with --test-randomize-ordering-seed=20240709 00:00 +0: loading test/integration.shard/web_plugin_registrant_test.dart 00:00 +0: test/integration.shard/web_plugin_registrant_test.dart: (setUpAll) 00:06 +0: test/integration.shard/web_plugin_registrant_test.dart: generated plugin registrant passes analysis with null safety 00:20 +1: test/integration.shard/web_plugin_registrant_test.dart: (no-op) generated plugin registrant passes analysis 00:36 +2: test/integration.shard/web_plugin_registrant_test.dart: generated plugin registrant ignores lines longer than 80 chars 00:56 +3: test/integration.shard/web_plugin_registrant_test.dart: generated plugin registrant for dartpad is created on pub get 00:59 +4: test/integration.shard/web_plugin_registrant_test.dart: generated plugin registrant passes analysis 01:17 +5: test/integration.shard/web_plugin_registrant_test.dart: (tearDownAll) 01:17 +5: loading test/integration.shard/variable_expansion_windows_test.dart 01:17 +5: test/integration.shard/variable_expansion_windows_test.dart: dart command will expand variables on windows Skip: Reverted in https://github.com/flutter/flutter/pull/86000 01:17 +5 ~1: loading test/integration.shard/build_preview_test.dart 01:17 +5 ~1: test/integration.shard/build_preview_test.dart: flutter build _preview creates preview device 01:17 +5 ~2: loading test/integration.shard/downgrade_upgrade_integration_test.dart 01:18 +5 ~2: test/integration.shard/downgrade_upgrade_integration_test.dart: Can upgrade and downgrade a Flutter checkout 01:31 +6 ~2: loading test/integration.shard/plist_parser_test.dart 01:32 +6 ~2: test/integration.shard/plist_parser_test.dart: PlistParser.getValueFromFile<String> works with an XML file 01:32 +7 ~2: test/integration.shard/plist_parser_test.dart: PlistParser.replaceKey throws when /usr/bin/plutil is not found 01:32 +7 ~3: test/integration.shard/plist_parser_test.dart: PlistParser.replaceKey works with a JSON file 01:32 +8 ~3: test/integration.shard/plist_parser_test.dart: PlistParser.getValueFromFile<String> throws when /usr/bin/plutil is not found 01:32 +8 ~4: test/integration.shard/plist_parser_test.dart: PlistParser.plistJsonContent can parse pbxproj file with unicode and emojis 01:32 +9 ~4: test/integration.shard/plist_parser_test.dart: PlistParser.replaceKey can replace a key 01:32 +10 ~4: test/integration.shard/plist_parser_test.dart: PlistParser.getValueFromFile<String> works with a JSON file 01:32 +11 ~4: test/integration.shard/plist_parser_test.dart: PlistParser.getValueFromFile<String> works with a binary file 01:32 +12 ~4: test/integration.shard/plist_parser_test.dart: PlistParser.plistJsonContent returns null when errors 01:32 +13 ~4: test/integration.shard/plist_parser_test.dart: PlistParser.getValueFromFile<String> returns null for a malformed plist file 01:32 +14 ~4: test/integration.shard/plist_parser_test.dart: PlistParser.replaceKey can create a new key 01:32 +15 ~4: test/integration.shard/plist_parser_test.dart: PlistParser.plistJsonContent can parse pbxproj file 01:32 +16 ~4: test/integration.shard/plist_parser_test.dart: PlistParser.parseFile can handle different datatypes 01:32 +17 ~4: test/integration.shard/plist_parser_test.dart: PlistParser.getValueFromFile<String> returns null for a non-existent key within a plist 01:32 +18 ~4: test/integration.shard/plist_parser_test.dart: PlistParser.getValueFromFile<String> returns null for a non-existent plist file 01:32 +19 ~4: test/integration.shard/plist_parser_test.dart: PlistParser.replaceKey returns false for a malformed plist file 01:32 +20 ~4: test/integration.shard/plist_parser_test.dart: PlistParser.replaceKey can delete a key 01:32 +21 ~4: loading test/integration.shard/android_plugin_example_app_build_test.dart 01:32 +21 ~4: test/integration.shard/android_plugin_example_app_build_test.dart: FFI plugin example can be built using current Flutter Gradle plugin 02:17 +22 ~4: test/integration.shard/android_plugin_example_app_build_test.dart: plugin example can be built using current Flutter Gradle plugin 03:31 +23 ~4: loading test/integration.shard/flutter_build_config_only_test.dart 03:31 +23 ~4: test/integration.shard/flutter_build_config_only_test.dart: flutter build apk --config-only should create gradlew and not assemble 03:33 +24 ~4: loading test/integration.shard/flutter_build_with_compilation_error_test.dart 03:33 +24 ~4: test/integration.shard/flutter_build_with_compilation_error_test.dart: (setUpAll) 03:34 +24 ~4: test/integration.shard/flutter_build_with_compilation_error_test.dart: flutter build web shows dart compilation error in non-verbose 03:35 +25 ~4: test/integration.shard/flutter_build_with_compilation_error_test.dart: flutter build apk shows dart compilation error in non-verbose 03:46 +26 ~4: test/integration.shard/flutter_build_with_compilation_error_test.dart: flutter build ios shows dart compilation error in non-verbose 04:02 +26 ~4 -1: test/integration.shard/flutter_build_with_compilation_error_test.dart: flutter build ios shows dart compilation error in non-verbose [E] Expected: a process with exit code 1 and stderr: "A value of type 'String' can't be assigned to a variable of type 'int'." Actual: <Instance of 'ProcessResult'> Which: Actual stdout: Downloading ios tools... 1,634ms Downloading ios-profile tools... 1,184ms Downloading ios-release tools... 961ms Warning: Building for device with codesigning disabled. You will have to manually codesign before deploying to device. Building com.example.hello for device (ios-release)... Running Xcode build... Xcode build done. 3.2s Failed to build iOS app Error output from Xcode build: ↳ ** BUILD FAILED ** Xcode's output: ↳ Writing result bundle at path: /Volumes/Work/s/w/ir/x/t/flutter_tools.OlXjrA/flutter_ios_build_temp_dirjszsu2/temporary_xcresult_bundle error: lib/main.dart:1:9: Error: A value of type 'String' can't be assigned to a variable of type 'int'. int x = 'String'; ^ package:hello/main.dart: Error: No 'main' method found. Try adding a method named 'main' to your program. Target kernel_snapshot_program failed: Exception Failed to package /Volumes/Work/s/w/ir/x/t/flutter_build_compilation_error_test.3IDLED/hello. note: Disabling previews because SWIFT_VERSION is set and SWIFT_OPTIMIZATION_LEVEL=-O, expected -Onone (in target 'Runner' from project 'Runner') note: Run script build phase 'Run Script' will be run during every build because the option to run the script phase "Based on dependency analysis" is unchecked. (in target 'Runner' from project 'Runner') note: Run script build phase 'Thin Binary' will be run during every build because the option to run the script phase "Based on dependency analysis" is unchecked. (in target 'Runner' from project 'Runner') Actual stderr: Encountered error while building for device. package:matcher expect test/integration.shard/flutter_build_with_compilation_error_test.dart 66:7 main.<fn> dart:async runZoned test/src/common.dart 214:14 testWithoutContext.<fn> test/src/common.dart 183:18 test.<fn> 04:02 +26 ~4 -1: test/integration.shard/flutter_build_with_compilation_error_test.dart: flutter build macos shows dart compilation error in non-verbose 04:09 +27 ~4 -1: test/integration.shard/flutter_build_with_compilation_error_test.dart: (tearDownAll) 04:09 +27 ~4 -1: loading test/integration.shard/swift_package_manager_test.dart 04:09 +27 ~4 -1: test/integration.shard/swift_package_manager_test.dart: Build ios-framework with module app uses CocoaPods 04:46 +28 ~4 -1: test/integration.shard/swift_package_manager_test.dart: Swift Package Manager integration for macos with swift 06:20 +29 ~4 -1: test/integration.shard/swift_package_manager_test.dart: Build macos-framework with non-module app uses CocoaPods 06:47 +30 ~4 -1: test/integration.shard/swift_package_manager_test.dart: Caches build targets between builds with Swift Package Manager on ios 12:27 +31 ~4 -1: test/integration.shard/swift_package_manager_test.dart: Swift Package Manager integration for ios with swift 25:18 +32 ~4 -1: test/integration.shard/swift_package_manager_test.dart: Swift Package Manager integration for ios with objc 36:50 +33 ~4 -1: test/integration.shard/swift_package_manager_test.dart: Build ios-framework with non-module app uses CocoaPods 37:21 +34 ~4 -1: test/integration.shard/swift_package_manager_test.dart: Caches build targets between builds with Swift Package Manager on macos 37:43 +35 ~4 -1: loading test/integration.shard/flutter_gen_test.dart 37:43 +35 ~4 -1: test/integration.shard/flutter_gen_test.dart: can correctly reference flutter generated code. 37:45 +36 ~4 -1: loading test/integration.shard/command_output_test.dart 37:45 +36 ~4 -1: test/integration.shard/command_output_test.dart: flutter attach --machine uses AppRunLogger 37:46 +37 ~4 -1: test/integration.shard/command_output_test.dart: A tool exit is thrown for an invalid debug-url in flutter attach 37:46 +38 ~4 -1: test/integration.shard/command_output_test.dart: will load bootstrap script before starting 37:46 +39 ~4 -1: test/integration.shard/command_output_test.dart: flutter can report crashes 43:18 +40 ~4 -1: test/integration.shard/command_output_test.dart: flutter doctor -vv super verbose 44:42 +41 ~4 -1: test/integration.shard/command_output_test.dart: Flutter help is shown with -? command line argument 44:42 +42 ~4 -1: test/integration.shard/command_output_test.dart: flutter config --list contains all features 44:42 +43 ~4 -1: test/integration.shard/command_output_test.dart: flutter attach does not support --release 44:42 +44 ~4 -1: test/integration.shard/command_output_test.dart: All development tools and deprecated commands are hidden and help text is not verbose 44:42 +45 ~4 -1: test/integration.shard/command_output_test.dart: flutter --version --machine outputs JSON with flutterRoot 44:42 +46 ~4 -1: test/integration.shard/command_output_test.dart: Providing sksl bundle with missing file with tool exit