Issue 1:
When rebuilding, changes are not always applied

Steps to Reproduce

Please check this video for steps to reproduce

Issue 2:
From some Travis logs:

00:25 +135: test/commands/analyze_duplicate_names_test.dart: analyze flutter analyze with two files with the same name
00:27 +136: test/commands/analyze_once_test.dart: analyze once (setUpAll)
00:27 +136: loading test/commands/analyze_test.dart
00:27 +136: test/commands/analyze_once_test.dart: analyze once flutter create
502 Bad Gateway trying to find package string_scanner at https://pub.dartlang.org.
00:47 +136 -1: test/commands/analyze_once_test.dart: analyze once flutter create [E]
Expected: empty
Actual: '502 Bad Gateway trying to find package string_scanner at https://pub.dartlang.org.\n'
''

package:test expect
test/commands/analyze_once_test.dart 200:5 assertContains
test/commands/analyze_once_test.dart 226:3 runCommand
test/commands/analyze_once_test.dart 41:13 main.<fn>.<fn>
test/src/context.dart 101:32 testUsingContext.<fn>.<fn>
package:flutter_tools/src/base/context.dart 76:26 AppContext._run
package:flutter_tools/src/base/context.dart 66:13 AppContext.runInZone.<fn>
dart:async runZoned
package:flutter_tools/src/base/context.dart 65:12 AppContext.runInZone
test/src/context.dart 90:32 testUsingContext.<fn>
===== asynchronous gap ===========================
dart:async _Completer.completeError
test/commands/analyze_once_test.dart 228:1 runCommand
===== asynchronous gap ===========================
dart:async _asyncThenWrapperHelper
test/commands/analyze_once_test.dart 214:10 runCommand
test/commands/analyze_once_test.dart 41:13 main.<fn>.<fn>
===== asynchronous gap ===========================
dart:async new Future.microtask
test/commands/analyze_once_test.dart 40:49 main.<fn>.<fn>
test/src/context.dart 101:32 testUsingContext.<fn>.<fn>
===== asynchronous gap ===========================
dart:async new Future.microtask
test/src/context.dart 90:51 testUsingContext.<fn>.<fn>
package:flutter_tools/src/base/context.dart 76:26 AppContext._run
===== asynchronous gap ===========================
dart:async new Future.microtask
package:flutter_tools/src/base/context.dart 72:48 AppContext._run
package:flutter_tools/src/base/context.dart 66:13 AppContext.runInZone.<fn>
dart:async runZoned
package:flutter_tools/src/base/context.dart 65:12 AppContext.runInZone
test/src/context.dart 90:32 testUsingContext.<fn>
===== asynchronous gap ===========================
dart:async new Future.microtask
test/src/context.dart 72:30 testUsingContext.<fn>

00:47 +136 -1: test/commands/analyze_once_test.dart: analyze once flutter analyze working directory
00:54 +137 -1: test/commands/analyze_once_test.dart: analyze once flutter analyze one file

00:25 +135: test/commands/analyze_duplicate_names_test.dart: (setUpAll)
00:25 +135: loading test/commands/analyze_once_test.dart
00:25 +135: test/commands/analyze_duplicate_names_test.dart: analyze flutter analyze with two files with the same name
00:27 +136: test/commands/analyze_once_test.dart: analyze once (setUpAll)
00:27 +136: loading test/commands/analyze_test.dart
00:27 +136: test/commands/analyze_once_test.dart: analyze once flutter create
00:57 +136 -1: test/commands/analyze_once_test.dart: analyze once flutter create [E]
TimeoutException after 0:00:30.000000: Test timed out after 30 seconds.
dart:isolate _RawReceivePortImpl._handleMessage

