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

python -u /b/s/w/ir/kitchen-checkout/build/scripts/tools/runit.py --show-path --with-third-party-lib -- python /b/s/w/ir/kitchen-checkout/build/scripts/slave/recipe_modules/chromium_swarming/resources/collect_task.py --verbose -o /b/s/w/ir/tmp/t/tmp9x45Te.json --task-output-dir /b/s/w/ir/tmp/t/tmpx35IH7 --merge-script /b/s/w/ir/kitchen-checkout/build/scripts/slave/recipe_modules/chromium_swarming/resources/noop_merge.py --merge-script-stdout-file /b/s/w/ir/tmp/t/tmpekrWHymerge_script_log --merge-additional-args '[]' --summary-json-file /b/s/w/ir/tmp/t/tmpm_ihou.json -- swarming collect -server https://chromium-swarm.appspot.com -worker 50 -task-summary-python -task-output-stdout all -verbose -requests-json /b/s/w/ir/tmp/t/tmpecYGE5.json in dir /b/s/w/ir/k: allow_subannotations: False base_name: 'dart2js tests_shard_2' cmd: ['python', '-u', '/b/s/w/ir/kitchen-checkout/build/scripts/tools/runit.py', '--show-path', '--with-third-party-lib', '--', 'python', '/b/s/w/ir/kitchen-checkout/build/scripts/slave/recipe_modules/chromium_swarming/resources/collect_task.py', '--verbose', '-o', '/b/s/w/ir/tmp/t/tmp9x45Te.json', '--task-output-dir', '/b/s/w/ir/tmp/t/tmpx35IH7', '--merge-script', '/b/s/w/ir/kitchen-checkout/build/scripts/slave/recipe_modules/chromium_swarming/resources/noop_merge.py', '--merge-script-stdout-file', '/b/s/w/ir/tmp/t/tmpekrWHymerge_script_log', '--merge-additional-args', '[]', '--summary-json-file', '/b/s/w/ir/tmp/t/tmpm_ihou.json', '--', 'swarming', 'collect', '-server', 'https://chromium-swarm.appspot.com', '-worker', '50', '-task-summary-python', '-task-output-stdout', 'all', '-verbose', '-requests-json', '/b/s/w/ir/tmp/t/tmpecYGE5.json'] env: {} env_prefixes: {'PATH': '/b/s/w/ir/cache/swarming_client'} env_suffixes: {} infra_step: False name: 'dart2js tests_shard_2' nest_level: 0 ok_ret: frozenset([0]) step_test_data: <lambda>(...) trigger_specs: () full environment: BOTO_CONFIG: /b/s/w/ir/tmp/gsutil_task/.boto BUILDBUCKET_EXPERIMENTAL: FALSE CIPD_CACHE_DIR: /b/s/cipd_cache/cache CIPD_PROTOCOL: v2 DEVSHELL_CLIENT_PORT: 35700 DOCKER_CONFIG: /b/s/w/ir/tmp/docker_cfg_task DOCKER_TMPDIR: /b/s/w/ir/tmp/docker_tmp_task GIT_CONFIG_NOSYSTEM: 1 GIT_TERMINAL_PROMPT: 0 HOME: /home/chrome-bot INFRA_GIT_WRAPPER_HOME: /b/s/w/ir/tmp/git_home_task LOGDOG_COORDINATOR_HOST: logs.chromium.org LOGDOG_STREAM_PREFIX: buildbucket/cr-buildbucket.appspot.com/8919254607617591360 LOGDOG_STREAM_PROJECT: dart LOGDOG_STREAM_SERVER_PATH: unix:/b/s/w/ir/tmp/ld.sock LOGNAME: chrome-bot LUCI_CONTEXT: /b/s/w/itkg0rNh/luci_context.554552706 MAC_CHROMIUM_TMPDIR: /b/s/w/ir/tmp/t MAIL: /var/mail/chrome-bot NO_GCE_CHECK: False PATH: /b/s/w/ir/cache/swarming_client:/b/s/w/ir/cipd_bin_packages:/b/s/w/ir/cipd_bin_packages/bin:/b/s/cipd_cache/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin PWD: /b/s/w/ir/k PYTHONIOENCODING: UTF-8 PYTHONUNBUFFERED: 1 SHELL: /bin/bash SHLVL: 1 SUDO_COMMAND: /usr/bin/python /b/s/swarming_bot.zip start_bot SUDO_GID: 0 SUDO_UID: 0 SUDO_USER: root SWARMING_BOT_ID: trusty-dart-68765ebb-us-central1-b-424d SWARMING_EXTERNAL_BOT_SETUP: 1 SWARMING_HEADLESS: 1 SWARMING_SERVER: https://chromium-swarm.appspot.com SWARMING_TASK_ID: 4387130e0a866111 TEMP: /b/s/w/ir/tmp/t TEMPDIR: /b/s/w/ir/tmp/t TERM: linux TMP: /b/s/w/ir/tmp/t TMPDIR: /b/s/w/ir/tmp/t USER: chrome-bot USERNAME: chrome-bot VPYTHON_VIRTUALENV_ROOT: /b/s/w/ir/cache/vpython _: /b/s/w/ir/cipd_bin_packages/vpython Set PYTHONPATH: /b/s/w/ir/kitchen-checkout/build/scripts:/b/s/w/ir/kitchen-checkout/build/site_config:/b/s/w/ir/kitchen-checkout/build/third_party:/b/s/w/ir/kitchen-checkout/build/third_party/buildbot_8_4p1:/b/s/w/ir/kitchen-checkout/build/third_party/buildbot_slave_8_4:/b/s/w/ir/kitchen-checkout/build/third_party/coverage-3.7.1:/b/s/w/ir/kitchen-checkout/build/third_party/decorator_3_3_1:/b/s/w/ir/kitchen-checkout/build/third_party/google_api_python_client:/b/s/w/ir/kitchen-checkout/build/third_party/httplib2/python2:/b/s/w/ir/kitchen-checkout/build/third_party/infra_libs:/b/s/w/ir/kitchen-checkout/build/third_party/jinja2:/b/s/w/ir/kitchen-checkout/build/third_party/markupsafe:/b/s/w/ir/kitchen-checkout/build/third_party/oauth2client:/b/s/w/ir/kitchen-checkout/build/third_party/pyasn1:/b/s/w/ir/kitchen-checkout/build/third_party/pyasn1-modules:/b/s/w/ir/kitchen-checkout/build/third_party/python-rsa:/b/s/w/ir/kitchen-checkout/build/third_party/requests_2_10_0:/b/s/w/ir/kitchen-checkout/build/third_party/setuptools-0.6c11:/b/s/w/ir/kitchen-checkout/build/third_party/sqlalchemy_0_7_1:/b/s/w/ir/kitchen-checkout/build/third_party/sqlalchemy_migrate_0_7_1:/b/s/w/ir/kitchen-checkout/build/third_party/tempita_0_5:/b/s/w/ir/kitchen-checkout/build/third_party/twisted_10_2:/b/s/w/ir/kitchen-checkout/build/third_party/uritemplate:/b/s/w/ir/kitchen-checkout/build/third_party/site-packages 2019-03-11 12:59:17,668 - root: [DEBUG] Using task_output_dir: '/b/s/w/ir/tmp/t/tmpx35IH7' 2019-03-11 12:59:17,669 - root: [WARNING] task_output_dir '/b/s/w/ir/tmp/t/tmpx35IH7' already exists! 2019-03-11 12:59:17,669 - root: [WARNING] task_output_dir existing content: [] 2019-03-11 12:59:17,669 - root: [INFO] collect_cmd: swarming collect -server https://chromium-swarm.appspot.com -worker 50 -task-summary-python -task-output-stdout all -verbose -requests-json /b/s/w/ir/tmp/t/tmpecYGE5.json -output-dir /b/s/w/ir/tmp/t/tmpx35IH7 -task-summary-json /b/s/w/ir/tmp/t/tmpm_ihou.json [D2019-03-11T12:59:17.676163-07:00 29152 0 auth.go:1265] Minting a new token {"key":"luci_ctx/a05edfa68edcb8b3a1f59b7e9e3e995ab3a225e5b87e5e7c5d785da2c319ba37", "scopes":"https://www.googleapis.com/auth/userinfo.email"} [D2019-03-11T12:59:17.676252-07:00 29152 0 luci_ctx.go:138] POST http://127.0.0.1:44755/rpc/LuciLocalAuthService.GetOAuthToken {"key":"luci_ctx/a05edfa68edcb8b3a1f59b7e9e3e995ab3a225e5b87e5e7c5d785da2c319ba37", "scopes":"https://www.googleapis.com/auth/userinfo.email"} [D2019-03-11T12:59:17.678035-07:00 29152 0 auth.go:1222] Token expires in 21m32.322013507s {"key":"luci_ctx/a05edfa68edcb8b3a1f59b7e9e3e995ab3a225e5b87e5e7c5d785da2c319ba37", "scopes":"https://www.googleapis.com/auth/userinfo.email"} 438718302d84aa10: exit 0 INFO: Core dump archiving is activated tools/testing/dart/main.dart:1: Warning: Interpreting this as package URI, 'package:test_dart/main.dart'. Test configuration: dart2js-minified-csp-linux-chrome(architecture: x64, compiler: dart2js, mode: release, runtime: chrome, system: linux, vm-options: [], timeout: null, csp, minified, preview-dart-2, use-sdk) Suites tested: samples, standalone, standalone_2, corelib_2, language_2, vm, benchmark_smoke, utils, lib_2, analyze_library, service, kernel Directory containing tests missing: /b/s/w/ir/runtime/observatory/tests/service Total: 2575 tests * 334 tests will be skipped (289 skipped by design) * 4 tests are expected to be flaky but not crash * 3 tests are expected to flaky crash * 2145 tests are expected to pass * 24 tests are expected to fail that we won't fix * 55 tests are expected to fail that we should fix * 1 tests are expected to crash that we should fix * 0 tests are allowed to timeout * 9 could not be categorized or are in multiple categories FAILED: dart2js-chrome release_x64 language_2/control_flow_collections/for_test Expected: Pass Actual: CompileTimeError Unexpected compile error. --- Command "dart2js" (took 461ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --generate-code-with-compile-time-errors --test-mode --minify --csp --packages=/b/s/w/ir/.packages --out=/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-csp-sdk/tests_language_2_control_flow_collections_for_test/test.js /b/s/w/ir/tests/language_2/control_flow_collections/for_test.dart --enable-experiment=set-literals,control-flow-collections,spread-collections --preview-dart-2 exit code: 1 stdout: 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: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: Info: 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: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: Info: 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: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: Info: 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: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: Info: 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: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: Info: 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: Info: 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: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: Info: Previous declaration of 'i'. Expect.listEquals(list, <int>[for (var i in list) 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: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: Info: 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: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: Info: 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: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: Info: 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: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: Info: 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: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: Info: 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: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: Info: 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: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: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: Info: 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: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: Info: 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: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: Info: 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: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: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: Info: 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: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: Info: 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: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: Info: 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: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: Info: 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: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: Info: 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: Info: 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:112:14: Error: 'i' is already declared in this scope. for (var i in <int>[0, 2]) ...<int, int>{1 + i: 1 + i, 2 + i: 2 + i} ^ tests/language_2/control_flow_collections/for_test.dart:79:45: Info: 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:5: Error: Unexpected token 'for'. for (var i in <int>[0, 2]) ...<int, int>{1 + i: 1 + i, 2 + i: 2 + i} ^^^ 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: Info: 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: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: -i else i: i}); ^ tests/language_2/control_flow_collections/for_test.dart:79:45: Info: 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:53: Error: Unexpected token 'if'. <int, int>{for (var i in <int>[1, -2, 3, -4]) if (i < 0) -i: -i else i: i}); ^^ 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: Info: 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: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: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: Info: 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: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: Info: 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: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: Info: 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: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: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: Info: 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: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: Info: 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: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: Info: 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: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: Info: 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: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: Info: 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: Info: 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: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: Info: Previous declaration of 'i'. Expect.setEquals(set, <int>{for (var i in list) 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: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: Info: 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: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: Info: 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: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: Info: 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: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: Info: 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: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: Info: 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:181: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:143:40: Info: Previous declaration of 'i'. Expect.setEquals(set, <int>{for (var i in list) i}); ^ tests/language_2/control_flow_collections/for_test.dart:181: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:184:31: Error: Unexpected token 'for'. Expect.setEquals(set, <int>{for (int n in <num>[1, 2, 3, 4]) n}); ^^^ tests/language_2/control_flow_collections/for_test.dart:187:40: Error: 'n' 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:40: Info: Previous declaration of 'n'. Expect.setEquals(set, <int>{for (int n in <num>[1, 2, 3, 4]) n}); ^ tests/language_2/control_flow_collections/for_test.dart:187:31: Error: Unexpected token 'for'. Expect.setEquals(set, <int>{for (num n in <num>[1, 2, 3, 4]) n}); ^^^ tests/language_2/control_flow_collections/for_test.dart:190:40: Error: 'i' 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:143:40: Info: Previous declaration of 'i'. Expect.setEquals(set, <int>{for (var i in list) i}); ^ tests/language_2/control_flow_collections/for_test.dart:190:31: Error: Unexpected token 'for'. Expect.setEquals({1}, <int>{for (var i = 1; (i < 2) as dynamic; i++) i}); ^^^ tests/language_2/control_flow_collections/for_test.dart:191:40: Error: 'i' 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:143:40: Info: Previous declaration of 'i'. Expect.setEquals(set, <int>{for (var i in list) i}); ^ tests/language_2/control_flow_collections/for_test.dart:191:31: Error: Unexpected token 'for'. Expect.setEquals({1}, <int>{for (var i = 1; (i < 2) as Object; i++) i}); ^^^ tests/language_2/control_flow_collections/for_test.dart:179:60: Error: The getter 'first' isn't defined for the class 'Map<dynamic, dynamic>'. - 'Map' is from 'dart:core'. Expect.listEquals([1], {for (var i = 1; i < 2; i++) [i]}.first); ^^^^^ tests/language_2/control_flow_collections/for_test.dart:180:65: Error: The getter 'first' isn't defined for the class 'Map<dynamic, dynamic>'. - 'Map' is from 'dart:core'. Expect.mapEquals({1: 1}, {for (var i = 1; i < 2; i++) {i: i}}.first); ^^^^^ tests/language_2/control_flow_collections/for_test.dart:181:59: Error: The getter 'first' isn't defined for the class 'Map<dynamic, dynamic>'. - 'Map' is from 'dart:core'. 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: Info: 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:204: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: Info: 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 in <int>[1, 2, 3]) i, ^^^ tests/language_2/control_flow_collections/for_test.dart:205: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: Info: Previous declaration of 'i'. for (var i in <int>[1, 2, 3]) i: i, ^ tests/language_2/control_flow_collections/for_test.dart:205:5: Error: Unexpected token 'for'. for (var i = 2; i <= 3; i++) i, ^^^ tests/language_2/control_flow_collections/for_test.dart:222: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:226: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:222:14: Info: 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:226: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:233:38: Error: Unexpected token 'for'. Expect.throwsCastError(() => <int>[for (; nonBool;) 1]); ^^^ tests/language_2/control_flow_collections/for_test.dart:234:43: Error: Unexpected token 'for'. Expect.throwsCastError(() => <int, int>{for (; nonBool;) 1: 1}); ^^^ tests/language_2/control_flow_collections/for_test.dart:235:38: Error: Unexpected token 'for'. Expect.throwsCastError(() => <int>{for (; nonBool;) 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:240:48: Error: Unexpected token 'for'. Expect.throwsAssertionError(() => <int, int>{for (; nullBool;) 1: 1}); ^^^ tests/language_2/control_flow_collections/for_test.dart:241:43: Error: Unexpected token 'for'. Expect.throwsAssertionError(() => <int>{for (; nullBool;) 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:246: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:247:38: Error: Unexpected token 'for'. Expect.throwsCastError(() => <int>{for (int i = nonInt; false;) 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:252: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:253:38: Error: Unexpected token 'for'. Expect.throwsCastError(() => <int>{for (int i in nonIterable) 1}); ^^^ tests/language_2/control_flow_collections/for_test.dart:257:46: Error: Unexpected token 'for'. Expect.throwsNoSuchMethodError(() => <int>[for (var i in nullIterable) 1]); ^^^ tests/language_2/control_flow_collections/for_test.dart:259:24: Error: Unexpected token 'for'. () => <int, int>{for (var i in nullIterable) 1: 1}); ^^^ tests/language_2/control_flow_collections/for_test.dart:260:46: Error: Unexpected token 'for'. Expect.throwsNoSuchMethodError(() => <int>{for (var i in nullIterable) 1}); ^^^ tests/language_2/control_flow_collections/for_test.dart:263: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:265: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:267: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:268:38: Error: Unexpected token 'for'. Expect.throwsCastError(() => <int>{for (var i = 0; i < 1; i++) nonInt}); ^^^ Error: Compilation failed. --- Re-run this test: python tools/test.py -n dart2js-minified-csp-linux-chrome --dart2js-batch --reset-browser-configuration language_2/control_flow_collections/for_test FAILED: dart2js-chrome release_x64 language_2/control_flow_collections/if_test Expected: Pass Actual: CompileTimeError Unexpected compile error. --- Command "dart2js" (took 484ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --generate-code-with-compile-time-errors --test-mode --minify --csp --packages=/b/s/w/ir/.packages --out=/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-csp-sdk/tests_language_2_control_flow_collections_if_test/test.js /b/s/w/ir/tests/language_2/control_flow_collections/if_test.dart --enable-experiment=set-literals,control-flow-collections,spread-collections --preview-dart-2 exit code: 1 stdout: 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: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: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: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: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: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:74:60: Error: 'i' is already declared in this scope. Expect.listEquals(list, <int>[if (false) 9 else for (var i in list) i]); ^ tests/language_2/control_flow_collections/if_test.dart:71:52: Info: 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:51: Error: Unexpected token 'for'. Expect.listEquals(list, <int>[if (false) 9 else for (var i in list) i]); ^^^ 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:5: Error: Unexpected token 'if'. if (true) ...<int, int>{1: 1, 2: 2}, ^^ 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: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: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: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:125:66: Error: 'i' is already declared in this scope. Expect.mapEquals(map, <int, int>{if (false) 9: 9 else for (var i in list) i: i}); ^ tests/language_2/control_flow_collections/if_test.dart:122:55: Info: 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:57: Error: Unexpected token 'for'. Expect.mapEquals(map, <int, int>{if (false) 9: 9 else 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: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: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: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: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: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:177:58: Error: 'i' is already declared in this scope. Expect.setEquals(set, <int>{if (false) 9 else for (var i in list) i}); ^ tests/language_2/control_flow_collections/if_test.dart:174:50: Info: 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:49: Error: Unexpected token 'for'. Expect.setEquals(set, <int>{if (false) 9 else for (var i in list) i}); ^^^ tests/language_2/control_flow_collections/if_test.dart:159:42: Error: The getter 'first' isn't defined for the class 'Map<dynamic, dynamic>'. - 'Map' is from 'dart:core'. Expect.listEquals([1], {if (true) [1]}.first); ^^^^^ tests/language_2/control_flow_collections/if_test.dart:160:47: Error: The getter 'first' isn't defined for the class 'Map<dynamic, dynamic>'. - 'Map' is from 'dart:core'. Expect.mapEquals({1: 1}, {if (true) {1: 1}}.first); ^^^^^ tests/language_2/control_flow_collections/if_test.dart:161:41: Error: The getter 'first' isn't defined for the class 'Map<dynamic, dynamic>'. - 'Map' is from 'dart:core'. Expect.setEquals({1}, {if (true) {1}}.first); ^^^^^ 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}); ^^ Error: Compilation failed. --- Re-run this test: python tools/test.py -n dart2js-minified-csp-linux-chrome --dart2js-batch --reset-browser-configuration language_2/control_flow_collections/if_test FAILED: dart2js-chrome release_x64 language_2/control_flow_collections/map_set_ambiguity_test Expected: Pass Actual: CompileTimeError Unexpected compile error. --- Command "dart2js" (took 403ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --generate-code-with-compile-time-errors --test-mode --minify --csp --packages=/b/s/w/ir/.packages --out=/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-csp-sdk/tests_language_2_control_flow_collections_map_set_ambiguity_test/test.js /b/s/w/ir/tests/language_2/control_flow_collections/map_set_ambiguity_test.dart --enable-experiment=set-literals,control-flow-collections,spread-collections --preview-dart-2 exit code: 1 stdout: 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:21: Error: Unexpected token 'if'. expectSetOf<int>({if (true) ...set}); ^^ 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:21: Error: Unexpected token 'if'. expectSetOf<int>({if (true) ...customSet}); ^^ 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: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: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: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:21: Error: Unexpected token 'if'. expectSetOf<int>({if (true) ...set else ...set}); ^^ 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:21: Error: Unexpected token 'if'. expectSetOf<int>({if (true) ...set else ...iterable}); ^^ 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:25: Error: Unexpected token 'if'. expectSetOf<dynamic>({if (true) ...dyn else ...iterable}); ^^ 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: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:21: Error: Unexpected token 'if'. expectSetOf<int>({if (true) ...iterable else ...iterable}); ^^ 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:21: Error: Unexpected token 'if'. expectSetOf<int>({if (true) ...customSet else ...customSet}); ^^ 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:26: Error: Unexpected token 'for'. expectMapOf<int, int>({for (; false;) ...map}); ^^^ 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:21: Error: Unexpected token 'for'. expectSetOf<int>({for (; false;) ...iterable}); ^^^ 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:26: Error: Unexpected token 'for'. expectMapOf<int, int>({for (; false;) ...customMap}); ^^^ 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: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:8: Error: Unexpected token 'for'. {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:8: Error: Unexpected token 'for'. {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: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: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: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: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: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: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: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: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:8: Error: Unexpected token 'for'. {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:8: Error: Unexpected token 'for'. {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:8: Error: Unexpected token 'for'. {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:8: Error: Unexpected token 'for'. {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:8: Error: Unexpected token 'for'. {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:8: Error: Unexpected token 'for'. {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:8: Error: Unexpected token 'for'. {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:24: Error: Unexpected token 'if'. Map<int, int> map = {if (true) ...untypedMap}; ^^ 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:29: Error: Unexpected token 'if'. Iterable<int> iterable = {if (true) ...untypedIterable}; ^^ 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:10: Error: Unexpected token 'for'. set = {for (; false;) ...untypedIterable}; ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:124:15: Error: Unexpected token 'for'. iterable = {for (; false;) ...untypedIterable}; ^^^ Error: Compilation failed. --- Re-run this test: python tools/test.py -n dart2js-minified-csp-linux-chrome --dart2js-batch --reset-browser-configuration language_2/control_flow_collections/map_set_ambiguity_test FAILED: dart2js-chrome release_x64 language_2/spread_collections/spread_test Expected: Pass Actual: Crash Unexpected compile error. --- Command "dart2js" (took 672ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --generate-code-with-compile-time-errors --test-mode --minify --csp --packages=/b/s/w/ir/.packages --out=/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-csp-sdk/tests_language_2_spread_collections_spread_test/test.js /b/s/w/ir/tests/language_2/spread_collections/spread_test.dart --enable-experiment=set-literals,spread-collections --preview-dart-2 exit code: 253 stdout: tests/language_2/spread_collections/spread_test.dart:201:6: Internal Error: The compiler crashed when compiling this element. void testCastFailures() { ^ The compiler is broken. When compiling the above element, the compiler crashed. It is not possible to tell if this is caused by a problem in your program or not. Regardless, the compiler should not crash. The Dart team would greatly appreciate if you would take a moment to report this problem at http://dartbug.com/new. Please include the following information: * the name and version of your operating system, * the Dart SDK build number (2.2.1-edge.11b9481403f72797790f7b37fe4f916ef4c8f67f), and * the entire message you see here (including the full stack trace below as well as the source location above). The compiler crashed: Unsupported operation: Unhandled node block { final dart.core::List<dart.core::int> #t1 = <dart.core::int>[]; for (final dart.core::int #t2 in nonIterable as{TypeError} dart.core::Iterable<dynamic>) #t1.{dart.core::List::add}(#t2); } =>#t1 (BlockExpression) #0 ScopeModelBuilder.defaultNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:114:7) #1 Visitor.defaultTreeNode (package:kernel/visitor.dart:333:39) #2 TreeVisitor.defaultExpression (package:kernel/visitor.dart:140:43) #3 TreeVisitor.visitBlockExpression (package:kernel/visitor.dart:189:51) #4 BlockExpression.accept (package:kernel/ast.dart:3768:36) #5 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #6 ScopeModelBuilder.visitReturnStatement (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:963:5) #7 ReturnStatement.accept (package:kernel/ast.dart:4302:35) #8 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #9 ScopeModelBuilder.visitFunctionNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:712:5) #10 FunctionNode.accept (package:kernel/ast.dart:2111:30) #11 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #12 ScopeModelBuilder.visitFunctionExpression.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:579:9) #13 _ScopeModelBuilder&Visitor&VariableCollectorMixin.visitInVariableScope (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope.dart:107:6) #14 ScopeModelBuilder.visitFunctionExpression.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:578:7) #15 ScopeModelBuilder.enterNewScope (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:198:18) #16 ScopeModelBuilder.visitInvokable (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:498:5) #17 ScopeModelBuilder.visitFunctionExpression (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:577:5) #18 FunctionExpression.accept (package:kernel/ast.dart:3689:36) #19 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #20 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #21 ScopeModelBuilder.visitStaticInvocation (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:822:5) #22 StaticInvocation.accept (package:kernel/ast.dart:2963:36) #23 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #24 ScopeModelBuilder.visitExpressionStatement (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:974:5) #25 ExpressionStatement.accept (package:kernel/ast.dart:3853:35) #26 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #27 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #28 ScopeModelBuilder.visitBlock (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:948:5) #29 Block.accept (package:kernel/ast.dart:3881:35) #30 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #31 ScopeModelBuilder.visitFunctionNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:712:5) #32 FunctionNode.accept (package:kernel/ast.dart:2111:30) #33 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #34 ScopeModelBuilder.visitProcedure.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:570:7) #35 ScopeModelBuilder.enterNewScope (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:198:18) #36 ScopeModelBuilder.visitInvokable (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:498:5) #37 ScopeModelBuilder.visitProcedure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:569:5) #38 Procedure.accept (package:kernel/ast.dart:1773:32) #39 ScopeModelBuilder.computeModel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:104:12) #40 new ScopeModel.from (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope.dart:24:20) #41 KernelModularStrategy.computeModularMemberData.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:294:31) #42 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #43 KernelModularStrategy.computeModularMemberData (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:293:43) #44 KernelWorkItem.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:259:28) #45 CompilerTask.measure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:62:51) #46 KernelWorkItem.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:248:26) #47 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:70) #48 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #49 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:32) #50 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #51 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:459:28) #52 CompilerDiagnosticReporter.withCurrentElement (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:786:15) #53 Compiler.emptyQueue.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:457:18) #54 ResolutionEnqueuer._forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:428:12) #55 ResolutionEnqueuer.forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:443:5) #56 Compiler.emptyQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:453:16) #57 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #58 Compiler.emptyQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:452:14) #59 Compiler.processQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:478:7) #60 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #61 Compiler.processQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:471:14) #62 Compiler.computeClosedWorld (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:332:5) #63 Compiler.compileFromKernel.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:400:17) #64 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #65 Compiler.compileFromKernel.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:399:43) #66 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #67 Compiler.compileFromKernel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:398:14) #68 Compiler.runInternal (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:285:13) <asynchronous suspension> #69 Compiler.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:38) #70 new Future.sync (dart:async/future.dart:224:31) #71 Compiler.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:20) #72 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #73 Compiler.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:220:41) #74 CompilerImpl.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/apiimpl.dart:88:22) #75 _RootZone.runUnary (dart:async/zone.dart:1379:54) #76 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #77 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #78 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #79 Future._completeWithValue (dart:async/future_impl.dart:483:5) #80 Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:513:7) #81 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #82 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #83 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #84 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- Re-run this test: python tools/test.py -n dart2js-minified-csp-linux-chrome --dart2js-batch --reset-browser-configuration language_2/spread_collections/spread_test FAILED: dart2js-chrome release_x64 language_2/spread_collections/await_test Expected: Pass Actual: Crash Unexpected compile error. --- Command "dart2js" (took 645ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --generate-code-with-compile-time-errors --test-mode --minify --csp --packages=/b/s/w/ir/.packages --out=/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-csp-sdk/tests_language_2_spread_collections_await_test/test.js /b/s/w/ir/tests/language_2/spread_collections/await_test.dart --enable-experiment=spread-collections --preview-dart-2 exit code: 253 stdout: tests/language_2/spread_collections/await_test.dart:47:14: Internal Error: The compiler crashed when compiling this element. Future<void> testSet() async { ^ The compiler is broken. When compiling the above element, the compiler crashed. It is not possible to tell if this is caused by a problem in your program or not. Regardless, the compiler should not crash. The Dart team would greatly appreciate if you would take a moment to report this problem at http://dartbug.com/new. Please include the following information: * the name and version of your operating system, * the Dart SDK build number (2.2.1-edge.11b9481403f72797790f7b37fe4f916ef4c8f67f), and * the entire message you see here (including the full stack trace below as well as the source location above). The compiler crashed: Unsupported operation: Unhandled node block { final dart.core::Set<dynamic> #t1 = dart.collection::LinkedHashSet::•<dynamic>(); for (final dynamic #t2 in await future12) #t1.{dart.core::Set::add}(#t2); #t1.{dart.core::Set::add}(3); for (final dynamic #t3 in await future45) #t1.{dart.core::Set::add}(#t3); } =>#t1 (BlockExpression) #0 ScopeModelBuilder.defaultNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:114:7) #1 Visitor.defaultTreeNode (package:kernel/visitor.dart:333:39) #2 TreeVisitor.defaultExpression (package:kernel/visitor.dart:140:43) #3 TreeVisitor.visitBlockExpression (package:kernel/visitor.dart:189:51) #4 BlockExpression.accept (package:kernel/ast.dart:3768:36) #5 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #6 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #7 ScopeModelBuilder.visitStaticInvocation (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:822:5) #8 StaticInvocation.accept (package:kernel/ast.dart:2963:36) #9 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #10 ScopeModelBuilder.visitExpressionStatement (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:974:5) #11 ExpressionStatement.accept (package:kernel/ast.dart:3853:35) #12 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #13 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #14 ScopeModelBuilder.visitBlock (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:948:5) #15 Block.accept (package:kernel/ast.dart:3881:35) #16 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #17 ScopeModelBuilder.visitFunctionNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:712:5) #18 FunctionNode.accept (package:kernel/ast.dart:2111:30) #19 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #20 ScopeModelBuilder.visitProcedure.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:570:7) #21 ScopeModelBuilder.enterNewScope (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:198:18) #22 ScopeModelBuilder.visitInvokable (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:498:5) #23 ScopeModelBuilder.visitProcedure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:569:5) #24 Procedure.accept (package:kernel/ast.dart:1773:32) #25 ScopeModelBuilder.computeModel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:104:12) #26 new ScopeModel.from (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope.dart:24:20) #27 KernelModularStrategy.computeModularMemberData.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:294:31) #28 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #29 KernelModularStrategy.computeModularMemberData (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:293:43) #30 KernelWorkItem.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:259:28) #31 CompilerTask.measure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:62:51) #32 KernelWorkItem.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:248:26) #33 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:70) #34 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #35 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:32) #36 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #37 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:459:28) #38 CompilerDiagnosticReporter.withCurrentElement (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:786:15) #39 Compiler.emptyQueue.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:457:18) #40 ResolutionEnqueuer._forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:428:12) #41 ResolutionEnqueuer.forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:443:5) #42 Compiler.emptyQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:453:16) #43 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #44 Compiler.emptyQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:452:14) #45 Compiler.processQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:478:7) #46 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #47 Compiler.processQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:471:14) #48 Compiler.computeClosedWorld (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:332:5) #49 Compiler.compileFromKernel.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:400:17) #50 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #51 Compiler.compileFromKernel.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:399:43) #52 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #53 Compiler.compileFromKernel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:398:14) #54 Compiler.runInternal (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:285:13) <asynchronous suspension> #55 Compiler.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:38) #56 new Future.sync (dart:async/future.dart:224:31) #57 Compiler.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:20) #58 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #59 Compiler.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:220:41) #60 CompilerImpl.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/apiimpl.dart:88:22) #61 _RootZone.runUnary (dart:async/zone.dart:1379:54) #62 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #63 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #64 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #65 Future._completeWithValue (dart:async/future_impl.dart:483:5) #66 Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:513:7) #67 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #68 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #69 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #70 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- Re-run this test: python tools/test.py -n dart2js-minified-csp-linux-chrome --dart2js-batch --reset-browser-configuration language_2/spread_collections/await_test FAILED: dart2js-chrome release_x64 language_2/spread_collections/syntax_test Expected: Pass Actual: Crash Unexpected compile error. --- Command "dart2js" (took 584ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --generate-code-with-compile-time-errors --test-mode --minify --csp --packages=/b/s/w/ir/.packages --out=/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-csp-sdk/tests_language_2_spread_collections_syntax_test/test.js /b/s/w/ir/tests/language_2/spread_collections/syntax_test.dart --enable-experiment=set-literals,spread-collections --preview-dart-2 exit code: 253 stdout: tests/language_2/spread_collections/syntax_test.dart:10:6: Internal Error: The compiler crashed when compiling this element. void main() { ^ The compiler is broken. When compiling the above element, the compiler crashed. It is not possible to tell if this is caused by a problem in your program or not. Regardless, the compiler should not crash. The Dart team would greatly appreciate if you would take a moment to report this problem at http://dartbug.com/new. Please include the following information: * the name and version of your operating system, * the Dart SDK build number (2.2.1-edge.11b9481403f72797790f7b37fe4f916ef4c8f67f), and * the entire message you see here (including the full stack trace below as well as the source location above). The compiler crashed: Unsupported operation: Unhandled node block { final dart.core::List<dynamic> #t1 = <dynamic>[]; for (final dynamic #t2 in <dynamic>[1, 2]) #t1.{dart.core::List::add}(#t2); } =>#t1 (BlockExpression) #0 ScopeModelBuilder.defaultNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:114:7) #1 Visitor.defaultTreeNode (package:kernel/visitor.dart:333:39) #2 TreeVisitor.defaultExpression (package:kernel/visitor.dart:140:43) #3 TreeVisitor.visitBlockExpression (package:kernel/visitor.dart:189:51) #4 BlockExpression.accept (package:kernel/ast.dart:3768:36) #5 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #6 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #7 ScopeModelBuilder.visitStaticInvocation (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:822:5) #8 StaticInvocation.accept (package:kernel/ast.dart:2963:36) #9 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #10 ScopeModelBuilder.visitExpressionStatement (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:974:5) #11 ExpressionStatement.accept (package:kernel/ast.dart:3853:35) #12 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #13 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #14 ScopeModelBuilder.visitBlock (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:948:5) #15 Block.accept (package:kernel/ast.dart:3881:35) #16 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #17 ScopeModelBuilder.visitFunctionNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:712:5) #18 FunctionNode.accept (package:kernel/ast.dart:2111:30) #19 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #20 ScopeModelBuilder.visitProcedure.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:570:7) #21 ScopeModelBuilder.enterNewScope (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:198:18) #22 ScopeModelBuilder.visitInvokable (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:498:5) #23 ScopeModelBuilder.visitProcedure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:569:5) #24 Procedure.accept (package:kernel/ast.dart:1773:32) #25 ScopeModelBuilder.computeModel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:104:12) #26 new ScopeModel.from (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope.dart:24:20) #27 KernelModularStrategy.computeModularMemberData.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:294:31) #28 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #29 KernelModularStrategy.computeModularMemberData (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:293:43) #30 KernelWorkItem.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:259:28) #31 CompilerTask.measure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:62:51) #32 KernelWorkItem.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:248:26) #33 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:70) #34 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #35 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:32) #36 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #37 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:459:28) #38 CompilerDiagnosticReporter.withCurrentElement (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:786:15) #39 Compiler.emptyQueue.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:457:18) #40 ResolutionEnqueuer._forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:428:12) #41 ResolutionEnqueuer.forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:443:5) #42 Compiler.emptyQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:453:16) #43 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #44 Compiler.emptyQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:452:14) #45 Compiler.processQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:478:7) #46 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #47 Compiler.processQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:471:14) #48 Compiler.computeClosedWorld (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:332:5) #49 Compiler.compileFromKernel.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:400:17) #50 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #51 Compiler.compileFromKernel.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:399:43) #52 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #53 Compiler.compileFromKernel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:398:14) #54 Compiler.runInternal (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:285:13) <asynchronous suspension> #55 Compiler.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:38) #56 new Future.sync (dart:async/future.dart:224:31) #57 Compiler.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:20) #58 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #59 Compiler.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:220:41) #60 CompilerImpl.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/apiimpl.dart:88:22) #61 _RootZone.runUnary (dart:async/zone.dart:1379:54) #62 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #63 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #64 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #65 Future._completeWithValue (dart:async/future_impl.dart:483:5) #66 Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:513:7) #67 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #68 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #69 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #70 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- Re-run this test: python tools/test.py -n dart2js-minified-csp-linux-chrome --dart2js-batch --reset-browser-configuration language_2/spread_collections/syntax_test FAILED: dart2js-chrome release_x64 lib_2/html/debugger_test Expected: Pass Actual: CompileTimeError Unexpected compile error. --- Command "dart2js" (took 173ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --generate-code-with-compile-time-errors --test-mode --minify --csp --packages=/b/s/w/ir/.packages --out=/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-csp-sdk/tests_lib_2_html_debugger_test/test.js /b/s/w/ir/tests/lib_2/html/debugger_test.dart --preview-dart-2 exit code: 1 stdout: tests/lib_2/html/debugger_test.dart:17:8: Error: Can't access platform private library. import 'dart:_debugger' as _debugger; ^ tests/lib_2/html/debugger_test.dart:17:8: Error: Not found: 'dart:_debugger' import 'dart:_debugger' as _debugger; ^ tests/lib_2/html/debugger_test.dart:282:23: Error: Method not found: 'getModuleNames'. var moduleNames = _debugger.getModuleNames(); ^^^^^^^^^^^^^^ tests/lib_2/html/debugger_test.dart:287:32: Error: Method not found: 'getModuleLibraries'. 'Test library Module', _debugger.getModuleLibraries(testModuleName)); ^^^^^^^^^^^^^^^^^^ Error: Compilation failed. --- Re-run this test: python tools/test.py -n dart2js-minified-csp-linux-chrome --dart2js-batch --reset-browser-configuration lib_2/html/debugger_test FAILED: dart2js-chrome release_x64 lib_2/html/indexeddb_3_test Expected: RuntimeError Actual: Pass --- Command "dart2js" (took 07.000180s): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --generate-code-with-compile-time-errors --test-mode --minify --csp --packages=/b/s/w/ir/.packages --out=/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-csp-sdk/tests_lib_2_html_indexeddb_3_test/test.js /b/s/w/ir/tests/lib_2/html/indexeddb_3_test.dart --preview-dart-2 exit code: 0 stdout: Compiled 7,655,092 characters Dart to 257,221 characters JavaScript in 7.18 seconds Dart file (/b/s/w/ir/tests/lib_2/html/indexeddb_3_test.dart) compiled to JavaScript: out/ReleaseX64/generated_compilations/dart2js-minified-csp-sdk/tests_lib_2_html_indexeddb_3_test/test.js --- Command "chrome" (took 638ms): /b/s/w/ir/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:39720/root_build/generated_tests/dart2js-chrome-minified-sdk/tests_lib_2_html_indexeddb_3_test/test.html?crossOriginPort=36503 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.089 } - { type: message_received value: unittest-suite-wait-for-done timestamp: 0.09 } - { type: message_received value: dart-main-done timestamp: 0.09 } - { type: message_received value: unittest-suite-done timestamp: 0.599 } - debug "Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)" - dom <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="dart.unittest" content="full-stack-traces"> <title> Test /b/s/w/ir/tests/lib_2/html/indexeddb_3_test.dart </title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> </head> <body><table class="unittest-table"><tbody><tr><td colspan="3" class="unittest-pass">PASS</td></tr> <tr> <td>1</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=prepare"> prepare </a>. </p> <pre></pre> </td> </tr> <tr> <td>2</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=readAll1"> readAll1 </a>. </p> <pre></pre> </td> </tr> <tr> <td>3</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=readAll2"> readAll2 </a>. </p> <pre></pre> </td> </tr> <tr><td colspan="3" class="unittest-pass"> All 3 tests passed </td></tr></tbody></table></body> exit code: 0 --- To debug locally, run: /b/s/w/ir/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/tools/testing/dart/http_server.dart -p 39720 -c 36503 --network 127.0.0.1 --build-directory=/b/s/w/ir/out/ReleaseX64/ --runtime=chrome --csp --packages=/b/s/w/ir/.packages --- Re-run this test: python tools/test.py -n dart2js-minified-csp-linux-chrome --dart2js-batch --reset-browser-configuration lib_2/html/indexeddb_3_test FAILED: dart2js-chrome release_x64 lib_2/html/custom/entered_left_view_test/shadow_dom/shadow_dom Expected: Slow Actual: Pass --- Command "dart2js" (took 06.000689s): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --generate-code-with-compile-time-errors --test-mode --minify --csp --packages=/b/s/w/ir/.packages --out=/b/s/w/ir/out/ReleaseX64/generated_tests/dart2js-chrome-minified-sdk/tests_lib_2_html_custom_entered_left_view_test/entered_left_view_test.js /b/s/w/ir/tests/lib_2/html/custom/entered_left_view_test.dart --preview-dart-2 exit code: 0 stdout: Compiled 7,713,173 characters Dart to 251,872 characters JavaScript in 6.69 seconds Dart file (/b/s/w/ir/tests/lib_2/html/custom/entered_left_view_test.dart) compiled to JavaScript: out/ReleaseX64/generated_tests/dart2js-chrome-minified-sdk/tests_lib_2_html_custom_entered_left_view_test/entered_left_view_test.js --- Command "chrome" (took 262ms): /b/s/w/ir/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:39720/root_build/generated_tests/dart2js-chrome-minified-sdk/tests_lib_2_html_custom_entered_left_view_test/test.html?crossOriginPort=36503&group=shadow_dom Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.122 } - { type: message_received value: unittest-suite-wait-for-done timestamp: 0.141 } - { type: message_received value: dart-main-done timestamp: 0.141 } - { type: message_received value: unittest-suite-done timestamp: 0.181 } - debug "Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)" - dom <head><style>body {transition: opacity ease-in 0.2s; } body[unresolved] {opacity: 0; display: block; overflow: hidden; position: relative; } </style> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="dart.unittest" content="full-stack-traces"> <title> entered_left_view_test </title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script src="/packages/web_components/webcomponents.js"></script> <script src="/packages/web_components/dart_support.js"></script> </head> <body><table class="unittest-table"><tbody><tr><td colspan="3" class="unittest-pass">PASS</td></tr> <tr> <td>19</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=shadow_dom Created in Shadow DOM that is not in a document"> shadow_dom Created in Shadow DOM that is not in a document </a>. </p> <pre></pre> </td> </tr> <tr> <td>20</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=shadow_dom Leaves Shadow DOM that is not in a document"> shadow_dom Leaves Shadow DOM that is not in a document </a>. </p> <pre></pre> </td> </tr> <tr> <td>21</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=shadow_dom Enters a document with a view as a constituent of Shadow DOM"> shadow_dom Enters a document with a view as a constituent of Shadow DOM </a>. </p> <pre></pre> </td> </tr> <tr><td colspan="3" class="unittest-pass"> All 3 tests passed </td></tr></tbody></table></body> exit code: 0 --- To debug locally, run: /b/s/w/ir/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/tools/testing/dart/http_server.dart -p 39720 -c 36503 --network 127.0.0.1 --build-directory=/b/s/w/ir/out/ReleaseX64/ --runtime=chrome --csp --packages=/b/s/w/ir/.packages --- Re-run this test: python tools/test.py -n dart2js-minified-csp-linux-chrome --dart2js-batch --reset-browser-configuration lib_2/html/custom/entered_left_view_test/shadow_dom/shadow_dom FAILED: dart2js-chrome release_x64 lib_2/html/custom/document_register_basic_test Expected: Slow Actual: Pass --- Command "dart2js" (took 06.000556s): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --generate-code-with-compile-time-errors --test-mode --minify --csp --packages=/b/s/w/ir/.packages --out=/b/s/w/ir/out/ReleaseX64/generated_tests/dart2js-chrome-minified-sdk/tests_lib_2_html_custom_document_register_basic_test/document_register_basic_test.js /b/s/w/ir/tests/lib_2/html/custom/document_register_basic_test.dart --preview-dart-2 exit code: 0 stdout: Compiled 7,707,138 characters Dart to 251,100 characters JavaScript in 6.56 seconds Dart file (/b/s/w/ir/tests/lib_2/html/custom/document_register_basic_test.dart) compiled to JavaScript: out/ReleaseX64/generated_tests/dart2js-chrome-minified-sdk/tests_lib_2_html_custom_document_register_basic_test/document_register_basic_test.js --- Command "chrome" (took 177ms): /b/s/w/ir/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:39720/root_build/generated_tests/dart2js-chrome-minified-sdk/tests_lib_2_html_custom_document_register_basic_test/test.html?crossOriginPort=36503 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.075 } - { type: message_received value: unittest-suite-wait-for-done timestamp: 0.075 } - { type: message_received value: dart-main-done timestamp: 0.075 } - { type: message_received value: unittest-suite-done timestamp: 0.11 } - debug "Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)" - dom <head><style>body {transition: opacity ease-in 0.2s; } body[unresolved] {opacity: 0; display: block; overflow: hidden; position: relative; } </style> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="dart.unittest" content="full-stack-traces"> <title> document_register_basic_test </title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script src="/packages/web_components/webcomponents.js"></script> <script src="/packages/web_components/dart_support.js"></script> </head> <body><table class="unittest-table"><tbody><tr><td colspan="3" class="unittest-pass">PASS</td></tr> <tr> <td>1</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=Testing document.registerElement2() basic behaviors"> Testing document.registerElement2() basic behaviors </a>. </p> <pre></pre> </td> </tr> <tr><td colspan="3" class="unittest-pass"> All 1 tests passed </td></tr></tbody></table></body> exit code: 0 --- To debug locally, run: /b/s/w/ir/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/tools/testing/dart/http_server.dart -p 39720 -c 36503 --network 127.0.0.1 --build-directory=/b/s/w/ir/out/ReleaseX64/ --runtime=chrome --csp --packages=/b/s/w/ir/.packages --- Re-run this test: python tools/test.py -n dart2js-minified-csp-linux-chrome --dart2js-batch --reset-browser-configuration lib_2/html/custom/document_register_basic_test FAILED: dart2js-chrome release_x64 lib_2/html/indexeddb_1_test/functional/functional Expected: RuntimeError Actual: Pass --- Command "dart2js" (took 07.000062s): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --generate-code-with-compile-time-errors --test-mode --minify --csp --packages=/b/s/w/ir/.packages --out=/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-csp-sdk/tests_lib_2_html_indexeddb_1_test/test.js /b/s/w/ir/tests/lib_2/html/indexeddb_1_test.dart --preview-dart-2 exit code: 0 stdout: Compiled 7,659,826 characters Dart to 258,489 characters JavaScript in 7.06 seconds Dart file (/b/s/w/ir/tests/lib_2/html/indexeddb_1_test.dart) compiled to JavaScript: out/ReleaseX64/generated_compilations/dart2js-minified-csp-sdk/tests_lib_2_html_indexeddb_1_test/test.js --- Command "chrome" (took 863ms): /b/s/w/ir/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:39720/root_build/generated_tests/dart2js-chrome-minified-sdk/tests_lib_2_html_indexeddb_1_test/test.html?crossOriginPort=36503&group=functional Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.112 } - { type: message_received value: unittest-suite-wait-for-done timestamp: 0.113 } - { type: message_received value: dart-main-done timestamp: 0.113 } - { type: message_received value: unittest-suite-done timestamp: 0.811 } - debug "Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)" - dom <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="dart.unittest" content="full-stack-traces"> <title> Test /b/s/w/ir/tests/lib_2/html/indexeddb_1_test.dart </title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> </head> <body><table class="unittest-table"><tbody><tr><td colspan="3" class="unittest-pass">PASS</td></tr> <tr> <td>2</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=functional throws when unsupported"> functional throws when unsupported </a>. </p> <pre></pre> </td> </tr> <tr> <td>3</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=functional upgrade"> functional upgrade </a>. </p> <pre></pre> </td> </tr> <tr> <td>4</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=functional dynamic String"> functional dynamic String </a>. </p> <pre></pre> </td> </tr> <tr> <td>5</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=functional dynamic int"> functional dynamic int </a>. </p> <pre></pre> </td> </tr> <tr> <td>6</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=functional dynamic List"> functional dynamic List </a>. </p> <pre></pre> </td> </tr> <tr> <td>7</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=functional dynamic List 2"> functional dynamic List 2 </a>. </p> <pre></pre> </td> </tr> <tr> <td>8</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=functional dynamic bool"> functional dynamic bool </a>. </p> <pre></pre> </td> </tr> <tr> <td>9</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=functional dynamic largeInt"> functional dynamic largeInt </a>. </p> <pre></pre> </td> </tr> <tr> <td>10</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=functional dynamic largeDoubleConvertedToInt"> functional dynamic largeDoubleConvertedToInt </a>. </p> <pre></pre> </td> </tr> <tr> <td>11</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=functional dynamic largeIntInMap"> functional dynamic largeIntInMap </a>. </p> <pre></pre> </td> </tr> <tr> <td>12</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=functional dynamic DateTime"> functional dynamic DateTime </a>. </p> <pre></pre> </td> </tr> <tr> <td>13</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=functional typed String"> functional typed String </a>. </p> <pre></pre> </td> </tr> <tr> <td>14</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=functional typed int"> functional typed int </a>. </p> <pre></pre> </td> </tr> <tr> <td>15</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=functional typed List"> functional typed List </a>. </p> <pre></pre> </td> </tr> <tr> <td>16</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=functional typed List 2"> functional typed List 2 </a>. </p> <pre></pre> </td> </tr> <tr> <td>17</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=functional typed bool"> functional typed bool </a>. </p> <pre></pre> </td> </tr> <tr> <td>18</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=functional typed largeInt"> functional typed largeInt </a>. </p> <pre></pre> </td> </tr> <tr> <td>19</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=functional typed largeDoubleConvertedToInt"> functional typed largeDoubleConvertedToInt </a>. </p> <pre></pre> </td> </tr> <tr> <td>20</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=functional typed largeIntInMap"> functional typed largeIntInMap </a>. </p> <pre></pre> </td> </tr> <tr> <td>21</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=functional typed DateTime"> functional typed DateTime </a>. </p> <pre></pre> </td> </tr> <tr><td colspan="3" class="unittest-pass"> All 20 tests passed </td></tr></tbody></table></body> exit code: 0 --- To debug locally, run: /b/s/w/ir/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/tools/testing/dart/http_server.dart -p 39720 -c 36503 --network 127.0.0.1 --build-directory=/b/s/w/ir/out/ReleaseX64/ --runtime=chrome --csp --packages=/b/s/w/ir/.packages --- Re-run this test: python tools/test.py -n dart2js-minified-csp-linux-chrome --dart2js-batch --reset-browser-configuration lib_2/html/indexeddb_1_test/functional/functional FAILED: dart2js-chrome release_x64 lib_2/math/low_test Expected: Pass Actual: RuntimeError --- Command "dart2js" (took 01.000195s): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --generate-code-with-compile-time-errors --test-mode --minify --csp --packages=/b/s/w/ir/.packages --out=/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-csp-sdk/tests_lib_2_math_low_test/test.js /b/s/w/ir/tests/lib_2/math/low_test.dart --preview-dart-2 exit code: 0 stdout: Compiled 7,403,365 characters Dart to 20,101 characters JavaScript in 1.19 seconds Dart file (/b/s/w/ir/tests/lib_2/math/low_test.dart) compiled to JavaScript: out/ReleaseX64/generated_compilations/dart2js-minified-csp-sdk/tests_lib_2_math_low_test/test.js --- Command "chrome" (took 61ms): /b/s/w/ir/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:39720/root_build/generated_tests/dart2js-chrome-minified-sdk/tests_lib_2_math_low_test/test.html?crossOriginPort=36503 Runtime error: RangeError: max must be in range 0 < max ≤ 2^32, was 0 RangeError: max must be in range 0 < max ≤ 2^32, was 0 at Object.a (http://127.0.0.1:39720/root_build/generated_compilations/dart2js-minified-csp-sdk/tests_lib_2_math_low_test/test.js:102:3) at O.p (http://127.0.0.1:39720/root_build/generated_compilations/dart2js-minified-csp-sdk/tests_lib_2_math_low_test/test.js:558:31) at af (http://127.0.0.1:39720/root_build/generated_compilations/dart2js-minified-csp-sdk/tests_lib_2_math_low_test/test.js:408:25) at dartMainRunner (http://127.0.0.1:39720/root_dart/tools/testing/dart/test_controller.js:303:5) at http://127.0.0.1:39720/root_build/generated_compilations/dart2js-minified-csp-sdk/tests_lib_2_math_low_test/test.js:590:39 at http://127.0.0.1:39720/root_build/generated_compilations/dart2js-minified-csp-sdk/tests_lib_2_math_low_test/test.js:586:55 at dartProgram (http://127.0.0.1:39720/root_build/generated_compilations/dart2js-minified-csp-sdk/tests_lib_2_math_low_test/test.js:589:84) at http://127.0.0.1:39720/root_build/generated_compilations/dart2js-minified-csp-sdk/tests_lib_2_math_low_test/test.js:591:18 exit code: 0 --- To debug locally, run: /b/s/w/ir/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/tools/testing/dart/http_server.dart -p 39720 -c 36503 --network 127.0.0.1 --build-directory=/b/s/w/ir/out/ReleaseX64/ --runtime=chrome --csp --packages=/b/s/w/ir/.packages --- Re-run this test: python tools/test.py -n dart2js-minified-csp-linux-chrome --dart2js-batch --reset-browser-configuration lib_2/math/low_test FAILED: dart2js-chrome release_x64 lib_2/typed_data/typed_data_hierarchy_int64_test Expected: Pass Actual: RuntimeError --- Command "dart2js" (took 01.000221s): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --generate-code-with-compile-time-errors --test-mode --minify --csp --packages=/b/s/w/ir/.packages --out=/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-csp-sdk/tests_lib_2_typed_data_typed_data_hierarchy_int64_test/test.js /b/s/w/ir/tests/lib_2/typed_data/typed_data_hierarchy_int64_test.dart --preview-dart-2 exit code: 0 stdout: Compiled 7,403,432 characters Dart to 21,543 characters JavaScript in 1.22 seconds Dart file (/b/s/w/ir/tests/lib_2/typed_data/typed_data_hierarchy_int64_test.dart) compiled to JavaScript: out/ReleaseX64/generated_compilations/dart2js-minified-csp-sdk/tests_lib_2_typed_data_typed_data_hierarchy_int64_test/test.js --- Command "chrome" (took 63ms): /b/s/w/ir/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:39720/root_build/generated_tests/dart2js-chrome-minified-sdk/tests_lib_2_typed_data_typed_data_hierarchy_int64_test/test.html?crossOriginPort=36503 Runtime error: Unsupported operation: Int64List not supported by dart2js. Unsupported operation: Int64List not supported by dart2js. at Object.a (http://127.0.0.1:39720/root_build/generated_compilations/dart2js-minified-csp-sdk/tests_lib_2_typed_data_typed_data_hierarchy_int64_test/test.js:103:3) at Object.aB (http://127.0.0.1:39720/root_build/generated_compilations/dart2js-minified-csp-sdk/tests_lib_2_typed_data_typed_data_hierarchy_int64_test/test.js:460:24) at ao (http://127.0.0.1:39720/root_build/generated_compilations/dart2js-minified-csp-sdk/tests_lib_2_typed_data_typed_data_hierarchy_int64_test/test.js:467:8) at dartMainRunner (http://127.0.0.1:39720/root_dart/tools/testing/dart/test_controller.js:303:5) at http://127.0.0.1:39720/root_build/generated_compilations/dart2js-minified-csp-sdk/tests_lib_2_typed_data_typed_data_hierarchy_int64_test/test.js:611:39 at http://127.0.0.1:39720/root_build/generated_compilations/dart2js-minified-csp-sdk/tests_lib_2_typed_data_typed_data_hierarchy_int64_test/test.js:607:55 at dartProgram (http://127.0.0.1:39720/root_build/generated_compilations/dart2js-minified-csp-sdk/tests_lib_2_typed_data_typed_data_hierarchy_int64_test/test.js:610:84) at http://127.0.0.1:39720/root_build/generated_compilations/dart2js-minified-csp-sdk/tests_lib_2_typed_data_typed_data_hierarchy_int64_test/test.js:612:18 exit code: 0 --- To debug locally, run: /b/s/w/ir/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/tools/testing/dart/http_server.dart -p 39720 -c 36503 --network 127.0.0.1 --build-directory=/b/s/w/ir/out/ReleaseX64/ --runtime=chrome --csp --packages=/b/s/w/ir/.packages --- Re-run this test: python tools/test.py -n dart2js-minified-csp-linux-chrome --dart2js-batch --reset-browser-configuration lib_2/typed_data/typed_data_hierarchy_int64_test FAILED: dart2js-chrome release_x64 lib_2/typed_data/int32x4_arithmetic_test/none Expected: Pass Actual: CompileTimeError Unexpected compile error. --- Command "dart2js" (took 99ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --generate-code-with-compile-time-errors --test-mode --minify --csp --packages=/b/s/w/ir/.packages --out=/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-csp-sdk/multitest_lib_2_typed_data_int32x4_arithmetic_test_none/test.js /b/s/w/ir/out/ReleaseX64/generated_tests/lib_2/typed_data/int32x4_arithmetic_test_none.dart --preview-dart-2 exit code: 1 stdout: out/ReleaseX64/generated_tests/lib_2/typed_data/int32x4_arithmetic_test_none.dart:95:11: Error: The integer literal 0xAABBCCDD00000001 can't be represented exactly in JavaScript. var n = 0xAABBCCDD00000001; ^^^^^^^^^^^^^^^^^^ Error: Compilation failed. --- Re-run this test: python tools/test.py -n dart2js-minified-csp-linux-chrome --dart2js-batch --reset-browser-configuration lib_2/typed_data/int32x4_arithmetic_test/none FAILED: dart2js-chrome release_x64 lib_2/typed_data/int32x4_arithmetic_test/int64 Expected: Pass Actual: CompileTimeError Unexpected compile error. --- Command "dart2js" (took 123ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --generate-code-with-compile-time-errors --test-mode --minify --csp --packages=/b/s/w/ir/.packages --out=/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-csp-sdk/multitest_lib_2_typed_data_int32x4_arithmetic_test_int64/test.js /b/s/w/ir/out/ReleaseX64/generated_tests/lib_2/typed_data/int32x4_arithmetic_test_int64.dart --preview-dart-2 exit code: 1 stdout: out/ReleaseX64/generated_tests/lib_2/typed_data/int32x4_arithmetic_test_int64.dart:95:11: Error: The integer literal 0xAABBCCDD00000001 can't be represented exactly in JavaScript. var n = 0xAABBCCDD00000001; ^^^^^^^^^^^^^^^^^^ Error: Compilation failed. --- Re-run this test: python tools/test.py -n dart2js-minified-csp-linux-chrome --dart2js-batch --reset-browser-configuration lib_2/typed_data/int32x4_arithmetic_test/int64 FAILED: dart2js-chrome release_x64 lib_2/convert/chunked_conversion_utf88_test Expected: Slow Actual: Pass --- Command "dart2js" (took 01.000846s): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --generate-code-with-compile-time-errors --test-mode --minify --csp --packages=/b/s/w/ir/.packages --out=/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-csp-sdk/tests_lib_2_convert_chunked_conversion_utf88_test/test.js /b/s/w/ir/tests/lib_2/convert/chunked_conversion_utf88_test.dart --preview-dart-2 exit code: 0 stdout: Compiled 7,410,809 characters Dart to 50,898 characters JavaScript in 1.84 seconds Dart file (/b/s/w/ir/tests/lib_2/convert/chunked_conversion_utf88_test.dart) compiled to JavaScript: out/ReleaseX64/generated_compilations/dart2js-minified-csp-sdk/tests_lib_2_convert_chunked_conversion_utf88_test/test.js --- Command "chrome" (took 04.000136s): /b/s/w/ir/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:39720/root_build/generated_tests/dart2js-chrome-minified-sdk/tests_lib_2_convert_chunked_conversion_utf88_test/test.html?crossOriginPort=36503 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 4.096 } - { type: message_received value: dart-main-done timestamp: 4.097 } - debug "Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)" - dom <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="dart.unittest" content="full-stack-traces"> <title> Test /b/s/w/ir/tests/lib_2/convert/chunked_conversion_utf88_test.dart </title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> </head> <body> <h1> Running /b/s/w/ir/tests/lib_2/convert/chunked_conversion_utf88_test.dart </h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script type="text/javascript" src="/root_build/generated_compilations/dart2js-minified-csp-sdk/tests_lib_2_convert_chunked_conversion_utf88_test/test.js" onerror="scriptTagOnErrorCallback(null)" defer=""> </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/tools/testing/dart/http_server.dart -p 39720 -c 36503 --network 127.0.0.1 --build-directory=/b/s/w/ir/out/ReleaseX64/ --runtime=chrome --csp --packages=/b/s/w/ir/.packages --- Re-run this test: python tools/test.py -n dart2js-minified-csp-linux-chrome --dart2js-batch --reset-browser-configuration lib_2/convert/chunked_conversion_utf88_test Double reporting tests http://127.0.0.1:39720/root_build/generated_tests/dart2js-chrome-minified-sdk/tests_lib_2_html_fileapi_directory_test/test.html?crossOriginPort=36503 === Failure summary: FAILED: dart2js-chrome release_x64 language_2/control_flow_collections/for_test Expected: Pass Actual: CompileTimeError Unexpected compile error. --- Command "dart2js" (took 461ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --generate-code-with-compile-time-errors --test-mode --minify --csp --packages=/b/s/w/ir/.packages --out=/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-csp-sdk/tests_language_2_control_flow_collections_for_test/test.js /b/s/w/ir/tests/language_2/control_flow_collections/for_test.dart --enable-experiment=set-literals,control-flow-collections,spread-collections --preview-dart-2 exit code: 1 stdout: 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: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: Info: 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: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: Info: 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: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: Info: 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: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: Info: 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: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: Info: 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: Info: 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: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: Info: Previous declaration of 'i'. Expect.listEquals(list, <int>[for (var i in list) 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: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: Info: 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: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: Info: 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: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: Info: 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: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: Info: 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: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: Info: 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: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: Info: 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: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: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: Info: 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: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: Info: 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: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: Info: 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: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: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: Info: 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: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: Info: 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: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: Info: 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: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: Info: 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: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: Info: 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: Info: 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:112:14: Error: 'i' is already declared in this scope. for (var i in <int>[0, 2]) ...<int, int>{1 + i: 1 + i, 2 + i: 2 + i} ^ tests/language_2/control_flow_collections/for_test.dart:79:45: Info: 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:5: Error: Unexpected token 'for'. for (var i in <int>[0, 2]) ...<int, int>{1 + i: 1 + i, 2 + i: 2 + i} ^^^ 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: Info: 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: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: -i else i: i}); ^ tests/language_2/control_flow_collections/for_test.dart:79:45: Info: 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:53: Error: Unexpected token 'if'. <int, int>{for (var i in <int>[1, -2, 3, -4]) if (i < 0) -i: -i else i: i}); ^^ 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: Info: 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: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: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: Info: 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: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: Info: 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: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: Info: 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: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: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: Info: 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: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: Info: 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: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: Info: 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: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: Info: 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: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: Info: 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: Info: 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: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: Info: Previous declaration of 'i'. Expect.setEquals(set, <int>{for (var i in list) 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: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: Info: 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: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: Info: 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: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: Info: 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: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: Info: 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: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: Info: 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:181: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:143:40: Info: Previous declaration of 'i'. Expect.setEquals(set, <int>{for (var i in list) i}); ^ tests/language_2/control_flow_collections/for_test.dart:181: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:184:31: Error: Unexpected token 'for'. Expect.setEquals(set, <int>{for (int n in <num>[1, 2, 3, 4]) n}); ^^^ tests/language_2/control_flow_collections/for_test.dart:187:40: Error: 'n' 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:40: Info: Previous declaration of 'n'. Expect.setEquals(set, <int>{for (int n in <num>[1, 2, 3, 4]) n}); ^ tests/language_2/control_flow_collections/for_test.dart:187:31: Error: Unexpected token 'for'. Expect.setEquals(set, <int>{for (num n in <num>[1, 2, 3, 4]) n}); ^^^ tests/language_2/control_flow_collections/for_test.dart:190:40: Error: 'i' 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:143:40: Info: Previous declaration of 'i'. Expect.setEquals(set, <int>{for (var i in list) i}); ^ tests/language_2/control_flow_collections/for_test.dart:190:31: Error: Unexpected token 'for'. Expect.setEquals({1}, <int>{for (var i = 1; (i < 2) as dynamic; i++) i}); ^^^ tests/language_2/control_flow_collections/for_test.dart:191:40: Error: 'i' 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:143:40: Info: Previous declaration of 'i'. Expect.setEquals(set, <int>{for (var i in list) i}); ^ tests/language_2/control_flow_collections/for_test.dart:191:31: Error: Unexpected token 'for'. Expect.setEquals({1}, <int>{for (var i = 1; (i < 2) as Object; i++) i}); ^^^ tests/language_2/control_flow_collections/for_test.dart:179:60: Error: The getter 'first' isn't defined for the class 'Map<dynamic, dynamic>'. - 'Map' is from 'dart:core'. Expect.listEquals([1], {for (var i = 1; i < 2; i++) [i]}.first); ^^^^^ tests/language_2/control_flow_collections/for_test.dart:180:65: Error: The getter 'first' isn't defined for the class 'Map<dynamic, dynamic>'. - 'Map' is from 'dart:core'. Expect.mapEquals({1: 1}, {for (var i = 1; i < 2; i++) {i: i}}.first); ^^^^^ tests/language_2/control_flow_collections/for_test.dart:181:59: Error: The getter 'first' isn't defined for the class 'Map<dynamic, dynamic>'. - 'Map' is from 'dart:core'. 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: Info: 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:204: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: Info: 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 in <int>[1, 2, 3]) i, ^^^ tests/language_2/control_flow_collections/for_test.dart:205: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: Info: Previous declaration of 'i'. for (var i in <int>[1, 2, 3]) i: i, ^ tests/language_2/control_flow_collections/for_test.dart:205:5: Error: Unexpected token 'for'. for (var i = 2; i <= 3; i++) i, ^^^ tests/language_2/control_flow_collections/for_test.dart:222: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:226: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:222:14: Info: 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:226: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:233:38: Error: Unexpected token 'for'. Expect.throwsCastError(() => <int>[for (; nonBool;) 1]); ^^^ tests/language_2/control_flow_collections/for_test.dart:234:43: Error: Unexpected token 'for'. Expect.throwsCastError(() => <int, int>{for (; nonBool;) 1: 1}); ^^^ tests/language_2/control_flow_collections/for_test.dart:235:38: Error: Unexpected token 'for'. Expect.throwsCastError(() => <int>{for (; nonBool;) 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:240:48: Error: Unexpected token 'for'. Expect.throwsAssertionError(() => <int, int>{for (; nullBool;) 1: 1}); ^^^ tests/language_2/control_flow_collections/for_test.dart:241:43: Error: Unexpected token 'for'. Expect.throwsAssertionError(() => <int>{for (; nullBool;) 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:246: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:247:38: Error: Unexpected token 'for'. Expect.throwsCastError(() => <int>{for (int i = nonInt; false;) 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:252: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:253:38: Error: Unexpected token 'for'. Expect.throwsCastError(() => <int>{for (int i in nonIterable) 1}); ^^^ tests/language_2/control_flow_collections/for_test.dart:257:46: Error: Unexpected token 'for'. Expect.throwsNoSuchMethodError(() => <int>[for (var i in nullIterable) 1]); ^^^ tests/language_2/control_flow_collections/for_test.dart:259:24: Error: Unexpected token 'for'. () => <int, int>{for (var i in nullIterable) 1: 1}); ^^^ tests/language_2/control_flow_collections/for_test.dart:260:46: Error: Unexpected token 'for'. Expect.throwsNoSuchMethodError(() => <int>{for (var i in nullIterable) 1}); ^^^ tests/language_2/control_flow_collections/for_test.dart:263: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:265: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:267: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:268:38: Error: Unexpected token 'for'. Expect.throwsCastError(() => <int>{for (var i = 0; i < 1; i++) nonInt}); ^^^ Error: Compilation failed. --- Re-run this test: python tools/test.py -n dart2js-minified-csp-linux-chrome --dart2js-batch --reset-browser-configuration language_2/control_flow_collections/for_test FAILED: dart2js-chrome release_x64 language_2/control_flow_collections/if_test Expected: Pass Actual: CompileTimeError Unexpected compile error. --- Command "dart2js" (took 484ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --generate-code-with-compile-time-errors --test-mode --minify --csp --packages=/b/s/w/ir/.packages --out=/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-csp-sdk/tests_language_2_control_flow_collections_if_test/test.js /b/s/w/ir/tests/language_2/control_flow_collections/if_test.dart --enable-experiment=set-literals,control-flow-collections,spread-collections --preview-dart-2 exit code: 1 stdout: 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: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: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: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: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: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:74:60: Error: 'i' is already declared in this scope. Expect.listEquals(list, <int>[if (false) 9 else for (var i in list) i]); ^ tests/language_2/control_flow_collections/if_test.dart:71:52: Info: 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:51: Error: Unexpected token 'for'. Expect.listEquals(list, <int>[if (false) 9 else for (var i in list) i]); ^^^ 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:5: Error: Unexpected token 'if'. if (true) ...<int, int>{1: 1, 2: 2}, ^^ 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: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: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: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:125:66: Error: 'i' is already declared in this scope. Expect.mapEquals(map, <int, int>{if (false) 9: 9 else for (var i in list) i: i}); ^ tests/language_2/control_flow_collections/if_test.dart:122:55: Info: 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:57: Error: Unexpected token 'for'. Expect.mapEquals(map, <int, int>{if (false) 9: 9 else 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: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: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: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: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: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:177:58: Error: 'i' is already declared in this scope. Expect.setEquals(set, <int>{if (false) 9 else for (var i in list) i}); ^ tests/language_2/control_flow_collections/if_test.dart:174:50: Info: 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:49: Error: Unexpected token 'for'. Expect.setEquals(set, <int>{if (false) 9 else for (var i in list) i}); ^^^ tests/language_2/control_flow_collections/if_test.dart:159:42: Error: The getter 'first' isn't defined for the class 'Map<dynamic, dynamic>'. - 'Map' is from 'dart:core'. Expect.listEquals([1], {if (true) [1]}.first); ^^^^^ tests/language_2/control_flow_collections/if_test.dart:160:47: Error: The getter 'first' isn't defined for the class 'Map<dynamic, dynamic>'. - 'Map' is from 'dart:core'. Expect.mapEquals({1: 1}, {if (true) {1: 1}}.first); ^^^^^ tests/language_2/control_flow_collections/if_test.dart:161:41: Error: The getter 'first' isn't defined for the class 'Map<dynamic, dynamic>'. - 'Map' is from 'dart:core'. Expect.setEquals({1}, {if (true) {1}}.first); ^^^^^ 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}); ^^ Error: Compilation failed. --- Re-run this test: python tools/test.py -n dart2js-minified-csp-linux-chrome --dart2js-batch --reset-browser-configuration language_2/control_flow_collections/if_test FAILED: dart2js-chrome release_x64 language_2/control_flow_collections/map_set_ambiguity_test Expected: Pass Actual: CompileTimeError Unexpected compile error. --- Command "dart2js" (took 403ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --generate-code-with-compile-time-errors --test-mode --minify --csp --packages=/b/s/w/ir/.packages --out=/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-csp-sdk/tests_language_2_control_flow_collections_map_set_ambiguity_test/test.js /b/s/w/ir/tests/language_2/control_flow_collections/map_set_ambiguity_test.dart --enable-experiment=set-literals,control-flow-collections,spread-collections --preview-dart-2 exit code: 1 stdout: 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:21: Error: Unexpected token 'if'. expectSetOf<int>({if (true) ...set}); ^^ 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:21: Error: Unexpected token 'if'. expectSetOf<int>({if (true) ...customSet}); ^^ 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: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: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: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:21: Error: Unexpected token 'if'. expectSetOf<int>({if (true) ...set else ...set}); ^^ 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:21: Error: Unexpected token 'if'. expectSetOf<int>({if (true) ...set else ...iterable}); ^^ 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:25: Error: Unexpected token 'if'. expectSetOf<dynamic>({if (true) ...dyn else ...iterable}); ^^ 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: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:21: Error: Unexpected token 'if'. expectSetOf<int>({if (true) ...iterable else ...iterable}); ^^ 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:21: Error: Unexpected token 'if'. expectSetOf<int>({if (true) ...customSet else ...customSet}); ^^ 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:26: Error: Unexpected token 'for'. expectMapOf<int, int>({for (; false;) ...map}); ^^^ 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:21: Error: Unexpected token 'for'. expectSetOf<int>({for (; false;) ...iterable}); ^^^ 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:26: Error: Unexpected token 'for'. expectMapOf<int, int>({for (; false;) ...customMap}); ^^^ 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: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:8: Error: Unexpected token 'for'. {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:8: Error: Unexpected token 'for'. {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: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: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: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: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: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: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: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: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:8: Error: Unexpected token 'for'. {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:8: Error: Unexpected token 'for'. {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:8: Error: Unexpected token 'for'. {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:8: Error: Unexpected token 'for'. {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:8: Error: Unexpected token 'for'. {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:8: Error: Unexpected token 'for'. {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:8: Error: Unexpected token 'for'. {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:24: Error: Unexpected token 'if'. Map<int, int> map = {if (true) ...untypedMap}; ^^ 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:29: Error: Unexpected token 'if'. Iterable<int> iterable = {if (true) ...untypedIterable}; ^^ 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:10: Error: Unexpected token 'for'. set = {for (; false;) ...untypedIterable}; ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:124:15: Error: Unexpected token 'for'. iterable = {for (; false;) ...untypedIterable}; ^^^ Error: Compilation failed. --- Re-run this test: python tools/test.py -n dart2js-minified-csp-linux-chrome --dart2js-batch --reset-browser-configuration language_2/control_flow_collections/map_set_ambiguity_test FAILED: dart2js-chrome release_x64 language_2/spread_collections/spread_test Expected: Pass Actual: Crash Unexpected compile error. --- Command "dart2js" (took 672ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --generate-code-with-compile-time-errors --test-mode --minify --csp --packages=/b/s/w/ir/.packages --out=/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-csp-sdk/tests_language_2_spread_collections_spread_test/test.js /b/s/w/ir/tests/language_2/spread_collections/spread_test.dart --enable-experiment=set-literals,spread-collections --preview-dart-2 exit code: 253 stdout: tests/language_2/spread_collections/spread_test.dart:201:6: Internal Error: The compiler crashed when compiling this element. void testCastFailures() { ^ The compiler is broken. When compiling the above element, the compiler crashed. It is not possible to tell if this is caused by a problem in your program or not. Regardless, the compiler should not crash. The Dart team would greatly appreciate if you would take a moment to report this problem at http://dartbug.com/new. Please include the following information: * the name and version of your operating system, * the Dart SDK build number (2.2.1-edge.11b9481403f72797790f7b37fe4f916ef4c8f67f), and * the entire message you see here (including the full stack trace below as well as the source location above). The compiler crashed: Unsupported operation: Unhandled node block { final dart.core::List<dart.core::int> #t1 = <dart.core::int>[]; for (final dart.core::int #t2 in nonIterable as{TypeError} dart.core::Iterable<dynamic>) #t1.{dart.core::List::add}(#t2); } =>#t1 (BlockExpression) #0 ScopeModelBuilder.defaultNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:114:7) #1 Visitor.defaultTreeNode (package:kernel/visitor.dart:333:39) #2 TreeVisitor.defaultExpression (package:kernel/visitor.dart:140:43) #3 TreeVisitor.visitBlockExpression (package:kernel/visitor.dart:189:51) #4 BlockExpression.accept (package:kernel/ast.dart:3768:36) #5 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #6 ScopeModelBuilder.visitReturnStatement (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:963:5) #7 ReturnStatement.accept (package:kernel/ast.dart:4302:35) #8 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #9 ScopeModelBuilder.visitFunctionNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:712:5) #10 FunctionNode.accept (package:kernel/ast.dart:2111:30) #11 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #12 ScopeModelBuilder.visitFunctionExpression.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:579:9) #13 _ScopeModelBuilder&Visitor&VariableCollectorMixin.visitInVariableScope (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope.dart:107:6) #14 ScopeModelBuilder.visitFunctionExpression.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:578:7) #15 ScopeModelBuilder.enterNewScope (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:198:18) #16 ScopeModelBuilder.visitInvokable (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:498:5) #17 ScopeModelBuilder.visitFunctionExpression (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:577:5) #18 FunctionExpression.accept (package:kernel/ast.dart:3689:36) #19 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #20 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #21 ScopeModelBuilder.visitStaticInvocation (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:822:5) #22 StaticInvocation.accept (package:kernel/ast.dart:2963:36) #23 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #24 ScopeModelBuilder.visitExpressionStatement (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:974:5) #25 ExpressionStatement.accept (package:kernel/ast.dart:3853:35) #26 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #27 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #28 ScopeModelBuilder.visitBlock (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:948:5) #29 Block.accept (package:kernel/ast.dart:3881:35) #30 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #31 ScopeModelBuilder.visitFunctionNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:712:5) #32 FunctionNode.accept (package:kernel/ast.dart:2111:30) #33 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #34 ScopeModelBuilder.visitProcedure.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:570:7) #35 ScopeModelBuilder.enterNewScope (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:198:18) #36 ScopeModelBuilder.visitInvokable (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:498:5) #37 ScopeModelBuilder.visitProcedure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:569:5) #38 Procedure.accept (package:kernel/ast.dart:1773:32) #39 ScopeModelBuilder.computeModel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:104:12) #40 new ScopeModel.from (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope.dart:24:20) #41 KernelModularStrategy.computeModularMemberData.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:294:31) #42 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #43 KernelModularStrategy.computeModularMemberData (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:293:43) #44 KernelWorkItem.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:259:28) #45 CompilerTask.measure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:62:51) #46 KernelWorkItem.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:248:26) #47 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:70) #48 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #49 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:32) #50 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #51 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:459:28) #52 CompilerDiagnosticReporter.withCurrentElement (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:786:15) #53 Compiler.emptyQueue.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:457:18) #54 ResolutionEnqueuer._forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:428:12) #55 ResolutionEnqueuer.forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:443:5) #56 Compiler.emptyQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:453:16) #57 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #58 Compiler.emptyQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:452:14) #59 Compiler.processQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:478:7) #60 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #61 Compiler.processQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:471:14) #62 Compiler.computeClosedWorld (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:332:5) #63 Compiler.compileFromKernel.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:400:17) #64 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #65 Compiler.compileFromKernel.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:399:43) #66 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #67 Compiler.compileFromKernel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:398:14) #68 Compiler.runInternal (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:285:13) <asynchronous suspension> #69 Compiler.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:38) #70 new Future.sync (dart:async/future.dart:224:31) #71 Compiler.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:20) #72 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #73 Compiler.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:220:41) #74 CompilerImpl.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/apiimpl.dart:88:22) #75 _RootZone.runUnary (dart:async/zone.dart:1379:54) #76 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #77 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #78 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #79 Future._completeWithValue (dart:async/future_impl.dart:483:5) #80 Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:513:7) #81 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #82 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #83 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #84 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- Re-run this test: python tools/test.py -n dart2js-minified-csp-linux-chrome --dart2js-batch --reset-browser-configuration language_2/spread_collections/spread_test FAILED: dart2js-chrome release_x64 language_2/spread_collections/await_test Expected: Pass Actual: Crash Unexpected compile error. --- Command "dart2js" (took 645ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --generate-code-with-compile-time-errors --test-mode --minify --csp --packages=/b/s/w/ir/.packages --out=/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-csp-sdk/tests_language_2_spread_collections_await_test/test.js /b/s/w/ir/tests/language_2/spread_collections/await_test.dart --enable-experiment=spread-collections --preview-dart-2 exit code: 253 stdout: tests/language_2/spread_collections/await_test.dart:47:14: Internal Error: The compiler crashed when compiling this element. Future<void> testSet() async { ^ The compiler is broken. When compiling the above element, the compiler crashed. It is not possible to tell if this is caused by a problem in your program or not. Regardless, the compiler should not crash. The Dart team would greatly appreciate if you would take a moment to report this problem at http://dartbug.com/new. Please include the following information: * the name and version of your operating system, * the Dart SDK build number (2.2.1-edge.11b9481403f72797790f7b37fe4f916ef4c8f67f), and * the entire message you see here (including the full stack trace below as well as the source location above). The compiler crashed: Unsupported operation: Unhandled node block { final dart.core::Set<dynamic> #t1 = dart.collection::LinkedHashSet::•<dynamic>(); for (final dynamic #t2 in await future12) #t1.{dart.core::Set::add}(#t2); #t1.{dart.core::Set::add}(3); for (final dynamic #t3 in await future45) #t1.{dart.core::Set::add}(#t3); } =>#t1 (BlockExpression) #0 ScopeModelBuilder.defaultNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:114:7) #1 Visitor.defaultTreeNode (package:kernel/visitor.dart:333:39) #2 TreeVisitor.defaultExpression (package:kernel/visitor.dart:140:43) #3 TreeVisitor.visitBlockExpression (package:kernel/visitor.dart:189:51) #4 BlockExpression.accept (package:kernel/ast.dart:3768:36) #5 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #6 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #7 ScopeModelBuilder.visitStaticInvocation (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:822:5) #8 StaticInvocation.accept (package:kernel/ast.dart:2963:36) #9 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #10 ScopeModelBuilder.visitExpressionStatement (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:974:5) #11 ExpressionStatement.accept (package:kernel/ast.dart:3853:35) #12 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #13 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #14 ScopeModelBuilder.visitBlock (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:948:5) #15 Block.accept (package:kernel/ast.dart:3881:35) #16 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #17 ScopeModelBuilder.visitFunctionNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:712:5) #18 FunctionNode.accept (package:kernel/ast.dart:2111:30) #19 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #20 ScopeModelBuilder.visitProcedure.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:570:7) #21 ScopeModelBuilder.enterNewScope (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:198:18) #22 ScopeModelBuilder.visitInvokable (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:498:5) #23 ScopeModelBuilder.visitProcedure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:569:5) #24 Procedure.accept (package:kernel/ast.dart:1773:32) #25 ScopeModelBuilder.computeModel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:104:12) #26 new ScopeModel.from (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope.dart:24:20) #27 KernelModularStrategy.computeModularMemberData.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:294:31) #28 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #29 KernelModularStrategy.computeModularMemberData (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:293:43) #30 KernelWorkItem.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:259:28) #31 CompilerTask.measure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:62:51) #32 KernelWorkItem.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:248:26) #33 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:70) #34 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #35 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:32) #36 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #37 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:459:28) #38 CompilerDiagnosticReporter.withCurrentElement (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:786:15) #39 Compiler.emptyQueue.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:457:18) #40 ResolutionEnqueuer._forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:428:12) #41 ResolutionEnqueuer.forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:443:5) #42 Compiler.emptyQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:453:16) #43 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #44 Compiler.emptyQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:452:14) #45 Compiler.processQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:478:7) #46 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #47 Compiler.processQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:471:14) #48 Compiler.computeClosedWorld (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:332:5) #49 Compiler.compileFromKernel.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:400:17) #50 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #51 Compiler.compileFromKernel.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:399:43) #52 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #53 Compiler.compileFromKernel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:398:14) #54 Compiler.runInternal (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:285:13) <asynchronous suspension> #55 Compiler.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:38) #56 new Future.sync (dart:async/future.dart:224:31) #57 Compiler.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:20) #58 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #59 Compiler.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:220:41) #60 CompilerImpl.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/apiimpl.dart:88:22) #61 _RootZone.runUnary (dart:async/zone.dart:1379:54) #62 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #63 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #64 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #65 Future._completeWithValue (dart:async/future_impl.dart:483:5) #66 Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:513:7) #67 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #68 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #69 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #70 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- Re-run this test: python tools/test.py -n dart2js-minified-csp-linux-chrome --dart2js-batch --reset-browser-configuration language_2/spread_collections/await_test FAILED: dart2js-chrome release_x64 language_2/spread_collections/syntax_test Expected: Pass Actual: Crash Unexpected compile error. --- Command "dart2js" (took 584ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --generate-code-with-compile-time-errors --test-mode --minify --csp --packages=/b/s/w/ir/.packages --out=/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-csp-sdk/tests_language_2_spread_collections_syntax_test/test.js /b/s/w/ir/tests/language_2/spread_collections/syntax_test.dart --enable-experiment=set-literals,spread-collections --preview-dart-2 exit code: 253 stdout: tests/language_2/spread_collections/syntax_test.dart:10:6: Internal Error: The compiler crashed when compiling this element. void main() { ^ The compiler is broken. When compiling the above element, the compiler crashed. It is not possible to tell if this is caused by a problem in your program or not. Regardless, the compiler should not crash. The Dart team would greatly appreciate if you would take a moment to report this problem at http://dartbug.com/new. Please include the following information: * the name and version of your operating system, * the Dart SDK build number (2.2.1-edge.11b9481403f72797790f7b37fe4f916ef4c8f67f), and * the entire message you see here (including the full stack trace below as well as the source location above). The compiler crashed: Unsupported operation: Unhandled node block { final dart.core::List<dynamic> #t1 = <dynamic>[]; for (final dynamic #t2 in <dynamic>[1, 2]) #t1.{dart.core::List::add}(#t2); } =>#t1 (BlockExpression) #0 ScopeModelBuilder.defaultNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:114:7) #1 Visitor.defaultTreeNode (package:kernel/visitor.dart:333:39) #2 TreeVisitor.defaultExpression (package:kernel/visitor.dart:140:43) #3 TreeVisitor.visitBlockExpression (package:kernel/visitor.dart:189:51) #4 BlockExpression.accept (package:kernel/ast.dart:3768:36) #5 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #6 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #7 ScopeModelBuilder.visitStaticInvocation (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:822:5) #8 StaticInvocation.accept (package:kernel/ast.dart:2963:36) #9 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #10 ScopeModelBuilder.visitExpressionStatement (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:974:5) #11 ExpressionStatement.accept (package:kernel/ast.dart:3853:35) #12 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #13 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #14 ScopeModelBuilder.visitBlock (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:948:5) #15 Block.accept (package:kernel/ast.dart:3881:35) #16 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #17 ScopeModelBuilder.visitFunctionNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:712:5) #18 FunctionNode.accept (package:kernel/ast.dart:2111:30) #19 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #20 ScopeModelBuilder.visitProcedure.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:570:7) #21 ScopeModelBuilder.enterNewScope (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:198:18) #22 ScopeModelBuilder.visitInvokable (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:498:5) #23 ScopeModelBuilder.visitProcedure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:569:5) #24 Procedure.accept (package:kernel/ast.dart:1773:32) #25 ScopeModelBuilder.computeModel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:104:12) #26 new ScopeModel.from (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope.dart:24:20) #27 KernelModularStrategy.computeModularMemberData.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:294:31) #28 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #29 KernelModularStrategy.computeModularMemberData (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:293:43) #30 KernelWorkItem.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:259:28) #31 CompilerTask.measure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:62:51) #32 KernelWorkItem.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:248:26) #33 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:70) #34 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #35 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:32) #36 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #37 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:459:28) #38 CompilerDiagnosticReporter.withCurrentElement (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:786:15) #39 Compiler.emptyQueue.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:457:18) #40 ResolutionEnqueuer._forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:428:12) #41 ResolutionEnqueuer.forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:443:5) #42 Compiler.emptyQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:453:16) #43 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #44 Compiler.emptyQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:452:14) #45 Compiler.processQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:478:7) #46 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #47 Compiler.processQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:471:14) #48 Compiler.computeClosedWorld (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:332:5) #49 Compiler.compileFromKernel.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:400:17) #50 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #51 Compiler.compileFromKernel.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:399:43) #52 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #53 Compiler.compileFromKernel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:398:14) #54 Compiler.runInternal (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:285:13) <asynchronous suspension> #55 Compiler.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:38) #56 new Future.sync (dart:async/future.dart:224:31) #57 Compiler.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:20) #58 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #59 Compiler.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:220:41) #60 CompilerImpl.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/apiimpl.dart:88:22) #61 _RootZone.runUnary (dart:async/zone.dart:1379:54) #62 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #63 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #64 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #65 Future._completeWithValue (dart:async/future_impl.dart:483:5) #66 Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:513:7) #67 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #68 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #69 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #70 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- Re-run this test: python tools/test.py -n dart2js-minified-csp-linux-chrome --dart2js-batch --reset-browser-configuration language_2/spread_collections/syntax_test FAILED: dart2js-chrome release_x64 lib_2/html/debugger_test Expected: Pass Actual: CompileTimeError Unexpected compile error. --- Command "dart2js" (took 173ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --generate-code-with-compile-time-errors --test-mode --minify --csp --packages=/b/s/w/ir/.packages --out=/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-csp-sdk/tests_lib_2_html_debugger_test/test.js /b/s/w/ir/tests/lib_2/html/debugger_test.dart --preview-dart-2 exit code: 1 stdout: tests/lib_2/html/debugger_test.dart:17:8: Error: Can't access platform private library. import 'dart:_debugger' as _debugger; ^ tests/lib_2/html/debugger_test.dart:17:8: Error: Not found: 'dart:_debugger' import 'dart:_debugger' as _debugger; ^ tests/lib_2/html/debugger_test.dart:282:23: Error: Method not found: 'getModuleNames'. var moduleNames = _debugger.getModuleNames(); ^^^^^^^^^^^^^^ tests/lib_2/html/debugger_test.dart:287:32: Error: Method not found: 'getModuleLibraries'. 'Test library Module', _debugger.getModuleLibraries(testModuleName)); ^^^^^^^^^^^^^^^^^^ Error: Compilation failed. --- Re-run this test: python tools/test.py -n dart2js-minified-csp-linux-chrome --dart2js-batch --reset-browser-configuration lib_2/html/debugger_test FAILED: dart2js-chrome release_x64 lib_2/html/indexeddb_3_test Expected: RuntimeError Actual: Pass --- Command "dart2js" (took 07.000180s): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --generate-code-with-compile-time-errors --test-mode --minify --csp --packages=/b/s/w/ir/.packages --out=/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-csp-sdk/tests_lib_2_html_indexeddb_3_test/test.js /b/s/w/ir/tests/lib_2/html/indexeddb_3_test.dart --preview-dart-2 exit code: 0 stdout: Compiled 7,655,092 characters Dart to 257,221 characters JavaScript in 7.18 seconds Dart file (/b/s/w/ir/tests/lib_2/html/indexeddb_3_test.dart) compiled to JavaScript: out/ReleaseX64/generated_compilations/dart2js-minified-csp-sdk/tests_lib_2_html_indexeddb_3_test/test.js --- Command "chrome" (took 638ms): /b/s/w/ir/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:39720/root_build/generated_tests/dart2js-chrome-minified-sdk/tests_lib_2_html_indexeddb_3_test/test.html?crossOriginPort=36503 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.089 } - { type: message_received value: unittest-suite-wait-for-done timestamp: 0.09 } - { type: message_received value: dart-main-done timestamp: 0.09 } - { type: message_received value: unittest-suite-done timestamp: 0.599 } - debug "Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)" - dom <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="dart.unittest" content="full-stack-traces"> <title> Test /b/s/w/ir/tests/lib_2/html/indexeddb_3_test.dart </title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> </head> <body><table class="unittest-table"><tbody><tr><td colspan="3" class="unittest-pass">PASS</td></tr> <tr> <td>1</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=prepare"> prepare </a>. </p> <pre></pre> </td> </tr> <tr> <td>2</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=readAll1"> readAll1 </a>. </p> <pre></pre> </td> </tr> <tr> <td>3</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=readAll2"> readAll2 </a>. </p> <pre></pre> </td> </tr> <tr><td colspan="3" class="unittest-pass"> All 3 tests passed </td></tr></tbody></table></body> exit code: 0 --- To debug locally, run: /b/s/w/ir/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/tools/testing/dart/http_server.dart -p 39720 -c 36503 --network 127.0.0.1 --build-directory=/b/s/w/ir/out/ReleaseX64/ --runtime=chrome --csp --packages=/b/s/w/ir/.packages --- Re-run this test: python tools/test.py -n dart2js-minified-csp-linux-chrome --dart2js-batch --reset-browser-configuration lib_2/html/indexeddb_3_test FAILED: dart2js-chrome release_x64 lib_2/html/custom/entered_left_view_test/shadow_dom/shadow_dom Expected: Slow Actual: Pass --- Command "dart2js" (took 06.000689s): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --generate-code-with-compile-time-errors --test-mode --minify --csp --packages=/b/s/w/ir/.packages --out=/b/s/w/ir/out/ReleaseX64/generated_tests/dart2js-chrome-minified-sdk/tests_lib_2_html_custom_entered_left_view_test/entered_left_view_test.js /b/s/w/ir/tests/lib_2/html/custom/entered_left_view_test.dart --preview-dart-2 exit code: 0 stdout: Compiled 7,713,173 characters Dart to 251,872 characters JavaScript in 6.69 seconds Dart file (/b/s/w/ir/tests/lib_2/html/custom/entered_left_view_test.dart) compiled to JavaScript: out/ReleaseX64/generated_tests/dart2js-chrome-minified-sdk/tests_lib_2_html_custom_entered_left_view_test/entered_left_view_test.js --- Command "chrome" (took 262ms): /b/s/w/ir/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:39720/root_build/generated_tests/dart2js-chrome-minified-sdk/tests_lib_2_html_custom_entered_left_view_test/test.html?crossOriginPort=36503&group=shadow_dom Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.122 } - { type: message_received value: unittest-suite-wait-for-done timestamp: 0.141 } - { type: message_received value: dart-main-done timestamp: 0.141 } - { type: message_received value: unittest-suite-done timestamp: 0.181 } - debug "Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)" - dom <head><style>body {transition: opacity ease-in 0.2s; } body[unresolved] {opacity: 0; display: block; overflow: hidden; position: relative; } </style> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="dart.unittest" content="full-stack-traces"> <title> entered_left_view_test </title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script src="/packages/web_components/webcomponents.js"></script> <script src="/packages/web_components/dart_support.js"></script> </head> <body><table class="unittest-table"><tbody><tr><td colspan="3" class="unittest-pass">PASS</td></tr> <tr> <td>19</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=shadow_dom Created in Shadow DOM that is not in a document"> shadow_dom Created in Shadow DOM that is not in a document </a>. </p> <pre></pre> </td> </tr> <tr> <td>20</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=shadow_dom Leaves Shadow DOM that is not in a document"> shadow_dom Leaves Shadow DOM that is not in a document </a>. </p> <pre></pre> </td> </tr> <tr> <td>21</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=shadow_dom Enters a document with a view as a constituent of Shadow DOM"> shadow_dom Enters a document with a view as a constituent of Shadow DOM </a>. </p> <pre></pre> </td> </tr> <tr><td colspan="3" class="unittest-pass"> All 3 tests passed </td></tr></tbody></table></body> exit code: 0 --- To debug locally, run: /b/s/w/ir/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/tools/testing/dart/http_server.dart -p 39720 -c 36503 --network 127.0.0.1 --build-directory=/b/s/w/ir/out/ReleaseX64/ --runtime=chrome --csp --packages=/b/s/w/ir/.packages --- Re-run this test: python tools/test.py -n dart2js-minified-csp-linux-chrome --dart2js-batch --reset-browser-configuration lib_2/html/custom/entered_left_view_test/shadow_dom/shadow_dom FAILED: dart2js-chrome release_x64 lib_2/html/custom/document_register_basic_test Expected: Slow Actual: Pass --- Command "dart2js" (took 06.000556s): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --generate-code-with-compile-time-errors --test-mode --minify --csp --packages=/b/s/w/ir/.packages --out=/b/s/w/ir/out/ReleaseX64/generated_tests/dart2js-chrome-minified-sdk/tests_lib_2_html_custom_document_register_basic_test/document_register_basic_test.js /b/s/w/ir/tests/lib_2/html/custom/document_register_basic_test.dart --preview-dart-2 exit code: 0 stdout: Compiled 7,707,138 characters Dart to 251,100 characters JavaScript in 6.56 seconds Dart file (/b/s/w/ir/tests/lib_2/html/custom/document_register_basic_test.dart) compiled to JavaScript: out/ReleaseX64/generated_tests/dart2js-chrome-minified-sdk/tests_lib_2_html_custom_document_register_basic_test/document_register_basic_test.js --- Command "chrome" (took 177ms): /b/s/w/ir/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:39720/root_build/generated_tests/dart2js-chrome-minified-sdk/tests_lib_2_html_custom_document_register_basic_test/test.html?crossOriginPort=36503 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.075 } - { type: message_received value: unittest-suite-wait-for-done timestamp: 0.075 } - { type: message_received value: dart-main-done timestamp: 0.075 } - { type: message_received value: unittest-suite-done timestamp: 0.11 } - debug "Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)" - dom <head><style>body {transition: opacity ease-in 0.2s; } body[unresolved] {opacity: 0; display: block; overflow: hidden; position: relative; } </style> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="dart.unittest" content="full-stack-traces"> <title> document_register_basic_test </title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script src="/packages/web_components/webcomponents.js"></script> <script src="/packages/web_components/dart_support.js"></script> </head> <body><table class="unittest-table"><tbody><tr><td colspan="3" class="unittest-pass">PASS</td></tr> <tr> <td>1</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=Testing document.registerElement2() basic behaviors"> Testing document.registerElement2() basic behaviors </a>. </p> <pre></pre> </td> </tr> <tr><td colspan="3" class="unittest-pass"> All 1 tests passed </td></tr></tbody></table></body> exit code: 0 --- To debug locally, run: /b/s/w/ir/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/tools/testing/dart/http_server.dart -p 39720 -c 36503 --network 127.0.0.1 --build-directory=/b/s/w/ir/out/ReleaseX64/ --runtime=chrome --csp --packages=/b/s/w/ir/.packages --- Re-run this test: python tools/test.py -n dart2js-minified-csp-linux-chrome --dart2js-batch --reset-browser-configuration lib_2/html/custom/document_register_basic_test FAILED: dart2js-chrome release_x64 lib_2/html/indexeddb_1_test/functional/functional Expected: RuntimeError Actual: Pass --- Command "dart2js" (took 07.000062s): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --generate-code-with-compile-time-errors --test-mode --minify --csp --packages=/b/s/w/ir/.packages --out=/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-csp-sdk/tests_lib_2_html_indexeddb_1_test/test.js /b/s/w/ir/tests/lib_2/html/indexeddb_1_test.dart --preview-dart-2 exit code: 0 stdout: Compiled 7,659,826 characters Dart to 258,489 characters JavaScript in 7.06 seconds Dart file (/b/s/w/ir/tests/lib_2/html/indexeddb_1_test.dart) compiled to JavaScript: out/ReleaseX64/generated_compilations/dart2js-minified-csp-sdk/tests_lib_2_html_indexeddb_1_test/test.js --- Command "chrome" (took 863ms): /b/s/w/ir/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:39720/root_build/generated_tests/dart2js-chrome-minified-sdk/tests_lib_2_html_indexeddb_1_test/test.html?crossOriginPort=36503&group=functional Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.112 } - { type: message_received value: unittest-suite-wait-for-done timestamp: 0.113 } - { type: message_received value: dart-main-done timestamp: 0.113 } - { type: message_received value: unittest-suite-done timestamp: 0.811 } - debug "Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)" - dom <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="dart.unittest" content="full-stack-traces"> <title> Test /b/s/w/ir/tests/lib_2/html/indexeddb_1_test.dart </title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> </head> <body><table class="unittest-table"><tbody><tr><td colspan="3" class="unittest-pass">PASS</td></tr> <tr> <td>2</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=functional throws when unsupported"> functional throws when unsupported </a>. </p> <pre></pre> </td> </tr> <tr> <td>3</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=functional upgrade"> functional upgrade </a>. </p> <pre></pre> </td> </tr> <tr> <td>4</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=functional dynamic String"> functional dynamic String </a>. </p> <pre></pre> </td> </tr> <tr> <td>5</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=functional dynamic int"> functional dynamic int </a>. </p> <pre></pre> </td> </tr> <tr> <td>6</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=functional dynamic List"> functional dynamic List </a>. </p> <pre></pre> </td> </tr> <tr> <td>7</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=functional dynamic List 2"> functional dynamic List 2 </a>. </p> <pre></pre> </td> </tr> <tr> <td>8</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=functional dynamic bool"> functional dynamic bool </a>. </p> <pre></pre> </td> </tr> <tr> <td>9</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=functional dynamic largeInt"> functional dynamic largeInt </a>. </p> <pre></pre> </td> </tr> <tr> <td>10</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=functional dynamic largeDoubleConvertedToInt"> functional dynamic largeDoubleConvertedToInt </a>. </p> <pre></pre> </td> </tr> <tr> <td>11</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=functional dynamic largeIntInMap"> functional dynamic largeIntInMap </a>. </p> <pre></pre> </td> </tr> <tr> <td>12</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=functional dynamic DateTime"> functional dynamic DateTime </a>. </p> <pre></pre> </td> </tr> <tr> <td>13</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=functional typed String"> functional typed String </a>. </p> <pre></pre> </td> </tr> <tr> <td>14</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=functional typed int"> functional typed int </a>. </p> <pre></pre> </td> </tr> <tr> <td>15</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=functional typed List"> functional typed List </a>. </p> <pre></pre> </td> </tr> <tr> <td>16</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=functional typed List 2"> functional typed List 2 </a>. </p> <pre></pre> </td> </tr> <tr> <td>17</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=functional typed bool"> functional typed bool </a>. </p> <pre></pre> </td> </tr> <tr> <td>18</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=functional typed largeInt"> functional typed largeInt </a>. </p> <pre></pre> </td> </tr> <tr> <td>19</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=functional typed largeDoubleConvertedToInt"> functional typed largeDoubleConvertedToInt </a>. </p> <pre></pre> </td> </tr> <tr> <td>20</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=functional typed largeIntInMap"> functional typed largeIntInMap </a>. </p> <pre></pre> </td> </tr> <tr> <td>21</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=functional typed DateTime"> functional typed DateTime </a>. </p> <pre></pre> </td> </tr> <tr><td colspan="3" class="unittest-pass"> All 20 tests passed </td></tr></tbody></table></body> exit code: 0 --- To debug locally, run: /b/s/w/ir/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/tools/testing/dart/http_server.dart -p 39720 -c 36503 --network 127.0.0.1 --build-directory=/b/s/w/ir/out/ReleaseX64/ --runtime=chrome --csp --packages=/b/s/w/ir/.packages --- Re-run this test: python tools/test.py -n dart2js-minified-csp-linux-chrome --dart2js-batch --reset-browser-configuration lib_2/html/indexeddb_1_test/functional/functional FAILED: dart2js-chrome release_x64 lib_2/math/low_test Expected: Pass Actual: RuntimeError --- Command "dart2js" (took 01.000195s): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --generate-code-with-compile-time-errors --test-mode --minify --csp --packages=/b/s/w/ir/.packages --out=/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-csp-sdk/tests_lib_2_math_low_test/test.js /b/s/w/ir/tests/lib_2/math/low_test.dart --preview-dart-2 exit code: 0 stdout: Compiled 7,403,365 characters Dart to 20,101 characters JavaScript in 1.19 seconds Dart file (/b/s/w/ir/tests/lib_2/math/low_test.dart) compiled to JavaScript: out/ReleaseX64/generated_compilations/dart2js-minified-csp-sdk/tests_lib_2_math_low_test/test.js --- Command "chrome" (took 61ms): /b/s/w/ir/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:39720/root_build/generated_tests/dart2js-chrome-minified-sdk/tests_lib_2_math_low_test/test.html?crossOriginPort=36503 Runtime error: RangeError: max must be in range 0 < max ≤ 2^32, was 0 RangeError: max must be in range 0 < max ≤ 2^32, was 0 at Object.a (http://127.0.0.1:39720/root_build/generated_compilations/dart2js-minified-csp-sdk/tests_lib_2_math_low_test/test.js:102:3) at O.p (http://127.0.0.1:39720/root_build/generated_compilations/dart2js-minified-csp-sdk/tests_lib_2_math_low_test/test.js:558:31) at af (http://127.0.0.1:39720/root_build/generated_compilations/dart2js-minified-csp-sdk/tests_lib_2_math_low_test/test.js:408:25) at dartMainRunner (http://127.0.0.1:39720/root_dart/tools/testing/dart/test_controller.js:303:5) at http://127.0.0.1:39720/root_build/generated_compilations/dart2js-minified-csp-sdk/tests_lib_2_math_low_test/test.js:590:39 at http://127.0.0.1:39720/root_build/generated_compilations/dart2js-minified-csp-sdk/tests_lib_2_math_low_test/test.js:586:55 at dartProgram (http://127.0.0.1:39720/root_build/generated_compilations/dart2js-minified-csp-sdk/tests_lib_2_math_low_test/test.js:589:84) at http://127.0.0.1:39720/root_build/generated_compilations/dart2js-minified-csp-sdk/tests_lib_2_math_low_test/test.js:591:18 exit code: 0 --- To debug locally, run: /b/s/w/ir/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/tools/testing/dart/http_server.dart -p 39720 -c 36503 --network 127.0.0.1 --build-directory=/b/s/w/ir/out/ReleaseX64/ --runtime=chrome --csp --packages=/b/s/w/ir/.packages --- Re-run this test: python tools/test.py -n dart2js-minified-csp-linux-chrome --dart2js-batch --reset-browser-configuration lib_2/math/low_test FAILED: dart2js-chrome release_x64 lib_2/typed_data/typed_data_hierarchy_int64_test Expected: Pass Actual: RuntimeError --- Command "dart2js" (took 01.000221s): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --generate-code-with-compile-time-errors --test-mode --minify --csp --packages=/b/s/w/ir/.packages --out=/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-csp-sdk/tests_lib_2_typed_data_typed_data_hierarchy_int64_test/test.js /b/s/w/ir/tests/lib_2/typed_data/typed_data_hierarchy_int64_test.dart --preview-dart-2 exit code: 0 stdout: Compiled 7,403,432 characters Dart to 21,543 characters JavaScript in 1.22 seconds Dart file (/b/s/w/ir/tests/lib_2/typed_data/typed_data_hierarchy_int64_test.dart) compiled to JavaScript: out/ReleaseX64/generated_compilations/dart2js-minified-csp-sdk/tests_lib_2_typed_data_typed_data_hierarchy_int64_test/test.js --- Command "chrome" (took 63ms): /b/s/w/ir/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:39720/root_build/generated_tests/dart2js-chrome-minified-sdk/tests_lib_2_typed_data_typed_data_hierarchy_int64_test/test.html?crossOriginPort=36503 Runtime error: Unsupported operation: Int64List not supported by dart2js. Unsupported operation: Int64List not supported by dart2js. at Object.a (http://127.0.0.1:39720/root_build/generated_compilations/dart2js-minified-csp-sdk/tests_lib_2_typed_data_typed_data_hierarchy_int64_test/test.js:103:3) at Object.aB (http://127.0.0.1:39720/root_build/generated_compilations/dart2js-minified-csp-sdk/tests_lib_2_typed_data_typed_data_hierarchy_int64_test/test.js:460:24) at ao (http://127.0.0.1:39720/root_build/generated_compilations/dart2js-minified-csp-sdk/tests_lib_2_typed_data_typed_data_hierarchy_int64_test/test.js:467:8) at dartMainRunner (http://127.0.0.1:39720/root_dart/tools/testing/dart/test_controller.js:303:5) at http://127.0.0.1:39720/root_build/generated_compilations/dart2js-minified-csp-sdk/tests_lib_2_typed_data_typed_data_hierarchy_int64_test/test.js:611:39 at http://127.0.0.1:39720/root_build/generated_compilations/dart2js-minified-csp-sdk/tests_lib_2_typed_data_typed_data_hierarchy_int64_test/test.js:607:55 at dartProgram (http://127.0.0.1:39720/root_build/generated_compilations/dart2js-minified-csp-sdk/tests_lib_2_typed_data_typed_data_hierarchy_int64_test/test.js:610:84) at http://127.0.0.1:39720/root_build/generated_compilations/dart2js-minified-csp-sdk/tests_lib_2_typed_data_typed_data_hierarchy_int64_test/test.js:612:18 exit code: 0 --- To debug locally, run: /b/s/w/ir/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/tools/testing/dart/http_server.dart -p 39720 -c 36503 --network 127.0.0.1 --build-directory=/b/s/w/ir/out/ReleaseX64/ --runtime=chrome --csp --packages=/b/s/w/ir/.packages --- Re-run this test: python tools/test.py -n dart2js-minified-csp-linux-chrome --dart2js-batch --reset-browser-configuration lib_2/typed_data/typed_data_hierarchy_int64_test FAILED: dart2js-chrome release_x64 lib_2/typed_data/int32x4_arithmetic_test/none Expected: Pass Actual: CompileTimeError Unexpected compile error. --- Command "dart2js" (took 99ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --generate-code-with-compile-time-errors --test-mode --minify --csp --packages=/b/s/w/ir/.packages --out=/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-csp-sdk/multitest_lib_2_typed_data_int32x4_arithmetic_test_none/test.js /b/s/w/ir/out/ReleaseX64/generated_tests/lib_2/typed_data/int32x4_arithmetic_test_none.dart --preview-dart-2 exit code: 1 stdout: out/ReleaseX64/generated_tests/lib_2/typed_data/int32x4_arithmetic_test_none.dart:95:11: Error: The integer literal 0xAABBCCDD00000001 can't be represented exactly in JavaScript. var n = 0xAABBCCDD00000001; ^^^^^^^^^^^^^^^^^^ Error: Compilation failed. --- Re-run this test: python tools/test.py -n dart2js-minified-csp-linux-chrome --dart2js-batch --reset-browser-configuration lib_2/typed_data/int32x4_arithmetic_test/none FAILED: dart2js-chrome release_x64 lib_2/typed_data/int32x4_arithmetic_test/int64 Expected: Pass Actual: CompileTimeError Unexpected compile error. --- Command "dart2js" (took 123ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --generate-code-with-compile-time-errors --test-mode --minify --csp --packages=/b/s/w/ir/.packages --out=/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-csp-sdk/multitest_lib_2_typed_data_int32x4_arithmetic_test_int64/test.js /b/s/w/ir/out/ReleaseX64/generated_tests/lib_2/typed_data/int32x4_arithmetic_test_int64.dart --preview-dart-2 exit code: 1 stdout: out/ReleaseX64/generated_tests/lib_2/typed_data/int32x4_arithmetic_test_int64.dart:95:11: Error: The integer literal 0xAABBCCDD00000001 can't be represented exactly in JavaScript. var n = 0xAABBCCDD00000001; ^^^^^^^^^^^^^^^^^^ Error: Compilation failed. --- Re-run this test: python tools/test.py -n dart2js-minified-csp-linux-chrome --dart2js-batch --reset-browser-configuration lib_2/typed_data/int32x4_arithmetic_test/int64 FAILED: dart2js-chrome release_x64 lib_2/convert/chunked_conversion_utf88_test Expected: Slow Actual: Pass --- Command "dart2js" (took 01.000846s): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --generate-code-with-compile-time-errors --test-mode --minify --csp --packages=/b/s/w/ir/.packages --out=/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-csp-sdk/tests_lib_2_convert_chunked_conversion_utf88_test/test.js /b/s/w/ir/tests/lib_2/convert/chunked_conversion_utf88_test.dart --preview-dart-2 exit code: 0 stdout: Compiled 7,410,809 characters Dart to 50,898 characters JavaScript in 1.84 seconds Dart file (/b/s/w/ir/tests/lib_2/convert/chunked_conversion_utf88_test.dart) compiled to JavaScript: out/ReleaseX64/generated_compilations/dart2js-minified-csp-sdk/tests_lib_2_convert_chunked_conversion_utf88_test/test.js --- Command "chrome" (took 04.000136s): /b/s/w/ir/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:39720/root_build/generated_tests/dart2js-chrome-minified-sdk/tests_lib_2_convert_chunked_conversion_utf88_test/test.html?crossOriginPort=36503 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 4.096 } - { type: message_received value: dart-main-done timestamp: 4.097 } - debug "Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)" - dom <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="dart.unittest" content="full-stack-traces"> <title> Test /b/s/w/ir/tests/lib_2/convert/chunked_conversion_utf88_test.dart </title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> </head> <body> <h1> Running /b/s/w/ir/tests/lib_2/convert/chunked_conversion_utf88_test.dart </h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script type="text/javascript" src="/root_build/generated_compilations/dart2js-minified-csp-sdk/tests_lib_2_convert_chunked_conversion_utf88_test/test.js" onerror="scriptTagOnErrorCallback(null)" defer=""> </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/tools/testing/dart/http_server.dart -p 39720 -c 36503 --network 127.0.0.1 --build-directory=/b/s/w/ir/out/ReleaseX64/ --runtime=chrome --csp --packages=/b/s/w/ir/.packages --- Re-run this test: python tools/test.py -n dart2js-minified-csp-linux-chrome --dart2js-batch --reset-browser-configuration lib_2/convert/chunked_conversion_utf88_test === === 16 tests failed === --- Total time: 04:01 --- 0:01:40.700856 - dart2js - dart2js-chrome release_x64/corelib_2/regexp/pcre_test 0:00:09.608722 - chrome - dart2js-chrome release_x64/lib_2/html/native_gc_test 0:00:08.081098 - dart2js - dart2js-chrome release_x64/lib_2/html/file_sample_test 0:00:07.632356 - dart2js - dart2js-chrome release_x64/lib_2/html/canvasrenderingcontext2d_test/fillText/fillText, dart2js-chrome release_x64/lib_2/html/canvasrenderingcontext2d_test/drawImage_video_element_dataUrl/drawImage_video_element_dataUrl, dart2js-chrome release_x64/lib_2/html/canvasrenderingcontext2d_test/drawImage_canvas_element/drawImage_canvas_element, dart2js-chrome release_x64/lib_2/html/canvasrenderingcontext2d_test/drawImage_image_element/drawImage_image_element, dart2js-chrome release_x64/lib_2/html/canvasrenderingcontext2d_test/drawImage_video_element/drawImage_video_element, dart2js-chrome release_x64/lib_2/html/canvasrenderingcontext2d_test/arc/arc, dart2js-chrome release_x64/lib_2/html/canvasrenderingcontext2d_test/pixel_manipulation/pixel_manipulation 0:00:07.180614 - dart2js - dart2js-chrome release_x64/lib_2/html/indexeddb_3_test 0:00:07.062714 - dart2js - dart2js-chrome release_x64/lib_2/html/indexeddb_1_test/typed/typed, dart2js-chrome release_x64/lib_2/html/indexeddb_1_test/dynamic/dynamic, dart2js-chrome release_x64/lib_2/html/indexeddb_1_test/supported/supported, dart2js-chrome release_x64/lib_2/html/indexeddb_1_test/functional/functional 0:00:06.958125 - dart2js - dart2js-chrome release_x64/lib_2/html/fileapi_directory_test 0:00:06.862626 - dart2js - dart2js-chrome release_x64/lib_2/html/xhr_cross_origin_test/supported/supported, dart2js-chrome release_x64/lib_2/html/xhr_cross_origin_test/functional/functional 0:00:06.689866 - dart2js - dart2js-chrome release_x64/lib_2/html/custom/entered_left_view_test/disconnected_subtree/disconnected_subtree, dart2js-chrome release_x64/lib_2/html/custom/entered_left_view_test/shadow_dom/shadow_dom, dart2js-chrome release_x64/lib_2/html/custom/entered_left_view_test/viewless_document/viewless_document, dart2js-chrome release_x64/lib_2/html/custom/entered_left_view_test/standard_events_old_callback_names/standard_events_old_callback_names, dart2js-chrome release_x64/lib_2/html/custom/entered_left_view_test/standard_events/standard_events 0:00:06.556840 - dart2js - dart2js-chrome release_x64/lib_2/html/custom/document_register_basic_test 0:00:06.357650 - dart2js - dart2js-chrome release_x64/lib_2/html/fileapi_supported_throws_test 0:00:06.289757 - dart2js - dart2js-chrome release_x64/corelib_2/uri_test 0:00:04.905616 - chrome - dart2js-chrome release_x64/corelib_2/uri_test 0:00:04.527551 - dart2js - dart2js-chrome release_x64/corelib_2/apply3_test 0:00:04.200586 - dart2js - dart2js-chrome release_x64/corelib_2/string_operations_with_null_test 0:00:04.136914 - chrome - dart2js-chrome release_x64/lib_2/convert/chunked_conversion_utf88_test 0:00:04.113101 - dart2js - dart2js-chrome release_x64/corelib_2/error_stack_trace1_test 0:00:04.109648 - dart2js - dart2js-chrome release_x64/corelib_2/string_test 0:00:04.036830 - dart2js - dart2js-chrome release_x64/lib_2/html/cross_domain_iframe_test 0:00:03.871691 - dart2js - dart2js-chrome release_x64/corelib_2/unicode2_test INFO: No unexpected crashes recorded 2019-03-11 12:59:18,187 - root: [DEBUG] Contents of task_output_dir: ['/b/s/w/ir/tmp/t/tmpx35IH7/438718302d84aa10'] 2019-03-11 12:59:18,188 - root: [WARNING] Expected output.json file missing: set(['/b/s/w/ir/tmp/t/tmpx35IH7/438718302d84aa10/output.json']) Found: [] Expected: ['/b/s/w/ir/tmp/t/tmpx35IH7/438718302d84aa10/output.json'] 2019-03-11 12:59:18,188 - root: [WARNING] No shard json files found in task_output_dir: '/b/s/w/ir/tmp/t/tmpx35IH7' Found ['/b/s/w/ir/tmp/t/tmpx35IH7/438718302d84aa10'] 2019-03-11 12:59:18,188 - root: [DEBUG] Found shard_json_files: ['/b/s/w/ir/tmp/t/tmpx35IH7/438718302d84aa10/output.json'] 2019-03-11 12:59:18,188 - root: [INFO] merge_cmd: /b/s/w/ir/cache/vpython/95f307/bin/python /b/s/w/ir/kitchen-checkout/build/scripts/slave/recipe_modules/chromium_swarming/resources/noop_merge.py --summary-json /b/s/w/ir/tmp/t/tmpm_ihou.json --task-output-dir /b/s/w/ir/tmp/t/tmpx35IH7 -o /b/s/w/ir/tmp/t/tmp9x45Te.json Running ['/b/s/w/ir/cache/vpython/95f307/bin/python', '/b/s/w/ir/kitchen-checkout/build/scripts/slave/recipe_modules/chromium_swarming/resources/noop_merge.py', '--summary-json', '/b/s/w/ir/tmp/t/tmpm_ihou.json', '--task-output-dir', '/b/s/w/ir/tmp/t/tmpx35IH7', '-o', '/b/s/w/ir/tmp/t/tmp9x45Te.json'] in None (env: None) Command ['/b/s/w/ir/cache/vpython/95f307/bin/python', '/b/s/w/ir/kitchen-checkout/build/scripts/slave/recipe_modules/chromium_swarming/resources/noop_merge.py', '--summary-json', '/b/s/w/ir/tmp/t/tmpm_ihou.json', '--task-output-dir', '/b/s/w/ir/tmp/t/tmpx35IH7', '-o', '/b/s/w/ir/tmp/t/tmp9x45Te.json'] returned exit code 0