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

/============================================================================================================\ | language_2/control_flow_collections/for_inference_test is new and failed (CompileTimeError, expected Pass) | \============================================================================================================/ --- Command "vm_compile_to_kernel" (took 571ms): DART_CONFIGURATION=ReleaseX64 /b/s/w/ir/cache/builder/sdk/pkg/vm/tool/gen_kernel --aot --platform=out/ReleaseX64/vm_platform_strong.dill -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartkp/tests_language_2_control_flow_collections_for_inference_test/out.dill /b/s/w/ir/cache/builder/sdk/tests/language_2/control_flow_collections/for_inference_test.dart --enable-experiment=set-literals,control-flow-collections,spread-collections --packages=/b/s/w/ir/cache/builder/sdk/.packages -Ddart.developer.causal_async_stacks=true exit code: 1 stdout: tests/language_2/control_flow_collections/for_inference_test.dart:20:27: Error: Unexpected token 'for'. Expect.type<List<int>>([for (; false;) 1]); ^^^ tests/language_2/control_flow_collections/for_inference_test.dart:21:27: Error: Unexpected token 'for'. Expect.type<List<int>>([for (; false;) 1, for (; false;) 2]); ^^^ tests/language_2/control_flow_collections/for_inference_test.dart:21:45: Error: Unexpected token 'for'. Expect.type<List<int>>([for (; false;) 1, for (; false;) 2]); ^^^ tests/language_2/control_flow_collections/for_inference_test.dart:22:27: Error: Unexpected token 'for'. Expect.type<List<num>>([for (; false;) 1, for (; false;) 0.2]); ^^^ tests/language_2/control_flow_collections/for_inference_test.dart:22:45: Error: Unexpected token 'for'. Expect.type<List<num>>([for (; false;) 1, for (; false;) 0.2]); ^^^ tests/language_2/control_flow_collections/for_inference_test.dart:23:27: Error: Unexpected token 'for'. Expect.type<List<int>>([for (; false;) 1, 2]); ^^^ tests/language_2/control_flow_collections/for_inference_test.dart:24:27: Error: Unexpected token 'for'. Expect.type<List<num>>([for (; false;) 1, 0.2]); ^^^ tests/language_2/control_flow_collections/for_inference_test.dart:25:46: Error: Unexpected token '...'. Expect.type<List<dynamic>>([for (; false;) ...[]]); ^^^ tests/language_2/control_flow_collections/for_inference_test.dart:25:31: Error: Unexpected token 'for'. Expect.type<List<dynamic>>([for (; false;) ...[]]); ^^^ tests/language_2/control_flow_collections/for_inference_test.dart:26:42: Error: Unexpected token '...'. Expect.type<List<int>>([for (; false;) ...<int>[]]); ^^^ tests/language_2/control_flow_collections/for_inference_test.dart:26:27: Error: Unexpected token 'for'. Expect.type<List<int>>([for (; false;) ...<int>[]]); ^^^ tests/language_2/control_flow_collections/for_inference_test.dart:29:31: Error: Unexpected token 'for'. Expect.type<Map<int, int>>({for (; false;) 1: 1}); ^^^ tests/language_2/control_flow_collections/for_inference_test.dart:30:31: Error: Unexpected token 'for'. Expect.type<Map<int, int>>({for (; false;) 1: 1, for (; false;) 2: 2}); ^^^ tests/language_2/control_flow_collections/for_inference_test.dart:30:52: Error: Unexpected token 'for'. Expect.type<Map<int, int>>({for (; false;) 1: 1, for (; false;) 2: 2}); ^^^ tests/language_2/control_flow_collections/for_inference_test.dart:31:31: Error: Unexpected token 'for'. Expect.type<Map<num, num>>({for (; false;) 1: 0.1, for (; false;) 0.2: 2}); ^^^ tests/language_2/control_flow_collections/for_inference_test.dart:31:54: Error: Unexpected token 'for'. Expect.type<Map<num, num>>({for (; false;) 1: 0.1, for (; false;) 0.2: 2}); ^^^ tests/language_2/control_flow_collections/for_inference_test.dart:32:31: Error: Unexpected token 'for'. Expect.type<Map<int, int>>({for (; false;) 1: 1, 2: 2}); ^^^ tests/language_2/control_flow_collections/for_inference_test.dart:33:31: Error: Unexpected token 'for'. Expect.type<Map<num, num>>({for (; false;) 1: 0.1, 0.2: 2}); ^^^ tests/language_2/control_flow_collections/for_inference_test.dart:34:54: Error: Unexpected token '...'. Expect.type<Map<dynamic, dynamic>>({for (; false;) ...{}}); ^^^ tests/language_2/control_flow_collections/for_inference_test.dart:34:39: Error: Unexpected token 'for'. Expect.type<Map<dynamic, dynamic>>({for (; false;) ...{}}); ^^^ tests/language_2/control_flow_collections/for_inference_test.dart:35:46: Error: Unexpected token '...'. Expect.type<Map<int, int>>({for (; false;) ...<int, int>{}}); ^^^ tests/language_2/control_flow_collections/for_inference_test.dart:35:31: Error: Unexpected token 'for'. Expect.type<Map<int, int>>({for (; false;) ...<int, int>{}}); ^^^ tests/language_2/control_flow_collections/for_inference_test.dart:38:26: Error: Unexpected token 'for'. Expect.type<Set<int>>({for (; false;) 1}); ^^^ tests/language_2/control_flow_collections/for_inference_test.dart:39:26: Error: Unexpected token 'for'. Expect.type<Set<int>>({for (; false;) 1, for (; false;) 2}); ^^^ tests/language_2/control_flow_collections/for_inference_test.dart:39:44: Error: Unexpected token 'for'. Expect.type<Set<int>>({for (; false;) 1, for (; false;) 2}); ^^^ tests/language_2/control_flow_collections/for_inference_test.dart:40:26: Error: Unexpected token 'for'. Expect.type<Set<num>>({for (; false;) 1, for (; false;) 0.2}); ^^^ tests/language_2/control_flow_collections/for_inference_test.dart:40:44: Error: Unexpected token 'for'. Expect.type<Set<num>>({for (; false;) 1, for (; false;) 0.2}); ^^^ tests/language_2/control_flow_collections/for_inference_test.dart:41:26: Error: Unexpected token 'for'. Expect.type<Set<int>>({for (; false;) 1, 2}); ^^^ tests/language_2/control_flow_collections/for_inference_test.dart:42:26: Error: Unexpected token 'for'. Expect.type<Set<num>>({for (; false;) 1, 0.2}); ^^^ tests/language_2/control_flow_collections/for_inference_test.dart:43:40: Error: Unexpected token '...'. Expect.type<Set<dynamic>>({if (true) ...[]}); ^^^ tests/language_2/control_flow_collections/for_inference_test.dart:43:30: Error: Unexpected token 'if'. Expect.type<Set<dynamic>>({if (true) ...[]}); ^^ tests/language_2/control_flow_collections/for_inference_test.dart:44:36: Error: Unexpected token '...'. Expect.type<Set<int>>({if (true) ...<int>[]}); ^^^ tests/language_2/control_flow_collections/for_inference_test.dart:44:26: Error: Unexpected token 'if'. Expect.type<Set<int>>({if (true) ...<int>[]}); ^^ tests/language_2/control_flow_collections/for_inference_test.dart:47:46: Error: Unexpected token '...'. Expect.type<List<dynamic>>([for (; false;) ...([] as dynamic)]); ^^^ tests/language_2/control_flow_collections/for_inference_test.dart:47:31: Error: Unexpected token 'for'. Expect.type<List<dynamic>>([for (; false;) ...([] as dynamic)]); ^^^ tests/language_2/control_flow_collections/for_inference_test.dart:48:48: Error: Unexpected token '...'. Expect.type<Set<dynamic>>({1, for (; false;) ...([] as dynamic)}); ^^^ tests/language_2/control_flow_collections/for_inference_test.dart:48:33: Error: Unexpected token 'for'. Expect.type<Set<dynamic>>({1, for (; false;) ...([] as dynamic)}); ^^^ tests/language_2/control_flow_collections/for_inference_test.dart:51:60: Error: Unexpected token '...'. Expect.type<Map<dynamic, dynamic>>({1: 1, for (; false;) ...({} as dynamic)}); ^^^ tests/language_2/control_flow_collections/for_inference_test.dart:51:45: Error: Unexpected token 'for'. Expect.type<Map<dynamic, dynamic>>({1: 1, for (; false;) ...({} as dynamic)}); ^^^ tests/language_2/control_flow_collections/for_inference_test.dart:56:27: Error: Unexpected token 'for'. Expect.type<List<int>>([for (var i in <int>[1]) i]); ^^^ tests/language_2/control_flow_collections/for_inference_test.dart:57:39: Error: 'i' is already declared in this scope. Expect.type<List<String>>([for (var i in <int>[1]) i.toRadixString(10)]); ^ tests/language_2/control_flow_collections/for_inference_test.dart:56:36: Context: Previous declaration of 'i'. Expect.type<List<int>>([for (var i in <int>[1]) i]); ^ tests/language_2/control_flow_collections/for_inference_test.dart:57:30: Error: Unexpected token 'for'. Expect.type<List<String>>([for (var i in <int>[1]) i.toRadixString(10)]); ^^^ tests/language_2/control_flow_collections/for_inference_test.dart:60:36: Error: 'i' is already declared in this scope. Expect.type<List<int>>([for (var i = 1; i < 2; i++) i]); ^ tests/language_2/control_flow_collections/for_inference_test.dart:56:36: Context: Previous declaration of 'i'. Expect.type<List<int>>([for (var i in <int>[1]) i]); ^ tests/language_2/control_flow_collections/for_inference_test.dart:60:27: Error: Unexpected token 'for'. Expect.type<List<int>>([for (var i = 1; i < 2; i++) i]); ^^^ tests/language_2/control_flow_collections/for_inference_test.dart:61:39: Error: 'i' is already declared in this scope. Expect.type<List<String>>([for (var i = 1; i < 2; i++) i.toRadixString(10)]); ^ tests/language_2/control_flow_collections/for_inference_test.dart:56:36: Context: Previous declaration of 'i'. Expect.type<List<int>>([for (var i in <int>[1]) i]); ^ tests/language_2/control_flow_collections/for_inference_test.dart:61:30: Error: Unexpected token 'for'. Expect.type<List<String>>([for (var i = 1; i < 2; i++) i.toRadixString(10)]); ^^^ tests/language_2/control_flow_collections/for_inference_test.dart:64:41: Error: 'i' is already declared in this scope. Expect.listEquals(<int>[1], [for (int i in expectDynamic([1]))]); ^ tests/language_2/control_flow_collections/for_inference_test.dart:56:36: Context: Previous declaration of 'i'. Expect.type<List<int>>([for (var i in <int>[1]) i]); ^ tests/language_2/control_flow_collections/for_inference_test.dart:64:65: Error: Expected an identifier, but got ']'. Expect.listEquals(<int>[1], [for (int i in expectDynamic([1]))]); ^ tests/language_2/control_flow_collections/for_inference_test.dart:64:32: Error: Unexpected token 'for'. Expect.listEquals(<int>[1], [for (int i in expectDynamic([1]))]); ^^^ tests/language_2/control_flow_collections/for_inference_test.dart:67:41: Error: 'i' is already declared in this scope. Expect.listEquals(<int>[1], [for (int i = expectInt(1), i < 2; i++) i]); ^ tests/language_2/control_flow_collections/for_inference_test.dart:56:36: Context: Previous declaration of 'i'. Expect.type<List<int>>([for (var i in <int>[1]) i]); ^ tests/language_2/control_flow_collections/for_inference_test.dart:67:59: Error: 'i' is already declared in this scope. Expect.listEquals(<int>[1], [for (int i = expectInt(1), i < 2; i++) i]); ^ tests/language_2/control_flow_collections/for_inference_test.dart:56:36: Context: Previous declaration of 'i'. Expect.type<List<int>>([for (var i in <int>[1]) i]); ^ tests/language_2/control_flow_collections/for_inference_test.dart:67:59: Error: Expected ';' after this. Expect.listEquals(<int>[1], [for (int i = expectInt(1), i < 2; i++) i]); ^ tests/language_2/control_flow_collections/for_inference_test.dart:67:63: Error: Expected a type, but got '2'. Expect.listEquals(<int>[1], [for (int i = expectInt(1), i < 2; i++) i]); ^ tests/language_2/control_flow_collections/for_inference_test.dart:67:63: Error: Expected '[' before this. Expect.listEquals(<int>[1], [for (int i = expectInt(1), i < 2; i++) i]); ^ tests/language_2/control_flow_collections/for_inference_test.dart:67:63: Error: This couldn't be parsed. Expect.listEquals(<int>[1], [for (int i = expectInt(1), i < 2; i++) i]); ^ tests/language_2/control_flow_collections/for_inference_test.dart:67:64: Error: Expected ';' after this. Expect.listEquals(<int>[1], [for (int i = expectInt(1), i < 2; i++) i]); ^ tests/language_2/control_flow_collections/for_inference_test.dart:67:64: Error: Unexpected token ';'. Expect.listEquals(<int>[1], [for (int i = expectInt(1), i < 2; i++) i]); ^ tests/language_2/control_flow_collections/for_inference_test.dart:67:32: Error: Unexpected token 'for'. Expect.listEquals(<int>[1], [for (int i = expectInt(1), i < 2; i++) i]); ^^^ tests/language_2/control_flow_collections/for_inference_test.dart:74:37: Error: Unexpected token 'for'. Expect.listEquals(<int>[1], <int>[for (; false;) expectInt(1)]); ^^^ tests/language_2/control_flow_collections/for_inference_test.dart:77:38: Error: Unexpected token 'for'. Expect.listEquals(<int>[1, 2], [1, for (; false;) expectDynamic(2)]); ^^^ tests/language_2/control_flow_collections/for_inference_test.dart:83:21: Error: Unexpected token 'for'. <int, String>{for (; false;) expectInt(1): expectString("s")}); ^^^ tests/language_2/control_flow_collections/for_inference_test.dart:87:16: Error: Unexpected token 'for'. {1: "s", for (; false;) expectDynamic(2): expectDynamic("t")}); ^^^ tests/language_2/control_flow_collections/for_inference_test.dart:92:36: Error: Unexpected token 'for'. Expect.setEquals(<int>{1}, <int>{for (; false;) expectInt(1)}); ^^^ tests/language_2/control_flow_collections/for_inference_test.dart:95:37: Error: Unexpected token 'for'. Expect.setEquals(<int>{1, 2}, {1, for (; false;) expectDynamic(2)}); ^^^ --- Re-run this test: python tools/test.py -n dartkp-linux-release-x64 --repeat 5 --tests language_2/control_flow_collections/experimental_flag_test/01 language_2/control_flow_collections/experimental_flag_test/02 language_2/control_flow_collections/experimental_flag_test/03 language_2/control_flow_collections/experimental_flag_test/04 language_2/control_flow_collections/experimental_flag_test/05 language_2/control_flow_collections/experimental_flag_test/06 language_2/control_flow_collections/experimental_flag_test/07 language_2/control_flow_collections/experimental_flag_test/08 language_2/control_flow_collections/experimental_flag_test/09 language_2/control_flow_collections/experimental_flag_test/10 language_2/control_flow_collections/experimental_flag_test/11 language_2/control_flow_collections/experimental_flag_test/12 language_2/control_flow_collections/experimental_flag_test/13 language_2/control_flow_collections/experimental_flag_test/14 language_2/control_flow_collections/experimental_flag_test/15 language_2/control_flow_collections/experimental_flag_test/none language_2/control_flow_collections/for_const_test/00 language_2/control_flow_collections/for_const_test/01 language_2/control_flow_collections/for_const_test/02 language_2/control_flow_collections/for_const_test/03 language_2/control_flow_collections/for_const_test/04 language_2/control_flow_collections/for_const_test/05 language_2/control_flow_collections/for_const_test/06 language_2/control_flow_collections/for_const_test/07 language_2/control_flow_collections/for_const_test/08 language_2/control_flow_collections/for_const_test/none language_2/control_flow_collections/if_const_error_test/01 language_2/control_flow_collections/if_const_error_test/02 language_2/control_flow_collections/if_const_error_test/03 language_2/control_flow_collections/if_const_error_test/04 language_2/control_flow_collections/if_const_error_test/05 language_2/control_flow_collections/if_const_error_test/06 language_2/control_flow_collections/if_const_error_test/07 language_2/control_flow_collections/if_const_error_test/08 language_2/control_flow_collections/if_const_error_test/09 language_2/control_flow_collections/if_const_error_test/10 language_2/control_flow_collections/if_const_error_test/11 language_2/control_flow_collections/if_const_error_test/12 language_2/control_flow_collections/if_const_error_test/13 language_2/control_flow_collections/if_const_error_test/14 language_2/control_flow_collections/if_const_error_test/15 language_2/control_flow_collections/if_const_error_test/16 language_2/control_flow_collections/if_const_error_test/17 language_2/control_flow_collections/if_const_error_test/18 language_2/control_flow_collections/if_const_error_test/19 language_2/control_flow_collections/if_const_error_test/20 language_2/control_flow_collections/if_const_error_test/21 language_2/control_flow_collections/if_const_error_test/22 language_2/control_flow_collections/if_const_error_test/23 language_2/control_flow_collections/for_inference_test language_2/control_flow_collections/for_test language_2/control_flow_collections/for_variable_test language_2/control_flow_collections/if_const_test language_2/control_flow_collections/if_inference_test language_2/control_flow_collections/if_test language_2/control_flow_collections/map_set_ambiguity_test language_2/control_flow_collections/syntax_test language_2/set_literals/invalid_set_literal_test/08 language_2/set_literals/invalid_set_literal_test/09 language_2/set_literals/invalid_set_literal_test/10 language_2/spread_collections/const_test language_2/spread_collections/inference_test language_2/spread_collections/map_set_ambiguity_test language_2/spread_collections/spread_test language_2/spread_collections/syntax_test standalone_2/ffi/data_not_asan_test standalone_2/ffi/data_test standalone_2/ffi/dynamic_library_test standalone_2/ffi/enable_ffi_test standalone_2/ffi/function_callbacks_test standalone_2/ffi/function_structs_test standalone_2/ffi/function_test standalone_2/ffi/structs_test standalone_2/ffi/subtype_test language_2/control_flow_collections/for_inference_test /==================================================================================================\ | language_2/control_flow_collections/for_test is new and failed (CompileTimeError, expected Pass) | \==================================================================================================/ --- Command "vm_compile_to_kernel" (took 817ms): DART_CONFIGURATION=ReleaseX64 /b/s/w/ir/cache/builder/sdk/pkg/vm/tool/gen_kernel --aot --platform=out/ReleaseX64/vm_platform_strong.dill -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartkp/tests_language_2_control_flow_collections_for_test/out.dill /b/s/w/ir/cache/builder/sdk/tests/language_2/control_flow_collections/for_test.dart --enable-experiment=set-literals,control-flow-collections,spread-collections --packages=/b/s/w/ir/cache/builder/sdk/.packages -Ddart.developer.causal_async_stacks=true exit code: 1 stdout: tests/language_2/control_flow_collections/for_test.dart:64:19: Error: Can't find ')' to match '('. Expect.setEquals({1}, [for (var i = 1; i < 2; i++) {i}].first; ^ tests/language_2/control_flow_collections/for_test.dart:63:19: Error: Can't find ')' to match '('. Expect.mapEquals({1: 1}, [for (var i = 1; i < 2; i++) {i: i}].first; ^ tests/language_2/control_flow_collections/for_test.dart:62:20: Error: Can't find ')' to match '('. Expect.listEquals([1], [for (var i = 1; i < 2; i++) [i]].first; ^ tests/language_2/control_flow_collections/for_test.dart:181:19: Error: Can't find ')' to match '('. Expect.setEquals({1}, }for (var i = 1; i < 2; i++) {i}}.first; ^ tests/language_2/control_flow_collections/for_test.dart:180:19: Error: Can't find ')' to match '('. Expect.mapEquals({1: 1}, {for (var i = 1; i < 2; i++) {i: i}}.first; ^ tests/language_2/control_flow_collections/for_test.dart:179:20: Error: Can't find ')' to match '('. Expect.listEquals([1], {for (var i = 1; i < 2; i++) [i]}.first; ^ tests/language_2/control_flow_collections/for_test.dart:181:26: Error: Expected an identifier, but got 'for'. Expect.setEquals({1}, }for (var i = 1; i < 2; i++) {i}}.first; ^^^ tests/language_2/control_flow_collections/for_test.dart:181:37: Error: Non-optional parameters can't have a default value. Try removing the default value or making the parameter optional. Expect.setEquals({1}, }for (var i = 1; i < 2; i++) {i}}.first; ^ tests/language_2/control_flow_collections/for_test.dart:181:40: Error: Expected ')' before this. Expect.setEquals({1}, }for (var i = 1; i < 2; i++) {i}}.first; ^ tests/language_2/control_flow_collections/for_test.dart:181:57: Error: Expected a declaration, but got '}'. Expect.setEquals({1}, }for (var i = 1; i < 2; i++) {i}}.first; ^ tests/language_2/control_flow_collections/for_test.dart:181:58: Error: Expected a declaration, but got '.'. Expect.setEquals({1}, }for (var i = 1; i < 2; i++) {i}}.first; ^ tests/language_2/control_flow_collections/for_test.dart:181:59: Error: Variables must be declared using the keywords 'const', 'final', 'var' or a type name. Try adding the name of the type of the variable or the keyword 'var'. Expect.setEquals({1}, }for (var i = 1; i < 2; i++) {i}}.first; ^^^^^ tests/language_2/control_flow_collections/for_test.dart:184:3: Error: A function declaration needs an explicit list of parameters. Try adding a parameter list to the function declaration. Expect.setEquals(set, <int>{for (int n in <num>[1, 2, 3, 4]) n}); ^^^^^^ tests/language_2/control_flow_collections/for_test.dart:184:9: Error: Expected '{' before this. Expect.setEquals(set, <int>{for (int n in <num>[1, 2, 3, 4]) n}); ^ tests/language_2/control_flow_collections/for_test.dart:184:9: Error: Expected a declaration, but got '.'. Expect.setEquals(set, <int>{for (int n in <num>[1, 2, 3, 4]) n}); ^ tests/language_2/control_flow_collections/for_test.dart:184:25: Error: Expected an identifier, but got '<'. Expect.setEquals(set, <int>{for (int n in <num>[1, 2, 3, 4]) n}); ^ tests/language_2/control_flow_collections/for_test.dart:184:26: Error: Expected ')' before this. Expect.setEquals(set, <int>{for (int n in <num>[1, 2, 3, 4]) n}); ^^^ tests/language_2/control_flow_collections/for_test.dart:184:67: Error: Expected a function body or '=>'. Try adding {}. Expect.setEquals(set, <int>{for (int n in <num>[1, 2, 3, 4]) n}); ^ tests/language_2/control_flow_collections/for_test.dart:187:3: Error: A function declaration needs an explicit list of parameters. Try adding a parameter list to the function declaration. Expect.setEquals(set, <int>{for (num n in <num>[1, 2, 3, 4]) n}); ^^^^^^ tests/language_2/control_flow_collections/for_test.dart:187:9: Error: Expected '{' before this. Expect.setEquals(set, <int>{for (num n in <num>[1, 2, 3, 4]) n}); ^ tests/language_2/control_flow_collections/for_test.dart:187:3: Error: 'Expect' is already declared in this scope. Expect.setEquals(set, <int>{for (num n in <num>[1, 2, 3, 4]) n}); ^^^^^^ tests/language_2/control_flow_collections/for_test.dart:184:3: Context: Previous declaration of 'Expect'. Expect.setEquals(set, <int>{for (int n in <num>[1, 2, 3, 4]) n}); ^^^^^^ tests/language_2/control_flow_collections/for_test.dart:187:9: Error: Expected a declaration, but got '.'. Expect.setEquals(set, <int>{for (num n in <num>[1, 2, 3, 4]) n}); ^ tests/language_2/control_flow_collections/for_test.dart:187:25: Error: Expected an identifier, but got '<'. Expect.setEquals(set, <int>{for (num n in <num>[1, 2, 3, 4]) n}); ^ tests/language_2/control_flow_collections/for_test.dart:187:26: Error: Expected ')' before this. Expect.setEquals(set, <int>{for (num n in <num>[1, 2, 3, 4]) n}); ^^^ tests/language_2/control_flow_collections/for_test.dart:187:67: Error: Expected a function body or '=>'. Try adding {}. Expect.setEquals(set, <int>{for (num n in <num>[1, 2, 3, 4]) n}); ^ tests/language_2/control_flow_collections/for_test.dart:187:10: Error: 'setEquals' is already declared in this scope. Expect.setEquals(set, <int>{for (num n in <num>[1, 2, 3, 4]) n}); ^^^^^^^^^ tests/language_2/control_flow_collections/for_test.dart:184:10: Context: Previous declaration of 'setEquals'. Expect.setEquals(set, <int>{for (int n in <num>[1, 2, 3, 4]) n}); ^^^^^^^^^ tests/language_2/control_flow_collections/for_test.dart:190:3: Error: A function declaration needs an explicit list of parameters. Try adding a parameter list to the function declaration. Expect.setEquals({1}, <int>{for (var i = 1; (i < 2) as dynamic; i++) i}); ^^^^^^ tests/language_2/control_flow_collections/for_test.dart:190:9: Error: Expected '{' before this. Expect.setEquals({1}, <int>{for (var i = 1; (i < 2) as dynamic; i++) i}); ^ tests/language_2/control_flow_collections/for_test.dart:190:3: Error: 'Expect' is already declared in this scope. Expect.setEquals({1}, <int>{for (var i = 1; (i < 2) as dynamic; i++) i}); ^^^^^^ tests/language_2/control_flow_collections/for_test.dart:187:3: Context: Previous declaration of 'Expect'. Expect.setEquals(set, <int>{for (num n in <num>[1, 2, 3, 4]) n}); ^^^^^^ tests/language_2/control_flow_collections/for_test.dart:190:9: Error: Expected a declaration, but got '.'. Expect.setEquals({1}, <int>{for (var i = 1; (i < 2) as dynamic; i++) i}); ^ tests/language_2/control_flow_collections/for_test.dart:190:21: Error: Expected an identifier, but got '1'. Expect.setEquals({1}, <int>{for (var i = 1; (i < 2) as dynamic; i++) i}); ^ tests/language_2/control_flow_collections/for_test.dart:190:23: Error: Expected ')' before this. Expect.setEquals({1}, <int>{for (var i = 1; (i < 2) as dynamic; i++) i}); ^ tests/language_2/control_flow_collections/for_test.dart:190:75: Error: Expected a function body or '=>'. Try adding {}. Expect.setEquals({1}, <int>{for (var i = 1; (i < 2) as dynamic; i++) i}); ^ tests/language_2/control_flow_collections/for_test.dart:190:10: Error: 'setEquals' is already declared in this scope. Expect.setEquals({1}, <int>{for (var i = 1; (i < 2) as dynamic; i++) i}); ^^^^^^^^^ tests/language_2/control_flow_collections/for_test.dart:187:10: Context: Previous declaration of 'setEquals'. Expect.setEquals(set, <int>{for (num n in <num>[1, 2, 3, 4]) n}); ^^^^^^^^^ tests/language_2/control_flow_collections/for_test.dart:191:3: Error: A function declaration needs an explicit list of parameters. Try adding a parameter list to the function declaration. Expect.setEquals({1}, <int>{for (var i = 1; (i < 2) as Object; i++) i}); ^^^^^^ tests/language_2/control_flow_collections/for_test.dart:191:9: Error: Expected '{' before this. Expect.setEquals({1}, <int>{for (var i = 1; (i < 2) as Object; i++) i}); ^ tests/language_2/control_flow_collections/for_test.dart:191:3: Error: 'Expect' is already declared in this scope. Expect.setEquals({1}, <int>{for (var i = 1; (i < 2) as Object; i++) i}); ^^^^^^ tests/language_2/control_flow_collections/for_test.dart:190:3: Context: Previous declaration of 'Expect'. Expect.setEquals({1}, <int>{for (var i = 1; (i < 2) as dynamic; i++) i}); ^^^^^^ tests/language_2/control_flow_collections/for_test.dart:191:9: Error: Expected a declaration, but got '.'. Expect.setEquals({1}, <int>{for (var i = 1; (i < 2) as Object; i++) i}); ^ tests/language_2/control_flow_collections/for_test.dart:191:21: Error: Expected an identifier, but got '1'. Expect.setEquals({1}, <int>{for (var i = 1; (i < 2) as Object; i++) i}); ^ tests/language_2/control_flow_collections/for_test.dart:191:23: Error: Expected ')' before this. Expect.setEquals({1}, <int>{for (var i = 1; (i < 2) as Object; i++) i}); ^ tests/language_2/control_flow_collections/for_test.dart:191:74: Error: Expected a function body or '=>'. Try adding {}. Expect.setEquals({1}, <int>{for (var i = 1; (i < 2) as Object; i++) i}); ^ tests/language_2/control_flow_collections/for_test.dart:191:10: Error: 'setEquals' is already declared in this scope. Expect.setEquals({1}, <int>{for (var i = 1; (i < 2) as Object; i++) i}); ^^^^^^^^^ tests/language_2/control_flow_collections/for_test.dart:190:10: Context: Previous declaration of 'setEquals'. Expect.setEquals({1}, <int>{for (var i = 1; (i < 2) as dynamic; i++) i}); ^^^^^^^^^ tests/language_2/control_flow_collections/for_test.dart:192:1: Error: Expected a declaration, but got '}'. } ^ tests/language_2/control_flow_collections/for_test.dart:26:33: Error: Unexpected token 'for'. Expect.listEquals(list, <int>[for (var i in list) i]); ^^^ tests/language_2/control_flow_collections/for_test.dart:26:3: Error: Can't use 'Expect' because it is declared more than once. Expect.listEquals(list, <int>[for (var i in list) i]); ^ tests/language_2/control_flow_collections/for_test.dart:29:42: Error: 'i' is already declared in this scope. Expect.listEquals(list, <int>[for (var i in <int>[1, 2]) i, 3, 4]); ^ tests/language_2/control_flow_collections/for_test.dart:26:42: Context: Previous declaration of 'i'. Expect.listEquals(list, <int>[for (var i in list) i]); ^ tests/language_2/control_flow_collections/for_test.dart:29:33: Error: Unexpected token 'for'. Expect.listEquals(list, <int>[for (var i in <int>[1, 2]) i, 3, 4]); ^^^ tests/language_2/control_flow_collections/for_test.dart:29:3: Error: Can't use 'Expect' because it is declared more than once. Expect.listEquals(list, <int>[for (var i in <int>[1, 2]) i, 3, 4]); ^ tests/language_2/control_flow_collections/for_test.dart:32:45: Error: 'i' is already declared in this scope. Expect.listEquals(list, <int>[1, for (var i in <int>[2, 3]) i, 4]); ^ tests/language_2/control_flow_collections/for_test.dart:26:42: Context: Previous declaration of 'i'. Expect.listEquals(list, <int>[for (var i in list) i]); ^ tests/language_2/control_flow_collections/for_test.dart:32:36: Error: Unexpected token 'for'. Expect.listEquals(list, <int>[1, for (var i in <int>[2, 3]) i, 4]); ^^^ tests/language_2/control_flow_collections/for_test.dart:32:3: Error: Can't use 'Expect' because it is declared more than once. Expect.listEquals(list, <int>[1, for (var i in <int>[2, 3]) i, 4]); ^ tests/language_2/control_flow_collections/for_test.dart:35:48: Error: 'i' is already declared in this scope. Expect.listEquals(list, <int>[1, 2, for (var i in <int>[3, 4]) i]); ^ tests/language_2/control_flow_collections/for_test.dart:26:42: Context: Previous declaration of 'i'. Expect.listEquals(list, <int>[for (var i in list) i]); ^ tests/language_2/control_flow_collections/for_test.dart:35:39: Error: Unexpected token 'for'. Expect.listEquals(list, <int>[1, 2, for (var i in <int>[3, 4]) i]); ^^^ tests/language_2/control_flow_collections/for_test.dart:35:3: Error: Can't use 'Expect' because it is declared more than once. Expect.listEquals(list, <int>[1, 2, for (var i in <int>[3, 4]) i]); ^ tests/language_2/control_flow_collections/for_test.dart:39:25: Error: 'i' is already declared in this scope. <int>[1, for (var i in <int>[]) i, 2, 3, for (; false;) 9, 4]); ^ tests/language_2/control_flow_collections/for_test.dart:26:42: Context: Previous declaration of 'i'. Expect.listEquals(list, <int>[for (var i in list) i]); ^ tests/language_2/control_flow_collections/for_test.dart:39:16: Error: Unexpected token 'for'. <int>[1, for (var i in <int>[]) i, 2, 3, for (; false;) 9, 4]); ^^^ tests/language_2/control_flow_collections/for_test.dart:39:48: Error: Unexpected token 'for'. <int>[1, for (var i in <int>[]) i, 2, 3, for (; false;) 9, 4]); ^^^ tests/language_2/control_flow_collections/for_test.dart:38:3: Error: Can't use 'Expect' because it is declared more than once. Expect.listEquals(list, ^ tests/language_2/control_flow_collections/for_test.dart:43:22: Error: 'i' is already declared in this scope. <int>[for (var i in <int>[1]) i, 2, for (var i = 3; i <= 4; i++) i]); ^ tests/language_2/control_flow_collections/for_test.dart:26:42: Context: Previous declaration of 'i'. Expect.listEquals(list, <int>[for (var i in list) i]); ^ tests/language_2/control_flow_collections/for_test.dart:43:13: Error: Unexpected token 'for'. <int>[for (var i in <int>[1]) i, 2, for (var i = 3; i <= 4; i++) i]); ^^^ tests/language_2/control_flow_collections/for_test.dart:43:52: Error: 'i' is already declared in this scope. <int>[for (var i in <int>[1]) i, 2, for (var i = 3; i <= 4; i++) i]); ^ tests/language_2/control_flow_collections/for_test.dart:26:42: Context: Previous declaration of 'i'. Expect.listEquals(list, <int>[for (var i in list) i]); ^ tests/language_2/control_flow_collections/for_test.dart:43:43: Error: Unexpected token 'for'. <int>[for (var i in <int>[1]) i, 2, for (var i = 3; i <= 4; i++) i]); ^^^ tests/language_2/control_flow_collections/for_test.dart:42:3: Error: Can't use 'Expect' because it is declared more than once. Expect.listEquals(list, ^ tests/language_2/control_flow_collections/for_test.dart:47:22: Error: 'i' is already declared in this scope. <int>[for (var i in <int>[0, 2]) ...<int>[1 + i, 2 + i]]); ^ tests/language_2/control_flow_collections/for_test.dart:26:42: Context: Previous declaration of 'i'. Expect.listEquals(list, <int>[for (var i in list) i]); ^ tests/language_2/control_flow_collections/for_test.dart:47:40: Error: Unexpected token '...'. <int>[for (var i in <int>[0, 2]) ...<int>[1 + i, 2 + i]]); ^^^ tests/language_2/control_flow_collections/for_test.dart:47:13: Error: Unexpected token 'for'. <int>[for (var i in <int>[0, 2]) ...<int>[1 + i, 2 + i]]); ^^^ tests/language_2/control_flow_collections/for_test.dart:46:3: Error: Can't use 'Expect' because it is declared more than once. Expect.listEquals(list, ^ tests/language_2/control_flow_collections/for_test.dart:51:22: Error: 'i' is already declared in this scope. <int>[for (var i in <int>[1, 9, 2, 3, 9, 4]) if (i != 9) i]); ^ tests/language_2/control_flow_collections/for_test.dart:26:42: Context: Previous declaration of 'i'. Expect.listEquals(list, <int>[for (var i in list) i]); ^ tests/language_2/control_flow_collections/for_test.dart:51:52: Error: Unexpected token 'if'. <int>[for (var i in <int>[1, 9, 2, 3, 9, 4]) if (i != 9) i]); ^^ tests/language_2/control_flow_collections/for_test.dart:51:13: Error: Unexpected token 'for'. <int>[for (var i in <int>[1, 9, 2, 3, 9, 4]) if (i != 9) i]); ^^^ tests/language_2/control_flow_collections/for_test.dart:50:3: Error: Can't use 'Expect' because it is declared more than once. Expect.listEquals(list, ^ tests/language_2/control_flow_collections/for_test.dart:55:22: Error: 'i' is already declared in this scope. <int>[for (var i in <int>[1, -2, 3, -4]) if (i < 0) -i else i]); ^ tests/language_2/control_flow_collections/for_test.dart:26:42: Context: Previous declaration of 'i'. Expect.listEquals(list, <int>[for (var i in list) i]); ^ tests/language_2/control_flow_collections/for_test.dart:55:48: Error: Unexpected token 'if'. <int>[for (var i in <int>[1, -2, 3, -4]) if (i < 0) -i else i]); ^^ tests/language_2/control_flow_collections/for_test.dart:55:13: Error: Unexpected token 'for'. <int>[for (var i in <int>[1, -2, 3, -4]) if (i < 0) -i else i]); ^^^ tests/language_2/control_flow_collections/for_test.dart:54:3: Error: Can't use 'Expect' because it is declared more than once. Expect.listEquals(list, ^ tests/language_2/control_flow_collections/for_test.dart:59:22: Error: 'i' is already declared in this scope. <int>[for (var i in <int>[0, 2]) for (var j = 1; j <= 2; j++) i + j]); ^ tests/language_2/control_flow_collections/for_test.dart:26:42: Context: Previous declaration of 'i'. Expect.listEquals(list, <int>[for (var i in list) i]); ^ tests/language_2/control_flow_collections/for_test.dart:59:40: Error: Unexpected token 'for'. <int>[for (var i in <int>[0, 2]) for (var j = 1; j <= 2; j++) i + j]); ^^^ tests/language_2/control_flow_collections/for_test.dart:59:13: Error: Unexpected token 'for'. <int>[for (var i in <int>[0, 2]) for (var j = 1; j <= 2; j++) i + j]); ^^^ tests/language_2/control_flow_collections/for_test.dart:58:3: Error: Can't use 'Expect' because it is declared more than once. Expect.listEquals(list, ^ tests/language_2/control_flow_collections/for_test.dart:62:36: Error: 'i' is already declared in this scope. Expect.listEquals([1], [for (var i = 1; i < 2; i++) [i]].first; ^ tests/language_2/control_flow_collections/for_test.dart:26:42: Context: Previous declaration of 'i'. Expect.listEquals(list, <int>[for (var i in list) i]); ^ tests/language_2/control_flow_collections/for_test.dart:62:27: Error: Unexpected token 'for'. Expect.listEquals([1], [for (var i = 1; i < 2; i++) [i]].first; ^^^ tests/language_2/control_flow_collections/for_test.dart:62:3: Error: Can't use 'Expect' because it is declared more than once. Expect.listEquals([1], [for (var i = 1; i < 2; i++) [i]].first; ^ tests/language_2/control_flow_collections/for_test.dart:63:38: Error: 'i' is already declared in this scope. Expect.mapEquals({1: 1}, [for (var i = 1; i < 2; i++) {i: i}].first; ^ tests/language_2/control_flow_collections/for_test.dart:26:42: Context: Previous declaration of 'i'. Expect.listEquals(list, <int>[for (var i in list) i]); ^ tests/language_2/control_flow_collections/for_test.dart:63:29: Error: Unexpected token 'for'. Expect.mapEquals({1: 1}, [for (var i = 1; i < 2; i++) {i: i}].first; ^^^ tests/language_2/control_flow_collections/for_test.dart:63:3: Error: Can't use 'Expect' because it is declared more than once. Expect.mapEquals({1: 1}, [for (var i = 1; i < 2; i++) {i: i}].first; ^ tests/language_2/control_flow_collections/for_test.dart:64:35: Error: 'i' is already declared in this scope. Expect.setEquals({1}, [for (var i = 1; i < 2; i++) {i}].first; ^ tests/language_2/control_flow_collections/for_test.dart:26:42: Context: Previous declaration of 'i'. Expect.listEquals(list, <int>[for (var i in list) i]); ^ tests/language_2/control_flow_collections/for_test.dart:64:26: Error: Unexpected token 'for'. Expect.setEquals({1}, [for (var i = 1; i < 2; i++) {i}].first; ^^^ tests/language_2/control_flow_collections/for_test.dart:64:3: Error: Can't use 'Expect' because it is declared more than once. Expect.setEquals({1}, [for (var i = 1; i < 2; i++) {i}].first; ^ tests/language_2/control_flow_collections/for_test.dart:67:33: Error: Unexpected token 'for'. Expect.listEquals(list, <int>[for (int n in <num>[1, 2, 3, 4]) n]); ^^^ tests/language_2/control_flow_collections/for_test.dart:67:3: Error: Can't use 'Expect' because it is declared more than once. Expect.listEquals(list, <int>[for (int n in <num>[1, 2, 3, 4]) n]); ^ tests/language_2/control_flow_collections/for_test.dart:70:42: Error: 'n' is already declared in this scope. Expect.listEquals(list, <int>[for (num n in <num>[1, 2, 3, 4]) n]); ^ tests/language_2/control_flow_collections/for_test.dart:67:42: Context: Previous declaration of 'n'. Expect.listEquals(list, <int>[for (int n in <num>[1, 2, 3, 4]) n]); ^ tests/language_2/control_flow_collections/for_test.dart:70:33: Error: Unexpected token 'for'. Expect.listEquals(list, <int>[for (num n in <num>[1, 2, 3, 4]) n]); ^^^ tests/language_2/control_flow_collections/for_test.dart:70:3: Error: Can't use 'Expect' because it is declared more than once. Expect.listEquals(list, <int>[for (num n in <num>[1, 2, 3, 4]) n]); ^ tests/language_2/control_flow_collections/for_test.dart:73:41: Error: 'i' is already declared in this scope. Expect.listEquals([1], <int>[for (var i = 1; (i < 2) as dynamic; i++) i]); ^ tests/language_2/control_flow_collections/for_test.dart:26:42: Context: Previous declaration of 'i'. Expect.listEquals(list, <int>[for (var i in list) i]); ^ tests/language_2/control_flow_collections/for_test.dart:73:32: Error: Unexpected token 'for'. Expect.listEquals([1], <int>[for (var i = 1; (i < 2) as dynamic; i++) i]); ^^^ tests/language_2/control_flow_collections/for_test.dart:73:3: Error: Can't use 'Expect' because it is declared more than once. Expect.listEquals([1], <int>[for (var i = 1; (i < 2) as dynamic; i++) i]); ^ tests/language_2/control_flow_collections/for_test.dart:74:41: Error: 'i' is already declared in this scope. Expect.listEquals([1], <int>[for (var i = 1; (i < 2) as Object; i++) i]); ^ tests/language_2/control_flow_collections/for_test.dart:26:42: Context: Previous declaration of 'i'. Expect.listEquals(list, <int>[for (var i in list) i]); ^ tests/language_2/control_flow_collections/for_test.dart:74:32: Error: Unexpected token 'for'. Expect.listEquals([1], <int>[for (var i = 1; (i < 2) as Object; i++) i]); ^^^ tests/language_2/control_flow_collections/for_test.dart:74:3: Error: Can't use 'Expect' because it is declared more than once. Expect.listEquals([1], <int>[for (var i = 1; (i < 2) as Object; i++) i]); ^ tests/language_2/control_flow_collections/for_test.dart:47:48: Error: A value of type 'List<int>' can't be assigned to a variable of type 'int'. - 'List' is from 'dart:core'. Try changing the type of the left hand side, or casting the right hand side to 'int'. <int>[for (var i in <int>[0, 2]) ...<int>[1 + i, 2 + i]]); ^ tests/language_2/control_flow_collections/for_test.dart:79:36: Error: Unexpected token 'for'. Expect.mapEquals(map, <int, int>{for (var i in list) i: i}); ^^^ tests/language_2/control_flow_collections/for_test.dart:79:3: Error: Can't use 'Expect' because it is declared more than once. Expect.mapEquals(map, <int, int>{for (var i in list) i: i}); ^ tests/language_2/control_flow_collections/for_test.dart:83:27: Error: 'i' is already declared in this scope. <int, int>{for (var i in <int>[1, 2]) i: i, 3: 3, 4: 4}); ^ tests/language_2/control_flow_collections/for_test.dart:79:45: Context: Previous declaration of 'i'. Expect.mapEquals(map, <int, int>{for (var i in list) i: i}); ^ tests/language_2/control_flow_collections/for_test.dart:83:18: Error: Unexpected token 'for'. <int, int>{for (var i in <int>[1, 2]) i: i, 3: 3, 4: 4}); ^^^ tests/language_2/control_flow_collections/for_test.dart:82:3: Error: Can't use 'Expect' because it is declared more than once. Expect.mapEquals(map, ^ tests/language_2/control_flow_collections/for_test.dart:87:33: Error: 'i' is already declared in this scope. <int, int>{1: 1, for (var i in <int>[2, 3]) i: i, 4: 4}); ^ tests/language_2/control_flow_collections/for_test.dart:79:45: Context: Previous declaration of 'i'. Expect.mapEquals(map, <int, int>{for (var i in list) i: i}); ^ tests/language_2/control_flow_collections/for_test.dart:87:24: Error: Unexpected token 'for'. <int, int>{1: 1, for (var i in <int>[2, 3]) i: i, 4: 4}); ^^^ tests/language_2/control_flow_collections/for_test.dart:86:3: Error: Can't use 'Expect' because it is declared more than once. Expect.mapEquals(map, ^ tests/language_2/control_flow_collections/for_test.dart:91:39: Error: 'i' is already declared in this scope. <int, int>{1: 1, 2: 2, for (var i in <int>[3, 4]) i: i}); ^ tests/language_2/control_flow_collections/for_test.dart:79:45: Context: Previous declaration of 'i'. Expect.mapEquals(map, <int, int>{for (var i in list) i: i}); ^ tests/language_2/control_flow_collections/for_test.dart:91:30: Error: Unexpected token 'for'. <int, int>{1: 1, 2: 2, for (var i in <int>[3, 4]) i: i}); ^^^ tests/language_2/control_flow_collections/for_test.dart:90:3: Error: Can't use 'Expect' because it is declared more than once. Expect.mapEquals(map, ^ tests/language_2/control_flow_collections/for_test.dart:96:14: Error: 'i' is already declared in this scope. for (var i in <int>[]) i: i, ^ tests/language_2/control_flow_collections/for_test.dart:79:45: Context: Previous declaration of 'i'. Expect.mapEquals(map, <int, int>{for (var i in list) i: i}); ^ tests/language_2/control_flow_collections/for_test.dart:96:5: Error: Unexpected token 'for'. for (var i in <int>[]) i: i, ^^^ tests/language_2/control_flow_collections/for_test.dart:99:5: Error: Unexpected token 'for'. for (; false;) 9: 9, ^^^ tests/language_2/control_flow_collections/for_test.dart:94:3: Error: Can't use 'Expect' because it is declared more than once. Expect.mapEquals(map, <int, int>{ ^ tests/language_2/control_flow_collections/for_test.dart:105:14: Error: 'i' is already declared in this scope. for (var i in <int>[1]) i: i, ^ tests/language_2/control_flow_collections/for_test.dart:79:45: Context: Previous declaration of 'i'. Expect.mapEquals(map, <int, int>{for (var i in list) i: i}); ^ tests/language_2/control_flow_collections/for_test.dart:105:5: Error: Unexpected token 'for'. for (var i in <int>[1]) i: i, ^^^ tests/language_2/control_flow_collections/for_test.dart:107:14: Error: 'i' is already declared in this scope. for (var i = 3; i <= 4; i++) i: i ^ tests/language_2/control_flow_collections/for_test.dart:79:45: Context: Previous declaration of 'i'. Expect.mapEquals(map, <int, int>{for (var i in list) i: i}); ^ tests/language_2/control_flow_collections/for_test.dart:107:5: Error: Unexpected token 'for'. for (var i = 3; i <= 4; i++) i: i ^^^ tests/language_2/control_flow_collections/for_test.dart:104:3: Error: Can't use 'Expect' because it is declared more than once. Expect.mapEquals(map, <int, int>{ ^ tests/language_2/control_flow_collections/for_test.dart:112:14: Error: 'i' is already declared in this scope. for (var i in <int>[0, 2]) ...<int>{1 + i: 1 + i, 2 + i: 2 + i} ^ tests/language_2/control_flow_collections/for_test.dart:79:45: Context: Previous declaration of 'i'. Expect.mapEquals(map, <int, int>{for (var i in list) i: i}); ^ tests/language_2/control_flow_collections/for_test.dart:112:46: Error: Expected '}' before this. for (var i in <int>[0, 2]) ...<int>{1 + i: 1 + i, 2 + i: 2 + i} ^ tests/language_2/control_flow_collections/for_test.dart:112:32: Error: Unexpected token '...'. for (var i in <int>[0, 2]) ...<int>{1 + i: 1 + i, 2 + i: 2 + i} ^^^ tests/language_2/control_flow_collections/for_test.dart:112:5: Error: Unexpected token 'for'. for (var i in <int>[0, 2]) ...<int>{1 + i: 1 + i, 2 + i: 2 + i} ^^^ tests/language_2/control_flow_collections/for_test.dart:111:3: Error: Can't use 'Expect' because it is declared more than once. Expect.mapEquals(map, <int, int>{ ^ tests/language_2/control_flow_collections/for_test.dart:117:27: Error: 'i' is already declared in this scope. <int, int>{for (var i in <int>[1, 9, 2, 3, 9, 4]) if (i != 9) i: i}); ^ tests/language_2/control_flow_collections/for_test.dart:79:45: Context: Previous declaration of 'i'. Expect.mapEquals(map, <int, int>{for (var i in list) i: i}); ^ tests/language_2/control_flow_collections/for_test.dart:117:57: Error: Unexpected token 'if'. <int, int>{for (var i in <int>[1, 9, 2, 3, 9, 4]) if (i != 9) i: i}); ^^ tests/language_2/control_flow_collections/for_test.dart:117:18: Error: Unexpected token 'for'. <int, int>{for (var i in <int>[1, 9, 2, 3, 9, 4]) if (i != 9) i: i}); ^^^ tests/language_2/control_flow_collections/for_test.dart:116:3: Error: Can't use 'Expect' because it is declared more than once. Expect.mapEquals(map, ^ tests/language_2/control_flow_collections/for_test.dart:121:27: Error: 'i' is already declared in this scope. <int, int>{for (var i in <int>[1, -2, 3, -4]) if (i < 0) -i else i: i}); ^ tests/language_2/control_flow_collections/for_test.dart:79:45: Context: Previous declaration of 'i'. Expect.mapEquals(map, <int, int>{for (var i in list) i: i}); ^ tests/language_2/control_flow_collections/for_test.dart:121:67: Error: Expected ':' before this. <int, int>{for (var i in <int>[1, -2, 3, -4]) if (i < 0) -i else i: i}); ^^^^ tests/language_2/control_flow_collections/for_test.dart:121:67: Error: Expected an identifier, but got 'else'. <int, int>{for (var i in <int>[1, -2, 3, -4]) if (i < 0) -i else i: i}); ^^^^ tests/language_2/control_flow_collections/for_test.dart:121:53: Error: Unexpected token 'if'. <int, int>{for (var i in <int>[1, -2, 3, -4]) if (i < 0) -i else i: i}); ^^ tests/language_2/control_flow_collections/for_test.dart:121:18: Error: Unexpected token 'for'. <int, int>{for (var i in <int>[1, -2, 3, -4]) if (i < 0) -i else i: i}); ^^^ tests/language_2/control_flow_collections/for_test.dart:120:3: Error: Can't use 'Expect' because it is declared more than once. Expect.mapEquals(map, ^ tests/language_2/control_flow_collections/for_test.dart:125:14: Error: 'i' is already declared in this scope. for (var i in <int>[0, 2]) for (var j = 1; j <= 2; j++) i + j: i + j ^ tests/language_2/control_flow_collections/for_test.dart:79:45: Context: Previous declaration of 'i'. Expect.mapEquals(map, <int, int>{for (var i in list) i: i}); ^ tests/language_2/control_flow_collections/for_test.dart:125:32: Error: Unexpected token 'for'. for (var i in <int>[0, 2]) for (var j = 1; j <= 2; j++) i + j: i + j ^^^ tests/language_2/control_flow_collections/for_test.dart:125:5: Error: Unexpected token 'for'. for (var i in <int>[0, 2]) for (var j = 1; j <= 2; j++) i + j: i + j ^^^ tests/language_2/control_flow_collections/for_test.dart:124:3: Error: Can't use 'Expect' because it is declared more than once. Expect.mapEquals(map, <int, int>{ ^ tests/language_2/control_flow_collections/for_test.dart:129:36: Error: Unexpected token 'for'. Expect.mapEquals(map, <int, int>{for (int n in <num>[1, 2, 3, 4]) n: n}); ^^^ tests/language_2/control_flow_collections/for_test.dart:129:3: Error: Can't use 'Expect' because it is declared more than once. Expect.mapEquals(map, <int, int>{for (int n in <num>[1, 2, 3, 4]) n: n}); ^ tests/language_2/control_flow_collections/for_test.dart:132:45: Error: 'n' is already declared in this scope. Expect.mapEquals(map, <int, int>{for (num n in <num>[1, 2, 3, 4]) n: n}); ^ tests/language_2/control_flow_collections/for_test.dart:129:45: Context: Previous declaration of 'n'. Expect.mapEquals(map, <int, int>{for (int n in <num>[1, 2, 3, 4]) n: n}); ^ tests/language_2/control_flow_collections/for_test.dart:132:36: Error: Unexpected token 'for'. Expect.mapEquals(map, <int, int>{for (num n in <num>[1, 2, 3, 4]) n: n}); ^^^ tests/language_2/control_flow_collections/for_test.dart:132:3: Error: Can't use 'Expect' because it is declared more than once. Expect.mapEquals(map, <int, int>{for (num n in <num>[1, 2, 3, 4]) n: n}); ^ tests/language_2/control_flow_collections/for_test.dart:136:27: Error: 'i' is already declared in this scope. <int, int>{for (var i = 1; (i < 2) as dynamic; i++) i: i}); ^ tests/language_2/control_flow_collections/for_test.dart:79:45: Context: Previous declaration of 'i'. Expect.mapEquals(map, <int, int>{for (var i in list) i: i}); ^ tests/language_2/control_flow_collections/for_test.dart:136:18: Error: Unexpected token 'for'. <int, int>{for (var i = 1; (i < 2) as dynamic; i++) i: i}); ^^^ tests/language_2/control_flow_collections/for_test.dart:135:3: Error: Can't use 'Expect' because it is declared more than once. Expect.mapEquals([1], ^ tests/language_2/control_flow_collections/for_test.dart:138:27: Error: 'i' is already declared in this scope. <int, int>{for (var i = 1; (i < 2) as Object; i++) i: i}); ^ tests/language_2/control_flow_collections/for_test.dart:79:45: Context: Previous declaration of 'i'. Expect.mapEquals(map, <int, int>{for (var i in list) i: i}); ^ tests/language_2/control_flow_collections/for_test.dart:138:18: Error: Unexpected token 'for'. <int, int>{for (var i = 1; (i < 2) as Object; i++) i: i}); ^^^ tests/language_2/control_flow_collections/for_test.dart:137:3: Error: Can't use 'Expect' because it is declared more than once. Expect.mapEquals([1], ^ tests/language_2/control_flow_collections/for_test.dart:143:31: Error: Unexpected token 'for'. Expect.setEquals(set, <int>{for (var i in list) i}); ^^^ tests/language_2/control_flow_collections/for_test.dart:143:3: Error: Can't use 'Expect' because it is declared more than once. Expect.setEquals(set, <int>{for (var i in list) i}); ^ tests/language_2/control_flow_collections/for_test.dart:146:40: Error: 'i' is already declared in this scope. Expect.setEquals(set, <int>{for (var i in <int>[1, 2]) i, 3, 4}); ^ tests/language_2/control_flow_collections/for_test.dart:143:40: Context: Previous declaration of 'i'. Expect.setEquals(set, <int>{for (var i in list) i}); ^ tests/language_2/control_flow_collections/for_test.dart:146:31: Error: Unexpected token 'for'. Expect.setEquals(set, <int>{for (var i in <int>[1, 2]) i, 3, 4}); ^^^ tests/language_2/control_flow_collections/for_test.dart:146:3: Error: Can't use 'Expect' because it is declared more than once. Expect.setEquals(set, <int>{for (var i in <int>[1, 2]) i, 3, 4}); ^ tests/language_2/control_flow_collections/for_test.dart:149:43: Error: 'i' is already declared in this scope. Expect.setEquals(set, <int>{1, for (var i in <int>[2, 3]) i, 4}); ^ tests/language_2/control_flow_collections/for_test.dart:143:40: Context: Previous declaration of 'i'. Expect.setEquals(set, <int>{for (var i in list) i}); ^ tests/language_2/control_flow_collections/for_test.dart:149:34: Error: Unexpected token 'for'. Expect.setEquals(set, <int>{1, for (var i in <int>[2, 3]) i, 4}); ^^^ tests/language_2/control_flow_collections/for_test.dart:149:3: Error: Can't use 'Expect' because it is declared more than once. Expect.setEquals(set, <int>{1, for (var i in <int>[2, 3]) i, 4}); ^ tests/language_2/control_flow_collections/for_test.dart:152:46: Error: 'i' is already declared in this scope. Expect.setEquals(set, <int>{1, 2, for (var i in <int>[3, 4]) i}); ^ tests/language_2/control_flow_collections/for_test.dart:143:40: Context: Previous declaration of 'i'. Expect.setEquals(set, <int>{for (var i in list) i}); ^ tests/language_2/control_flow_collections/for_test.dart:152:37: Error: Unexpected token 'for'. Expect.setEquals(set, <int>{1, 2, for (var i in <int>[3, 4]) i}); ^^^ tests/language_2/control_flow_collections/for_test.dart:152:3: Error: Can't use 'Expect' because it is declared more than once. Expect.setEquals(set, <int>{1, 2, for (var i in <int>[3, 4]) i}); ^ tests/language_2/control_flow_collections/for_test.dart:156:25: Error: 'i' is already declared in this scope. <int>{1, for (var i in <int>[]) i, 2, 3, for (; false;) 9, 4}); ^ tests/language_2/control_flow_collections/for_test.dart:143:40: Context: Previous declaration of 'i'. Expect.setEquals(set, <int>{for (var i in list) i}); ^ tests/language_2/control_flow_collections/for_test.dart:156:16: Error: Unexpected token 'for'. <int>{1, for (var i in <int>[]) i, 2, 3, for (; false;) 9, 4}); ^^^ tests/language_2/control_flow_collections/for_test.dart:156:48: Error: Unexpected token 'for'. <int>{1, for (var i in <int>[]) i, 2, 3, for (; false;) 9, 4}); ^^^ tests/language_2/control_flow_collections/for_test.dart:155:3: Error: Can't use 'Expect' because it is declared more than once. Expect.setEquals(set, ^ tests/language_2/control_flow_collections/for_test.dart:160:22: Error: 'i' is already declared in this scope. <int>{for (var i in <int>[1]) i, 2, for (var i = 3; i <= 4; i++) i}); ^ tests/language_2/control_flow_collections/for_test.dart:143:40: Context: Previous declaration of 'i'. Expect.setEquals(set, <int>{for (var i in list) i}); ^ tests/language_2/control_flow_collections/for_test.dart:160:13: Error: Unexpected token 'for'. <int>{for (var i in <int>[1]) i, 2, for (var i = 3; i <= 4; i++) i}); ^^^ tests/language_2/control_flow_collections/for_test.dart:160:52: Error: 'i' is already declared in this scope. <int>{for (var i in <int>[1]) i, 2, for (var i = 3; i <= 4; i++) i}); ^ tests/language_2/control_flow_collections/for_test.dart:143:40: Context: Previous declaration of 'i'. Expect.setEquals(set, <int>{for (var i in list) i}); ^ tests/language_2/control_flow_collections/for_test.dart:160:43: Error: Unexpected token 'for'. <int>{for (var i in <int>[1]) i, 2, for (var i = 3; i <= 4; i++) i}); ^^^ tests/language_2/control_flow_collections/for_test.dart:159:3: Error: Can't use 'Expect' because it is declared more than once. Expect.setEquals(set, ^ tests/language_2/control_flow_collections/for_test.dart:164:22: Error: 'i' is already declared in this scope. <int>{for (var i in <int>[0, 2]) ...<int>[1 + i, 2 + i]}); ^ tests/language_2/control_flow_collections/for_test.dart:143:40: Context: Previous declaration of 'i'. Expect.setEquals(set, <int>{for (var i in list) i}); ^ tests/language_2/control_flow_collections/for_test.dart:164:40: Error: Unexpected token '...'. <int>{for (var i in <int>[0, 2]) ...<int>[1 + i, 2 + i]}); ^^^ tests/language_2/control_flow_collections/for_test.dart:164:13: Error: Unexpected token 'for'. <int>{for (var i in <int>[0, 2]) ...<int>[1 + i, 2 + i]}); ^^^ tests/language_2/control_flow_collections/for_test.dart:163:3: Error: Can't use 'Expect' because it is declared more than once. Expect.setEquals(set, ^ tests/language_2/control_flow_collections/for_test.dart:168:22: Error: 'i' is already declared in this scope. <int>{for (var i in <int>[1, 9, 2, 3, 9, 4]) if (i != 9) i}); ^ tests/language_2/control_flow_collections/for_test.dart:143:40: Context: Previous declaration of 'i'. Expect.setEquals(set, <int>{for (var i in list) i}); ^ tests/language_2/control_flow_collections/for_test.dart:168:52: Error: Unexpected token 'if'. <int>{for (var i in <int>[1, 9, 2, 3, 9, 4]) if (i != 9) i}); ^^ tests/language_2/control_flow_collections/for_test.dart:168:13: Error: Unexpected token 'for'. <int>{for (var i in <int>[1, 9, 2, 3, 9, 4]) if (i != 9) i}); ^^^ tests/language_2/control_flow_collections/for_test.dart:167:3: Error: Can't use 'Expect' because it is declared more than once. Expect.setEquals(set, ^ tests/language_2/control_flow_collections/for_test.dart:172:22: Error: 'i' is already declared in this scope. <int>{for (var i in <int>[1, -2, 3, -4]) if (i < 0) -i else i}); ^ tests/language_2/control_flow_collections/for_test.dart:143:40: Context: Previous declaration of 'i'. Expect.setEquals(set, <int>{for (var i in list) i}); ^ tests/language_2/control_flow_collections/for_test.dart:172:48: Error: Unexpected token 'if'. <int>{for (var i in <int>[1, -2, 3, -4]) if (i < 0) -i else i}); ^^ tests/language_2/control_flow_collections/for_test.dart:172:13: Error: Unexpected token 'for'. <int>{for (var i in <int>[1, -2, 3, -4]) if (i < 0) -i else i}); ^^^ tests/language_2/control_flow_collections/for_test.dart:171:3: Error: Can't use 'Expect' because it is declared more than once. Expect.setEquals(set, ^ tests/language_2/control_flow_collections/for_test.dart:176:22: Error: 'i' is already declared in this scope. <int>{for (var i in <int>[0, 2]) for (var j = 1; j <= 2; j++) i + j}); ^ tests/language_2/control_flow_collections/for_test.dart:143:40: Context: Previous declaration of 'i'. Expect.setEquals(set, <int>{for (var i in list) i}); ^ tests/language_2/control_flow_collections/for_test.dart:176:40: Error: Unexpected token 'for'. <int>{for (var i in <int>[0, 2]) for (var j = 1; j <= 2; j++) i + j}); ^^^ tests/language_2/control_flow_collections/for_test.dart:176:13: Error: Unexpected token 'for'. <int>{for (var i in <int>[0, 2]) for (var j = 1; j <= 2; j++) i + j}); ^^^ tests/language_2/control_flow_collections/for_test.dart:175:3: Error: Can't use 'Expect' because it is declared more than once. Expect.setEquals(set, ^ tests/language_2/control_flow_collections/for_test.dart:179:36: Error: 'i' is already declared in this scope. Expect.listEquals([1], {for (var i = 1; i < 2; i++) [i]}.first; ^ tests/language_2/control_flow_collections/for_test.dart:143:40: Context: Previous declaration of 'i'. Expect.setEquals(set, <int>{for (var i in list) i}); ^ tests/language_2/control_flow_collections/for_test.dart:179:27: Error: Unexpected token 'for'. Expect.listEquals([1], {for (var i = 1; i < 2; i++) [i]}.first; ^^^ tests/language_2/control_flow_collections/for_test.dart:179:3: Error: Can't use 'Expect' because it is declared more than once. Expect.listEquals([1], {for (var i = 1; i < 2; i++) [i]}.first; ^ tests/language_2/control_flow_collections/for_test.dart:180:38: Error: 'i' is already declared in this scope. Expect.mapEquals({1: 1}, {for (var i = 1; i < 2; i++) {i: i}}.first; ^ tests/language_2/control_flow_collections/for_test.dart:143:40: Context: Previous declaration of 'i'. Expect.setEquals(set, <int>{for (var i in list) i}); ^ tests/language_2/control_flow_collections/for_test.dart:180:29: Error: Unexpected token 'for'. Expect.mapEquals({1: 1}, {for (var i = 1; i < 2; i++) {i: i}}.first; ^^^ tests/language_2/control_flow_collections/for_test.dart:180:3: Error: Can't use 'Expect' because it is declared more than once. Expect.mapEquals({1: 1}, {for (var i = 1; i < 2; i++) {i: i}}.first; ^ tests/language_2/control_flow_collections/for_test.dart:181:3: Error: Can't use 'Expect' because it is declared more than once. Expect.setEquals({1}, }for (var i = 1; i < 2; i++) {i}}.first; ^ tests/language_2/control_flow_collections/for_test.dart:181:23: Error: Expected ';' after this. Expect.setEquals({1}, }for (var i = 1; i < 2; i++) {i}}.first; ^ tests/language_2/control_flow_collections/for_test.dart:164:48: Error: A value of type 'List<int>' can't be assigned to a variable of type 'int'. - 'List' is from 'dart:core'. Try changing the type of the left hand side, or casting the right hand side to 'int'. <int>{for (var i in <int>[0, 2]) ...<int>[1 + i, 2 + i]}); ^ tests/language_2/control_flow_collections/for_test.dart:181:55: Error: Expected ';' after this. Expect.setEquals({1}, }for (var i = 1; i < 2; i++) {i}}.first; ^ tests/language_2/control_flow_collections/for_test.dart:197:5: Error: Unexpected token 'for'. for (var i in <int>[1, 2, 3]) i: i, ^^^ tests/language_2/control_flow_collections/for_test.dart:198:14: Error: 'i' is already declared in this scope. for (var i = 2; i <= 3; i++) i: i, ^ tests/language_2/control_flow_collections/for_test.dart:197:14: Context: Previous declaration of 'i'. for (var i in <int>[1, 2, 3]) i: i, ^ tests/language_2/control_flow_collections/for_test.dart:198:5: Error: Unexpected token 'for'. for (var i = 2; i <= 3; i++) i: i, ^^^ tests/language_2/control_flow_collections/for_test.dart:195:3: Error: Can't use 'Expect' because it is declared more than once. Expect.mapEquals(map, <int, int>{ ^ tests/language_2/control_flow_collections/for_test.dart:203:14: Error: 'i' is already declared in this scope. for (var i in <int>[1, 2, 3]) i, ^ tests/language_2/control_flow_collections/for_test.dart:197:14: Context: Previous declaration of 'i'. for (var i in <int>[1, 2, 3]) i: i, ^ tests/language_2/control_flow_collections/for_test.dart:203:5: Error: Unexpected token 'for'. for (var i in <int>[1, 2, 3]) i, ^^^ tests/language_2/control_flow_collections/for_test.dart:204:14: Error: 'i' is already declared in this scope. for (var i = 2; i <= 3; i++) i, ^ tests/language_2/control_flow_collections/for_test.dart:197:14: Context: Previous declaration of 'i'. for (var i in <int>[1, 2, 3]) i: i, ^ tests/language_2/control_flow_collections/for_test.dart:204:5: Error: Unexpected token 'for'. for (var i = 2; i <= 3; i++) i, ^^^ tests/language_2/control_flow_collections/for_test.dart:201:3: Error: Can't use 'Expect' because it is declared more than once. Expect.setEquals(set, <int>{ ^ tests/language_2/control_flow_collections/for_test.dart:220:5: Error: Unexpected token 'for'. for (var i = 0; i < keys.length; i++) keys[i]: values[i] ^^^ tests/language_2/control_flow_collections/for_test.dart:222:3: Error: Can't use 'Expect' because it is declared more than once. Expect.equals("1:a,2:a", map.keys.join(",")); ^ tests/language_2/control_flow_collections/for_test.dart:224:38: Error: 'i' is already declared in this scope. var set = <Equality>{e1a, for (var i = 0; i < keys.length; i++) keys[i]}; ^ tests/language_2/control_flow_collections/for_test.dart:220:14: Context: Previous declaration of 'i'. for (var i = 0; i < keys.length; i++) keys[i]: values[i] ^ tests/language_2/control_flow_collections/for_test.dart:224:29: Error: Unexpected token 'for'. var set = <Equality>{e1a, for (var i = 0; i < keys.length; i++) keys[i]}; ^^^ tests/language_2/control_flow_collections/for_test.dart:225:3: Error: Can't use 'Expect' because it is declared more than once. Expect.equals("1:a,2:a", set.join(",")); ^ tests/language_2/control_flow_collections/for_test.dart:231:38: Error: Unexpected token 'for'. Expect.throwsCastError(() => <int>[for (; nonBool;) 1]); ^^^ tests/language_2/control_flow_collections/for_test.dart:231:3: Error: Can't use 'Expect' because it is declared more than once. Expect.throwsCastError(() => <int>[for (; nonBool;) 1]); ^ tests/language_2/control_flow_collections/for_test.dart:232:43: Error: Unexpected token 'for'. Expect.throwsCastError(() => <int, int>{for (; nonBool;) 1: 1}); ^^^ tests/language_2/control_flow_collections/for_test.dart:232:3: Error: Can't use 'Expect' because it is declared more than once. Expect.throwsCastError(() => <int, int>{for (; nonBool;) 1: 1}); ^ tests/language_2/control_flow_collections/for_test.dart:233:38: Error: Unexpected token 'for'. Expect.throwsCastError(() => <int>{for (; nonBool;) 1}); ^^^ tests/language_2/control_flow_collections/for_test.dart:233:3: Error: Can't use 'Expect' because it is declared more than once. Expect.throwsCastError(() => <int>{for (; nonBool;) 1}); ^ tests/language_2/control_flow_collections/for_test.dart:237:43: Error: Unexpected token 'for'. Expect.throwsAssertionError(() => <int>[for (; nullBool;) 1]); ^^^ tests/language_2/control_flow_collections/for_test.dart:237:3: Error: Can't use 'Expect' because it is declared more than once. Expect.throwsAssertionError(() => <int>[for (; nullBool;) 1]); ^ tests/language_2/control_flow_collections/for_test.dart:238:48: Error: Unexpected token 'for'. Expect.throwsAssertionError(() => <int, int>{for (; nullBool;) 1: 1}); ^^^ tests/language_2/control_flow_collections/for_test.dart:238:3: Error: Can't use 'Expect' because it is declared more than once. Expect.throwsAssertionError(() => <int, int>{for (; nullBool;) 1: 1}); ^ tests/language_2/control_flow_collections/for_test.dart:239:43: Error: Unexpected token 'for'. Expect.throwsAssertionError(() => <int>{for (; nullBool;) 1}); ^^^ tests/language_2/control_flow_collections/for_test.dart:239:3: Error: Can't use 'Expect' because it is declared more than once. Expect.throwsAssertionError(() => <int>{for (; nullBool;) 1}); ^ tests/language_2/control_flow_collections/for_test.dart:243:38: Error: Unexpected token 'for'. Expect.throwsCastError(() => <int>[for (int i = nonInt; false;) 1]); ^^^ tests/language_2/control_flow_collections/for_test.dart:243:3: Error: Can't use 'Expect' because it is declared more than once. Expect.throwsCastError(() => <int>[for (int i = nonInt; false;) 1]); ^ tests/language_2/control_flow_collections/for_test.dart:244:43: Error: Unexpected token 'for'. Expect.throwsCastError(() => <int, int>{for (int i = nonInt; false;) 1: 1}); ^^^ tests/language_2/control_flow_collections/for_test.dart:244:3: Error: Can't use 'Expect' because it is declared more than once. Expect.throwsCastError(() => <int, int>{for (int i = nonInt; false;) 1: 1}); ^ tests/language_2/control_flow_collections/for_test.dart:245:38: Error: Unexpected token 'for'. Expect.throwsCastError(() => <int>{for (int i = nonInt; false;) 1}); ^^^ tests/language_2/control_flow_collections/for_test.dart:245:3: Error: Can't use 'Expect' because it is declared more than once. Expect.throwsCastError(() => <int>{for (int i = nonInt; false;) 1}); ^ tests/language_2/control_flow_collections/for_test.dart:249:38: Error: Unexpected token 'for'. Expect.throwsCastError(() => <int>[for (int i in nonIterable) 1]); ^^^ tests/language_2/control_flow_collections/for_test.dart:249:3: Error: Can't use 'Expect' because it is declared more than once. Expect.throwsCastError(() => <int>[for (int i in nonIterable) 1]); ^ tests/language_2/control_flow_collections/for_test.dart:250:43: Error: Unexpected token 'for'. Expect.throwsCastError(() => <int, int>{for (int i in nonIterable) 1: 1}); ^^^ tests/language_2/control_flow_collections/for_test.dart:250:3: Error: Can't use 'Expect' because it is declared more than once. Expect.throwsCastError(() => <int, int>{for (int i in nonIterable) 1: 1}); ^ tests/language_2/control_flow_collections/for_test.dart:251:38: Error: Unexpected token 'for'. Expect.throwsCastError(() => <int>{for (int i in nonIterable) 1}); ^^^ tests/language_2/control_flow_collections/for_test.dart:251:3: Error: Can't use 'Expect' because it is declared more than once. Expect.throwsCastError(() => <int>{for (int i in nonIterable) 1}); ^ tests/language_2/control_flow_collections/for_test.dart:255:46: Error: Unexpected token 'for'. Expect.throwsNoSuchMethodError(() => <int>[for (var i in nullIterable) 1]); ^^^ tests/language_2/control_flow_collections/for_test.dart:255:3: Error: Can't use 'Expect' because it is declared more than once. Expect.throwsNoSuchMethodError(() => <int>[for (var i in nullIterable) 1]); ^ tests/language_2/control_flow_collections/for_test.dart:257:24: Error: Unexpected token 'for'. () => <int, int>{for (var i in nullIterable) 1: 1}); ^^^ tests/language_2/control_flow_collections/for_test.dart:256:3: Error: Can't use 'Expect' because it is declared more than once. Expect.throwsNoSuchMethodError( ^ tests/language_2/control_flow_collections/for_test.dart:258:46: Error: Unexpected token 'for'. Expect.throwsNoSuchMethodError(() => <int>{for (var i in nullIterable) 1}); ^^^ tests/language_2/control_flow_collections/for_test.dart:258:3: Error: Can't use 'Expect' because it is declared more than once. Expect.throwsNoSuchMethodError(() => <int>{for (var i in nullIterable) 1}); ^ tests/language_2/control_flow_collections/for_test.dart:261:38: Error: Unexpected token 'for'. Expect.throwsCastError(() => <int>[for (var i = 0; i < 1; i++) nonInt]); ^^^ tests/language_2/control_flow_collections/for_test.dart:261:3: Error: Can't use 'Expect' because it is declared more than once. Expect.throwsCastError(() => <int>[for (var i = 0; i < 1; i++) nonInt]); ^ tests/language_2/control_flow_collections/for_test.dart:263:24: Error: Unexpected token 'for'. () => <int, int>{for (var i = 0; i < 1; i++) nonInt: 1}); ^^^ tests/language_2/control_flow_collections/for_test.dart:262:3: Error: Can't use 'Expect' because it is declared more than once. Expect.throwsCastError( ^ tests/language_2/control_flow_collections/for_test.dart:265:24: Error: Unexpected token 'for'. () => <int, int>{for (var i = 0; i < 1; i++) 1: nonInt}); ^^^ tests/language_2/control_flow_collections/for_test.dart:264:3: Error: Can't use 'Expect' because it is declared more than once. Expect.throwsCastError( ^ tests/language_2/control_flow_collections/for_test.dart:266:38: Error: Unexpected token 'for'. Expect.throwsCastError(() => <int>{for (var i = 0; i < 1; i++) nonInt}); ^^^ tests/language_2/control_flow_collections/for_test.dart:266:3: Error: Can't use 'Expect' because it is declared more than once. Expect.throwsCastError(() => <int>{for (var i = 0; i < 1; i++) nonInt}); ^ --- Re-run this test: python tools/test.py -n dartkp-linux-release-x64 --repeat 5 --tests language_2/control_flow_collections/experimental_flag_test/01 language_2/control_flow_collections/experimental_flag_test/02 language_2/control_flow_collections/experimental_flag_test/03 language_2/control_flow_collections/experimental_flag_test/04 language_2/control_flow_collections/experimental_flag_test/05 language_2/control_flow_collections/experimental_flag_test/06 language_2/control_flow_collections/experimental_flag_test/07 language_2/control_flow_collections/experimental_flag_test/08 language_2/control_flow_collections/experimental_flag_test/09 language_2/control_flow_collections/experimental_flag_test/10 language_2/control_flow_collections/experimental_flag_test/11 language_2/control_flow_collections/experimental_flag_test/12 language_2/control_flow_collections/experimental_flag_test/13 language_2/control_flow_collections/experimental_flag_test/14 language_2/control_flow_collections/experimental_flag_test/15 language_2/control_flow_collections/experimental_flag_test/none language_2/control_flow_collections/for_const_test/00 language_2/control_flow_collections/for_const_test/01 language_2/control_flow_collections/for_const_test/02 language_2/control_flow_collections/for_const_test/03 language_2/control_flow_collections/for_const_test/04 language_2/control_flow_collections/for_const_test/05 language_2/control_flow_collections/for_const_test/06 language_2/control_flow_collections/for_const_test/07 language_2/control_flow_collections/for_const_test/08 language_2/control_flow_collections/for_const_test/none language_2/control_flow_collections/if_const_error_test/01 language_2/control_flow_collections/if_const_error_test/02 language_2/control_flow_collections/if_const_error_test/03 language_2/control_flow_collections/if_const_error_test/04 language_2/control_flow_collections/if_const_error_test/05 language_2/control_flow_collections/if_const_error_test/06 language_2/control_flow_collections/if_const_error_test/07 language_2/control_flow_collections/if_const_error_test/08 language_2/control_flow_collections/if_const_error_test/09 language_2/control_flow_collections/if_const_error_test/10 language_2/control_flow_collections/if_const_error_test/11 language_2/control_flow_collections/if_const_error_test/12 language_2/control_flow_collections/if_const_error_test/13 language_2/control_flow_collections/if_const_error_test/14 language_2/control_flow_collections/if_const_error_test/15 language_2/control_flow_collections/if_const_error_test/16 language_2/control_flow_collections/if_const_error_test/17 language_2/control_flow_collections/if_const_error_test/18 language_2/control_flow_collections/if_const_error_test/19 language_2/control_flow_collections/if_const_error_test/20 language_2/control_flow_collections/if_const_error_test/21 language_2/control_flow_collections/if_const_error_test/22 language_2/control_flow_collections/if_const_error_test/23 language_2/control_flow_collections/for_inference_test language_2/control_flow_collections/for_test language_2/control_flow_collections/for_variable_test language_2/control_flow_collections/if_const_test language_2/control_flow_collections/if_inference_test language_2/control_flow_collections/if_test language_2/control_flow_collections/map_set_ambiguity_test language_2/control_flow_collections/syntax_test language_2/set_literals/invalid_set_literal_test/08 language_2/set_literals/invalid_set_literal_test/09 language_2/set_literals/invalid_set_literal_test/10 language_2/spread_collections/const_test language_2/spread_collections/inference_test language_2/spread_collections/map_set_ambiguity_test language_2/spread_collections/spread_test language_2/spread_collections/syntax_test standalone_2/ffi/data_not_asan_test standalone_2/ffi/data_test standalone_2/ffi/dynamic_library_test standalone_2/ffi/enable_ffi_test standalone_2/ffi/function_callbacks_test standalone_2/ffi/function_structs_test standalone_2/ffi/function_test standalone_2/ffi/structs_test standalone_2/ffi/subtype_test language_2/control_flow_collections/for_test /===========================================================================================================\ | language_2/control_flow_collections/for_variable_test is new and failed (CompileTimeError, expected Pass) | \===========================================================================================================/ --- Command "vm_compile_to_kernel" (took 500ms): DART_CONFIGURATION=ReleaseX64 /b/s/w/ir/cache/builder/sdk/pkg/vm/tool/gen_kernel --aot --platform=out/ReleaseX64/vm_platform_strong.dill -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartkp/tests_language_2_control_flow_collections_for_variable_test/out.dill /b/s/w/ir/cache/builder/sdk/tests/language_2/control_flow_collections/for_variable_test.dart --enable-experiment=set-literals,control-flow-collections,spread-collections --packages=/b/s/w/ir/cache/builder/sdk/.packages -Ddart.developer.causal_async_stacks=true exit code: 1 stdout: tests/language_2/control_flow_collections/for_variable_test.dart:32:15: Error: Unexpected token 'for'. var list = [for (var i in [0, 1]) () => i]; ^^^ tests/language_2/control_flow_collections/for_variable_test.dart:37:20: Error: 'i' is already declared in this scope. list = [for (var i = 0; i < 2; i++) () => i]; ^ tests/language_2/control_flow_collections/for_variable_test.dart:32:24: Context: Previous declaration of 'i'. var list = [for (var i in [0, 1]) () => i]; ^ tests/language_2/control_flow_collections/for_variable_test.dart:37:11: Error: Unexpected token 'for'. list = [for (var i = 0; i < 2; i++) () => i]; ^^^ tests/language_2/control_flow_collections/for_variable_test.dart:42:20: Error: 'i' is already declared in this scope. list = [for (var i = 0; capture(() => i++) < 2;) i]; ^ tests/language_2/control_flow_collections/for_variable_test.dart:32:24: Context: Previous declaration of 'i'. var list = [for (var i in [0, 1]) () => i]; ^ tests/language_2/control_flow_collections/for_variable_test.dart:42:11: Error: Unexpected token 'for'. list = [for (var i = 0; capture(() => i++) < 2;) i]; ^^^ tests/language_2/control_flow_collections/for_variable_test.dart:49:20: Error: 'i' is already declared in this scope. list = [for (var i = 0; i < 2; capture(() => i++)) i]; ^ tests/language_2/control_flow_collections/for_variable_test.dart:32:24: Context: Previous declaration of 'i'. var list = [for (var i in [0, 1]) () => i]; ^ tests/language_2/control_flow_collections/for_variable_test.dart:49:11: Error: Unexpected token 'for'. list = [for (var i = 0; i < 2; capture(() => i++)) i]; ^^^ tests/language_2/control_flow_collections/for_variable_test.dart:70:7: Error: Unexpected token 'for'. for (var global = "for"; global != null; global = null) global ^^^ tests/language_2/control_flow_collections/for_variable_test.dart:75:7: Error: Unexpected token 'for'. for (var staticField = "for"; staticField != null; staticField = null) ^^^ tests/language_2/control_flow_collections/for_variable_test.dart:81:7: Error: Unexpected token 'for'. for (var field = "for"; field != null; field = null) field ^^^ tests/language_2/control_flow_collections/for_variable_test.dart:86:7: Error: Unexpected token 'for'. for (var inherited = "for"; inherited != null; inherited = null) inherited ^^^ tests/language_2/control_flow_collections/for_variable_test.dart:91:16: Error: 'local' is already declared in this scope. for (var local = "for"; local != null; local = null) local ^^^^^ tests/language_2/control_flow_collections/for_variable_test.dart:66:9: Context: Previous declaration of 'local'. var local = "local"; ^^^^^ tests/language_2/control_flow_collections/for_variable_test.dart:91:7: Error: Unexpected token 'for'. for (var local = "for"; local != null; local = null) local ^^^ tests/language_2/control_flow_collections/for_variable_test.dart:97:18: Error: 'outer' is already declared in this scope. for (var outer = "for"; outer != null; outer = null) ^^^^^ tests/language_2/control_flow_collections/for_variable_test.dart:96:16: Context: Previous declaration of 'outer'. for (var outer = "outer"; outer != null; outer = null) ^^^^^ tests/language_2/control_flow_collections/for_variable_test.dart:97:9: Error: Unexpected token 'for'. for (var outer = "for"; outer != null; outer = null) ^^^ tests/language_2/control_flow_collections/for_variable_test.dart:96:7: Error: Unexpected token 'for'. for (var outer = "outer"; outer != null; outer = null) ^^^ tests/language_2/control_flow_collections/for_variable_test.dart:103:22: Error: 'global' is already declared in this scope. list = [for (var global in ["for"]) global]; ^^^^^^ tests/language_2/control_flow_collections/for_variable_test.dart:70:16: Context: Previous declaration of 'global'. for (var global = "for"; global != null; global = null) global ^^^^^^ tests/language_2/control_flow_collections/for_variable_test.dart:103:13: Error: Unexpected token 'for'. list = [for (var global in ["for"]) global]; ^^^ tests/language_2/control_flow_collections/for_variable_test.dart:106:22: Error: 'staticField' is already declared in this scope. list = [for (var staticField in ["for"]) staticField]; ^^^^^^^^^^^ tests/language_2/control_flow_collections/for_variable_test.dart:75:16: Context: Previous declaration of 'staticField'. for (var staticField = "for"; staticField != null; staticField = null) ^^^^^^^^^^^ tests/language_2/control_flow_collections/for_variable_test.dart:106:13: Error: Unexpected token 'for'. list = [for (var staticField in ["for"]) staticField]; ^^^ tests/language_2/control_flow_collections/for_variable_test.dart:109:22: Error: 'field' is already declared in this scope. list = [for (var field in ["for"]) field]; ^^^^^ tests/language_2/control_flow_collections/for_variable_test.dart:81:16: Context: Previous declaration of 'field'. for (var field = "for"; field != null; field = null) field ^^^^^ tests/language_2/control_flow_collections/for_variable_test.dart:109:13: Error: Unexpected token 'for'. list = [for (var field in ["for"]) field]; ^^^ tests/language_2/control_flow_collections/for_variable_test.dart:112:22: Error: 'inherited' is already declared in this scope. list = [for (var inherited in ["for"]) inherited]; ^^^^^^^^^ tests/language_2/control_flow_collections/for_variable_test.dart:86:16: Context: Previous declaration of 'inherited'. for (var inherited = "for"; inherited != null; inherited = null) inherited ^^^^^^^^^ tests/language_2/control_flow_collections/for_variable_test.dart:112:13: Error: Unexpected token 'for'. list = [for (var inherited in ["for"]) inherited]; ^^^ tests/language_2/control_flow_collections/for_variable_test.dart:115:22: Error: 'local' is already declared in this scope. list = [for (var local in ["for"]) local]; ^^^^^ tests/language_2/control_flow_collections/for_variable_test.dart:66:9: Context: Previous declaration of 'local'. var local = "local"; ^^^^^ tests/language_2/control_flow_collections/for_variable_test.dart:115:13: Error: Unexpected token 'for'. list = [for (var local in ["for"]) local]; ^^^ tests/language_2/control_flow_collections/for_variable_test.dart:118:22: Error: 'outer' is already declared in this scope. list = [for (var outer in ["outer"]) for (var outer in ["for"]) outer]; ^^^^^ tests/language_2/control_flow_collections/for_variable_test.dart:96:16: Context: Previous declaration of 'outer'. for (var outer = "outer"; outer != null; outer = null) ^^^^^ tests/language_2/control_flow_collections/for_variable_test.dart:118:51: Error: 'outer' is already declared in this scope. list = [for (var outer in ["outer"]) for (var outer in ["for"]) outer]; ^^^^^ tests/language_2/control_flow_collections/for_variable_test.dart:96:16: Context: Previous declaration of 'outer'. for (var outer = "outer"; outer != null; outer = null) ^^^^^ tests/language_2/control_flow_collections/for_variable_test.dart:118:42: Error: Unexpected token 'for'. list = [for (var outer in ["outer"]) for (var outer in ["for"]) outer]; ^^^ tests/language_2/control_flow_collections/for_variable_test.dart:118:13: Error: Unexpected token 'for'. list = [for (var outer in ["outer"]) for (var outer in ["for"]) outer]; ^^^ tests/language_2/control_flow_collections/for_variable_test.dart:127:7: Error: Unexpected token 'for'. for (global = "for"; global == "for"; global = "after") global ^^^ tests/language_2/control_flow_collections/for_variable_test.dart:134:7: Error: Unexpected token 'for'. for (staticField = "for"; staticField == "for"; staticField = "after") ^^^ tests/language_2/control_flow_collections/for_variable_test.dart:142:7: Error: Unexpected token 'for'. for (field = "for"; field == "for"; field = "after") field ^^^ tests/language_2/control_flow_collections/for_variable_test.dart:149:7: Error: Unexpected token 'for'. for (inherited = "for"; inherited == "for"; inherited = "after") inherited ^^^ tests/language_2/control_flow_collections/for_variable_test.dart:156:7: Error: Unexpected token 'for'. for (local = "for"; local == "for"; local = "after") local ^^^ tests/language_2/control_flow_collections/for_variable_test.dart:164:9: Error: Unexpected token 'for'. for (outer = "for"; outer == "for"; outer = "after") outer, ^^^ tests/language_2/control_flow_collections/for_variable_test.dart:163:74: Error: Unexpected token '...'. for (var outer = "outer"; outer == "outer"; outer = "outer after") ...[ ^^^ tests/language_2/control_flow_collections/for_variable_test.dart:163:7: Error: Unexpected token 'for'. for (var outer = "outer"; outer == "outer"; outer = "outer after") ...[ ^^^ tests/language_2/control_flow_collections/for_variable_test.dart:171:13: Error: Unexpected token 'for'. list = [for (global in ["for"]) global]; ^^^ tests/language_2/control_flow_collections/for_variable_test.dart:176:13: Error: Unexpected token 'for'. list = [for (staticField in ["for"]) staticField]; ^^^ tests/language_2/control_flow_collections/for_variable_test.dart:181:13: Error: Unexpected token 'for'. list = [for (field in ["for"]) field]; ^^^ tests/language_2/control_flow_collections/for_variable_test.dart:186:13: Error: Unexpected token 'for'. list = [for (inherited in ["for"]) inherited]; ^^^ tests/language_2/control_flow_collections/for_variable_test.dart:191:13: Error: Unexpected token 'for'. list = [for (local in ["for"]) local]; ^^^ tests/language_2/control_flow_collections/for_variable_test.dart:197:16: Error: 'outer' is already declared in this scope. for (var outer in ["outer"]) ...[ ^^^^^ tests/language_2/control_flow_collections/for_variable_test.dart:163:16: Context: Previous declaration of 'outer'. for (var outer = "outer"; outer == "outer"; outer = "outer after") ...[ ^^^^^ tests/language_2/control_flow_collections/for_variable_test.dart:198:9: Error: Unexpected token 'for'. for (outer in ["for"]) outer, ^^^ tests/language_2/control_flow_collections/for_variable_test.dart:197:36: Error: Unexpected token '...'. for (var outer in ["outer"]) ...[ ^^^ tests/language_2/control_flow_collections/for_variable_test.dart:197:7: Error: Unexpected token 'for'. for (var outer in ["outer"]) ...[ ^^^ tests/language_2/control_flow_collections/for_variable_test.dart:163:77: Error: A value of type 'List<dynamic>' can't be assigned to a variable of type 'String'. - 'List' is from 'dart:core'. Try changing the type of the left hand side, or casting the right hand side to 'String'. for (var outer = "outer"; outer == "outer"; outer = "outer after") ...[ ^ tests/language_2/control_flow_collections/for_variable_test.dart:197:39: Error: A value of type 'List<dynamic>' can't be assigned to a variable of type 'String'. - 'List' is from 'dart:core'. Try changing the type of the left hand side, or casting the right hand side to 'String'. for (var outer in ["outer"]) ...[ ^ --- Re-run this test: python tools/test.py -n dartkp-linux-release-x64 --repeat 5 --tests language_2/control_flow_collections/experimental_flag_test/01 language_2/control_flow_collections/experimental_flag_test/02 language_2/control_flow_collections/experimental_flag_test/03 language_2/control_flow_collections/experimental_flag_test/04 language_2/control_flow_collections/experimental_flag_test/05 language_2/control_flow_collections/experimental_flag_test/06 language_2/control_flow_collections/experimental_flag_test/07 language_2/control_flow_collections/experimental_flag_test/08 language_2/control_flow_collections/experimental_flag_test/09 language_2/control_flow_collections/experimental_flag_test/10 language_2/control_flow_collections/experimental_flag_test/11 language_2/control_flow_collections/experimental_flag_test/12 language_2/control_flow_collections/experimental_flag_test/13 language_2/control_flow_collections/experimental_flag_test/14 language_2/control_flow_collections/experimental_flag_test/15 language_2/control_flow_collections/experimental_flag_test/none language_2/control_flow_collections/for_const_test/00 language_2/control_flow_collections/for_const_test/01 language_2/control_flow_collections/for_const_test/02 language_2/control_flow_collections/for_const_test/03 language_2/control_flow_collections/for_const_test/04 language_2/control_flow_collections/for_const_test/05 language_2/control_flow_collections/for_const_test/06 language_2/control_flow_collections/for_const_test/07 language_2/control_flow_collections/for_const_test/08 language_2/control_flow_collections/for_const_test/none language_2/control_flow_collections/if_const_error_test/01 language_2/control_flow_collections/if_const_error_test/02 language_2/control_flow_collections/if_const_error_test/03 language_2/control_flow_collections/if_const_error_test/04 language_2/control_flow_collections/if_const_error_test/05 language_2/control_flow_collections/if_const_error_test/06 language_2/control_flow_collections/if_const_error_test/07 language_2/control_flow_collections/if_const_error_test/08 language_2/control_flow_collections/if_const_error_test/09 language_2/control_flow_collections/if_const_error_test/10 language_2/control_flow_collections/if_const_error_test/11 language_2/control_flow_collections/if_const_error_test/12 language_2/control_flow_collections/if_const_error_test/13 language_2/control_flow_collections/if_const_error_test/14 language_2/control_flow_collections/if_const_error_test/15 language_2/control_flow_collections/if_const_error_test/16 language_2/control_flow_collections/if_const_error_test/17 language_2/control_flow_collections/if_const_error_test/18 language_2/control_flow_collections/if_const_error_test/19 language_2/control_flow_collections/if_const_error_test/20 language_2/control_flow_collections/if_const_error_test/21 language_2/control_flow_collections/if_const_error_test/22 language_2/control_flow_collections/if_const_error_test/23 language_2/control_flow_collections/for_inference_test language_2/control_flow_collections/for_test language_2/control_flow_collections/for_variable_test language_2/control_flow_collections/if_const_test language_2/control_flow_collections/if_inference_test language_2/control_flow_collections/if_test language_2/control_flow_collections/map_set_ambiguity_test language_2/control_flow_collections/syntax_test language_2/set_literals/invalid_set_literal_test/08 language_2/set_literals/invalid_set_literal_test/09 language_2/set_literals/invalid_set_literal_test/10 language_2/spread_collections/const_test language_2/spread_collections/inference_test language_2/spread_collections/map_set_ambiguity_test language_2/spread_collections/spread_test language_2/spread_collections/syntax_test standalone_2/ffi/data_not_asan_test standalone_2/ffi/data_test standalone_2/ffi/dynamic_library_test standalone_2/ffi/enable_ffi_test standalone_2/ffi/function_callbacks_test standalone_2/ffi/function_structs_test standalone_2/ffi/function_test standalone_2/ffi/structs_test standalone_2/ffi/subtype_test language_2/control_flow_collections/for_variable_test /=======================================================================================================\ | language_2/control_flow_collections/if_const_test is new and failed (CompileTimeError, expected Pass) | \=======================================================================================================/ --- Command "vm_compile_to_kernel" (took 637ms): DART_CONFIGURATION=ReleaseX64 /b/s/w/ir/cache/builder/sdk/pkg/vm/tool/gen_kernel --aot --platform=out/ReleaseX64/vm_platform_strong.dill -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartkp/tests_language_2_control_flow_collections_if_const_test/out.dill /b/s/w/ir/cache/builder/sdk/tests/language_2/control_flow_collections/if_const_test.dart --enable-experiment=set-literals,control-flow-collections,spread-collections --packages=/b/s/w/ir/cache/builder/sdk/.packages -Ddart.developer.causal_async_stacks=true exit code: 1 stdout: tests/language_2/control_flow_collections/if_const_test.dart:61:19: Error: Can't find ')' to match '('. Expect.identical(const {1}, const [if (true) {1}].first; ^ tests/language_2/control_flow_collections/if_const_test.dart:60:19: Error: Can't find ')' to match '('. Expect.identical(const {1: 1}, const [if (true) {1: 1}].first; ^ tests/language_2/control_flow_collections/if_const_test.dart:59:19: Error: Can't find ')' to match '('. Expect.identical(const [1], const [if (true) [1]].first; ^ tests/language_2/control_flow_collections/if_const_test.dart:167:19: Error: Can't find ')' to match '('. Expect.identical(const <int>{1}, const <int>{if (true) {1}}.first; ^ tests/language_2/control_flow_collections/if_const_test.dart:166:19: Error: Can't find ')' to match '('. Expect.identical(const <int, int>{1: 1}, const <int>{if (true) {1: 1}}.first; ^ tests/language_2/control_flow_collections/if_const_test.dart:165:19: Error: Can't find ')' to match '('. Expect.identical(const <int>[1], const <int>{if (true) [1]}.first; ^ tests/language_2/control_flow_collections/if_const_test.dart:232:19: Error: Can't find ')' to match '('. Expect.identical(const <int>{1}, const <int>{if (true) 1, if (false) nonInt}; ^ tests/language_2/control_flow_collections/if_const_test.dart:30:41: Error: Unexpected token 'if'. Expect.identical(list, const <int>[1, if (true) 2, 3]); ^^ tests/language_2/control_flow_collections/if_const_test.dart:33:41: Error: Unexpected token 'if'. Expect.identical(list, const <int>[1, if (false) 9, 2, 3]); ^^ tests/language_2/control_flow_collections/if_const_test.dart:36:41: Error: Unexpected token 'if'. Expect.identical(list, const <int>[1, if (false) 9 else 2, 3]); ^^ tests/language_2/control_flow_collections/if_const_test.dart:39:43: Error: Unexpected token 'if'. Expect.identical(const [1], const <int>[if (true) 1]); ^^ tests/language_2/control_flow_collections/if_const_test.dart:42:38: Error: Unexpected token 'if'. Expect.identical(list, const <int>[if (true) 1, 2, 3]); ^^ tests/language_2/control_flow_collections/if_const_test.dart:45:41: Error: Unexpected token 'if'. Expect.identical(list, const <int>[1, if (true) 2, 3]); ^^ tests/language_2/control_flow_collections/if_const_test.dart:48:44: Error: Unexpected token 'if'. Expect.identical(list, const <int>[1, 2, if (true) 3]); ^^ tests/language_2/control_flow_collections/if_const_test.dart:52:19: Error: Unexpected token 'if'. const <int>[if (true) 1, if (false) 9, 2, if (true) 3]); ^^ tests/language_2/control_flow_collections/if_const_test.dart:52:32: Error: Unexpected token 'if'. const <int>[if (true) 1, if (false) 9, 2, if (true) 3]); ^^ tests/language_2/control_flow_collections/if_const_test.dart:52:49: Error: Unexpected token 'if'. const <int>[if (true) 1, if (false) 9, 2, if (true) 3]); ^^ tests/language_2/control_flow_collections/if_const_test.dart:55:43: Error: Unexpected token 'if'. Expect.identical(const [1], const <int>[if (dynamicTrue) 1]); ^^ tests/language_2/control_flow_collections/if_const_test.dart:56:43: Error: Unexpected token 'if'. Expect.identical(const [1], const <int>[if (objectTrue) 1]); ^^ tests/language_2/control_flow_collections/if_const_test.dart:59:38: Error: Unexpected token 'if'. Expect.identical(const [1], const [if (true) [1]].first; ^^ tests/language_2/control_flow_collections/if_const_test.dart:60:41: Error: Unexpected token 'if'. Expect.identical(const {1: 1}, const [if (true) {1: 1}].first; ^^ tests/language_2/control_flow_collections/if_const_test.dart:61:38: Error: Unexpected token 'if'. Expect.identical(const {1}, const [if (true) {1}].first; ^^ tests/language_2/control_flow_collections/if_const_test.dart:65:29: Error: Unexpected token '...'. const <int>[if (true) ...<int>[1, 2], if (false) 9 else ...<int>[3]]); ^^^ tests/language_2/control_flow_collections/if_const_test.dart:65:19: Error: Unexpected token 'if'. const <int>[if (true) ...<int>[1, 2], if (false) 9 else ...<int>[3]]); ^^ tests/language_2/control_flow_collections/if_const_test.dart:65:63: Error: Unexpected token '...'. const <int>[if (true) ...<int>[1, 2], if (false) 9 else ...<int>[3]]); ^^^ tests/language_2/control_flow_collections/if_const_test.dart:65:45: Error: Unexpected token 'if'. const <int>[if (true) ...<int>[1, 2], if (false) 9 else ...<int>[3]]); ^^ tests/language_2/control_flow_collections/if_const_test.dart:69:29: Error: Unexpected token 'if'. const <int>[if (true) if (true) 1, if (true) if (false) 9]); ^^ tests/language_2/control_flow_collections/if_const_test.dart:69:19: Error: Unexpected token 'if'. const <int>[if (true) if (true) 1, if (true) if (false) 9]); ^^ tests/language_2/control_flow_collections/if_const_test.dart:69:52: Error: Unexpected token 'if'. const <int>[if (true) if (true) 1, if (true) if (false) 9]); ^^ tests/language_2/control_flow_collections/if_const_test.dart:69:42: Error: Unexpected token 'if'. const <int>[if (true) if (true) 1, if (true) if (false) 9]); ^^ tests/language_2/control_flow_collections/if_const_test.dart:72:61: Error: Unexpected token 'if'. Expect.identical(const [1], const <int>[if (false) 9 else if (true) 1]); ^^ tests/language_2/control_flow_collections/if_const_test.dart:72:43: Error: Unexpected token 'if'. Expect.identical(const [1], const <int>[if (false) 9 else if (true) 1]); ^^ tests/language_2/control_flow_collections/if_const_test.dart:75:68: Error: Not a constant expression. Expect.identical(list, const <int>[if (true) for (var i in list) i]); ^ tests/language_2/control_flow_collections/if_const_test.dart:75:48: Error: Unexpected token 'for'. Expect.identical(list, const <int>[if (true) for (var i in list) i]); ^^^ tests/language_2/control_flow_collections/if_const_test.dart:75:38: Error: Unexpected token 'if'. Expect.identical(list, const <int>[if (true) for (var i in list) i]); ^^ tests/language_2/control_flow_collections/if_const_test.dart:78:38: Error: Unexpected token 'if'. Expect.identical(list, const <int>[if (false) 9 for (var i in list) i]); ^^ tests/language_2/control_flow_collections/if_const_test.dart:78:51: Error: Expected ',' before this. Expect.identical(list, const <int>[if (false) 9 for (var i in list) i]); ^^^ tests/language_2/control_flow_collections/if_const_test.dart:78:60: Error: 'i' is already declared in this scope. Expect.identical(list, const <int>[if (false) 9 for (var i in list) i]); ^ tests/language_2/control_flow_collections/if_const_test.dart:75:57: Context: Previous declaration of 'i'. Expect.identical(list, const <int>[if (true) for (var i in list) i]); ^ tests/language_2/control_flow_collections/if_const_test.dart:78:71: Error: Not a constant expression. Expect.identical(list, const <int>[if (false) 9 for (var i in list) i]); ^ tests/language_2/control_flow_collections/if_const_test.dart:78:51: Error: Unexpected token 'for'. Expect.identical(list, const <int>[if (false) 9 for (var i in list) i]); ^^^ tests/language_2/control_flow_collections/if_const_test.dart:65:37: Error: A value of type 'List<int>' can't be assigned to a variable of type 'int'. - 'List' is from 'dart:core'. Try changing the type of the left hand side, or casting the right hand side to 'int'. const <int>[if (true) ...<int>[1, 2], if (false) 9 else ...<int>[3]]); ^ tests/language_2/control_flow_collections/if_const_test.dart:83:48: Error: Unexpected token 'if'. Expect.identical(map, const <int, int>{1: 1, if (true) 2: 2, 3: 3}); ^^ tests/language_2/control_flow_collections/if_const_test.dart:86:48: Error: Unexpected token 'if'. Expect.identical(map, const <int, int>{1: 1, if (false) 9: 9, 2: 2, 3: 3}); ^^ tests/language_2/control_flow_collections/if_const_test.dart:90:30: Error: Unexpected token 'if'. const <int, int>{1: 1, if (false) 9: 9 else 2: 2, 3: 3}); ^^ tests/language_2/control_flow_collections/if_const_test.dart:93:51: Error: Unexpected token 'if'. Expect.identical(const {1: 1}, const <int, int>{if (true) 1: 1}); ^^ tests/language_2/control_flow_collections/if_const_test.dart:96:42: Error: Unexpected token 'if'. Expect.identical(map, const <int, int>{if (true) 1: 1, 2: 2, 3: 3}); ^^ tests/language_2/control_flow_collections/if_const_test.dart:99:48: Error: Unexpected token 'if'. Expect.identical(map, const <int, int>{1: 1, if (true) 2: 2, 3: 3}); ^^ tests/language_2/control_flow_collections/if_const_test.dart:102:54: Error: Unexpected token 'if'. Expect.identical(map, const <int, int>{1: 1, 2: 2, if (true) 3: 3}); ^^ tests/language_2/control_flow_collections/if_const_test.dart:106:24: Error: Unexpected token 'if'. const <int, int>{if (true) 1: 1, if (false) 9: 9, 2: 2, if (true) 3: 3}); ^^ tests/language_2/control_flow_collections/if_const_test.dart:106:40: Error: Unexpected token 'if'. const <int, int>{if (true) 1: 1, if (false) 9: 9, 2: 2, if (true) 3: 3}); ^^ tests/language_2/control_flow_collections/if_const_test.dart:106:63: Error: Unexpected token 'if'. const <int, int>{if (true) 1: 1, if (false) 9: 9, 2: 2, if (true) 3: 3}); ^^ tests/language_2/control_flow_collections/if_const_test.dart:109:51: Error: Unexpected token 'if'. Expect.identical(const {1: 1}, const <int, int>{if (dynamicTrue) 1: 1}); ^^ tests/language_2/control_flow_collections/if_const_test.dart:110:51: Error: Unexpected token 'if'. Expect.identical(const {1: 1}, const <int, int>{if (objectTrue) 1: 1}); ^^ tests/language_2/control_flow_collections/if_const_test.dart:114:15: Error: Unexpected token '...'. if (true) ...<int, int>{1: 1, 2: 2}, ^^^ tests/language_2/control_flow_collections/if_const_test.dart:114:5: Error: Unexpected token 'if'. if (true) ...<int, int>{1: 1, 2: 2}, ^^ tests/language_2/control_flow_collections/if_const_test.dart:115:26: Error: Unexpected token '...'. if (false) 9: 9 else ...<int, int>{3: 3} ^^^ tests/language_2/control_flow_collections/if_const_test.dart:115:5: Error: Unexpected token 'if'. if (false) 9: 9 else ...<int, int>{3: 3} ^^ tests/language_2/control_flow_collections/if_const_test.dart:120:34: Error: Unexpected token 'if'. const <int, int>{if (true) if (true) 1: 1, if (true) if (false) 9: 9}); ^^ tests/language_2/control_flow_collections/if_const_test.dart:120:24: Error: Unexpected token 'if'. const <int, int>{if (true) if (true) 1: 1, if (true) if (false) 9: 9}); ^^ tests/language_2/control_flow_collections/if_const_test.dart:120:60: Error: Unexpected token 'if'. const <int, int>{if (true) if (true) 1: 1, if (true) if (false) 9: 9}); ^^ tests/language_2/control_flow_collections/if_const_test.dart:120:50: Error: Unexpected token 'if'. const <int, int>{if (true) if (true) 1: 1, if (true) if (false) 9: 9}); ^^ tests/language_2/control_flow_collections/if_const_test.dart:124:45: Error: Unexpected token 'if'. const <int, int>{if (false) 9: 9 else if (true) 1: 1}); ^^ tests/language_2/control_flow_collections/if_const_test.dart:124:24: Error: Unexpected token 'if'. const <int, int>{if (false) 9: 9 else if (true) 1: 1}); ^^ tests/language_2/control_flow_collections/if_const_test.dart:127:72: Error: Not a constant expression. Expect.identical(map, const <int, int>{if (true) for (var i in list) i: i}); ^ tests/language_2/control_flow_collections/if_const_test.dart:127:75: Error: Not a constant expression. Expect.identical(map, const <int, int>{if (true) for (var i in list) i: i}); ^ tests/language_2/control_flow_collections/if_const_test.dart:127:52: Error: Unexpected token 'for'. Expect.identical(map, const <int, int>{if (true) for (var i in list) i: i}); ^^^ tests/language_2/control_flow_collections/if_const_test.dart:127:42: Error: Unexpected token 'if'. Expect.identical(map, const <int, int>{if (true) for (var i in list) i: i}); ^^ tests/language_2/control_flow_collections/if_const_test.dart:131:24: Error: Unexpected token 'if'. const <int, int>{if (false) 9: 9 for (var i in list) i: i}); ^^ tests/language_2/control_flow_collections/if_const_test.dart:131:40: Error: Expected ',' before this. const <int, int>{if (false) 9: 9 for (var i in list) i: i}); ^^^ tests/language_2/control_flow_collections/if_const_test.dart:131:49: Error: 'i' is already declared in this scope. const <int, int>{if (false) 9: 9 for (var i in list) i: i}); ^ tests/language_2/control_flow_collections/if_const_test.dart:127:61: Context: Previous declaration of 'i'. Expect.identical(map, const <int, int>{if (true) for (var i in list) i: i}); ^ tests/language_2/control_flow_collections/if_const_test.dart:131:60: Error: Not a constant expression. const <int, int>{if (false) 9: 9 for (var i in list) i: i}); ^ tests/language_2/control_flow_collections/if_const_test.dart:131:63: Error: Not a constant expression. const <int, int>{if (false) 9: 9 for (var i in list) i: i}); ^ tests/language_2/control_flow_collections/if_const_test.dart:131:40: Error: Unexpected token 'for'. const <int, int>{if (false) 9: 9 for (var i in list) i: i}); ^^^ tests/language_2/control_flow_collections/if_const_test.dart:136:40: Error: Unexpected token 'if'. Expect.identical(set, const <int>{1, if (true) 2, 3}); ^^ tests/language_2/control_flow_collections/if_const_test.dart:139:40: Error: Unexpected token 'if'. Expect.identical(set, const <int>{1, if (false) 9, 2, 3}); ^^ tests/language_2/control_flow_collections/if_const_test.dart:142:40: Error: Unexpected token 'if'. Expect.identical(set, const <int>{1, if (false) 9 else 2, 3}); ^^ tests/language_2/control_flow_collections/if_const_test.dart:145:37: Error: Unexpected token 'if'. Expect.identical({1}, const <int>{if (true) 1}); ^^ tests/language_2/control_flow_collections/if_const_test.dart:148:37: Error: Unexpected token 'if'. Expect.identical(set, const <int>{if (true) 1, 2, 3}); ^^ tests/language_2/control_flow_collections/if_const_test.dart:151:40: Error: Unexpected token 'if'. Expect.identical(set, const <int>{1, if (true) 2, 3}); ^^ tests/language_2/control_flow_collections/if_const_test.dart:154:43: Error: Unexpected token 'if'. Expect.identical(set, const <int>{1, 2, if (true) 3}); ^^ tests/language_2/control_flow_collections/if_const_test.dart:158:19: Error: Unexpected token 'if'. const <int>{if (true) 1, if (false) 9, 2, if (true) 3}); ^^ tests/language_2/control_flow_collections/if_const_test.dart:158:32: Error: Unexpected token 'if'. const <int>{if (true) 1, if (false) 9, 2, if (true) 3}); ^^ tests/language_2/control_flow_collections/if_const_test.dart:158:49: Error: Unexpected token 'if'. const <int>{if (true) 1, if (false) 9, 2, if (true) 3}); ^^ tests/language_2/control_flow_collections/if_const_test.dart:161:48: Error: Unexpected token 'if'. Expect.identical(const <int>{1}, const <int>{if (dynamicTrue) 1}); ^^ tests/language_2/control_flow_collections/if_const_test.dart:162:48: Error: Unexpected token 'if'. Expect.identical(const <int>{1}, const <int>{if (objectTrue) 1}); ^^ tests/language_2/control_flow_collections/if_const_test.dart:165:48: Error: Unexpected token 'if'. Expect.identical(const <int>[1], const <int>{if (true) [1]}.first; ^^ tests/language_2/control_flow_collections/if_const_test.dart:166:56: Error: Unexpected token 'if'. Expect.identical(const <int, int>{1: 1}, const <int>{if (true) {1: 1}}.first; ^^ tests/language_2/control_flow_collections/if_const_test.dart:167:48: Error: Unexpected token 'if'. Expect.identical(const <int>{1}, const <int>{if (true) {1}}.first; ^^ tests/language_2/control_flow_collections/if_const_test.dart:171:29: Error: Unexpected token '...'. const <int>{if (true) ...<int>[1, 2], if (false) 9 else ...<int>[3]}); ^^^ tests/language_2/control_flow_collections/if_const_test.dart:171:19: Error: Unexpected token 'if'. const <int>{if (true) ...<int>[1, 2], if (false) 9 else ...<int>[3]}); ^^ tests/language_2/control_flow_collections/if_const_test.dart:171:63: Error: Unexpected token '...'. const <int>{if (true) ...<int>[1, 2], if (false) 9 else ...<int>[3]}); ^^^ tests/language_2/control_flow_collections/if_const_test.dart:171:45: Error: Unexpected token 'if'. const <int>{if (true) ...<int>[1, 2], if (false) 9 else ...<int>[3]}); ^^ tests/language_2/control_flow_collections/if_const_test.dart:175:29: Error: Unexpected token 'if'. const <int>{if (true) if (true) 1, if (true) if (false) 9}); ^^ tests/language_2/control_flow_collections/if_const_test.dart:175:19: Error: Unexpected token 'if'. const <int>{if (true) if (true) 1, if (true) if (false) 9}); ^^ tests/language_2/control_flow_collections/if_const_test.dart:175:52: Error: Unexpected token 'if'. const <int>{if (true) if (true) 1, if (true) if (false) 9}); ^^ tests/language_2/control_flow_collections/if_const_test.dart:175:42: Error: Unexpected token 'if'. const <int>{if (true) if (true) 1, if (true) if (false) 9}); ^^ tests/language_2/control_flow_collections/if_const_test.dart:178:66: Error: Unexpected token 'if'. Expect.identical(const <int>{1}, const <int>{if (false) 9 else if (true) 1}); ^^ tests/language_2/control_flow_collections/if_const_test.dart:178:48: Error: Unexpected token 'if'. Expect.identical(const <int>{1}, const <int>{if (false) 9 else if (true) 1}); ^^ tests/language_2/control_flow_collections/if_const_test.dart:181:67: Error: Not a constant expression. Expect.identical(set, const <int>{if (true) for (var i in list) i}); ^ tests/language_2/control_flow_collections/if_const_test.dart:181:47: Error: Unexpected token 'for'. Expect.identical(set, const <int>{if (true) for (var i in list) i}); ^^^ tests/language_2/control_flow_collections/if_const_test.dart:181:37: Error: Unexpected token 'if'. Expect.identical(set, const <int>{if (true) for (var i in list) i}); ^^ tests/language_2/control_flow_collections/if_const_test.dart:184:37: Error: Unexpected token 'if'. Expect.identical(set, const <int>{if (false) 9 for (var i in list) i}); ^^ tests/language_2/control_flow_collections/if_const_test.dart:184:50: Error: Expected ',' before this. Expect.identical(set, const <int>{if (false) 9 for (var i in list) i}); ^^^ tests/language_2/control_flow_collections/if_const_test.dart:184:59: Error: 'i' is already declared in this scope. Expect.identical(set, const <int>{if (false) 9 for (var i in list) i}); ^ tests/language_2/control_flow_collections/if_const_test.dart:181:56: Context: Previous declaration of 'i'. Expect.identical(set, const <int>{if (true) for (var i in list) i}); ^ tests/language_2/control_flow_collections/if_const_test.dart:184:70: Error: Not a constant expression. Expect.identical(set, const <int>{if (false) 9 for (var i in list) i}); ^ tests/language_2/control_flow_collections/if_const_test.dart:184:50: Error: Unexpected token 'for'. Expect.identical(set, const <int>{if (false) 9 for (var i in list) i}); ^^^ tests/language_2/control_flow_collections/if_const_test.dart:165:58: Error: A value of type 'List<int>' can't be assigned to a variable of type 'int'. - 'List' is from 'dart:core'. Try changing the type of the left hand side, or casting the right hand side to 'int'. Expect.identical(const <int>[1], const <int>{if (true) [1]}.first; ^ tests/language_2/control_flow_collections/if_const_test.dart:166:66: Error: A value of type 'Map<int, int>' can't be assigned to a variable of type 'int'. - 'Map' is from 'dart:core'. Try changing the type of the left hand side, or casting the right hand side to 'int'. Expect.identical(const <int, int>{1: 1}, const <int>{if (true) {1: 1}}.first; ^ tests/language_2/control_flow_collections/if_const_test.dart:167:58: Error: A value of type 'Set<int>' can't be assigned to a variable of type 'int'. - 'Set' is from 'dart:core'. Try changing the type of the left hand side, or casting the right hand side to 'int'. Expect.identical(const <int>{1}, const <int>{if (true) {1}}.first; ^ tests/language_2/control_flow_collections/if_const_test.dart:171:37: Error: A value of type 'List<int>' can't be assigned to a variable of type 'int'. - 'List' is from 'dart:core'. Try changing the type of the left hand side, or casting the right hand side to 'int'. const <int>{if (true) ...<int>[1, 2], if (false) 9 else ...<int>[3]}); ^ tests/language_2/control_flow_collections/if_const_test.dart:195:19: Error: Unexpected token 'if'. const <int>[if (true) 1, if (false) nil + 1]); ^^ tests/language_2/control_flow_collections/if_const_test.dart:195:32: Error: Unexpected token 'if'. const <int>[if (true) 1, if (false) nil + 1]); ^^ tests/language_2/control_flow_collections/if_const_test.dart:197:19: Error: Unexpected token 'if'. const <int>[if (true) 1 else nil + 1, if (false) nil + 1 else 2]); ^^ tests/language_2/control_flow_collections/if_const_test.dart:197:45: Error: Unexpected token 'if'. const <int>[if (true) 1 else nil + 1, if (false) nil + 1 else 2]); ^^ tests/language_2/control_flow_collections/if_const_test.dart:200:5: Error: Unexpected token 'if'. if (true) 1: 1, ^^ tests/language_2/control_flow_collections/if_const_test.dart:201:5: Error: Unexpected token 'if'. if (false) nil + 1: 9, ^^ tests/language_2/control_flow_collections/if_const_test.dart:202:5: Error: Unexpected token 'if'. if (false) 9: nil + 1 ^^ tests/language_2/control_flow_collections/if_const_test.dart:205:5: Error: Unexpected token 'if'. if (true) 1: 1 else nil + 1: 9, ^^ tests/language_2/control_flow_collections/if_const_test.dart:205:16: Error: Expected '}' before this. if (true) 1: 1 else nil + 1: 9, ^ tests/language_2/control_flow_collections/if_const_test.dart:210:19: Error: Unexpected token 'if'. const <int>{if (true) 1, if (false) nil + 1}); ^^ tests/language_2/control_flow_collections/if_const_test.dart:210:32: Error: Unexpected token 'if'. const <int>{if (true) 1, if (false) nil + 1}); ^^ tests/language_2/control_flow_collections/if_const_test.dart:212:19: Error: Unexpected token 'if'. const <int>{if (true) 1 else nil + 1, if (false) nil + 1 else 2}); ^^ tests/language_2/control_flow_collections/if_const_test.dart:212:45: Error: Unexpected token 'if'. const <int>{if (true) 1 else nil + 1, if (false) nil + 1 else 2}); ^^ tests/language_2/control_flow_collections/if_const_test.dart:218:48: Error: Unexpected token 'if'. Expect.identical(const <int>[1], const <int>[if (true) 1, if (false) nonInt]); ^^ tests/language_2/control_flow_collections/if_const_test.dart:218:61: Error: Unexpected token 'if'. Expect.identical(const <int>[1], const <int>[if (true) 1, if (false) nonInt]); ^^ tests/language_2/control_flow_collections/if_const_test.dart:220:19: Error: Unexpected token 'if'. const <int>[if (true) 1 else nonInt, if (false) nonInt else 2]); ^^ tests/language_2/control_flow_collections/if_const_test.dart:220:44: Error: Unexpected token 'if'. const <int>[if (true) 1 else nonInt, if (false) nonInt else 2]); ^^ tests/language_2/control_flow_collections/if_const_test.dart:222:33: Error: Expected '}' before this. Expect.identical(const <int>{1: 1}, const <int, int>{ ^ tests/language_2/control_flow_collections/if_const_test.dart:223:5: Error: Unexpected token 'if'. if (true) 1: 1, ^^ tests/language_2/control_flow_collections/if_const_test.dart:224:5: Error: Unexpected token 'if'. if (false) nonInt: 9, ^^ tests/language_2/control_flow_collections/if_const_test.dart:225:5: Error: Unexpected token 'if'. if (false) 9: nonInt ^^ tests/language_2/control_flow_collections/if_const_test.dart:228:5: Error: Unexpected token 'if'. if (true) 1: 1 else nonInt: 9, ^^ tests/language_2/control_flow_collections/if_const_test.dart:229:5: Error: Unexpected token 'if'. if (false) 9: nonInt else 2: 2 ^^ tests/language_2/control_flow_collections/if_const_test.dart:232:48: Error: Unexpected token 'if'. Expect.identical(const <int>{1}, const <int>{if (true) 1, if (false) nonInt}; ^^ tests/language_2/control_flow_collections/if_const_test.dart:232:61: Error: Unexpected token 'if'. Expect.identical(const <int>{1}, const <int>{if (true) 1, if (false) nonInt}; ^^ tests/language_2/control_flow_collections/if_const_test.dart:234:19: Error: Unexpected token 'if'. const <int>{if (true) 1 else nonInt, if (false) nonInt else 2}); ^^ tests/language_2/control_flow_collections/if_const_test.dart:234:44: Error: Unexpected token 'if'. const <int>{if (true) 1 else nonInt, if (false) nonInt else 2}); ^^ tests/language_2/control_flow_collections/if_const_test.dart:241:5: Error: Unexpected token 'if'. if (false) 1: 1, ^^ tests/language_2/control_flow_collections/if_const_test.dart:242:5: Error: Unexpected token 'if'. if (true) 2: 2 else 3: 3, ^^ tests/language_2/control_flow_collections/if_const_test.dart:246:40: Error: Unexpected token 'if'. Expect.setEquals(set, const <int>{1, if (false) 1, if (true) 2 else 3, 3}); ^^ tests/language_2/control_flow_collections/if_const_test.dart:246:54: Error: Unexpected token 'if'. Expect.setEquals(set, const <int>{1, if (false) 1, if (true) 2 else 3, 3}); ^^ tests/language_2/control_flow_collections/if_const_test.dart:252:30: Error: Unexpected token 'if'. const <int, int>{1: 1, if (true) 2: 2, if (false) 9: 9, 3: 3}); ^^ tests/language_2/control_flow_collections/if_const_test.dart:252:46: Error: Unexpected token 'if'. const <int, int>{1: 1, if (true) 2: 2, if (false) 9: 9, 3: 3}); ^^ tests/language_2/control_flow_collections/if_const_test.dart:254:24: Error: Unexpected token 'if'. const <int, int>{if (false) 9: 9 else 1: 1, 2: 2, if (true) 3: 3}); ^^ tests/language_2/control_flow_collections/if_const_test.dart:254:57: Error: Unexpected token 'if'. const <int, int>{if (false) 9: 9 else 1: 1, 2: 2, if (true) 3: 3}); ^^ tests/language_2/control_flow_collections/if_const_test.dart:256:40: Error: Unexpected token 'if'. Expect.identical(set, const <int>{1, if (true) 2, if (false) 9, 3}); ^^ tests/language_2/control_flow_collections/if_const_test.dart:256:53: Error: Unexpected token 'if'. Expect.identical(set, const <int>{1, if (true) 2, if (false) 9, 3}); ^^ tests/language_2/control_flow_collections/if_const_test.dart:257:37: Error: Unexpected token 'if'. Expect.identical(set, const <int>{if (false) 9 else 1, 2, if (true) 3}); ^^ tests/language_2/control_flow_collections/if_const_test.dart:257:61: Error: Unexpected token 'if'. Expect.identical(set, const <int>{if (false) 9 else 1, 2, if (true) 3}); ^^ tests/language_2/control_flow_collections/if_const_test.dart:260:51: Error: Unexpected token 'if'. Expect.notIdentical(map, const <int, int>{1: 1, if (true) 3: 3, 2: 2}); ^^ tests/language_2/control_flow_collections/if_const_test.dart:261:43: Error: Unexpected token 'if'. Expect.notIdentical(set, const <int>{1, if (true) 3, 2}); ^^ --- Re-run this test: python tools/test.py -n dartkp-linux-release-x64 --repeat 5 --tests language_2/control_flow_collections/experimental_flag_test/01 language_2/control_flow_collections/experimental_flag_test/02 language_2/control_flow_collections/experimental_flag_test/03 language_2/control_flow_collections/experimental_flag_test/04 language_2/control_flow_collections/experimental_flag_test/05 language_2/control_flow_collections/experimental_flag_test/06 language_2/control_flow_collections/experimental_flag_test/07 language_2/control_flow_collections/experimental_flag_test/08 language_2/control_flow_collections/experimental_flag_test/09 language_2/control_flow_collections/experimental_flag_test/10 language_2/control_flow_collections/experimental_flag_test/11 language_2/control_flow_collections/experimental_flag_test/12 language_2/control_flow_collections/experimental_flag_test/13 language_2/control_flow_collections/experimental_flag_test/14 language_2/control_flow_collections/experimental_flag_test/15 language_2/control_flow_collections/experimental_flag_test/none language_2/control_flow_collections/for_const_test/00 language_2/control_flow_collections/for_const_test/01 language_2/control_flow_collections/for_const_test/02 language_2/control_flow_collections/for_const_test/03 language_2/control_flow_collections/for_const_test/04 language_2/control_flow_collections/for_const_test/05 language_2/control_flow_collections/for_const_test/06 language_2/control_flow_collections/for_const_test/07 language_2/control_flow_collections/for_const_test/08 language_2/control_flow_collections/for_const_test/none language_2/control_flow_collections/if_const_error_test/01 language_2/control_flow_collections/if_const_error_test/02 language_2/control_flow_collections/if_const_error_test/03 language_2/control_flow_collections/if_const_error_test/04 language_2/control_flow_collections/if_const_error_test/05 language_2/control_flow_collections/if_const_error_test/06 language_2/control_flow_collections/if_const_error_test/07 language_2/control_flow_collections/if_const_error_test/08 language_2/control_flow_collections/if_const_error_test/09 language_2/control_flow_collections/if_const_error_test/10 language_2/control_flow_collections/if_const_error_test/11 language_2/control_flow_collections/if_const_error_test/12 language_2/control_flow_collections/if_const_error_test/13 language_2/control_flow_collections/if_const_error_test/14 language_2/control_flow_collections/if_const_error_test/15 language_2/control_flow_collections/if_const_error_test/16 language_2/control_flow_collections/if_const_error_test/17 language_2/control_flow_collections/if_const_error_test/18 language_2/control_flow_collections/if_const_error_test/19 language_2/control_flow_collections/if_const_error_test/20 language_2/control_flow_collections/if_const_error_test/21 language_2/control_flow_collections/if_const_error_test/22 language_2/control_flow_collections/if_const_error_test/23 language_2/control_flow_collections/for_inference_test language_2/control_flow_collections/for_test language_2/control_flow_collections/for_variable_test language_2/control_flow_collections/if_const_test language_2/control_flow_collections/if_inference_test language_2/control_flow_collections/if_test language_2/control_flow_collections/map_set_ambiguity_test language_2/control_flow_collections/syntax_test language_2/set_literals/invalid_set_literal_test/08 language_2/set_literals/invalid_set_literal_test/09 language_2/set_literals/invalid_set_literal_test/10 language_2/spread_collections/const_test language_2/spread_collections/inference_test language_2/spread_collections/map_set_ambiguity_test language_2/spread_collections/spread_test language_2/spread_collections/syntax_test standalone_2/ffi/data_not_asan_test standalone_2/ffi/data_test standalone_2/ffi/dynamic_library_test standalone_2/ffi/enable_ffi_test standalone_2/ffi/function_callbacks_test standalone_2/ffi/function_structs_test standalone_2/ffi/function_test standalone_2/ffi/structs_test standalone_2/ffi/subtype_test language_2/control_flow_collections/if_const_test /===========================================================================================================\ | language_2/control_flow_collections/if_inference_test is new and failed (CompileTimeError, expected Pass) | \===========================================================================================================/ --- Command "vm_compile_to_kernel" (took 509ms): DART_CONFIGURATION=ReleaseX64 /b/s/w/ir/cache/builder/sdk/pkg/vm/tool/gen_kernel --aot --platform=out/ReleaseX64/vm_platform_strong.dill -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartkp/tests_language_2_control_flow_collections_if_inference_test/out.dill /b/s/w/ir/cache/builder/sdk/tests/language_2/control_flow_collections/if_inference_test.dart --enable-experiment=set-literals,control-flow-collections,spread-collections --packages=/b/s/w/ir/cache/builder/sdk/.packages -Ddart.developer.causal_async_stacks=true exit code: 1 stdout: tests/language_2/control_flow_collections/if_inference_test.dart:19:22: Error: Unexpected token 'if'. expectListOf<int>([if (true) 1]); ^^ tests/language_2/control_flow_collections/if_inference_test.dart:20:22: Error: Unexpected token 'if'. expectListOf<int>([if (true) 1 else 2]); ^^ tests/language_2/control_flow_collections/if_inference_test.dart:21:22: Error: Unexpected token 'if'. expectListOf<num>([if (true) 1 else 0.2]); ^^ tests/language_2/control_flow_collections/if_inference_test.dart:22:22: Error: Unexpected token 'if'. expectListOf<int>([if (true) 1, 2]); ^^ tests/language_2/control_flow_collections/if_inference_test.dart:23:22: Error: Unexpected token 'if'. expectListOf<num>([if (true) 1, 0.2]); ^^ tests/language_2/control_flow_collections/if_inference_test.dart:24:36: Error: Unexpected token '...'. expectListOf<dynamic>([if (true) ...[]]); ^^^ tests/language_2/control_flow_collections/if_inference_test.dart:24:26: Error: Unexpected token 'if'. expectListOf<dynamic>([if (true) ...[]]); ^^ tests/language_2/control_flow_collections/if_inference_test.dart:25:32: Error: Unexpected token '...'. expectListOf<int>([if (true) ...<int>[]]); ^^^ tests/language_2/control_flow_collections/if_inference_test.dart:25:22: Error: Unexpected token 'if'. expectListOf<int>([if (true) ...<int>[]]); ^^ tests/language_2/control_flow_collections/if_inference_test.dart:28:26: Error: Unexpected token 'if'. expectMapOf<int, int>({if (true) 1: 1}); ^^ tests/language_2/control_flow_collections/if_inference_test.dart:29:26: Error: Unexpected token 'if'. expectMapOf<int, int>({if (true) 1: 1 else 2: 2}); ^^ tests/language_2/control_flow_collections/if_inference_test.dart:30:26: Error: Unexpected token 'if'. expectMapOf<num, num>({if (true) 1: 0.1 else 0.2: 2}); ^^ tests/language_2/control_flow_collections/if_inference_test.dart:31:26: Error: Unexpected token 'if'. expectMapOf<int, int>({if (true) 1: 1, 2: 2}); ^^ tests/language_2/control_flow_collections/if_inference_test.dart:32:26: Error: Unexpected token 'if'. expectMapOf<num, num>({if (true) 1: 0.1, 0.2: 2}); ^^ tests/language_2/control_flow_collections/if_inference_test.dart:33:44: Error: Unexpected token '...'. expectMapOf<dynamic, dynamic>({if (true) ...{}}); ^^^ tests/language_2/control_flow_collections/if_inference_test.dart:33:34: Error: Unexpected token 'if'. expectMapOf<dynamic, dynamic>({if (true) ...{}}); ^^ tests/language_2/control_flow_collections/if_inference_test.dart:34:36: Error: Unexpected token '...'. expectMapOf<int, int>({if (true) ...<int, int>{}}); ^^^ tests/language_2/control_flow_collections/if_inference_test.dart:34:26: Error: Unexpected token 'if'. expectMapOf<int, int>({if (true) ...<int, int>{}}); ^^ tests/language_2/control_flow_collections/if_inference_test.dart:37:21: Error: Unexpected token 'if'. expectSetOf<int>({if (true) 1}); ^^ tests/language_2/control_flow_collections/if_inference_test.dart:38:21: Error: Unexpected token 'if'. expectSetOf<int>({if (true) 1 else 2}); ^^ tests/language_2/control_flow_collections/if_inference_test.dart:39:21: Error: Unexpected token 'if'. expectSetOf<num>({if (true) 1 else 0.2}); ^^ tests/language_2/control_flow_collections/if_inference_test.dart:40:21: Error: Unexpected token 'if'. expectSetOf<int>({if (true) 1, 2}); ^^ tests/language_2/control_flow_collections/if_inference_test.dart:41:21: Error: Unexpected token 'if'. expectSetOf<num>({if (true) 1, 0.2}); ^^ tests/language_2/control_flow_collections/if_inference_test.dart:42:35: Error: Unexpected token '...'. expectSetOf<dynamic>({if (true) ...[]}); ^^^ tests/language_2/control_flow_collections/if_inference_test.dart:42:25: Error: Unexpected token 'if'. expectSetOf<dynamic>({if (true) ...[]}); ^^ tests/language_2/control_flow_collections/if_inference_test.dart:43:31: Error: Unexpected token '...'. expectSetOf<int>({if (true) ...<int>[]}); ^^^ tests/language_2/control_flow_collections/if_inference_test.dart:43:21: Error: Unexpected token 'if'. expectSetOf<int>({if (true) ...<int>[]}); ^^ tests/language_2/control_flow_collections/if_inference_test.dart:46:36: Error: Unexpected token '...'. expectListOf<dynamic>([if (true) ...([] as dynamic)]); ^^^ tests/language_2/control_flow_collections/if_inference_test.dart:46:26: Error: Unexpected token 'if'. expectListOf<dynamic>([if (true) ...([] as dynamic)]); ^^ tests/language_2/control_flow_collections/if_inference_test.dart:47:38: Error: Unexpected token '...'. expectSetOf<dynamic>({1, if (true) ...([] as dynamic)}); ^^^ tests/language_2/control_flow_collections/if_inference_test.dart:47:28: Error: Unexpected token 'if'. expectSetOf<dynamic>({1, if (true) ...([] as dynamic)}); ^^ tests/language_2/control_flow_collections/if_inference_test.dart:50:50: Error: Unexpected token '...'. expectMapOf<dynamic, dynamic>({1: 1, if (true) ...({} as dynamic)}); ^^^ tests/language_2/control_flow_collections/if_inference_test.dart:50:40: Error: Unexpected token 'if'. expectMapOf<dynamic, dynamic>({1: 1, if (true) ...({} as dynamic)}); ^^ tests/language_2/control_flow_collections/if_inference_test.dart:57:37: Error: Unexpected token 'if'. Expect.listEquals(<int>[1], <int>[if (true) expectInt(1)]); ^^ tests/language_2/control_flow_collections/if_inference_test.dart:58:37: Error: Unexpected token 'if'. Expect.listEquals(<int>[1], <int>[if (false) 9 else expectInt(1)]); ^^ tests/language_2/control_flow_collections/if_inference_test.dart:61:38: Error: Unexpected token 'if'. Expect.listEquals(<int>[1, 2], [1, if (true) expectDynamic(2)]); ^^ tests/language_2/control_flow_collections/if_inference_test.dart:62:38: Error: Unexpected token 'if'. Expect.listEquals(<int>[1, 2], [1, if (false) 9 else expectDynamic(2)]); ^^ tests/language_2/control_flow_collections/if_inference_test.dart:68:21: Error: Unexpected token 'if'. <int, String>{if (true) expectInt(1): expectString("s")}); ^^ tests/language_2/control_flow_collections/if_inference_test.dart:72:16: Error: Unexpected token 'if'. {1: "s", if (true) expectDynamic(2): expectDynamic("t")}); ^^ tests/language_2/control_flow_collections/if_inference_test.dart:77:36: Error: Unexpected token 'if'. Expect.setEquals(<int>{1}, <int>{if (true) expectInt(1)}); ^^ tests/language_2/control_flow_collections/if_inference_test.dart:78:36: Error: Unexpected token 'if'. Expect.setEquals(<int>{1}, <int>{if (false) 9 else expectInt(1)}); ^^ tests/language_2/control_flow_collections/if_inference_test.dart:81:37: Error: Unexpected token 'if'. Expect.setEquals(<int>{1, 2}, {1, if (true) expectDynamic(2)}); ^^ tests/language_2/control_flow_collections/if_inference_test.dart:82:37: Error: Unexpected token 'if'. Expect.setEquals(<int>{1, 2}, {1, if (false) 9 else expectDynamic(2)}); ^^ --- Re-run this test: python tools/test.py -n dartkp-linux-release-x64 --repeat 5 --tests language_2/control_flow_collections/experimental_flag_test/01 language_2/control_flow_collections/experimental_flag_test/02 language_2/control_flow_collections/experimental_flag_test/03 language_2/control_flow_collections/experimental_flag_test/04 language_2/control_flow_collections/experimental_flag_test/05 language_2/control_flow_collections/experimental_flag_test/06 language_2/control_flow_collections/experimental_flag_test/07 language_2/control_flow_collections/experimental_flag_test/08 language_2/control_flow_collections/experimental_flag_test/09 language_2/control_flow_collections/experimental_flag_test/10 language_2/control_flow_collections/experimental_flag_test/11 language_2/control_flow_collections/experimental_flag_test/12 language_2/control_flow_collections/experimental_flag_test/13 language_2/control_flow_collections/experimental_flag_test/14 language_2/control_flow_collections/experimental_flag_test/15 language_2/control_flow_collections/experimental_flag_test/none language_2/control_flow_collections/for_const_test/00 language_2/control_flow_collections/for_const_test/01 language_2/control_flow_collections/for_const_test/02 language_2/control_flow_collections/for_const_test/03 language_2/control_flow_collections/for_const_test/04 language_2/control_flow_collections/for_const_test/05 language_2/control_flow_collections/for_const_test/06 language_2/control_flow_collections/for_const_test/07 language_2/control_flow_collections/for_const_test/08 language_2/control_flow_collections/for_const_test/none language_2/control_flow_collections/if_const_error_test/01 language_2/control_flow_collections/if_const_error_test/02 language_2/control_flow_collections/if_const_error_test/03 language_2/control_flow_collections/if_const_error_test/04 language_2/control_flow_collections/if_const_error_test/05 language_2/control_flow_collections/if_const_error_test/06 language_2/control_flow_collections/if_const_error_test/07 language_2/control_flow_collections/if_const_error_test/08 language_2/control_flow_collections/if_const_error_test/09 language_2/control_flow_collections/if_const_error_test/10 language_2/control_flow_collections/if_const_error_test/11 language_2/control_flow_collections/if_const_error_test/12 language_2/control_flow_collections/if_const_error_test/13 language_2/control_flow_collections/if_const_error_test/14 language_2/control_flow_collections/if_const_error_test/15 language_2/control_flow_collections/if_const_error_test/16 language_2/control_flow_collections/if_const_error_test/17 language_2/control_flow_collections/if_const_error_test/18 language_2/control_flow_collections/if_const_error_test/19 language_2/control_flow_collections/if_const_error_test/20 language_2/control_flow_collections/if_const_error_test/21 language_2/control_flow_collections/if_const_error_test/22 language_2/control_flow_collections/if_const_error_test/23 language_2/control_flow_collections/for_inference_test language_2/control_flow_collections/for_test language_2/control_flow_collections/for_variable_test language_2/control_flow_collections/if_const_test language_2/control_flow_collections/if_inference_test language_2/control_flow_collections/if_test language_2/control_flow_collections/map_set_ambiguity_test language_2/control_flow_collections/syntax_test language_2/set_literals/invalid_set_literal_test/08 language_2/set_literals/invalid_set_literal_test/09 language_2/set_literals/invalid_set_literal_test/10 language_2/spread_collections/const_test language_2/spread_collections/inference_test language_2/spread_collections/map_set_ambiguity_test language_2/spread_collections/spread_test language_2/spread_collections/syntax_test standalone_2/ffi/data_not_asan_test standalone_2/ffi/data_test standalone_2/ffi/dynamic_library_test standalone_2/ffi/enable_ffi_test standalone_2/ffi/function_callbacks_test standalone_2/ffi/function_structs_test standalone_2/ffi/function_test standalone_2/ffi/structs_test standalone_2/ffi/subtype_test language_2/control_flow_collections/if_inference_test /=================================================================================================\ | language_2/control_flow_collections/if_test is new and failed (CompileTimeError, expected Pass) | \=================================================================================================/ --- Command "vm_compile_to_kernel" (took 641ms): DART_CONFIGURATION=ReleaseX64 /b/s/w/ir/cache/builder/sdk/pkg/vm/tool/gen_kernel --aot --platform=out/ReleaseX64/vm_platform_strong.dill -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartkp/tests_language_2_control_flow_collections_if_test/out.dill /b/s/w/ir/cache/builder/sdk/tests/language_2/control_flow_collections/if_test.dart --enable-experiment=set-literals,control-flow-collections,spread-collections --packages=/b/s/w/ir/cache/builder/sdk/.packages -Ddart.developer.causal_async_stacks=true exit code: 1 stdout: tests/language_2/control_flow_collections/if_test.dart:58:19: Error: Can't find ')' to match '('. Expect.setEquals({1}, [if (true) {1}].first; ^ tests/language_2/control_flow_collections/if_test.dart:57:19: Error: Can't find ')' to match '('. Expect.mapEquals({1: 1}, [if (true) {1: 1}].first; ^ tests/language_2/control_flow_collections/if_test.dart:56:20: Error: Can't find ')' to match '('. Expect.listEquals([1], [if (true) [1]].first; ^ tests/language_2/control_flow_collections/if_test.dart:161:19: Error: Can't find ')' to match '('. Expect.setEquals({1}, {if (true) {1}}.first; ^ tests/language_2/control_flow_collections/if_test.dart:160:19: Error: Can't find ')' to match '('. Expect.mapEquals({1: 1}, {if (true) {1: 1}}.first; ^ tests/language_2/control_flow_collections/if_test.dart:159:20: Error: Can't find ')' to match '('. Expect.listEquals([1], {if (true) [1]}.first; ^ tests/language_2/control_flow_collections/if_test.dart:27:36: Error: Unexpected token 'if'. Expect.listEquals(list, <int>[1, if (true) 2, 3]); ^^ tests/language_2/control_flow_collections/if_test.dart:30:36: Error: Unexpected token 'if'. Expect.listEquals(list, <int>[1, if (false) 9, 2, 3]); ^^ tests/language_2/control_flow_collections/if_test.dart:33:36: Error: Unexpected token 'if'. Expect.listEquals(list, <int>[1, if (false) 9 else 2, 3]); ^^ tests/language_2/control_flow_collections/if_test.dart:36:32: Error: Unexpected token 'if'. Expect.listEquals([1], <int>[if (true) 1]); ^^ tests/language_2/control_flow_collections/if_test.dart:39:33: Error: Unexpected token 'if'. Expect.listEquals(list, <int>[if (true) 1, 2, 3]); ^^ tests/language_2/control_flow_collections/if_test.dart:42:36: Error: Unexpected token 'if'. Expect.listEquals(list, <int>[1, if (true) 2, 3]); ^^ tests/language_2/control_flow_collections/if_test.dart:45:39: Error: Unexpected token 'if'. Expect.listEquals(list, <int>[1, 2, if (true) 3]); ^^ tests/language_2/control_flow_collections/if_test.dart:49:13: Error: Unexpected token 'if'. <int>[if (true) 1, if (false) 9, 2, if (true) 3]); ^^ tests/language_2/control_flow_collections/if_test.dart:49:26: Error: Unexpected token 'if'. <int>[if (true) 1, if (false) 9, 2, if (true) 3]); ^^ tests/language_2/control_flow_collections/if_test.dart:49:43: Error: Unexpected token 'if'. <int>[if (true) 1, if (false) 9, 2, if (true) 3]); ^^ tests/language_2/control_flow_collections/if_test.dart:52:37: Error: Unexpected token 'if'. Expect.listEquals(<int>[1], <int>[if (true as dynamic) 1]); ^^ tests/language_2/control_flow_collections/if_test.dart:53:37: Error: Unexpected token 'if'. Expect.listEquals(<int>[1], <int>[if (true as Object) 1]); ^^ tests/language_2/control_flow_collections/if_test.dart:56:27: Error: Unexpected token 'if'. Expect.listEquals([1], [if (true) [1]].first; ^^ tests/language_2/control_flow_collections/if_test.dart:57:29: Error: Unexpected token 'if'. Expect.mapEquals({1: 1}, [if (true) {1: 1}].first; ^^ tests/language_2/control_flow_collections/if_test.dart:58:26: Error: Unexpected token 'if'. Expect.setEquals({1}, [if (true) {1}].first; ^^ tests/language_2/control_flow_collections/if_test.dart:62:23: Error: Unexpected token '...'. <int>[if (true) ...<int>[1, 2], if (false) 9 else ...<int>[3]]); ^^^ tests/language_2/control_flow_collections/if_test.dart:62:13: Error: Unexpected token 'if'. <int>[if (true) ...<int>[1, 2], if (false) 9 else ...<int>[3]]); ^^ tests/language_2/control_flow_collections/if_test.dart:62:57: Error: Unexpected token '...'. <int>[if (true) ...<int>[1, 2], if (false) 9 else ...<int>[3]]); ^^^ tests/language_2/control_flow_collections/if_test.dart:62:39: Error: Unexpected token 'if'. <int>[if (true) ...<int>[1, 2], if (false) 9 else ...<int>[3]]); ^^ tests/language_2/control_flow_collections/if_test.dart:65:42: Error: Unexpected token 'if'. Expect.listEquals([1], <int>[if (true) if (true) 1, if (true) if (false) 9]); ^^ tests/language_2/control_flow_collections/if_test.dart:65:32: Error: Unexpected token 'if'. Expect.listEquals([1], <int>[if (true) if (true) 1, if (true) if (false) 9]); ^^ tests/language_2/control_flow_collections/if_test.dart:65:65: Error: Unexpected token 'if'. Expect.listEquals([1], <int>[if (true) if (true) 1, if (true) if (false) 9]); ^^ tests/language_2/control_flow_collections/if_test.dart:65:55: Error: Unexpected token 'if'. Expect.listEquals([1], <int>[if (true) if (true) 1, if (true) if (false) 9]); ^^ tests/language_2/control_flow_collections/if_test.dart:68:50: Error: Unexpected token 'if'. Expect.listEquals([1], <int>[if (false) 9 else if (true) 1]); ^^ tests/language_2/control_flow_collections/if_test.dart:68:32: Error: Unexpected token 'if'. Expect.listEquals([1], <int>[if (false) 9 else if (true) 1]); ^^ tests/language_2/control_flow_collections/if_test.dart:71:43: Error: Unexpected token 'for'. Expect.listEquals(list, <int>[if (true) for (var i in list) i]); ^^^ tests/language_2/control_flow_collections/if_test.dart:71:33: Error: Unexpected token 'if'. Expect.listEquals(list, <int>[if (true) for (var i in list) i]); ^^ tests/language_2/control_flow_collections/if_test.dart:74:33: Error: Unexpected token 'if'. Expect.listEquals(list, <int>[if (false) 9 for (var i in list) i]); ^^ tests/language_2/control_flow_collections/if_test.dart:74:46: Error: Expected ',' before this. Expect.listEquals(list, <int>[if (false) 9 for (var i in list) i]); ^^^ tests/language_2/control_flow_collections/if_test.dart:74:55: Error: 'i' is already declared in this scope. Expect.listEquals(list, <int>[if (false) 9 for (var i in list) i]); ^ tests/language_2/control_flow_collections/if_test.dart:71:52: Context: Previous declaration of 'i'. Expect.listEquals(list, <int>[if (true) for (var i in list) i]); ^ tests/language_2/control_flow_collections/if_test.dart:74:46: Error: Unexpected token 'for'. Expect.listEquals(list, <int>[if (false) 9 for (var i in list) i]); ^^^ tests/language_2/control_flow_collections/if_test.dart:62:31: Error: A value of type 'List<int>' can't be assigned to a variable of type 'int'. - 'List' is from 'dart:core'. Try changing the type of the left hand side, or casting the right hand side to 'int'. <int>[if (true) ...<int>[1, 2], if (false) 9 else ...<int>[3]]); ^ tests/language_2/control_flow_collections/if_test.dart:79:42: Error: Unexpected token 'if'. Expect.mapEquals(map, <int, int>{1: 1, if (true) 2: 2, 3: 3}); ^^ tests/language_2/control_flow_collections/if_test.dart:82:42: Error: Unexpected token 'if'. Expect.mapEquals(map, <int, int>{1: 1, if (false) 9: 9, 2: 2, 3: 3}); ^^ tests/language_2/control_flow_collections/if_test.dart:85:42: Error: Unexpected token 'if'. Expect.mapEquals(map, <int, int>{1: 1, if (false) 9: 9 else 2: 2, 3: 3}); ^^ tests/language_2/control_flow_collections/if_test.dart:88:49: Error: Unexpected token 'if'. Expect.mapEquals(<int, int>{1: 1}, <int, int>{if (true) 1: 1}); ^^ tests/language_2/control_flow_collections/if_test.dart:91:36: Error: Unexpected token 'if'. Expect.mapEquals(map, <int, int>{if (true) 1: 1, 2: 2, 3: 3}); ^^ tests/language_2/control_flow_collections/if_test.dart:94:42: Error: Unexpected token 'if'. Expect.mapEquals(map, <int, int>{1: 1, if (true) 2: 2, 3: 3}); ^^ tests/language_2/control_flow_collections/if_test.dart:97:48: Error: Unexpected token 'if'. Expect.mapEquals(map, <int, int>{1: 1, 2: 2, if (true) 3: 3}); ^^ tests/language_2/control_flow_collections/if_test.dart:101:18: Error: Unexpected token 'if'. <int, int>{if (true) 1: 1, if (false) 9: 9, 2: 2, if (true) 3: 3}); ^^ tests/language_2/control_flow_collections/if_test.dart:101:34: Error: Unexpected token 'if'. <int, int>{if (true) 1: 1, if (false) 9: 9, 2: 2, if (true) 3: 3}); ^^ tests/language_2/control_flow_collections/if_test.dart:101:57: Error: Unexpected token 'if'. <int, int>{if (true) 1: 1, if (false) 9: 9, 2: 2, if (true) 3: 3}); ^^ tests/language_2/control_flow_collections/if_test.dart:104:49: Error: Unexpected token 'if'. Expect.mapEquals(<int, int>{1: 1}, <int, int>{if (true as dynamic) 1: 1}); ^^ tests/language_2/control_flow_collections/if_test.dart:105:49: Error: Unexpected token 'if'. Expect.mapEquals(<int, int>{1: 1}, <int, int>{if (true as Object) 1: 1}); ^^ tests/language_2/control_flow_collections/if_test.dart:109:15: Error: Unexpected token '...'. if (true) ...<int, int>{1: 1, 2: 2}, ^^^ tests/language_2/control_flow_collections/if_test.dart:109:5: Error: Unexpected token 'if'. if (true) ...<int, int>{1: 1, 2: 2}, ^^ tests/language_2/control_flow_collections/if_test.dart:110:26: Error: Unexpected token '...'. if (false) 9: 9 else ...<int, int>{3: 3} ^^^ tests/language_2/control_flow_collections/if_test.dart:110:5: Error: Unexpected token 'if'. if (false) 9: 9 else ...<int, int>{3: 3} ^^ tests/language_2/control_flow_collections/if_test.dart:115:28: Error: Unexpected token 'if'. <int, int>{if (true) if (true) 1: 1, if (true) if (false) 9: 9}); ^^ tests/language_2/control_flow_collections/if_test.dart:115:18: Error: Unexpected token 'if'. <int, int>{if (true) if (true) 1: 1, if (true) if (false) 9: 9}); ^^ tests/language_2/control_flow_collections/if_test.dart:115:54: Error: Unexpected token 'if'. <int, int>{if (true) if (true) 1: 1, if (true) if (false) 9: 9}); ^^ tests/language_2/control_flow_collections/if_test.dart:115:44: Error: Unexpected token 'if'. <int, int>{if (true) if (true) 1: 1, if (true) if (false) 9: 9}); ^^ tests/language_2/control_flow_collections/if_test.dart:119:39: Error: Unexpected token 'if'. <int, int>{if (false) 9: 9 else if (true) 1: 1}); ^^ tests/language_2/control_flow_collections/if_test.dart:119:18: Error: Unexpected token 'if'. <int, int>{if (false) 9: 9 else if (true) 1: 1}); ^^ tests/language_2/control_flow_collections/if_test.dart:122:46: Error: Unexpected token 'for'. Expect.mapEquals(map, <int, int>{if (true) for (var i in list) i: i}); ^^^ tests/language_2/control_flow_collections/if_test.dart:122:36: Error: Unexpected token 'if'. Expect.mapEquals(map, <int, int>{if (true) for (var i in list) i: i}); ^^ tests/language_2/control_flow_collections/if_test.dart:125:36: Error: Unexpected token 'if'. Expect.mapEquals(map, <int, int>{if (false) 9: 9 for (var i in list) i: i}); ^^ tests/language_2/control_flow_collections/if_test.dart:125:52: Error: Expected ',' before this. Expect.mapEquals(map, <int, int>{if (false) 9: 9 for (var i in list) i: i}); ^^^ tests/language_2/control_flow_collections/if_test.dart:125:61: Error: 'i' is already declared in this scope. Expect.mapEquals(map, <int, int>{if (false) 9: 9 for (var i in list) i: i}); ^ tests/language_2/control_flow_collections/if_test.dart:122:55: Context: Previous declaration of 'i'. Expect.mapEquals(map, <int, int>{if (true) for (var i in list) i: i}); ^ tests/language_2/control_flow_collections/if_test.dart:125:52: Error: Unexpected token 'for'. Expect.mapEquals(map, <int, int>{if (false) 9: 9 for (var i in list) i: i}); ^^^ tests/language_2/control_flow_collections/if_test.dart:130:34: Error: Unexpected token 'if'. Expect.setEquals(set, <int>{1, if (true) 2, 3}); ^^ tests/language_2/control_flow_collections/if_test.dart:133:34: Error: Unexpected token 'if'. Expect.setEquals(set, <int>{1, if (false) 9, 2, 3}); ^^ tests/language_2/control_flow_collections/if_test.dart:136:34: Error: Unexpected token 'if'. Expect.setEquals(set, <int>{1, if (false) 9 else 2, 3}); ^^ tests/language_2/control_flow_collections/if_test.dart:139:31: Error: Unexpected token 'if'. Expect.setEquals({1}, <int>{if (true) 1}); ^^ tests/language_2/control_flow_collections/if_test.dart:142:31: Error: Unexpected token 'if'. Expect.setEquals(set, <int>{if (true) 1, 2, 3}); ^^ tests/language_2/control_flow_collections/if_test.dart:145:34: Error: Unexpected token 'if'. Expect.setEquals(set, <int>{1, if (true) 2, 3}); ^^ tests/language_2/control_flow_collections/if_test.dart:148:37: Error: Unexpected token 'if'. Expect.setEquals(set, <int>{1, 2, if (true) 3}); ^^ tests/language_2/control_flow_collections/if_test.dart:152:13: Error: Unexpected token 'if'. <int>{if (true) 1, if (false) 9, 2, if (true) 3}); ^^ tests/language_2/control_flow_collections/if_test.dart:152:26: Error: Unexpected token 'if'. <int>{if (true) 1, if (false) 9, 2, if (true) 3}); ^^ tests/language_2/control_flow_collections/if_test.dart:152:43: Error: Unexpected token 'if'. <int>{if (true) 1, if (false) 9, 2, if (true) 3}); ^^ tests/language_2/control_flow_collections/if_test.dart:155:31: Error: Unexpected token 'if'. Expect.setEquals({1}, <int>{if (true as dynamic) 1}); ^^ tests/language_2/control_flow_collections/if_test.dart:156:31: Error: Unexpected token 'if'. Expect.setEquals({1}, <int>{if (true as Object) 1}); ^^ tests/language_2/control_flow_collections/if_test.dart:159:27: Error: Unexpected token 'if'. Expect.listEquals([1], {if (true) [1]}.first; ^^ tests/language_2/control_flow_collections/if_test.dart:160:29: Error: Unexpected token 'if'. Expect.mapEquals({1: 1}, {if (true) {1: 1}}.first; ^^ tests/language_2/control_flow_collections/if_test.dart:161:26: Error: Unexpected token 'if'. Expect.setEquals({1}, {if (true) {1}}.first; ^^ tests/language_2/control_flow_collections/if_test.dart:165:23: Error: Unexpected token '...'. <int>{if (true) ...<int>[1, 2], if (false) 9 else ...<int>[3]}); ^^^ tests/language_2/control_flow_collections/if_test.dart:165:13: Error: Unexpected token 'if'. <int>{if (true) ...<int>[1, 2], if (false) 9 else ...<int>[3]}); ^^ tests/language_2/control_flow_collections/if_test.dart:165:57: Error: Unexpected token '...'. <int>{if (true) ...<int>[1, 2], if (false) 9 else ...<int>[3]}); ^^^ tests/language_2/control_flow_collections/if_test.dart:165:39: Error: Unexpected token 'if'. <int>{if (true) ...<int>[1, 2], if (false) 9 else ...<int>[3]}); ^^ tests/language_2/control_flow_collections/if_test.dart:168:41: Error: Unexpected token 'if'. Expect.setEquals({1}, <int>{if (true) if (true) 1, if (true) if (false) 9}); ^^ tests/language_2/control_flow_collections/if_test.dart:168:31: Error: Unexpected token 'if'. Expect.setEquals({1}, <int>{if (true) if (true) 1, if (true) if (false) 9}); ^^ tests/language_2/control_flow_collections/if_test.dart:168:64: Error: Unexpected token 'if'. Expect.setEquals({1}, <int>{if (true) if (true) 1, if (true) if (false) 9}); ^^ tests/language_2/control_flow_collections/if_test.dart:168:54: Error: Unexpected token 'if'. Expect.setEquals({1}, <int>{if (true) if (true) 1, if (true) if (false) 9}); ^^ tests/language_2/control_flow_collections/if_test.dart:171:49: Error: Unexpected token 'if'. Expect.setEquals({1}, <int>{if (false) 9 else if (true) 1}); ^^ tests/language_2/control_flow_collections/if_test.dart:171:31: Error: Unexpected token 'if'. Expect.setEquals({1}, <int>{if (false) 9 else if (true) 1}); ^^ tests/language_2/control_flow_collections/if_test.dart:174:41: Error: Unexpected token 'for'. Expect.setEquals(set, <int>{if (true) for (var i in list) i}); ^^^ tests/language_2/control_flow_collections/if_test.dart:174:31: Error: Unexpected token 'if'. Expect.setEquals(set, <int>{if (true) for (var i in list) i}); ^^ tests/language_2/control_flow_collections/if_test.dart:177:31: Error: Unexpected token 'if'. Expect.setEquals(set, <int>{if (false) 9 for (var i in list) i}); ^^ tests/language_2/control_flow_collections/if_test.dart:177:44: Error: Expected ',' before this. Expect.setEquals(set, <int>{if (false) 9 for (var i in list) i}); ^^^ tests/language_2/control_flow_collections/if_test.dart:177:53: Error: 'i' is already declared in this scope. Expect.setEquals(set, <int>{if (false) 9 for (var i in list) i}); ^ tests/language_2/control_flow_collections/if_test.dart:174:50: Context: Previous declaration of 'i'. Expect.setEquals(set, <int>{if (true) for (var i in list) i}); ^ tests/language_2/control_flow_collections/if_test.dart:177:44: Error: Unexpected token 'for'. Expect.setEquals(set, <int>{if (false) 9 for (var i in list) i}); ^^^ tests/language_2/control_flow_collections/if_test.dart:165:31: Error: A value of type 'List<int>' can't be assigned to a variable of type 'int'. - 'List' is from 'dart:core'. Try changing the type of the left hand side, or casting the right hand side to 'int'. <int>{if (true) ...<int>[1, 2], if (false) 9 else ...<int>[3]}); ^ tests/language_2/control_flow_collections/if_test.dart:188:27: Error: Unexpected token 'if'. Expect.listEquals([1], [if (true) log(1), if (false) log(2)]); ^^ tests/language_2/control_flow_collections/if_test.dart:188:45: Error: Unexpected token 'if'. Expect.listEquals([1], [if (true) log(1), if (false) log(2)]); ^^ tests/language_2/control_flow_collections/if_test.dart:194:8: Error: Unexpected token 'if'. [if (true) log(1) else log(2), if (false) log(3) else log(4)]); ^^ tests/language_2/control_flow_collections/if_test.dart:194:38: Error: Unexpected token 'if'. [if (true) log(1) else log(2), if (false) log(3) else log(4)]); ^^ tests/language_2/control_flow_collections/if_test.dart:201:5: Error: Unexpected token 'if'. if (true) 1: 1, ^^ tests/language_2/control_flow_collections/if_test.dart:202:5: Error: Unexpected token 'if'. if (false) 9: 9 else 2: 2, ^^ tests/language_2/control_flow_collections/if_test.dart:206:34: Error: Unexpected token 'if'. Expect.setEquals(set, <int>{1, if (true) 1, if (false) 9 else 2, 2, 3}); ^^ tests/language_2/control_flow_collections/if_test.dart:206:47: Error: Unexpected token 'if'. Expect.setEquals(set, <int>{1, if (true) 1, if (false) 9 else 2, 2, 3}); ^^ tests/language_2/control_flow_collections/if_test.dart:218:5: Error: Unexpected token 'if'. if (true) e1b: 0, ^^ tests/language_2/control_flow_collections/if_test.dart:219:5: Error: Unexpected token 'if'. if (true) e2a: 0, ^^ tests/language_2/control_flow_collections/if_test.dart:220:5: Error: Unexpected token 'if'. if (true) e2b: 0 ^^ tests/language_2/control_flow_collections/if_test.dart:226:5: Error: Unexpected token 'if'. if (true) e1b, ^^ tests/language_2/control_flow_collections/if_test.dart:227:5: Error: Unexpected token 'if'. if (true) e2a, ^^ tests/language_2/control_flow_collections/if_test.dart:228:5: Error: Unexpected token 'if'. if (true) e2b ^^ tests/language_2/control_flow_collections/if_test.dart:235:38: Error: Unexpected token 'if'. Expect.throwsCastError(() => <int>[if (nonBool) 1]); ^^ tests/language_2/control_flow_collections/if_test.dart:236:43: Error: Unexpected token 'if'. Expect.throwsCastError(() => <int, int>{if (nonBool) 1: 1}); ^^ tests/language_2/control_flow_collections/if_test.dart:237:38: Error: Unexpected token 'if'. Expect.throwsCastError(() => <int>{if (nonBool) 1}); ^^ tests/language_2/control_flow_collections/if_test.dart:240:43: Error: Unexpected token 'if'. Expect.throwsAssertionError(() => <int>[if (nullBool) 1]); ^^ tests/language_2/control_flow_collections/if_test.dart:241:48: Error: Unexpected token 'if'. Expect.throwsAssertionError(() => <int, int>{if (nullBool) 1: 1}); ^^ tests/language_2/control_flow_collections/if_test.dart:242:43: Error: Unexpected token 'if'. Expect.throwsAssertionError(() => <int>{if (nullBool) 1}); ^^ --- Re-run this test: python tools/test.py -n dartkp-linux-release-x64 --repeat 5 --tests language_2/control_flow_collections/experimental_flag_test/01 language_2/control_flow_collections/experimental_flag_test/02 language_2/control_flow_collections/experimental_flag_test/03 language_2/control_flow_collections/experimental_flag_test/04 language_2/control_flow_collections/experimental_flag_test/05 language_2/control_flow_collections/experimental_flag_test/06 language_2/control_flow_collections/experimental_flag_test/07 language_2/control_flow_collections/experimental_flag_test/08 language_2/control_flow_collections/experimental_flag_test/09 language_2/control_flow_collections/experimental_flag_test/10 language_2/control_flow_collections/experimental_flag_test/11 language_2/control_flow_collections/experimental_flag_test/12 language_2/control_flow_collections/experimental_flag_test/13 language_2/control_flow_collections/experimental_flag_test/14 language_2/control_flow_collections/experimental_flag_test/15 language_2/control_flow_collections/experimental_flag_test/none language_2/control_flow_collections/for_const_test/00 language_2/control_flow_collections/for_const_test/01 language_2/control_flow_collections/for_const_test/02 language_2/control_flow_collections/for_const_test/03 language_2/control_flow_collections/for_const_test/04 language_2/control_flow_collections/for_const_test/05 language_2/control_flow_collections/for_const_test/06 language_2/control_flow_collections/for_const_test/07 language_2/control_flow_collections/for_const_test/08 language_2/control_flow_collections/for_const_test/none language_2/control_flow_collections/if_const_error_test/01 language_2/control_flow_collections/if_const_error_test/02 language_2/control_flow_collections/if_const_error_test/03 language_2/control_flow_collections/if_const_error_test/04 language_2/control_flow_collections/if_const_error_test/05 language_2/control_flow_collections/if_const_error_test/06 language_2/control_flow_collections/if_const_error_test/07 language_2/control_flow_collections/if_const_error_test/08 language_2/control_flow_collections/if_const_error_test/09 language_2/control_flow_collections/if_const_error_test/10 language_2/control_flow_collections/if_const_error_test/11 language_2/control_flow_collections/if_const_error_test/12 language_2/control_flow_collections/if_const_error_test/13 language_2/control_flow_collections/if_const_error_test/14 language_2/control_flow_collections/if_const_error_test/15 language_2/control_flow_collections/if_const_error_test/16 language_2/control_flow_collections/if_const_error_test/17 language_2/control_flow_collections/if_const_error_test/18 language_2/control_flow_collections/if_const_error_test/19 language_2/control_flow_collections/if_const_error_test/20 language_2/control_flow_collections/if_const_error_test/21 language_2/control_flow_collections/if_const_error_test/22 language_2/control_flow_collections/if_const_error_test/23 language_2/control_flow_collections/for_inference_test language_2/control_flow_collections/for_test language_2/control_flow_collections/for_variable_test language_2/control_flow_collections/if_const_test language_2/control_flow_collections/if_inference_test language_2/control_flow_collections/if_test language_2/control_flow_collections/map_set_ambiguity_test language_2/control_flow_collections/syntax_test language_2/set_literals/invalid_set_literal_test/08 language_2/set_literals/invalid_set_literal_test/09 language_2/set_literals/invalid_set_literal_test/10 language_2/spread_collections/const_test language_2/spread_collections/inference_test language_2/spread_collections/map_set_ambiguity_test language_2/spread_collections/spread_test language_2/spread_collections/syntax_test standalone_2/ffi/data_not_asan_test standalone_2/ffi/data_test standalone_2/ffi/dynamic_library_test standalone_2/ffi/enable_ffi_test standalone_2/ffi/function_callbacks_test standalone_2/ffi/function_structs_test standalone_2/ffi/function_test standalone_2/ffi/structs_test standalone_2/ffi/subtype_test language_2/control_flow_collections/if_test /================================================================================================================\ | language_2/control_flow_collections/map_set_ambiguity_test is new and failed (CompileTimeError, expected Pass) | \================================================================================================================/ --- Command "vm_compile_to_kernel" (took 376ms): DART_CONFIGURATION=ReleaseX64 /b/s/w/ir/cache/builder/sdk/pkg/vm/tool/gen_kernel --aot --platform=out/ReleaseX64/vm_platform_strong.dill -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartkp/tests_language_2_control_flow_collections_map_set_ambiguity_test/out.dill /b/s/w/ir/cache/builder/sdk/tests/language_2/control_flow_collections/map_set_ambiguity_test.dart --enable-experiment=set-literals,control-flow-collections,spread-collections --packages=/b/s/w/ir/cache/builder/sdk/.packages -Ddart.developer.causal_async_stacks=true exit code: 1 stdout: tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:28:36: Error: Unexpected token '...'. expectMapOf<int, int>({if (true) ...map}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:28:26: Error: Unexpected token 'if'. expectMapOf<int, int>({if (true) ...map}); ^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:29:31: Error: Unexpected token '...'. expectSetOf<int>({if (true) ...set}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:29:21: Error: Unexpected token 'if'. expectSetOf<int>({if (true) ...set}); ^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:31:31: Error: Unexpected token '...'. expectSetOf<int>({if (true) ...iterable}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:31:21: Error: Unexpected token 'if'. expectSetOf<int>({if (true) ...iterable}); ^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:32:31: Error: Unexpected token '...'. expectSetOf<int>({if (true) ...customSet}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:32:21: Error: Unexpected token 'if'. expectSetOf<int>({if (true) ...customSet}); ^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:33:36: Error: Unexpected token '...'. expectMapOf<int, int>({if (true) ...customMap}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:33:26: Error: Unexpected token 'if'. expectMapOf<int, int>({if (true) ...customMap}); ^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:35:36: Error: Unexpected token '...'. expectMapOf<int, int>({if (true) ...map else ...map}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:35:48: Error: Unexpected token '...'. expectMapOf<int, int>({if (true) ...map else ...map}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:35:26: Error: Unexpected token 'if'. expectMapOf<int, int>({if (true) ...map else ...map}); ^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:37:44: Error: Unexpected token '...'. expectMapOf<dynamic, dynamic>({if (true) ...map else ...dyn}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:37:56: Error: Unexpected token '...'. expectMapOf<dynamic, dynamic>({if (true) ...map else ...dyn}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:37:34: Error: Unexpected token 'if'. expectMapOf<dynamic, dynamic>({if (true) ...map else ...dyn}); ^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:40:36: Error: Unexpected token '...'. expectMapOf<int, int>({if (true) ...map else ...customMap}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:40:48: Error: Unexpected token '...'. expectMapOf<int, int>({if (true) ...map else ...customMap}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:40:26: Error: Unexpected token 'if'. expectMapOf<int, int>({if (true) ...map else ...customMap}); ^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:42:31: Error: Unexpected token '...'. expectSetOf<int>({if (true) ...set else ...set}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:42:43: Error: Unexpected token '...'. expectSetOf<int>({if (true) ...set else ...set}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:42:21: Error: Unexpected token 'if'. expectSetOf<int>({if (true) ...set else ...set}); ^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:43:35: Error: Unexpected token '...'. expectSetOf<dynamic>({if (true) ...set else ...dyn}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:43:47: Error: Unexpected token '...'. expectSetOf<dynamic>({if (true) ...set else ...dyn}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:43:25: Error: Unexpected token 'if'. expectSetOf<dynamic>({if (true) ...set else ...dyn}); ^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:44:31: Error: Unexpected token '...'. expectSetOf<int>({if (true) ...set else ...iterable}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:44:43: Error: Unexpected token '...'. expectSetOf<int>({if (true) ...set else ...iterable}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:44:21: Error: Unexpected token 'if'. expectSetOf<int>({if (true) ...set else ...iterable}); ^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:45:31: Error: Unexpected token '...'. expectSetOf<int>({if (true) ...set else ...customSet}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:45:43: Error: Unexpected token '...'. expectSetOf<int>({if (true) ...set else ...customSet}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:45:21: Error: Unexpected token 'if'. expectSetOf<int>({if (true) ...set else ...customSet}); ^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:49:35: Error: Unexpected token '...'. expectSetOf<dynamic>({if (true) ...dyn else ...iterable}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:49:47: Error: Unexpected token '...'. expectSetOf<dynamic>({if (true) ...dyn else ...iterable}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:49:25: Error: Unexpected token 'if'. expectSetOf<dynamic>({if (true) ...dyn else ...iterable}); ^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:50:35: Error: Unexpected token '...'. expectSetOf<dynamic>({if (true) ...dyn else ...customSet}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:50:47: Error: Unexpected token '...'. expectSetOf<dynamic>({if (true) ...dyn else ...customSet}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:50:25: Error: Unexpected token 'if'. expectSetOf<dynamic>({if (true) ...dyn else ...customSet}); ^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:51:44: Error: Unexpected token '...'. expectMapOf<dynamic, dynamic>({if (true) ...dyn else ...customMap}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:51:56: Error: Unexpected token '...'. expectMapOf<dynamic, dynamic>({if (true) ...dyn else ...customMap}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:51:34: Error: Unexpected token 'if'. expectMapOf<dynamic, dynamic>({if (true) ...dyn else ...customMap}); ^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:53:31: Error: Unexpected token '...'. expectSetOf<int>({if (true) ...iterable else ...iterable}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:53:48: Error: Unexpected token '...'. expectSetOf<int>({if (true) ...iterable else ...iterable}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:53:21: Error: Unexpected token 'if'. expectSetOf<int>({if (true) ...iterable else ...iterable}); ^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:54:31: Error: Unexpected token '...'. expectSetOf<int>({if (true) ...iterable else ...customSet}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:54:48: Error: Unexpected token '...'. expectSetOf<int>({if (true) ...iterable else ...customSet}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:54:21: Error: Unexpected token 'if'. expectSetOf<int>({if (true) ...iterable else ...customSet}); ^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:57:31: Error: Unexpected token '...'. expectSetOf<int>({if (true) ...customSet else ...customSet}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:57:49: Error: Unexpected token '...'. expectSetOf<int>({if (true) ...customSet else ...customSet}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:57:21: Error: Unexpected token 'if'. expectSetOf<int>({if (true) ...customSet else ...customSet}); ^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:60:36: Error: Unexpected token '...'. expectMapOf<int, int>({if (true) ...customMap else ...customMap}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:60:54: Error: Unexpected token '...'. expectMapOf<int, int>({if (true) ...customMap else ...customMap}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:60:26: Error: Unexpected token 'if'. expectMapOf<int, int>({if (true) ...customMap else ...customMap}); ^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:64:41: Error: Unexpected token '...'. expectMapOf<int, int>({for (; false;) ...map}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:64:26: Error: Unexpected token 'for'. expectMapOf<int, int>({for (; false;) ...map}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:65:36: Error: Unexpected token '...'. expectSetOf<int>({for (; false;) ...set}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:65:21: Error: Unexpected token 'for'. expectSetOf<int>({for (; false;) ...set}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:67:36: Error: Unexpected token '...'. expectSetOf<int>({for (; false;) ...iterable}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:67:21: Error: Unexpected token 'for'. expectSetOf<int>({for (; false;) ...iterable}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:68:36: Error: Unexpected token '...'. expectSetOf<int>({for (; false;) ...customSet}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:68:21: Error: Unexpected token 'for'. expectSetOf<int>({for (; false;) ...customSet}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:69:41: Error: Unexpected token '...'. expectMapOf<int, int>({for (; false;) ...customMap}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:69:26: Error: Unexpected token 'for'. expectMapOf<int, int>({for (; false;) ...customMap}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:71:41: Error: Unexpected token '...'. expectMapOf<int, int>({for (; false;) ...map, for (; false;) ...map}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:71:26: Error: Unexpected token 'for'. expectMapOf<int, int>({for (; false;) ...map, for (; false;) ...map}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:71:64: Error: Unexpected token '...'. expectMapOf<int, int>({for (; false;) ...map, for (; false;) ...map}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:71:49: Error: Unexpected token 'for'. expectMapOf<int, int>({for (; false;) ...map, for (; false;) ...map}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:74:23: Error: Unexpected token '...'. {for (; false;) ...map, for (; false;) ...dyn}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:74:8: Error: Unexpected token 'for'. {for (; false;) ...map, for (; false;) ...dyn}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:74:46: Error: Unexpected token '...'. {for (; false;) ...map, for (; false;) ...dyn}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:74:31: Error: Unexpected token 'for'. {for (; false;) ...map, for (; false;) ...dyn}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:78:23: Error: Unexpected token '...'. {for (; false;) ...map, for (; false;) ...customMap}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:78:8: Error: Unexpected token 'for'. {for (; false;) ...map, for (; false;) ...customMap}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:78:46: Error: Unexpected token '...'. {for (; false;) ...map, for (; false;) ...customMap}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:78:31: Error: Unexpected token 'for'. {for (; false;) ...map, for (; false;) ...customMap}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:80:36: Error: Unexpected token '...'. expectSetOf<int>({for (; false;) ...set, for (; false;) ...set}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:80:21: Error: Unexpected token 'for'. expectSetOf<int>({for (; false;) ...set, for (; false;) ...set}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:80:59: Error: Unexpected token '...'. expectSetOf<int>({for (; false;) ...set, for (; false;) ...set}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:80:44: Error: Unexpected token 'for'. expectSetOf<int>({for (; false;) ...set, for (; false;) ...set}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:81:40: Error: Unexpected token '...'. expectSetOf<dynamic>({for (; false;) ...set, for (; false;) ...dyn}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:81:25: Error: Unexpected token 'for'. expectSetOf<dynamic>({for (; false;) ...set, for (; false;) ...dyn}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:81:63: Error: Unexpected token '...'. expectSetOf<dynamic>({for (; false;) ...set, for (; false;) ...dyn}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:81:48: Error: Unexpected token 'for'. expectSetOf<dynamic>({for (; false;) ...set, for (; false;) ...dyn}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:82:36: Error: Unexpected token '...'. expectSetOf<int>({for (; false;) ...set, for (; false;) ...iterable}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:82:21: Error: Unexpected token 'for'. expectSetOf<int>({for (; false;) ...set, for (; false;) ...iterable}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:82:59: Error: Unexpected token '...'. expectSetOf<int>({for (; false;) ...set, for (; false;) ...iterable}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:82:44: Error: Unexpected token 'for'. expectSetOf<int>({for (; false;) ...set, for (; false;) ...iterable}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:83:36: Error: Unexpected token '...'. expectSetOf<int>({for (; false;) ...set, for (; false;) ...customSet}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:83:21: Error: Unexpected token 'for'. expectSetOf<int>({for (; false;) ...set, for (; false;) ...customSet}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:83:59: Error: Unexpected token '...'. expectSetOf<int>({for (; false;) ...set, for (; false;) ...customSet}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:83:44: Error: Unexpected token 'for'. expectSetOf<int>({for (; false;) ...set, for (; false;) ...customSet}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:88:23: Error: Unexpected token '...'. {for (; false;) ...dyn, for (; false;) ...iterable}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:88:8: Error: Unexpected token 'for'. {for (; false;) ...dyn, for (; false;) ...iterable}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:88:46: Error: Unexpected token '...'. {for (; false;) ...dyn, for (; false;) ...iterable}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:88:31: Error: Unexpected token 'for'. {for (; false;) ...dyn, for (; false;) ...iterable}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:90:23: Error: Unexpected token '...'. {for (; false;) ...dyn, for (; false;) ...customSet}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:90:8: Error: Unexpected token 'for'. {for (; false;) ...dyn, for (; false;) ...customSet}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:90:46: Error: Unexpected token '...'. {for (; false;) ...dyn, for (; false;) ...customSet}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:90:31: Error: Unexpected token 'for'. {for (; false;) ...dyn, for (; false;) ...customSet}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:92:23: Error: Unexpected token '...'. {for (; false;) ...dyn, for (; false;) ...customMap}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:92:8: Error: Unexpected token 'for'. {for (; false;) ...dyn, for (; false;) ...customMap}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:92:46: Error: Unexpected token '...'. {for (; false;) ...dyn, for (; false;) ...customMap}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:92:31: Error: Unexpected token 'for'. {for (; false;) ...dyn, for (; false;) ...customMap}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:95:23: Error: Unexpected token '...'. {for (; false;) ...iterable, for (; false;) ...iterable}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:95:8: Error: Unexpected token 'for'. {for (; false;) ...iterable, for (; false;) ...iterable}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:95:51: Error: Unexpected token '...'. {for (; false;) ...iterable, for (; false;) ...iterable}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:95:36: Error: Unexpected token 'for'. {for (; false;) ...iterable, for (; false;) ...iterable}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:97:23: Error: Unexpected token '...'. {for (; false;) ...iterable, for (; false;) ...customSet}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:97:8: Error: Unexpected token 'for'. {for (; false;) ...iterable, for (; false;) ...customSet}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:97:51: Error: Unexpected token '...'. {for (; false;) ...iterable, for (; false;) ...customSet}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:97:36: Error: Unexpected token 'for'. {for (; false;) ...iterable, for (; false;) ...customSet}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:102:23: Error: Unexpected token '...'. {for (; false;) ...customSet, for (; false;) ...customSet}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:102:8: Error: Unexpected token 'for'. {for (; false;) ...customSet, for (; false;) ...customSet}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:102:52: Error: Unexpected token '...'. {for (; false;) ...customSet, for (; false;) ...customSet}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:102:37: Error: Unexpected token 'for'. {for (; false;) ...customSet, for (; false;) ...customSet}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:107:23: Error: Unexpected token '...'. {for (; false;) ...customMap, for (; false;) ...customMap}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:107:8: Error: Unexpected token 'for'. {for (; false;) ...customMap, for (; false;) ...customMap}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:107:52: Error: Unexpected token '...'. {for (; false;) ...customMap, for (; false;) ...customMap}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:107:37: Error: Unexpected token 'for'. {for (; false;) ...customMap, for (; false;) ...customMap}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:114:34: Error: Unexpected token '...'. Map<int, int> map = {if (true) ...untypedMap}; ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:114:24: Error: Unexpected token 'if'. Map<int, int> map = {if (true) ...untypedMap}; ^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:115:29: Error: Unexpected token '...'. Set<int> set = {if (true) ...untypedIterable}; ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:115:19: Error: Unexpected token 'if'. Set<int> set = {if (true) ...untypedIterable}; ^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:116:39: Error: Unexpected token '...'. Iterable<int> iterable = {if (true) ...untypedIterable}; ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:116:29: Error: Unexpected token 'if'. Iterable<int> iterable = {if (true) ...untypedIterable}; ^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:122:25: Error: Unexpected token '...'. map = {for (; false;) ...untypedMap}; ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:122:10: Error: Unexpected token 'for'. map = {for (; false;) ...untypedMap}; ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:123:25: Error: Unexpected token '...'. set = {for (; false;) ...untypedIterable}; ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:123:10: Error: Unexpected token 'for'. set = {for (; false;) ...untypedIterable}; ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:124:30: Error: Unexpected token '...'. iterable = {for (; false;) ...untypedIterable}; ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:124:15: Error: Unexpected token 'for'. iterable = {for (; false;) ...untypedIterable}; ^^^ --- Re-run this test: python tools/test.py -n dartkp-linux-release-x64 --repeat 5 --tests language_2/control_flow_collections/experimental_flag_test/01 language_2/control_flow_collections/experimental_flag_test/02 language_2/control_flow_collections/experimental_flag_test/03 language_2/control_flow_collections/experimental_flag_test/04 language_2/control_flow_collections/experimental_flag_test/05 language_2/control_flow_collections/experimental_flag_test/06 language_2/control_flow_collections/experimental_flag_test/07 language_2/control_flow_collections/experimental_flag_test/08 language_2/control_flow_collections/experimental_flag_test/09 language_2/control_flow_collections/experimental_flag_test/10 language_2/control_flow_collections/experimental_flag_test/11 language_2/control_flow_collections/experimental_flag_test/12 language_2/control_flow_collections/experimental_flag_test/13 language_2/control_flow_collections/experimental_flag_test/14 language_2/control_flow_collections/experimental_flag_test/15 language_2/control_flow_collections/experimental_flag_test/none language_2/control_flow_collections/for_const_test/00 language_2/control_flow_collections/for_const_test/01 language_2/control_flow_collections/for_const_test/02 language_2/control_flow_collections/for_const_test/03 language_2/control_flow_collections/for_const_test/04 language_2/control_flow_collections/for_const_test/05 language_2/control_flow_collections/for_const_test/06 language_2/control_flow_collections/for_const_test/07 language_2/control_flow_collections/for_const_test/08 language_2/control_flow_collections/for_const_test/none language_2/control_flow_collections/if_const_error_test/01 language_2/control_flow_collections/if_const_error_test/02 language_2/control_flow_collections/if_const_error_test/03 language_2/control_flow_collections/if_const_error_test/04 language_2/control_flow_collections/if_const_error_test/05 language_2/control_flow_collections/if_const_error_test/06 language_2/control_flow_collections/if_const_error_test/07 language_2/control_flow_collections/if_const_error_test/08 language_2/control_flow_collections/if_const_error_test/09 language_2/control_flow_collections/if_const_error_test/10 language_2/control_flow_collections/if_const_error_test/11 language_2/control_flow_collections/if_const_error_test/12 language_2/control_flow_collections/if_const_error_test/13 language_2/control_flow_collections/if_const_error_test/14 language_2/control_flow_collections/if_const_error_test/15 language_2/control_flow_collections/if_const_error_test/16 language_2/control_flow_collections/if_const_error_test/17 language_2/control_flow_collections/if_const_error_test/18 language_2/control_flow_collections/if_const_error_test/19 language_2/control_flow_collections/if_const_error_test/20 language_2/control_flow_collections/if_const_error_test/21 language_2/control_flow_collections/if_const_error_test/22 language_2/control_flow_collections/if_const_error_test/23 language_2/control_flow_collections/for_inference_test language_2/control_flow_collections/for_test language_2/control_flow_collections/for_variable_test language_2/control_flow_collections/if_const_test language_2/control_flow_collections/if_inference_test language_2/control_flow_collections/if_test language_2/control_flow_collections/map_set_ambiguity_test language_2/control_flow_collections/syntax_test language_2/set_literals/invalid_set_literal_test/08 language_2/set_literals/invalid_set_literal_test/09 language_2/set_literals/invalid_set_literal_test/10 language_2/spread_collections/const_test language_2/spread_collections/inference_test language_2/spread_collections/map_set_ambiguity_test language_2/spread_collections/spread_test language_2/spread_collections/syntax_test standalone_2/ffi/data_not_asan_test standalone_2/ffi/data_test standalone_2/ffi/dynamic_library_test standalone_2/ffi/enable_ffi_test standalone_2/ffi/function_callbacks_test standalone_2/ffi/function_structs_test standalone_2/ffi/function_test standalone_2/ffi/structs_test standalone_2/ffi/subtype_test language_2/control_flow_collections/map_set_ambiguity_test /=====================================================================================================\ | language_2/control_flow_collections/syntax_test is new and failed (CompileTimeError, expected Pass) | \=====================================================================================================/ --- Command "vm_compile_to_kernel" (took 449ms): DART_CONFIGURATION=ReleaseX64 /b/s/w/ir/cache/builder/sdk/pkg/vm/tool/gen_kernel --aot --platform=out/ReleaseX64/vm_platform_strong.dill -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartkp/tests_language_2_control_flow_collections_syntax_test/out.dill /b/s/w/ir/cache/builder/sdk/tests/language_2/control_flow_collections/syntax_test.dart --enable-experiment=set-literals,control-flow-collections --packages=/b/s/w/ir/cache/builder/sdk/.packages -Ddart.developer.causal_async_stacks=true exit code: 1 stdout: tests/language_2/control_flow_collections/syntax_test.dart:12:27: Error: Unexpected token 'if'. Expect.listEquals([1], [if (true) 1,]); ^^ tests/language_2/control_flow_collections/syntax_test.dart:13:29: Error: Unexpected token 'if'. Expect.mapEquals({1: 1}, {if (true) 1: 1,}); ^^ tests/language_2/control_flow_collections/syntax_test.dart:14:26: Error: Unexpected token 'if'. Expect.setEquals({1}, {if (true) 1,}); ^^ tests/language_2/control_flow_collections/syntax_test.dart:17:27: Error: Unexpected token 'if'. Expect.listEquals([1], [if (true) 1 else 2,]); ^^ tests/language_2/control_flow_collections/syntax_test.dart:18:29: Error: Unexpected token 'if'. Expect.mapEquals({1: 1}, {if (true) 1: 1 else 2: 2,}); ^^ tests/language_2/control_flow_collections/syntax_test.dart:19:26: Error: Unexpected token 'if'. Expect.setEquals({1}, {if (true) 1 else 2,}); ^^ tests/language_2/control_flow_collections/syntax_test.dart:22:30: Error: Unexpected token 'for'. Expect.listEquals([1], [1, for (; false;) 2,]); ^^^ tests/language_2/control_flow_collections/syntax_test.dart:23:35: Error: Unexpected token 'for'. Expect.mapEquals({1: 1}, {1: 1, for (; false;) 2: 2,}); ^^^ tests/language_2/control_flow_collections/syntax_test.dart:24:29: Error: Unexpected token 'for'. Expect.setEquals({1}, {1, for (; false;) 2,}); ^^^ tests/language_2/control_flow_collections/syntax_test.dart:27:48: Error: Expected an identifier, but got 'else'. Expect.listEquals([1], [if (true) if (false) else 1]); ^^^^ tests/language_2/control_flow_collections/syntax_test.dart:27:37: Error: Unexpected token 'if'. Expect.listEquals([1], [if (true) if (false) else 1]); ^^ tests/language_2/control_flow_collections/syntax_test.dart:27:27: Error: Unexpected token 'if'. Expect.listEquals([1], [if (true) if (false) else 1]); ^^ tests/language_2/control_flow_collections/syntax_test.dart:28:48: Error: Expected an identifier, but got 'else'. Expect.listEquals([1], [if (true) if (false) else 1 else 2]); ^^^^ tests/language_2/control_flow_collections/syntax_test.dart:28:37: Error: Unexpected token 'if'. Expect.listEquals([1], [if (true) if (false) else 1 else 2]); ^^ tests/language_2/control_flow_collections/syntax_test.dart:28:27: Error: Unexpected token 'if'. Expect.listEquals([1], [if (true) if (false) else 1 else 2]); ^^ tests/language_2/control_flow_collections/syntax_test.dart:29:49: Error: Expected an identifier, but got 'else'. Expect.listEquals([2], [if (false) if (false) else 1 else 2]); ^^^^ tests/language_2/control_flow_collections/syntax_test.dart:29:38: Error: Unexpected token 'if'. Expect.listEquals([2], [if (false) if (false) else 1 else 2]); ^^ tests/language_2/control_flow_collections/syntax_test.dart:29:27: Error: Unexpected token 'if'. Expect.listEquals([2], [if (false) if (false) else 1 else 2]); ^^ tests/language_2/control_flow_collections/syntax_test.dart:32:36: Error: Unexpected token 'if'. Expect.listEquals([1, 2, 3], [1, if (true) true ? 2 : 0, 3]); ^^ tests/language_2/control_flow_collections/syntax_test.dart:34:36: Error: Unexpected token 'if'. Expect.listEquals([1, 2, 3], [1, if (true) a = 2, 3]); ^^ tests/language_2/control_flow_collections/syntax_test.dart:37:36: Error: Unexpected token 'if'. Expect.listEquals([1, 2, 3], [1, if (false) 0 else true ? 2 : 0, 3]); ^^ tests/language_2/control_flow_collections/syntax_test.dart:38:7: Error: 'a' is already declared in this scope. var a = 0; ^ tests/language_2/control_flow_collections/syntax_test.dart:33:7: Context: Previous declaration of 'a'. var a = 0; ^ tests/language_2/control_flow_collections/syntax_test.dart:39:36: Error: Unexpected token 'if'. Expect.listEquals([1, 2, 3], [1, if (false) 0 else a = 2, 3]); ^^ tests/language_2/control_flow_collections/syntax_test.dart:43:11: Error: Unexpected token 'for'. [1, for (var i = 0; i < 1; i++) true ? 2 : 0, 3]); ^^^ tests/language_2/control_flow_collections/syntax_test.dart:44:7: Error: 'a' is already declared in this scope. var a = 0; ^ tests/language_2/control_flow_collections/syntax_test.dart:33:7: Context: Previous declaration of 'a'. var a = 0; ^ tests/language_2/control_flow_collections/syntax_test.dart:45:45: Error: 'i' is already declared in this scope. Expect.listEquals([1, 2, 3], [1, for (var i = 0; i < 1; i++) a = 2, 3]); ^ tests/language_2/control_flow_collections/syntax_test.dart:43:20: Context: Previous declaration of 'i'. [1, for (var i = 0; i < 1; i++) true ? 2 : 0, 3]); ^ tests/language_2/control_flow_collections/syntax_test.dart:45:36: Error: Unexpected token 'for'. Expect.listEquals([1, 2, 3], [1, for (var i = 0; i < 1; i++) a = 2, 3]); ^^^ --- Re-run this test: python tools/test.py -n dartkp-linux-release-x64 --repeat 5 --tests language_2/control_flow_collections/experimental_flag_test/01 language_2/control_flow_collections/experimental_flag_test/02 language_2/control_flow_collections/experimental_flag_test/03 language_2/control_flow_collections/experimental_flag_test/04 language_2/control_flow_collections/experimental_flag_test/05 language_2/control_flow_collections/experimental_flag_test/06 language_2/control_flow_collections/experimental_flag_test/07 language_2/control_flow_collections/experimental_flag_test/08 language_2/control_flow_collections/experimental_flag_test/09 language_2/control_flow_collections/experimental_flag_test/10 language_2/control_flow_collections/experimental_flag_test/11 language_2/control_flow_collections/experimental_flag_test/12 language_2/control_flow_collections/experimental_flag_test/13 language_2/control_flow_collections/experimental_flag_test/14 language_2/control_flow_collections/experimental_flag_test/15 language_2/control_flow_collections/experimental_flag_test/none language_2/control_flow_collections/for_const_test/00 language_2/control_flow_collections/for_const_test/01 language_2/control_flow_collections/for_const_test/02 language_2/control_flow_collections/for_const_test/03 language_2/control_flow_collections/for_const_test/04 language_2/control_flow_collections/for_const_test/05 language_2/control_flow_collections/for_const_test/06 language_2/control_flow_collections/for_const_test/07 language_2/control_flow_collections/for_const_test/08 language_2/control_flow_collections/for_const_test/none language_2/control_flow_collections/if_const_error_test/01 language_2/control_flow_collections/if_const_error_test/02 language_2/control_flow_collections/if_const_error_test/03 language_2/control_flow_collections/if_const_error_test/04 language_2/control_flow_collections/if_const_error_test/05 language_2/control_flow_collections/if_const_error_test/06 language_2/control_flow_collections/if_const_error_test/07 language_2/control_flow_collections/if_const_error_test/08 language_2/control_flow_collections/if_const_error_test/09 language_2/control_flow_collections/if_const_error_test/10 language_2/control_flow_collections/if_const_error_test/11 language_2/control_flow_collections/if_const_error_test/12 language_2/control_flow_collections/if_const_error_test/13 language_2/control_flow_collections/if_const_error_test/14 language_2/control_flow_collections/if_const_error_test/15 language_2/control_flow_collections/if_const_error_test/16 language_2/control_flow_collections/if_const_error_test/17 language_2/control_flow_collections/if_const_error_test/18 language_2/control_flow_collections/if_const_error_test/19 language_2/control_flow_collections/if_const_error_test/20 language_2/control_flow_collections/if_const_error_test/21 language_2/control_flow_collections/if_const_error_test/22 language_2/control_flow_collections/if_const_error_test/23 language_2/control_flow_collections/for_inference_test language_2/control_flow_collections/for_test language_2/control_flow_collections/for_variable_test language_2/control_flow_collections/if_const_test language_2/control_flow_collections/if_inference_test language_2/control_flow_collections/if_test language_2/control_flow_collections/map_set_ambiguity_test language_2/control_flow_collections/syntax_test language_2/set_literals/invalid_set_literal_test/08 language_2/set_literals/invalid_set_literal_test/09 language_2/set_literals/invalid_set_literal_test/10 language_2/spread_collections/const_test language_2/spread_collections/inference_test language_2/spread_collections/map_set_ambiguity_test language_2/spread_collections/spread_test language_2/spread_collections/syntax_test standalone_2/ffi/data_not_asan_test standalone_2/ffi/data_test standalone_2/ffi/dynamic_library_test standalone_2/ffi/enable_ffi_test standalone_2/ffi/function_callbacks_test standalone_2/ffi/function_structs_test standalone_2/ffi/function_test standalone_2/ffi/structs_test standalone_2/ffi/subtype_test language_2/control_flow_collections/syntax_test /=========================================================================================================\ | language_2/set_literals/invalid_set_literal_test/08 is new and failed (Pass, expected CompileTimeError) | \=========================================================================================================/ --- Command "vm_compile_to_kernel" (took 02.000704s): DART_CONFIGURATION=ReleaseX64 /b/s/w/ir/cache/builder/sdk/pkg/vm/tool/gen_kernel --aot --platform=out/ReleaseX64/vm_platform_strong.dill -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartkp/multitest_language_2_set_literals_invalid_set_literal_test_08/out.dill /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_tests/language_2/set_literals/invalid_set_literal_test_08.dart --enable-experiment=set-literals --packages=/b/s/w/ir/cache/builder/sdk/.packages -Ddart.developer.causal_async_stacks=true exit code: 0 --- Command "precompiler" (took 04.000539s): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/gen_snapshot --snapshot-kind=app-aot-assembly --assembly=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartkp/multitest_language_2_set_literals_invalid_set_literal_test_08/out.S --enable-experiment=set-literals --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartkp/multitest_language_2_set_literals_invalid_set_literal_test_08/out.dill exit code: 0 --- Command "remove_kernel_file" (took 29ms): DART_CONFIGURATION=ReleaseX64 rm /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartkp/multitest_language_2_set_literals_invalid_set_literal_test_08/out.dill exit code: 0 --- Command "assemble" (took 01.000828s): DART_CONFIGURATION=ReleaseX64 gcc -m64 -shared -nostdlib -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartkp/multitest_language_2_set_literals_invalid_set_literal_test_08/out.aotsnapshot /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartkp/multitest_language_2_set_literals_invalid_set_literal_test_08/out.S exit code: 0 --- Command "remove_assembly" (took 26ms): DART_CONFIGURATION=ReleaseX64 rm /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartkp/multitest_language_2_set_literals_invalid_set_literal_test_08/out.S exit code: 0 --- Re-run this test: python tools/test.py -n dartkp-linux-release-x64 --repeat 5 --tests language_2/control_flow_collections/experimental_flag_test/01 language_2/control_flow_collections/experimental_flag_test/02 language_2/control_flow_collections/experimental_flag_test/03 language_2/control_flow_collections/experimental_flag_test/04 language_2/control_flow_collections/experimental_flag_test/05 language_2/control_flow_collections/experimental_flag_test/06 language_2/control_flow_collections/experimental_flag_test/07 language_2/control_flow_collections/experimental_flag_test/08 language_2/control_flow_collections/experimental_flag_test/09 language_2/control_flow_collections/experimental_flag_test/10 language_2/control_flow_collections/experimental_flag_test/11 language_2/control_flow_collections/experimental_flag_test/12 language_2/control_flow_collections/experimental_flag_test/13 language_2/control_flow_collections/experimental_flag_test/14 language_2/control_flow_collections/experimental_flag_test/15 language_2/control_flow_collections/experimental_flag_test/none language_2/control_flow_collections/for_const_test/00 language_2/control_flow_collections/for_const_test/01 language_2/control_flow_collections/for_const_test/02 language_2/control_flow_collections/for_const_test/03 language_2/control_flow_collections/for_const_test/04 language_2/control_flow_collections/for_const_test/05 language_2/control_flow_collections/for_const_test/06 language_2/control_flow_collections/for_const_test/07 language_2/control_flow_collections/for_const_test/08 language_2/control_flow_collections/for_const_test/none language_2/control_flow_collections/if_const_error_test/01 language_2/control_flow_collections/if_const_error_test/02 language_2/control_flow_collections/if_const_error_test/03 language_2/control_flow_collections/if_const_error_test/04 language_2/control_flow_collections/if_const_error_test/05 language_2/control_flow_collections/if_const_error_test/06 language_2/control_flow_collections/if_const_error_test/07 language_2/control_flow_collections/if_const_error_test/08 language_2/control_flow_collections/if_const_error_test/09 language_2/control_flow_collections/if_const_error_test/10 language_2/control_flow_collections/if_const_error_test/11 language_2/control_flow_collections/if_const_error_test/12 language_2/control_flow_collections/if_const_error_test/13 language_2/control_flow_collections/if_const_error_test/14 language_2/control_flow_collections/if_const_error_test/15 language_2/control_flow_collections/if_const_error_test/16 language_2/control_flow_collections/if_const_error_test/17 language_2/control_flow_collections/if_const_error_test/18 language_2/control_flow_collections/if_const_error_test/19 language_2/control_flow_collections/if_const_error_test/20 language_2/control_flow_collections/if_const_error_test/21 language_2/control_flow_collections/if_const_error_test/22 language_2/control_flow_collections/if_const_error_test/23 language_2/control_flow_collections/for_inference_test language_2/control_flow_collections/for_test language_2/control_flow_collections/for_variable_test language_2/control_flow_collections/if_const_test language_2/control_flow_collections/if_inference_test language_2/control_flow_collections/if_test language_2/control_flow_collections/map_set_ambiguity_test language_2/control_flow_collections/syntax_test language_2/set_literals/invalid_set_literal_test/08 language_2/set_literals/invalid_set_literal_test/09 language_2/set_literals/invalid_set_literal_test/10 language_2/spread_collections/const_test language_2/spread_collections/inference_test language_2/spread_collections/map_set_ambiguity_test language_2/spread_collections/spread_test language_2/spread_collections/syntax_test standalone_2/ffi/data_not_asan_test standalone_2/ffi/data_test standalone_2/ffi/dynamic_library_test standalone_2/ffi/enable_ffi_test standalone_2/ffi/function_callbacks_test standalone_2/ffi/function_structs_test standalone_2/ffi/function_test standalone_2/ffi/structs_test standalone_2/ffi/subtype_test language_2/set_literals/invalid_set_literal_test/08 /=========================================================================================================\ | language_2/set_literals/invalid_set_literal_test/09 is new and failed (Pass, expected CompileTimeError) | \=========================================================================================================/ --- Command "vm_compile_to_kernel" (took 02.000626s): DART_CONFIGURATION=ReleaseX64 /b/s/w/ir/cache/builder/sdk/pkg/vm/tool/gen_kernel --aot --platform=out/ReleaseX64/vm_platform_strong.dill -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartkp/multitest_language_2_set_literals_invalid_set_literal_test_09/out.dill /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_tests/language_2/set_literals/invalid_set_literal_test_09.dart --enable-experiment=set-literals --packages=/b/s/w/ir/cache/builder/sdk/.packages -Ddart.developer.causal_async_stacks=true exit code: 0 --- Command "precompiler" (took 04.000965s): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/gen_snapshot --snapshot-kind=app-aot-assembly --assembly=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartkp/multitest_language_2_set_literals_invalid_set_literal_test_09/out.S --enable-experiment=set-literals --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartkp/multitest_language_2_set_literals_invalid_set_literal_test_09/out.dill exit code: 0 --- Command "remove_kernel_file" (took 31ms): DART_CONFIGURATION=ReleaseX64 rm /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartkp/multitest_language_2_set_literals_invalid_set_literal_test_09/out.dill exit code: 0 --- Command "assemble" (took 01.000793s): DART_CONFIGURATION=ReleaseX64 gcc -m64 -shared -nostdlib -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartkp/multitest_language_2_set_literals_invalid_set_literal_test_09/out.aotsnapshot /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartkp/multitest_language_2_set_literals_invalid_set_literal_test_09/out.S exit code: 0 --- Command "remove_assembly" (took 44ms): DART_CONFIGURATION=ReleaseX64 rm /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartkp/multitest_language_2_set_literals_invalid_set_literal_test_09/out.S exit code: 0 --- Re-run this test: python tools/test.py -n dartkp-linux-release-x64 --repeat 5 --tests language_2/control_flow_collections/experimental_flag_test/01 language_2/control_flow_collections/experimental_flag_test/02 language_2/control_flow_collections/experimental_flag_test/03 language_2/control_flow_collections/experimental_flag_test/04 language_2/control_flow_collections/experimental_flag_test/05 language_2/control_flow_collections/experimental_flag_test/06 language_2/control_flow_collections/experimental_flag_test/07 language_2/control_flow_collections/experimental_flag_test/08 language_2/control_flow_collections/experimental_flag_test/09 language_2/control_flow_collections/experimental_flag_test/10 language_2/control_flow_collections/experimental_flag_test/11 language_2/control_flow_collections/experimental_flag_test/12 language_2/control_flow_collections/experimental_flag_test/13 language_2/control_flow_collections/experimental_flag_test/14 language_2/control_flow_collections/experimental_flag_test/15 language_2/control_flow_collections/experimental_flag_test/none language_2/control_flow_collections/for_const_test/00 language_2/control_flow_collections/for_const_test/01 language_2/control_flow_collections/for_const_test/02 language_2/control_flow_collections/for_const_test/03 language_2/control_flow_collections/for_const_test/04 language_2/control_flow_collections/for_const_test/05 language_2/control_flow_collections/for_const_test/06 language_2/control_flow_collections/for_const_test/07 language_2/control_flow_collections/for_const_test/08 language_2/control_flow_collections/for_const_test/none language_2/control_flow_collections/if_const_error_test/01 language_2/control_flow_collections/if_const_error_test/02 language_2/control_flow_collections/if_const_error_test/03 language_2/control_flow_collections/if_const_error_test/04 language_2/control_flow_collections/if_const_error_test/05 language_2/control_flow_collections/if_const_error_test/06 language_2/control_flow_collections/if_const_error_test/07 language_2/control_flow_collections/if_const_error_test/08 language_2/control_flow_collections/if_const_error_test/09 language_2/control_flow_collections/if_const_error_test/10 language_2/control_flow_collections/if_const_error_test/11 language_2/control_flow_collections/if_const_error_test/12 language_2/control_flow_collections/if_const_error_test/13 language_2/control_flow_collections/if_const_error_test/14 language_2/control_flow_collections/if_const_error_test/15 language_2/control_flow_collections/if_const_error_test/16 language_2/control_flow_collections/if_const_error_test/17 language_2/control_flow_collections/if_const_error_test/18 language_2/control_flow_collections/if_const_error_test/19 language_2/control_flow_collections/if_const_error_test/20 language_2/control_flow_collections/if_const_error_test/21 language_2/control_flow_collections/if_const_error_test/22 language_2/control_flow_collections/if_const_error_test/23 language_2/control_flow_collections/for_inference_test language_2/control_flow_collections/for_test language_2/control_flow_collections/for_variable_test language_2/control_flow_collections/if_const_test language_2/control_flow_collections/if_inference_test language_2/control_flow_collections/if_test language_2/control_flow_collections/map_set_ambiguity_test language_2/control_flow_collections/syntax_test language_2/set_literals/invalid_set_literal_test/08 language_2/set_literals/invalid_set_literal_test/09 language_2/set_literals/invalid_set_literal_test/10 language_2/spread_collections/const_test language_2/spread_collections/inference_test language_2/spread_collections/map_set_ambiguity_test language_2/spread_collections/spread_test language_2/spread_collections/syntax_test standalone_2/ffi/data_not_asan_test standalone_2/ffi/data_test standalone_2/ffi/dynamic_library_test standalone_2/ffi/enable_ffi_test standalone_2/ffi/function_callbacks_test standalone_2/ffi/function_structs_test standalone_2/ffi/function_test standalone_2/ffi/structs_test standalone_2/ffi/subtype_test language_2/set_literals/invalid_set_literal_test/09 /=========================================================================================================\ | language_2/set_literals/invalid_set_literal_test/10 is new and failed (Pass, expected CompileTimeError) | \=========================================================================================================/ --- Command "vm_compile_to_kernel" (took 02.000309s): DART_CONFIGURATION=ReleaseX64 /b/s/w/ir/cache/builder/sdk/pkg/vm/tool/gen_kernel --aot --platform=out/ReleaseX64/vm_platform_strong.dill -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartkp/multitest_language_2_set_literals_invalid_set_literal_test_10/out.dill /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_tests/language_2/set_literals/invalid_set_literal_test_10.dart --enable-experiment=set-literals --packages=/b/s/w/ir/cache/builder/sdk/.packages -Ddart.developer.causal_async_stacks=true exit code: 0 --- Command "precompiler" (took 04.000598s): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/gen_snapshot --snapshot-kind=app-aot-assembly --assembly=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartkp/multitest_language_2_set_literals_invalid_set_literal_test_10/out.S --enable-experiment=set-literals --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartkp/multitest_language_2_set_literals_invalid_set_literal_test_10/out.dill exit code: 0 --- Command "remove_kernel_file" (took 16ms): DART_CONFIGURATION=ReleaseX64 rm /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartkp/multitest_language_2_set_literals_invalid_set_literal_test_10/out.dill exit code: 0 --- Command "assemble" (took 01.000713s): DART_CONFIGURATION=ReleaseX64 gcc -m64 -shared -nostdlib -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartkp/multitest_language_2_set_literals_invalid_set_literal_test_10/out.aotsnapshot /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartkp/multitest_language_2_set_literals_invalid_set_literal_test_10/out.S exit code: 0 --- Command "remove_assembly" (took 31ms): DART_CONFIGURATION=ReleaseX64 rm /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartkp/multitest_language_2_set_literals_invalid_set_literal_test_10/out.S exit code: 0 --- Re-run this test: python tools/test.py -n dartkp-linux-release-x64 --repeat 5 --tests language_2/control_flow_collections/experimental_flag_test/01 language_2/control_flow_collections/experimental_flag_test/02 language_2/control_flow_collections/experimental_flag_test/03 language_2/control_flow_collections/experimental_flag_test/04 language_2/control_flow_collections/experimental_flag_test/05 language_2/control_flow_collections/experimental_flag_test/06 language_2/control_flow_collections/experimental_flag_test/07 language_2/control_flow_collections/experimental_flag_test/08 language_2/control_flow_collections/experimental_flag_test/09 language_2/control_flow_collections/experimental_flag_test/10 language_2/control_flow_collections/experimental_flag_test/11 language_2/control_flow_collections/experimental_flag_test/12 language_2/control_flow_collections/experimental_flag_test/13 language_2/control_flow_collections/experimental_flag_test/14 language_2/control_flow_collections/experimental_flag_test/15 language_2/control_flow_collections/experimental_flag_test/none language_2/control_flow_collections/for_const_test/00 language_2/control_flow_collections/for_const_test/01 language_2/control_flow_collections/for_const_test/02 language_2/control_flow_collections/for_const_test/03 language_2/control_flow_collections/for_const_test/04 language_2/control_flow_collections/for_const_test/05 language_2/control_flow_collections/for_const_test/06 language_2/control_flow_collections/for_const_test/07 language_2/control_flow_collections/for_const_test/08 language_2/control_flow_collections/for_const_test/none language_2/control_flow_collections/if_const_error_test/01 language_2/control_flow_collections/if_const_error_test/02 language_2/control_flow_collections/if_const_error_test/03 language_2/control_flow_collections/if_const_error_test/04 language_2/control_flow_collections/if_const_error_test/05 language_2/control_flow_collections/if_const_error_test/06 language_2/control_flow_collections/if_const_error_test/07 language_2/control_flow_collections/if_const_error_test/08 language_2/control_flow_collections/if_const_error_test/09 language_2/control_flow_collections/if_const_error_test/10 language_2/control_flow_collections/if_const_error_test/11 language_2/control_flow_collections/if_const_error_test/12 language_2/control_flow_collections/if_const_error_test/13 language_2/control_flow_collections/if_const_error_test/14 language_2/control_flow_collections/if_const_error_test/15 language_2/control_flow_collections/if_const_error_test/16 language_2/control_flow_collections/if_const_error_test/17 language_2/control_flow_collections/if_const_error_test/18 language_2/control_flow_collections/if_const_error_test/19 language_2/control_flow_collections/if_const_error_test/20 language_2/control_flow_collections/if_const_error_test/21 language_2/control_flow_collections/if_const_error_test/22 language_2/control_flow_collections/if_const_error_test/23 language_2/control_flow_collections/for_inference_test language_2/control_flow_collections/for_test language_2/control_flow_collections/for_variable_test language_2/control_flow_collections/if_const_test language_2/control_flow_collections/if_inference_test language_2/control_flow_collections/if_test language_2/control_flow_collections/map_set_ambiguity_test language_2/control_flow_collections/syntax_test language_2/set_literals/invalid_set_literal_test/08 language_2/set_literals/invalid_set_literal_test/09 language_2/set_literals/invalid_set_literal_test/10 language_2/spread_collections/const_test language_2/spread_collections/inference_test language_2/spread_collections/map_set_ambiguity_test language_2/spread_collections/spread_test language_2/spread_collections/syntax_test standalone_2/ffi/data_not_asan_test standalone_2/ffi/data_test standalone_2/ffi/dynamic_library_test standalone_2/ffi/enable_ffi_test standalone_2/ffi/function_callbacks_test standalone_2/ffi/function_structs_test standalone_2/ffi/function_test standalone_2/ffi/structs_test standalone_2/ffi/subtype_test language_2/set_literals/invalid_set_literal_test/10 /==============================================================================================\ | language_2/spread_collections/const_test is new and failed (CompileTimeError, expected Pass) | \==============================================================================================/ --- Command "vm_compile_to_kernel" (took 339ms): DART_CONFIGURATION=ReleaseX64 /b/s/w/ir/cache/builder/sdk/pkg/vm/tool/gen_kernel --aot --platform=out/ReleaseX64/vm_platform_strong.dill -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartkp/tests_language_2_spread_collections_const_test/out.dill /b/s/w/ir/cache/builder/sdk/tests/language_2/spread_collections/const_test.dart --enable-experiment=set-literals,spread-collections --packages=/b/s/w/ir/cache/builder/sdk/.packages -Ddart.developer.causal_async_stacks=true exit code: 1 stdout: tests/language_2/spread_collections/const_test.dart:23:38: Error: Unexpected token '...'. Expect.identical(list, const <int>[...list]); ^^^ tests/language_2/spread_collections/const_test.dart:24:38: Error: Unexpected token '...'. Expect.identical(list, const <int>[...set]); ^^^ tests/language_2/spread_collections/const_test.dart:27:38: Error: Unexpected token '...'. Expect.identical(list, const <int>[...<int>[1, 2], 3, 4]); ^^^ tests/language_2/spread_collections/const_test.dart:30:41: Error: Unexpected token '...'. Expect.identical(list, const <int>[1, ...<int>[2, 3], 4]); ^^^ tests/language_2/spread_collections/const_test.dart:33:44: Error: Unexpected token '...'. Expect.identical(list, const <int>[1, 2, ...<int>[3, 4]]); ^^^ tests/language_2/spread_collections/const_test.dart:37:19: Error: Unexpected token '...'. const <int>[...<int>[], 1, 2, ...<int>[], 3, 4, ...<int>[]]); ^^^ tests/language_2/spread_collections/const_test.dart:37:37: Error: Unexpected token '...'. const <int>[...<int>[], 1, 2, ...<int>[], 3, 4, ...<int>[]]); ^^^ tests/language_2/spread_collections/const_test.dart:37:55: Error: Unexpected token '...'. const <int>[...<int>[], 1, 2, ...<int>[], 3, 4, ...<int>[]]); ^^^ tests/language_2/spread_collections/const_test.dart:41:19: Error: Unexpected token '...'. const <int>[...<int>[1], 2, ...<int>[3, 4]]); ^^^ tests/language_2/spread_collections/const_test.dart:41:35: Error: Unexpected token '...'. const <int>[...<int>[1], 2, ...<int>[3, 4]]); ^^^ tests/language_2/spread_collections/const_test.dart:45:28: Error: Unexpected token '...'. const <int>[...<int>[...<int>[1, 2], ...<int>[3, 4]]]); ^^^ tests/language_2/spread_collections/const_test.dart:45:44: Error: Unexpected token '...'. const <int>[...<int>[...<int>[1, 2], ...<int>[3, 4]]]); ^^^ tests/language_2/spread_collections/const_test.dart:45:19: Error: Unexpected token '...'. const <int>[...<int>[...<int>[1, 2], ...<int>[3, 4]]]); ^^^ tests/language_2/spread_collections/const_test.dart:49:22: Error: Unexpected token '...?'. const <int>[1, ...?<int>[2, 3], ...?(null), ...?<int>[4]]); ^^^^ tests/language_2/spread_collections/const_test.dart:49:39: Error: Unexpected token '...?'. const <int>[1, ...?<int>[2, 3], ...?(null), ...?<int>[4]]); ^^^^ tests/language_2/spread_collections/const_test.dart:49:51: Error: Unexpected token '...?'. const <int>[1, ...?<int>[2, 3], ...?(null), ...?<int>[4]]); ^^^^ tests/language_2/spread_collections/const_test.dart:53:54: Error: Unexpected token '...'. const <int>[1, 2, <int>[3], 4], const <int>[1, ...<int>[2, <int>[3], 4]]); ^^^ tests/language_2/spread_collections/const_test.dart:57:22: Error: Unexpected token '...'. const <Symbol>[...<Symbol>[Symbol("sym")]]); ^^^ tests/language_2/spread_collections/const_test.dart:27:46: Error: A value of type 'List<int>' can't be assigned to a variable of type 'int'. - 'List' is from 'dart:core'. Try changing the type of the left hand side, or casting the right hand side to 'int'. Expect.identical(list, const <int>[...<int>[1, 2], 3, 4]); ^ tests/language_2/spread_collections/const_test.dart:30:49: Error: A value of type 'List<int>' can't be assigned to a variable of type 'int'. - 'List' is from 'dart:core'. Try changing the type of the left hand side, or casting the right hand side to 'int'. Expect.identical(list, const <int>[1, ...<int>[2, 3], 4]); ^ tests/language_2/spread_collections/const_test.dart:33:52: Error: A value of type 'List<int>' can't be assigned to a variable of type 'int'. - 'List' is from 'dart:core'. Try changing the type of the left hand side, or casting the right hand side to 'int'. Expect.identical(list, const <int>[1, 2, ...<int>[3, 4]]); ^ tests/language_2/spread_collections/const_test.dart:37:27: Error: A value of type 'List<int>' can't be assigned to a variable of type 'int'. - 'List' is from 'dart:core'. Try changing the type of the left hand side, or casting the right hand side to 'int'. const <int>[...<int>[], 1, 2, ...<int>[], 3, 4, ...<int>[]]); ^ tests/language_2/spread_collections/const_test.dart:37:45: Error: A value of type 'List<int>' can't be assigned to a variable of type 'int'. - 'List' is from 'dart:core'. Try changing the type of the left hand side, or casting the right hand side to 'int'. const <int>[...<int>[], 1, 2, ...<int>[], 3, 4, ...<int>[]]); ^ tests/language_2/spread_collections/const_test.dart:37:63: Error: A value of type 'List<int>' can't be assigned to a variable of type 'int'. - 'List' is from 'dart:core'. Try changing the type of the left hand side, or casting the right hand side to 'int'. const <int>[...<int>[], 1, 2, ...<int>[], 3, 4, ...<int>[]]); ^ tests/language_2/spread_collections/const_test.dart:41:27: Error: A value of type 'List<int>' can't be assigned to a variable of type 'int'. - 'List' is from 'dart:core'. Try changing the type of the left hand side, or casting the right hand side to 'int'. const <int>[...<int>[1], 2, ...<int>[3, 4]]); ^ tests/language_2/spread_collections/const_test.dart:41:43: Error: A value of type 'List<int>' can't be assigned to a variable of type 'int'. - 'List' is from 'dart:core'. Try changing the type of the left hand side, or casting the right hand side to 'int'. const <int>[...<int>[1], 2, ...<int>[3, 4]]); ^ tests/language_2/spread_collections/const_test.dart:45:36: Error: A value of type 'List<int>' can't be assigned to a variable of type 'int'. - 'List' is from 'dart:core'. Try changing the type of the left hand side, or casting the right hand side to 'int'. const <int>[...<int>[...<int>[1, 2], ...<int>[3, 4]]]); ^ tests/language_2/spread_collections/const_test.dart:45:52: Error: A value of type 'List<int>' can't be assigned to a variable of type 'int'. - 'List' is from 'dart:core'. Try changing the type of the left hand side, or casting the right hand side to 'int'. const <int>[...<int>[...<int>[1, 2], ...<int>[3, 4]]]); ^ tests/language_2/spread_collections/const_test.dart:45:27: Error: A value of type 'List<int>' can't be assigned to a variable of type 'int'. - 'List' is from 'dart:core'. Try changing the type of the left hand side, or casting the right hand side to 'int'. const <int>[...<int>[...<int>[1, 2], ...<int>[3, 4]]]); ^ tests/language_2/spread_collections/const_test.dart:49:31: Error: A value of type 'List<int>' can't be assigned to a variable of type 'int'. - 'List' is from 'dart:core'. Try changing the type of the left hand side, or casting the right hand side to 'int'. const <int>[1, ...?<int>[2, 3], ...?(null), ...?<int>[4]]); ^ tests/language_2/spread_collections/const_test.dart:49:60: Error: A value of type 'List<int>' can't be assigned to a variable of type 'int'. - 'List' is from 'dart:core'. Try changing the type of the left hand side, or casting the right hand side to 'int'. const <int>[1, ...?<int>[2, 3], ...?(null), ...?<int>[4]]); ^ tests/language_2/spread_collections/const_test.dart:53:30: Error: A value of type 'List<int>' can't be assigned to a variable of type 'int'. - 'List' is from 'dart:core'. Try changing the type of the left hand side, or casting the right hand side to 'int'. const <int>[1, 2, <int>[3], 4], const <int>[1, ...<int>[2, <int>[3], 4]]); ^ tests/language_2/spread_collections/const_test.dart:53:71: Error: A value of type 'List<int>' can't be assigned to a variable of type 'int'. - 'List' is from 'dart:core'. Try changing the type of the left hand side, or casting the right hand side to 'int'. const <int>[1, 2, <int>[3], 4], const <int>[1, ...<int>[2, <int>[3], 4]]); ^ tests/language_2/spread_collections/const_test.dart:53:62: Error: A value of type 'List<int>' can't be assigned to a variable of type 'int'. - 'List' is from 'dart:core'. Try changing the type of the left hand side, or casting the right hand side to 'int'. const <int>[1, 2, <int>[3], 4], const <int>[1, ...<int>[2, <int>[3], 4]]); ^ tests/language_2/spread_collections/const_test.dart:57:33: Error: A value of type 'List<Symbol>' can't be assigned to a variable of type 'Symbol'. - 'List' is from 'dart:core'. - 'Symbol' is from 'dart:core'. Try changing the type of the left hand side, or casting the right hand side to 'Symbol'. const <Symbol>[...<Symbol>[Symbol("sym")]]); ^ tests/language_2/spread_collections/const_test.dart:62:42: Error: Unexpected token '...'. Expect.identical(map, const <int, int>{...map}); ^^^ tests/language_2/spread_collections/const_test.dart:66:24: Error: Unexpected token '...'. const <int, int>{...<int, int>{1: 1, 2: 2}, 3: 3, 4: 4}); ^^^ tests/language_2/spread_collections/const_test.dart:70:30: Error: Unexpected token '...'. const <int, int>{1: 1, ...<int, int>{2: 2, 3: 3}, 4: 4}); ^^^ tests/language_2/spread_collections/const_test.dart:74:36: Error: Unexpected token '...'. const <int, int>{1: 1, 2: 2, ...<int, int>{3: 3, 4: 4}}); ^^^ tests/language_2/spread_collections/const_test.dart:78:5: Error: Unexpected token '...'. ...<int, int>{}, ^^^ tests/language_2/spread_collections/const_test.dart:81:5: Error: Unexpected token '...'. ...<int, int>{}, ^^^ tests/language_2/spread_collections/const_test.dart:84:5: Error: Unexpected token '...'. ...<int, int>{} ^^^ tests/language_2/spread_collections/const_test.dart:89:24: Error: Unexpected token '...'. const <int, int>{...<int, int>{1: 1}, 2: 2, ...<int, int>{3: 3, 4: 4}}); ^^^ tests/language_2/spread_collections/const_test.dart:89:51: Error: Unexpected token '...'. const <int, int>{...<int, int>{1: 1}, 2: 2, ...<int, int>{3: 3, 4: 4}}); ^^^ tests/language_2/spread_collections/const_test.dart:94:7: Error: Unexpected token '...'. ...<int, int>{1: 1, 2: 2}, ^^^ tests/language_2/spread_collections/const_test.dart:95:7: Error: Unexpected token '...'. ...<int, int>{3: 3, 4: 4} ^^^ tests/language_2/spread_collections/const_test.dart:93:5: Error: Unexpected token '...'. ...<int, int>{ ^^^ tests/language_2/spread_collections/const_test.dart:102:5: Error: Unexpected token '...?'. ...?<int, int>{2: 2, 3: 3}, ^^^^ tests/language_2/spread_collections/const_test.dart:103:5: Error: Unexpected token '...?'. ...?(null), ^^^^ tests/language_2/spread_collections/const_test.dart:104:5: Error: Unexpected token '...?'. ...?<int, int>{4: 4} ^^^^ tests/language_2/spread_collections/const_test.dart:115:5: Error: Unexpected token '...'. ...<int, Object>{ ^^^ tests/language_2/spread_collections/const_test.dart:126:5: Error: Unexpected token '...'. ...<Symbol, Symbol>{Symbol("sym"): Symbol("bol")} ^^^ tests/language_2/spread_collections/const_test.dart:132:37: Error: Unexpected token '...'. Expect.identical(set, const <int>{...set}); ^^^ tests/language_2/spread_collections/const_test.dart:133:37: Error: Unexpected token '...'. Expect.identical(set, const <int>{...list}); ^^^ tests/language_2/spread_collections/const_test.dart:136:37: Error: Unexpected token '...'. Expect.identical(set, const <int>{...<int>[1, 2], 3, 4}); ^^^ tests/language_2/spread_collections/const_test.dart:139:40: Error: Unexpected token '...'. Expect.identical(set, const <int>{1, ...<int>[2, 3], 4}); ^^^ tests/language_2/spread_collections/const_test.dart:142:43: Error: Unexpected token '...'. Expect.identical(set, const <int>{1, 2, ...<int>[3, 4]}); ^^^ tests/language_2/spread_collections/const_test.dart:146:19: Error: Unexpected token '...'. const <int>{...<int>[], 1, 2, ...<int>[], 3, 4, ...<int>[]}); ^^^ tests/language_2/spread_collections/const_test.dart:146:37: Error: Unexpected token '...'. const <int>{...<int>[], 1, 2, ...<int>[], 3, 4, ...<int>[]}); ^^^ tests/language_2/spread_collections/const_test.dart:146:55: Error: Unexpected token '...'. const <int>{...<int>[], 1, 2, ...<int>[], 3, 4, ...<int>[]}); ^^^ tests/language_2/spread_collections/const_test.dart:149:37: Error: Unexpected token '...'. Expect.identical(set, const <int>{...<int>[1], 2, ...<int>[3, 4]}); ^^^ tests/language_2/spread_collections/const_test.dart:149:53: Error: Unexpected token '...'. Expect.identical(set, const <int>{...<int>[1], 2, ...<int>[3, 4]}); ^^^ tests/language_2/spread_collections/const_test.dart:152:46: Error: Unexpected token '...'. Expect.identical(set, const <int>{...<int>{...<int>[1, 2], ...<int>[3, 4]}}); ^^^ tests/language_2/spread_collections/const_test.dart:152:62: Error: Unexpected token '...'. Expect.identical(set, const <int>{...<int>{...<int>[1, 2], ...<int>[3, 4]}}); ^^^ tests/language_2/spread_collections/const_test.dart:152:37: Error: Unexpected token '...'. Expect.identical(set, const <int>{...<int>{...<int>[1, 2], ...<int>[3, 4]}}); ^^^ tests/language_2/spread_collections/const_test.dart:156:22: Error: Unexpected token '...?'. const <int>{1, ...?<int>[2, 3], ...?(null), ...?<int>[4]}); ^^^^ tests/language_2/spread_collections/const_test.dart:156:39: Error: Unexpected token '...?'. const <int>{1, ...?<int>[2, 3], ...?(null), ...?<int>[4]}); ^^^^ tests/language_2/spread_collections/const_test.dart:156:51: Error: Unexpected token '...?'. const <int>{1, ...?<int>[2, 3], ...?(null), ...?<int>[4]}); ^^^^ tests/language_2/spread_collections/const_test.dart:160:25: Error: Unexpected token '...'. const <Object>{1, ...<Object>{2, <int>{3}, 4}}); ^^^ tests/language_2/spread_collections/const_test.dart:164:22: Error: Unexpected token '...'. const <Symbol>{...<Symbol>{Symbol("sym")}}); ^^^ tests/language_2/spread_collections/const_test.dart:136:45: Error: A value of type 'List<int>' can't be assigned to a variable of type 'int'. - 'List' is from 'dart:core'. Try changing the type of the left hand side, or casting the right hand side to 'int'. Expect.identical(set, const <int>{...<int>[1, 2], 3, 4}); ^ tests/language_2/spread_collections/const_test.dart:139:48: Error: A value of type 'List<int>' can't be assigned to a variable of type 'int'. - 'List' is from 'dart:core'. Try changing the type of the left hand side, or casting the right hand side to 'int'. Expect.identical(set, const <int>{1, ...<int>[2, 3], 4}); ^ tests/language_2/spread_collections/const_test.dart:142:51: Error: A value of type 'List<int>' can't be assigned to a variable of type 'int'. - 'List' is from 'dart:core'. Try changing the type of the left hand side, or casting the right hand side to 'int'. Expect.identical(set, const <int>{1, 2, ...<int>[3, 4]}); ^ tests/language_2/spread_collections/const_test.dart:146:27: Error: A value of type 'List<int>' can't be assigned to a variable of type 'int'. - 'List' is from 'dart:core'. Try changing the type of the left hand side, or casting the right hand side to 'int'. const <int>{...<int>[], 1, 2, ...<int>[], 3, 4, ...<int>[]}); ^ tests/language_2/spread_collections/const_test.dart:146:45: Error: A value of type 'List<int>' can't be assigned to a variable of type 'int'. - 'List' is from 'dart:core'. Try changing the type of the left hand side, or casting the right hand side to 'int'. const <int>{...<int>[], 1, 2, ...<int>[], 3, 4, ...<int>[]}); ^ tests/language_2/spread_collections/const_test.dart:146:63: Error: A value of type 'List<int>' can't be assigned to a variable of type 'int'. - 'List' is from 'dart:core'. Try changing the type of the left hand side, or casting the right hand side to 'int'. const <int>{...<int>[], 1, 2, ...<int>[], 3, 4, ...<int>[]}); ^ tests/language_2/spread_collections/const_test.dart:149:45: Error: A value of type 'List<int>' can't be assigned to a variable of type 'int'. - 'List' is from 'dart:core'. Try changing the type of the left hand side, or casting the right hand side to 'int'. Expect.identical(set, const <int>{...<int>[1], 2, ...<int>[3, 4]}); ^ tests/language_2/spread_collections/const_test.dart:149:61: Error: A value of type 'List<int>' can't be assigned to a variable of type 'int'. - 'List' is from 'dart:core'. Try changing the type of the left hand side, or casting the right hand side to 'int'. Expect.identical(set, const <int>{...<int>[1], 2, ...<int>[3, 4]}); ^ tests/language_2/spread_collections/const_test.dart:152:54: Error: A value of type 'List<int>' can't be assigned to a variable of type 'int'. - 'List' is from 'dart:core'. Try changing the type of the left hand side, or casting the right hand side to 'int'. Expect.identical(set, const <int>{...<int>{...<int>[1, 2], ...<int>[3, 4]}}); ^ tests/language_2/spread_collections/const_test.dart:152:70: Error: A value of type 'List<int>' can't be assigned to a variable of type 'int'. - 'List' is from 'dart:core'. Try changing the type of the left hand side, or casting the right hand side to 'int'. Expect.identical(set, const <int>{...<int>{...<int>[1, 2], ...<int>[3, 4]}}); ^ tests/language_2/spread_collections/const_test.dart:152:45: Error: A value of type 'Set<int>' can't be assigned to a variable of type 'int'. - 'Set' is from 'dart:core'. Try changing the type of the left hand side, or casting the right hand side to 'int'. Expect.identical(set, const <int>{...<int>{...<int>[1, 2], ...<int>[3, 4]}}); ^ tests/language_2/spread_collections/const_test.dart:156:31: Error: A value of type 'List<int>' can't be assigned to a variable of type 'int'. - 'List' is from 'dart:core'. Try changing the type of the left hand side, or casting the right hand side to 'int'. const <int>{1, ...?<int>[2, 3], ...?(null), ...?<int>[4]}); ^ tests/language_2/spread_collections/const_test.dart:156:60: Error: A value of type 'List<int>' can't be assigned to a variable of type 'int'. - 'List' is from 'dart:core'. Try changing the type of the left hand side, or casting the right hand side to 'int'. const <int>{1, ...?<int>[2, 3], ...?(null), ...?<int>[4]}); ^ tests/language_2/spread_collections/const_test.dart:164:33: Error: A value of type 'Set<Symbol>' can't be assigned to a variable of type 'Symbol'. - 'Set' is from 'dart:core'. - 'Symbol' is from 'dart:core'. Try changing the type of the left hand side, or casting the right hand side to 'Symbol'. const <Symbol>{...<Symbol>{Symbol("sym")}}); ^ tests/language_2/spread_collections/const_test.dart:170:30: Error: Unexpected token '...'. const <int, int>{1: 1, ...<int, int>{2: 2, 3: 3}, 4: 4}); ^^^ tests/language_2/spread_collections/const_test.dart:172:30: Error: Unexpected token '...'. const <int, int>{1: 1, ...<int, int>{2: 2}, 3: 3, ...<int, int>{4: 4}}); ^^^ tests/language_2/spread_collections/const_test.dart:172:57: Error: Unexpected token '...'. const <int, int>{1: 1, ...<int, int>{2: 2}, 3: 3, ...<int, int>{4: 4}}); ^^^ tests/language_2/spread_collections/const_test.dart:174:40: Error: Unexpected token '...'. Expect.identical(set, const <int>{1, ...<int>{2, 3}, 4}); ^^^ tests/language_2/spread_collections/const_test.dart:175:40: Error: Unexpected token '...'. Expect.identical(set, const <int>{1, ...<int>{2}, 3, ...<int>{4}}); ^^^ tests/language_2/spread_collections/const_test.dart:175:56: Error: Unexpected token '...'. Expect.identical(set, const <int>{1, ...<int>{2}, 3, ...<int>{4}}); ^^^ tests/language_2/spread_collections/const_test.dart:179:30: Error: Unexpected token '...'. const <int, int>{1: 1, ...<int, int>{3: 3, 2: 2}}); ^^^ tests/language_2/spread_collections/const_test.dart:180:60: Error: Unexpected token '...'. Expect.notIdentical(const <int>{1, 2, 3}, const <int>{1, ...<int>{3, 2}}); ^^^ tests/language_2/spread_collections/const_test.dart:174:48: Error: A value of type 'Set<int>' can't be assigned to a variable of type 'int'. - 'Set' is from 'dart:core'. Try changing the type of the left hand side, or casting the right hand side to 'int'. Expect.identical(set, const <int>{1, ...<int>{2, 3}, 4}); ^ tests/language_2/spread_collections/const_test.dart:175:48: Error: A value of type 'Set<int>' can't be assigned to a variable of type 'int'. - 'Set' is from 'dart:core'. Try changing the type of the left hand side, or casting the right hand side to 'int'. Expect.identical(set, const <int>{1, ...<int>{2}, 3, ...<int>{4}}); ^ tests/language_2/spread_collections/const_test.dart:175:64: Error: A value of type 'Set<int>' can't be assigned to a variable of type 'int'. - 'Set' is from 'dart:core'. Try changing the type of the left hand side, or casting the right hand side to 'int'. Expect.identical(set, const <int>{1, ...<int>{2}, 3, ...<int>{4}}); ^ tests/language_2/spread_collections/const_test.dart:180:68: Error: A value of type 'Set<int>' can't be assigned to a variable of type 'int'. - 'Set' is from 'dart:core'. Try changing the type of the left hand side, or casting the right hand side to 'int'. Expect.notIdentical(const <int>{1, 2, 3}, const <int>{1, ...<int>{3, 2}}); ^ --- Re-run this test: python tools/test.py -n dartkp-linux-release-x64 --repeat 5 --tests language_2/control_flow_collections/experimental_flag_test/01 language_2/control_flow_collections/experimental_flag_test/02 language_2/control_flow_collections/experimental_flag_test/03 language_2/control_flow_collections/experimental_flag_test/04 language_2/control_flow_collections/experimental_flag_test/05 language_2/control_flow_collections/experimental_flag_test/06 language_2/control_flow_collections/experimental_flag_test/07 language_2/control_flow_collections/experimental_flag_test/08 language_2/control_flow_collections/experimental_flag_test/09 language_2/control_flow_collections/experimental_flag_test/10 language_2/control_flow_collections/experimental_flag_test/11 language_2/control_flow_collections/experimental_flag_test/12 language_2/control_flow_collections/experimental_flag_test/13 language_2/control_flow_collections/experimental_flag_test/14 language_2/control_flow_collections/experimental_flag_test/15 language_2/control_flow_collections/experimental_flag_test/none language_2/control_flow_collections/for_const_test/00 language_2/control_flow_collections/for_const_test/01 language_2/control_flow_collections/for_const_test/02 language_2/control_flow_collections/for_const_test/03 language_2/control_flow_collections/for_const_test/04 language_2/control_flow_collections/for_const_test/05 language_2/control_flow_collections/for_const_test/06 language_2/control_flow_collections/for_const_test/07 language_2/control_flow_collections/for_const_test/08 language_2/control_flow_collections/for_const_test/none language_2/control_flow_collections/if_const_error_test/01 language_2/control_flow_collections/if_const_error_test/02 language_2/control_flow_collections/if_const_error_test/03 language_2/control_flow_collections/if_const_error_test/04 language_2/control_flow_collections/if_const_error_test/05 language_2/control_flow_collections/if_const_error_test/06 language_2/control_flow_collections/if_const_error_test/07 language_2/control_flow_collections/if_const_error_test/08 language_2/control_flow_collections/if_const_error_test/09 language_2/control_flow_collections/if_const_error_test/10 language_2/control_flow_collections/if_const_error_test/11 language_2/control_flow_collections/if_const_error_test/12 language_2/control_flow_collections/if_const_error_test/13 language_2/control_flow_collections/if_const_error_test/14 language_2/control_flow_collections/if_const_error_test/15 language_2/control_flow_collections/if_const_error_test/16 language_2/control_flow_collections/if_const_error_test/17 language_2/control_flow_collections/if_const_error_test/18 language_2/control_flow_collections/if_const_error_test/19 language_2/control_flow_collections/if_const_error_test/20 language_2/control_flow_collections/if_const_error_test/21 language_2/control_flow_collections/if_const_error_test/22 language_2/control_flow_collections/if_const_error_test/23 language_2/control_flow_collections/for_inference_test language_2/control_flow_collections/for_test language_2/control_flow_collections/for_variable_test language_2/control_flow_collections/if_const_test language_2/control_flow_collections/if_inference_test language_2/control_flow_collections/if_test language_2/control_flow_collections/map_set_ambiguity_test language_2/control_flow_collections/syntax_test language_2/set_literals/invalid_set_literal_test/08 language_2/set_literals/invalid_set_literal_test/09 language_2/set_literals/invalid_set_literal_test/10 language_2/spread_collections/const_test language_2/spread_collections/inference_test language_2/spread_collections/map_set_ambiguity_test language_2/spread_collections/spread_test language_2/spread_collections/syntax_test standalone_2/ffi/data_not_asan_test standalone_2/ffi/data_test standalone_2/ffi/dynamic_library_test standalone_2/ffi/enable_ffi_test standalone_2/ffi/function_callbacks_test standalone_2/ffi/function_structs_test standalone_2/ffi/function_test standalone_2/ffi/structs_test standalone_2/ffi/subtype_test language_2/spread_collections/const_test /==================================================================================================\ | language_2/spread_collections/inference_test is new and failed (CompileTimeError, expected Pass) | \==================================================================================================/ --- Command "vm_compile_to_kernel" (took 328ms): DART_CONFIGURATION=ReleaseX64 /b/s/w/ir/cache/builder/sdk/pkg/vm/tool/gen_kernel --aot --platform=out/ReleaseX64/vm_platform_strong.dill -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartkp/tests_language_2_spread_collections_inference_test/out.dill /b/s/w/ir/cache/builder/sdk/tests/language_2/spread_collections/inference_test.dart --enable-experiment=set-literals,spread-collections --packages=/b/s/w/ir/cache/builder/sdk/.packages -Ddart.developer.causal_async_stacks=true exit code: 1 stdout: tests/language_2/spread_collections/inference_test.dart:17:31: Error: Unexpected token '...'. Expect.type<List<dynamic>>([...[]]); ^^^ tests/language_2/spread_collections/inference_test.dart:18:27: Error: Unexpected token '...'. Expect.type<List<int>>([...<int>[]]); ^^^ tests/language_2/spread_collections/inference_test.dart:19:27: Error: Unexpected token '...'. Expect.type<List<int>>([...[1]]); ^^^ tests/language_2/spread_collections/inference_test.dart:20:30: Error: Unexpected token '...'. Expect.type<List<int>>([1, ...[2]]); ^^^ tests/language_2/spread_collections/inference_test.dart:21:30: Error: Unexpected token '...'. Expect.type<List<num>>([1, ...[0.2]]); ^^^ tests/language_2/spread_collections/inference_test.dart:22:27: Error: Unexpected token '...'. Expect.type<List<int>>([...[1, 2]]); ^^^ tests/language_2/spread_collections/inference_test.dart:23:27: Error: Unexpected token '...'. Expect.type<List<num>>([...[1, 0.2]]); ^^^ tests/language_2/spread_collections/inference_test.dart:24:27: Error: Unexpected token '...'. Expect.type<List<int>>([...[1], ...[2]]); ^^^ tests/language_2/spread_collections/inference_test.dart:24:35: Error: Unexpected token '...'. Expect.type<List<int>>([...[1], ...[2]]); ^^^ tests/language_2/spread_collections/inference_test.dart:25:27: Error: Unexpected token '...'. Expect.type<List<num>>([...[1], ...[0.2]]); ^^^ tests/language_2/spread_collections/inference_test.dart:25:35: Error: Unexpected token '...'. Expect.type<List<num>>([...[1], ...[0.2]]); ^^^ tests/language_2/spread_collections/inference_test.dart:28:39: Error: Unexpected token '...'. Expect.type<Map<dynamic, dynamic>>({...{}}); ^^^ tests/language_2/spread_collections/inference_test.dart:29:31: Error: Unexpected token '...'. Expect.type<Map<int, int>>({...<int, int>{}}); ^^^ tests/language_2/spread_collections/inference_test.dart:30:31: Error: Unexpected token '...'. Expect.type<Map<int, int>>({...{1: 1}}); ^^^ tests/language_2/spread_collections/inference_test.dart:31:37: Error: Unexpected token '...'. Expect.type<Map<int, int>>({1: 1, ...{2: 2}}); ^^^ tests/language_2/spread_collections/inference_test.dart:32:37: Error: Unexpected token '...'. Expect.type<Map<num, num>>({1: 1, ...{0.2: 0.2}}); ^^^ tests/language_2/spread_collections/inference_test.dart:33:31: Error: Unexpected token '...'. Expect.type<Map<int, int>>({...{1: 1, 2: 2}}); ^^^ tests/language_2/spread_collections/inference_test.dart:34:31: Error: Unexpected token '...'. Expect.type<Map<num, num>>({...{1: 1, 0.2: 0.2}}); ^^^ tests/language_2/spread_collections/inference_test.dart:35:31: Error: Unexpected token '...'. Expect.type<Map<int, int>>({...{1: 1}, ...{2: 2}}); ^^^ tests/language_2/spread_collections/inference_test.dart:35:42: Error: Unexpected token '...'. Expect.type<Map<int, int>>({...{1: 1}, ...{2: 2}}); ^^^ tests/language_2/spread_collections/inference_test.dart:36:31: Error: Unexpected token '...'. Expect.type<Map<num, num>>({...{1: 1}, ...{0.2: 0.2}}); ^^^ tests/language_2/spread_collections/inference_test.dart:36:42: Error: Unexpected token '...'. Expect.type<Map<num, num>>({...{1: 1}, ...{0.2: 0.2}}); ^^^ tests/language_2/spread_collections/inference_test.dart:39:30: Error: Unexpected token '...'. Expect.type<Set<dynamic>>({...[]}); ^^^ tests/language_2/spread_collections/inference_test.dart:40:26: Error: Unexpected token '...'. Expect.type<Set<int>>({...<int>[]}); ^^^ tests/language_2/spread_collections/inference_test.dart:41:26: Error: Unexpected token '...'. Expect.type<Set<int>>({...[1]}); ^^^ tests/language_2/spread_collections/inference_test.dart:42:29: Error: Unexpected token '...'. Expect.type<Set<int>>({1, ...[2]}); ^^^ tests/language_2/spread_collections/inference_test.dart:43:29: Error: Unexpected token '...'. Expect.type<Set<num>>({1, ...[0.2]}); ^^^ tests/language_2/spread_collections/inference_test.dart:44:26: Error: Unexpected token '...'. Expect.type<Set<int>>({...[1, 2]}); ^^^ tests/language_2/spread_collections/inference_test.dart:45:26: Error: Unexpected token '...'. Expect.type<Set<num>>({...[1, 0.2]}); ^^^ tests/language_2/spread_collections/inference_test.dart:46:26: Error: Unexpected token '...'. Expect.type<Set<int>>({...[1], ...[2]}); ^^^ tests/language_2/spread_collections/inference_test.dart:46:34: Error: Unexpected token '...'. Expect.type<Set<int>>({...[1], ...[2]}); ^^^ tests/language_2/spread_collections/inference_test.dart:47:26: Error: Unexpected token '...'. Expect.type<Set<num>>({...[1], ...[0.2]}); ^^^ tests/language_2/spread_collections/inference_test.dart:47:34: Error: Unexpected token '...'. Expect.type<Set<num>>({...[1], ...[0.2]}); ^^^ tests/language_2/spread_collections/inference_test.dart:48:26: Error: Unexpected token '...'. Expect.type<Set<num>>({...{1}, ...[0.2]}); ^^^ tests/language_2/spread_collections/inference_test.dart:48:34: Error: Unexpected token '...'. Expect.type<Set<num>>({...{1}, ...[0.2]}); ^^^ tests/language_2/spread_collections/inference_test.dart:49:26: Error: Unexpected token '...'. Expect.type<Set<num>>({...{1}, ...{0.2}}); ^^^ tests/language_2/spread_collections/inference_test.dart:49:34: Error: Unexpected token '...'. Expect.type<Set<num>>({...{1}, ...{0.2}}); ^^^ tests/language_2/spread_collections/inference_test.dart:52:31: Error: Unexpected token '...'. Expect.type<List<dynamic>>([...([] as dynamic)]); ^^^ tests/language_2/spread_collections/inference_test.dart:53:33: Error: Unexpected token '...'. Expect.type<Set<dynamic>>({1, ...([] as dynamic)}); ^^^ tests/language_2/spread_collections/inference_test.dart:57:45: Error: Unexpected token '...'. Expect.type<Map<dynamic, dynamic>>({1: 1, ...({} as dynamic)}); ^^^ tests/language_2/spread_collections/inference_test.dart:74:36: Error: Unexpected token '...'. Expect.listEquals(<int>[], <int>[...expectIntIterable()]); ^^^ tests/language_2/spread_collections/inference_test.dart:77:35: Error: Unexpected token '...'. Expect.listEquals(<int>[1], [1, ...expectDynamicIterable()]); ^^^ tests/language_2/spread_collections/inference_test.dart:94:51: Error: Unexpected token '...'. Expect.mapEquals(<int, String>{}, <int, String>{...expectIntStringMap()}); ^^^ tests/language_2/spread_collections/inference_test.dart:98:16: Error: Unexpected token '...'. {1: "s", ...expectDynamicDynamicMap()}); ^^^ tests/language_2/spread_collections/inference_test.dart:113:35: Error: Unexpected token '...'. Expect.setEquals(<int>{}, <int>{...expectIntSet()}); ^^^ tests/language_2/spread_collections/inference_test.dart:116:33: Error: Unexpected token '...'. Expect.setEquals(<int>{}, {1, ...expectDynamicSet()}); ^^^ tests/language_2/spread_collections/inference_test.dart:74:56: Error: A value of type 'Iterable<dynamic>' can't be assigned to a variable of type 'int'. - 'Iterable' is from 'dart:core'. Try changing the type of the left hand side, or casting the right hand side to 'int'. Expect.listEquals(<int>[], <int>[...expectIntIterable()]); ^ tests/language_2/spread_collections/inference_test.dart:113:50: Error: A value of type 'Set<dynamic>' can't be assigned to a variable of type 'int'. - 'Set' is from 'dart:core'. Try changing the type of the left hand side, or casting the right hand side to 'int'. Expect.setEquals(<int>{}, <int>{...expectIntSet()}); ^ --- Re-run this test: python tools/test.py -n dartkp-linux-release-x64 --repeat 5 --tests language_2/control_flow_collections/experimental_flag_test/01 language_2/control_flow_collections/experimental_flag_test/02 language_2/control_flow_collections/experimental_flag_test/03 language_2/control_flow_collections/experimental_flag_test/04 language_2/control_flow_collections/experimental_flag_test/05 language_2/control_flow_collections/experimental_flag_test/06 language_2/control_flow_collections/experimental_flag_test/07 language_2/control_flow_collections/experimental_flag_test/08 language_2/control_flow_collections/experimental_flag_test/09 language_2/control_flow_collections/experimental_flag_test/10 language_2/control_flow_collections/experimental_flag_test/11 language_2/control_flow_collections/experimental_flag_test/12 language_2/control_flow_collections/experimental_flag_test/13 language_2/control_flow_collections/experimental_flag_test/14 language_2/control_flow_collections/experimental_flag_test/15 language_2/control_flow_collections/experimental_flag_test/none language_2/control_flow_collections/for_const_test/00 language_2/control_flow_collections/for_const_test/01 language_2/control_flow_collections/for_const_test/02 language_2/control_flow_collections/for_const_test/03 language_2/control_flow_collections/for_const_test/04 language_2/control_flow_collections/for_const_test/05 language_2/control_flow_collections/for_const_test/06 language_2/control_flow_collections/for_const_test/07 language_2/control_flow_collections/for_const_test/08 language_2/control_flow_collections/for_const_test/none language_2/control_flow_collections/if_const_error_test/01 language_2/control_flow_collections/if_const_error_test/02 language_2/control_flow_collections/if_const_error_test/03 language_2/control_flow_collections/if_const_error_test/04 language_2/control_flow_collections/if_const_error_test/05 language_2/control_flow_collections/if_const_error_test/06 language_2/control_flow_collections/if_const_error_test/07 language_2/control_flow_collections/if_const_error_test/08 language_2/control_flow_collections/if_const_error_test/09 language_2/control_flow_collections/if_const_error_test/10 language_2/control_flow_collections/if_const_error_test/11 language_2/control_flow_collections/if_const_error_test/12 language_2/control_flow_collections/if_const_error_test/13 language_2/control_flow_collections/if_const_error_test/14 language_2/control_flow_collections/if_const_error_test/15 language_2/control_flow_collections/if_const_error_test/16 language_2/control_flow_collections/if_const_error_test/17 language_2/control_flow_collections/if_const_error_test/18 language_2/control_flow_collections/if_const_error_test/19 language_2/control_flow_collections/if_const_error_test/20 language_2/control_flow_collections/if_const_error_test/21 language_2/control_flow_collections/if_const_error_test/22 language_2/control_flow_collections/if_const_error_test/23 language_2/control_flow_collections/for_inference_test language_2/control_flow_collections/for_test language_2/control_flow_collections/for_variable_test language_2/control_flow_collections/if_const_test language_2/control_flow_collections/if_inference_test language_2/control_flow_collections/if_test language_2/control_flow_collections/map_set_ambiguity_test language_2/control_flow_collections/syntax_test language_2/set_literals/invalid_set_literal_test/08 language_2/set_literals/invalid_set_literal_test/09 language_2/set_literals/invalid_set_literal_test/10 language_2/spread_collections/const_test language_2/spread_collections/inference_test language_2/spread_collections/map_set_ambiguity_test language_2/spread_collections/spread_test language_2/spread_collections/syntax_test standalone_2/ffi/data_not_asan_test standalone_2/ffi/data_test standalone_2/ffi/dynamic_library_test standalone_2/ffi/enable_ffi_test standalone_2/ffi/function_callbacks_test standalone_2/ffi/function_structs_test standalone_2/ffi/function_test standalone_2/ffi/structs_test standalone_2/ffi/subtype_test language_2/spread_collections/inference_test /==========================================================================================================\ | language_2/spread_collections/map_set_ambiguity_test is new and failed (CompileTimeError, expected Pass) | \==========================================================================================================/ --- Command "vm_compile_to_kernel" (took 471ms): DART_CONFIGURATION=ReleaseX64 /b/s/w/ir/cache/builder/sdk/pkg/vm/tool/gen_kernel --aot --platform=out/ReleaseX64/vm_platform_strong.dill -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartkp/tests_language_2_spread_collections_map_set_ambiguity_test/out.dill /b/s/w/ir/cache/builder/sdk/tests/language_2/spread_collections/map_set_ambiguity_test.dart --enable-experiment=set-literals,spread-collections --packages=/b/s/w/ir/cache/builder/sdk/.packages -Ddart.developer.causal_async_stacks=true exit code: 1 stdout: tests/language_2/spread_collections/map_set_ambiguity_test.dart:29:31: Error: Unexpected token '...'. Expect.type<Map<int, int>>({...map}); ^^^ tests/language_2/spread_collections/map_set_ambiguity_test.dart:30:26: Error: Unexpected token '...'. Expect.type<Set<int>>({...set}); ^^^ tests/language_2/spread_collections/map_set_ambiguity_test.dart:32:26: Error: Unexpected token '...'. Expect.type<Set<int>>({...iterable}); ^^^ tests/language_2/spread_collections/map_set_ambiguity_test.dart:33:26: Error: Unexpected token '...'. Expect.type<Set<int>>({...customSet}); ^^^ tests/language_2/spread_collections/map_set_ambiguity_test.dart:34:31: Error: Unexpected token '...'. Expect.type<Map<int, int>>({...customMap}); ^^^ tests/language_2/spread_collections/map_set_ambiguity_test.dart:36:31: Error: Unexpected token '...'. Expect.type<Map<int, int>>({...map, ...map}); ^^^ tests/language_2/spread_collections/map_set_ambiguity_test.dart:36:39: Error: Unexpected token '...'. Expect.type<Map<int, int>>({...map, ...map}); ^^^ tests/language_2/spread_collections/map_set_ambiguity_test.dart:38:39: Error: Unexpected token '...'. Expect.type<Map<dynamic, dynamic>>({...map, ...dyn}); ^^^ tests/language_2/spread_collections/map_set_ambiguity_test.dart:38:47: Error: Unexpected token '...'. Expect.type<Map<dynamic, dynamic>>({...map, ...dyn}); ^^^ tests/language_2/spread_collections/map_set_ambiguity_test.dart:41:31: Error: Unexpected token '...'. Expect.type<Map<int, int>>({...map, ...customMap}); ^^^ tests/language_2/spread_collections/map_set_ambiguity_test.dart:41:39: Error: Unexpected token '...'. Expect.type<Map<int, int>>({...map, ...customMap}); ^^^ tests/language_2/spread_collections/map_set_ambiguity_test.dart:43:26: Error: Unexpected token '...'. Expect.type<Set<int>>({...set, ...set}); ^^^ tests/language_2/spread_collections/map_set_ambiguity_test.dart:43:34: Error: Unexpected token '...'. Expect.type<Set<int>>({...set, ...set}); ^^^ tests/language_2/spread_collections/map_set_ambiguity_test.dart:44:30: Error: Unexpected token '...'. Expect.type<Set<dynamic>>({...set, ...dyn}); ^^^ tests/language_2/spread_collections/map_set_ambiguity_test.dart:44:38: Error: Unexpected token '...'. Expect.type<Set<dynamic>>({...set, ...dyn}); ^^^ tests/language_2/spread_collections/map_set_ambiguity_test.dart:45:26: Error: Unexpected token '...'. Expect.type<Set<int>>({...set, ...iterable}); ^^^ tests/language_2/spread_collections/map_set_ambiguity_test.dart:45:34: Error: Unexpected token '...'. Expect.type<Set<int>>({...set, ...iterable}); ^^^ tests/language_2/spread_collections/map_set_ambiguity_test.dart:46:26: Error: Unexpected token '...'. Expect.type<Set<int>>({...set, ...customSet}); ^^^ tests/language_2/spread_collections/map_set_ambiguity_test.dart:46:34: Error: Unexpected token '...'. Expect.type<Set<int>>({...set, ...customSet}); ^^^ tests/language_2/spread_collections/map_set_ambiguity_test.dart:50:30: Error: Unexpected token '...'. Expect.type<Set<dynamic>>({...dyn, ...iterable}); ^^^ tests/language_2/spread_collections/map_set_ambiguity_test.dart:50:38: Error: Unexpected token '...'. Expect.type<Set<dynamic>>({...dyn, ...iterable}); ^^^ tests/language_2/spread_collections/map_set_ambiguity_test.dart:51:30: Error: Unexpected token '...'. Expect.type<Set<dynamic>>({...dyn, ...customSet}); ^^^ tests/language_2/spread_collections/map_set_ambiguity_test.dart:51:38: Error: Unexpected token '...'. Expect.type<Set<dynamic>>({...dyn, ...customSet}); ^^^ tests/language_2/spread_collections/map_set_ambiguity_test.dart:52:39: Error: Unexpected token '...'. Expect.type<Map<dynamic, dynamic>>({...dyn, ...customMap}); ^^^ tests/language_2/spread_collections/map_set_ambiguity_test.dart:52:47: Error: Unexpected token '...'. Expect.type<Map<dynamic, dynamic>>({...dyn, ...customMap}); ^^^ tests/language_2/spread_collections/map_set_ambiguity_test.dart:54:26: Error: Unexpected token '...'. Expect.type<Set<int>>({...iterable, ...iterable}); ^^^ tests/language_2/spread_collections/map_set_ambiguity_test.dart:54:39: Error: Unexpected token '...'. Expect.type<Set<int>>({...iterable, ...iterable}); ^^^ tests/language_2/spread_collections/map_set_ambiguity_test.dart:55:26: Error: Unexpected token '...'. Expect.type<Set<int>>({...iterable, ...customSet}); ^^^ tests/language_2/spread_collections/map_set_ambiguity_test.dart:55:39: Error: Unexpected token '...'. Expect.type<Set<int>>({...iterable, ...customSet}); ^^^ tests/language_2/spread_collections/map_set_ambiguity_test.dart:58:26: Error: Unexpected token '...'. Expect.type<Set<int>>({...customSet, ...customSet}); ^^^ tests/language_2/spread_collections/map_set_ambiguity_test.dart:58:40: Error: Unexpected token '...'. Expect.type<Set<int>>({...customSet, ...customSet}); ^^^ tests/language_2/spread_collections/map_set_ambiguity_test.dart:61:31: Error: Unexpected token '...'. Expect.type<Map<int, int>>({...customMap, ...customMap}); ^^^ tests/language_2/spread_collections/map_set_ambiguity_test.dart:61:45: Error: Unexpected token '...'. Expect.type<Map<int, int>>({...customMap, ...customMap}); ^^^ tests/language_2/spread_collections/map_set_ambiguity_test.dart:68:24: Error: Unexpected token '...'. Map<int, int> map = {...untypedMap}; ^^^ tests/language_2/spread_collections/map_set_ambiguity_test.dart:69:19: Error: Unexpected token '...'. Set<int> set = {...untypedIterable}; ^^^ tests/language_2/spread_collections/map_set_ambiguity_test.dart:70:29: Error: Unexpected token '...'. Iterable<int> iterable = {...untypedIterable}; ^^^ --- Re-run this test: python tools/test.py -n dartkp-linux-release-x64 --repeat 5 --tests language_2/control_flow_collections/experimental_flag_test/01 language_2/control_flow_collections/experimental_flag_test/02 language_2/control_flow_collections/experimental_flag_test/03 language_2/control_flow_collections/experimental_flag_test/04 language_2/control_flow_collections/experimental_flag_test/05 language_2/control_flow_collections/experimental_flag_test/06 language_2/control_flow_collections/experimental_flag_test/07 language_2/control_flow_collections/experimental_flag_test/08 language_2/control_flow_collections/experimental_flag_test/09 language_2/control_flow_collections/experimental_flag_test/10 language_2/control_flow_collections/experimental_flag_test/11 language_2/control_flow_collections/experimental_flag_test/12 language_2/control_flow_collections/experimental_flag_test/13 language_2/control_flow_collections/experimental_flag_test/14 language_2/control_flow_collections/experimental_flag_test/15 language_2/control_flow_collections/experimental_flag_test/none language_2/control_flow_collections/for_const_test/00 language_2/control_flow_collections/for_const_test/01 language_2/control_flow_collections/for_const_test/02 language_2/control_flow_collections/for_const_test/03 language_2/control_flow_collections/for_const_test/04 language_2/control_flow_collections/for_const_test/05 language_2/control_flow_collections/for_const_test/06 language_2/control_flow_collections/for_const_test/07 language_2/control_flow_collections/for_const_test/08 language_2/control_flow_collections/for_const_test/none language_2/control_flow_collections/if_const_error_test/01 language_2/control_flow_collections/if_const_error_test/02 language_2/control_flow_collections/if_const_error_test/03 language_2/control_flow_collections/if_const_error_test/04 language_2/control_flow_collections/if_const_error_test/05 language_2/control_flow_collections/if_const_error_test/06 language_2/control_flow_collections/if_const_error_test/07 language_2/control_flow_collections/if_const_error_test/08 language_2/control_flow_collections/if_const_error_test/09 language_2/control_flow_collections/if_const_error_test/10 language_2/control_flow_collections/if_const_error_test/11 language_2/control_flow_collections/if_const_error_test/12 language_2/control_flow_collections/if_const_error_test/13 language_2/control_flow_collections/if_const_error_test/14 language_2/control_flow_collections/if_const_error_test/15 language_2/control_flow_collections/if_const_error_test/16 language_2/control_flow_collections/if_const_error_test/17 language_2/control_flow_collections/if_const_error_test/18 language_2/control_flow_collections/if_const_error_test/19 language_2/control_flow_collections/if_const_error_test/20 language_2/control_flow_collections/if_const_error_test/21 language_2/control_flow_collections/if_const_error_test/22 language_2/control_flow_collections/if_const_error_test/23 language_2/control_flow_collections/for_inference_test language_2/control_flow_collections/for_test language_2/control_flow_collections/for_variable_test language_2/control_flow_collections/if_const_test language_2/control_flow_collections/if_inference_test language_2/control_flow_collections/if_test language_2/control_flow_collections/map_set_ambiguity_test language_2/control_flow_collections/syntax_test language_2/set_literals/invalid_set_literal_test/08 language_2/set_literals/invalid_set_literal_test/09 language_2/set_literals/invalid_set_literal_test/10 language_2/spread_collections/const_test language_2/spread_collections/inference_test language_2/spread_collections/map_set_ambiguity_test language_2/spread_collections/spread_test language_2/spread_collections/syntax_test standalone_2/ffi/data_not_asan_test standalone_2/ffi/data_test standalone_2/ffi/dynamic_library_test standalone_2/ffi/enable_ffi_test standalone_2/ffi/function_callbacks_test standalone_2/ffi/function_structs_test standalone_2/ffi/function_test standalone_2/ffi/structs_test standalone_2/ffi/subtype_test language_2/spread_collections/map_set_ambiguity_test /===============================================================================================\ | language_2/spread_collections/spread_test is new and failed (CompileTimeError, expected Pass) | \===============================================================================================/ --- Command "vm_compile_to_kernel" (took 446ms): DART_CONFIGURATION=ReleaseX64 /b/s/w/ir/cache/builder/sdk/pkg/vm/tool/gen_kernel --aot --platform=out/ReleaseX64/vm_platform_strong.dill -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartkp/tests_language_2_spread_collections_spread_test/out.dill /b/s/w/ir/cache/builder/sdk/tests/language_2/spread_collections/spread_test.dart --enable-experiment=set-literals,spread-collections --packages=/b/s/w/ir/cache/builder/sdk/.packages -Ddart.developer.causal_async_stacks=true exit code: 1 stdout: tests/language_2/spread_collections/spread_test.dart:27:33: Error: Unexpected token '...'. Expect.listEquals(list, <int>[...list]); ^^^ tests/language_2/spread_collections/spread_test.dart:30:33: Error: Unexpected token '...'. Expect.listEquals(list, <int>[...<int>[1, 2], 3, 4]); ^^^ tests/language_2/spread_collections/spread_test.dart:33:36: Error: Unexpected token '...'. Expect.listEquals(list, <int>[1, ...<int>[2, 3], 4]); ^^^ tests/language_2/spread_collections/spread_test.dart:36:39: Error: Unexpected token '...'. Expect.listEquals(list, <int>[1, 2, ...<int>[3, 4]]); ^^^ tests/language_2/spread_collections/spread_test.dart:40:13: Error: Unexpected token '...'. <int>[...<int>[], 1, 2, ...<int>[], 3, 4, ...<int>[]]); ^^^ tests/language_2/spread_collections/spread_test.dart:40:31: Error: Unexpected token '...'. <int>[...<int>[], 1, 2, ...<int>[], 3, 4, ...<int>[]]); ^^^ tests/language_2/spread_collections/spread_test.dart:40:49: Error: Unexpected token '...'. <int>[...<int>[], 1, 2, ...<int>[], 3, 4, ...<int>[]]); ^^^ tests/language_2/spread_collections/spread_test.dart:43:33: Error: Unexpected token '...'. Expect.listEquals(list, <int>[...<int>[1], 2, ...<int>[3, 4]]); ^^^ tests/language_2/spread_collections/spread_test.dart:43:49: Error: Unexpected token '...'. Expect.listEquals(list, <int>[...<int>[1], 2, ...<int>[3, 4]]); ^^^ tests/language_2/spread_collections/spread_test.dart:46:42: Error: Unexpected token '...'. Expect.listEquals(list, <int>[...<int>[...<int>[1, 2], ...<int>[3, 4]]]); ^^^ tests/language_2/spread_collections/spread_test.dart:46:58: Error: Unexpected token '...'. Expect.listEquals(list, <int>[...<int>[...<int>[1, 2], ...<int>[3, 4]]]); ^^^ tests/language_2/spread_collections/spread_test.dart:46:33: Error: Unexpected token '...'. Expect.listEquals(list, <int>[...<int>[...<int>[1, 2], ...<int>[3, 4]]]); ^^^ tests/language_2/spread_collections/spread_test.dart:49:36: Error: Unexpected token '...?'. Expect.listEquals(list, <int>[1, ...?<int>[2, 3], ...?(null), ...?<int>[4]]); ^^^^ tests/language_2/spread_collections/spread_test.dart:49:53: Error: Unexpected token '...?'. Expect.listEquals(list, <int>[1, ...?<int>[2, 3], ...?(null), ...?<int>[4]]); ^^^^ tests/language_2/spread_collections/spread_test.dart:49:65: Error: Unexpected token '...?'. Expect.listEquals(list, <int>[1, ...?<int>[2, 3], ...?(null), ...?<int>[4]]); ^^^^ tests/language_2/spread_collections/spread_test.dart:54:43: Error: Unexpected token '...'. <int>[1, 2, innerList, 4], <int>[1, ...<int>[2, innerList, 4]]); ^^^ tests/language_2/spread_collections/spread_test.dart:57:33: Error: Unexpected token '...'. Expect.listEquals(list, <int>[...<num>[1, 2, 3, 4]]); ^^^ tests/language_2/spread_collections/spread_test.dart:30:41: Error: A value of type 'List<int>' can't be assigned to a variable of type 'int'. - 'List' is from 'dart:core'. Try changing the type of the left hand side, or casting the right hand side to 'int'. Expect.listEquals(list, <int>[...<int>[1, 2], 3, 4]); ^ tests/language_2/spread_collections/spread_test.dart:33:44: Error: A value of type 'List<int>' can't be assigned to a variable of type 'int'. - 'List' is from 'dart:core'. Try changing the type of the left hand side, or casting the right hand side to 'int'. Expect.listEquals(list, <int>[1, ...<int>[2, 3], 4]); ^ tests/language_2/spread_collections/spread_test.dart:36:47: Error: A value of type 'List<int>' can't be assigned to a variable of type 'int'. - 'List' is from 'dart:core'. Try changing the type of the left hand side, or casting the right hand side to 'int'. Expect.listEquals(list, <int>[1, 2, ...<int>[3, 4]]); ^ tests/language_2/spread_collections/spread_test.dart:40:21: Error: A value of type 'List<int>' can't be assigned to a variable of type 'int'. - 'List' is from 'dart:core'. Try changing the type of the left hand side, or casting the right hand side to 'int'. <int>[...<int>[], 1, 2, ...<int>[], 3, 4, ...<int>[]]); ^ tests/language_2/spread_collections/spread_test.dart:40:39: Error: A value of type 'List<int>' can't be assigned to a variable of type 'int'. - 'List' is from 'dart:core'. Try changing the type of the left hand side, or casting the right hand side to 'int'. <int>[...<int>[], 1, 2, ...<int>[], 3, 4, ...<int>[]]); ^ tests/language_2/spread_collections/spread_test.dart:40:57: Error: A value of type 'List<int>' can't be assigned to a variable of type 'int'. - 'List' is from 'dart:core'. Try changing the type of the left hand side, or casting the right hand side to 'int'. <int>[...<int>[], 1, 2, ...<int>[], 3, 4, ...<int>[]]); ^ tests/language_2/spread_collections/spread_test.dart:43:41: Error: A value of type 'List<int>' can't be assigned to a variable of type 'int'. - 'List' is from 'dart:core'. Try changing the type of the left hand side, or casting the right hand side to 'int'. Expect.listEquals(list, <int>[...<int>[1], 2, ...<int>[3, 4]]); ^ tests/language_2/spread_collections/spread_test.dart:43:57: Error: A value of type 'List<int>' can't be assigned to a variable of type 'int'. - 'List' is from 'dart:core'. Try changing the type of the left hand side, or casting the right hand side to 'int'. Expect.listEquals(list, <int>[...<int>[1], 2, ...<int>[3, 4]]); ^ tests/language_2/spread_collections/spread_test.dart:46:50: Error: A value of type 'List<int>' can't be assigned to a variable of type 'int'. - 'List' is from 'dart:core'. Try changing the type of the left hand side, or casting the right hand side to 'int'. Expect.listEquals(list, <int>[...<int>[...<int>[1, 2], ...<int>[3, 4]]]); ^ tests/language_2/spread_collections/spread_test.dart:46:66: Error: A value of type 'List<int>' can't be assigned to a variable of type 'int'. - 'List' is from 'dart:core'. Try changing the type of the left hand side, or casting the right hand side to 'int'. Expect.listEquals(list, <int>[...<int>[...<int>[1, 2], ...<int>[3, 4]]]); ^ tests/language_2/spread_collections/spread_test.dart:46:41: Error: A value of type 'List<int>' can't be assigned to a variable of type 'int'. - 'List' is from 'dart:core'. Try changing the type of the left hand side, or casting the right hand side to 'int'. Expect.listEquals(list, <int>[...<int>[...<int>[1, 2], ...<int>[3, 4]]]); ^ tests/language_2/spread_collections/spread_test.dart:49:45: Error: A value of type 'List<int>' can't be assigned to a variable of type 'int'. - 'List' is from 'dart:core'. Try changing the type of the left hand side, or casting the right hand side to 'int'. Expect.listEquals(list, <int>[1, ...?<int>[2, 3], ...?(null), ...?<int>[4]]); ^ tests/language_2/spread_collections/spread_test.dart:49:74: Error: A value of type 'List<int>' can't be assigned to a variable of type 'int'. - 'List' is from 'dart:core'. Try changing the type of the left hand side, or casting the right hand side to 'int'. Expect.listEquals(list, <int>[1, ...?<int>[2, 3], ...?(null), ...?<int>[4]]); ^ tests/language_2/spread_collections/spread_test.dart:54:19: Error: A value of type 'List<int>' can't be assigned to a variable of type 'int'. - 'List' is from 'dart:core'. Try changing the type of the left hand side, or casting the right hand side to 'int'. <int>[1, 2, innerList, 4], <int>[1, ...<int>[2, innerList, 4]]); ^ tests/language_2/spread_collections/spread_test.dart:54:55: Error: A value of type 'List<int>' can't be assigned to a variable of type 'int'. - 'List' is from 'dart:core'. Try changing the type of the left hand side, or casting the right hand side to 'int'. <int>[1, 2, innerList, 4], <int>[1, ...<int>[2, innerList, 4]]); ^ tests/language_2/spread_collections/spread_test.dart:54:51: Error: A value of type 'List<int>' can't be assigned to a variable of type 'int'. - 'List' is from 'dart:core'. Try changing the type of the left hand side, or casting the right hand side to 'int'. <int>[1, 2, innerList, 4], <int>[1, ...<int>[2, innerList, 4]]); ^ tests/language_2/spread_collections/spread_test.dart:57:41: Error: A value of type 'List<num>' can't be assigned to a variable of type 'int'. - 'List' is from 'dart:core'. Try changing the type of the left hand side, or casting the right hand side to 'int'. Expect.listEquals(list, <int>[...<num>[1, 2, 3, 4]]); ^ tests/language_2/spread_collections/spread_test.dart:62:36: Error: Unexpected token '...'. Expect.mapEquals(map, <int, int>{...map}); ^^^ tests/language_2/spread_collections/spread_test.dart:65:36: Error: Unexpected token '...'. Expect.mapEquals(map, <int, int>{...<int, int>{1: 1, 2: 2}, 3: 3, 4: 4}); ^^^ tests/language_2/spread_collections/spread_test.dart:68:42: Error: Unexpected token '...'. Expect.mapEquals(map, <int, int>{1: 1, ...<int, int>{2: 2, 3: 3}, 4: 4}); ^^^ tests/language_2/spread_collections/spread_test.dart:71:48: Error: Unexpected token '...'. Expect.mapEquals(map, <int, int>{1: 1, 2: 2, ...<int, int>{3: 3, 4: 4}}); ^^^ tests/language_2/spread_collections/spread_test.dart:75:5: Error: Unexpected token '...'. ...<int, int>{}, ^^^ tests/language_2/spread_collections/spread_test.dart:78:5: Error: Unexpected token '...'. ...<int, int>{}, ^^^ tests/language_2/spread_collections/spread_test.dart:81:5: Error: Unexpected token '...'. ...<int, int>{} ^^^ tests/language_2/spread_collections/spread_test.dart:86:18: Error: Unexpected token '...'. <int, int>{...<int, int>{1: 1}, 2: 2, ...<int, int>{3: 3, 4: 4}}); ^^^ tests/language_2/spread_collections/spread_test.dart:86:45: Error: Unexpected token '...'. <int, int>{...<int, int>{1: 1}, 2: 2, ...<int, int>{3: 3, 4: 4}}); ^^^ tests/language_2/spread_collections/spread_test.dart:91:7: Error: Unexpected token '...'. ...<int, int>{1: 1, 2: 2}, ^^^ tests/language_2/spread_collections/spread_test.dart:92:7: Error: Unexpected token '...'. ...<int, int>{3: 3, 4: 4} ^^^ tests/language_2/spread_collections/spread_test.dart:90:5: Error: Unexpected token '...'. ...<int, int>{ ^^^ tests/language_2/spread_collections/spread_test.dart:99:5: Error: Unexpected token '...?'. ...?<int, int>{2: 2, 3: 3}, ^^^^ tests/language_2/spread_collections/spread_test.dart:100:5: Error: Unexpected token '...?'. ...?(null), ^^^^ tests/language_2/spread_collections/spread_test.dart:101:5: Error: Unexpected token '...?'. ...?<int, int>{4: 4} ^^^^ tests/language_2/spread_collections/spread_test.dart:113:5: Error: Unexpected token '...'. ...<int, Object>{ ^^^ tests/language_2/spread_collections/spread_test.dart:121:36: Error: Unexpected token '...'. Expect.mapEquals(map, <int, int>{...<num, num>{1: 1, 2: 2, 3: 3, 4: 4}}); ^^^ tests/language_2/spread_collections/spread_test.dart:126:31: Error: Unexpected token '...'. Expect.setEquals(set, <int>{...set}); ^^^ tests/language_2/spread_collections/spread_test.dart:129:31: Error: Unexpected token '...'. Expect.setEquals(set, <int>{...<int>[1, 2], 3, 4}); ^^^ tests/language_2/spread_collections/spread_test.dart:132:34: Error: Unexpected token '...'. Expect.setEquals(set, <int>{1, ...<int>[2, 3], 4}); ^^^ tests/language_2/spread_collections/spread_test.dart:135:37: Error: Unexpected token '...'. Expect.setEquals(set, <int>{1, 2, ...<int>[3, 4]}); ^^^ tests/language_2/spread_collections/spread_test.dart:138:31: Error: Unexpected token '...'. Expect.setEquals(set, <int>{...<int>[], 1, 2, ...<int>[], 3, 4, ...<int>[]}); ^^^ tests/language_2/spread_collections/spread_test.dart:138:49: Error: Unexpected token '...'. Expect.setEquals(set, <int>{...<int>[], 1, 2, ...<int>[], 3, 4, ...<int>[]}); ^^^ tests/language_2/spread_collections/spread_test.dart:138:67: Error: Unexpected token '...'. Expect.setEquals(set, <int>{...<int>[], 1, 2, ...<int>[], 3, 4, ...<int>[]}); ^^^ tests/language_2/spread_collections/spread_test.dart:141:31: Error: Unexpected token '...'. Expect.setEquals(set, <int>{...<int>[1], 2, ...<int>[3, 4]}); ^^^ tests/language_2/spread_collections/spread_test.dart:141:47: Error: Unexpected token '...'. Expect.setEquals(set, <int>{...<int>[1], 2, ...<int>[3, 4]}); ^^^ tests/language_2/spread_collections/spread_test.dart:144:40: Error: Unexpected token '...'. Expect.setEquals(set, <int>{...<int>{...<int>[1, 2], ...<int>[3, 4]}}); ^^^ tests/language_2/spread_collections/spread_test.dart:144:56: Error: Unexpected token '...'. Expect.setEquals(set, <int>{...<int>{...<int>[1, 2], ...<int>[3, 4]}}); ^^^ tests/language_2/spread_collections/spread_test.dart:144:31: Error: Unexpected token '...'. Expect.setEquals(set, <int>{...<int>{...<int>[1, 2], ...<int>[3, 4]}}); ^^^ tests/language_2/spread_collections/spread_test.dart:147:34: Error: Unexpected token '...?'. Expect.setEquals(set, <int>{1, ...?<int>[2, 3], ...?(null), ...?<int>[4]}); ^^^^ tests/language_2/spread_collections/spread_test.dart:147:51: Error: Unexpected token '...?'. Expect.setEquals(set, <int>{1, ...?<int>[2, 3], ...?(null), ...?<int>[4]}); ^^^^ tests/language_2/spread_collections/spread_test.dart:147:63: Error: Unexpected token '...?'. Expect.setEquals(set, <int>{1, ...?<int>[2, 3], ...?(null), ...?<int>[4]}); ^^^^ tests/language_2/spread_collections/spread_test.dart:152:19: Error: Unexpected token '...'. <Object>{1, ...<Object>[2, innerSet, 4]}); ^^^ tests/language_2/spread_collections/spread_test.dart:155:31: Error: Unexpected token '...'. Expect.setEquals(set, <int>{...<num>[1, 2, 3, 4]}); ^^^ tests/language_2/spread_collections/spread_test.dart:129:39: Error: A value of type 'List<int>' can't be assigned to a variable of type 'int'. - 'List' is from 'dart:core'. Try changing the type of the left hand side, or casting the right hand side to 'int'. Expect.setEquals(set, <int>{...<int>[1, 2], 3, 4}); ^ tests/language_2/spread_collections/spread_test.dart:132:42: Error: A value of type 'List<int>' can't be assigned to a variable of type 'int'. - 'List' is from 'dart:core'. Try changing the type of the left hand side, or casting the right hand side to 'int'. Expect.setEquals(set, <int>{1, ...<int>[2, 3], 4}); ^ tests/language_2/spread_collections/spread_test.dart:135:45: Error: A value of type 'List<int>' can't be assigned to a variable of type 'int'. - 'List' is from 'dart:core'. Try changing the type of the left hand side, or casting the right hand side to 'int'. Expect.setEquals(set, <int>{1, 2, ...<int>[3, 4]}); ^ tests/language_2/spread_collections/spread_test.dart:138:39: Error: A value of type 'List<int>' can't be assigned to a variable of type 'int'. - 'List' is from 'dart:core'. Try changing the type of the left hand side, or casting the right hand side to 'int'. Expect.setEquals(set, <int>{...<int>[], 1, 2, ...<int>[], 3, 4, ...<int>[]}); ^ tests/language_2/spread_collections/spread_test.dart:138:57: Error: A value of type 'List<int>' can't be assigned to a variable of type 'int'. - 'List' is from 'dart:core'. Try changing the type of the left hand side, or casting the right hand side to 'int'. Expect.setEquals(set, <int>{...<int>[], 1, 2, ...<int>[], 3, 4, ...<int>[]}); ^ tests/language_2/spread_collections/spread_test.dart:138:75: Error: A value of type 'List<int>' can't be assigned to a variable of type 'int'. - 'List' is from 'dart:core'. Try changing the type of the left hand side, or casting the right hand side to 'int'. Expect.setEquals(set, <int>{...<int>[], 1, 2, ...<int>[], 3, 4, ...<int>[]}); ^ tests/language_2/spread_collections/spread_test.dart:141:39: Error: A value of type 'List<int>' can't be assigned to a variable of type 'int'. - 'List' is from 'dart:core'. Try changing the type of the left hand side, or casting the right hand side to 'int'. Expect.setEquals(set, <int>{...<int>[1], 2, ...<int>[3, 4]}); ^ tests/language_2/spread_collections/spread_test.dart:141:55: Error: A value of type 'List<int>' can't be assigned to a variable of type 'int'. - 'List' is from 'dart:core'. Try changing the type of the left hand side, or casting the right hand side to 'int'. Expect.setEquals(set, <int>{...<int>[1], 2, ...<int>[3, 4]}); ^ tests/language_2/spread_collections/spread_test.dart:144:48: Error: A value of type 'List<int>' can't be assigned to a variable of type 'int'. - 'List' is from 'dart:core'. Try changing the type of the left hand side, or casting the right hand side to 'int'. Expect.setEquals(set, <int>{...<int>{...<int>[1, 2], ...<int>[3, 4]}}); ^ tests/language_2/spread_collections/spread_test.dart:144:64: Error: A value of type 'List<int>' can't be assigned to a variable of type 'int'. - 'List' is from 'dart:core'. Try changing the type of the left hand side, or casting the right hand side to 'int'. Expect.setEquals(set, <int>{...<int>{...<int>[1, 2], ...<int>[3, 4]}}); ^ tests/language_2/spread_collections/spread_test.dart:144:39: Error: A value of type 'Set<int>' can't be assigned to a variable of type 'int'. - 'Set' is from 'dart:core'. Try changing the type of the left hand side, or casting the right hand side to 'int'. Expect.setEquals(set, <int>{...<int>{...<int>[1, 2], ...<int>[3, 4]}}); ^ tests/language_2/spread_collections/spread_test.dart:147:43: Error: A value of type 'List<int>' can't be assigned to a variable of type 'int'. - 'List' is from 'dart:core'. Try changing the type of the left hand side, or casting the right hand side to 'int'. Expect.setEquals(set, <int>{1, ...?<int>[2, 3], ...?(null), ...?<int>[4]}); ^ tests/language_2/spread_collections/spread_test.dart:147:72: Error: A value of type 'List<int>' can't be assigned to a variable of type 'int'. - 'List' is from 'dart:core'. Try changing the type of the left hand side, or casting the right hand side to 'int'. Expect.setEquals(set, <int>{1, ...?<int>[2, 3], ...?(null), ...?<int>[4]}); ^ tests/language_2/spread_collections/spread_test.dart:155:39: Error: A value of type 'List<num>' can't be assigned to a variable of type 'int'. - 'List' is from 'dart:core'. Try changing the type of the left hand side, or casting the right hand side to 'int'. Expect.setEquals(set, <int>{...<num>[1, 2, 3, 4]}); ^ tests/language_2/spread_collections/spread_test.dart:162:5: Error: Unexpected token '...'. ...<int, int>{2: 2, 3: 3, 4: 4}, ^^^ tests/language_2/spread_collections/spread_test.dart:163:5: Error: Unexpected token '...'. ...<int, int>{3: 3}, ^^^ tests/language_2/spread_collections/spread_test.dart:166:37: Error: Unexpected token '...'. Expect.setEquals(set, <int>{1, 2, ...<int>[1, 2, 3, 4], ...<int>[2, 3], 4}); ^^^ tests/language_2/spread_collections/spread_test.dart:166:59: Error: Unexpected token '...'. Expect.setEquals(set, <int>{1, 2, ...<int>[1, 2, 3, 4], ...<int>[2, 3], 4}); ^^^ tests/language_2/spread_collections/spread_test.dart:166:45: Error: A value of type 'List<int>' can't be assigned to a variable of type 'int'. - 'List' is from 'dart:core'. Try changing the type of the left hand side, or casting the right hand side to 'int'. Expect.setEquals(set, <int>{1, 2, ...<int>[1, 2, 3, 4], ...<int>[2, 3], 4}); ^ tests/language_2/spread_collections/spread_test.dart:166:67: Error: A value of type 'List<int>' can't be assigned to a variable of type 'int'. - 'List' is from 'dart:core'. Try changing the type of the left hand side, or casting the right hand side to 'int'. Expect.setEquals(set, <int>{1, 2, ...<int>[1, 2, 3, 4], ...<int>[2, 3], 4}); ^ tests/language_2/spread_collections/spread_test.dart:176:37: Error: Unexpected token '...'. var map = <Equality, int>{e1a: 1, ...<Equality, int>{e1b: 2, e2a: 3, e2b: 4}}; ^^^ tests/language_2/spread_collections/spread_test.dart:179:29: Error: Unexpected token '...'. var set = <Equality>{e1a, ...<Equality>[e1b, e2a, e2b]}; ^^^ tests/language_2/spread_collections/spread_test.dart:191:5: Error: Unexpected token '...'. ...<Equality, int>{log(e1b): log(2), log(e2a): log(3), log(e2b): log(4)} ^^^ tests/language_2/spread_collections/spread_test.dart:196:30: Error: Unexpected token '...'. set = <Equality>{log(e1a), ...<Equality>[log(e1b), log(e2a), log(e2b)]}; ^^^ tests/language_2/spread_collections/spread_test.dart:179:42: Error: A value of type 'List<Equality>' can't be assigned to a variable of type 'Equality'. - 'List' is from 'dart:core'. - 'Equality' is from 'tests/language_2/spread_collections/helper_classes.dart'. Try changing the type of the left hand side, or casting the right hand side to 'Equality'. var set = <Equality>{e1a, ...<Equality>[e1b, e2a, e2b]}; ^ tests/language_2/spread_collections/spread_test.dart:196:43: Error: A value of type 'List<Equality>' can't be assigned to a variable of type 'Equality'. - 'List' is from 'dart:core'. - 'Equality' is from 'tests/language_2/spread_collections/helper_classes.dart'. Try changing the type of the left hand side, or casting the right hand side to 'Equality'. set = <Equality>{log(e1a), ...<Equality>[log(e1b), log(e2a), log(e2b)]}; ^ tests/language_2/spread_collections/spread_test.dart:202:38: Error: Unexpected token '...'. Expect.throwsCastError(() => <int>[...nonIterable]); ^^^ tests/language_2/spread_collections/spread_test.dart:203:38: Error: Unexpected token '...'. Expect.throwsCastError(() => <int>{...nonIterable}); ^^^ tests/language_2/spread_collections/spread_test.dart:206:43: Error: Unexpected token '...'. Expect.throwsCastError(() => <int, int>{...nonMap}); ^^^ tests/language_2/spread_collections/spread_test.dart:209:38: Error: Unexpected token '...'. Expect.throwsCastError(() => <int>[...wrongIterableType]); ^^^ tests/language_2/spread_collections/spread_test.dart:210:38: Error: Unexpected token '...'. Expect.throwsCastError(() => <int>{...wrongIterableType}); ^^^ tests/language_2/spread_collections/spread_test.dart:214:43: Error: Unexpected token '...'. Expect.throwsCastError(() => <int, int>{...wrongKeyType}); ^^^ tests/language_2/spread_collections/spread_test.dart:215:43: Error: Unexpected token '...'. Expect.throwsCastError(() => <int, int>{...wrongValueType}); ^^^ tests/language_2/spread_collections/spread_test.dart:218:38: Error: Unexpected token '...'. Expect.throwsCastError(() => <int>[...map]); ^^^ tests/language_2/spread_collections/spread_test.dart:219:43: Error: Unexpected token '...'. Expect.throwsCastError(() => <int, int>{...list}); ^^^ tests/language_2/spread_collections/spread_test.dart:220:43: Error: Unexpected token '...'. Expect.throwsCastError(() => <int, int>{...set}); ^^^ tests/language_2/spread_collections/spread_test.dart:221:38: Error: Unexpected token '...'. Expect.throwsCastError(() => <int>{...map}); ^^^ --- Re-run this test: python tools/test.py -n dartkp-linux-release-x64 --repeat 5 --tests language_2/control_flow_collections/experimental_flag_test/01 language_2/control_flow_collections/experimental_flag_test/02 language_2/control_flow_collections/experimental_flag_test/03 language_2/control_flow_collections/experimental_flag_test/04 language_2/control_flow_collections/experimental_flag_test/05 language_2/control_flow_collections/experimental_flag_test/06 language_2/control_flow_collections/experimental_flag_test/07 language_2/control_flow_collections/experimental_flag_test/08 language_2/control_flow_collections/experimental_flag_test/09 language_2/control_flow_collections/experimental_flag_test/10 language_2/control_flow_collections/experimental_flag_test/11 language_2/control_flow_collections/experimental_flag_test/12 language_2/control_flow_collections/experimental_flag_test/13 language_2/control_flow_collections/experimental_flag_test/14 language_2/control_flow_collections/experimental_flag_test/15 language_2/control_flow_collections/experimental_flag_test/none language_2/control_flow_collections/for_const_test/00 language_2/control_flow_collections/for_const_test/01 language_2/control_flow_collections/for_const_test/02 language_2/control_flow_collections/for_const_test/03 language_2/control_flow_collections/for_const_test/04 language_2/control_flow_collections/for_const_test/05 language_2/control_flow_collections/for_const_test/06 language_2/control_flow_collections/for_const_test/07 language_2/control_flow_collections/for_const_test/08 language_2/control_flow_collections/for_const_test/none language_2/control_flow_collections/if_const_error_test/01 language_2/control_flow_collections/if_const_error_test/02 language_2/control_flow_collections/if_const_error_test/03 language_2/control_flow_collections/if_const_error_test/04 language_2/control_flow_collections/if_const_error_test/05 language_2/control_flow_collections/if_const_error_test/06 language_2/control_flow_collections/if_const_error_test/07 language_2/control_flow_collections/if_const_error_test/08 language_2/control_flow_collections/if_const_error_test/09 language_2/control_flow_collections/if_const_error_test/10 language_2/control_flow_collections/if_const_error_test/11 language_2/control_flow_collections/if_const_error_test/12 language_2/control_flow_collections/if_const_error_test/13 language_2/control_flow_collections/if_const_error_test/14 language_2/control_flow_collections/if_const_error_test/15 language_2/control_flow_collections/if_const_error_test/16 language_2/control_flow_collections/if_const_error_test/17 language_2/control_flow_collections/if_const_error_test/18 language_2/control_flow_collections/if_const_error_test/19 language_2/control_flow_collections/if_const_error_test/20 language_2/control_flow_collections/if_const_error_test/21 language_2/control_flow_collections/if_const_error_test/22 language_2/control_flow_collections/if_const_error_test/23 language_2/control_flow_collections/for_inference_test language_2/control_flow_collections/for_test language_2/control_flow_collections/for_variable_test language_2/control_flow_collections/if_const_test language_2/control_flow_collections/if_inference_test language_2/control_flow_collections/if_test language_2/control_flow_collections/map_set_ambiguity_test language_2/control_flow_collections/syntax_test language_2/set_literals/invalid_set_literal_test/08 language_2/set_literals/invalid_set_literal_test/09 language_2/set_literals/invalid_set_literal_test/10 language_2/spread_collections/const_test language_2/spread_collections/inference_test language_2/spread_collections/map_set_ambiguity_test language_2/spread_collections/spread_test language_2/spread_collections/syntax_test standalone_2/ffi/data_not_asan_test standalone_2/ffi/data_test standalone_2/ffi/dynamic_library_test standalone_2/ffi/enable_ffi_test standalone_2/ffi/function_callbacks_test standalone_2/ffi/function_structs_test standalone_2/ffi/function_test standalone_2/ffi/structs_test standalone_2/ffi/subtype_test language_2/spread_collections/spread_test /===============================================================================================\ | language_2/spread_collections/syntax_test is new and failed (CompileTimeError, expected Pass) | \===============================================================================================/ --- Command "vm_compile_to_kernel" (took 302ms): DART_CONFIGURATION=ReleaseX64 /b/s/w/ir/cache/builder/sdk/pkg/vm/tool/gen_kernel --aot --platform=out/ReleaseX64/vm_platform_strong.dill -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartkp/tests_language_2_spread_collections_syntax_test/out.dill /b/s/w/ir/cache/builder/sdk/tests/language_2/spread_collections/syntax_test.dart --enable-experiment=set-literals,spread-collections --packages=/b/s/w/ir/cache/builder/sdk/.packages -Ddart.developer.causal_async_stacks=true exit code: 1 stdout: tests/language_2/spread_collections/syntax_test.dart:12:30: Error: Unexpected token '...'. Expect.listEquals([1, 2], [...[1, 2],]); ^^^ tests/language_2/spread_collections/syntax_test.dart:13:35: Error: Unexpected token '...'. Expect.mapEquals({1: 1, 2: 2}, {...{1: 1, 2: 2},}); ^^^ tests/language_2/spread_collections/syntax_test.dart:14:29: Error: Unexpected token '...'. Expect.setEquals({1, 2}, {...{1, 2},}); ^^^ tests/language_2/spread_collections/syntax_test.dart:17:36: Error: Unexpected token '...'. Expect.listEquals([1, 2, 3], [1, ...true ? [2] : [], 3]); ^^^ tests/language_2/spread_collections/syntax_test.dart:18:33: Error: Unexpected token '...?'. Expect.listEquals([1, 3], [1, ...?true ? null : [], 3]); ^^^^ tests/language_2/spread_collections/syntax_test.dart:21:36: Error: Unexpected token '...'. Expect.listEquals([1, 2, 3], [1, ...a = [2], 3]); ^^^ tests/language_2/spread_collections/syntax_test.dart:22:33: Error: Unexpected token '...?'. Expect.listEquals([1, 3], [1, ...?a = null, 3]); ^^^^ tests/language_2/spread_collections/syntax_test.dart:25:39: Error: Unexpected token '...'. Expect.listEquals([1, 2, 3, 4], [1, ...b..add(3), 4]); ^^^ tests/language_2/spread_collections/syntax_test.dart:27:39: Error: Unexpected token '...?'. Expect.listEquals([1, 2, 3, 4], [1, ...?b..add(3), 4]); ^^^^ --- Re-run this test: python tools/test.py -n dartkp-linux-release-x64 --repeat 5 --tests language_2/control_flow_collections/experimental_flag_test/01 language_2/control_flow_collections/experimental_flag_test/02 language_2/control_flow_collections/experimental_flag_test/03 language_2/control_flow_collections/experimental_flag_test/04 language_2/control_flow_collections/experimental_flag_test/05 language_2/control_flow_collections/experimental_flag_test/06 language_2/control_flow_collections/experimental_flag_test/07 language_2/control_flow_collections/experimental_flag_test/08 language_2/control_flow_collections/experimental_flag_test/09 language_2/control_flow_collections/experimental_flag_test/10 language_2/control_flow_collections/experimental_flag_test/11 language_2/control_flow_collections/experimental_flag_test/12 language_2/control_flow_collections/experimental_flag_test/13 language_2/control_flow_collections/experimental_flag_test/14 language_2/control_flow_collections/experimental_flag_test/15 language_2/control_flow_collections/experimental_flag_test/none language_2/control_flow_collections/for_const_test/00 language_2/control_flow_collections/for_const_test/01 language_2/control_flow_collections/for_const_test/02 language_2/control_flow_collections/for_const_test/03 language_2/control_flow_collections/for_const_test/04 language_2/control_flow_collections/for_const_test/05 language_2/control_flow_collections/for_const_test/06 language_2/control_flow_collections/for_const_test/07 language_2/control_flow_collections/for_const_test/08 language_2/control_flow_collections/for_const_test/none language_2/control_flow_collections/if_const_error_test/01 language_2/control_flow_collections/if_const_error_test/02 language_2/control_flow_collections/if_const_error_test/03 language_2/control_flow_collections/if_const_error_test/04 language_2/control_flow_collections/if_const_error_test/05 language_2/control_flow_collections/if_const_error_test/06 language_2/control_flow_collections/if_const_error_test/07 language_2/control_flow_collections/if_const_error_test/08 language_2/control_flow_collections/if_const_error_test/09 language_2/control_flow_collections/if_const_error_test/10 language_2/control_flow_collections/if_const_error_test/11 language_2/control_flow_collections/if_const_error_test/12 language_2/control_flow_collections/if_const_error_test/13 language_2/control_flow_collections/if_const_error_test/14 language_2/control_flow_collections/if_const_error_test/15 language_2/control_flow_collections/if_const_error_test/16 language_2/control_flow_collections/if_const_error_test/17 language_2/control_flow_collections/if_const_error_test/18 language_2/control_flow_collections/if_const_error_test/19 language_2/control_flow_collections/if_const_error_test/20 language_2/control_flow_collections/if_const_error_test/21 language_2/control_flow_collections/if_const_error_test/22 language_2/control_flow_collections/if_const_error_test/23 language_2/control_flow_collections/for_inference_test language_2/control_flow_collections/for_test language_2/control_flow_collections/for_variable_test language_2/control_flow_collections/if_const_test language_2/control_flow_collections/if_inference_test language_2/control_flow_collections/if_test language_2/control_flow_collections/map_set_ambiguity_test language_2/control_flow_collections/syntax_test language_2/set_literals/invalid_set_literal_test/08 language_2/set_literals/invalid_set_literal_test/09 language_2/set_literals/invalid_set_literal_test/10 language_2/spread_collections/const_test language_2/spread_collections/inference_test language_2/spread_collections/map_set_ambiguity_test language_2/spread_collections/spread_test language_2/spread_collections/syntax_test standalone_2/ffi/data_not_asan_test standalone_2/ffi/data_test standalone_2/ffi/dynamic_library_test standalone_2/ffi/enable_ffi_test standalone_2/ffi/function_callbacks_test standalone_2/ffi/function_structs_test standalone_2/ffi/function_test standalone_2/ffi/structs_test standalone_2/ffi/subtype_test language_2/spread_collections/syntax_test /=====================================================================================\ | standalone_2/ffi/data_not_asan_test is new and failed (RuntimeError, expected Pass) | \=====================================================================================/ --- Command "vm_compile_to_kernel" (took 01.000283s): DART_CONFIGURATION=ReleaseX64 /b/s/w/ir/cache/builder/sdk/pkg/vm/tool/gen_kernel --aot --platform=out/ReleaseX64/vm_platform_strong.dill -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartkp/tests_standalone_2_ffi_data_not_asan_test/out.dill /b/s/w/ir/cache/builder/sdk/tests/standalone_2/ffi/data_not_asan_test.dart --packages=/b/s/w/ir/cache/builder/sdk/.packages -Ddart.developer.causal_async_stacks=true exit code: 0 --- Command "precompiler" (took 24ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/gen_snapshot --snapshot-kind=app-aot-assembly --assembly=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartkp/tests_standalone_2_ffi_data_not_asan_test/out.S --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartkp/tests_standalone_2_ffi_data_not_asan_test/out.dill exit code: 255 stderr: error: import of dart:ffi with --enable-ffi=false --- Re-run this test: python tools/test.py -n dartkp-linux-release-x64 --repeat 5 --tests language_2/control_flow_collections/experimental_flag_test/01 language_2/control_flow_collections/experimental_flag_test/02 language_2/control_flow_collections/experimental_flag_test/03 language_2/control_flow_collections/experimental_flag_test/04 language_2/control_flow_collections/experimental_flag_test/05 language_2/control_flow_collections/experimental_flag_test/06 language_2/control_flow_collections/experimental_flag_test/07 language_2/control_flow_collections/experimental_flag_test/08 language_2/control_flow_collections/experimental_flag_test/09 language_2/control_flow_collections/experimental_flag_test/10 language_2/control_flow_collections/experimental_flag_test/11 language_2/control_flow_collections/experimental_flag_test/12 language_2/control_flow_collections/experimental_flag_test/13 language_2/control_flow_collections/experimental_flag_test/14 language_2/control_flow_collections/experimental_flag_test/15 language_2/control_flow_collections/experimental_flag_test/none language_2/control_flow_collections/for_const_test/00 language_2/control_flow_collections/for_const_test/01 language_2/control_flow_collections/for_const_test/02 language_2/control_flow_collections/for_const_test/03 language_2/control_flow_collections/for_const_test/04 language_2/control_flow_collections/for_const_test/05 language_2/control_flow_collections/for_const_test/06 language_2/control_flow_collections/for_const_test/07 language_2/control_flow_collections/for_const_test/08 language_2/control_flow_collections/for_const_test/none language_2/control_flow_collections/if_const_error_test/01 language_2/control_flow_collections/if_const_error_test/02 language_2/control_flow_collections/if_const_error_test/03 language_2/control_flow_collections/if_const_error_test/04 language_2/control_flow_collections/if_const_error_test/05 language_2/control_flow_collections/if_const_error_test/06 language_2/control_flow_collections/if_const_error_test/07 language_2/control_flow_collections/if_const_error_test/08 language_2/control_flow_collections/if_const_error_test/09 language_2/control_flow_collections/if_const_error_test/10 language_2/control_flow_collections/if_const_error_test/11 language_2/control_flow_collections/if_const_error_test/12 language_2/control_flow_collections/if_const_error_test/13 language_2/control_flow_collections/if_const_error_test/14 language_2/control_flow_collections/if_const_error_test/15 language_2/control_flow_collections/if_const_error_test/16 language_2/control_flow_collections/if_const_error_test/17 language_2/control_flow_collections/if_const_error_test/18 language_2/control_flow_collections/if_const_error_test/19 language_2/control_flow_collections/if_const_error_test/20 language_2/control_flow_collections/if_const_error_test/21 language_2/control_flow_collections/if_const_error_test/22 language_2/control_flow_collections/if_const_error_test/23 language_2/control_flow_collections/for_inference_test language_2/control_flow_collections/for_test language_2/control_flow_collections/for_variable_test language_2/control_flow_collections/if_const_test language_2/control_flow_collections/if_inference_test language_2/control_flow_collections/if_test language_2/control_flow_collections/map_set_ambiguity_test language_2/control_flow_collections/syntax_test language_2/set_literals/invalid_set_literal_test/08 language_2/set_literals/invalid_set_literal_test/09 language_2/set_literals/invalid_set_literal_test/10 language_2/spread_collections/const_test language_2/spread_collections/inference_test language_2/spread_collections/map_set_ambiguity_test language_2/spread_collections/spread_test language_2/spread_collections/syntax_test standalone_2/ffi/data_not_asan_test standalone_2/ffi/data_test standalone_2/ffi/dynamic_library_test standalone_2/ffi/enable_ffi_test standalone_2/ffi/function_callbacks_test standalone_2/ffi/function_structs_test standalone_2/ffi/function_test standalone_2/ffi/structs_test standalone_2/ffi/subtype_test standalone_2/ffi/data_not_asan_test /============================================================================\ | standalone_2/ffi/data_test is new and failed (RuntimeError, expected Pass) | \============================================================================/ --- Command "vm_compile_to_kernel" (took 01.000410s): DART_CONFIGURATION=ReleaseX64 /b/s/w/ir/cache/builder/sdk/pkg/vm/tool/gen_kernel --aot --platform=out/ReleaseX64/vm_platform_strong.dill -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartkp/tests_standalone_2_ffi_data_test/out.dill /b/s/w/ir/cache/builder/sdk/tests/standalone_2/ffi/data_test.dart --packages=/b/s/w/ir/cache/builder/sdk/.packages -Ddart.developer.causal_async_stacks=true exit code: 0 --- Command "precompiler" (took 24ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/gen_snapshot --snapshot-kind=app-aot-assembly --assembly=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartkp/tests_standalone_2_ffi_data_test/out.S --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartkp/tests_standalone_2_ffi_data_test/out.dill exit code: 255 stderr: error: import of dart:ffi with --enable-ffi=false --- Re-run this test: python tools/test.py -n dartkp-linux-release-x64 --repeat 5 --tests language_2/control_flow_collections/experimental_flag_test/01 language_2/control_flow_collections/experimental_flag_test/02 language_2/control_flow_collections/experimental_flag_test/03 language_2/control_flow_collections/experimental_flag_test/04 language_2/control_flow_collections/experimental_flag_test/05 language_2/control_flow_collections/experimental_flag_test/06 language_2/control_flow_collections/experimental_flag_test/07 language_2/control_flow_collections/experimental_flag_test/08 language_2/control_flow_collections/experimental_flag_test/09 language_2/control_flow_collections/experimental_flag_test/10 language_2/control_flow_collections/experimental_flag_test/11 language_2/control_flow_collections/experimental_flag_test/12 language_2/control_flow_collections/experimental_flag_test/13 language_2/control_flow_collections/experimental_flag_test/14 language_2/control_flow_collections/experimental_flag_test/15 language_2/control_flow_collections/experimental_flag_test/none language_2/control_flow_collections/for_const_test/00 language_2/control_flow_collections/for_const_test/01 language_2/control_flow_collections/for_const_test/02 language_2/control_flow_collections/for_const_test/03 language_2/control_flow_collections/for_const_test/04 language_2/control_flow_collections/for_const_test/05 language_2/control_flow_collections/for_const_test/06 language_2/control_flow_collections/for_const_test/07 language_2/control_flow_collections/for_const_test/08 language_2/control_flow_collections/for_const_test/none language_2/control_flow_collections/if_const_error_test/01 language_2/control_flow_collections/if_const_error_test/02 language_2/control_flow_collections/if_const_error_test/03 language_2/control_flow_collections/if_const_error_test/04 language_2/control_flow_collections/if_const_error_test/05 language_2/control_flow_collections/if_const_error_test/06 language_2/control_flow_collections/if_const_error_test/07 language_2/control_flow_collections/if_const_error_test/08 language_2/control_flow_collections/if_const_error_test/09 language_2/control_flow_collections/if_const_error_test/10 language_2/control_flow_collections/if_const_error_test/11 language_2/control_flow_collections/if_const_error_test/12 language_2/control_flow_collections/if_const_error_test/13 language_2/control_flow_collections/if_const_error_test/14 language_2/control_flow_collections/if_const_error_test/15 language_2/control_flow_collections/if_const_error_test/16 language_2/control_flow_collections/if_const_error_test/17 language_2/control_flow_collections/if_const_error_test/18 language_2/control_flow_collections/if_const_error_test/19 language_2/control_flow_collections/if_const_error_test/20 language_2/control_flow_collections/if_const_error_test/21 language_2/control_flow_collections/if_const_error_test/22 language_2/control_flow_collections/if_const_error_test/23 language_2/control_flow_collections/for_inference_test language_2/control_flow_collections/for_test language_2/control_flow_collections/for_variable_test language_2/control_flow_collections/if_const_test language_2/control_flow_collections/if_inference_test language_2/control_flow_collections/if_test language_2/control_flow_collections/map_set_ambiguity_test language_2/control_flow_collections/syntax_test language_2/set_literals/invalid_set_literal_test/08 language_2/set_literals/invalid_set_literal_test/09 language_2/set_literals/invalid_set_literal_test/10 language_2/spread_collections/const_test language_2/spread_collections/inference_test language_2/spread_collections/map_set_ambiguity_test language_2/spread_collections/spread_test language_2/spread_collections/syntax_test standalone_2/ffi/data_not_asan_test standalone_2/ffi/data_test standalone_2/ffi/dynamic_library_test standalone_2/ffi/enable_ffi_test standalone_2/ffi/function_callbacks_test standalone_2/ffi/function_structs_test standalone_2/ffi/function_test standalone_2/ffi/structs_test standalone_2/ffi/subtype_test standalone_2/ffi/data_test /=======================================================================================\ | standalone_2/ffi/dynamic_library_test is new and failed (RuntimeError, expected Pass) | \=======================================================================================/ --- Command "vm_compile_to_kernel" (took 02.000425s): DART_CONFIGURATION=ReleaseX64 /b/s/w/ir/cache/builder/sdk/pkg/vm/tool/gen_kernel --aot --platform=out/ReleaseX64/vm_platform_strong.dill -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartkp/tests_standalone_2_ffi_dynamic_library_test/out.dill /b/s/w/ir/cache/builder/sdk/tests/standalone_2/ffi/dynamic_library_test.dart --packages=/b/s/w/ir/cache/builder/sdk/.packages -Ddart.developer.causal_async_stacks=true exit code: 0 --- Command "precompiler" (took 46ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/gen_snapshot --snapshot-kind=app-aot-assembly --assembly=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartkp/tests_standalone_2_ffi_dynamic_library_test/out.S --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartkp/tests_standalone_2_ffi_dynamic_library_test/out.dill exit code: 255 stderr: error: import of dart:ffi with --enable-ffi=false --- Re-run this test: python tools/test.py -n dartkp-linux-release-x64 --repeat 5 --tests language_2/control_flow_collections/experimental_flag_test/01 language_2/control_flow_collections/experimental_flag_test/02 language_2/control_flow_collections/experimental_flag_test/03 language_2/control_flow_collections/experimental_flag_test/04 language_2/control_flow_collections/experimental_flag_test/05 language_2/control_flow_collections/experimental_flag_test/06 language_2/control_flow_collections/experimental_flag_test/07 language_2/control_flow_collections/experimental_flag_test/08 language_2/control_flow_collections/experimental_flag_test/09 language_2/control_flow_collections/experimental_flag_test/10 language_2/control_flow_collections/experimental_flag_test/11 language_2/control_flow_collections/experimental_flag_test/12 language_2/control_flow_collections/experimental_flag_test/13 language_2/control_flow_collections/experimental_flag_test/14 language_2/control_flow_collections/experimental_flag_test/15 language_2/control_flow_collections/experimental_flag_test/none language_2/control_flow_collections/for_const_test/00 language_2/control_flow_collections/for_const_test/01 language_2/control_flow_collections/for_const_test/02 language_2/control_flow_collections/for_const_test/03 language_2/control_flow_collections/for_const_test/04 language_2/control_flow_collections/for_const_test/05 language_2/control_flow_collections/for_const_test/06 language_2/control_flow_collections/for_const_test/07 language_2/control_flow_collections/for_const_test/08 language_2/control_flow_collections/for_const_test/none language_2/control_flow_collections/if_const_error_test/01 language_2/control_flow_collections/if_const_error_test/02 language_2/control_flow_collections/if_const_error_test/03 language_2/control_flow_collections/if_const_error_test/04 language_2/control_flow_collections/if_const_error_test/05 language_2/control_flow_collections/if_const_error_test/06 language_2/control_flow_collections/if_const_error_test/07 language_2/control_flow_collections/if_const_error_test/08 language_2/control_flow_collections/if_const_error_test/09 language_2/control_flow_collections/if_const_error_test/10 language_2/control_flow_collections/if_const_error_test/11 language_2/control_flow_collections/if_const_error_test/12 language_2/control_flow_collections/if_const_error_test/13 language_2/control_flow_collections/if_const_error_test/14 language_2/control_flow_collections/if_const_error_test/15 language_2/control_flow_collections/if_const_error_test/16 language_2/control_flow_collections/if_const_error_test/17 language_2/control_flow_collections/if_const_error_test/18 language_2/control_flow_collections/if_const_error_test/19 language_2/control_flow_collections/if_const_error_test/20 language_2/control_flow_collections/if_const_error_test/21 language_2/control_flow_collections/if_const_error_test/22 language_2/control_flow_collections/if_const_error_test/23 language_2/control_flow_collections/for_inference_test language_2/control_flow_collections/for_test language_2/control_flow_collections/for_variable_test language_2/control_flow_collections/if_const_test language_2/control_flow_collections/if_inference_test language_2/control_flow_collections/if_test language_2/control_flow_collections/map_set_ambiguity_test language_2/control_flow_collections/syntax_test language_2/set_literals/invalid_set_literal_test/08 language_2/set_literals/invalid_set_literal_test/09 language_2/set_literals/invalid_set_literal_test/10 language_2/spread_collections/const_test language_2/spread_collections/inference_test language_2/spread_collections/map_set_ambiguity_test language_2/spread_collections/spread_test language_2/spread_collections/syntax_test standalone_2/ffi/data_not_asan_test standalone_2/ffi/data_test standalone_2/ffi/dynamic_library_test standalone_2/ffi/enable_ffi_test standalone_2/ffi/function_callbacks_test standalone_2/ffi/function_structs_test standalone_2/ffi/function_test standalone_2/ffi/structs_test standalone_2/ffi/subtype_test standalone_2/ffi/dynamic_library_test /==================================================================================\ | standalone_2/ffi/enable_ffi_test is new and failed (RuntimeError, expected Pass) | \==================================================================================/ --- Command "vm_compile_to_kernel" (took 01.000344s): DART_CONFIGURATION=ReleaseX64 /b/s/w/ir/cache/builder/sdk/pkg/vm/tool/gen_kernel --aot --platform=out/ReleaseX64/vm_platform_strong.dill -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartkp/tests_standalone_2_ffi_enable_ffi_test/out.dill /b/s/w/ir/cache/builder/sdk/tests/standalone_2/ffi/enable_ffi_test.dart --packages=/b/s/w/ir/cache/builder/sdk/.packages -Ddart.developer.causal_async_stacks=true exit code: 0 --- Command "precompiler" (took 24ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/gen_snapshot --snapshot-kind=app-aot-assembly --assembly=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartkp/tests_standalone_2_ffi_enable_ffi_test/out.S --enable-ffi=false --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartkp/tests_standalone_2_ffi_enable_ffi_test/out.dill exit code: 255 stderr: error: import of dart:ffi with --enable-ffi=false --- Re-run this test: python tools/test.py -n dartkp-linux-release-x64 --repeat 5 --tests language_2/control_flow_collections/experimental_flag_test/01 language_2/control_flow_collections/experimental_flag_test/02 language_2/control_flow_collections/experimental_flag_test/03 language_2/control_flow_collections/experimental_flag_test/04 language_2/control_flow_collections/experimental_flag_test/05 language_2/control_flow_collections/experimental_flag_test/06 language_2/control_flow_collections/experimental_flag_test/07 language_2/control_flow_collections/experimental_flag_test/08 language_2/control_flow_collections/experimental_flag_test/09 language_2/control_flow_collections/experimental_flag_test/10 language_2/control_flow_collections/experimental_flag_test/11 language_2/control_flow_collections/experimental_flag_test/12 language_2/control_flow_collections/experimental_flag_test/13 language_2/control_flow_collections/experimental_flag_test/14 language_2/control_flow_collections/experimental_flag_test/15 language_2/control_flow_collections/experimental_flag_test/none language_2/control_flow_collections/for_const_test/00 language_2/control_flow_collections/for_const_test/01 language_2/control_flow_collections/for_const_test/02 language_2/control_flow_collections/for_const_test/03 language_2/control_flow_collections/for_const_test/04 language_2/control_flow_collections/for_const_test/05 language_2/control_flow_collections/for_const_test/06 language_2/control_flow_collections/for_const_test/07 language_2/control_flow_collections/for_const_test/08 language_2/control_flow_collections/for_const_test/none language_2/control_flow_collections/if_const_error_test/01 language_2/control_flow_collections/if_const_error_test/02 language_2/control_flow_collections/if_const_error_test/03 language_2/control_flow_collections/if_const_error_test/04 language_2/control_flow_collections/if_const_error_test/05 language_2/control_flow_collections/if_const_error_test/06 language_2/control_flow_collections/if_const_error_test/07 language_2/control_flow_collections/if_const_error_test/08 language_2/control_flow_collections/if_const_error_test/09 language_2/control_flow_collections/if_const_error_test/10 language_2/control_flow_collections/if_const_error_test/11 language_2/control_flow_collections/if_const_error_test/12 language_2/control_flow_collections/if_const_error_test/13 language_2/control_flow_collections/if_const_error_test/14 language_2/control_flow_collections/if_const_error_test/15 language_2/control_flow_collections/if_const_error_test/16 language_2/control_flow_collections/if_const_error_test/17 language_2/control_flow_collections/if_const_error_test/18 language_2/control_flow_collections/if_const_error_test/19 language_2/control_flow_collections/if_const_error_test/20 language_2/control_flow_collections/if_const_error_test/21 language_2/control_flow_collections/if_const_error_test/22 language_2/control_flow_collections/if_const_error_test/23 language_2/control_flow_collections/for_inference_test language_2/control_flow_collections/for_test language_2/control_flow_collections/for_variable_test language_2/control_flow_collections/if_const_test language_2/control_flow_collections/if_inference_test language_2/control_flow_collections/if_test language_2/control_flow_collections/map_set_ambiguity_test language_2/control_flow_collections/syntax_test language_2/set_literals/invalid_set_literal_test/08 language_2/set_literals/invalid_set_literal_test/09 language_2/set_literals/invalid_set_literal_test/10 language_2/spread_collections/const_test language_2/spread_collections/inference_test language_2/spread_collections/map_set_ambiguity_test language_2/spread_collections/spread_test language_2/spread_collections/syntax_test standalone_2/ffi/data_not_asan_test standalone_2/ffi/data_test standalone_2/ffi/dynamic_library_test standalone_2/ffi/enable_ffi_test standalone_2/ffi/function_callbacks_test standalone_2/ffi/function_structs_test standalone_2/ffi/function_test standalone_2/ffi/structs_test standalone_2/ffi/subtype_test standalone_2/ffi/enable_ffi_test /==========================================================================================\ | standalone_2/ffi/function_callbacks_test is new and failed (RuntimeError, expected Pass) | \==========================================================================================/ --- Command "vm_compile_to_kernel" (took 02.000972s): DART_CONFIGURATION=ReleaseX64 /b/s/w/ir/cache/builder/sdk/pkg/vm/tool/gen_kernel --aot --platform=out/ReleaseX64/vm_platform_strong.dill -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartkp/tests_standalone_2_ffi_function_callbacks_test/out.dill /b/s/w/ir/cache/builder/sdk/tests/standalone_2/ffi/function_callbacks_test.dart --packages=/b/s/w/ir/cache/builder/sdk/.packages -Ddart.developer.causal_async_stacks=true exit code: 0 --- Command "precompiler" (took 53ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/gen_snapshot --snapshot-kind=app-aot-assembly --assembly=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartkp/tests_standalone_2_ffi_function_callbacks_test/out.S --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartkp/tests_standalone_2_ffi_function_callbacks_test/out.dill exit code: 255 stderr: error: import of dart:ffi with --enable-ffi=false --- Re-run this test: python tools/test.py -n dartkp-linux-release-x64 --repeat 5 --tests language_2/control_flow_collections/experimental_flag_test/01 language_2/control_flow_collections/experimental_flag_test/02 language_2/control_flow_collections/experimental_flag_test/03 language_2/control_flow_collections/experimental_flag_test/04 language_2/control_flow_collections/experimental_flag_test/05 language_2/control_flow_collections/experimental_flag_test/06 language_2/control_flow_collections/experimental_flag_test/07 language_2/control_flow_collections/experimental_flag_test/08 language_2/control_flow_collections/experimental_flag_test/09 language_2/control_flow_collections/experimental_flag_test/10 language_2/control_flow_collections/experimental_flag_test/11 language_2/control_flow_collections/experimental_flag_test/12 language_2/control_flow_collections/experimental_flag_test/13 language_2/control_flow_collections/experimental_flag_test/14 language_2/control_flow_collections/experimental_flag_test/15 language_2/control_flow_collections/experimental_flag_test/none language_2/control_flow_collections/for_const_test/00 language_2/control_flow_collections/for_const_test/01 language_2/control_flow_collections/for_const_test/02 language_2/control_flow_collections/for_const_test/03 language_2/control_flow_collections/for_const_test/04 language_2/control_flow_collections/for_const_test/05 language_2/control_flow_collections/for_const_test/06 language_2/control_flow_collections/for_const_test/07 language_2/control_flow_collections/for_const_test/08 language_2/control_flow_collections/for_const_test/none language_2/control_flow_collections/if_const_error_test/01 language_2/control_flow_collections/if_const_error_test/02 language_2/control_flow_collections/if_const_error_test/03 language_2/control_flow_collections/if_const_error_test/04 language_2/control_flow_collections/if_const_error_test/05 language_2/control_flow_collections/if_const_error_test/06 language_2/control_flow_collections/if_const_error_test/07 language_2/control_flow_collections/if_const_error_test/08 language_2/control_flow_collections/if_const_error_test/09 language_2/control_flow_collections/if_const_error_test/10 language_2/control_flow_collections/if_const_error_test/11 language_2/control_flow_collections/if_const_error_test/12 language_2/control_flow_collections/if_const_error_test/13 language_2/control_flow_collections/if_const_error_test/14 language_2/control_flow_collections/if_const_error_test/15 language_2/control_flow_collections/if_const_error_test/16 language_2/control_flow_collections/if_const_error_test/17 language_2/control_flow_collections/if_const_error_test/18 language_2/control_flow_collections/if_const_error_test/19 language_2/control_flow_collections/if_const_error_test/20 language_2/control_flow_collections/if_const_error_test/21 language_2/control_flow_collections/if_const_error_test/22 language_2/control_flow_collections/if_const_error_test/23 language_2/control_flow_collections/for_inference_test language_2/control_flow_collections/for_test language_2/control_flow_collections/for_variable_test language_2/control_flow_collections/if_const_test language_2/control_flow_collections/if_inference_test language_2/control_flow_collections/if_test language_2/control_flow_collections/map_set_ambiguity_test language_2/control_flow_collections/syntax_test language_2/set_literals/invalid_set_literal_test/08 language_2/set_literals/invalid_set_literal_test/09 language_2/set_literals/invalid_set_literal_test/10 language_2/spread_collections/const_test language_2/spread_collections/inference_test language_2/spread_collections/map_set_ambiguity_test language_2/spread_collections/spread_test language_2/spread_collections/syntax_test standalone_2/ffi/data_not_asan_test standalone_2/ffi/data_test standalone_2/ffi/dynamic_library_test standalone_2/ffi/enable_ffi_test standalone_2/ffi/function_callbacks_test standalone_2/ffi/function_structs_test standalone_2/ffi/function_test standalone_2/ffi/structs_test standalone_2/ffi/subtype_test standalone_2/ffi/function_callbacks_test /========================================================================================\ | standalone_2/ffi/function_structs_test is new and failed (RuntimeError, expected Pass) | \========================================================================================/ --- Command "vm_compile_to_kernel" (took 01.000405s): DART_CONFIGURATION=ReleaseX64 /b/s/w/ir/cache/builder/sdk/pkg/vm/tool/gen_kernel --aot --platform=out/ReleaseX64/vm_platform_strong.dill -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartkp/tests_standalone_2_ffi_function_structs_test/out.dill /b/s/w/ir/cache/builder/sdk/tests/standalone_2/ffi/function_structs_test.dart --packages=/b/s/w/ir/cache/builder/sdk/.packages -Ddart.developer.causal_async_stacks=true exit code: 0 --- Command "precompiler" (took 25ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/gen_snapshot --snapshot-kind=app-aot-assembly --assembly=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartkp/tests_standalone_2_ffi_function_structs_test/out.S --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartkp/tests_standalone_2_ffi_function_structs_test/out.dill exit code: 255 stderr: error: import of dart:ffi with --enable-ffi=false --- Re-run this test: python tools/test.py -n dartkp-linux-release-x64 --repeat 5 --tests language_2/control_flow_collections/experimental_flag_test/01 language_2/control_flow_collections/experimental_flag_test/02 language_2/control_flow_collections/experimental_flag_test/03 language_2/control_flow_collections/experimental_flag_test/04 language_2/control_flow_collections/experimental_flag_test/05 language_2/control_flow_collections/experimental_flag_test/06 language_2/control_flow_collections/experimental_flag_test/07 language_2/control_flow_collections/experimental_flag_test/08 language_2/control_flow_collections/experimental_flag_test/09 language_2/control_flow_collections/experimental_flag_test/10 language_2/control_flow_collections/experimental_flag_test/11 language_2/control_flow_collections/experimental_flag_test/12 language_2/control_flow_collections/experimental_flag_test/13 language_2/control_flow_collections/experimental_flag_test/14 language_2/control_flow_collections/experimental_flag_test/15 language_2/control_flow_collections/experimental_flag_test/none language_2/control_flow_collections/for_const_test/00 language_2/control_flow_collections/for_const_test/01 language_2/control_flow_collections/for_const_test/02 language_2/control_flow_collections/for_const_test/03 language_2/control_flow_collections/for_const_test/04 language_2/control_flow_collections/for_const_test/05 language_2/control_flow_collections/for_const_test/06 language_2/control_flow_collections/for_const_test/07 language_2/control_flow_collections/for_const_test/08 language_2/control_flow_collections/for_const_test/none language_2/control_flow_collections/if_const_error_test/01 language_2/control_flow_collections/if_const_error_test/02 language_2/control_flow_collections/if_const_error_test/03 language_2/control_flow_collections/if_const_error_test/04 language_2/control_flow_collections/if_const_error_test/05 language_2/control_flow_collections/if_const_error_test/06 language_2/control_flow_collections/if_const_error_test/07 language_2/control_flow_collections/if_const_error_test/08 language_2/control_flow_collections/if_const_error_test/09 language_2/control_flow_collections/if_const_error_test/10 language_2/control_flow_collections/if_const_error_test/11 language_2/control_flow_collections/if_const_error_test/12 language_2/control_flow_collections/if_const_error_test/13 language_2/control_flow_collections/if_const_error_test/14 language_2/control_flow_collections/if_const_error_test/15 language_2/control_flow_collections/if_const_error_test/16 language_2/control_flow_collections/if_const_error_test/17 language_2/control_flow_collections/if_const_error_test/18 language_2/control_flow_collections/if_const_error_test/19 language_2/control_flow_collections/if_const_error_test/20 language_2/control_flow_collections/if_const_error_test/21 language_2/control_flow_collections/if_const_error_test/22 language_2/control_flow_collections/if_const_error_test/23 language_2/control_flow_collections/for_inference_test language_2/control_flow_collections/for_test language_2/control_flow_collections/for_variable_test language_2/control_flow_collections/if_const_test language_2/control_flow_collections/if_inference_test language_2/control_flow_collections/if_test language_2/control_flow_collections/map_set_ambiguity_test language_2/control_flow_collections/syntax_test language_2/set_literals/invalid_set_literal_test/08 language_2/set_literals/invalid_set_literal_test/09 language_2/set_literals/invalid_set_literal_test/10 language_2/spread_collections/const_test language_2/spread_collections/inference_test language_2/spread_collections/map_set_ambiguity_test language_2/spread_collections/spread_test language_2/spread_collections/syntax_test standalone_2/ffi/data_not_asan_test standalone_2/ffi/data_test standalone_2/ffi/dynamic_library_test standalone_2/ffi/enable_ffi_test standalone_2/ffi/function_callbacks_test standalone_2/ffi/function_structs_test standalone_2/ffi/function_test standalone_2/ffi/structs_test standalone_2/ffi/subtype_test standalone_2/ffi/function_structs_test /================================================================================\ | standalone_2/ffi/function_test is new and failed (RuntimeError, expected Pass) | \================================================================================/ --- Command "vm_compile_to_kernel" (took 02.000381s): DART_CONFIGURATION=ReleaseX64 /b/s/w/ir/cache/builder/sdk/pkg/vm/tool/gen_kernel --aot --platform=out/ReleaseX64/vm_platform_strong.dill -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartkp/tests_standalone_2_ffi_function_test/out.dill /b/s/w/ir/cache/builder/sdk/tests/standalone_2/ffi/function_test.dart --packages=/b/s/w/ir/cache/builder/sdk/.packages -Ddart.developer.causal_async_stacks=true exit code: 0 --- Command "precompiler" (took 34ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/gen_snapshot --snapshot-kind=app-aot-assembly --assembly=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartkp/tests_standalone_2_ffi_function_test/out.S --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartkp/tests_standalone_2_ffi_function_test/out.dill exit code: 255 stderr: error: import of dart:ffi with --enable-ffi=false --- Re-run this test: python tools/test.py -n dartkp-linux-release-x64 --repeat 5 --tests language_2/control_flow_collections/experimental_flag_test/01 language_2/control_flow_collections/experimental_flag_test/02 language_2/control_flow_collections/experimental_flag_test/03 language_2/control_flow_collections/experimental_flag_test/04 language_2/control_flow_collections/experimental_flag_test/05 language_2/control_flow_collections/experimental_flag_test/06 language_2/control_flow_collections/experimental_flag_test/07 language_2/control_flow_collections/experimental_flag_test/08 language_2/control_flow_collections/experimental_flag_test/09 language_2/control_flow_collections/experimental_flag_test/10 language_2/control_flow_collections/experimental_flag_test/11 language_2/control_flow_collections/experimental_flag_test/12 language_2/control_flow_collections/experimental_flag_test/13 language_2/control_flow_collections/experimental_flag_test/14 language_2/control_flow_collections/experimental_flag_test/15 language_2/control_flow_collections/experimental_flag_test/none language_2/control_flow_collections/for_const_test/00 language_2/control_flow_collections/for_const_test/01 language_2/control_flow_collections/for_const_test/02 language_2/control_flow_collections/for_const_test/03 language_2/control_flow_collections/for_const_test/04 language_2/control_flow_collections/for_const_test/05 language_2/control_flow_collections/for_const_test/06 language_2/control_flow_collections/for_const_test/07 language_2/control_flow_collections/for_const_test/08 language_2/control_flow_collections/for_const_test/none language_2/control_flow_collections/if_const_error_test/01 language_2/control_flow_collections/if_const_error_test/02 language_2/control_flow_collections/if_const_error_test/03 language_2/control_flow_collections/if_const_error_test/04 language_2/control_flow_collections/if_const_error_test/05 language_2/control_flow_collections/if_const_error_test/06 language_2/control_flow_collections/if_const_error_test/07 language_2/control_flow_collections/if_const_error_test/08 language_2/control_flow_collections/if_const_error_test/09 language_2/control_flow_collections/if_const_error_test/10 language_2/control_flow_collections/if_const_error_test/11 language_2/control_flow_collections/if_const_error_test/12 language_2/control_flow_collections/if_const_error_test/13 language_2/control_flow_collections/if_const_error_test/14 language_2/control_flow_collections/if_const_error_test/15 language_2/control_flow_collections/if_const_error_test/16 language_2/control_flow_collections/if_const_error_test/17 language_2/control_flow_collections/if_const_error_test/18 language_2/control_flow_collections/if_const_error_test/19 language_2/control_flow_collections/if_const_error_test/20 language_2/control_flow_collections/if_const_error_test/21 language_2/control_flow_collections/if_const_error_test/22 language_2/control_flow_collections/if_const_error_test/23 language_2/control_flow_collections/for_inference_test language_2/control_flow_collections/for_test language_2/control_flow_collections/for_variable_test language_2/control_flow_collections/if_const_test language_2/control_flow_collections/if_inference_test language_2/control_flow_collections/if_test language_2/control_flow_collections/map_set_ambiguity_test language_2/control_flow_collections/syntax_test language_2/set_literals/invalid_set_literal_test/08 language_2/set_literals/invalid_set_literal_test/09 language_2/set_literals/invalid_set_literal_test/10 language_2/spread_collections/const_test language_2/spread_collections/inference_test language_2/spread_collections/map_set_ambiguity_test language_2/spread_collections/spread_test language_2/spread_collections/syntax_test standalone_2/ffi/data_not_asan_test standalone_2/ffi/data_test standalone_2/ffi/dynamic_library_test standalone_2/ffi/enable_ffi_test standalone_2/ffi/function_callbacks_test standalone_2/ffi/function_structs_test standalone_2/ffi/function_test standalone_2/ffi/structs_test standalone_2/ffi/subtype_test standalone_2/ffi/function_test /===============================================================================\ | standalone_2/ffi/structs_test is new and failed (RuntimeError, expected Pass) | \===============================================================================/ --- Command "vm_compile_to_kernel" (took 02.000899s): DART_CONFIGURATION=ReleaseX64 /b/s/w/ir/cache/builder/sdk/pkg/vm/tool/gen_kernel --aot --platform=out/ReleaseX64/vm_platform_strong.dill -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartkp/tests_standalone_2_ffi_structs_test/out.dill /b/s/w/ir/cache/builder/sdk/tests/standalone_2/ffi/structs_test.dart --packages=/b/s/w/ir/cache/builder/sdk/.packages -Ddart.developer.causal_async_stacks=true exit code: 0 --- Command "precompiler" (took 33ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/gen_snapshot --snapshot-kind=app-aot-assembly --assembly=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartkp/tests_standalone_2_ffi_structs_test/out.S --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartkp/tests_standalone_2_ffi_structs_test/out.dill exit code: 255 stderr: error: import of dart:ffi with --enable-ffi=false --- Re-run this test: python tools/test.py -n dartkp-linux-release-x64 --repeat 5 --tests language_2/control_flow_collections/experimental_flag_test/01 language_2/control_flow_collections/experimental_flag_test/02 language_2/control_flow_collections/experimental_flag_test/03 language_2/control_flow_collections/experimental_flag_test/04 language_2/control_flow_collections/experimental_flag_test/05 language_2/control_flow_collections/experimental_flag_test/06 language_2/control_flow_collections/experimental_flag_test/07 language_2/control_flow_collections/experimental_flag_test/08 language_2/control_flow_collections/experimental_flag_test/09 language_2/control_flow_collections/experimental_flag_test/10 language_2/control_flow_collections/experimental_flag_test/11 language_2/control_flow_collections/experimental_flag_test/12 language_2/control_flow_collections/experimental_flag_test/13 language_2/control_flow_collections/experimental_flag_test/14 language_2/control_flow_collections/experimental_flag_test/15 language_2/control_flow_collections/experimental_flag_test/none language_2/control_flow_collections/for_const_test/00 language_2/control_flow_collections/for_const_test/01 language_2/control_flow_collections/for_const_test/02 language_2/control_flow_collections/for_const_test/03 language_2/control_flow_collections/for_const_test/04 language_2/control_flow_collections/for_const_test/05 language_2/control_flow_collections/for_const_test/06 language_2/control_flow_collections/for_const_test/07 language_2/control_flow_collections/for_const_test/08 language_2/control_flow_collections/for_const_test/none language_2/control_flow_collections/if_const_error_test/01 language_2/control_flow_collections/if_const_error_test/02 language_2/control_flow_collections/if_const_error_test/03 language_2/control_flow_collections/if_const_error_test/04 language_2/control_flow_collections/if_const_error_test/05 language_2/control_flow_collections/if_const_error_test/06 language_2/control_flow_collections/if_const_error_test/07 language_2/control_flow_collections/if_const_error_test/08 language_2/control_flow_collections/if_const_error_test/09 language_2/control_flow_collections/if_const_error_test/10 language_2/control_flow_collections/if_const_error_test/11 language_2/control_flow_collections/if_const_error_test/12 language_2/control_flow_collections/if_const_error_test/13 language_2/control_flow_collections/if_const_error_test/14 language_2/control_flow_collections/if_const_error_test/15 language_2/control_flow_collections/if_const_error_test/16 language_2/control_flow_collections/if_const_error_test/17 language_2/control_flow_collections/if_const_error_test/18 language_2/control_flow_collections/if_const_error_test/19 language_2/control_flow_collections/if_const_error_test/20 language_2/control_flow_collections/if_const_error_test/21 language_2/control_flow_collections/if_const_error_test/22 language_2/control_flow_collections/if_const_error_test/23 language_2/control_flow_collections/for_inference_test language_2/control_flow_collections/for_test language_2/control_flow_collections/for_variable_test language_2/control_flow_collections/if_const_test language_2/control_flow_collections/if_inference_test language_2/control_flow_collections/if_test language_2/control_flow_collections/map_set_ambiguity_test language_2/control_flow_collections/syntax_test language_2/set_literals/invalid_set_literal_test/08 language_2/set_literals/invalid_set_literal_test/09 language_2/set_literals/invalid_set_literal_test/10 language_2/spread_collections/const_test language_2/spread_collections/inference_test language_2/spread_collections/map_set_ambiguity_test language_2/spread_collections/spread_test language_2/spread_collections/syntax_test standalone_2/ffi/data_not_asan_test standalone_2/ffi/data_test standalone_2/ffi/dynamic_library_test standalone_2/ffi/enable_ffi_test standalone_2/ffi/function_callbacks_test standalone_2/ffi/function_structs_test standalone_2/ffi/function_test standalone_2/ffi/structs_test standalone_2/ffi/subtype_test standalone_2/ffi/structs_test /===============================================================================\ | standalone_2/ffi/subtype_test is new and failed (RuntimeError, expected Pass) | \===============================================================================/ --- Command "vm_compile_to_kernel" (took 01.000952s): DART_CONFIGURATION=ReleaseX64 /b/s/w/ir/cache/builder/sdk/pkg/vm/tool/gen_kernel --aot --platform=out/ReleaseX64/vm_platform_strong.dill -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartkp/tests_standalone_2_ffi_subtype_test/out.dill /b/s/w/ir/cache/builder/sdk/tests/standalone_2/ffi/subtype_test.dart --packages=/b/s/w/ir/cache/builder/sdk/.packages -Ddart.developer.causal_async_stacks=true exit code: 0 --- Command "precompiler" (took 35ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/gen_snapshot --snapshot-kind=app-aot-assembly --assembly=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartkp/tests_standalone_2_ffi_subtype_test/out.S --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartkp/tests_standalone_2_ffi_subtype_test/out.dill exit code: 255 stderr: error: import of dart:ffi with --enable-ffi=false --- Re-run this test: python tools/test.py -n dartkp-linux-release-x64 --repeat 5 --tests language_2/control_flow_collections/experimental_flag_test/01 language_2/control_flow_collections/experimental_flag_test/02 language_2/control_flow_collections/experimental_flag_test/03 language_2/control_flow_collections/experimental_flag_test/04 language_2/control_flow_collections/experimental_flag_test/05 language_2/control_flow_collections/experimental_flag_test/06 language_2/control_flow_collections/experimental_flag_test/07 language_2/control_flow_collections/experimental_flag_test/08 language_2/control_flow_collections/experimental_flag_test/09 language_2/control_flow_collections/experimental_flag_test/10 language_2/control_flow_collections/experimental_flag_test/11 language_2/control_flow_collections/experimental_flag_test/12 language_2/control_flow_collections/experimental_flag_test/13 language_2/control_flow_collections/experimental_flag_test/14 language_2/control_flow_collections/experimental_flag_test/15 language_2/control_flow_collections/experimental_flag_test/none language_2/control_flow_collections/for_const_test/00 language_2/control_flow_collections/for_const_test/01 language_2/control_flow_collections/for_const_test/02 language_2/control_flow_collections/for_const_test/03 language_2/control_flow_collections/for_const_test/04 language_2/control_flow_collections/for_const_test/05 language_2/control_flow_collections/for_const_test/06 language_2/control_flow_collections/for_const_test/07 language_2/control_flow_collections/for_const_test/08 language_2/control_flow_collections/for_const_test/none language_2/control_flow_collections/if_const_error_test/01 language_2/control_flow_collections/if_const_error_test/02 language_2/control_flow_collections/if_const_error_test/03 language_2/control_flow_collections/if_const_error_test/04 language_2/control_flow_collections/if_const_error_test/05 language_2/control_flow_collections/if_const_error_test/06 language_2/control_flow_collections/if_const_error_test/07 language_2/control_flow_collections/if_const_error_test/08 language_2/control_flow_collections/if_const_error_test/09 language_2/control_flow_collections/if_const_error_test/10 language_2/control_flow_collections/if_const_error_test/11 language_2/control_flow_collections/if_const_error_test/12 language_2/control_flow_collections/if_const_error_test/13 language_2/control_flow_collections/if_const_error_test/14 language_2/control_flow_collections/if_const_error_test/15 language_2/control_flow_collections/if_const_error_test/16 language_2/control_flow_collections/if_const_error_test/17 language_2/control_flow_collections/if_const_error_test/18 language_2/control_flow_collections/if_const_error_test/19 language_2/control_flow_collections/if_const_error_test/20 language_2/control_flow_collections/if_const_error_test/21 language_2/control_flow_collections/if_const_error_test/22 language_2/control_flow_collections/if_const_error_test/23 language_2/control_flow_collections/for_inference_test language_2/control_flow_collections/for_test language_2/control_flow_collections/for_variable_test language_2/control_flow_collections/if_const_test language_2/control_flow_collections/if_inference_test language_2/control_flow_collections/if_test language_2/control_flow_collections/map_set_ambiguity_test language_2/control_flow_collections/syntax_test language_2/set_literals/invalid_set_literal_test/08 language_2/set_literals/invalid_set_literal_test/09 language_2/set_literals/invalid_set_literal_test/10 language_2/spread_collections/const_test language_2/spread_collections/inference_test language_2/spread_collections/map_set_ambiguity_test language_2/spread_collections/spread_test language_2/spread_collections/syntax_test standalone_2/ffi/data_not_asan_test standalone_2/ffi/data_test standalone_2/ffi/dynamic_library_test standalone_2/ffi/enable_ffi_test standalone_2/ffi/function_callbacks_test standalone_2/ffi/function_structs_test standalone_2/ffi/function_test standalone_2/ffi/structs_test standalone_2/ffi/subtype_test standalone_2/ffi/subtype_test