00:57 +136 -1: test/commands/analyze_once_test.dart: analyze once flutter analyze working directory
00:58 +136 -2: test/commands/analyze_once_test.dart: analyze once flutter analyze working directory [E]
Exception: (Ran in 1.1s)
package:flutter_tools/src/base/common.dart 29:3 throwToolExit
package:flutter_tools/src/commands/analyze_once.dart 123:9 AnalyzeOnce.analyze
package:flutter_tools/src/commands/analyze.dart 62:104 AnalyzeCommand.runCommand
package:flutter_tools/src/runner/flutter_command.dart 241:18 FlutterCommand.verifyThenRunCommand
package:flutter_tools/src/runner/flutter_command.dart 181:29 FlutterCommand.run
package:args/command_runner.dart 194:27 CommandRunner.runCommand
package:flutter_tools/src/runner/flutter_command_runner.dart 279:27 FlutterCommandRunner.runCommand
package:args/command_runner.dart 109:29 CommandRunner.run.<fn>
dart:async new Future.sync
package:args/command_runner.dart 109:11 CommandRunner.run
package:flutter_tools/src/runner/flutter_command_runner.dart 162:21 FlutterCommandRunner.run
test/commands/analyze_once_test.dart 217:44 runCommand
test/commands/analyze_once_test.dart 54:13 main.<fn>.<fn>
test/src/context.dart 101:32 testUsingContext.<fn>.<fn>
package:flutter_tools/src/base/context.dart 76:26 AppContext._run
package:flutter_tools/src/base/context.dart 66:13 AppContext.runInZone.<fn>
dart:async runZoned
package:flutter_tools/src/base/context.dart 65:12 AppContext.runInZone
test/src/context.dart 90:32 testUsingContext.<fn>
===== asynchronous gap ===========================
dart:async _Completer.completeError
package:flutter_tools/src/commands/analyze_once.dart 198:3 AnalyzeOnce.analyze
===== asynchronous gap ===========================
dart:async _asyncThenWrapperHelper
package:flutter_tools/src/commands/analyze_once.dart 34:32 AnalyzeOnce.analyze
package:flutter_tools/src/commands/analyze.dart 62:104 AnalyzeCommand.runCommand
package:flutter_tools/src/runner/flutter_command.dart 241:18 FlutterCommand.verifyThenRunCommand
===== asynchronous gap ===========================
dart:async _asyncThenWrapperHelper
package:flutter_tools/src/runner/flutter_command.dart 221:61 FlutterCommand.verifyThenRunCommand
package:flutter_tools/src/runner/flutter_command.dart 181:29 FlutterCommand.run
===== asynchronous gap ===========================
dart:async new Future.microtask
package:flutter_tools/src/runner/flutter_command.dart 173:28 FlutterCommand.run
package:args/command_runner.dart 194:27 CommandRunner.runCommand
===== asynchronous gap ===========================
dart:async new Future.microtask
package:args/command_runner.dart 142:58 CommandRunner.runCommand
package:flutter_tools/src/runner/flutter_command_runner.dart 279:27 FlutterCommandRunner.runCommand
===== asynchronous gap ===========================
dart:async _asyncThenWrapperHelper
package:flutter_tools/src/runner/flutter_command_runner.dart 166:59 FlutterCommandRunner.runCommand
package:args/command_runner.dart 109:29 CommandRunner.run.<fn>
dart:async new Future.sync
package:args/command_runner.dart 109:11 CommandRunner.run
package:flutter_tools/src/runner/flutter_command_runner.dart 162:21 FlutterCommandRunner.run
test/commands/analyze_once_test.dart 217:44 runCommand
===== asynchronous gap ===========================
dart:async new Future.microtask
test/commands/analyze_once_test.dart 214:10 runCommand
test/commands/analyze_once_test.dart 54:13 main.<fn>.<fn>
===== asynchronous gap ===========================
dart:async new Future.microtask
test/commands/analyze_once_test.dart 53:68 main.<fn>.<fn>
test/src/context.dart 101:32 testUsingContext.<fn>.<fn>
===== asynchronous gap ===========================
dart:async new Future.microtask
test/src/context.dart 90:51 testUsingContext.<fn>.<fn>
package:flutter_tools/src/base/context.dart 76:26 AppContext._run
===== asynchronous gap ===========================
dart:async new Future.microtask
package:flutter_tools/src/base/context.dart 72:48 AppContext._run
package:flutter_tools/src/base/context.dart 66:13 AppContext.runInZone.<fn>
dart:async runZoned
package:flutter_tools/src/base/context.dart 65:12 AppContext.runInZone
test/src/context.dart 90:32 testUsingContext.<fn>
===== asynchronous gap ===========================
dart:async new Future.microtask
test/src/context.dart 72:30 testUsingContext.<fn>

