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

{"name":"corelib_2/symbol_reserved_word_test/04","configuration":"dartkp-android-release-arm","result":"Pass","log":"--- Command \"vm_compile_to_kernel\" (took 01.000519s):\nDART_CONFIGURATION=ReleaseAndroidARM /b/swarming/w/ir/pkg/vm/tool/gen_kernel --aot --platform=out/ReleaseAndroidARM/vm_platform_strong.dill -o /b/swarming/w/ir/out/ReleaseAndroidARM/generated_compilations/dartkp/multitest_corelib_2_symbol_reserved_word_test_04/out.dill /b/swarming/w/ir/out/ReleaseAndroidARM/generated_tests/corelib_2/symbol_reserved_word_test_04.dart --packages=/b/swarming/w/ir/.packages -Ddart.developer.causal_async_stacks=true\n\nexit code:\n0\n\n--- Command \"precompiler\" (took 03.000523s):\nDART_CONFIGURATION=ReleaseAndroidARM out/ReleaseAndroidARM/clang_x86/gen_snapshot --snapshot-kind=app-aot-blobs --blobs_container_filename=/b/swarming/w/ir/out/ReleaseAndroidARM/generated_compilations/dartkp/multitest_corelib_2_symbol_reserved_word_test_04/out.aotsnapshot --no-sim-use-hardfp --ignore-unrecognized-flags --packages=/b/swarming/w/ir/.packages /b/swarming/w/ir/out/ReleaseAndroidARM/generated_compilations/dartkp/multitest_corelib_2_symbol_reserved_word_test_04/out.dill\n\nexit code:\n0\n\n--- Command \"remove_kernel_file\" (took 14ms):\nDART_CONFIGURATION=ReleaseAndroidARM rm /b/swarming/w/ir/out/ReleaseAndroidARM/generated_compilations/dartkp/multitest_corelib_2_symbol_reserved_word_test_04/out.dill\n\nexit code:\n0\n\n--- Re-run this test:\npython tools/test.py -n dartkp-android-release-arm corelib_2/symbol_reserved_word_test/04\n"} {"name":"corelib_2/symbol_reserved_word_test/06","configuration":"dartkp-android-release-arm","result":"RuntimeError","log":"--- Command \"vm_compile_to_kernel\" (took 01.000716s):\nDART_CONFIGURATION=ReleaseAndroidARM /b/swarming/w/ir/pkg/vm/tool/gen_kernel --aot --platform=out/ReleaseAndroidARM/vm_platform_strong.dill -o /b/swarming/w/ir/out/ReleaseAndroidARM/generated_compilations/dartkp/multitest_corelib_2_symbol_reserved_word_test_06/out.dill /b/swarming/w/ir/out/ReleaseAndroidARM/generated_tests/corelib_2/symbol_reserved_word_test_06.dart --packages=/b/swarming/w/ir/.packages -Ddart.developer.causal_async_stacks=true\n\nexit code:\n0\n\n--- Command \"precompiler\" (took 03.000184s):\nDART_CONFIGURATION=ReleaseAndroidARM out/ReleaseAndroidARM/clang_x86/gen_snapshot --snapshot-kind=app-aot-blobs --blobs_container_filename=/b/swarming/w/ir/out/ReleaseAndroidARM/generated_compilations/dartkp/multitest_corelib_2_symbol_reserved_word_test_06/out.aotsnapshot --no-sim-use-hardfp --ignore-unrecognized-flags --packages=/b/swarming/w/ir/.packages /b/swarming/w/ir/out/ReleaseAndroidARM/generated_compilations/dartkp/multitest_corelib_2_symbol_reserved_word_test_06/out.dill\n\nexit code:\n0\n\n--- Command \"remove_kernel_file\" (took 15ms):\nDART_CONFIGURATION=ReleaseAndroidARM rm /b/swarming/w/ir/out/ReleaseAndroidARM/generated_compilations/dartkp/multitest_corelib_2_symbol_reserved_word_test_06/out.dill\n\nexit code:\n0\n\n--- Command \"adb_precompilation\" (took 01.000808s):\nSteps to push precompiled runner and precompiled code to an attached device. Uses (and requires) adb.\n\nexit code:\n255\n\nstdout:\nExecuting adb -s 0528efb90a2869a3 shell rm -Rf /data/local/tmp/precompilation-testing/test ; echo AdbShellExitCode: $?\nStdout:\nAdbShellExitCode: 0\nExitCode: 0\nTime: 0:00:00.093324\n\nExecuting adb -s 0528efb90a2869a3 shell mkdir -p /data/local/tmp/precompilation-testing/test ; echo AdbShellExitCode: $?\nStdout:\nAdbShellExitCode: 0\nExitCode: 0\nTime: 0:00:00.081761\n\nExecuting Skipped cached push\nExitCode: 0\nTime: 0:00:00.000044\n\nExecuting Skipped cached push\nExitCode: 0\nTime: 0:00:00.000010\n\nExecuting adb -s 0528efb90a2869a3 shell chmod 777 /data/local/tmp/precompilation-testing/dart_precompiled_runtime /data/local/tmp/precompilation-testing/process_test ; echo AdbShellExitCode: $?\nStdout:\nAdbShellExitCode: 0\nExitCode: 0\nTime: 0:00:00.074380\n\nExecuting adb -s 0528efb90a2869a3 push /b/swarming/w/ir/out/ReleaseAndroidARM/generated_compilations/dartkp/multitest_corelib_2_symbol_reserved_word_test_06/out.aotsnapshot /data/local/tmp/precompilation-testing/test/out.aotsnapshot\nStderr:\n2948 KB/s (3629488 bytes in 1.202s)\nExitCode: 0\nTime: 0:00:01.301694\n\nExecuting adb -s 0528efb90a2869a3 shell /data/local/tmp/precompilation-testing/dart_precompiled_runtime --ignore-unrecognized-flags --packages=/b/swarming/w/ir/.packages /data/local/tmp/precompilation-testing/test/out.aotsnapshot ; echo AdbShellExitCode: $?\nStdout:\nWARNING: linker: /data/local/tmp/precompilation-testing/dart_precompiled_runtime: unused DT entry: type 0x6ffffef5 arg 0x96154\nWARNING: linker: /data/local/tmp/precompilation-testing/dart_precompiled_runtime: unused DT entry: type 0x6ffffffe arg 0xc2f5c\nWARNING: linker: /data/local/tmp/precompilation-testing/dart_precompiled_runtime: unused DT entry: type 0x6fffffff arg 0x3\nUnhandled exception:\nExpect.throws(ArgumentError) fails: Did not throw\n#0 Expect._fail (package:expect/expect.dart:655)\n#1 Expect.throws (package:expect/expect.dart:557)\n#2 Expect.throwsArgumentError (package:expect/expect.dart:561)\n#3 checkBadSymbol (file:///b/swarming/w/ir/out/ReleaseAndroidARM/generated_tests/corelib_2/symbol_reserved_word_test_06.dart:8)\n#4 main (file:///b/swarming/w/ir/out/ReleaseAndroidARM/generated_tests/corelib_2/symbol_reserved_word_test_06.dart:22)\n#5 _startIsolate.<anonymous closure> (dart:isolate/runtime/lib/isolate_patch.dart:300)\n#6 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:171)\nAdbShellExitCode: 255\nExitCode: 255\nTime: 0:00:00.135553\n\n--- Re-run this test:\npython tools/test.py -n dartkp-android-release-arm corelib_2/symbol_reserved_word_test/06\n"} {"name":"corelib_2/symbol_reserved_word_test/07","configuration":"dartkp-android-release-arm","result":"Pass","log":"--- Command \"vm_compile_to_kernel\" (took 01.000716s):\nDART_CONFIGURATION=ReleaseAndroidARM /b/swarming/w/ir/pkg/vm/tool/gen_kernel --aot --platform=out/ReleaseAndroidARM/vm_platform_strong.dill -o /b/swarming/w/ir/out/ReleaseAndroidARM/generated_compilations/dartkp/multitest_corelib_2_symbol_reserved_word_test_07/out.dill /b/swarming/w/ir/out/ReleaseAndroidARM/generated_tests/corelib_2/symbol_reserved_word_test_07.dart --packages=/b/swarming/w/ir/.packages -Ddart.developer.causal_async_stacks=true\n\nexit code:\n0\n\n--- Command \"precompiler\" (took 03.000324s):\nDART_CONFIGURATION=ReleaseAndroidARM out/ReleaseAndroidARM/clang_x86/gen_snapshot --snapshot-kind=app-aot-blobs --blobs_container_filename=/b/swarming/w/ir/out/ReleaseAndroidARM/generated_compilations/dartkp/multitest_corelib_2_symbol_reserved_word_test_07/out.aotsnapshot --no-sim-use-hardfp --ignore-unrecognized-flags --packages=/b/swarming/w/ir/.packages /b/swarming/w/ir/out/ReleaseAndroidARM/generated_compilations/dartkp/multitest_corelib_2_symbol_reserved_word_test_07/out.dill\n\nexit code:\n0\n\n--- Command \"remove_kernel_file\" (took 12ms):\nDART_CONFIGURATION=ReleaseAndroidARM rm /b/swarming/w/ir/out/ReleaseAndroidARM/generated_compilations/dartkp/multitest_corelib_2_symbol_reserved_word_test_07/out.dill\n\nexit code:\n0\n\n--- Re-run this test:\npython tools/test.py -n dartkp-android-release-arm corelib_2/symbol_reserved_word_test/07\n"} {"name":"corelib_2/symbol_reserved_word_test/09","configuration":"dartkp-android-release-arm","result":"RuntimeError","log":"--- Command \"vm_compile_to_kernel\" (took 01.000833s):\nDART_CONFIGURATION=ReleaseAndroidARM /b/swarming/w/ir/pkg/vm/tool/gen_kernel --aot --platform=out/ReleaseAndroidARM/vm_platform_strong.dill -o /b/swarming/w/ir/out/ReleaseAndroidARM/generated_compilations/dartkp/multitest_corelib_2_symbol_reserved_word_test_09/out.dill /b/swarming/w/ir/out/ReleaseAndroidARM/generated_tests/corelib_2/symbol_reserved_word_test_09.dart --packages=/b/swarming/w/ir/.packages -Ddart.developer.causal_async_stacks=true\n\nexit code:\n0\n\n--- Command \"precompiler\" (took 03.000557s):\nDART_CONFIGURATION=ReleaseAndroidARM out/ReleaseAndroidARM/clang_x86/gen_snapshot --snapshot-kind=app-aot-blobs --blobs_container_filename=/b/swarming/w/ir/out/ReleaseAndroidARM/generated_compilations/dartkp/multitest_corelib_2_symbol_reserved_word_test_09/out.aotsnapshot --no-sim-use-hardfp --ignore-unrecognized-flags --packages=/b/swarming/w/ir/.packages /b/swarming/w/ir/out/ReleaseAndroidARM/generated_compilations/dartkp/multitest_corelib_2_symbol_reserved_word_test_09/out.dill\n\nexit code:\n0\n\n--- Command \"remove_kernel_file\" (took 21ms):\nDART_CONFIGURATION=ReleaseAndroidARM rm /b/swarming/w/ir/out/ReleaseAndroidARM/generated_compilations/dartkp/multitest_corelib_2_symbol_reserved_word_test_09/out.dill\n\nexit code:\n0\n\n--- Command \"adb_precompilation\" (took 02.000095s):\nSteps to push precompiled runner and precompiled code to an attached device. Uses (and requires) adb.\n\nexit code:\n255\n\nstdout:\nExecuting adb -s 0528efb90a2869a3 shell rm -Rf /data/local/tmp/precompilation-testing/test ; echo AdbShellExitCode: $?\nStdout:\nAdbShellExitCode: 0\nExitCode: 0\nTime: 0:00:00.108231\n\nExecuting adb -s 0528efb90a2869a3 shell mkdir -p /data/local/tmp/precompilation-testing/test ; echo AdbShellExitCode: $?\nStdout:\nAdbShellExitCode: 0\nExitCode: 0\nTime: 0:00:00.107472\n\nExecuting Skipped cached push\nExitCode: 0\nTime: 0:00:00.000149\n\nExecuting Skipped cached push\nExitCode: 0\nTime: 0:00:00.000015\n\nExecuting adb -s 0528efb90a2869a3 shell chmod 777 /data/local/tmp/precompilation-testing/dart_precompiled_runtime /data/local/tmp/precompilation-testing/process_test ; echo AdbShellExitCode: $?\nStdout:\nAdbShellExitCode: 0\nExitCode: 0\nTime: 0:00:00.107704\n\nExecuting adb -s 0528efb90a2869a3 push /b/swarming/w/ir/out/ReleaseAndroidARM/generated_compilations/dartkp/multitest_corelib_2_symbol_reserved_word_test_09/out.aotsnapshot /data/local/tmp/precompilation-testing/test/out.aotsnapshot\nStderr:\n2576 KB/s (3629488 bytes in 1.375s)\nExitCode: 0\nTime: 0:00:01.487971\n\nExecuting adb -s 0528efb90a2869a3 shell /data/local/tmp/precompilation-testing/dart_precompiled_runtime --ignore-unrecognized-flags --packages=/b/swarming/w/ir/.packages /data/local/tmp/precompilation-testing/test/out.aotsnapshot ; echo AdbShellExitCode: $?\nStdout:\nWARNING: linker: /data/local/tmp/precompilation-testing/dart_precompiled_runtime: unused DT entry: type 0x6ffffef5 arg 0x96154\nWARNING: linker: /data/local/tmp/precompilation-testing/dart_precompiled_runtime: unused DT entry: type 0x6ffffffe arg 0xc2f5c\nWARNING: linker: /data/local/tmp/precompilation-testing/dart_precompiled_runtime: unused DT entry: type 0x6fffffff arg 0x3\nUnhandled exception:\nExpect.throws(ArgumentError) fails: Did not throw\n#0 Expect._fail (package:expect/expect.dart:655)\n#1 Expect.throws (package:expect/expect.dart:557)\n#2 Expect.throwsArgumentError (package:expect/expect.dart:561)\n#3 checkBadSymbol (file:///b/swarming/w/ir/out/ReleaseAndroidARM/generated_tests/corelib_2/symbol_reserved_word_test_09.dart:8)\n#4 main (file:///b/swarming/w/ir/out/ReleaseAndroidARM/generated_tests/corelib_2/symbol_reserved_word_test_09.dart:25)\n#5 _startIsolate.<anonymous closure> (dart:isolate/runtime/lib/isolate_patch.dart:300)\n#6 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:171)\nAdbShellExitCode: 255\nExitCode: 255\nTime: 0:00:00.123892\n\n--- Re-run this test:\npython tools/test.py -n dartkp-android-release-arm corelib_2/symbol_reserved_word_test/09\n"} {"name":"corelib_2/symbol_reserved_word_test/12","configuration":"dartkp-android-release-arm","result":"RuntimeError","log":"--- Command \"vm_compile_to_kernel\" (took 01.000382s):\nDART_CONFIGURATION=ReleaseAndroidARM /b/swarming/w/ir/pkg/vm/tool/gen_kernel --aot --platform=out/ReleaseAndroidARM/vm_platform_strong.dill -o /b/swarming/w/ir/out/ReleaseAndroidARM/generated_compilations/dartkp/multitest_corelib_2_symbol_reserved_word_test_12/out.dill /b/swarming/w/ir/out/ReleaseAndroidARM/generated_tests/corelib_2/symbol_reserved_word_test_12.dart --packages=/b/swarming/w/ir/.packages -Ddart.developer.causal_async_stacks=true\n\nexit code:\n0\n\n--- Command \"precompiler\" (took 03.000085s):\nDART_CONFIGURATION=ReleaseAndroidARM out/ReleaseAndroidARM/clang_x86/gen_snapshot --snapshot-kind=app-aot-blobs --blobs_container_filename=/b/swarming/w/ir/out/ReleaseAndroidARM/generated_compilations/dartkp/multitest_corelib_2_symbol_reserved_word_test_12/out.aotsnapshot --no-sim-use-hardfp --ignore-unrecognized-flags --packages=/b/swarming/w/ir/.packages /b/swarming/w/ir/out/ReleaseAndroidARM/generated_compilations/dartkp/multitest_corelib_2_symbol_reserved_word_test_12/out.dill\n\nexit code:\n0\n\n--- Command \"remove_kernel_file\" (took 19ms):\nDART_CONFIGURATION=ReleaseAndroidARM rm /b/swarming/w/ir/out/ReleaseAndroidARM/generated_compilations/dartkp/multitest_corelib_2_symbol_reserved_word_test_12/out.dill\n\nexit code:\n0\n\n--- Command \"adb_precompilation\" (took 01.000243s):\nSteps to push precompiled runner and precompiled code to an attached device. Uses (and requires) adb.\n\nexit code:\n255\n\nstdout:\nExecuting adb -s 0528efb90a2869a3 shell rm -Rf /data/local/tmp/precompilation-testing/test ; echo AdbShellExitCode: $?\nStdout:\nAdbShellExitCode: 0\nExitCode: 0\nTime: 0:00:00.088019\n\nExecuting adb -s 0528efb90a2869a3 shell mkdir -p /data/local/tmp/precompilation-testing/test ; echo AdbShellExitCode: $?\nStdout:\nAdbShellExitCode: 0\nExitCode: 0\nTime: 0:00:00.079964\n\nExecuting Skipped cached push\nExitCode: 0\nTime: 0:00:00.000037\n\nExecuting Skipped cached push\nExitCode: 0\nTime: 0:00:00.000010\n\nExecuting adb -s 0528efb90a2869a3 shell chmod 777 /data/local/tmp/precompilation-testing/dart_precompiled_runtime /data/local/tmp/precompilation-testing/process_test ; echo AdbShellExitCode: $?\nStdout:\nAdbShellExitCode: 0\nExitCode: 0\nTime: 0:00:00.073554\n\nExecuting adb -s 0528efb90a2869a3 push /b/swarming/w/ir/out/ReleaseAndroidARM/generated_compilations/dartkp/multitest_corelib_2_symbol_reserved_word_test_12/out.aotsnapshot /data/local/tmp/precompilation-testing/test/out.aotsnapshot\nStderr:\n5404 KB/s (3630112 bytes in 0.655s)\nExitCode: 0\nTime: 0:00:00.754991\n\nExecuting adb -s 0528efb90a2869a3 shell /data/local/tmp/precompilation-testing/dart_precompiled_runtime --ignore-unrecognized-flags --packages=/b/swarming/w/ir/.packages /data/local/tmp/precompilation-testing/test/out.aotsnapshot ; echo AdbShellExitCode: $?\nStdout:\nWARNING: linker: /data/local/tmp/precompilation-testing/dart_precompiled_runtime: unused DT entry: type 0x6ffffef5 arg 0x96154\nWARNING: linker: /data/local/tmp/precompilation-testing/dart_precompiled_runtime: unused DT entry: type 0x6ffffffe arg 0xc2f5c\nWARNING: linker: /data/local/tmp/precompilation-testing/dart_precompiled_runtime: unused DT entry: type 0x6fffffff arg 0x3\nUnhandled exception:\nExpect.throws(ArgumentError) fails: Did not throw\n#0 Expect._fail (package:expect/expect.dart:655)\n#1 Expect.throws (package:expect/expect.dart:557)\n#2 Expect.throwsArgumentError (package:expect/expect.dart:561)\n#3 checkBadSymbol (file:///b/swarming/w/ir/out/ReleaseAndroidARM/generated_tests/corelib_2/symbol_reserved_word_test_12.dart:8)\n#4 main (file:///b/swarming/w/ir/out/ReleaseAndroidARM/generated_tests/corelib_2/symbol_reserved_word_test_12.dart:92)\n#5 _startIsolate.<anonymous closure> (dart:isolate/runtime/lib/isolate_patch.dart:300)\n#6 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:171)\nAdbShellExitCode: 255\nExitCode: 255\nTime: 0:00:00.135296\n\n--- Re-run this test:\npython tools/test.py -n dartkp-android-release-arm corelib_2/symbol_reserved_word_test/12\n"} {"name":"language_2/instantiate_tearoff_of_call_test","configuration":"dartkp-android-release-arm","result":"CompileTimeError","log":"--- Command \"vm_compile_to_kernel\" (took 191ms):\nDART_CONFIGURATION=ReleaseAndroidARM /b/swarming/w/ir/pkg/vm/tool/gen_kernel --aot --platform=out/ReleaseAndroidARM/vm_platform_strong.dill -o /b/swarming/w/ir/out/ReleaseAndroidARM/generated_compilations/dartkp/tests_language_2_instantiate_tearoff_of_call_test/out.dill /b/swarming/w/ir/tests/language_2/instantiate_tearoff_of_call_test.dart --packages=/b/swarming/w/ir/.packages -Ddart.developer.causal_async_stacks=true\n\nexit code:\n1\n\nstdout:\ntests/language_2/instantiate_tearoff_of_call_test.dart:10:33: Error: A value of type 'T Function<T>(T)' can't be assigned to a variable of type 'int Function(int)'.\nTry changing the type of the left hand side, or casting the right hand side to 'int Function(int)'.\n int Function(int) intFunc = f.call;\n ^\ntests/language_2/instantiate_tearoff_of_call_test.dart:18:42: Error: A value of type 'T Function<T>(T)' can't be assigned to a variable of type 'String Function(String)'.\nTry changing the type of the left hand side, or casting the right hand side to 'String Function(String)'.\n String Function(String) stringFunc = f.call;\n ^\n\n--- Re-run this test:\npython tools/test.py -n dartkp-android-release-arm language_2/instantiate_tearoff_of_call_test\n"} {"name":"language_2/control_flow_collections/for_test","configuration":"dartkp-android-release-arm","result":"CompileTimeError","log":"--- Command \"vm_compile_to_kernel\" (took 310ms):\nDART_CONFIGURATION=ReleaseAndroidARM /b/swarming/w/ir/pkg/vm/tool/gen_kernel --aot --platform=out/ReleaseAndroidARM/vm_platform_strong.dill -o /b/swarming/w/ir/out/ReleaseAndroidARM/generated_compilations/dartkp/tests_language_2_control_flow_collections_for_test/out.dill /b/swarming/w/ir/tests/language_2/control_flow_collections/for_test.dart --enable-experiment=set-literals,control-flow-collections,spread-collections --packages=/b/swarming/w/ir/.packages -Ddart.developer.causal_async_stacks=true\n\nexit code:\n1\n\nstdout:\ntests/language_2/control_flow_collections/for_test.dart:26:33: Error: Unexpected token 'for'.\n Expect.listEquals(list, <int>[for (var i in list) i]);\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:29:42: Error: 'i' is already declared in this scope.\n Expect.listEquals(list, <int>[for (var i in <int>[1, 2]) i, 3, 4]);\n ^\ntests/language_2/control_flow_collections/for_test.dart:26:42: Context: Previous declaration of 'i'.\n Expect.listEquals(list, <int>[for (var i in list) i]);\n ^\ntests/language_2/control_flow_collections/for_test.dart:29:33: Error: Unexpected token 'for'.\n Expect.listEquals(list, <int>[for (var i in <int>[1, 2]) i, 3, 4]);\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:32:45: Error: 'i' is already declared in this scope.\n Expect.listEquals(list, <int>[1, for (var i in <int>[2, 3]) i, 4]);\n ^\ntests/language_2/control_flow_collections/for_test.dart:26:42: Context: Previous declaration of 'i'.\n Expect.listEquals(list, <int>[for (var i in list) i]);\n ^\ntests/language_2/control_flow_collections/for_test.dart:32:36: Error: Unexpected token 'for'.\n Expect.listEquals(list, <int>[1, for (var i in <int>[2, 3]) i, 4]);\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:35:48: Error: 'i' is already declared in this scope.\n Expect.listEquals(list, <int>[1, 2, for (var i in <int>[3, 4]) i]);\n ^\ntests/language_2/control_flow_collections/for_test.dart:26:42: Context: Previous declaration of 'i'.\n Expect.listEquals(list, <int>[for (var i in list) i]);\n ^\ntests/language_2/control_flow_collections/for_test.dart:35:39: Error: Unexpected token 'for'.\n Expect.listEquals(list, <int>[1, 2, for (var i in <int>[3, 4]) i]);\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:39:25: Error: 'i' is already declared in this scope.\n <int>[1, for (var i in <int>[]) i, 2, 3, for (; false;) 9, 4]);\n ^\ntests/language_2/control_flow_collections/for_test.dart:26:42: Context: Previous declaration of 'i'.\n Expect.listEquals(list, <int>[for (var i in list) i]);\n ^\ntests/language_2/control_flow_collections/for_test.dart:39:16: Error: Unexpected token 'for'.\n <int>[1, for (var i in <int>[]) i, 2, 3, for (; false;) 9, 4]);\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:39:48: Error: Unexpected token 'for'.\n <int>[1, for (var i in <int>[]) i, 2, 3, for (; false;) 9, 4]);\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:43:22: Error: 'i' is already declared in this scope.\n <int>[for (var i in <int>[1]) i, 2, for (var i = 3; i <= 4; i++) i]);\n ^\ntests/language_2/control_flow_collections/for_test.dart:26:42: Context: Previous declaration of 'i'.\n Expect.listEquals(list, <int>[for (var i in list) i]);\n ^\ntests/language_2/control_flow_collections/for_test.dart:43:13: Error: Unexpected token 'for'.\n <int>[for (var i in <int>[1]) i, 2, for (var i = 3; i <= 4; i++) i]);\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:43:52: Error: 'i' is already declared in this scope.\n <int>[for (var i in <int>[1]) i, 2, for (var i = 3; i <= 4; i++) i]);\n ^\ntests/language_2/control_flow_collections/for_test.dart:26:42: Context: Previous declaration of 'i'.\n Expect.listEquals(list, <int>[for (var i in list) i]);\n ^\ntests/language_2/control_flow_collections/for_test.dart:43:43: Error: Unexpected token 'for'.\n <int>[for (var i in <int>[1]) i, 2, for (var i = 3; i <= 4; i++) i]);\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:47:22: Error: 'i' is already declared in this scope.\n <int>[for (var i in <int>[0, 2]) ...<int>[1 + i, 2 + i]]);\n ^\ntests/language_2/control_flow_collections/for_test.dart:26:42: Context: Previous declaration of 'i'.\n Expect.listEquals(list, <int>[for (var i in list) i]);\n ^\ntests/language_2/control_flow_collections/for_test.dart:47:13: Error: Unexpected token 'for'.\n <int>[for (var i in <int>[0, 2]) ...<int>[1 + i, 2 + i]]);\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:51:22: Error: 'i' is already declared in this scope.\n <int>[for (var i in <int>[1, 9, 2, 3, 9, 4]) if (i != 9) i]);\n ^\ntests/language_2/control_flow_collections/for_test.dart:26:42: Context: Previous declaration of 'i'.\n Expect.listEquals(list, <int>[for (var i in list) i]);\n ^\ntests/language_2/control_flow_collections/for_test.dart:51:52: Error: Unexpected token 'if'.\n <int>[for (var i in <int>[1, 9, 2, 3, 9, 4]) if (i != 9) i]);\n ^^\ntests/language_2/control_flow_collections/for_test.dart:55:22: Error: 'i' is already declared in this scope.\n <int>[for (var i in <int>[1, -2, 3, -4]) if (i < 0) -i else i]);\n ^\ntests/language_2/control_flow_collections/for_test.dart:26:42: Context: Previous declaration of 'i'.\n Expect.listEquals(list, <int>[for (var i in list) i]);\n ^\ntests/language_2/control_flow_collections/for_test.dart:55:48: Error: Unexpected token 'if'.\n <int>[for (var i in <int>[1, -2, 3, -4]) if (i < 0) -i else i]);\n ^^\ntests/language_2/control_flow_collections/for_test.dart:59:22: Error: 'i' is already declared in this scope.\n <int>[for (var i in <int>[0, 2]) for (var j = 1; j <= 2; j++) i + j]);\n ^\ntests/language_2/control_flow_collections/for_test.dart:26:42: Context: Previous declaration of 'i'.\n Expect.listEquals(list, <int>[for (var i in list) i]);\n ^\ntests/language_2/control_flow_collections/for_test.dart:59:40: Error: Unexpected token 'for'.\n <int>[for (var i in <int>[0, 2]) for (var j = 1; j <= 2; j++) i + j]);\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:62:36: Error: 'i' is already declared in this scope.\n Expect.listEquals([1], [for (var i = 1; i < 2; i++) [i]].first);\n ^\ntests/language_2/control_flow_collections/for_test.dart:26:42: Context: Previous declaration of 'i'.\n Expect.listEquals(list, <int>[for (var i in list) i]);\n ^\ntests/language_2/control_flow_collections/for_test.dart:62:27: Error: Unexpected token 'for'.\n Expect.listEquals([1], [for (var i = 1; i < 2; i++) [i]].first);\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:63:38: Error: 'i' is already declared in this scope.\n Expect.mapEquals({1: 1}, [for (var i = 1; i < 2; i++) {i: i}].first);\n ^\ntests/language_2/control_flow_collections/for_test.dart:26:42: Context: Previous declaration of 'i'.\n Expect.listEquals(list, <int>[for (var i in list) i]);\n ^\ntests/language_2/control_flow_collections/for_test.dart:63:29: Error: Unexpected token 'for'.\n Expect.mapEquals({1: 1}, [for (var i = 1; i < 2; i++) {i: i}].first);\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:64:35: Error: 'i' is already declared in this scope.\n Expect.setEquals({1}, [for (var i = 1; i < 2; i++) {i}].first);\n ^\ntests/language_2/control_flow_collections/for_test.dart:26:42: Context: Previous declaration of 'i'.\n Expect.listEquals(list, <int>[for (var i in list) i]);\n ^\ntests/language_2/control_flow_collections/for_test.dart:64:26: Error: Unexpected token 'for'.\n Expect.setEquals({1}, [for (var i = 1; i < 2; i++) {i}].first);\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:67:33: Error: Unexpected token 'for'.\n Expect.listEquals(list, <int>[for (int n in <num>[1, 2, 3, 4]) n]);\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:70:42: Error: 'n' is already declared in this scope.\n Expect.listEquals(list, <int>[for (num n in <num>[1, 2, 3, 4]) n]);\n ^\ntests/language_2/control_flow_collections/for_test.dart:67:42: Context: Previous declaration of 'n'.\n Expect.listEquals(list, <int>[for (int n in <num>[1, 2, 3, 4]) n]);\n ^\ntests/language_2/control_flow_collections/for_test.dart:70:33: Error: Unexpected token 'for'.\n Expect.listEquals(list, <int>[for (num n in <num>[1, 2, 3, 4]) n]);\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:73:41: Error: 'i' is already declared in this scope.\n Expect.listEquals([1], <int>[for (var i = 1; (i < 2) as dynamic; i++) i]);\n ^\ntests/language_2/control_flow_collections/for_test.dart:26:42: Context: Previous declaration of 'i'.\n Expect.listEquals(list, <int>[for (var i in list) i]);\n ^\ntests/language_2/control_flow_collections/for_test.dart:73:32: Error: Unexpected token 'for'.\n Expect.listEquals([1], <int>[for (var i = 1; (i < 2) as dynamic; i++) i]);\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:74:41: Error: 'i' is already declared in this scope.\n Expect.listEquals([1], <int>[for (var i = 1; (i < 2) as Object; i++) i]);\n ^\ntests/language_2/control_flow_collections/for_test.dart:26:42: Context: Previous declaration of 'i'.\n Expect.listEquals(list, <int>[for (var i in list) i]);\n ^\ntests/language_2/control_flow_collections/for_test.dart:74:32: Error: Unexpected token 'for'.\n Expect.listEquals([1], <int>[for (var i = 1; (i < 2) as Object; i++) i]);\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:79:36: Error: Unexpected token 'for'.\n Expect.mapEquals(map, <int, int>{for (var i in list) i: i});\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:83:27: Error: 'i' is already declared in this scope.\n <int, int>{for (var i in <int>[1, 2]) i: i, 3: 3, 4: 4});\n ^\ntests/language_2/control_flow_collections/for_test.dart:79:45: Context: Previous declaration of 'i'.\n Expect.mapEquals(map, <int, int>{for (var i in list) i: i});\n ^\ntests/language_2/control_flow_collections/for_test.dart:83:18: Error: Unexpected token 'for'.\n <int, int>{for (var i in <int>[1, 2]) i: i, 3: 3, 4: 4});\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:87:33: Error: 'i' is already declared in this scope.\n <int, int>{1: 1, for (var i in <int>[2, 3]) i: i, 4: 4});\n ^\ntests/language_2/control_flow_collections/for_test.dart:79:45: Context: Previous declaration of 'i'.\n Expect.mapEquals(map, <int, int>{for (var i in list) i: i});\n ^\ntests/language_2/control_flow_collections/for_test.dart:87:24: Error: Unexpected token 'for'.\n <int, int>{1: 1, for (var i in <int>[2, 3]) i: i, 4: 4});\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:91:39: Error: 'i' is already declared in this scope.\n <int, int>{1: 1, 2: 2, for (var i in <int>[3, 4]) i: i});\n ^\ntests/language_2/control_flow_collections/for_test.dart:79:45: Context: Previous declaration of 'i'.\n Expect.mapEquals(map, <int, int>{for (var i in list) i: i});\n ^\ntests/language_2/control_flow_collections/for_test.dart:91:30: Error: Unexpected token 'for'.\n <int, int>{1: 1, 2: 2, for (var i in <int>[3, 4]) i: i});\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:96:14: Error: 'i' is already declared in this scope.\n for (var i in <int>[]) i: i,\n ^\ntests/language_2/control_flow_collections/for_test.dart:79:45: Context: Previous declaration of 'i'.\n Expect.mapEquals(map, <int, int>{for (var i in list) i: i});\n ^\ntests/language_2/control_flow_collections/for_test.dart:96:5: Error: Unexpected token 'for'.\n for (var i in <int>[]) i: i,\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:99:5: Error: Unexpected token 'for'.\n for (; false;) 9: 9,\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:105:14: Error: 'i' is already declared in this scope.\n for (var i in <int>[1]) i: i,\n ^\ntests/language_2/control_flow_collections/for_test.dart:79:45: Context: Previous declaration of 'i'.\n Expect.mapEquals(map, <int, int>{for (var i in list) i: i});\n ^\ntests/language_2/control_flow_collections/for_test.dart:105:5: Error: Unexpected token 'for'.\n for (var i in <int>[1]) i: i,\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:107:14: Error: 'i' is already declared in this scope.\n for (var i = 3; i <= 4; i++) i: i\n ^\ntests/language_2/control_flow_collections/for_test.dart:79:45: Context: Previous declaration of 'i'.\n Expect.mapEquals(map, <int, int>{for (var i in list) i: i});\n ^\ntests/language_2/control_flow_collections/for_test.dart:107:5: Error: Unexpected token 'for'.\n for (var i = 3; i <= 4; i++) i: i\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:112:14: Error: 'i' is already declared in this scope.\n for (var i in <int>[0, 2]) ...<int>{1 + i: 1 + i, 2 + i: 2 + i}\n ^\ntests/language_2/control_flow_collections/for_test.dart:79:45: Context: Previous declaration of 'i'.\n Expect.mapEquals(map, <int, int>{for (var i in list) i: i});\n ^\ntests/language_2/control_flow_collections/for_test.dart:112:49: Error: Expected ',' before this.\n for (var i in <int>[0, 2]) ...<int>{1 + i: 1 + i, 2 + i: 2 + i}\n ^\ntests/language_2/control_flow_collections/for_test.dart:112:63: Error: Expected ',' before this.\n for (var i in <int>[0, 2]) ...<int>{1 + i: 1 + i, 2 + i: 2 + i}\n ^\ntests/language_2/control_flow_collections/for_test.dart:112:5: Error: Unexpected token 'for'.\n for (var i in <int>[0, 2]) ...<int>{1 + i: 1 + i, 2 + i: 2 + i}\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:117:27: Error: 'i' is already declared in this scope.\n <int, int>{for (var i in <int>[1, 9, 2, 3, 9, 4]) if (i != 9) i: i});\n ^\ntests/language_2/control_flow_collections/for_test.dart:79:45: Context: Previous declaration of 'i'.\n Expect.mapEquals(map, <int, int>{for (var i in list) i: i});\n ^\ntests/language_2/control_flow_collections/for_test.dart:117:57: Error: Unexpected token 'if'.\n <int, int>{for (var i in <int>[1, 9, 2, 3, 9, 4]) if (i != 9) i: i});\n ^^\ntests/language_2/control_flow_collections/for_test.dart:121:27: Error: 'i' is already declared in this scope.\n <int, int>{for (var i in <int>[1, -2, 3, -4]) if (i < 0) -i else i: i});\n ^\ntests/language_2/control_flow_collections/for_test.dart:79:45: Context: Previous declaration of 'i'.\n Expect.mapEquals(map, <int, int>{for (var i in list) i: i});\n ^\ntests/language_2/control_flow_collections/for_test.dart:121:53: Error: Unexpected token 'if'.\n <int, int>{for (var i in <int>[1, -2, 3, -4]) if (i < 0) -i else i: i});\n ^^\ntests/language_2/control_flow_collections/for_test.dart:125:14: Error: 'i' is already declared in this scope.\n for (var i in <int>[0, 2]) for (var j = 1; j <= 2; j++) i + j: i + j\n ^\ntests/language_2/control_flow_collections/for_test.dart:79:45: Context: Previous declaration of 'i'.\n Expect.mapEquals(map, <int, int>{for (var i in list) i: i});\n ^\ntests/language_2/control_flow_collections/for_test.dart:125:32: Error: Unexpected token 'for'.\n for (var i in <int>[0, 2]) for (var j = 1; j <= 2; j++) i + j: i + j\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:129:36: Error: Unexpected token 'for'.\n Expect.mapEquals(map, <int, int>{for (int n in <num>[1, 2, 3, 4]) n: n});\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:132:45: Error: 'n' is already declared in this scope.\n Expect.mapEquals(map, <int, int>{for (num n in <num>[1, 2, 3, 4]) n: n});\n ^\ntests/language_2/control_flow_collections/for_test.dart:129:45: Context: Previous declaration of 'n'.\n Expect.mapEquals(map, <int, int>{for (int n in <num>[1, 2, 3, 4]) n: n});\n ^\ntests/language_2/control_flow_collections/for_test.dart:132:36: Error: Unexpected token 'for'.\n Expect.mapEquals(map, <int, int>{for (num n in <num>[1, 2, 3, 4]) n: n});\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:136:27: Error: 'i' is already declared in this scope.\n <int, int>{for (var i = 1; (i < 2) as dynamic; i++) i: i});\n ^\ntests/language_2/control_flow_collections/for_test.dart:79:45: Context: Previous declaration of 'i'.\n Expect.mapEquals(map, <int, int>{for (var i in list) i: i});\n ^\ntests/language_2/control_flow_collections/for_test.dart:136:18: Error: Unexpected token 'for'.\n <int, int>{for (var i = 1; (i < 2) as dynamic; i++) i: i});\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:138:27: Error: 'i' is already declared in this scope.\n <int, int>{for (var i = 1; (i < 2) as Object; i++) i: i});\n ^\ntests/language_2/control_flow_collections/for_test.dart:79:45: Context: Previous declaration of 'i'.\n Expect.mapEquals(map, <int, int>{for (var i in list) i: i});\n ^\ntests/language_2/control_flow_collections/for_test.dart:138:18: Error: Unexpected token 'for'.\n <int, int>{for (var i = 1; (i < 2) as Object; i++) i: i});\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:135:20: Error: The argument type 'List<int>' can't be assigned to the parameter type 'Map<dynamic, dynamic>'.\n - 'List' is from 'dart:core'.\n - 'Map' is from 'dart:core'.\nTry changing the type of the parameter, or casting the argument to 'Map<dynamic, dynamic>'.\n Expect.mapEquals([1],\n ^\ntests/language_2/control_flow_collections/for_test.dart:137:20: Error: The argument type 'List<int>' can't be assigned to the parameter type 'Map<dynamic, dynamic>'.\n - 'List' is from 'dart:core'.\n - 'Map' is from 'dart:core'.\nTry changing the type of the parameter, or casting the argument to 'Map<dynamic, dynamic>'.\n Expect.mapEquals([1],\n ^\ntests/language_2/control_flow_collections/for_test.dart:143:31: Error: Unexpected token 'for'.\n Expect.setEquals(set, <int>{for (var i in list) i});\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:146:40: Error: 'i' is already declared in this scope.\n Expect.setEquals(set, <int>{for (var i in <int>[1, 2]) i, 3, 4});\n ^\ntests/language_2/control_flow_collections/for_test.dart:143:40: Context: Previous declaration of 'i'.\n Expect.setEquals(set, <int>{for (var i in list) i});\n ^\ntests/language_2/control_flow_collections/for_test.dart:146:31: Error: Unexpected token 'for'.\n Expect.setEquals(set, <int>{for (var i in <int>[1, 2]) i, 3, 4});\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:149:43: Error: 'i' is already declared in this scope.\n Expect.setEquals(set, <int>{1, for (var i in <int>[2, 3]) i, 4});\n ^\ntests/language_2/control_flow_collections/for_test.dart:143:40: Context: Previous declaration of 'i'.\n Expect.setEquals(set, <int>{for (var i in list) i});\n ^\ntests/language_2/control_flow_collections/for_test.dart:149:34: Error: Unexpected token 'for'.\n Expect.setEquals(set, <int>{1, for (var i in <int>[2, 3]) i, 4});\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:152:46: Error: 'i' is already declared in this scope.\n Expect.setEquals(set, <int>{1, 2, for (var i in <int>[3, 4]) i});\n ^\ntests/language_2/control_flow_collections/for_test.dart:143:40: Context: Previous declaration of 'i'.\n Expect.setEquals(set, <int>{for (var i in list) i});\n ^\ntests/language_2/control_flow_collections/for_test.dart:152:37: Error: Unexpected token 'for'.\n Expect.setEquals(set, <int>{1, 2, for (var i in <int>[3, 4]) i});\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:156:25: Error: 'i' is already declared in this scope.\n <int>{1, for (var i in <int>[]) i, 2, 3, for (; false;) 9, 4});\n ^\ntests/language_2/control_flow_collections/for_test.dart:143:40: Context: Previous declaration of 'i'.\n Expect.setEquals(set, <int>{for (var i in list) i});\n ^\ntests/language_2/control_flow_collections/for_test.dart:156:16: Error: Unexpected token 'for'.\n <int>{1, for (var i in <int>[]) i, 2, 3, for (; false;) 9, 4});\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:156:48: Error: Unexpected token 'for'.\n <int>{1, for (var i in <int>[]) i, 2, 3, for (; false;) 9, 4});\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:160:22: Error: 'i' is already declared in this scope.\n <int>{for (var i in <int>[1]) i, 2, for (var i = 3; i <= 4; i++) i});\n ^\ntests/language_2/control_flow_collections/for_test.dart:143:40: Context: Previous declaration of 'i'.\n Expect.setEquals(set, <int>{for (var i in list) i});\n ^\ntests/language_2/control_flow_collections/for_test.dart:160:13: Error: Unexpected token 'for'.\n <int>{for (var i in <int>[1]) i, 2, for (var i = 3; i <= 4; i++) i});\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:160:52: Error: 'i' is already declared in this scope.\n <int>{for (var i in <int>[1]) i, 2, for (var i = 3; i <= 4; i++) i});\n ^\ntests/language_2/control_flow_collections/for_test.dart:143:40: Context: Previous declaration of 'i'.\n Expect.setEquals(set, <int>{for (var i in list) i});\n ^\ntests/language_2/control_flow_collections/for_test.dart:160:43: Error: Unexpected token 'for'.\n <int>{for (var i in <int>[1]) i, 2, for (var i = 3; i <= 4; i++) i});\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:164:22: Error: 'i' is already declared in this scope.\n <int>{for (var i in <int>[0, 2]) ...<int>[1 + i, 2 + i]});\n ^\ntests/language_2/control_flow_collections/for_test.dart:143:40: Context: Previous declaration of 'i'.\n Expect.setEquals(set, <int>{for (var i in list) i});\n ^\ntests/language_2/control_flow_collections/for_test.dart:164:13: Error: Unexpected token 'for'.\n <int>{for (var i in <int>[0, 2]) ...<int>[1 + i, 2 + i]});\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:168:22: Error: 'i' is already declared in this scope.\n <int>{for (var i in <int>[1, 9, 2, 3, 9, 4]) if (i != 9) i});\n ^\ntests/language_2/control_flow_collections/for_test.dart:143:40: Context: Previous declaration of 'i'.\n Expect.setEquals(set, <int>{for (var i in list) i});\n ^\ntests/language_2/control_flow_collections/for_test.dart:168:52: Error: Unexpected token 'if'.\n <int>{for (var i in <int>[1, 9, 2, 3, 9, 4]) if (i != 9) i});\n ^^\ntests/language_2/control_flow_collections/for_test.dart:172:22: Error: 'i' is already declared in this scope.\n <int>{for (var i in <int>[1, -2, 3, -4]) if (i < 0) -i else i});\n ^\ntests/language_2/control_flow_collections/for_test.dart:143:40: Context: Previous declaration of 'i'.\n Expect.setEquals(set, <int>{for (var i in list) i});\n ^\ntests/language_2/control_flow_collections/for_test.dart:172:48: Error: Unexpected token 'if'.\n <int>{for (var i in <int>[1, -2, 3, -4]) if (i < 0) -i else i});\n ^^\ntests/language_2/control_flow_collections/for_test.dart:176:22: Error: 'i' is already declared in this scope.\n <int>{for (var i in <int>[0, 2]) for (var j = 1; j <= 2; j++) i + j});\n ^\ntests/language_2/control_flow_collections/for_test.dart:143:40: Context: Previous declaration of 'i'.\n Expect.setEquals(set, <int>{for (var i in list) i});\n ^\ntests/language_2/control_flow_collections/for_test.dart:176:40: Error: Unexpected token 'for'.\n <int>{for (var i in <int>[0, 2]) for (var j = 1; j <= 2; j++) i + j});\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:179:36: Error: 'i' is already declared in this scope.\n Expect.listEquals([1], {for (var i = 1; i < 2; i++) [i]}.first);\n ^\ntests/language_2/control_flow_collections/for_test.dart:143:40: Context: Previous declaration of 'i'.\n Expect.setEquals(set, <int>{for (var i in list) i});\n ^\ntests/language_2/control_flow_collections/for_test.dart:179:27: Error: Unexpected token 'for'.\n Expect.listEquals([1], {for (var i = 1; i < 2; i++) [i]}.first);\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:180:38: Error: 'i' is already declared in this scope.\n Expect.mapEquals({1: 1}, {for (var i = 1; i < 2; i++) {i: i}}.first);\n ^\ntests/language_2/control_flow_collections/for_test.dart:143:40: Context: Previous declaration of 'i'.\n Expect.setEquals(set, <int>{for (var i in list) i});\n ^\ntests/language_2/control_flow_collections/for_test.dart:180:29: Error: Unexpected token 'for'.\n Expect.mapEquals({1: 1}, {for (var i = 1; i < 2; i++) {i: i}}.first);\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:181:35: Error: 'i' is already declared in this scope.\n Expect.setEquals({1}, {for (var i = 1; i < 2; i++) {i}}.first);\n ^\ntests/language_2/control_flow_collections/for_test.dart:143:40: Context: Previous declaration of 'i'.\n Expect.setEquals(set, <int>{for (var i in list) i});\n ^\ntests/language_2/control_flow_collections/for_test.dart:181:26: Error: Unexpected token 'for'.\n Expect.setEquals({1}, {for (var i = 1; i < 2; i++) {i}}.first);\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:184:31: Error: Unexpected token 'for'.\n Expect.setEquals(set, <int>{for (int n in <num>[1, 2, 3, 4]) n});\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:187:40: Error: 'n' is already declared in this scope.\n Expect.setEquals(set, <int>{for (num n in <num>[1, 2, 3, 4]) n});\n ^\ntests/language_2/control_flow_collections/for_test.dart:184:40: Context: Previous declaration of 'n'.\n Expect.setEquals(set, <int>{for (int n in <num>[1, 2, 3, 4]) n});\n ^\ntests/language_2/control_flow_collections/for_test.dart:187:31: Error: Unexpected token 'for'.\n Expect.setEquals(set, <int>{for (num n in <num>[1, 2, 3, 4]) n});\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:190:40: Error: 'i' is already declared in this scope.\n Expect.setEquals({1}, <int>{for (var i = 1; (i < 2) as dynamic; i++) i});\n ^\ntests/language_2/control_flow_collections/for_test.dart:143:40: Context: Previous declaration of 'i'.\n Expect.setEquals(set, <int>{for (var i in list) i});\n ^\ntests/language_2/control_flow_collections/for_test.dart:190:31: Error: Unexpected token 'for'.\n Expect.setEquals({1}, <int>{for (var i = 1; (i < 2) as dynamic; i++) i});\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:191:40: Error: 'i' is already declared in this scope.\n Expect.setEquals({1}, <int>{for (var i = 1; (i < 2) as Object; i++) i});\n ^\ntests/language_2/control_flow_collections/for_test.dart:143:40: Context: Previous declaration of 'i'.\n Expect.setEquals(set, <int>{for (var i in list) i});\n ^\ntests/language_2/control_flow_collections/for_test.dart:191:31: Error: Unexpected token 'for'.\n Expect.setEquals({1}, <int>{for (var i = 1; (i < 2) as Object; i++) i});\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:179:60: Error: The getter 'first' isn't defined for the class 'Map<dynamic, dynamic>'.\n - 'Map' is from 'dart:core'.\nTry correcting the name to the name of an existing getter, or defining a getter or field named 'first'.\n Expect.listEquals([1], {for (var i = 1; i < 2; i++) [i]}.first);\n ^^^^^\ntests/language_2/control_flow_collections/for_test.dart:180:65: Error: The getter 'first' isn't defined for the class 'Map<dynamic, dynamic>'.\n - 'Map' is from 'dart:core'.\nTry correcting the name to the name of an existing getter, or defining a getter or field named 'first'.\n Expect.mapEquals({1: 1}, {for (var i = 1; i < 2; i++) {i: i}}.first);\n ^^^^^\ntests/language_2/control_flow_collections/for_test.dart:181:59: Error: The getter 'first' isn't defined for the class 'Map<dynamic, dynamic>'.\n - 'Map' is from 'dart:core'.\nTry correcting the name to the name of an existing getter, or defining a getter or field named 'first'.\n Expect.setEquals({1}, {for (var i = 1; i < 2; i++) {i}}.first);\n ^^^^^\ntests/language_2/control_flow_collections/for_test.dart:197:5: Error: Unexpected token 'for'.\n for (var i in <int>[1, 2, 3]) i: i,\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:198:14: Error: 'i' is already declared in this scope.\n for (var i = 2; i <= 3; i++) i: i,\n ^\ntests/language_2/control_flow_collections/for_test.dart:197:14: Context: Previous declaration of 'i'.\n for (var i in <int>[1, 2, 3]) i: i,\n ^\ntests/language_2/control_flow_collections/for_test.dart:198:5: Error: Unexpected token 'for'.\n for (var i = 2; i <= 3; i++) i: i,\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:204:14: Error: 'i' is already declared in this scope.\n for (var i in <int>[1, 2, 3]) i,\n ^\ntests/language_2/control_flow_collections/for_test.dart:197:14: Context: Previous declaration of 'i'.\n for (var i in <int>[1, 2, 3]) i: i,\n ^\ntests/language_2/control_flow_collections/for_test.dart:204:5: Error: Unexpected token 'for'.\n for (var i in <int>[1, 2, 3]) i,\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:205:14: Error: 'i' is already declared in this scope.\n for (var i = 2; i <= 3; i++) i,\n ^\ntests/language_2/control_flow_collections/for_test.dart:197:14: Context: Previous declaration of 'i'.\n for (var i in <int>[1, 2, 3]) i: i,\n ^\ntests/language_2/control_flow_collections/for_test.dart:205:5: Error: Unexpected token 'for'.\n for (var i = 2; i <= 3; i++) i,\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:222:5: Error: Unexpected token 'for'.\n for (var i = 0; i < keys.length; i++) keys[i]: values[i]\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:226:38: Error: 'i' is already declared in this scope.\n var set = <Equality>{e1a, for (var i = 0; i < keys.length; i++) keys[i]};\n ^\ntests/language_2/control_flow_collections/for_test.dart:222:14: Context: Previous declaration of 'i'.\n for (var i = 0; i < keys.length; i++) keys[i]: values[i]\n ^\ntests/language_2/control_flow_collections/for_test.dart:226:29: Error: Unexpected token 'for'.\n var set = <Equality>{e1a, for (var i = 0; i < keys.length; i++) keys[i]};\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:233:38: Error: Unexpected token 'for'.\n Expect.throwsCastError(() => <int>[for (; nonBool;) 1]);\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:234:43: Error: Unexpected token 'for'.\n Expect.throwsCastError(() => <int, int>{for (; nonBool;) 1: 1});\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:235:38: Error: Unexpected token 'for'.\n Expect.throwsCastError(() => <int>{for (; nonBool;) 1});\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:239:43: Error: Unexpected token 'for'.\n Expect.throwsAssertionError(() => <int>[for (; nullBool;) 1]);\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:240:48: Error: Unexpected token 'for'.\n Expect.throwsAssertionError(() => <int, int>{for (; nullBool;) 1: 1});\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:241:43: Error: Unexpected token 'for'.\n Expect.throwsAssertionError(() => <int>{for (; nullBool;) 1});\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:245:38: Error: Unexpected token 'for'.\n Expect.throwsCastError(() => <int>[for (int i = nonInt; false;) 1]);\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:246:43: Error: Unexpected token 'for'.\n Expect.throwsCastError(() => <int, int>{for (int i = nonInt; false;) 1: 1});\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:247:38: Error: Unexpected token 'for'.\n Expect.throwsCastError(() => <int>{for (int i = nonInt; false;) 1});\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:251:38: Error: Unexpected token 'for'.\n Expect.throwsCastError(() => <int>[for (int i in nonIterable) 1]);\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:252:43: Error: Unexpected token 'for'.\n Expect.throwsCastError(() => <int, int>{for (int i in nonIterable) 1: 1});\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:253:38: Error: Unexpected token 'for'.\n Expect.throwsCastError(() => <int>{for (int i in nonIterable) 1});\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:257:46: Error: Unexpected token 'for'.\n Expect.throwsNoSuchMethodError(() => <int>[for (var i in nullIterable) 1]);\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:259:24: Error: Unexpected token 'for'.\n () => <int, int>{for (var i in nullIterable) 1: 1});\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:260:46: Error: Unexpected token 'for'.\n Expect.throwsNoSuchMethodError(() => <int>{for (var i in nullIterable) 1});\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:263:38: Error: Unexpected token 'for'.\n Expect.throwsCastError(() => <int>[for (var i = 0; i < 1; i++) nonInt]);\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:265:24: Error: Unexpected token 'for'.\n () => <int, int>{for (var i = 0; i < 1; i++) nonInt: 1});\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:267:24: Error: Unexpected token 'for'.\n () => <int, int>{for (var i = 0; i < 1; i++) 1: nonInt});\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:268:38: Error: Unexpected token 'for'.\n Expect.throwsCastError(() => <int>{for (var i = 0; i < 1; i++) nonInt});\n ^^^\n\n--- Re-run this test:\npython tools/test.py -n dartkp-android-release-arm language_2/control_flow_collections/for_test\n"} {"name":"language_2/control_flow_collections/if_const_test","configuration":"dartkp-android-release-arm","result":"CompileTimeError","log":"--- Command \"vm_compile_to_kernel\" (took 361ms):\nDART_CONFIGURATION=ReleaseAndroidARM /b/swarming/w/ir/pkg/vm/tool/gen_kernel --aot --platform=out/ReleaseAndroidARM/vm_platform_strong.dill -o /b/swarming/w/ir/out/ReleaseAndroidARM/generated_compilations/dartkp/tests_language_2_control_flow_collections_if_const_test/out.dill /b/swarming/w/ir/tests/language_2/control_flow_collections/if_const_test.dart --enable-experiment=set-literals,control-flow-collections,spread-collections --packages=/b/swarming/w/ir/.packages -Ddart.developer.causal_async_stacks=true\n\nexit code:\n1\n\nstdout:\ntests/language_2/control_flow_collections/if_const_test.dart:232:19: Error: Can't find ')' to match '('.\n Expect.identical(const <int>{1}, const <int>{if (true) 1, if (false) nonInt};\n ^\ntests/language_2/control_flow_collections/if_const_test.dart:30:41: Error: Unexpected token 'if'.\n Expect.identical(list, const <int>[1, if (true) 2, 3]);\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:33:41: Error: Unexpected token 'if'.\n Expect.identical(list, const <int>[1, if (false) 9, 2, 3]);\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:36:41: Error: Unexpected token 'if'.\n Expect.identical(list, const <int>[1, if (false) 9 else 2, 3]);\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:39:43: Error: Unexpected token 'if'.\n Expect.identical(const [1], const <int>[if (true) 1]);\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:42:38: Error: Unexpected token 'if'.\n Expect.identical(list, const <int>[if (true) 1, 2, 3]);\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:45:41: Error: Unexpected token 'if'.\n Expect.identical(list, const <int>[1, if (true) 2, 3]);\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:48:44: Error: Unexpected token 'if'.\n Expect.identical(list, const <int>[1, 2, if (true) 3]);\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:52:19: Error: Unexpected token 'if'.\n const <int>[if (true) 1, if (false) 9, 2, if (true) 3]);\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:52:32: Error: Unexpected token 'if'.\n const <int>[if (true) 1, if (false) 9, 2, if (true) 3]);\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:52:49: Error: Unexpected token 'if'.\n const <int>[if (true) 1, if (false) 9, 2, if (true) 3]);\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:55:43: Error: Unexpected token 'if'.\n Expect.identical(const [1], const <int>[if (dynamicTrue) 1]);\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:56:43: Error: Unexpected token 'if'.\n Expect.identical(const [1], const <int>[if (objectTrue) 1]);\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:59:38: Error: Unexpected token 'if'.\n Expect.identical(const [1], const [if (true) [1]].first);\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:60:41: Error: Unexpected token 'if'.\n Expect.identical(const {1: 1}, const [if (true) {1: 1}].first);\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:61:38: Error: Unexpected token 'if'.\n Expect.identical(const {1}, const [if (true) {1}].first);\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:65:19: Error: Unexpected token 'if'.\n const <int>[if (true) ...<int>[1, 2], if (false) 9 else ...<int>[3]]);\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:65:45: Error: Unexpected token 'if'.\n const <int>[if (true) ...<int>[1, 2], if (false) 9 else ...<int>[3]]);\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:69:29: Error: Unexpected token 'if'.\n const <int>[if (true) if (true) 1, if (true) if (false) 9]);\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:69:52: Error: Unexpected token 'if'.\n const <int>[if (true) if (true) 1, if (true) if (false) 9]);\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:72:61: Error: Unexpected token 'if'.\n Expect.identical(const [1], const <int>[if (false) 9 else if (true) 1]);\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:75:68: Error: Not a constant expression.\n Expect.identical(list, const <int>[if (true) for (var i in list) i]);\n ^\ntests/language_2/control_flow_collections/if_const_test.dart:75:48: Error: Unexpected token 'for'.\n Expect.identical(list, const <int>[if (true) for (var i in list) i]);\n ^^^\ntests/language_2/control_flow_collections/if_const_test.dart:78:38: Error: Unexpected token 'if'.\n Expect.identical(list, const <int>[if (false) 9 for (var i in list) i]);\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:78:51: Error: Expected ',' before this.\n Expect.identical(list, const <int>[if (false) 9 for (var i in list) i]);\n ^^^\ntests/language_2/control_flow_collections/if_const_test.dart:78:60: Error: 'i' is already declared in this scope.\n Expect.identical(list, const <int>[if (false) 9 for (var i in list) i]);\n ^\ntests/language_2/control_flow_collections/if_const_test.dart:75:57: Context: Previous declaration of 'i'.\n Expect.identical(list, const <int>[if (true) for (var i in list) i]);\n ^\ntests/language_2/control_flow_collections/if_const_test.dart:78:71: Error: Not a constant expression.\n Expect.identical(list, const <int>[if (false) 9 for (var i in list) i]);\n ^\ntests/language_2/control_flow_collections/if_const_test.dart:78:51: Error: Unexpected token 'for'.\n Expect.identical(list, const <int>[if (false) 9 for (var i in list) i]);\n ^^^\ntests/language_2/control_flow_collections/if_const_test.dart:83:48: Error: Unexpected token 'if'.\n Expect.identical(map, const <int, int>{1: 1, if (true) 2: 2, 3: 3});\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:86:48: Error: Unexpected token 'if'.\n Expect.identical(map, const <int, int>{1: 1, if (false) 9: 9, 2: 2, 3: 3});\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:90:30: Error: Unexpected token 'if'.\n const <int, int>{1: 1, if (false) 9: 9 else 2: 2, 3: 3});\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:93:51: Error: Unexpected token 'if'.\n Expect.identical(const {1: 1}, const <int, int>{if (true) 1: 1});\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:96:42: Error: Unexpected token 'if'.\n Expect.identical(map, const <int, int>{if (true) 1: 1, 2: 2, 3: 3});\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:99:48: Error: Unexpected token 'if'.\n Expect.identical(map, const <int, int>{1: 1, if (true) 2: 2, 3: 3});\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:102:54: Error: Unexpected token 'if'.\n Expect.identical(map, const <int, int>{1: 1, 2: 2, if (true) 3: 3});\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:106:24: Error: Unexpected token 'if'.\n const <int, int>{if (true) 1: 1, if (false) 9: 9, 2: 2, if (true) 3: 3});\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:106:40: Error: Unexpected token 'if'.\n const <int, int>{if (true) 1: 1, if (false) 9: 9, 2: 2, if (true) 3: 3});\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:106:63: Error: Unexpected token 'if'.\n const <int, int>{if (true) 1: 1, if (false) 9: 9, 2: 2, if (true) 3: 3});\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:109:51: Error: Unexpected token 'if'.\n Expect.identical(const {1: 1}, const <int, int>{if (dynamicTrue) 1: 1});\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:110:51: Error: Unexpected token 'if'.\n Expect.identical(const {1: 1}, const <int, int>{if (objectTrue) 1: 1});\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:114:5: Error: Unexpected token 'if'.\n if (true) ...<int, int>{1: 1, 2: 2},\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:115:5: Error: Unexpected token 'if'.\n if (false) 9: 9 else ...<int, int>{3: 3}\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:120:34: Error: Unexpected token 'if'.\n const <int, int>{if (true) if (true) 1: 1, if (true) if (false) 9: 9});\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:120:60: Error: Unexpected token 'if'.\n const <int, int>{if (true) if (true) 1: 1, if (true) if (false) 9: 9});\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:124:45: Error: Unexpected token 'if'.\n const <int, int>{if (false) 9: 9 else if (true) 1: 1});\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:127:72: Error: Not a constant expression.\n Expect.identical(map, const <int, int>{if (true) for (var i in list) i: i});\n ^\ntests/language_2/control_flow_collections/if_const_test.dart:127:75: Error: Not a constant expression.\n Expect.identical(map, const <int, int>{if (true) for (var i in list) i: i});\n ^\ntests/language_2/control_flow_collections/if_const_test.dart:127:52: Error: Unexpected token 'for'.\n Expect.identical(map, const <int, int>{if (true) for (var i in list) i: i});\n ^^^\ntests/language_2/control_flow_collections/if_const_test.dart:131:24: Error: Unexpected token 'if'.\n const <int, int>{if (false) 9: 9 for (var i in list) i: i});\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:131:40: Error: Expected ',' before this.\n const <int, int>{if (false) 9: 9 for (var i in list) i: i});\n ^^^\ntests/language_2/control_flow_collections/if_const_test.dart:131:49: Error: 'i' is already declared in this scope.\n const <int, int>{if (false) 9: 9 for (var i in list) i: i});\n ^\ntests/language_2/control_flow_collections/if_const_test.dart:127:61: Context: Previous declaration of 'i'.\n Expect.identical(map, const <int, int>{if (true) for (var i in list) i: i});\n ^\ntests/language_2/control_flow_collections/if_const_test.dart:131:60: Error: Not a constant expression.\n const <int, int>{if (false) 9: 9 for (var i in list) i: i});\n ^\ntests/language_2/control_flow_collections/if_const_test.dart:131:63: Error: Not a constant expression.\n const <int, int>{if (false) 9: 9 for (var i in list) i: i});\n ^\ntests/language_2/control_flow_collections/if_const_test.dart:131:40: Error: Unexpected token 'for'.\n const <int, int>{if (false) 9: 9 for (var i in list) i: i});\n ^^^\ntests/language_2/control_flow_collections/if_const_test.dart:136:40: Error: Unexpected token 'if'.\n Expect.identical(set, const <int>{1, if (true) 2, 3});\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:139:40: Error: Unexpected token 'if'.\n Expect.identical(set, const <int>{1, if (false) 9, 2, 3});\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:142:40: Error: Unexpected token 'if'.\n Expect.identical(set, const <int>{1, if (false) 9 else 2, 3});\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:145:37: Error: Unexpected token 'if'.\n Expect.identical({1}, const <int>{if (true) 1});\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:148:37: Error: Unexpected token 'if'.\n Expect.identical(set, const <int>{if (true) 1, 2, 3});\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:151:40: Error: Unexpected token 'if'.\n Expect.identical(set, const <int>{1, if (true) 2, 3});\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:154:43: Error: Unexpected token 'if'.\n Expect.identical(set, const <int>{1, 2, if (true) 3});\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:158:19: Error: Unexpected token 'if'.\n const <int>{if (true) 1, if (false) 9, 2, if (true) 3});\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:158:32: Error: Unexpected token 'if'.\n const <int>{if (true) 1, if (false) 9, 2, if (true) 3});\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:158:49: Error: Unexpected token 'if'.\n const <int>{if (true) 1, if (false) 9, 2, if (true) 3});\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:161:48: Error: Unexpected token 'if'.\n Expect.identical(const <int>{1}, const <int>{if (dynamicTrue) 1});\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:162:48: Error: Unexpected token 'if'.\n Expect.identical(const <int>{1}, const <int>{if (objectTrue) 1});\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:165:48: Error: Unexpected token 'if'.\n Expect.identical(const <int>[1], const <int>{if (true) [1]}.first);\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:166:56: Error: Unexpected token 'if'.\n Expect.identical(const <int, int>{1: 1}, const <int>{if (true) {1: 1}}.first);\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:167:48: Error: Unexpected token 'if'.\n Expect.identical(const <int>{1}, const <int>{if (true) {1}}.first);\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:171:19: Error: Unexpected token 'if'.\n const <int>{if (true) ...<int>[1, 2], if (false) 9 else ...<int>[3]});\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:171:45: Error: Unexpected token 'if'.\n const <int>{if (true) ...<int>[1, 2], if (false) 9 else ...<int>[3]});\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:175:29: Error: Unexpected token 'if'.\n const <int>{if (true) if (true) 1, if (true) if (false) 9});\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:175:52: Error: Unexpected token 'if'.\n const <int>{if (true) if (true) 1, if (true) if (false) 9});\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:178:66: Error: Unexpected token 'if'.\n Expect.identical(const <int>{1}, const <int>{if (false) 9 else if (true) 1});\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:181:67: Error: Not a constant expression.\n Expect.identical(set, const <int>{if (true) for (var i in list) i});\n ^\ntests/language_2/control_flow_collections/if_const_test.dart:181:47: Error: Unexpected token 'for'.\n Expect.identical(set, const <int>{if (true) for (var i in list) i});\n ^^^\ntests/language_2/control_flow_collections/if_const_test.dart:184:37: Error: Unexpected token 'if'.\n Expect.identical(set, const <int>{if (false) 9 for (var i in list) i});\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:184:50: Error: Expected ',' before this.\n Expect.identical(set, const <int>{if (false) 9 for (var i in list) i});\n ^^^\ntests/language_2/control_flow_collections/if_const_test.dart:184:59: Error: 'i' is already declared in this scope.\n Expect.identical(set, const <int>{if (false) 9 for (var i in list) i});\n ^\ntests/language_2/control_flow_collections/if_const_test.dart:181:56: Context: Previous declaration of 'i'.\n Expect.identical(set, const <int>{if (true) for (var i in list) i});\n ^\ntests/language_2/control_flow_collections/if_const_test.dart:184:70: Error: Not a constant expression.\n Expect.identical(set, const <int>{if (false) 9 for (var i in list) i});\n ^\ntests/language_2/control_flow_collections/if_const_test.dart:184:50: Error: Unexpected token 'for'.\n Expect.identical(set, const <int>{if (false) 9 for (var i in list) i});\n ^^^\ntests/language_2/control_flow_collections/if_const_test.dart:195:19: Error: Unexpected token 'if'.\n const <int>[if (true) 1, if (false) nil + 1]);\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:195:32: Error: Unexpected token 'if'.\n const <int>[if (true) 1, if (false) nil + 1]);\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:197:19: Error: Unexpected token 'if'.\n const <int>[if (true) 1 else nil + 1, if (false) nil + 1 else 2]);\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:197:45: Error: Unexpected token 'if'.\n const <int>[if (true) 1 else nil + 1, if (false) nil + 1 else 2]);\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:200:5: Error: Unexpected token 'if'.\n if (true) 1: 1,\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:201:5: Error: Unexpected token 'if'.\n if (false) nil + 1: 9,\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:202:5: Error: Unexpected token 'if'.\n if (false) 9: nil + 1\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:205:5: Error: Unexpected token 'if'.\n if (true) 1: 1 else nil + 1: 9,\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:206:5: Error: Unexpected token 'if'.\n if (false) 9: nil + 1 else 2: 2\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:210:19: Error: Unexpected token 'if'.\n const <int>{if (true) 1, if (false) nil + 1});\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:210:32: Error: Unexpected token 'if'.\n const <int>{if (true) 1, if (false) nil + 1});\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:212:19: Error: Unexpected token 'if'.\n const <int>{if (true) 1 else nil + 1, if (false) nil + 1 else 2});\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:212:45: Error: Unexpected token 'if'.\n const <int>{if (true) 1 else nil + 1, if (false) nil + 1 else 2});\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:218:48: Error: Unexpected token 'if'.\n Expect.identical(const <int>[1], const <int>[if (true) 1, if (false) nonInt]);\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:218:61: Error: Unexpected token 'if'.\n Expect.identical(const <int>[1], const <int>[if (true) 1, if (false) nonInt]);\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:220:19: Error: Unexpected token 'if'.\n const <int>[if (true) 1 else nonInt, if (false) nonInt else 2]);\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:220:44: Error: Unexpected token 'if'.\n const <int>[if (true) 1 else nonInt, if (false) nonInt else 2]);\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:222:34: Error: Expected ',' before this.\n Expect.identical(const <int>{1: 1}, const <int, int>{\n ^\ntests/language_2/control_flow_collections/if_const_test.dart:223:5: Error: Unexpected token 'if'.\n if (true) 1: 1,\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:224:5: Error: Unexpected token 'if'.\n if (false) nonInt: 9,\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:225:5: Error: Unexpected token 'if'.\n if (false) 9: nonInt\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:228:5: Error: Unexpected token 'if'.\n if (true) 1: 1 else nonInt: 9,\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:229:5: Error: Unexpected token 'if'.\n if (false) 9: nonInt else 2: 2\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:232:48: Error: Unexpected token 'if'.\n Expect.identical(const <int>{1}, const <int>{if (true) 1, if (false) nonInt};\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:232:61: Error: Unexpected token 'if'.\n Expect.identical(const <int>{1}, const <int>{if (true) 1, if (false) nonInt};\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:234:19: Error: Unexpected token 'if'.\n const <int>{if (true) 1 else nonInt, if (false) nonInt else 2});\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:234:44: Error: Unexpected token 'if'.\n const <int>{if (true) 1 else nonInt, if (false) nonInt else 2});\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:241:5: Error: Unexpected token 'if'.\n if (false) 1: 1,\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:242:5: Error: Unexpected token 'if'.\n if (true) 2: 2 else 3: 3,\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:246:40: Error: Unexpected token 'if'.\n Expect.setEquals(set, const <int>{1, if (false) 1, if (true) 2 else 3, 3});\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:246:54: Error: Unexpected token 'if'.\n Expect.setEquals(set, const <int>{1, if (false) 1, if (true) 2 else 3, 3});\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:252:30: Error: Unexpected token 'if'.\n const <int, int>{1: 1, if (true) 2: 2, if (false) 9: 9, 3: 3});\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:252:46: Error: Unexpected token 'if'.\n const <int, int>{1: 1, if (true) 2: 2, if (false) 9: 9, 3: 3});\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:254:24: Error: Unexpected token 'if'.\n const <int, int>{if (false) 9: 9 else 1: 1, 2: 2, if (true) 3: 3});\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:254:57: Error: Unexpected token 'if'.\n const <int, int>{if (false) 9: 9 else 1: 1, 2: 2, if (true) 3: 3});\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:256:40: Error: Unexpected token 'if'.\n Expect.identical(set, const <int>{1, if (true) 2, if (false) 9, 3});\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:256:53: Error: Unexpected token 'if'.\n Expect.identical(set, const <int>{1, if (true) 2, if (false) 9, 3});\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:257:37: Error: Unexpected token 'if'.\n Expect.identical(set, const <int>{if (false) 9 else 1, 2, if (true) 3});\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:257:61: Error: Unexpected token 'if'.\n Expect.identical(set, const <int>{if (false) 9 else 1, 2, if (true) 3});\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:260:51: Error: Unexpected token 'if'.\n Expect.notIdentical(map, const <int, int>{1: 1, if (true) 3: 3, 2: 2});\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:261:43: Error: Unexpected token 'if'.\n Expect.notIdentical(set, const <int>{1, if (true) 3, 2});\n ^^\n\n--- Re-run this test:\npython tools/test.py -n dartkp-android-release-arm language_2/control_flow_collections/if_const_test\n"} {"name":"language_2/null_no_such_method_test","configuration":"dartkp-android-release-arm","result":"CompileTimeError","log":"--- Command \"vm_compile_to_kernel\" (took 192ms):\nDART_CONFIGURATION=ReleaseAndroidARM /b/swarming/w/ir/pkg/vm/tool/gen_kernel --aot --platform=out/ReleaseAndroidARM/vm_platform_strong.dill -o /b/swarming/w/ir/out/ReleaseAndroidARM/generated_compilations/dartkp/tests_language_2_null_no_such_method_test/out.dill /b/swarming/w/ir/tests/language_2/null_no_such_method_test.dart --packages=/b/swarming/w/ir/.packages -Ddart.developer.causal_async_stacks=true\n\nexit code:\n1\n\nstdout:\ntests/language_2/null_no_such_method_test.dart:10:40: Error: The method 'unary-' isn't defined for the class 'Null'.\nTry correcting the name to the name of an existing method, or defining a method named 'unary-'.\n Expect.throwsNoSuchMethodError(() => -null);\n ^\n\n--- Re-run this test:\npython tools/test.py -n dartkp-android-release-arm language_2/null_no_such_method_test\n"} {"name":"language_2/async_return_types_test/nestedFuture","configuration":"dartkp-android-release-arm","result":"Pass","log":"--- Command \"vm_compile_to_kernel\" (took 01.000968s):\nDART_CONFIGURATION=ReleaseAndroidARM /b/swarming/w/ir/pkg/vm/tool/gen_kernel --aot --platform=out/ReleaseAndroidARM/vm_platform_strong.dill -o /b/swarming/w/ir/out/ReleaseAndroidARM/generated_compilations/dartkp/multitest_language_2_async_return_types_test_nestedFuture/out.dill /b/swarming/w/ir/out/ReleaseAndroidARM/generated_tests/language_2/async_return_types_test_nestedFuture.dart --packages=/b/swarming/w/ir/.packages -Ddart.developer.causal_async_stacks=true\n\nexit code:\n0\n\n--- Command \"precompiler\" (took 03.000283s):\nDART_CONFIGURATION=ReleaseAndroidARM out/ReleaseAndroidARM/clang_x86/gen_snapshot --snapshot-kind=app-aot-blobs --blobs_container_filename=/b/swarming/w/ir/out/ReleaseAndroidARM/generated_compilations/dartkp/multitest_language_2_async_return_types_test_nestedFuture/out.aotsnapshot --no-sim-use-hardfp --ignore-unrecognized-flags --packages=/b/swarming/w/ir/.packages /b/swarming/w/ir/out/ReleaseAndroidARM/generated_compilations/dartkp/multitest_language_2_async_return_types_test_nestedFuture/out.dill\n\nexit code:\n0\n\n--- Command \"remove_kernel_file\" (took 31ms):\nDART_CONFIGURATION=ReleaseAndroidARM rm /b/swarming/w/ir/out/ReleaseAndroidARM/generated_compilations/dartkp/multitest_language_2_async_return_types_test_nestedFuture/out.dill\n\nexit code:\n0\n\n--- Re-run this test:\npython tools/test.py -n dartkp-android-release-arm language_2/async_return_types_test/nestedFuture\n"} {"name":"standalone_2/package/package_isolate_test","configuration":"dartkp-android-release-arm","result":"CompileTimeError","log":"--- Command \"vm_compile_to_kernel\" (took 176ms):\nDART_CONFIGURATION=ReleaseAndroidARM /b/swarming/w/ir/pkg/vm/tool/gen_kernel --aot --platform=out/ReleaseAndroidARM/vm_platform_strong.dill -o /b/swarming/w/ir/out/ReleaseAndroidARM/generated_compilations/dartkp/tests_standalone_2_package_package_isolate_test/out.dill /b/swarming/w/ir/tests/standalone_2/package/package_isolate_test.dart --packages=/b/swarming/w/ir/.packages -Ddart.developer.causal_async_stacks=true\n\nexit code:\n1\n\nstdout:\ntests/standalone_2/package/package_isolate_test.dart:27:19: Error: The top level function has type 'void Function(SendPort)' that isn't of expected type 'void Function(dynamic)'.\n - 'SendPort' is from 'dart:isolate'.\nChange the type of the function or the context in which it is used.\n Isolate.spawn(isolate_main, replyPort);\n ^\n\n--- Re-run this test:\npython tools/test.py -n dartkp-android-release-arm standalone_2/package/package_isolate_test\n"}