00:58 +136 -2: test/commands/analyze_once_test.dart: analyze once flutter analyze one file
00:59 +136 -3: test/commands/analyze_once_test.dart: analyze once flutter analyze one file [E]
Exception: (Ran in 0.9s)
package:flutter_tools/src/base/common.dart 29:3 throwToolExit
package:flutter_tools/src/commands/analyze_once.dart 123:9 AnalyzeOnce.analyze
package:flutter_tools/src/commands/analyze.dart 62:104 AnalyzeCommand.runCommand
package:flutter_tools/src/runner/flutter_command.dart 241:18 FlutterCommand.verifyThenRunCommand
package:flutter_tools/src/runner/flutter_command.dart 181:29 FlutterCommand.run
package:args/command_runner.dart 194:27 CommandRunner.runCommand
package:flutter_tools/src/runner/flutter_command_runner.dart 279:27 FlutterCommandRunner.runCommand
package:args/command_runner.dart 109:29 CommandRunner.run.<fn>
dart:async new Future.sync
package:args/command_runner.dart 109:11 CommandRunner.run
package:flutter_tools/src/runner/flutter_command_runner.dart 162:21 FlutterCommandRunner.run
test/commands/analyze_once_test.dart 217:44 runCommand
test/commands/analyze_once_test.dart 63:13 main.<fn>.<fn>
test/src/context.dart 101:32 testUsingContext.<fn>.<fn>
package:flutter_tools/src/base/context.dart 76:26 AppContext._run
package:flutter_tools/src/base/context.dart 66:13 AppContext.runInZone.<fn>
dart:async runZoned
package:flutter_tools/src/base/context.dart 65:12 AppContext.runInZone
test/src/context.dart 90:32 testUsingContext.<fn>
===== asynchronous gap ===========================
dart:async _Completer.completeError
package:flutter_tools/src/commands/analyze_once.dart 198:3 AnalyzeOnce.analyze
===== asynchronous gap ===========================
dart:async _asyncThenWrapperHelper
package:flutter_tools/src/commands/analyze_once.dart 34:32 AnalyzeOnce.analyze
package:flutter_tools/src/commands/analyze.dart 62:104 AnalyzeCommand.runCommand
package:flutter_tools/src/runner/flutter_command.dart 241:18 FlutterCommand.verifyThenRunCommand
===== asynchronous gap ===========================
dart:async _asyncThenWrapperHelper
package:flutter_tools/src/runner/flutter_command.dart 221:61 FlutterCommand.verifyThenRunCommand
package:flutter_tools/src/runner/flutter_command.dart 181:29 FlutterCommand.run
===== asynchronous gap ===========================
dart:async new Future.microtask
package:flutter_tools/src/runner/flutter_command.dart 173:28 FlutterCommand.run
package:args/command_runner.dart 194:27 CommandRunner.runCommand
===== asynchronous gap ===========================
dart:async new Future.microtask
package:args/command_runner.dart 142:58 CommandRunner.runCommand
package:flutter_tools/src/runner/flutter_command_runner.dart 279:27 FlutterCommandRunner.runCommand
===== asynchronous gap ===========================
dart:async _asyncThenWrapperHelper
package:flutter_tools/src/runner/flutter_command_runner.dart 166:59 FlutterCommandRunner.runCommand
package:args/command_runner.dart 109:29 CommandRunner.run.<fn>
dart:async new Future.sync
package:args/command_runner.dart 109:11 CommandRunner.run
package:flutter_tools/src/runner/flutter_command_runner.dart 162:21 FlutterCommandRunner.run
test/commands/analyze_once_test.dart 217:44 runCommand
===== asynchronous gap ===========================
dart:async new Future.microtask
test/commands/analyze_once_test.dart 214:10 runCommand
test/commands/analyze_once_test.dart 63:13 main.<fn>.<fn>
===== asynchronous gap ===========================
dart:async new Future.microtask
test/commands/analyze_once_test.dart 62:59 main.<fn>.<fn>
test/src/context.dart 101:32 testUsingContext.<fn>.<fn>
===== asynchronous gap ===========================
dart:async new Future.microtask
test/src/context.dart 90:51 testUsingContext.<fn>.<fn>
package:flutter_tools/src/base/context.dart 76:26 AppContext._run
===== asynchronous gap ===========================
dart:async new Future.microtask
package:flutter_tools/src/base/context.dart 72:48 AppContext._run
package:flutter_tools/src/base/context.dart 66:13 AppContext.runInZone.<fn>
dart:async runZoned
package:flutter_tools/src/base/context.dart 65:12 AppContext.runInZone
test/src/context.dart 90:32 testUsingContext.<fn>
===== asynchronous gap ===========================
dart:async new Future.microtask
test/src/context.dart 72:30 testUsingContext.<fn>

00:59 +136 -3: test/commands/analyze_once_test.dart: analyze once flutter analyze working directory with errors
01:00 +136 -4: test/commands/analyze_once_test.dart: analyze once flutter analyze working directory with errors [E]
Expected: contains 'warning • The parameter \'onPressed\' is required'
Actual: 'Analyzing /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project...\n'
' error • Target of URI doesn\'t exist: \'package:flutter/material.dart\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:1:8 • uri_does_not_exist\n'
' error • Classes can only extend other classes at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:7:21 • extends_non_class\n'
' error • Classes can only extend other classes at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:29:26 • extends_non_class\n'
' error • Classes can only extend other classes at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:47:32 • extends_non_class\n'
' error • Target of URI doesn\'t exist: \'package:flutter/material.dart\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/test/widget_test.dart:7:8 • uri_does_not_exist\n'
' error • Target of URI doesn\'t exist: \'package:flutter_test/flutter_test.dart\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/test/widget_test.dart:8:8 ��� uri_does_not_exist\n'
' warning • The function \'runApp\' isn\'t defined at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:4:3 • undefined_function\n'
' warning • Undefined class \'StatelessWidget\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:7:21 • undefined_class\n'
' warning • Undefined class \'Widget\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:10:3 • undefined_class\n'
' warning • Undefined class \'BuildContext\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:10:16 • undefined_class\n'
' warning • Undefined class \'MaterialApp\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:11:16 • undefined_class\n'
' warning • Undefined class \'ThemeData\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:13:18 • undefined_class\n'
' warning • Undefined name \'Colors\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:22:24 • undefined_identifier\n'
' warning • Undefined class \'StatefulWidget\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:29:26 • undefined_class\n'
' warning • Undefined class \'Key\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:30:15 • undefined_class\n'
' warning • The named parameter \'key\' isn\'t defined at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:30:45 • undefined_named_parameter\n'
' warning • Undefined class \'State\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:47:32 • undefined_class\n'
' warning • The method \'setState\' isn\'t defined for the class \'_MyHomePageState\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:51:5 • undefined_method\n'
' warning • Undefined class \'Widget\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:62:3 • undefined_class\n'
' warning • Undefined class \'BuildContext\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:62:16 • undefined_class\n'
' warning • Undefined class \'Scaffold\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:69:16 • undefined_class\n'
' warning • Undefined class \'AppBar\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:70:19 • undefined_class\n'
' warning • Undefined class \'Text\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:73:20 • undefined_class\n'
' warning • Undefined name \'widget\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:73:25 • undefined_identifier\n'
' warning • Undefined class \'Center\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:75:17 • undefined_class\n'
' warning • Undefined class \'Column\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:78:20 • undefined_class\n'
' warning • Undefined name \'MainAxisAlignment\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:92:30 • undefined_identifier\n'
' warning • The name \'Widget\' isn\'t a type so it can\'t be used as a type argument at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:93:22 • non_type_as_type_argument\n'
' warning • Undefined class \'Text\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:94:17 • undefined_class\n'
' warning • Undefined class \'Text\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:97:17 • undefined_class\n'
' warning • Undefined name \'Theme\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:99:22 • undefined_identifier\n'
' warning • Undefined class \'FloatingActionButton\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:104:33 • undefined_class\n'
' warning • Undefined class \'Icon\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:107:20 • undefined_class\n'
' warning • Undefined name \'Icons\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:107:25 • undefined_identifier\n'
' warning • The function \'testWidgets\' isn\'t defined at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/test/widget_test.dart:13:3 • undefined_function\n'
' warning • Undefined class \'WidgetTester\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/test/widget_test.dart:13:49 • undefined_class\n'
' warning • The function \'expect\' isn\'t defined at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/test/widget_test.dart:18:5 • undefined_function\n'
' warning • Undefined name \'find\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/test/widget_test.dart:18:12 • undefined_identifier\n'
' warning • Undefined name \'findsOneWidget\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/test/widget_test.dart:18:28 • undefined_identifier\n'
' warning • The function \'expect\' isn\'t defined at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/test/widget_test.dart:19:5 • undefined_function\n'
' warning • Undefined name \'find\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/test/widget_test.dart:19:12 • undefined_identifier\n'
' warning • Undefined name \'findsNothing\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/test/widget_test.dart:19:28 • undefined_identifier\n'
' warning • Undefined name \'find\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/test/widget_test.dart:22:22 • undefined_identifier\n'
' warning • Undefined name \'Icons\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/test/widget_test.dart:22:34 • undefined_identifier\n'
' warning • The function \'expect\' isn\'t defined at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/test/widget_test.dart:26:5 • undefined_function\n'
' warning • Undefined name \'find\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/test/widget_test.dart:26:12 • undefined_identifier\n'
' warning • Undefined name \'findsNothing\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/test/widget_test.dart:26:28 • undefined_identifier\n'
' warning • The function \'expect\' isn\'t defined at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/test/widget_test.dart:27:5 • undefined_function\n'
' warning • Undefined name \'find\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/test/widget_test.dart:27:12 • undefined_identifier\n'
' warning • Undefined name \'findsOneWidget\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/test/widget_test.dart:27:28 • undefined_identifier\n'
' hint • Method doesn\'t override an inherited method at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:10:10 • override_on_non_overriding_method\n'
' hint • Method doesn\'t override an inherited method at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:44:20 • override_on_non_overriding_method\n'
' hint • The method \'_incrementCounter\' isn\'t used at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:50:8 • unused_element\n'
' hint • Method doesn\'t override an inherited method at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:62:10 • override_on_non_overriding_method\n'
'54 issues found.\n'
''

package:test expect
test/commands/analyze_once_test.dart 203:7 assertContains
test/commands/analyze_once_test.dart 225:3 runCommand
test/commands/analyze_once_test.dart 90:13 main.<fn>.<fn>
test/src/context.dart 101:32 testUsingContext.<fn>.<fn>
package:flutter_tools/src/base/context.dart 76:26 AppContext._run
package:flutter_tools/src/base/context.dart 66:13 AppContext.runInZone.<fn>
dart:async runZoned
package:flutter_tools/src/base/context.dart 65:12 AppContext.runInZone
test/src/context.dart 90:32 testUsingContext.<fn>
===== asynchronous gap ===========================
dart:async _Completer.completeError
test/commands/analyze_once_test.dart 228:1 runCommand
===== asynchronous gap ===========================
dart:async _asyncErrorWrapperHelper
test/commands/analyze_once_test.dart 214:10 runCommand
test/commands/analyze_once_test.dart 90:13 main.<fn>.<fn>
===== asynchronous gap ===========================
dart:async _asyncThenWrapperHelper
test/commands/analyze_once_test.dart 71:80 main.<fn>.<fn>
test/src/context.dart 101:32 testUsingContext.<fn>.<fn>
===== asynchronous gap ===========================
dart:async new Future.microtask
test/src/context.dart 90:51 testUsingContext.<fn>.<fn>
package:flutter_tools/src/base/context.dart 76:26 AppContext._run
===== asynchronous gap ===========================
dart:async new Future.microtask
package:flutter_tools/src/base/context.dart 72:48 AppContext._run
package:flutter_tools/src/base/context.dart 66:13 AppContext.runInZone.<fn>
dart:async runZoned
package:flutter_tools/src/base/context.dart 65:12 AppContext.runInZone
test/src/context.dart 90:32 testUsingContext.<fn>
===== asynchronous gap ===========================
dart:async new Future.microtask
test/src/context.dart 72:30 testUsingContext.<fn>

01:00 +136 -4: test/commands/analyze_once_test.dart: analyze once flutter analyze one file with errors
01:02 +136 -5: test/commands/analyze_once_test.dart: analyze once flutter analyze one file with errors [E]
Expected: contains 'warning • The parameter \'onPressed\' is required'
Actual: 'Analyzing /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart...\n'
' error • Target of URI doesn\'t exist: \'package:flutter/material.dart\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:1:8 • uri_does_not_exist\n'
' error • Classes can only extend other classes at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:7:21 • extends_non_class\n'
' error • Classes can only extend other classes at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:29:26 • extends_non_class\n'
' error • Classes can only extend other classes at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:47:32 • extends_non_class\n'
' warning • The function \'runApp\' isn\'t defined at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:4:3 • undefined_function\n'
' warning • Undefined class \'StatelessWidget\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:7:21 • undefined_class\n'
' warning • Undefined class \'Widget\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:10:3 • undefined_class\n'
' warning • Undefined class \'BuildContext\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:10:16 • undefined_class\n'
' warning • Undefined class \'MaterialApp\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:11:16 • undefined_class\n'
' warning • Undefined class \'ThemeData\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:13:18 • undefined_class\n'
' warning • Undefined name \'Colors\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:22:24 • undefined_identifier\n'
' warning • Undefined class \'StatefulWidget\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:29:26 • undefined_class\n'
' warning • Undefined class \'Key\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:30:15 • undefined_class\n'
' warning • The named parameter \'key\' isn\'t defined at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:30:45 • undefined_named_parameter\n'
' warning • Undefined class \'State\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:47:32 • undefined_class\n'
' warning • The method \'setState\' isn\'t defined for the class \'_MyHomePageState\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:51:5 • undefined_method\n'
' warning • Undefined class \'Widget\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:62:3 • undefined_class\n'
' warning • Undefined class \'BuildContext\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:62:16 • undefined_class\n'
' warning • Undefined class \'Scaffold\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:69:16 • undefined_class\n'
' warning • Undefined class \'AppBar\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:70:19 • undefined_class\n'
' warning • Undefined class \'Text\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:73:20 • undefined_class\n'
' warning • Undefined name \'widget\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:73:25 • undefined_identifier\n'
' warning • Undefined class \'Center\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:75:17 • undefined_class\n'
' warning • Undefined class \'Column\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:78:20 • undefined_class\n'
' warning • Undefined name \'MainAxisAlignment\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:92:30 • undefined_identifier\n'
' warning • The name \'Widget\' isn\'t a type so it can\'t be used as a type argument at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:93:22 • non_type_as_type_argument\n'
' warning • Undefined class \'Text\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:94:17 • undefined_class\n'
' warning • Undefined class \'Text\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:97:17 • undefined_class\n'
' warning • Undefined name \'Theme\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:99:22 • undefined_identifier\n'
' warning • Undefined class \'FloatingActionButton\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:104:33 • undefined_class\n'
' warning • Undefined class \'Icon\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:107:20 • undefined_class\n'
' warning • Undefined name \'Icons\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:107:25 • undefined_identifier\n'
' hint • Method doesn\'t override an inherited method at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:10:10 • override_on_non_overriding_method\n'
' hint • Method doesn\'t override an inherited method at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:44:20 • override_on_non_overriding_method\n'
' hint • The method \'_incrementCounter\' isn\'t used at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:50:8 • unused_element\n'
' hint • Method doesn\'t override an inherited method at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:62:10 • override_on_non_overriding_method\n'
'36 issues found.\n'
''

package:test expect
test/commands/analyze_once_test.dart 203:7 assertContains
test/commands/analyze_once_test.dart 225:3 runCommand
test/commands/analyze_once_test.dart 105:13 main.<fn>.<fn>
test/src/context.dart 101:32 testUsingContext.<fn>.<fn>
package:flutter_tools/src/base/context.dart 76:26 AppContext._run
package:flutter_tools/src/base/context.dart 66:13 AppContext.runInZone.<fn>
dart:async runZoned
package:flutter_tools/src/base/context.dart 65:12 AppContext.runInZone
test/src/context.dart 90:32 testUsingContext.<fn>
===== asynchronous gap ===========================
dart:async _Completer.completeError
test/commands/analyze_once_test.dart 228:1 runCommand
===== asynchronous gap ===========================
dart:async _asyncErrorWrapperHelper
test/commands/analyze_once_test.dart 214:10 runCommand
test/commands/analyze_once_test.dart 105:13 main.<fn>.<fn>
===== asynchronous gap ===========================
dart:async new Future.microtask
test/commands/analyze_once_test.dart 104:71 main.<fn>.<fn>
test/src/context.dart 101:32 testUsingContext.<fn>.<fn>
===== asynchronous gap ===========================
dart:async new Future.microtask
test/src/context.dart 90:51 testUsingContext.<fn>.<fn>
package:flutter_tools/src/base/context.dart 76:26 AppContext._run
===== asynchronous gap ===========================
dart:async new Future.microtask
package:flutter_tools/src/base/context.dart 72:48 AppContext._run
package:flutter_tools/src/base/context.dart 66:13 AppContext.runInZone.<fn>
dart:async runZoned
package:flutter_tools/src/base/context.dart 65:12 AppContext.runInZone
test/src/context.dart 90:32 testUsingContext.<fn>
===== asynchronous gap ===========================
dart:async new Future.microtask
test/src/context.dart 72:30 testUsingContext.<fn>

01:02 +136 -5: test/commands/analyze_once_test.dart: analyze once flutter analyze working directory with local options
01:03 +136 -6: test/commands/analyze_once_test.dart: analyze once flutter analyze working directory with local options [E]
Expected: contains 'warning • The parameter \'onPressed\' is required'
Actual: 'Analyzing /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project...\n'
' error • Target of URI doesn\'t exist: \'package:flutter/material.dart\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:1:8 • uri_does_not_exist\n'
' error • Classes can only extend other classes at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:7:21 • extends_non_class\n'
' error • Classes can only extend other classes at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:29:26 • extends_non_class\n'
' error • Classes can only extend other classes at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:47:32 • extends_non_class\n'
' error • Target of URI doesn\'t exist: \'package:flutter/material.dart\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/test/widget_test.dart:7:8 • uri_does_not_exist\n'
' error • Target of URI doesn\'t exist: \'package:flutter_test/flutter_test.dart\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/test/widget_test.dart:8:8 • uri_does_not_exist\n'
' warning • The function \'runApp\' isn\'t defined at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:4:3 • undefined_function\n'
' warning • Undefined class \'StatelessWidget\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:7:21 • undefined_class\n'
' warning • Undefined class \'Widget\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:10:3 • undefined_class\n'
' warning • Undefined class \'BuildContext\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:10:16 • undefined_class\n'
' warning • Undefined class \'MaterialApp\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:11:16 • undefined_class\n'
' warning • Undefined class \'ThemeData\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:13:18 • undefined_class\n'
' warning • Undefined name \'Colors\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:22:24 • undefined_identifier\n'
' warning • Undefined class \'StatefulWidget\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:29:26 • undefined_class\n'
' warning • Undefined class \'Key\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:30:15 • undefined_class\n'
' warning • The named parameter \'key\' isn\'t defined at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:30:45 • undefined_named_parameter\n'
' warning • Undefined class \'State\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:47:32 • undefined_class\n'
' warning • The method \'setState\' isn\'t defined for the class \'_MyHomePageState\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:51:5 • undefined_method\n'
' warning • Undefined class \'Widget\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:62:3 • undefined_class\n'
' warning • Undefined class \'BuildContext\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:62:16 • undefined_class\n'
' warning • Undefined class \'Scaffold\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:69:16 • undefined_class\n'
' warning • Undefined class \'AppBar\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:70:19 • undefined_class\n'
' warning • Undefined class \'Text\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:73:20 • undefined_class\n'
' warning • Undefined name \'widget\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:73:25 • undefined_identifier\n'
' warning • Undefined class \'Center\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:75:17 • undefined_class\n'
' warning • Undefined class \'Column\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:78:20 • undefined_class\n'
' warning • Undefined name \'MainAxisAlignment\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:92:30 • undefined_identifier\n'
' warning • The name \'Widget\' isn\'t a type so it can\'t be used as a type argument at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:93:22 • non_type_as_type_argument\n'
' warning • Undefined class \'Text\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:94:17 • undefined_class\n'
' warning • Undefined class \'Text\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:97:17 • undefined_class\n'
' warning • Undefined name \'Theme\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:99:22 • undefined_identifier\n'
' warning • Undefined class \'FloatingActionButton\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:104:33 • undefined_class\n'
' warning • Undefined class \'Icon\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:107:20 • undefined_class\n'
' warning • Undefined name \'Icons\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:107:25 • undefined_identifier\n'
' warning • The function \'testWidgets\' isn\'t defined at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/test/widget_test.dart:13:3 • undefined_function\n'
' warning • Undefined class \'WidgetTester\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/test/widget_test.dart:13:49 • undefined_class\n'
' warning • The function \'expect\' isn\'t defined at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/test/widget_test.dart:18:5 • undefined_function\n'
' warning • Undefined name \'find\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/test/widget_test.dart:18:12 • undefined_identifier\n'
' warning • Undefined name \'findsOneWidget\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/test/widget_test.dart:18:28 • undefined_identifier\n'
' warning • The function \'expect\' isn\'t defined at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/test/widget_test.dart:19:5 • undefined_function\n'
' warning • Undefined name \'find\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/test/widget_test.dart:19:12 • undefined_identifier\n'
' warning • Undefined name \'findsNothing\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/test/widget_test.dart:19:28 • undefined_identifier\n'
' warning • Undefined name \'find\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/test/widget_test.dart:22:22 • undefined_identifier\n'
' warning • Undefined name \'Icons\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/test/widget_test.dart:22:34 • undefined_identifier\n'
' warning • The function \'expect\' isn\'t defined at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/test/widget_test.dart:26:5 • undefined_function\n'
' warning • Undefined name \'find\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/test/widget_test.dart:26:12 • undefined_identifier\n'
' warning • Undefined name \'findsNothing\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/test/widget_test.dart:26:28 • undefined_identifier\n'
' warning • The function \'expect\' isn\'t defined at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/test/widget_test.dart:27:5 • undefined_function\n'
' warning • Undefined name \'find\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/test/widget_test.dart:27:12 • undefined_identifier\n'
' warning • Undefined name \'findsOneWidget\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/test/widget_test.dart:27:28 • undefined_identifier\n'
' lint • Only throw instances of classes extending either Exception or Error at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:57:25 • only_throw_errors\n'
' hint • Method doesn\'t override an inherited method at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:10:10 • override_on_non_overriding_method\n'
' hint • Method doesn\'t override an inherited method at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:44:20 • override_on_non_overriding_method\n'
' hint • The method \'_incrementCounter\' isn\'t used at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:50:8 • unused_element\n'
' hint • Method doesn\'t override an inherited method at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:62:10 • override_on_non_overriding_method\n'
'55 issues found.\n'
''

package:test expect
test/commands/analyze_once_test.dart 203:7 assertContains
test/commands/analyze_once_test.dart 225:3 runCommand
test/commands/analyze_once_test.dart 132:13 main.<fn>.<fn>
test/src/context.dart 101:32 testUsingContext.<fn>.<fn>
package:flutter_tools/src/base/context.dart 76:26 AppContext._run
package:flutter_tools/src/base/context.dart 66:13 AppContext.runInZone.<fn>
dart:async runZoned
package:flutter_tools/src/base/context.dart 65:12 AppContext.runInZone
test/src/context.dart 90:32 testUsingContext.<fn>
===== asynchronous gap ===========================
dart:async _Completer.completeError
test/commands/analyze_once_test.dart 228:1 runCommand
===== asynchronous gap ===========================
dart:async _asyncErrorWrapperHelper
test/commands/analyze_once_test.dart 214:10 runCommand
test/commands/analyze_once_test.dart 132:13 main.<fn>.<fn>
===== asynchronous gap ===========================
dart:async _asyncThenWrapperHelper
test/commands/analyze_once_test.dart 119:87 main.<fn>.<fn>
test/src/context.dart 101:32 testUsingContext.<fn>.<fn>
===== asynchronous gap ===========================
dart:async new Future.microtask
test/src/context.dart 90:51 testUsingContext.<fn>.<fn>
package:flutter_tools/src/base/context.dart 76:26 AppContext._run
===== asynchronous gap ===========================
dart:async new Future.microtask
package:flutter_tools/src/base/context.dart 72:48 AppContext._run
package:flutter_tools/src/base/context.dart 66:13 AppContext.runInZone.<fn>
dart:async runZoned
package:flutter_tools/src/base/context.dart 65:12 AppContext.runInZone
test/src/context.dart 90:32 testUsingContext.<fn>
===== asynchronous gap ===========================
dart:async new Future.microtask
test/src/context.dart 72:30 testUsingContext.<fn>

01:03 +136 -6: test/commands/analyze_once_test.dart: analyze once flutter analyze no duplicate issues
01:04 +137 -6: test/commands/analyze_once_test.dart: analyze once flutter analyze one file with local options
01:05 +137 -7: test/commands/analyze_once_test.dart: analyze once flutter analyze one file with local options [E]
Expected: contains 'warning • The parameter \'onPressed\' is required'
Actual: 'Analyzing /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart...\n'
' error • Target of URI doesn\'t exist: \'package:flutter/material.dart\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:1:8 • uri_does_not_exist\n'
' error • Classes can only extend other classes at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:7:21 • extends_non_class\n'
' error • Classes can only extend other classes at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:29:26 • extends_non_class\n'
' error • Classes can only extend other classes at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:47:32 • extends_non_class\n'
' warning • The function \'runApp\' isn\'t defined at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:4:3 • undefined_function\n'
' warning • Undefined class \'StatelessWidget\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:7:21 • undefined_class\n'
' warning • Undefined class \'Widget\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:10:3 • undefined_class\n'
' warning • Undefined class \'BuildContext\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:10:16 • undefined_class\n'
' warning • Undefined class \'MaterialApp\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:11:16 • undefined_class\n'
' warning • Undefined class \'ThemeData\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:13:18 • undefined_class\n'
' warning • Undefined name \'Colors\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:22:24 • undefined_identifier\n'
' warning • Undefined class \'StatefulWidget\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:29:26 • undefined_class\n'
' warning • Undefined class \'Key\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:30:15 • undefined_class\n'
' warning • The named parameter \'key\' isn\'t defined at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:30:45 • undefined_named_parameter\n'
' warning • Undefined class \'State\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:47:32 • undefined_class\n'
' warning • The method \'setState\' isn\'t defined for the class \'_MyHomePageState\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:51:5 • undefined_method\n'
' warning • Undefined class \'Widget\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:62:3 • undefined_class\n'
' warning • Undefined class \'BuildContext\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:62:16 • undefined_class\n'
' warning • Undefined class \'Scaffold\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:69:16 • undefined_class\n'
' warning • Undefined class \'AppBar\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:70:19 • undefined_class\n'
' warning • Undefined class \'Text\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:73:20 • undefined_class\n'
' warning • Undefined name \'widget\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:73:25 • undefined_identifier\n'
' warning • Undefined class \'Center\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:75:17 • undefined_class\n'
' warning • Undefined class \'Column\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:78:20 • undefined_class\n'
' warning • Undefined name \'MainAxisAlignment\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:92:30 • undefined_identifier\n'
' warning • The name \'Widget\' isn\'t a type so it can\'t be used as a type argument at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:93:22 • non_type_as_type_argument\n'
' warning • Undefined class \'Text\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:94:17 • undefined_class\n'
' warning • Undefined class \'Text\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:97:17 • undefined_class\n'
' warning • Undefined name \'Theme\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:99:22 • undefined_identifier\n'
' warning • Undefined class \'FloatingActionButton\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:104:33 • undefined_class\n'
' warning • Undefined class \'Icon\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:107:20 • undefined_class\n'
' warning • Undefined name \'Icons\' at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:107:25 • undefined_identifier\n'
' lint • Only throw instances of classes extending either Exception or Error at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:57:25 • only_throw_errors\n'
' hint • Method doesn\'t override an inherited method at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:10:10 • override_on_non_overriding_method\n'
' hint • Method doesn\'t override an inherited method at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:44:20 • override_on_non_overriding_method\n'
' hint • The method \'_incrementCounter\' isn\'t used at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:50:8 • unused_element\n'
' hint • Method doesn\'t override an inherited method at /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/analyze_once_test_JGlA83/flutter_project/lib/main.dart:62:10 • override_on_non_overriding_method\n'
'37 issues found.\n'
''

package:test expect
test/commands/analyze_once_test.dart 203:7 assertContains
test/commands/analyze_once_test.dart 225:3 runCommand
test/commands/analyze_once_test.dart 182:13 main.<fn>.<fn>
test/src/context.dart 101:32 testUsingContext.<fn>.<fn>
package:flutter_tools/src/base/context.dart 76:26 AppContext._run
package:flutter_tools/src/base/context.dart 66:13 AppContext.runInZone.<fn>
dart:async runZoned
package:flutter_tools/src/base/context.dart 65:12 AppContext.runInZone
test/src/context.dart 90:32 testUsingContext.<fn>
===== asynchronous gap ===========================
dart:async _Completer.completeError
test/commands/analyze_once_test.dart 228:1 runCommand
===== asynchronous gap ===========================
dart:async _asyncErrorWrapperHelper
test/commands/analyze_once_test.dart 214:10 runCommand
test/commands/analyze_once_test.dart 182:13 main.<fn>.<fn>
===== asynchronous gap ===========================
dart:async new Future.microtask
test/commands/analyze_once_test.dart 181:78 main.<fn>.<fn>
test/src/context.dart 101:32 testUsingContext.<fn>.<fn>
===== asynchronous gap ===========================
dart:async new Future.microtask
test/src/context.dart 90:51 testUsingContext.<fn>.<fn>
package:flutter_tools/src/base/context.dart 76:26 AppContext._run
===== asynchronous gap ===========================
dart:async new Future.microtask
package:flutter_tools/src/base/context.dart 72:48 AppContext._run
package:flutter_tools/src/base/context.dart 66:13 AppContext.runInZone.<fn>
dart:async runZoned
package:flutter_tools/src/base/context.dart 65:12 AppContext.runInZone
test/src/context.dart 90:32 testUsingContext.<fn>
===== asynchronous gap ===========================
dart:async new Future.microtask
test/src/context.dart 72:30 testUsingContext.<fn>

01:05 +137 -7: test/commands/analyze_once_test.dart: analyze once (tearDownAll)
01:05 +137 -7: test/commands/analyze_test.dart: analyze inRepo
01:05 +138 -7: loading test/commands/config_test.dart
01:06 +138 -7: test/commands/config_test.dart: config machine flag
01:06 +139 -7: test/commands/create_test.dart: create (setUpAll)
01:06 +139 -7: loading test/commands/daemon_test.dart
01:06 +139 -7: test/commands/create_test.dart: create project
01:50 +140 -7: test/commands/create_test.dart: create kotlin/swift project
01:50 +141 -7: test/commands/create_test.dart: create package project
01:59 +142 -7: test/commands/create_test.dart: create plugin project
02:19 +143 -7: test/commands/create_test.dart: create kotlin/swift plugin project
02:19 +144 -7: test/commands/create_test.dart: create plugin project with custom org
02:19 +145 -7: test/commands/create_test.dart: create project with-driver-test
02:32 +146 -7: test/commands/create_test.dart: create content
03:02 +146 -8: test/commands/create_test.dart: create content [E]
TimeoutException after 0:00:30.000000: Test timed out after 30 seconds.
dart:isolate _RawReceivePortImpl._handleMessage

03:02 +146 -8: test/commands/create_test.dart: create can re-gen over existing project
03:02 +147 -8: test/commands/create_test.dart: create produces sensible error message
03:02 +148 -8: test/commands/create_test.dart: create fails when file exists
03:02 +149 -8: test/commands/create_test.dart: create fails when invalid package name
03:02 +150 -8: test/commands/daemon_test.dart: daemon daemon.version command should succeed
03:03 +151 -8: loading test/commands/devices_test.dart
03:03 +151 -8: test/commands/daemon_test.dart: daemon printError should send daemon.logMessage event
03:03 +152 -8: loading test/commands/devices_test.dart
03:03 +152 -8: test/commands/daemon_test.dart: daemon printStatus should log to stdout when logToStdout is enabled
03:03 +153 -8: loading test/commands/devices_test.dart
03:03 +153 -8: test/commands/daemon_test.dart: daemon daemon.shutdown command should stop daemon
03:03 +154 -8: loading test/commands/devices_test.dart
03:03 +154 -8: test/commands/daemon_test.dart: daemon app.start without a deviceId should report an error
03:03 +155 -8: loading test/commands/devices_test.dart
03:03 +155 -8: test/commands/daemon_test.dart: daemon app.restart without an appId should report an error
03:03 +156 -8: loading test/commands/devices_test.dart
03:03 +156 -8: test/commands/daemon_test.dart: daemon ext.flutter.debugPaint via service extension without an appId should report an error
03:03 +157 -8: loading test/commands/devices_test.dart
03:03 +157 -8: test/commands/daemon_test.dart: daemon app.stop without appId should report an error
03:03 +158 -8: loading test/commands/devices_test.dart
03:03 +158 -8: test/commands/daemon_test.dart: daemon daemon should send showMessage on startup if no Android devices are available
03:03 +159 -8: loading test/commands/devices_test.dart
03:03 +159 -8: test/commands/daemon_test.dart: daemon device.getDevices should respond with list
03:03 +160 -8: loading test/commands/devices_test.dart
03:03 +160 -8: test/commands/daemon_test.dart: daemon should send device.added event when device is discovered
03:03 +161 -8: loading test/commands/devices_test.dart